| Current Path : /var/www/homesaver/www/bitrix/modules/sender/lib/access/map/ |
| Current File : /var/www/homesaver/www/bitrix/modules/sender/lib/access/map/rcaction.php |
<?php
namespace Bitrix\Sender\Access\Map;
use Bitrix\Sender\Access\ActionDictionary;
use Bitrix\Sender\Integration\Crm\ReturnCustomer\MessageBase;
class RcAction
{
/**
* legacy action map
* @return array
*/
public static function getMap(): array
{
return [
MessageBase::CODE_RC_LEAD => ActionDictionary::ACTION_RC_EDIT,
MessageBase::CODE_RC_DEAL => ActionDictionary::ACTION_RC_EDIT,
MessageBase::CODE_TOLOKA => ActionDictionary::ACTION_RC_VIEW,
MessageBase::CODE_MASTER_YANDEX => ActionDictionary::ACTION_ADS_MASTER_YANDEX_VIEW,
];
}
}