Changed api class, added opt fields, gen fixes.
Merge branch 'master' of https://github.com/intarocrm/bitrix-module