Skip to content

1.4.0

Compare
Choose a tag to compare
@mesilov mesilov released this 29 Jun 21:00
· 68 commits to main since this release
a32fb34

Added

  • Added service Services\CRM\Lead\Service\LeadContact with support methods,
    see crm.lead.contact.* methods:
    • fields get fiels for lead contact connection
    • setItems set contacts related with lead
    • get get contacts related to lead
    • deleteItems delete all relations for lead
    • add add contact relation with lead
    • delete delete contact relation with lead
  • Added service CRM\Item\Service\ItemDetailsConfiguration with support methods,
    see add crm.item.details.* methods:
    • getPersonal method retrieves the settings of item cards for personal user
    • getGeneral method retrieves the settings of item cards for all users
    • resetPersonal method reset for item user settings
    • resetGeneral method reset all card settings for all users
    • setPersonal method set card configuration
    • setGeneral method set card configuration for all users
    • setForceCommonConfigForAll method set common detail form for All Users
  • Added service CRM\Deal\Service\DealDetailsConfiguration with support methods,
    see add crm.deal.details.* methods:
    • getPersonal method retrieves the settings of deal cards for personal user
    • getGeneral method retrieves the settings of deal cards for all users
    • resetPersonal method reset for item user settings
    • resetGeneral method reset all card settings for all users
    • setPersonal method set card configuration
    • setGeneral method set card configuration for all users
    • setForceCommonConfigForAll method set common detail form for All Users
  • Added service CRM\Lead\Service\LeadDetailsConfiguration with support methods,
    see add crm.lead.details.* methods:
    • getPersonal method retrieves the settings of lead cards for personal user
    • getGeneral method retrieves the settings of lead cards for all users
    • resetPersonal method reset for item user settings
    • resetGeneral method reset all card settings for all users
    • setPersonal method set card configuration
    • setGeneral method set card configuration for all users
    • setForceCommonConfigForAll method set common detail form for All Users
  • Added service Services\CRM\Lead\Service\LeadProductRows with support methods,
    see add crm.lead.productrows* methods:
    • set Adds products to a lead
    • get Returns the products of a lead
  • Added service Services\CRM\Quote\Service\Quote with support methods,
    see crm.quote.* methods:
    • fields returns a list of fields for the quote
    • get returns the settings of the quote by Id
    • list returns a list of quote
    • add creates a new quote
    • delete deletes a quote
    • update modifies the quote
    • countByFilter count quotes by filter
  • Added support for events:
    • OnCrmQuoteAdd
    • OnCrmQuoteDelete
    • OnCrmQuoteUpdate
    • OnCrmQuoteUserFieldAdd
    • OnCrmQuoteUserFieldDelete
    • OnCrmQuoteUserFieldSetEnumValues
    • OnCrmQuoteUserFieldUpdate
  • Added service Services\CRM\Quote\Service\QuoteUserfield with support methods:
    • add add userfield to a quote
    • get get userfield to a quote
    • list list userfields
    • delete delete userfield
    • update update userfield
  • Added service Services\CRM\Quote\Service\QuoteProductRows with support methods:
    • set Adds products to a quote
    • get Returns the products of a quote
  • Added service Services\CRM\Quote\Service\QuoteContact with support methods,
    • fields get fiels for quote contact connection
    • setItems set contacts related with quote
    • get get contacts related to quote
    • deleteItems delete all relations for quote
    • add add contact relation with quote
    • delete delete contact relation with quote
  • Added service CRM\Lead\Service\LeadUserfield with support methods,
    see add crm.lead.userfield.* methods:
    • add add userfield to lead
    • get get userfield to lead
    • list list userfields
    • delete delete userfield
    • update update userfield
  • Added service Services\CRM\Deal\Service\DealRecurring with support methods,
    see crm.deal.recurring.* methods:
    • fields returns a list of fields for the recurring deal template
    • get returns the settings of the recurring deal template by Id
    • list returns a list of recurring deal templates
    • add creates a new recurring deal template
    • delete deletes a recurring deal template
    • update modifies the settings of the recurring deal template
    • expose creates a new deal based on the template
  • Added service Services\CRM\Automation\Service\Trigger with support methods,
    see add crm.automation.trigger* methods:
    • add add new trigger, with batch calls support
    • delete delete trigger, with batch calls support
    • list get list of triggers, with batch calls support
    • execute execute trigger, with batch calls support
  • Added service Services\CRM\Currency with support methods,
    see Add crm.currency.* methods:
    • get get currency
    • fields get currency fields
    • list get currency list
    • add add new currency, with batch calls support
    • delete delete currency, with batch calls support
    • update update currency, with batch calls support
  • Added service Services\CRM\Currency\Localizations with support methods,
    see Add crm.currency.* methods:
    • set set localizations, with batch calls support
    • get get localizations
    • fields get localization fields
    • delete delete currency, with batch calls support
  • Added service Services\CRM\Address\Service\Address with support methods,
    see add crm.address REST methods:
    • list get item list
    • add add new item, with batch calls support
    • delete delete item, with batch calls support
    • update update item, with batch calls support
  • Added enum Services\CRM\Enum\OwnerType
  • Developer experience: added make command lint-all for run all code linters step by step, see details

Fixed

  • Fixed error in arguments in service for method placement.bind, see details
  • Fixed errors in task.elapseditem.* call in ApiClient see details

Changed

  • Changed B24-PHP-SDK useragent: added prefix vendor, see details
  • ️️BC Changed contract Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterface, this change needs to process corner cases
    when installed application with UI or without UI:
    • changed method public function applicationInstalled(?string $applicationToken): void application token now is nullable
    • added method public function setApplicationToken(string $applicationToken): void;
  • ️️BC Changed contract Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterface, this change needs to process corner cases
    when we need to store multiple accounts from one Bitrix24 portal.
    • added method isMasterAccount
  • ️️BC Changed contract Bitrix24\SDK\Application\Contracts\ApplicationInstallations\Entity\ApplicationInstallationInterface, this change needs to process
    corner cases when installed application with UI or without UI.
    • added method setApplicationToken
    • added method isApplicationTokenValid
    • changed method public function applicationInstalled(?string $applicationToken): void application token now is nullable
    • changed method public function applicationUninstalled(?string $applicationToken): void application token now is nullable
    • added method linkContactPerson(Uuid $uuid), see change signatures.
    • added method linkBitrix24Partner(), see change signatures.
    • added method unlinkBitrix24Partner(), see change signatures.
    • added method unlinkContactPerson(), see change signatures.
    • added method linkBitrix24PartnerContactPerson(), see change signatures.
    • added method unlinkBitrix24PartnerContactPerson(), see change signatures.
    • remove method changeContactPerson(?Uuid $uuid), see change signatures.
    • remove method changeBitrix24Partner(?Uuid $uuid), see change signatures.
    • remove method changeBitrix24PartnerContactPerson(?Uuid $uuid), see change signatures.
  • ️️BC Changed contract Bitrix24\SDK\Application\Contracts\ApplicationInstallations\Repository\ApplicationInstallationRepositoryInterface,
    see change signatures:
    • change return type findByBitrix24AccountId from an array to ?ApplicationInstallationInterface

Statistics

Bitrix24 API-methods count: 1166
Supported in bitrix24-php-sdk methods count: 300
Coverage percentage: 25.73% 🚀
Supported in bitrix24-php-sdk methods with batch wrapper count: 45