Bitrix API

AIManager

FinalYes

Table of Contents

Constants

AI_LICENCE_FEATURE_NAME  = 'ai_available_by_version'
AI_LIMIT_BAAS  = 'BAAS'
AI_LIMIT_CODE_DAILY  = 'Daily'
AI_LIMIT_CODE_MONTHLY  = 'Monthly'
AI_PACKAGES_EMPTY_SLIDER_CODE  = 'limit_boost_crm_automation'
SUPPORTED_ENTITY_TYPE_IDS  = \Bitrix\Crm\Integration\AI\Operation\FillItemFieldsFromCallTranscription::SUPPORTED_TARGET_ENTITY_TYPE_IDS

Methods

fetchLimitError()  : Error|null
getAiAppCollectionMarketLink()  : string
getAllOperationTypes()  : array<string|int, mixed>
getAvailableLanguageList()  : array<string|int, mixed>
isAiCallAutomaticProcessingAllowed()  : bool
isAiCallProcessingEnabled()  : bool
isAILicenceAccepted()  : bool
isAvailable()  : bool
isBaasServiceAvailable()  : bool
isBaasServiceHasPackage()  : bool
isBaasServiceIgnored()  : bool
isEnabledInGlobalSettings()  : bool
isEngineAvailable()  : bool
isStubMode()  : bool
launchCallRecordingTranscription()  : Result
launchExtractScoringCriteria()  : Result
logger()  : LoggerInterface
registerStubJob()  : string
setAiCallAutomaticProcessingAllowed()  : void
setBaasServiceIgnored()  : void

Constants

AI_LICENCE_FEATURE_NAME

public mixed AI_LICENCE_FEATURE_NAME = 'ai_available_by_version'

AI_LIMIT_BAAS

public mixed AI_LIMIT_BAAS = 'BAAS'

AI_LIMIT_CODE_DAILY

public mixed AI_LIMIT_CODE_DAILY = 'Daily'

AI_LIMIT_CODE_MONTHLY

public mixed AI_LIMIT_CODE_MONTHLY = 'Monthly'

AI_PACKAGES_EMPTY_SLIDER_CODE

public mixed AI_PACKAGES_EMPTY_SLIDER_CODE = 'limit_boost_crm_automation'

SUPPORTED_ENTITY_TYPE_IDS

public mixed SUPPORTED_ENTITY_TYPE_IDS = \Bitrix\Crm\Integration\AI\Operation\FillItemFieldsFromCallTranscription::SUPPORTED_TARGET_ENTITY_TYPE_IDS

Methods

fetchLimitError()

public static fetchLimitError(Error $error) : Error|null
Parameters
$error : Error
Return values
Error|null
public static getAiAppCollectionMarketLink() : string
Return values
string

getAllOperationTypes()

public static getAllOperationTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAvailableLanguageList()

public static getAvailableLanguageList() : array<string|int, mixed>
Return values
array<string|int, mixed>

isAiCallAutomaticProcessingAllowed()

public static isAiCallAutomaticProcessingAllowed() : bool
Return values
bool

isAiCallProcessingEnabled()

public static isAiCallProcessingEnabled() : bool
Return values
bool

isAILicenceAccepted()

public static isAILicenceAccepted([int $userId = null ]) : bool
Parameters
$userId : int = null
Return values
bool

isAvailable()

public static isAvailable() : bool
Return values
bool

isBaasServiceAvailable()

public static isBaasServiceAvailable() : bool
Return values
bool

isBaasServiceHasPackage()

public static isBaasServiceHasPackage() : bool
Return values
bool

isBaasServiceIgnored()

public static isBaasServiceIgnored() : bool
Return values
bool

isEnabledInGlobalSettings()

public static isEnabledInGlobalSettings([string|GlobalSetting $code = GlobalSetting::FillItemFromCall ]) : bool
Parameters
$code : string|GlobalSetting = GlobalSetting::FillItemFromCall
Return values
bool

isEngineAvailable()

public static isEngineAvailable(string $type) : bool
Parameters
$type : string
Return values
bool

isStubMode()

public static isStubMode() : bool
Return values
bool

launchCallRecordingTranscription()

public static launchCallRecordingTranscription(int $activityId, string $scenario[, int|null $userId = null ][, int|null $storageTypeId = null ][, int|null $storageElementId = null ][, bool $isManualLaunch = true ]) : Result
Parameters
$activityId : int
$scenario : string
$userId : int|null = null
$storageTypeId : int|null = null
$storageElementId : int|null = null
$isManualLaunch : bool = true
Return values
Result

launchExtractScoringCriteria()

public static launchExtractScoringCriteria(int $entityId, string $prompt[, int|null $userId = null ][, bool $isManualLaunch = true ]) : Result
Parameters
$entityId : int
$prompt : string
$userId : int|null = null
$isManualLaunch : bool = true
Return values
Result

logger()

public static logger() : LoggerInterface
Return values
LoggerInterface

registerStubJob()

public static registerStubJob(Engine $engine, mixed $payload) : string
Parameters
$engine : Engine
$payload : mixed
Return values
string

setAiCallAutomaticProcessingAllowed()

public static setAiCallAutomaticProcessingAllowed(bool|null $isAllowed) : void
Parameters
$isAllowed : bool|null

setBaasServiceIgnored()

public static setBaasServiceIgnored(bool $isAllowed) : void
Parameters
$isAllowed : bool

        
On this page

Search results