diff options
Diffstat (limited to 'data/en_us/ccc/2020-07-01')
| -rw-r--r-- | data/en_us/ccc/2020-07-01/api-docs.php | 53717 |
1 files changed, 53717 insertions, 0 deletions
diff --git a/data/en_us/ccc/2020-07-01/api-docs.php b/data/en_us/ccc/2020-07-01/api-docs.php new file mode 100644 index 0000000..1ec2c92 --- /dev/null +++ b/data/en_us/ccc/2020-07-01/api-docs.php @@ -0,0 +1,53717 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'CCC', + 'version' => '2020-07-01', + ], + 'directories' => [ + [ + 'id' => 168396, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListPrivilegesOfUser', + 'ListRoles', + ], + ], + [ + 'id' => 168399, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DeleteInstance', + 'CreateInstance', + 'GetInstance', + 'ListInstances', + 'ListInstancesOfUser', + 'ModifyInstance', + ], + ], + [ + 'id' => 168405, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddPersonalNumbersToUser', + 'AddPhoneNumbers', + 'AddPhoneNumberToSkillGroups', + 'ListOutboundNumbersOfUser', + 'ListPersonalNumbersOfUser', + 'ListPhoneNumbers', + 'ListPhoneNumbersOfSkillGroup', + 'ListUnassignedNumbers', + 'ModifyPhoneNumber', + 'ImportCorpNumbers', + 'RemovePersonalNumbersFromUser', + 'RemovePhoneNumberFromSkillGroups', + 'RemovePhoneNumbers', + 'RemovePhoneNumbersFromSkillGroup', + ], + ], + [ + 'id' => 168421, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddNumbersToSkillGroup', + 'AddUsersToSkillGroup', + 'CreateSkillGroup', + 'DeleteSkillGroup', + 'GetSkillGroup', + 'ListBriefSkillGroups', + 'ListSkillGroups', + 'ListSkillLevelsOfUser', + 'ModifySkillGroup', + 'ModifySkillLevelsOfUser', + 'RemoveSkillGroupsFromUser', + ], + ], + [ + 'id' => 168433, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ImportRamUsers', + 'ChangeVisibility', + 'AddSkillGroupsToUser', + 'AssignUsers', + 'ChangeWorkMode', + 'CreateUser', + 'GetUser', + 'ImportAdmins', + 'ListDevices', + 'ListRamUsers', + 'ListUserLevelsOfSkillGroup', + 'ListUsers', + 'ModifyUser', + 'ModifyUserLevelsOfSkillGroup', + 'RegisterDevice', + 'RegisterDevices', + 'RemoveUsers', + 'RemoveUsersFromSkillGroup', + 'ResetAgentState', + 'ResetUserPassword', + 'UnregisterDevice', + ], + ], + [ + 'id' => 168452, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AnswerCall', + 'BargeInCall', + 'BlindTransfer', + 'CancelAttendedTransfer', + 'CoachCall', + 'CompleteAttendedTransfer', + 'EndConference', + 'GetNumberLocation', + 'HoldCall', + 'InitiateAttendedTransfer', + 'InterceptCall', + 'LaunchAuthentication', + 'LaunchSurvey', + 'MakeCall', + 'MonitorCall', + 'MuteCall', + 'PickOutboundNumbers', + 'PollUserStatus', + 'ReadyForService', + 'RedialCall', + 'ReleaseCall', + 'RetrieveCall', + 'SaveRTCStatsV2', + 'SaveTerminalLog', + 'SaveWebRtcInfo', + 'SaveWebRTCStats', + 'SendDtmfSignaling', + 'SignInGroup', + 'SignOutGroup', + 'StartBack2BackCall', + 'StartConference', + 'StartPredictiveCall', + 'StartPrivacyCall', + 'SwitchToConference', + 'TakeBreak', + 'UnmuteCall', + ], + ], + [ + 'id' => 168487, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ModifyCampaignNumbers', + 'AbortCampaign', + 'AddCases', + 'AppendCases', + 'CreateCampaign', + 'GetCampaign', + 'GetCaseFileUploadUrl', + 'GetHistoricalCampaignReport', + 'GetRealtimeCampaignStats', + 'ListAttempts', + 'ListCampaigns', + 'ListCampaignTrendingReport', + 'ListCases', + 'PauseCampaign', + 'ResumeCampaign', + 'UpdateCampaign', + 'SubmitCampaign', + ], + ], + [ + 'id' => 168500, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetIvrTrackingSummary', + 'ListIntervalAgentSkillGroupReport', + 'ListHistoricalAgentSkillGroupReport', + 'GetCallDetailRecord', + 'GetConversationDetail', + 'GetConversationDetail', + 'GetHistoricalCallerReport', + 'GetHistoricalInstanceReport', + 'GetInstanceTrendingReport', + 'GetRealtimeInstanceStates', + 'ListAgentStateLogs', + 'ListCallDetailRecords', + 'ListCallDetailRecordsV2', + 'ListHistoricalAgentReport', + 'ListHistoricalSkillGroupReport', + 'ListIntervalAgentReport', + 'ListIntervalInstanceReport', + 'ListIntervalSkillGroupReport', + 'ListIvrTrackingDetails', + 'ListRealtimeAgentStates', + 'ListRealtimeSkillGroupStates', + 'ListRecentCallDetailRecords', + 'ListAgentStates', + 'ListAgentSummaryReportsSinceMidnight', + 'ListLegacyAgentEventLogs', + 'ListLegacyAgentStatusLogs', + 'ListLegacyQueueEventLogs', + 'ListSkillGroupStates', + 'ListSkillGroupSummaryReportsSinceMidnight', + 'ListVoicemails', + 'ListGroupChatMessages', + ], + ], + [ + 'id' => 171708, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RestoreArchivedRecordings', + 'GetMonoRecording', + 'GetMultiChannelRecording', + 'GetVoicemailRecording', + 'GetEarlyMediaRecording', + 'ListMultiChannelRecordings', + 'ListMonoRecordings', + ], + ], + [ + 'id' => 168531, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateAudioFile', + 'DeleteAudioFile', + 'GetAudioFile', + 'GetAudioFileDownloadUrl', + 'GetAudioFileUploadParameters', + 'ListAudioFiles', + 'ModifyAudioFile', + ], + ], + [ + 'id' => 168539, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetLoginDetails', + 'GetTurnCredentials', + 'GetTurnServerList', + 'ListConfigItems', + 'UpdateConfigItems', + ], + ], + [ + 'id' => 282482, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ProcessCustomIMCallback', + 'CreateChatMediaUrl', + 'ListVisitorChatMessages', + 'GetChatRoutingProfile', + 'UpdateChatRoutingProfile', + 'GetChatMediaUrl', + 'ListWaitingChats', + 'ClaimChat', + 'ReleaseChat', + 'StartChat', + 'RejectChat', + 'GetVisitorLoginDetails', + 'AcceptChat', + ], + ], + [ + 'id' => 282483, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'FinishTicketTask', + 'UpdateTicket', + 'GetTicket', + 'ListCommonTicketFields', + 'TerminateTicket', + 'GetTicketSummaryReport', + 'ResubmitTicket', + 'DeleteTicketTemplate', + 'RejectTicket', + 'DisableTicketTemplate', + 'WithdrawTicket', + 'ListTicketTasks', + 'ListTickets', + 'TransferTicketTask', + 'DeleteTicket', + 'EnableTicketTemplate', + 'AddTicketTask', + 'ListTicketTemplates', + 'CreateTicket', + 'ListCategories', + 'GetTicketTemplate', + ], + ], + [ + 'id' => 168545, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddBlacklistCallTagging', + 'CreateCallTags', + 'CreateCustomCallTagging', + 'DeleteCallTag', + 'DeleteCustomCallTagging', + 'ExportCustomCallTagging', + 'ImportCustomCallTagging', + 'ListBlacklistCallTaggings', + 'ListCallTags', + 'ListCustomCallTagging', + 'ModifyCustomCallTagging', + 'RemoveBlacklistCallTagging', + ], + ], + [ + 'id' => 168555, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ExportDoNotCallNumbers', + 'GetDoNotCallFileUploadParameters', + 'ImportDoNotCallNumbers', + 'ListDoNotCallNumbers', + 'RemoveDoNotCallNumbers', + ], + ], + [ + 'id' => 282484, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListFlashSmsSettings', + 'ListFlashSmsApplications', + 'ListFlashSmsTemplates', + 'ListSmsMetadata', + ], + ], + [ + 'id' => 168419, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ExportContactFlow', + 'ImportContactFlow', + 'CreateContactFlow', + 'ListContactFlows', + 'GetContactFlow', + 'StartEditContactFlow', + 'CommitContactFlow', + 'PublishContactFlow', + 'DiscardEditingContactFlow', + 'DeleteContactFlow', + ], + ], + [ + 'id' => 192288, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DeleteSchemaProperty', + 'DisableSchemaProperty', + 'EnableSchemaProperty', + 'GetSchema', + 'DeleteSchema', + 'GetDocumentUploadParameters', + 'UpdateSchemaProperty', + 'SaveDocument', + 'DeleteDocuments', + 'DeleteDocument', + 'ListDocuments', + 'ImportDocuments', + 'CreateSchema', + 'AddSchemaProperty', + ], + ], + [ + 'id' => 282485, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetSummaryTemplate', + 'UpdateCallSummary', + 'CreateCallSummary', + 'ListCallSummaries', + 'AnalyzeConversation', + 'AddFeedback', + ], + ], + [ + 'id' => 282486, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetUploadAudioDataParams', + ], + ], + [ + 'id' => 365417, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListFeedbacks', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ListPrivilegesOfUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Scope' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'SELF_ONLY' => '', + 'INSTANCE' => '', + 'SKILL_GROUP' => '', + ], + 'example' => 'SELF_ONLY', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Workbench:Call', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Scope\\": \\"SELF_ONLY\\",\\n \\"Name\\": \\"Workbench:Call\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Scope>SELF_ONLY</Scope>\\n <InstanceId>ccc-test</InstanceId>\\n <Name>Workbench:Call</Name>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRoles' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '711D948F-C616-4E23-8573-0F260513CE09', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Mannager' => '', + 'Agent' => '', + 'Admin' => '', + ], + 'example' => 'Admin', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Invalid', + 'errorMessage' => 'The parameter %s is invalid. %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"711D948F-C616-4E23-8573-0F260513CE09\\",\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"Admin\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DeleteInstance' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '251524', + 'abilityTreeNodes' => [ + 'FEATUREccc8HB4RI', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b7feb007-994a-497f-8934-2f0c6f89867c', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"b7feb007-994a-497f-8934-2f0c6f89867c\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateInstance' => [ + 'summary' => '创建实例', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREcccTMAX45', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '["0830011xxxx", "0830312xxxx"]', + ], + ], + [ + 'name' => 'AdminRamIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["24861380681070****","105980354482****"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '75c1346c-1dc2-4ed8-973f-edf8b1e5fe77', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.Number', + 'errorMessage' => 'The specified number %s does not exist in instance %s.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.InstanceId', + 'errorMessage' => 'The instance %s already exists.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"75c1346c-1dc2-4ed8-973f-edf8b1e5fe77\\",\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\"\\n}","type":"json"}]', + ], + 'GetInstance' => [ + 'summary' => '获取实例信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccTMAX45', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RELEASED' => '', + 'RUNNING' => '', + 'STOPPED' => '', + 'CREATING' => '', + ], + 'example' => 'RUNNING', + ], + 'ConsoleUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2.aliyun.com/#/workbench/ccc-test', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AliyunUid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '157123456789****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DomainName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test'."\n", + ], + 'AdminList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Mannager' => '', + 'Agent' => '', + 'Admin' => '', + ], + 'example' => 'Admin', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + ], + ], + ], + 'NumberList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830011****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Usage' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2ec7a58f-3243-4815-bb21-97b480b95f5e', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PhoneNumberCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'UserCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + ], + ], + ], + ], + ], + ], + 'ChatbotBusinessUnit' => [ + 'type' => 'object', + 'properties' => [ + 'UnitId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'UnitKey' => [ + 'type' => 'string', + ], + ], + ], + 'AgentType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\",\\n \\"Data\\": {\\n \\"Status\\": \\"RUNNING\\",\\n \\"ConsoleUrl\\": \\"https://ccc-v2.aliyun.com/#/workbench/ccc-test\\",\\n \\"Description\\": \\"云联络中心的测试实例。\\",\\n \\"AliyunUid\\": \\"157123456789****\\",\\n \\"Name\\": \\"测试实例\\",\\n \\"DomainName\\": \\"ccc-test\\",\\n \\"Id\\": \\"ccc-test\\\\n\\",\\n \\"AdminList\\": [\\n {\\n \\"DisplayName\\": \\"管理员\\",\\n \\"Extension\\": \\"8032****\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1382114****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"RoleName\\": \\"Admin\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\"\\n }\\n ],\\n \\"NumberList\\": [\\n {\\n \\"Active\\": true,\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Number\\": \\"0830011****\\",\\n \\"City\\": \\"乐山\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Usage\\": \\"Bidirection\\",\\n \\"ContactFlowId\\": \\"2ec7a58f-3243-4815-bb21-97b480b95f5e\\",\\n \\"Province\\": \\"四川\\",\\n \\"SkillGroups\\": [\\n {\\n \\"DisplayName\\": \\"测试技能组\\",\\n \\"Description\\": \\"云联络中心的测试技能组。\\",\\n \\"PhoneNumberCount\\": 1,\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"UserCount\\": 3,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"skillgroup\\"\\n }\\n ]\\n }\\n ],\\n \\"ChatbotBusinessUnit\\": {\\n \\"UnitId\\": 0,\\n \\"UnitKey\\": \\"\\"\\n },\\n \\"AgentType\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'ListInstances' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26A34338-5CD9-4C95-A7A6-5BDCE76C6B94', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RELEASED' => '', + 'RUNNING' => '', + 'STOPPED' => '', + 'CREATING' => '', + ], + 'example' => 'RUNNING', + ], + 'ConsoleUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2.aliyun.com/#/workbench/ccc-test', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1624679747000', + ], + 'AliyunUid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '157123456789****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DomainName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'AdminList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****'."\n", + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Mannager' => '', + 'Agent' => '', + 'Admin' => '', + ], + 'example' => 'Admin', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + ], + ], + ], + 'NumberList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830011****', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"26A34338-5CD9-4C95-A7A6-5BDCE76C6B94\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"RUNNING\\",\\n \\"ConsoleUrl\\": \\"https://ccc-v2.aliyun.com/#/workbench/ccc-test\\",\\n \\"Description\\": \\"云联络中心的测试实例。\\",\\n \\"CreateTime\\": 1624679747000,\\n \\"AliyunUid\\": \\"157123456789****\\",\\n \\"Name\\": \\"测试实例\\",\\n \\"DomainName\\": \\"ccc-test\\",\\n \\"Id\\": \\"ccc-test\\",\\n \\"AdminList\\": [\\n {\\n \\"DisplayName\\": \\"测试坐席\\",\\n \\"Extension\\": \\"8032****\\\\n\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1382114****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"RoleName\\": \\"Admin\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\"\\n }\\n ],\\n \\"NumberList\\": [\\n {\\n \\"Number\\": \\"0830011****\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListInstancesOfUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3969FC68-CEC2-4398-B76A-60D2F7EDEBAF', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RELEASED(已注销)' => '', + 'CREATING(创建中)' => '', + 'RUNNING(正常运行中)' => '', + 'STOPPED(已停服)' => '', + ], + 'example' => 'RUNNING', + ], + 'ConsoleUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2.aliyun.com/#/workbench/ccc-test', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AliyunUid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '157123456789****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DomainName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'AdminList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'OFF_SITE(场外模式)' => '', + 'ON_SITE(场内模式)' => '', + 'OFFICE_PHONE(办公电话模式)' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Manager(技能组组长)' => '', + 'Agnet(坐席)' => '', + 'Admin(管理员)' => '', + ], + 'example' => 'Admin', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + ], + ], + ], + 'NumberList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830011****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Usage' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Bidirection(呼入及呼出)' => '', + 'Inbound(呼入)' => '', + 'Outbound(呼出)' => '', + ], + 'example' => 'Bidirection', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a3fb6c62-9b49-4942-ae5b-cf2abd4123ek', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PhoneNumberCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'UserCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"3969FC68-CEC2-4398-B76A-60D2F7EDEBAF\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"RUNNING\\",\\n \\"ConsoleUrl\\": \\"https://ccc-v2.aliyun.com/#/workbench/ccc-test\\",\\n \\"Description\\": \\"云联络中心的测试实例。\\",\\n \\"AliyunUid\\": \\"157123456789****\\",\\n \\"Name\\": \\"测试实例\\",\\n \\"DomainName\\": \\"ccc-test\\",\\n \\"Id\\": \\"ccc-test\\",\\n \\"AdminList\\": [\\n {\\n \\"DisplayName\\": \\"测试坐席\\",\\n \\"Extension\\": \\"8032****\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1382114****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"RoleName\\": \\"Admin\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\"\\n }\\n ],\\n \\"NumberList\\": [\\n {\\n \\"Active\\": true,\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Number\\": \\"0830011****\\",\\n \\"City\\": \\"乐山\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Usage\\": \\"Bidirection\\",\\n \\"ContactFlowId\\": \\"a3fb6c62-9b49-4942-ae5b-cf2abd4123ek\\",\\n \\"Province\\": \\"四川\\",\\n \\"SkillGroups\\": [\\n {\\n \\"DisplayName\\": \\"测试技能组\\",\\n \\"Description\\": \\"云联络中心的测试技能组。\\",\\n \\"PhoneNumberCount\\": 1,\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"UserCount\\": 2,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"skillgroup\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3969FC68-CEC2-4398-B76A-60D2F7EDEBAF</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Status>RUNNING</Status>\\n <Description>测试实例</Description>\\n <DomainName>ccc-test</DomainName>\\n <ConsoleUrl>https://ccc-v2.aliyun.com/#/workbench/ccc-test</ConsoleUrl>\\n <AliyunUid>157123456789****</AliyunUid>\\n <Id>ccc-test</Id>\\n <Name>云呼测试实例</Name>\\n <AdminList>\\n <Extension>8032****</Extension>\\n <LoginName>user-test</LoginName>\\n <RoleName>Admin</RoleName>\\n <Email>1886666****@163.com</Email>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DisplayName>云呼测试1</DisplayName>\\n <RoleId>Admin@ccc-test</RoleId>\\n <Mobile>1382114****</Mobile>\\n <WorkMode>ON_SITE</WorkMode>\\n </AdminList>\\n <NumberList>\\n <Usage>Bidirection</Usage>\\n <Active>true</Active>\\n <Number>0830011****</Number>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactFlowId>a3fb6c62-9b49-4942-ae5b-cf2abd4123ek</ContactFlowId>\\n <UserId>user-test@ccc-test</UserId>\\n <City>乐山</City>\\n <Province>四川</Province>\\n <SkillGroups>\\n <Description>测试</Description>\\n <PhoneNumberCount>1</PhoneNumberCount>\\n <InstanceId>ccc-test</InstanceId>\\n <UserCount>2</UserCount>\\n <DisplayName>测试技能组</DisplayName>\\n <SkillGroupId>test@ccc-test</SkillGroupId>\\n <Name>test</Name>\\n </SkillGroups>\\n </NumberList>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyInstance' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '83TKE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"83TKE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": \\"无\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>83TKE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>无</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddPersonalNumbersToUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["0101234****","0105678****"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0101234****', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Data\\": [\\n \\"0101234****\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>[\\"0100xxxx009\\"]</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddPhoneNumbers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dDMD_0mif4hv', + ], + ], + [ + 'name' => 'Usage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '["0101234****", "0105678****"]', + ], + ], + [ + 'name' => 'NumberGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '2cb77c29-5f60-4b90-b21e-9d2ba9833f14', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0101234****', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": [\\n \\"0101234****\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>无</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddPhoneNumberToSkillGroups' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0101234****', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListOutboundNumbersOfUser' => [ + 'summary' => '该坐席可用的外呼号码列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccBCFPY3', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Provider' => [ + 'type' => 'string', + ], + 'ProviderCode' => [ + 'type' => 'string', + 'deprecated' => true, + ], + 'ProviderDisplayName' => [ + 'type' => 'string', + 'deprecated' => true, + ], + 'ProviderShortName' => [ + 'type' => 'string', + ], + 'ProviderType' => [ + 'type' => 'string', + 'enum' => [ + 'THIRD_PARTY', + 'SELF_HOSTED', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"0830019****\\",\\n \\"City\\": \\"乐山\\",\\n \\"Province\\": \\"四川\\",\\n \\"Provider\\": \\"\\",\\n \\"ProviderCode\\": \\"\\",\\n \\"ProviderDisplayName\\": \\"\\",\\n \\"ProviderShortName\\": \\"\\",\\n \\"ProviderType\\": \\"\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>1</TotalCount>\\n<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<PageSize>10</PageSize>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <City>乐山</City>\\n <Number>083xxxx0019</Number>\\n <Province>四川</Province>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListPersonalNumbersOfUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'user-test@ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'IsMember', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => true, + 'docRequired' => true, + 'example' => 'true', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0833', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08330011****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a3fb6c62-9b49-4942-ae5b-cf2abd4123ek', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Active\\": true,\\n \\"Number\\": \\"08330011****\\",\\n \\"City\\": \\"乐山\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"ContactFlowId\\": \\"a3fb6c62-9b49-4942-ae5b-cf2abd4123ek\\",\\n \\"Province\\": \\"四川\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Active>true</Active>\\n <Number>083xxxx0011</Number>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactFlowId>a3fb6c62-9b49-4942-ae5b-cf2abd4123ek</ContactFlowId>\\n <City>乐山</City>\\n <Province>四川</Province>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListPhoneNumbers' => [ + 'summary' => '获取号码列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '0833', + ], + ], + [ + 'name' => 'Usage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + 'maxLength' => 200, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Active', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1617958538000', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'M1', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Usage' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + ], + 'ContactFlowName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Provider' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alicom', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08330011****', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a3fb6c62-9b49-4942-ae5b-cf2abd4123ek', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Active\\": true,\\n \\"CreateTime\\": \\"1617958538000\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Tags\\": \\"M1\\",\\n \\"City\\": \\"乐山\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Usage\\": \\"Bidirection\\",\\n \\"ContactFlowName\\": \\"默认联系流\\",\\n \\"Provider\\": \\"alicom\\",\\n \\"Number\\": \\"08330011****\\",\\n \\"ContactFlowId\\": \\"a3fb6c62-9b49-4942-ae5b-cf2abd4123ek\\",\\n \\"Province\\": \\"四川\\",\\n \\"SkillGroups\\": [\\n {\\n \\"DisplayName\\": \\"测试技能组\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"skillgroup\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<PageSize>20</PageSize>\\n<Message>无</Message>\\n<PageNumber>1</PageNumber>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Usage>Bidirection</Usage>\\n <Active>true</Active>\\n <Number>083xxxx0011</Number>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactFlowId>a3fb6c62-9b49-4942-ae5b-cf2abd4123ek</ContactFlowId>\\n <UserId>user-test@ccc-test</UserId>\\n <CreateTime>1617958538000</CreateTime>\\n <ContactFlowName>测试IVR</ContactFlowName>\\n <City>乐山</City>\\n <Tags>M1</Tags>\\n <Province>四川</Province>\\n <Provider>ali</Provider>\\n <SkillGroups>\\n <InstanceId>ccc-test</InstanceId>\\n <DisplayName>测试技能组</DisplayName>\\n <SkillGroupId>test@ccc-test</SkillGroupId>\\n <Name>test</Name>\\n </SkillGroups>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListPhoneNumbersOfSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'IsMember', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => true, + 'docRequired' => true, + 'example' => 'true', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0833', + ], + ], + [ + 'name' => 'Active', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08330011****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Usage' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a3fb6c62-9b49-4942-ae5b-cf2abd4123ek', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Active\\": true,\\n \\"Number\\": \\"08330011****\\",\\n \\"City\\": \\"乐山\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Usage\\": \\"Bidirection\\",\\n \\"ContactFlowId\\": \\"a3fb6c62-9b49-4942-ae5b-cf2abd4123ek\\",\\n \\"Province\\": \\"四川\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Usage>Bidirection</Usage>\\n <Active>true</Active>\\n <Number>083xxxx0011</Number>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactFlowId>a3fb6c62-9b49-4942-ae5b-cf2abd4123ek</ContactFlowId>\\n <City>乐山</City>\\n <Province>四川</Province>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListUnassignedNumbers' => [ + 'summary' => '获取未分配号码列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '0833', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F ', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08330011****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.ResourcePlatform', + 'errorMessage' => 'An internal ResourcePlatform service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\\\t\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"08330011****\\",\\n \\"City\\": \\"乐山\\",\\n \\"Province\\": \\"四川\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F\\t</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Usage>true</Usage>\\n <Active>true</Active>\\n <Number>083xxxx0011\\t</Number>\\n <City>乐山</City>\\n <Province>四川</Province>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyPhoneNumber' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0102134****', + ], + ], + [ + 'name' => 'Usage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + 'maxLength' => 200, + 'minLength' => 1, + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '78128960-bb00-4ddc-8a82-923a8c5bd22d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.Number', + 'errorMessage' => 'The specified number %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ImportCorpNumbers' => [ + 'summary' => '导入自有线路号码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREccc1MRAID', + ], + ], + 'parameters' => [ + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[\'02912345678\']', + ], + ], + [ + 'name' => 'TagList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Province', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + 'docRequired' => true, + ], + ], + [ + 'name' => 'City', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + 'docRequired' => true, + ], + ], + [ + 'name' => 'Provider', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'CorpName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C42981C7-93D9-55CD-B078-784F8522E0E1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"C42981C7-93D9-55CD-B078-784F8522E0E1\\"\\n}","type":"json"}]', + ], + 'RemovePersonalNumbersFromUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["0101234****", "0105678****"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemovePhoneNumberFromSkillGroups' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0101234****', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Invalid', + 'errorMessage' => 'The parameter %s is invalid. %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemovePhoneNumbers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["0101234****","0105678****"]', + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0101234****', + ], + 'example' => '', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": [\\n \\"0101234****\\"\\n ],\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>无</Data>\\n<FailureList>无</FailureList>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemovePhoneNumbersFromSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["0101234****","0105678****"]', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Invalid', + 'errorMessage' => 'The parameter %s is invalid. %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddNumbersToSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '["0103182****","0102387****"]', + ], + ], + [ + 'name' => 'InstNumberGroupIdList', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddUsersToSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test1@ccc-test', + ], + ], + [ + 'name' => 'UserSkillLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[{"userId":"agent1@ccc-test","skillLevel":10},{"userId":"agent2@ccc-test","skillLevel":10}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup', + ], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'MediaType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.SkillGroupId', + 'errorMessage' => 'Skill group %s already exists in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Description\\": \\"云联络中心的测试技能组。\\",\\n \\"Name\\": \\"skillgroup\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"MediaType\\": \\"VIDEO\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Description>测试</Description>\\n <InstanceId>ccc-test</InstanceId>\\n <SkillGroupId>skg-test@ccc-test</SkillGroupId>\\n <Name>test</Name>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => true, + 'maximum' => '200', + 'minimum' => '1', + 'example' => 'true', + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + [ + 'errorCode' => 'InUse.SkillGroup', + 'errorMessage' => 'Skill group %s is in use now.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetSkillGroup' => [ + 'summary' => '查询技能组', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CF1C21B9-2D49-4B54-880F-FBE248C16903', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'MediaType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"CF1C21B9-2D49-4B54-880F-FBE248C16903\\",\\n \\"Data\\": {\\n \\"DisplayName\\": \\"测试技能组\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"skillgroup\\",\\n \\"Description\\": \\"云联络中心的测试技能组。\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"MediaType\\": \\"VIDEO\\"\\n }\\n}","type":"json"}]', + ], + 'ListBriefSkillGroups' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'skillgroup', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3969FC68-CEC2-4398-B76A-60D2F7EDEBAF', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PhoneNumberCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'UserCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'MediaType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"3969FC68-CEC2-4398-B76A-60D2F7EDEBAF\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"DisplayName\\": \\"测试技能组\\",\\n \\"Description\\": \\"云联络中心的测试技能组。\\",\\n \\"PhoneNumberCount\\": 1,\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"SkillGroupName\\": \\"skillgroup\\",\\n \\"UserCount\\": 10,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"MediaType\\": \\"VIDEO\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3969FC68-CEC2-4398-B76A-60D2F7EDEBAF</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <SkillGroupName>测试技能组</SkillGroupName>\\n <Description>测试技能组</Description>\\n <PhoneNumberCount>1</PhoneNumberCount>\\n <InstanceId>ccc-test</InstanceId>\\n <UserCount>1</UserCount>\\n <DisplayName>测试技能组</DisplayName>\\n <SkillGroupId>test@ccc-test</SkillGroupId>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListSkillGroups' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PhoneNumberCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'UserCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'MediaType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"DisplayName\\": \\"测试技能组\\",\\n \\"Description\\": \\"云联络中心的测试技能组。\\",\\n \\"PhoneNumberCount\\": 1,\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"SkillGroupName\\": \\"skillgroup\\",\\n \\"UserCount\\": 2,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"MediaType\\": \\"CHAT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <SkillGroupName>test</SkillGroupName>\\n <Description>测试</Description>\\n <PhoneNumberCount>1</PhoneNumberCount>\\n <InstanceId>ccc-test</InstanceId>\\n <UserCount>2</UserCount>\\n <DisplayName>测试技能组</DisplayName>\\n <SkillGroupId>test@ccc-test</SkillGroupId>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListSkillLevelsOfUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'IsMember', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SkillLevel' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'MediaType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"SkillLevel\\": \\"5\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"SkillGroupName\\": \\"skillgroup\\",\\n \\"MediaType\\": \\"VIDEO\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <SkillLevel>5</SkillLevel>\\n <SkillGroupName>测试技能组</SkillGroupName>\\n <SkillGroupId>test@ccc-test</SkillGroupId>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifySkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '', + 'maxLength' => 200, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifySkillLevelsOfUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'SkillLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[{"skillGroupId":"skillgroup1@ccc-test","skillLevel":1},{"skillGroupId":"skillgroup2@ccc-test","skillLevel":10}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E49D8B83-A3EC-44D4-A920-578BC3C698AD', + ], + 'Data' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.User', + 'errorMessage' => 'You have no permission to access user(s) %s.', + ], + [ + 'errorCode' => 'Permission.SkillGroup', + 'errorMessage' => 'You have no permission to access skill group(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"E49D8B83-A3EC-44D4-A920-578BC3C698AD\\",\\n \\"Data\\": \\"无\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E49D8B83-A3EC-44D4-A920-578BC3C698AD</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemoveSkillGroupsFromUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>无</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ImportRamUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'Agent@ccc-test'."\n", + ], + ], + [ + 'name' => 'SkillLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{"skillGroupId":"skillgroup@ccc-test","skillLevel":5}]'."\n", + ], + ], + [ + 'name' => 'RamIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["28036411123456****","29234301123456****"]'."\n", + ], + ], + [ + 'name' => 'WorkMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ON_SITE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1ca2b084-6f0a-454b-9851-29768a9a5832'."\n", + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"1ca2b084-6f0a-454b-9851-29768a9a5832\\\\n\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\"\\n}","type":"json"}]', + ], + 'ChangeVisibility' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'szpczf', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'sam@szpczf', + ], + ], + [ + 'name' => 'Invisible', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Internal service issue. Detail:.', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '24BE19E8-BF7D-4992-A35E-15EBA874F2E5', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Yealink SIP-T23G 44.84.203.6', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-330557290544431104', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sam@szpczf', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'szpczf', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'False', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Ready', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Internal service issue. Detail:.\\",\\n \\"RequestId\\": \\"24BE19E8-BF7D-4992-A35E-15EBA874F2E5\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"Yealink SIP-T23G 44.84.203.6\\",\\n \\"JobId\\": \\"job-330557290544431104\\",\\n \\"UserId\\": \\"sam@szpczf\\",\\n \\"BreakCode\\": \\"会议\\",\\n \\"InstanceId\\": \\"szpczf\\",\\n \\"OutboundScenario\\": true,\\n \\"UserState\\": \\"Ready\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup@ccc-test\\"\\n ]\\n }\\n}","type":"json"}]', + ], + 'AddSkillGroupsToUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'SkillLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[{"skillGroupId":"test1@ccc-test","skillLevel":5},{"skillGroupId":"test2@ccc-test","skillLevel":5}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA7F9545-8312-4190-9BD0-63144B3F1ACC', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.SkillGroup', + 'errorMessage' => 'You have no permission to access skill group(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA7F9545-8312-4190-9BD0-63144B3F1ACC\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA7F9545-8312-4190-9BD0-63144B3F1ACC</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AssignUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'Agent@ccc-test', + ], + ], + [ + 'name' => 'SkillLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{"skillGroupId":"skillgroup@ccc-test","skillLevel":5}]', + ], + ], + [ + 'name' => 'RamIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["28036411123456****","29234301123456****"]', + ], + ], + [ + 'name' => 'WorkMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1ca2b084-6f0a-454b-9851-29768a9a5832', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'WorkflowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1ca2b084-6f0a-454b-9851-29768a9a5832', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ImportRamUsers', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"1ca2b084-6f0a-454b-9851-29768a9a5832\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Code\\": \\"OK\\",\\n \\"WorkflowId\\": \\"1ca2b084-6f0a-454b-9851-29768a9a5832\\",\\n \\"Message\\": \\"无\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>1ca2b084-6f0a-454b-9851-29768a9a5832</Data>\\n<WorkflowId>1ca2b084-6f0a-454b-9851-29768a9a5832</WorkflowId>\\n<Sync>无</Sync>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ChangeWorkMode' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + ], + [ + 'name' => 'WorkMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + ], + [ + 'name' => 'SignedSkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["online-1@ccc-test","online-2@ccc-test","online-3@ccc-test","skg-default@ccc-test"]', + ], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1382114****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '87731ED1-6224-48A5-99E3-6237FF9B1C00', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'OFFLINE', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"87731ED1-6224-48A5-99E3-6237FF9B1C00\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"无\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"OFFLINE\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup@ccc-test\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>87731ED1-6224-48A5-99E3-6237FF9B1C00</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Extension>80011474</Extension>\\n <UserState>OFFLINE</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bs990cd82101cc000176af19ec8e</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>无</JobId>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'LoginName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent', + ], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + 'maxLength' => 500, + 'minLength' => 0, + ], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1382114****', + ], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[email protected]', + ], + ], + [ + 'name' => 'WorkMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'Agent@ccc-test', + ], + ], + [ + 'name' => 'SkillLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{"skillGroupId":"skillgroup1@ccc-test","skillLevel":1},{"skillGroupId":"skillgroup2@ccc-test","skillLevel":10}]', + ], + ], + [ + 'name' => 'ResetPassword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'DisplayId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1001', + ], + ], + [ + 'name' => 'AvatarUrl', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Nickname', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AvatarUrl' => [ + 'type' => 'string', + ], + 'Nickname' => [ + 'type' => 'string', + ], + ], + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.StsToken', + 'errorMessage' => 'You have no permission to access sts token %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.RoleId', + 'errorMessage' => 'Role %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.User', + 'errorMessage' => 'User %s already exists in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Data\\": {\\n \\"DisplayName\\": \\"坐席小王\\",\\n \\"Extension\\": \\"8032****\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1382114****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"AvatarUrl\\": \\"http://abc.com/sam.jpg\\",\\n \\"Nickname\\": \\"老王。\\"\\n },\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Extension>8032****</Extension>\\n <LoginName>user-test-1</LoginName>\\n <Email>1886666****@163.com</Email>\\n <UserId>user-test-1@ccc-test</UserId>\\n <DisplayName>云呼测试1</DisplayName>\\n <Mobile>1382114****</Mobile>\\n <WorkMode>ON_SITE</WorkMode>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'Extension', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '8003****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DisplayId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1001', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8003****', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1391234****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Mannager' => '', + 'Agent' => '', + 'Admin' => '', + ], + 'example' => 'Admin', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'DeviceExt' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8033****', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'OFFLINE' => '', + 'ONLINE' => '', + ], + 'example' => 'OFFLINE', + ], + 'Nickname' => [ + 'type' => 'string', + ], + 'AvatarUrl' => [ + 'type' => 'string', + ], + ], + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"DisplayName\\": \\"坐席小王\\",\\n \\"DisplayId\\": \\"1001\\",\\n \\"Extension\\": \\"8003****\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1391234****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"RoleName\\": \\"Admin\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"DeviceExt\\": \\"8033****\\",\\n \\"DeviceState\\": \\"OFFLINE\\",\\n \\"Nickname\\": \\"阿云\\",\\n \\"AvatarUrl\\": \\"http://xxx.com/xxx.jpg\\"\\n },\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Extension>80xxxx91</Extension>\\n <LoginName>user-test</LoginName>\\n <DeviceState>OFFLINE</DeviceState>\\n <RoleName>Admin</RoleName>\\n <Email>[email protected]</Email>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>Yealink SIP-T23G 44.84.203.6</DeviceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DisplayName>测试用户</DisplayName>\\n <DeviceExt>80xxxx33</DeviceExt>\\n <RoleId>Admin@ccc-test</RoleId>\\n <Mobile>139xxxx1234</Mobile>\\n <WorkMode>ON_SITE</WorkMode>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ImportAdmins' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'RamIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["26972543893791****"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1CDB5C94-ACFB-59B5-85FE-C1DAF8049C63', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8021****', + ], + 'RamId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26972543893791****', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"1CDB5C94-ACFB-59B5-85FE-C1DAF8049C63\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\",\\n \\"Extension\\": \\"8021****\\",\\n \\"RamId\\": \\"26972543893791****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Expires' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609118499750', + ], + 'Contact' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sip:8032****@33.89.XX.XX:64189;transport=tcp;registering_acc=18_134_23_4', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'CallId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'd7b818c3-8d3a-732f-bc9e-1782wa16****', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'DeviceType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.User', + 'errorMessage' => 'You have no permission to access user(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": [\\n {\\n \\"Extension\\": \\"8032****\\",\\n \\"Expires\\": 1609118499750,\\n \\"Contact\\": \\"sip:8032****@33.89.XX.XX:64189;transport=tcp;registering_acc=18_134_23_4\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"CallId\\": \\"d7b818c3-8d3a-732f-bc9e-1782wa16****\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"DeviceType\\": \\"CHAT\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Extension>80326034</Extension>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>BS-2020-09-01-11:11:11.888-192_168_12_123</DeviceId>\\n <CallId>561d53be3fa11c4700a40ce8592ef880@0:0:0:0:0:0:0:0</CallId>\\n <Expires>1609118499750</Expires>\\n <Contact>sip:[email protected]:64189;transport=tcp;registering_acc=18_134_23_4</Contact>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRamUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test ', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'agent', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100000', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '24753D71-C91D-1A38-A8AD-372BF12453F6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'AliyunUid' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15772400000****', + ], + 'Primary' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'RamId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '28036411123456****', + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"24753D71-C91D-1A38-A8AD-372BF12453F6\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"List\\": [\\n {\\n \\"DisplayName\\": \\"测试账号\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"Mobile\\": \\"1382114****\\",\\n \\"AliyunUid\\": 0,\\n \\"Primary\\": false,\\n \\"RamId\\": \\"28036411123456****\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>24753D71-C91D-1A38-A8AD-372BF12453F6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <LoginName>user-test</LoginName>\\n <Email>1886666****@163.com\\t</Email>\\n <Primary>false</Primary>\\n <AliyunUid>157724000000000</AliyunUid>\\n <RamId>28036411123456xxxx</RamId>\\n <DisplayName>测试用户\\t</DisplayName>\\n <Mobile>1382114****</Mobile>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListUserLevelsOfSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'IsMember', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => true, + 'docRequired' => true, + 'example' => 'true', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillLevel' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Agent' => '', + 'Admin' => '', + 'Manager' => '', + ], + 'example' => 'Admin', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + 'RamId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"DisplayName\\": \\"坐席小王\\",\\n \\"SkillLevel\\": 5,\\n \\"LoginName\\": \\"agent\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"SkillGroupName\\": \\"skillgroup\\",\\n \\"RoleName\\": \\"Admin\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\",\\n \\"RamId\\": \\"28036411123456****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <LoginName>user-test</LoginName>\\n <RoleName>Admin</RoleName>\\n <SkillLevel>5</SkillLevel>\\n <SkillGroupName>Default</SkillGroupName>\\n <UserId>user-test@ccc-test</UserId>\\n <DisplayName>测试坐席</DisplayName>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <RoleId>Admin@ccc-test</RoleId>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'agent', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'DisplayId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1001', + ], + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Mannager' => '', + 'Agent' => '', + 'Admin' => '', + ], + 'example' => 'Admin', + ], + 'RoleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Admin@ccc-test', + ], + 'PrimaryAccount' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + 'default' => '已弃用,请使用Primary代替此参数', + ], + 'PersonalOutboundNumberList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830011****', + ], + 'Active' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Usage' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Inbound' => '', + 'Bidirection' => '', + ], + 'example' => 'Bidirection', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'SkillLevelList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SkillLevel' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + ], + ], + ], + 'RamId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21234502254620****', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8031****', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'DeviceExt' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8033****', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'OFFLINE' => '', + 'ONLINE' => '', + ], + 'example' => 'OFFLINE', + ], + 'Primary' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"DisplayName\\": \\"坐席小王\\",\\n \\"LoginName\\": \\"agent\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1382114****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"DisplayId\\": \\"1001\\",\\n \\"RoleName\\": \\"Admin\\",\\n \\"RoleId\\": \\"Admin@ccc-test\\",\\n \\"PrimaryAccount\\": true,\\n \\"PersonalOutboundNumberList\\": [\\n {\\n \\"Number\\": \\"0830011****\\",\\n \\"Active\\": true,\\n \\"City\\": \\"乐山\\",\\n \\"Usage\\": \\"Bidirection\\",\\n \\"Province\\": \\"四川\\"\\n }\\n ],\\n \\"SkillLevelList\\": [\\n {\\n \\"SkillLevel\\": 5,\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"SkillGroupName\\": \\"skillgroup\\"\\n }\\n ],\\n \\"RamId\\": 0,\\n \\"Extension\\": \\"8031****\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"DeviceExt\\": \\"8033****\\",\\n \\"DeviceState\\": \\"OFFLINE\\",\\n \\"Primary\\": true\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <LoginName>user-test</LoginName>\\n <Email>1886666****@163.com</Email>\\n <DeviceId>Yealink SIP-T23G 44.84.203.6</DeviceId>\\n <PrimaryAccount>false</PrimaryAccount>\\n <RamId>2022546208793</RamId>\\n <DisplayId>1001</DisplayId>\\n <RoleId>Admin@ccc-test</RoleId>\\n <Mobile>1382114****</Mobile>\\n <Extension>80xxxx31</Extension>\\n <DeviceState>OFFLINE</DeviceState>\\n <RoleName>Admin</RoleName>\\n <UserId>user-test@ccc-test</UserId>\\n <DisplayName>测试用户</DisplayName>\\n <DeviceExt>80xxxx33</DeviceExt>\\n <WorkMode>ON_SITE</WorkMode>\\n <PersonalOutboundNumberList>\\n <Usage>Bidirection</Usage>\\n <Active>true</Active>\\n <Number>083xxxx0011</Number>\\n <City>乐山</City>\\n <Province>四川</Province>\\n </PersonalOutboundNumberList>\\n <SkillLevelList>\\n <SkillGroupName>skg-test</SkillGroupName>\\n <SkillLevel>5</SkillLevel>\\n <SkillGroupId>skg-test@ccc-test</SkillGroupId>\\n </SkillLevelList>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'user-test@ccc-test', + ], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1382114****', + ], + ], + [ + 'name' => 'WorkMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + ], + [ + 'name' => 'RoleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'Admin@ccc-test', + ], + ], + [ + 'name' => 'DisplayId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1001', + ], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Nickname', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'AvatarUrl', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.Common', + 'errorMessage' => 'You have no permission to access. %s', + ], + [ + 'errorCode' => 'Permission.SkillGroup', + 'errorMessage' => 'You have no permission to access skill group(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.RoleId', + 'errorMessage' => 'Role %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>无</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyUserLevelsOfSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'UserLevelList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[{"userId":"agent1@ccc-test","skillLevel":1},{"userId":"agent2@ccc-test","skillLevel":10}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E49D8B83-A3EC-44D4-A920-578BC3C698AD', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"E49D8B83-A3EC-44D4-A920-578BC3C698AD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E49D8B83-A3EC-44D4-A920-578BC3C698AD</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>无</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RegisterDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test-device', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'password', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RegisterDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserIdListJson', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '["user-test@ccc-test"]', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test-device', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'password', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemoveUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '["agent1@ccc-test","agent2@ccc-test"]', + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'FilePath', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'NotificationEmail', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemoveUsersFromSkillGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'UserIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["agent1@ccc-test","agent2@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.SkillGroupId', + 'errorMessage' => 'The skill group ID %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ResetAgentState' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'OFFLINE', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"无\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"OFFLINE\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup@ccc-test\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Extension>80011112</Extension>\\n <UserState>OFFLINE</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <OutboundScenario>false</OutboundScenario>\\n <WorkMode>ON_SITE</WorkMode>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ResetUserPassword' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'password', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.Role', + 'errorMessage' => 'You have no permission to access role %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + [ + 'errorCode' => 'InternalService.RAM', + 'errorMessage' => 'An internal RAM service error occurred. %s', + ], + [ + 'errorCode' => 'InternalService.STS', + 'errorMessage' => 'An internal STS service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UnregisterDevice' => [ + 'summary' => '删除注册设备', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.User', + 'errorMessage' => 'You have no permission to access user(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'AnswerCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-65382141036853491', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103655', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'INBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'ChannelVariables' => [ + 'type' => 'string', + ], + ], + ], + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'INBOUND', + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidOperation', + 'errorMessage' => 'The operation is not allowed in current state.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 103655,\\n \\"CallContext\\": {\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"INBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"0830019****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"ChannelVariables\\": \\"a=b;c=d;\\"\\n }\\n ],\\n \\"CallType\\": \\"INBOUND\\"\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData/>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'BargeInCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'BargedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent2@ccc-test', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '3600', + 'minimum' => '0', + 'example' => '60', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'BARGE', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'BARGE', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.DeviceState', + 'errorMessage' => 'The operation is not allowed. Device state (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"BARGE\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 10,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"BARGE\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>10</Index>\\n <SkillGroupId>skg-test1@ccc-test</SkillGroupId>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'BlindTransfer' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + ], + [ + 'name' => 'Transferor', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '08314325****', + ], + ], + [ + 'name' => 'Transferee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '120', + 'minimum' => '3', + 'example' => '60', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'CallPriority', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'StrategyName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StrategyParams', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'TransfereeType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ContactFlowVariables', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'RoutingType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'QueuingTimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'QueuingOverflowThreshold', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103654', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Invalid', + 'errorMessage' => 'The parameter %s is invalid. %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 103654,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"0830019****\\",\\n \\"UserExtension\\": \\"8032****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <AssociatedData/>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CancelAttendedTransfer' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103656', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'CONSULTANT', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 103656,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 10,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"CONSULTANT\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>10</Index>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CoachCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-65382141036853491', + ], + ], + [ + 'name' => 'CoachedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'coached-agent@ccc-test', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '3600', + 'minimum' => '0', + 'example' => '30', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'COACH', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'COACHING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'COACH', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956370', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'OFFLINE' => '', + 'ONLINE' => '', + ], + 'example' => 'UNREGISTERED', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidOperation.DeviceState', + 'errorMessage' => 'The operation is not allowed. Device state (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'UserBusy', + 'errorMessage' => 'The user %s you called was busy. Please try again later.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.Common', + 'errorMessage' => 'You have no permission to access. %s', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"COACH\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"COACHING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"COACH\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956370,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"DeviceState\\": \\"UNREGISTERED\\",\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <AssociatedData>无</AssociatedData>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <ChannelId>ch:user:139xxxx0501->8032xxxx:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>COACHING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8032xxxx</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <Uri>无</Uri>\\n <Extension>8032xxxx</Extension>\\n <DeviceState>UNREGISTERED</DeviceState>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <JobId>job-65382141036853491</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609136956370</Reserved>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CompleteAttendedTransfer' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103652', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****'."\n", + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-65382141036853491', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 103652,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 10,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\\\n\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-65382141036853491\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>10</Index>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EndConference' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0630E5DF-CEB0-445B-8626-D5C7481181C3', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:131888****->8001****:1609225718294:job-65700074013925376', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'OFFLINE' => '', + 'ONLINE' => '', + ], + 'example' => 'UNREGISTERED', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103655', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0630E5DF-CEB0-445B-8626-D5C7481181C3\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:131888****->8001****:1609225718294:job-65700074013925376\\",\\n \\"Originator\\": \\"0830019****\\",\\n \\"UserExtension\\": \\"8032****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"DeviceState\\": \\"UNREGISTERED\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n },\\n \\"ContextId\\": 103655\\n }\\n}","type":"json"}]', + ], + 'GetNumberLocation' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1312121****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '584AA2E3-9AC4-561B-BC8D-C74BA11B1387', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312121****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"584AA2E3-9AC4-561B-BC8D-C74BA11B1387\\",\\n \\"Data\\": {\\n \\"Number\\": \\"1312121****\\",\\n \\"City\\": \\"北京\\",\\n \\"Province\\": \\"北京\\"\\n }\\n}","type":"json"}]', + ], + 'HoldCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6582589278232****', + ], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ch:customer:010123****->1318888****:1609255715825:job-6582589278232****', + ], + ], + [ + 'name' => 'Music', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '174F7777-2F6C-4F10-B889-C698E26C1AE0', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6582589278232****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609255716900', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6582589278232****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609255716908', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609255715822', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390000****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6582589278232****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"174F7777-2F6C-4F10-B889-C698E26C1AE0\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6582589278232****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609255716900,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6582589278232****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"UserExtension\\": \\"8001****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"Heartbeat\\": 1609255716908,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609255715822,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1390000****\\",\\n \\"JobId\\": \\"job-6582589278232****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>174F7777-2F6C-4F10-B889-C698E26C1AE0</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <CallContext>\\n <InstanceId>无</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65825892782321664</JobId>\\n <ChannelContexts>\\n <Destination>8001****</Destination>\\n <ChannelState>ANSWERED</ChannelState>\\n <ReleaseReason>无</ReleaseReason>\\n <Originator>1318888****</Originator>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8001****</UserExtension>\\n <CallType>OUTBOUND</CallType>\\n <AssociatedData>无</AssociatedData>\\n <SkillGroupId>skill-group@ccc-test</SkillGroupId>\\n <ChannelId>ch:user:1318888****->8001****:1609255715825:job-65825892782321664</ChannelId>\\n <Timestamp>1609255716900</Timestamp>\\n <JobId>job-65825892782321664</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>8001****</Extension>\\n <UserState>TALKING</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bs990cd82101cc000176af19ec8e</DeviceId>\\n <Heartbeat>1609255716908</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>1390000****</Mobile>\\n <JobId>job-65825892782321664</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609255715822</Reserved>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'InitiateAttendedTransfer' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + ], + [ + 'name' => 'Transferor', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Transferee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent2@ccc-test', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'CallPriority', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'StrategyName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StrategyParams', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'TransfereeType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'RoutingType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'QueuingTimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'QueuingOverflowThreshold', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103655', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:139xxxx0501->80326034:1609138902226:job-6538214103685****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 103655,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 10,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:139xxxx0501->80326034:1609138902226:job-6538214103685****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>10</Index>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'InterceptCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'InterceptedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent2@ccc-test', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '3600', + 'minimum' => '0', + 'example' => '60', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'INTERCEPT', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => '', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'INTERCEPT', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"INTERCEPT\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 10,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"无\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"INTERCEPT\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>10</Index>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'LaunchAuthentication' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'af145gfc-1108-4d55-8fca-f719bd512ebb', + ], + ], + [ + 'name' => 'ContactFlowVariables', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 10,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>10</Index>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'LaunchSurvey' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6580466654649****', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '4685b65a-eb8f-11ec-8ea0-0242ac120002', + ], + ], + [ + 'name' => 'ContactFlowVariables', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SurveyChannel', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'IVR' => '', + 'SMS' => '', + ], + 'example' => 'IVR', + ], + ], + [ + 'name' => 'SmsMetadataId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '4685b65a-eb8f-11ec-8ea0-0242ac120002', + ], + ], + [ + 'name' => 'SurveyTemplateId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'SurveyTemplateVariables', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AF1E5957-5276-48FF-A6E6-347166A4ADCD', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6580466654649****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609250655922', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6580466654649****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609250656122', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609250655090', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390000****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6580466654649****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '102323', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"AF1E5957-5276-48FF-A6E6-347166A4ADCD\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6580466654649****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"无\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"1318888****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609250655922,\\n \\"ReleaseReason\\": \\"无\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6580466654649****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8001****\\",\\n \\"Originator\\": \\"1318888****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"Heartbeat\\": 1609250656122,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609250655090,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1390000****\\",\\n \\"JobId\\": \\"job-6580466654649****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n },\\n \\"ContextId\\": 102323\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>AF1E5957-5276-48FF-A6E6-347166A4ADCD</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <ContextId>123456789</ContextId>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65804666546491392</JobId>\\n <ChannelContexts>\\n <Destination>1318888****</Destination>\\n <ChannelState>ANSWERED</ChannelState>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <AssociatedData>无</AssociatedData>\\n <SkillGroupId>skill-group@ccc-test</SkillGroupId>\\n <ChannelId>ch-user-1917047****-80154160-1655094662943-job-d4a3d2f1-7d8b-40a4-bd3d-3cc20842c620</ChannelId>\\n <Timestamp>1609250655922</Timestamp>\\n <ReleaseReason>无</ReleaseReason>\\n <Originator>1318888****</Originator>\\n <ChannelFlags>[]</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8001****</UserExtension>\\n <JobId>job-65804666546491392</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>8001****</Extension>\\n <UserState>TALKING</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>default</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bs3b5f22c6d78f000176aebe9471</DeviceId>\\n <Heartbeat>1609250656122</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>1390000****</Mobile>\\n <JobId>job-65804666546491392</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609250655090</Reserved>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'MakeCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '50581', + 'abilityTreeNodes' => [ + 'FEATUREcccIPHVDY', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '010989****', + ], + ], + [ + 'name' => 'Callee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1318888****', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '300', + 'minimum' => '30', + 'example' => '30', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tags', + ], + ], + [ + 'name' => 'MaskedCallee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '131****8888', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'FlashSmsVariables', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26A34338-5CD9-4C95-A7A6-5BDCE76C6B94', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123456', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6570007401392****', + ], + 'CallVariables' => [ + 'type' => 'string', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'NONE', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609225718295', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6570007401392****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'MediaType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6570007401392****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'READY', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserBusy', + 'errorMessage' => 'The user %s you called was busy. Please try again later.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.Extension', + 'errorMessage' => 'No available extension number exists.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"26A34338-5CD9-4C95-A7A6-5BDCE76C6B94\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 123456,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6570007401392****\\",\\n \\"CallVariables\\": \\"a=b;c=d\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"无\\",\\n \\"ChannelState\\": \\"NONE\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"Timestamp\\": 1609225718295,\\n \\"ReleaseReason\\": \\"无\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6570007401392****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"UserExtension\\": \\"8001****\\",\\n \\"MediaType\\": \\"Audio\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"job-6570007401392****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"READY\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>26A34338-5CD9-4C95-A7A6-5BDCE76C6B94</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <ContextId>123456</ContextId>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65700074013925376</JobId>\\n <ChannelContexts>\\n <Destination>8001****</Destination>\\n <ChannelState>NONE</ChannelState>\\n <ReleaseReason>无</ReleaseReason>\\n <Originator>1318888****</Originator>\\n <ChannelFlags>[]</ChannelFlags>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8001****</UserExtension>\\n <CallType>OUTBOUND</CallType>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:131888****->8001****:1609225718294:job-65700074013925376</ChannelId>\\n <Timestamp>1609225718295</Timestamp>\\n <JobId>job-65700074013925376</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>8001****</Extension>\\n <UserState>READY</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bsd87c04aaa8f7000176ad354b1c</DeviceId>\\n <OutboundScenario>false</OutboundScenario>\\n <JobId>job-65700074013925376</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'MonitorCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'MonitoredUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent2@ccc-test', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'BREAK', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"BREAK\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData/>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'MuteCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6581536084722****', + ], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ch:user:1318888****->8001****:1609253204816:job-6581536084722****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A275B008-A25B-494D-AB53-93CE253815B6', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6581536084722****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => '[]', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609253212511', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6581536084722****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1318888****->8001****:1609253204816:job-6581536084722****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'SkillGroupId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609253205896', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609253204811', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390000****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6581536084722****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A275B008-A25B-494D-AB53-93CE253815B6\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6581536084722****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"无\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"[MUTED]\\",\\n \\"Timestamp\\": 1609253212511,\\n \\"ReleaseReason\\": \\"无\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6581536084722****\\",\\n \\"ChannelId\\": \\"ch:user:1318888****->8001****:1609253204816:job-6581536084722****\\",\\n \\"UserExtension\\": \\"8001****\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"Heartbeat\\": 1609253205896,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609253204811,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1390000****\\",\\n \\"JobId\\": \\"job-6581536084722****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>A275B008-A25B-494D-AB53-93CE253815B6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65815360847228928</JobId>\\n <ChannelContexts>\\n <Destination>8001****</Destination>\\n <ChannelState>ANSWERED</ChannelState>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:1318888****-&gt;8001****:1609253204816:job-65815360847228928\\"</ChannelId>\\n <Timestamp>1609253212511</Timestamp>\\n <ReleaseReason>无</ReleaseReason>\\n <Originator>1318888****</Originator>\\n <ChannelFlags>[]</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8001****</UserExtension>\\n <JobId>job-65815360847228928</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>8001****</Extension>\\n <UserState>TALKING</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bs736efb521810000176aef6e955</DeviceId>\\n <Heartbeat>1609253205896</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>1390000****</Mobile>\\n <JobId>job-65815360847228928</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609253204811</Reserved>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'PickOutboundNumbers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CalledNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1388888****', + ], + ], + [ + 'name' => 'Count', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => true, + 'maximum' => '3', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["skillgroup@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Callee' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1388888****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Caller' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0108989****', + ], + 'City' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Province' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": [\\n {\\n \\"Callee\\": {\\n \\"Number\\": \\"1388888****\\",\\n \\"City\\": \\"北京\\",\\n \\"Province\\": \\"北京\\"\\n },\\n \\"Caller\\": {\\n \\"Number\\": \\"0108989****\\",\\n \\"City\\": \\"北京\\",\\n \\"Province\\": \\"北京\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Callee>\\n <Number>1388888****</Number>\\n <City> 北京</City>\\n <Province>北京</Province>\\n </Callee>\\n <Caller>\\n <Number>0108989****</Number>\\n <City>北京</City>\\n <Province>北京</Province>\\n </Caller>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'PollUserStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '103655', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'ChannelVariables' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + 'CallVariables' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a=b;c=d', + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'BREAK', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + 'ParallelJobList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'type' => 'string', + ], + 'Status' => [ + 'type' => 'string', + ], + 'Timestamp' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + 'ChatContexts' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'JobId' => [ + 'type' => 'string', + ], + 'ChatType' => [ + 'type' => 'string', + ], + 'CallVariables' => [ + 'type' => 'string', + ], + 'Members' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'UserId' => [ + 'type' => 'string', + ], + 'UserType' => [ + 'type' => 'string', + ], + 'Status' => [ + 'type' => 'string', + ], + 'SkillGroupId' => [ + 'type' => 'string', + ], + 'ReleaseInitiator' => [ + 'type' => 'string', + ], + 'ReleaseReason' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 103655,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"ChannelVariables\\": \\"123\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ],\\n \\"CallVariables\\": \\"a=b;c=d\\"\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"BREAK\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ],\\n \\"ParallelJobList\\": [\\n {\\n \\"JobId\\": \\"job-6538214103685****\\\\n\\",\\n \\"Status\\": \\"RINGING\\",\\n \\"Timestamp\\": 1609136956378\\n }\\n ]\\n },\\n \\"ChatContexts\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"chat-65382141036853491\\\\n\\",\\n \\"ChatType\\": \\"INBOUND\\",\\n \\"CallVariables\\": \\"无\\",\\n \\"Members\\": [\\n {\\n \\"Index\\": 1,\\n \\"UserId\\": \\"agent@ccc-test\\\\n\\",\\n \\"UserType\\": \\"Manager\\",\\n \\"Status\\": \\"RINGING\\",\\n \\"SkillGroupId\\": \\"a527a80a-75cf-448f-aba0-fca37c61946d\\",\\n \\"ReleaseInitiator\\": \\"User\\",\\n \\"ReleaseReason\\": \\"无\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <ContextId/>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <AssociatedData>无</AssociatedData>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <ChannelVariables>123</ChannelVariables>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>80326034</Extension>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <JobId>job-65382141036853491</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609136956378</Reserved>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ReadyForService' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'user-test@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'OutboundScenario', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CC49060B-87ED-489A-AD3D-00E57775DBFF', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up'."\n", + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'READY', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"CC49060B-87ED-489A-AD3D-00E57775DBFF\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\\\n\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"READY\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CC49060B-87ED-489A-AD3D-00E57775DBFF</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Extension>80011474</Extension>\\n <UserState>OFFLINE</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <OutboundScenario>false</OutboundScenario>\\n <WorkMode>ON_SITE</WorkMode>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RedialCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'abc', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'samzhang@abc', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0109810****', + ], + ], + [ + 'name' => 'Callee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '1318888****', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '300', + 'minimum' => '30', + 'example' => '30', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'a=b', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-6581536084722****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BF268B34-09C2-43FD-BAC4-5D31EA63****', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillGroupId', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123456789', + ], + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '139xxxx0501', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'samzhang@abc', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'COACHING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '486:USER_BUSY', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6573574060089****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8000****'."\n", + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8000****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6573574060089****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'samzhang@abc'."\n", + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'False', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@abc', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserBusy', + 'errorMessage' => 'The user %s you called was busy. Please try again later.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.Extension', + 'errorMessage' => 'No available extension number exists.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BF268B34-09C2-43FD-BAC4-5D31EA63****\\",\\n \\"Params\\": [\\n \\"skillGroupId\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 123456789,\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"abc\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"139xxxx0501\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"samzhang@abc\\",\\n \\"ChannelFlags\\": \\"COACHING\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"486:USER_BUSY\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6573574060089****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"UserExtension\\": \\"8000****\\\\n\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8000****\\",\\n \\"WorkMode\\": \\"ON_SITE\\\\n\\",\\n \\"DeviceId\\": \\"CCC-x.x.x.x-chrome102-bsdf911812c60f61e\\\\n\\",\\n \\"JobId\\": \\"job-6573574060089****\\",\\n \\"UserId\\": \\"samzhang@abc\\\\n\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"abc\\",\\n \\"OutboundScenario\\": true,\\n \\"UserState\\": \\"READY\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@abc\\"\\n ]\\n }\\n }\\n}","type":"json"}]', + ], + 'ReleaseCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'ChannelVariables' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'BREAK', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123456', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"0830019****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"ChannelVariables\\": \\"a=b;c=d;\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"BREAK\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n },\\n \\"ContextId\\": 123456\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <Extension>80326034</Extension>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <AssociatedData/>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RetrieveCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'BREAK', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"0830019****\\",\\n \\"UserExtension\\": \\"8032****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"BREAK\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <SkillGroupId>skg-test1@ccc-test</SkillGroupId>\\n <AssociatedData/>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SaveRTCStatsV2' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '50605', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CallId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '257e73de-1ee8-123b-0b9a-00163e0a****', + ], + ], + [ + 'name' => 'GeneralInfo', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'SenderReport', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["11090","2055127460","0","2236","384592","ssrc_2055127460_send","2022-03-15T09:52:08.820Z","1"]', + ], + ], + [ + 'name' => 'ReceiverReport', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["1","1649328987","40","PCMU","383560","89","49","ssrc_1649328987_recv","2022-03-15T09:52:08.820Z","","0","20000"]', + ], + ], + [ + 'name' => 'GoogAddress', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["47.101.XX.XX","44368","47.104.XX.XX","37947"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TimeStamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1647309061000', + ], + 'RowCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'Permission.User', + 'errorMessage' => 'You have no permission to access user(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"TimeStamp\\": 1647309061000,\\n \\"RowCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<RowCount>1</RowCount>\\n<Code>OK</Code>\\n<TimeStamp>1647309061000</TimeStamp>\\n<Success>true</Success>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SaveTerminalLog' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '50606', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CallId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'e13c9740-1e37-123b-21b6-00163e352f9', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-b8b0ca63-330c-4e65-8ae3-9de2c7ce7683', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'CCCClient', + ], + ], + [ + 'name' => 'DataType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100', + 'minimum' => '0', + 'example' => '1', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'none', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'true', + ], + ], + [ + 'name' => 'UniqueRequestId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'none', + ], + ], + [ + 'name' => 'MethodName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TurnServerTest', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TimeStamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1647309061000', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.Unauthorized', + 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"TimeStamp\\": 1647309061000\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>\\n<TimeStamp>1647309061000</TimeStamp>\\n<Success>true</Success>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SaveWebRtcInfo' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '50607', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CallId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'e13c9740-1e37-123b-21b6-00163e352f9', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-b8b0ca63-330c-4e65-8ae3-9de2c7ce7683', + ], + ], + [ + 'name' => 'ContentType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '4', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{"media_source":{},"remote_inbound_rtp":{},"outbound_rtp":{},"inbound_rtp":{},"remote_outbound_rtp":{},"candidate":{},"basic":{"callId":"e13c9740-1e37-123b-21b6-00163e352f9","timestamp":"1647262108395","callStartTime":"1647262108393","uid":"user-test","access_point":"shanghai","browser":"90","ip":"127.0.0.1"}}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CF1C21B9-2D49-4B54-880F-FBE248C16903', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TimeStamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1647262108395', + ], + 'RowCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'Permission.User', + 'errorMessage' => 'You have no permission to access user(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"CF1C21B9-2D49-4B54-880F-FBE248C16903\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"TimeStamp\\": 1647262108395,\\n \\"RowCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF1C21B9-2D49-4B54-880F-FBE248C16903</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<RowCount>1</RowCount>\\n<Code>OK</Code>\\n<TimeStamp>1647262108395</TimeStamp>\\n<Success>true</Success>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SaveWebRTCStats' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '50608', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CallId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '257e73de-1ee8-123b-0b9a-00163e0a****', + ], + ], + [ + 'name' => 'GeneralInfo', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'SenderReport', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["11090","2055127460","0","2236","384592","ssrc_2055127460_send","2022-03-15T09:52:08.820Z","1"]', + ], + ], + [ + 'name' => 'ReceiverReport', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["1","1649328987","40","PCMU","383560","89","49","ssrc_1649328987_recv","2022-03-15T09:52:08.820Z","","0","20000"]', + ], + ], + [ + 'name' => 'GoogAddress', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["47.101.XX.XX","44368","47.104.XX.XX","37947"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CF1C21B9-2D49-4B54-880F-FBE248C16903', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TimeStamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1555492246000', + ], + 'RowCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'Permission.User', + 'errorMessage' => 'You have no permission to access user(s) %s.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"CF1C21B9-2D49-4B54-880F-FBE248C16903\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"TimeStamp\\": 1555492246000,\\n \\"RowCount\\": 1\\n}","type":"json"}]', + ], + 'SendDtmfSignaling' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6573574060089****', + ], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ch:customer:0108989****->1318888****:1609234221870:job-6573574060089****', + ], + ], + [ + 'name' => 'Dtmf', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '5', + 'maxLength' => 1000000, + 'minLength' => 0, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '842399EC-7D32-4472-AD08-9504C3F141FF', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6573574060089****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609234222367', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6573574060089****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:131888****->8001****:1609234221870:job-6573574060089****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0101234****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609234222375', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609234221864', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390000****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6573574060089****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"842399EC-7D32-4472-AD08-9504C3F141FF\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6573574060089****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"无\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609234222367,\\n \\"ReleaseReason\\": \\"无\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6573574060089****\\",\\n \\"ChannelId\\": \\"ch:user:131888****->8001****:1609234221870:job-6573574060089****\\",\\n \\"UserExtension\\": \\"8001****\\",\\n \\"Originator\\": \\"0101234****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"Heartbeat\\": 1609234222375,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609234221864,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1390000****\\",\\n \\"JobId\\": \\"job-6573574060089****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>842399EC-7D32-4472-AD08-9504C3F141FF</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65735740600893440</JobId>\\n <ChannelContexts>\\n <Destination>8001****</Destination>\\n <ChannelState>ANSWERED</ChannelState>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <AssociatedData>无</AssociatedData>\\n <SkillGroupId>skill-group@ccc-test</SkillGroupId>\\n <ChannelId>ch:user:131888****->8001****:1609234221870:job-65735740600893440\\"</ChannelId>\\n <Timestamp>1609234222367</Timestamp>\\n <ReleaseReason>无</ReleaseReason>\\n <Originator>0101234****</Originator>\\n <ChannelFlags>[]</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8001****</UserExtension>\\n <JobId>job-65735740600893440</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>8001****</Extension>\\n <UserState>TALKING</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bse05179638553000176add4046f</DeviceId>\\n <Heartbeat>1609234222375</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>1390000****</Mobile>\\n <JobId>job-65735740600893440</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609234221864</Reserved>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SignInGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'SignedSkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + ], + [ + 'name' => 'ChatDeviceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Additivity', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****'."\n", + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'READY', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + 'ChatDeviceId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\\\n\\",\\n \\"JobId\\": \\"无\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"READY\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ],\\n \\"ChatDeviceId\\": \\"4c51c9116c36537cb850dc1081d745df\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Extension>80326034</Extension>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <WorkMode>ON_SITE</WorkMode>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SignOutGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'BREAK', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"BREAK\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n <Extension>80326034</Extension>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <Reserved>1609136956378</Reserved>\\n</Data>\\n<Code>200</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StartBack2BackCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1391814****', + ], + ], + [ + 'name' => 'Callee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1372168****', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '3600', + 'minimum' => '0', + 'example' => '30', + ], + ], + [ + 'name' => 'Broker', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0102157****', + ], + ], + [ + 'name' => 'AdditionalBroker', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0102156****', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26A34338-5CD9-4C95-A7A6-5BDCE76C6B94', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'BACK2BACK', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-1034159089076****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'NONE', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1372168****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => 'COACHING', + 'MONITORING' => 'MONITORING', + 'MONITORED' => 'MONITORED', + 'COACHED' => 'COACHED', + 'HOLD' => 'HOLD', + 'MUTED' => 'MUTED', + ], + 'example' => 'MONITORING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1618217874062', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => 'INBOUND', + 'BARGE' => 'BARGE', + 'CONSULTANT' => 'CONSULTANT', + 'CONFERENCE' => 'CONFERENCE', + 'MONITOR' => 'MONITOR', + 'INTERNAL' => 'INTERNAL', + 'OUTBOUND' => 'OUTBOUND', + 'INTERCEPT' => 'INTERCEPT', + 'BACK2BACK' => 'BACK2BACK', + 'PREDICTIVE' => 'PREDICTIVE', + 'COACH' => 'COACH', + ], + 'example' => 'BACK2BACK', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-1034159089076****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-653821410368****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0102157****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8020****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1618217872911', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1618217794599', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'ONLINE' => '', + 'OFFLINE' => '', + ], + 'example' => '', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-1034159089076****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'OFFLINE', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.Number', + 'errorMessage' => 'The specified number %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"26A34338-5CD9-4C95-A7A6-5BDCE76C6B94\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"BACK2BACK\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-1034159089076****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"无\\",\\n \\"ChannelState\\": \\"NONE\\",\\n \\"Destination\\": \\"1372168****\\",\\n \\"UserId\\": \\"无\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"Timestamp\\": 1618217874062,\\n \\"ReleaseReason\\": \\"无\\",\\n \\"CallType\\": \\"BACK2BACK\\",\\n \\"JobId\\": \\"job-1034159089076****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-653821410368****\\",\\n \\"Originator\\": \\"0102157****\\",\\n \\"UserExtension\\": \\"8001****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8020****\\",\\n \\"Heartbeat\\": 1618217872911,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1618217794599,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"DeviceState\\": \\"无\\",\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-1034159089076****\\",\\n \\"UserState\\": \\"OFFLINE\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>26A34338-5CD9-4C95-A7A6-5BDCE76C6B94</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>BACK2BACK</CallType>\\n <JobId>job-103415908907622400</JobId>\\n <ChannelContexts>\\n <Destination>1014</Destination>\\n <ChannelState>NONE</ChannelState>\\n <ReleaseReason>无</ReleaseReason>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <Originator>010xxxx2157</Originator>\\n <ChannelFlags>[]</ChannelFlags>\\n <UserId>无</UserId>\\n <UserExtension>80011474</UserExtension>\\n <CallType>BACK2BACK</CallType>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:1318888888->80011474:1609225718294:job-65700074013925376</ChannelId>\\n <Timestamp>1618217874062</Timestamp>\\n <JobId>job-103415908907622400</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <UserState>OFFLINE</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <DeviceId>ACC-YUNBS-1.0.10-bsd87c04aaa8f7000176ad354b1c</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <OutboundScenario>false</OutboundScenario>\\n <Uri>无</Uri>\\n <Mobile>86-132xxxx4730</Mobile>\\n <Extension>80202301</Extension>\\n <DeviceState>无</DeviceState>\\n <UserId>user-test@ccc-test</UserId>\\n <Heartbeat>1618217872911</Heartbeat>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-103415908907622400</JobId>\\n <Reserved>1618217794599</Reserved>\\n <SignedSkillGroupIdList>[\\"skg-default@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StartConference' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'ParticipantListJson', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["8045****","1317511****"]', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '3600', + 'minimum' => '0', + 'example' => '30', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FDD327D1-AB8A-596B-883F-F63582A73F1D', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'ANSWERED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test'."\n", + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6573574060089****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:131888****->8001****:1609225718294:job-65700074013925376', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****'."\n", + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up'."\n", + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1609136956378'."\n", + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'ONLINE' => '', + 'OFFLINE' => '', + ], + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.Number', + 'errorMessage' => 'The specified number %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"FDD327D1-AB8A-596B-883F-F63582A73F1D\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"ANSWERED\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\\\n\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6573574060089****\\",\\n \\"ChannelId\\": \\"ch:user:131888****->8001****:1609225718294:job-65700074013925376\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"UserExtension\\": \\"8032****\\\\n\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8032****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\\\n\\",\\n \\"InstanceId\\": \\"1609136956378\\\\n\\",\\n \\"OutboundScenario\\": false,\\n \\"DeviceState\\": \\"false\\",\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","type":"json"}]', + ], + 'StartPredictiveCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0109810****', + ], + ], + [ + 'name' => 'Callee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1312353****', + ], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '3600', + 'minimum' => '0', + 'example' => '10', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '9774c36c-12fe-4e37-adce-89bc77ce****', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ContactFlowVariables', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'MaskedCallee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1312353****', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26A34338-5CD9-4C95-A7A6-5BDCE76C6B94', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6570007401392****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'NONE', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => '[]', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609225718295', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6570007401392****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:131888****->8001****:1609225718294:job-6570007401392****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'ONLINE' => '', + 'OFFLINE' => '', + ], + 'example' => 'ONLINE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6570007401392****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'READY', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.Number', + 'errorMessage' => 'The specified number %s does not exist in instance %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"26A34338-5CD9-4C95-A7A6-5BDCE76C6B94\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6570007401392****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"ReleaseInitiator\\": \\"无\\",\\n \\"ChannelState\\": \\"NONE\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"[]\\",\\n \\"Timestamp\\": 1609225718295,\\n \\"ReleaseReason\\": \\"无\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6570007401392****\\",\\n \\"ChannelId\\": \\"ch:user:131888****->8001****:1609225718294:job-6570007401392****\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"UserExtension\\": \\"8001****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"Heartbeat\\": 1609136956378,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609136956378,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"DeviceState\\": \\"ONLINE\\",\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6570007401392****\\",\\n \\"UserState\\": \\"READY\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>26A34338-5CD9-4C95-A7A6-5BDCE76C6B94</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65700074013925376</JobId>\\n <ChannelContexts>\\n <Destination>8001****</Destination>\\n <ChannelState>NONE</ChannelState>\\n <ReleaseReason>无</ReleaseReason>\\n <Originator>1318888****</Originator>\\n <ChannelFlags>[]</ChannelFlags>\\n <ReleaseInitiator>无</ReleaseInitiator>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>8001****</UserExtension>\\n <CallType>OUTBOUND</CallType>\\n <AssociatedData>无</AssociatedData>\\n <ChannelId>ch:user:131888****->8001****:1609225718294:job-65700074013925376</ChannelId>\\n <Timestamp>1609225718295</Timestamp>\\n <JobId>job-65700074013925376</JobId>\\n </ChannelContexts>\\n </CallContext>\\n <UserContext>\\n <Extension>8001****</Extension>\\n <DeviceState>无</DeviceState>\\n <UserState>READY</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>Warm-up</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bsd87c04aaa8f7000176ad354b1c</DeviceId>\\n <Heartbeat>1609136956378</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-1324730****</Mobile>\\n <JobId>job-65700074013925376</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609136956378</Reserved>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StartPrivacyCall' => [ + 'summary' => '发起隐私呼叫', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AppId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ALIPUBB7A727C170949', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0109810****', + ], + ], + [ + 'name' => 'Callee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1888888****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0630E5DF-CEB0-445B-8626-D5C7481181C3', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-xxx', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.Number', + 'errorMessage' => 'The specified number %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0630E5DF-CEB0-445B-8626-D5C7481181C3\\",\\n \\"Params\\": [\\n \\"\\"\\n ],\\n \\"Data\\": \\"job-xxx\\"\\n}","type":"json"}]', + ], + 'SwitchToConference' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-24114064019637****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'D9C96A73-09C9-5E2A-8CDB-85EC0BC246DA', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'NONE', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609255716900', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:131888****->8001****:1609225718294:job-6538214103685****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1318888****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => 'agent@ccc-test', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1609136956378', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'ONLINE' => '', + 'OFFLINE' => '', + ], + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"D9C96A73-09C9-5E2A-8CDB-85EC0BC246DA\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"NONE\\",\\n \\"Destination\\": \\"8001****\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"Timestamp\\": 1609255716900,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:131888****->8001****:1609225718294:job-6538214103685****\\",\\n \\"Originator\\": \\"1318888****\\",\\n \\"UserExtension\\": \\"8032****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Heartbeat\\": 0,\\n \\"Extension\\": \\"8032****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"1609136956378\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"DeviceState\\": \\"false\\",\\n \\"Mobile\\": \\"1324730****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\\\n\\"\\n ]\\n }\\n }\\n}","type":"json"}]', + ], + 'TakeBreak' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'Code', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'lunchtime', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B59382D2-5755-4C6D-861F-FA2AAD8F89F7', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609249563836', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609234221864', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'lunchtime', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390000****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'BREAK', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"B59382D2-5755-4C6D-861F-FA2AAD8F89F7\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"Extension\\": \\"8001****\\",\\n \\"Heartbeat\\": 1609249563836,\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"Reserved\\": 1609234221864,\\n \\"BreakCode\\": \\"lunchtime\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1390000****\\",\\n \\"JobId\\": \\"无\\",\\n \\"UserState\\": \\"BREAK\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>B59382D2-5755-4C6D-861F-FA2AAD8F89F7</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Extension>8001****</Extension>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <BreakCode>default</BreakCode>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-bs3b5f22c6d78f000176aebe9471</DeviceId>\\n <Heartbeat>1609249563836</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>1390000****</Mobile>\\n <JobId>无</JobId>\\n <WorkMode>ON_SITE</WorkMode>\\n <Reserved>1609234221864</Reserved>\\n <SignedSkillGroupIdList>[\\"skill-group@ccc-test\\"]</SignedSkillGroupIdList>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UnmuteCall' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'device', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-6538214103685****'."\n", + ], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'ChannelState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CREATED' => '', + 'ANSWERED' => '', + 'RELEASED' => '', + 'RETIRED' => '', + 'EARLY_MEDIA' => '', + 'NONE' => '', + 'RINGING' => '', + ], + 'example' => 'CREATED', + ], + 'Destination' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1390501****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ChannelFlags' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'COACHING' => '', + 'MONITORING' => '', + 'MONITORED' => '', + 'COACHED' => '', + 'HOLD' => '', + 'MUTED' => '', + ], + 'example' => 'MONITORING', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609138903315', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '404 - No destination', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'BARGE' => '', + 'CONSULTANT' => '', + 'CONFERENCE' => '', + 'MONITOR' => '', + 'INTERNAL' => '', + 'OUTBOUND' => '', + 'INTERCEPT' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + 'COACH' => '', + ], + 'example' => 'OUTBOUND', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch:user:1390501****->8032****:1609138902226:job-6538214103685****', + ], + 'UserExtension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'Originator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0830019****', + ], + ], + ], + ], + ], + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1324730****', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ACC-YUNBS-1.0.10-****', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103685****', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'READY' => '', + 'WORKING' => '', + 'DIALING' => '', + 'BREAK' => '', + 'OFFLINE' => '', + 'TALKING' => '', + 'RINGING' => '', + ], + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'InvalidOperation.ChannelState', + 'errorMessage' => 'The operation is not allowed. Channel stats (%s) does not meet expectations (%s).', + ], + [ + 'errorCode' => 'InvalidOperation.UserState', + 'errorMessage' => 'The operation is not allowed. User state (%s) does not meet expectations (%s).', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"CallContext\\": {\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelContexts\\": [\\n {\\n \\"Index\\": 1,\\n \\"ReleaseInitiator\\": \\"1390501****\\",\\n \\"ChannelState\\": \\"CREATED\\",\\n \\"Destination\\": \\"1390501****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"ChannelFlags\\": \\"MONITORING\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Timestamp\\": 1609138903315,\\n \\"ReleaseReason\\": \\"404 - No destination\\",\\n \\"CallType\\": \\"OUTBOUND\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"ChannelId\\": \\"ch:user:1390501****->8032****:1609138902226:job-6538214103685****\\",\\n \\"UserExtension\\": \\"8032****\\",\\n \\"Originator\\": \\"0830019****\\"\\n }\\n ]\\n },\\n \\"UserContext\\": {\\n \\"Heartbeat\\": 1609136956378,\\n \\"Extension\\": \\"8032****\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"Mobile\\": \\"1324730****\\",\\n \\"DeviceId\\": \\"ACC-YUNBS-1.0.10-****\\",\\n \\"JobId\\": \\"job-6538214103685****\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserContext>\\n <Extension>80326034</Extension>\\n <UserState>BREAK</UserState>\\n <InstanceId>ccc-test</InstanceId>\\n <UserId>user-test@ccc-test</UserId>\\n <DeviceId>ACC-YUNBS-1.0.10-b18bp53c1736c2914176a801ei90</DeviceId>\\n <BreakCode>Warm-up</BreakCode>\\n <Heartbeat>1609136956378</Heartbeat>\\n <OutboundScenario>false</OutboundScenario>\\n <Mobile>86-132xxxx4730</Mobile>\\n <WorkMode>ON_SITE</WorkMode>\\n <JobId>job-65382141036853491</JobId>\\n <SignedSkillGroupIdList>[\\"skg-test1@ccc-test\\",\\"skg-test2@ccc-test\\"]</SignedSkillGroupIdList>\\n </UserContext>\\n <CallContext>\\n <InstanceId>ccc-test</InstanceId>\\n <CallType>OUTBOUND</CallType>\\n <JobId>job-65382141036853491</JobId>\\n <ChannelContexts>\\n <Destination>139xxxx0501</Destination>\\n <ChannelState>CREATED</ChannelState>\\n <ReleaseInitiator>139xxxx0501</ReleaseInitiator>\\n <CallType>OUTBOUND</CallType>\\n <Index>1</Index>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AssociatedData/>\\n <ChannelId>ch:user:139xxxx0501->80326034:1609138902226:job-65382141036853491</ChannelId>\\n <Timestamp>1609138903315</Timestamp>\\n <ReleaseReason>404 - No destination</ReleaseReason>\\n <Originator>083xxxx0019</Originator>\\n <ChannelFlags>MONITORING</ChannelFlags>\\n <UserId>user-test@ccc-test</UserId>\\n <UserExtension>80326034</UserExtension>\\n <JobId>job-65382141036853491</JobId>\\n </ChannelContexts>\\n </CallContext>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyCampaignNumbers' => [ + 'summary' => '修改活动外呼号码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccQFUGXR', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'title' => '活动ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-****-****-21019d382a09', + ], + ], + [ + 'name' => 'InstGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '号码集合ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3971876649-****-****-098763a382a09'."\n", + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '号码列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["0830011xxxx", "0830312xxxx"]', + ], + 'required' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ModifyCampaignNumbersResponse', + 'description' => 'ModifyCampaignNumbersResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'AbortCampaign' => [ + 'summary' => '废弃预测式外呼活动', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7CC6523B-0E51-1B62-8DA5-6A9831CAE315', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'title' => 'httpStatusCode', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7CC6523B-0E51-1B62-8DA5-6A9831CAE315\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AbortCampaignResponse>\\n <RequestId>7CC6523B-0E51-1B62-8DA5-6A9831CAE315</RequestId>\\n <Code>OK</Code>\\n <Message>无</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n</AbortCampaignResponse>","errorExample":""}]', + ], + 'AddCases' => [ + 'summary' => '追加联系人', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c58b9719-3bc3-441d-a4d3-fc0309ef7066'."\n", + ], + ], + [ + 'name' => 'CaseList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReferenceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '01', + ], + 'PhoneNumber' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '188888****', + ], + 'CustomVariables' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MaskedCallee' => [ + 'type' => 'string', + 'required' => false, + ], + 'Caller' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '41298961-CAD7-5270-9378-FFD69F153144', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'title' => 'httpStatusCode', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"41298961-CAD7-5270-9378-FFD69F153144\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'AppendCases' => [ + 'summary' => '追加联系人', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccQFUGXR', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '78cf6864-9a22-4ea8-a59d-5adc2d747b0e', + ], + ], + [ + 'name' => 'body', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ReferenceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '01', + ], + 'PhoneNumber' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '188888****', + ], + 'CustomVariables' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MaskedCallee' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '071*****801', + ], + 'Caller' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '01012345678', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'title' => 'httpStatusCode', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ReferenceId' => [ + 'type' => 'string', + ], + 'PhoneNumber' => [ + 'type' => 'string', + ], + 'CustomVariables' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"ReferenceId\\": \\"\\",\\n \\"PhoneNumber\\": \\"\\",\\n \\"CustomVariables\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'CreateCampaign' => [ + 'summary' => '创建预测式外呼活动', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccQFUGXR', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CaseList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReferenceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '01', + ], + 'PhoneNumber' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1888888888', + ], + 'CustomVariables' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'QueueId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test-campaign', + ], + ], + [ + 'name' => 'CaseFileKey', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ccc-test/namelist.csv', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c1f2bc75-422e-43c7-9c9d9d95633a', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1634140800000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1634313600000', + ], + ], + [ + 'name' => 'CallableTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '[{"beginTime":"00:00:00","endTime":"23:00:00" }]', + ], + ], + [ + 'name' => 'StrategyType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'PACING' => '', + 'PID' => '', + ], + 'example' => 'PACING', + 'enum' => [ + 'SP', + 'PID', + 'PACING', + 'ASAP', + 'CUSTOMIZED', + ], + ], + ], + [ + 'name' => 'StrategyParameters', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '{"ratio":1}', + ], + ], + [ + 'name' => 'MaxAttemptCount', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'MinAttemptInterval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'Simulation', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => '', + 'default' => 'false', + ], + ], + [ + 'name' => 'SimulationParameters', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ExecutingUntilTimeout', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'FlashSmsParameters', + 'in' => 'query', + 'schema' => [ + 'title' => '闪信参数', + 'type' => 'string', + 'example' => '{"applicationId":"08e6b63a-****-****-****-689a288cdbb5","templateId":"325"}', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '主叫号码列表', + 'type' => 'array', + 'items' => [ + 'title' => '号码', + 'type' => 'string', + 'example' => '01012345678', + ], + ], + ], + [ + 'name' => 'InstGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '号码集合ID', + 'type' => 'string', + 'example' => '0d368091-2c70-4d26-979a-6997ddc9c34f', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7CC6523B-0E51-1B62-8DA5-6A9831CAE315', + ], + 'Data' => [ + 'title' => 'campaign id', + 'description' => '', + 'type' => 'string', + 'example' => 'c58b9719-3bc3-441d-a4d3-fc0309ef7066', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7CC6523B-0E51-1B62-8DA5-6A9831CAE315\\",\\n \\"Data\\": \\"c58b9719-3bc3-441d-a4d3-fc0309ef7066\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<CreateCampaignResponse>\\n <RequestId>7CC6523B-0E51-1B62-8DA5-6A9831CAE315</RequestId>\\n <CampaignId>6badb397-a8b5-40b6-21019d382a09</CampaignId>\\n <Code>OK</Code>\\n <Message>无</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n</CreateCampaignResponse>","errorExample":""}]', + ], + 'GetCampaign' => [ + 'summary' => '获取预测式外呼活动信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ActualEndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634008800000', + ], + 'ActualStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634000460000', + ], + 'CasesAborted' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CasesUncompleted' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CasesConnected' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40', + ], + 'MaxAttemptCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'MinAttemptInterval' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test-campaign', + ], + 'PlanedEndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634054400000', + ], + 'PlanedStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1633968000000', + ], + 'QueueName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TotalCases' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Draft' => '', + 'Completed' => '', + 'Executing' => '', + 'Pending' => '', + 'Aborted' => '', + 'Paused' => '', + ], + 'example' => 'Completed', + ], + 'CampaignId' => [ + 'title' => 'id', + 'description' => '', + 'type' => 'string', + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + 'StrategyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'PACING' => '', + 'PID' => '', + ], + 'example' => 'PACING', + ], + 'StrategyParameters' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"ratio":1}', + ], + 'QueueId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Simulation' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'SimulationParameters' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CasesUncompletedAfterAttempted' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'CasesUncompletedAfterAttempt' => [ + 'type' => 'string', + ], + 'CompletionRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ContactFlowId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"ActualEndTime\\": 1634008800000,\\n \\"ActualStartTime\\": 1634000460000,\\n \\"CasesAborted\\": 0,\\n \\"CasesUncompleted\\": 0,\\n \\"CasesConnected\\": 40,\\n \\"MaxAttemptCount\\": 1,\\n \\"MinAttemptInterval\\": 1,\\n \\"Name\\": \\"test-campaign\\",\\n \\"PlanedEndTime\\": 1634054400000,\\n \\"PlanedStartTime\\": 1633968000000,\\n \\"QueueName\\": \\"测试技能组\\",\\n \\"TotalCases\\": 100,\\n \\"State\\": \\"Completed\\",\\n \\"CampaignId\\": \\"6badb397-a8b5-40b6-21019d382a09\\",\\n \\"StrategyType\\": \\"PACING\\",\\n \\"StrategyParameters\\": \\"{\\\\\\"ratio\\\\\\":1}\\",\\n \\"QueueId\\": \\"skillgroup@ccc-test\\",\\n \\"Simulation\\": false,\\n \\"SimulationParameters\\": \\"无\\",\\n \\"CasesUncompletedAfterAttempted\\": 1,\\n \\"CasesUncompletedAfterAttempt\\": \\"\\",\\n \\"CompletionRate\\": 0,\\n \\"ContactFlowId\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'GetCaseFileUploadUrl' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'FileName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'case.csv', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****', + ], + 'CaseFileKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test/namelist.csv', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"Url\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****\\",\\n \\"CaseFileKey\\": \\"ccc-test/namelist.csv\\"\\n },\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\"\\n}","type":"json"}]', + ], + 'GetHistoricalCampaignReport' => [ + 'summary' => '获取预测式外呼活动历史报表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'title' => '活动ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '4fc85829-f6fc-476e-9c0d-c350184e36f1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E3A847C1-9800-57DF-9172-2CDDC026388D', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallsConnected' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '50', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAbandoned' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'ConnectedRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.50', + ], + 'AnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AbandonedRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.10', + ], + 'AbandonRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.50', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"E3A847C1-9800-57DF-9172-2CDDC026388D\\",\\n \\"Data\\": {\\n \\"CallsConnected\\": 50,\\n \\"CallsDialed\\": 100,\\n \\"CallsAbandoned\\": 5,\\n \\"ConnectedRate\\": 0.5,\\n \\"AnswerRate\\": 0.5,\\n \\"AbandonedRate\\": 0.1,\\n \\"AbandonRate\\": 0.1,\\n \\"OccupancyRate\\": 0.5\\n }\\n}","type":"json"}]', + ], + 'GetRealtimeCampaignStats' => [ + 'summary' => '获取预测式外呼实时状态', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test'."\n", + ], + ], + [ + 'name' => 'QueueId', + 'in' => 'query', + 'schema' => [ + 'title' => '活动ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'skillgroup@ccc-test'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '42970829-E2C8-515A-8F42-5A6B59F852A7', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LoggedInAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'ReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'BreakingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TalkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4', + ], + 'WorkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Caps' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'TotalAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'OutboundScenarioReadyAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioBreakingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioTalkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioWorkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"42970829-E2C8-515A-8F42-5A6B59F852A7\\",\\n \\"Data\\": {\\n \\"LoggedInAgents\\": 10,\\n \\"ReadyAgents\\": 3,\\n \\"BreakingAgents\\": 1,\\n \\"TalkingAgents\\": 4,\\n \\"WorkingAgents\\": 2,\\n \\"Caps\\": 5,\\n \\"TotalAgents\\": 10,\\n \\"OutboundScenarioReadyAgents\\": 1,\\n \\"OutboundScenarioBreakingAgents\\": 1,\\n \\"OutboundScenarioTalkingAgents\\": 1,\\n \\"OutboundScenarioWorkingAgents\\": 1\\n }\\n}","type":"json"}]', + ], + 'ListAttempts' => [ + 'summary' => '获取预测式外呼呼叫记录', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'title' => '活动ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'title' => '开始时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1634115688291', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'title' => '结束时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1634115698291', + ], + ], + [ + 'name' => 'QueueId', + 'in' => 'query', + 'schema' => [ + 'title' => '队列ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'CaseId', + 'in' => 'query', + 'schema' => [ + 'title' => 'CaseID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '60ecb1a2-4480-4d01-bede-c5b7655bfadf', + ], + ], + [ + 'name' => 'AttemptId', + 'in' => 'query', + 'schema' => [ + 'title' => '记录ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-16976964500325****', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'title' => '话务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-16976964500325****', + ], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'title' => '坐席ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'title' => '主叫', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '05711234****', + ], + ], + [ + 'name' => 'Callee', + 'in' => 'query', + 'schema' => [ + 'title' => '被叫', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1888888****', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'title' => '页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'title' => '页大小', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'Criteria', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7CC6523B-0E51-1B62-8DA5-6A9831CAE315', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AttemptId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-1704342174816****', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-1704342174816****', + ], + 'CaseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '21d194a7-60b7-4824-932b-48ed03a83704', + ], + 'CampaignId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '083046e3-5822-4cda-9b84-04f2a02eb605', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'QueueId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Caller' => [ + 'description' => '', + 'type' => 'string', + 'example' => '05711234****', + ], + 'Callee' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1888888****', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'DialTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634196283974', + ], + 'DialDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2734', + ], + 'CustomerEstablishedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634196286708', + ], + 'CustomerReleasedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634196317888', + ], + 'EnterIvrTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634196286740', + ], + 'IvrDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1049', + ], + 'EnqueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634196287789', + ], + 'QueueDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '80', + ], + 'AssignAgentTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634196287869', + ], + 'AgentRingDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23', + ], + 'AgentEstablishedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1632883592732', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"7CC6523B-0E51-1B62-8DA5-6A9831CAE315\\",\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"List\\": [\\n {\\n \\"AttemptId\\": \\"job-1704342174816****\\",\\n \\"ContactId\\": \\"job-1704342174816****\\",\\n \\"CaseId\\": \\"21d194a7-60b7-4824-932b-48ed03a83704\\",\\n \\"CampaignId\\": \\"083046e3-5822-4cda-9b84-04f2a02eb605\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"QueueId\\": \\"skillgroup@ccc-test\\",\\n \\"Caller\\": \\"05711234****\\",\\n \\"Callee\\": \\"1888888****\\",\\n \\"AgentId\\": \\"agent@ccc-test\\",\\n \\"DialTime\\": 1634196283974,\\n \\"DialDuration\\": 2734,\\n \\"CustomerEstablishedTime\\": 1634196286708,\\n \\"CustomerReleasedTime\\": 1634196317888,\\n \\"EnterIvrTime\\": 1634196286740,\\n \\"IvrDuration\\": 1049,\\n \\"EnqueueTime\\": 1634196287789,\\n \\"QueueDuration\\": 80,\\n \\"AssignAgentTime\\": 1634196287869,\\n \\"AgentRingDuration\\": 23,\\n \\"AgentEstablishedTime\\": 1632883592732\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListCampaigns' => [ + 'summary' => '获取预测式外呼活动列表', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Draft' => '', + 'Completed' => '', + 'Executing' => '', + 'Pending' => '', + 'Aborted' => '', + 'Paused' => 'Paused', + ], + 'example' => 'Draft', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test-campaign', + ], + ], + [ + 'name' => 'PlanedStartTimeFrom', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-10-14 00:00:00', + ], + ], + [ + 'name' => 'PlanedStartTimeTo', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-10-14 20:59:59', + ], + ], + [ + 'name' => 'ActualStartTimeFrom', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-10-14 20:59:59', + ], + ], + [ + 'name' => 'ActualStartTimeTo', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-10-14 20:59:59', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'QueueId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ActualEndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634008800000', + ], + 'ActualStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634000460000', + ], + 'CasesAborted' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CasesUncompleted' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CasesConnected' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40', + ], + 'MaxAttemptCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'MinAttemptInterval' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test-campaign', + ], + 'PlanedEndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634054400000', + ], + 'PlanedStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1633968000000', + ], + 'QueueName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TotalCases' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'State' => [ + 'title' => 'state', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Draft' => '', + 'Completed' => '', + 'Executing' => '', + 'Pending' => '', + 'Aborted' => '', + 'Paused' => '', + ], + 'example' => 'Completed', + ], + 'CampaignId' => [ + 'title' => 'id', + 'description' => '', + 'type' => 'string', + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + 'StrategyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'PACING' => '', + 'PID' => '', + ], + 'example' => 'PACING', + ], + 'StrategyParameters' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"ratio":1}', + ], + 'QueueId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Simulation' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'CompletionRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ContactFlowId' => [ + 'type' => 'string', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"List\\": [\\n {\\n \\"ActualEndTime\\": 1634008800000,\\n \\"ActualStartTime\\": 1634000460000,\\n \\"CasesAborted\\": 0,\\n \\"CasesUncompleted\\": 0,\\n \\"CasesConnected\\": 40,\\n \\"MaxAttemptCount\\": 1,\\n \\"MinAttemptInterval\\": 1,\\n \\"Name\\": \\"test-campaign\\",\\n \\"PlanedEndTime\\": 1634054400000,\\n \\"PlanedStartTime\\": 1633968000000,\\n \\"QueueName\\": \\"测试技能组\\",\\n \\"TotalCases\\": 100,\\n \\"State\\": \\"Completed\\",\\n \\"CampaignId\\": \\"6badb397-a8b5-40b6-21019d382a09\\",\\n \\"StrategyType\\": \\"PACING\\",\\n \\"StrategyParameters\\": \\"{\\\\\\"ratio\\\\\\":1}\\",\\n \\"QueueId\\": \\"skillgroup@ccc-test\\",\\n \\"Simulation\\": false,\\n \\"CompletionRate\\": 0,\\n \\"ContactFlowId\\": \\"\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListCampaignsResponse>\\n <RequestId>6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0</RequestId>\\n <Message>无</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <List>\\n <ActualEndTime>1634008800000</ActualEndTime>\\n <ActualStartTime>1634000460000</ActualStartTime>\\n <CasesAborted>0</CasesAborted>\\n <CasesUncompleted>0</CasesUncompleted>\\n <CasesConnected>40</CasesConnected>\\n <CompletedRate>100</CompletedRate>\\n <MaxAttemptCount>1</MaxAttemptCount>\\n <MinAttemptInterval>1</MinAttemptInterval>\\n <Name>test-campalgn</Name>\\n <PlanedEndTime>1634054400000</PlanedEndTime>\\n <PlanedStartTime>1633968000000</PlanedStartTime>\\n <QueueName>默认技能组</QueueName>\\n <TotalCases>100</TotalCases>\\n <State>Completed</State>\\n <CampaignId>6badb397-a8b5-40b6-21019d382a09</CampaignId>\\n <StrategyType>PACING</StrategyType>\\n <StrategyParameters>{\\"ratio\\":1}</StrategyParameters>\\n <QueueId>skg-default@report-test-2</QueueId>\\n <Simulation>false</Simulation>\\n </List>\\n <PageNumber>1</PageNumber>\\n <PageSize>10</PageSize>\\n <TotalCount>1</TotalCount>\\n </Data>\\n <Code>OK</Code>\\n <Success>true</Success>\\n</ListCampaignsResponse>","errorExample":""}]', + ], + 'ListCampaignTrendingReport' => [ + 'summary' => '获取预测式外呼活动趋势报表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'title' => '活动ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'title' => '开始时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2021-10-14 00:00:00', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'title' => '结束时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2021-10-14 20:59:59', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Datetime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1634037840000', + ], + 'Concurrency' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TalkAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'WorkAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LoggedInAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'BreakAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'StatsTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TalkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'WorkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'BreakingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioReadyAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioBreakingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioTalkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundScenarioWorkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0\\",\\n \\"Data\\": [\\n {\\n \\"Datetime\\": 1634037840000,\\n \\"Concurrency\\": 1,\\n \\"TalkAgents\\": 0,\\n \\"ReadyAgents\\": 2,\\n \\"WorkAgents\\": 0,\\n \\"LoggedInAgents\\": 2,\\n \\"BreakAgents\\": 0,\\n \\"StatsTime\\": 1604639129000,\\n \\"TalkingAgents\\": 4,\\n \\"WorkingAgents\\": 0,\\n \\"BreakingAgents\\": 1,\\n \\"OutboundScenarioReadyAgents\\": 1,\\n \\"OutboundScenarioBreakingAgents\\": 2,\\n \\"OutboundScenarioTalkingAgents\\": 1,\\n \\"OutboundScenarioWorkingAgents\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListCampaignTrendingReportResponse>\\n <Code>OK</Code>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Message>无</Message>\\n <RequestId>6CCEF32F-8614-535F-A1D9-D85B8C0DC4F0</RequestId>\\n <Data>\\n <Datetime>1634037840000</Datetime>\\n <Concurrency>1</Concurrency>\\n <TalkAgents>0</TalkAgents>\\n <ReadyAgents>2</ReadyAgents>\\n <WorkAgents>0</WorkAgents>\\n <LoggedInAgents>2</LoggedInAgents>\\n <BreakAgents>0</BreakAgents>\\n </Data>\\n</ListCampaignTrendingReportResponse>","errorExample":""}]', + ], + 'ListCases' => [ + 'summary' => '获取预测式外呼活动的联系人呼叫详情', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + [ + 'name' => 'PhoneNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7CC6523B-0E51-1B62-8DA5-6A9831CAE316', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Data' => [ + 'title' => 'data', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AbandonType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'NA' => '', + 'IVR' => '', + 'Ringing' => '', + 'Queuing' => '', + ], + 'example' => 'NA', + ], + 'AttemptCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'FailureReason' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AbandonedInQueue' => '', + 'AbandonedInRing' => '', + 'AbandonedInIVR' => '', + 'NoAnswer' => '', + 'QueuingTimeout' => '', + 'Reject' => '', + 'Voicemail' => '', + 'QueuingFailed' => '', + 'QueuingOverflow' => '', + 'AbandonedInVoiceNavigator' => '', + 'IVRException' => '', + 'ForwardToOutsideNumber' => '', + ], + 'example' => '', + ], + 'PhoneNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1888888****', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Connected' => '', + 'Failed' => '', + 'Executing' => '', + 'Pending' => '', + 'Aborted' => '', + ], + 'example' => 'Connected', + ], + 'CaseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '60ecb1a2-4480-4d01-bede-c5b7655bfadf', + ], + 'CustomVariables' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AbandonPhase' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7CC6523B-0E51-1B62-8DA5-6A9831CAE316\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"AbandonType\\": \\"NA\\",\\n \\"AttemptCount\\": 1,\\n \\"FailureReason\\": \\"无\\",\\n \\"PhoneNumber\\": \\"1888888****\\",\\n \\"State\\": \\"Connected\\",\\n \\"CaseId\\": \\"60ecb1a2-4480-4d01-bede-c5b7655bfadf\\",\\n \\"CustomVariables\\": \\"{\\\\\\"name\\\\\\":\\\\\\"yy\\\\\\",\\\\\\"客戶标签\\\\\\":\\\\\\"tag-yy\\\\\\"}\\",\\n \\"AbandonPhase\\": \\"Ringing\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListCasesResponse>\\n <RequestId>7CC6523B-0E51-1B62-8DA5-6A9831CAE316</RequestId>\\n <Message>无</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <List>\\n <AbandonType>NA</AbandonType>\\n <AttemptCount>1</AttemptCount>\\n <ExpandInfo>待删除</ExpandInfo>\\n <FailureReason>无</FailureReason>\\n <PhoneNumber>18888888888</PhoneNumber>\\n <State>Connected</State>\\n <CaseId>60ecb1a2-4480-4d01-bede-c5b7655bfadf</CaseId>\\n <CustomVariables>{\\"name\\":\\"yy\\",\\"客戶标签\\":\\"tag-yy\\"}</CustomVariables>\\n </List>\\n <PageNumber>1</PageNumber>\\n <PageSize>100</PageSize>\\n <TotalCount>1</TotalCount>\\n </Data>\\n <Code>OK</Code>\\n <Success>true</Success>\\n</ListCasesResponse>","errorExample":""}]', + ], + 'PauseCampaign' => [ + 'summary' => '暂停预测式外呼活动', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '4A68E287-6888-5ADB-8048-DB488B4DEF35', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'title' => 'httpStatusCode', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A68E287-6888-5ADB-8048-DB488B4DEF35\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'ResumeCampaign' => [ + 'summary' => '恢复预测式外呼活动', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F505C4C8-1E12-573A-9BA7-4BEAAD129553', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'title' => 'httpStatusCode', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F505C4C8-1E12-573A-9BA7-4BEAAD129553\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<ResumeCampaignResponse>\\n <RequestId>F505C4C8-1E12-573A-9BA7-4BEAAD129553</RequestId>\\n <Code>OK</Code>\\n <Message>无</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n</ResumeCampaignResponse>","errorExample":""}]', + ], + 'UpdateCampaign' => [ + 'summary' => 'Update campaign', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ab11908b-6ebc-4b0c-b51e-3e17c7060', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1689901200000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1689933600000', + ], + ], + [ + 'name' => 'CallableTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '['."\n" + .' {'."\n" + .' "beginTime": "09:00:00",'."\n" + .' "endTime": "12:00:00"'."\n" + .' }'."\n" + .']', + ], + ], + [ + 'name' => 'StrategyParameters', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3a310f56-4d30-4081-ba24-5d87a3b7262e', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'SubmitCampaign' => [ + 'summary' => '提交预测式外呼活动', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CampaignId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6badb397-a8b5-40b6-21019d382a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7CC6523B-0E51-1B62-8DA5-6A9831CAE315', + ], + 'Code' => [ + 'title' => 'code', + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'title' => 'message', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'title' => 'httpStatusCode', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7CC6523B-0E51-1B62-8DA5-6A9831CAE315\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<SubmitCampaignResponse>\\n <RequestId>7CC6523B-0E51-1B62-8DA5-6A9831CAE315</RequestId>\\n <Code>OK</Code>\\n <Message>无</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n</SubmitCampaignResponse>","errorExample":""}]', + ], + 'GetIvrTrackingSummary' => [ + 'summary' => '获取IVR轨迹小结', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccKJSOHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'ContactId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-489361145506897920', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0f7ad007-ab50-4b3d-a87a-56864eb40dab', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Unknown error code \'NoPermission.Recording\'. Reason: null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Unknown error code \'NoPermission.Recording\'. Reason: null\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\\\t\\",\\n \\"Data\\": \\"无\\"\\n}","type":"json"}]', + ], + 'ListIntervalAgentSkillGroupReport' => [ + 'summary' => 'ListIntervalAgentSkillGroupReport', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532448000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1558443508000', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Hourly' => '', + 'Daily' => '', + ], + 'example' => 'Daily', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => ' '."\n" + .'skg-default@ccc-test'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620291600000', + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '11', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '85', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.4', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.4', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'LastCheckOutTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'FirstCheckInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'BreakCodeDetailList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + ], + ], + ], + 'TotalOutboundScenarioTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalOutboundScenarioReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalOutboundScenarioLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOffSiteLoggedInTime' => [ + 'type' => 'string', + ], + 'TotalOfficePhoneLoggedInTime' => [ + 'type' => 'string', + ], + 'TotalOnSiteLoggedInTime' => [ + 'type' => 'string', + ], + 'LastCheckoutTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + ], + ], + 'Internal' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsTalk' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsTalked' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Back2Back' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AgentAnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsCustomerHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CustomerHandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalCustomerRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxCustomerRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageCustomerRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AgentHandleRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsCustomerAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CustomerAnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsAgentHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\",\\n \\"Data\\": [\\n {\\n \\"StatsTime\\": 1620291600000,\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 11,\\n \\"CallsHandled\\": 7,\\n \\"TotalWorkTime\\": 85,\\n \\"CallsAttendedTransferOut\\": 10,\\n \\"MaxWorkTime\\": 100,\\n \\"TotalHoldTime\\": 100,\\n \\"AverageWorkTime\\": 100,\\n \\"CallsBlindTransferIn\\": 100,\\n \\"SatisfactionIndex\\": 100,\\n \\"CallsRinged\\": 100,\\n \\"CallsAttendedTransferIn\\": 100,\\n \\"CallsBlindTransferOut\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"CallsOffered\\": 100,\\n \\"MaxHoldTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"SatisfactionRate\\": 0.5,\\n \\"CallsHold\\": 100,\\n \\"SatisfactionSurveysOffered\\": 100,\\n \\"HandleRate\\": 0.5,\\n \\"SatisfactionSurveysResponded\\": 100,\\n \\"AverageHoldTime\\": 100,\\n \\"AverageFirstResponseTime\\": 6,\\n \\"AverageResponseTime\\": 18,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 8,\\n \\"TotalMessagesSentByCustomer\\": 5\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100,\\n \\"TotalWorkTime\\": 100,\\n \\"CallsAttendedTransferOut\\": 100,\\n \\"MaxWorkTime\\": 100,\\n \\"TotalDialingTime\\": 100,\\n \\"TotalHoldTime\\": 100,\\n \\"AverageWorkTime\\": 100,\\n \\"CallsBlindTransferIn\\": 100,\\n \\"SatisfactionIndex\\": 100,\\n \\"CallsRinged\\": 100,\\n \\"CallsAttendedTransferIn\\": 100,\\n \\"CallsBlindTransferOut\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxDialingTime\\": 100,\\n \\"AnswerRate\\": 0.5,\\n \\"MaxHoldTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"SatisfactionRate\\": 100,\\n \\"CallsHold\\": 100,\\n \\"SatisfactionSurveysOffered\\": 100,\\n \\"SatisfactionSurveysResponded\\": 100,\\n \\"AverageHoldTime\\": 100,\\n \\"AverageDialingTime\\": 100\\n },\\n \\"Overall\\": {\\n \\"OccupancyRate\\": 0.4,\\n \\"TotalWorkTime\\": 100,\\n \\"MaxWorkTime\\": 100,\\n \\"TotalHoldTime\\": 100,\\n \\"AverageWorkTime\\": 100,\\n \\"MaxBreakTime\\": 100,\\n \\"SatisfactionIndex\\": 1.4,\\n \\"MaxReadyTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"TotalReadyTime\\": 100,\\n \\"LastCheckOutTime\\": 1712548421000,\\n \\"TotalCalls\\": 100,\\n \\"TotalLoggedInTime\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxHoldTime\\": 100,\\n \\"AverageBreakTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"SatisfactionRate\\": 100,\\n \\"SatisfactionSurveysOffered\\": 100,\\n \\"FirstCheckInTime\\": 100,\\n \\"SatisfactionSurveysResponded\\": 100,\\n \\"AverageHoldTime\\": 100,\\n \\"AverageReadyTime\\": 100,\\n \\"TotalBreakTime\\": 100,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"开会\\",\\n \\"Count\\": 1,\\n \\"Duration\\": 100\\n }\\n ],\\n \\"TotalOutboundScenarioTime\\": 100,\\n \\"TotalOutboundScenarioReadyTime\\": 100,\\n \\"TotalOutboundScenarioLoggedInTime\\": 100,\\n \\"TotalOffSiteLoggedInTime\\": \\"100\\",\\n \\"TotalOfficePhoneLoggedInTime\\": \\"100\\",\\n \\"TotalOnSiteLoggedInTime\\": \\"100\\",\\n \\"LastCheckoutTime\\": 100\\n },\\n \\"Internal\\": {\\n \\"TotalTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"CallsOffered\\": 100,\\n \\"CallsHandled\\": 100,\\n \\"CallsTalk\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100,\\n \\"CallsTalked\\": 100\\n },\\n \\"Back2Back\\": {\\n \\"CallsDialed\\": 100,\\n \\"AnswerRate\\": 0.5,\\n \\"CallsAnswered\\": 100,\\n \\"AgentAnswerRate\\": 100,\\n \\"CallsCustomerHandled\\": 100,\\n \\"CustomerHandleRate\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"AverageRingTime\\": 100,\\n \\"TotalCustomerRingTime\\": 100,\\n \\"MaxCustomerRingTime\\": 100,\\n \\"AverageCustomerRingTime\\": 100,\\n \\"AgentHandleRate\\": 1,\\n \\"CallsCustomerAnswered\\": 12,\\n \\"CustomerAnswerRate\\": 0.6,\\n \\"CallsAgentHandled\\": 5\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListHistoricalAgentSkillGroupReport' => [ + 'summary' => 'ListHistoricalAgentSkillGroupReport', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'AgentIdList', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '["agent1@ccc-test", "agent2@ccc-test"]', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1634140800000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1620273600000', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test'."\n", + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '['."\n" + .' "skg1@ccc-test",'."\n" + .' "skg2@ccc-test"'."\n" + .']', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent1@ccc-test', + ], + 'DisplayId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1001', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Default', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.4', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.4', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'BreakCodeDetailList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + ], + ], + ], + 'FirstCheckInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1686030515000', + ], + 'LastCheckOutTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1686030515000', + ], + 'TotalOutboundScenarioTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalOutboundScenarioReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalOutboundScenarioLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOfficePhoneLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOffSiteLggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOnSiteLoggedInTime' => [ + 'type' => 'string', + ], + ], + ], + 'Internal' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsTalk' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsTalked' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Back2Back' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AgentAnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'CallsCustomerHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CustomerHandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'TotalCustomerRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'MaxCustomerRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'AverageCustomerRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'AgentHandleRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsCustomerAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CustomerAnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsAgentHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11,\\n \\"List\\": [\\n {\\n \\"AgentName\\": \\"云呼测试坐席\\",\\n \\"AgentId\\": \\"agent1@ccc-test\\",\\n \\"DisplayId\\": \\"1001\\",\\n \\"SkillGroupName\\": \\"Default\\",\\n \\"SkillGroupId\\": \\"skillgroup1@ccc-test\\",\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 100,\\n \\"CallsHandled\\": 100,\\n \\"TotalWorkTime\\": 100,\\n \\"CallsAttendedTransferOut\\": 100,\\n \\"MaxWorkTime\\": 100,\\n \\"TotalHoldTime\\": 100,\\n \\"AverageWorkTime\\": 100,\\n \\"CallsBlindTransferIn\\": 100,\\n \\"SatisfactionIndex\\": 100,\\n \\"CallsRinged\\": 100,\\n \\"CallsAttendedTransferIn\\": 100,\\n \\"CallsBlindTransferOut\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"CallsOffered\\": 100,\\n \\"MaxHoldTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"SatisfactionRate\\": 0.5,\\n \\"CallsHold\\": 100,\\n \\"SatisfactionSurveysOffered\\": 100,\\n \\"HandleRate\\": 100,\\n \\"SatisfactionSurveysResponded\\": 100,\\n \\"AverageHoldTime\\": 100,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 6,\\n \\"TotalMessagesSentByCustomer\\": 6,\\n \\"AverageFirstResponseTime\\": 8,\\n \\"AverageResponseTime\\": 9\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100,\\n \\"TotalWorkTime\\": 100,\\n \\"CallsAttendedTransferOut\\": 100,\\n \\"MaxWorkTime\\": 100,\\n \\"TotalDialingTime\\": 100,\\n \\"TotalHoldTime\\": 100,\\n \\"AverageWorkTime\\": 100,\\n \\"CallsBlindTransferIn\\": 100,\\n \\"SatisfactionIndex\\": 1.4,\\n \\"CallsRinged\\": 100,\\n \\"CallsAttendedTransferIn\\": 100,\\n \\"CallsBlindTransferOut\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxDialingTime\\": 100,\\n \\"AnswerRate\\": 0.5,\\n \\"MaxHoldTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"SatisfactionRate\\": 0.5,\\n \\"CallsHold\\": 100,\\n \\"SatisfactionSurveysOffered\\": 100,\\n \\"SatisfactionSurveysResponded\\": 100,\\n \\"AverageHoldTime\\": 100,\\n \\"AverageDialingTime\\": 100\\n },\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 100,\\n \\"TotalLoggedInTime\\": 100,\\n \\"OccupancyRate\\": 0.5,\\n \\"TotalWorkTime\\": 100,\\n \\"MaxHoldTime\\": 100,\\n \\"MaxWorkTime\\": 100,\\n \\"AverageBreakTime\\": 100,\\n \\"TotalHoldTime\\": 100,\\n \\"SatisfactionRate\\": 0.5,\\n \\"MaxBreakTime\\": 100,\\n \\"AverageWorkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"SatisfactionIndex\\": 1.4,\\n \\"SatisfactionSurveysOffered\\": 100,\\n \\"SatisfactionSurveysResponded\\": 100,\\n \\"MaxReadyTime\\": 100,\\n \\"AverageReadyTime\\": 100,\\n \\"AverageHoldTime\\": 100,\\n \\"TotalReadyTime\\": 100,\\n \\"TotalBreakTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"TotalCalls\\": 100,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"开会\\",\\n \\"Count\\": 1,\\n \\"Duration\\": 100\\n }\\n ],\\n \\"FirstCheckInTime\\": 1686030515000,\\n \\"LastCheckOutTime\\": 1686030515000,\\n \\"TotalOutboundScenarioTime\\": 100,\\n \\"TotalOutboundScenarioReadyTime\\": 100,\\n \\"TotalOutboundScenarioLoggedInTime\\": 120,\\n \\"TotalOfficePhoneLoggedInTime\\": 120,\\n \\"TotalOffSiteLggedInTime\\": 120,\\n \\"TotalOnSiteLoggedInTime\\": \\"120\\"\\n },\\n \\"Internal\\": {\\n \\"TotalTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"CallsOffered\\": 100,\\n \\"CallsHandled\\": 100,\\n \\"CallsTalk\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100,\\n \\"CallsTalked\\": 5\\n },\\n \\"Back2Back\\": {\\n \\"CallsDialed\\": 100,\\n \\"AnswerRate\\": 0.6,\\n \\"CallsAnswered\\": 100,\\n \\"AgentAnswerRate\\": 0,\\n \\"CallsCustomerHandled\\": 0,\\n \\"CustomerHandleRate\\": 0,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"AverageRingTime\\": 100,\\n \\"TotalCustomerRingTime\\": 100,\\n \\"MaxCustomerRingTime\\": 100,\\n \\"AverageCustomerRingTime\\": 100,\\n \\"AgentHandleRate\\": 0.5,\\n \\"CallsCustomerAnswered\\": 100,\\n \\"CustomerAnswerRate\\": 0.5,\\n \\"CallsAgentHandled\\": 100\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetCallDetailRecord' => [ + 'summary' => '通话记录详情', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREccc5HY0NN', + ], + ], + 'parameters' => [ + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-10963442671187****', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'agent ' => '', + 'customer ' => '', + ], + 'example' => 'customer', + ], + 'ContactDisposition' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AbandonedInQueue' => '', + 'NoAnswer' => '', + 'QueuingTimeout' => '', + 'Voicemail' => '', + 'QueuingFailed' => '', + 'QueuingOverflow' => '', + 'AbandonedInVoiceNavigator' => '', + 'Success' => '', + 'IVRException' => '', + 'AbandonedInRing' => '', + 'AbandonedInIVR' => '', + 'Reject' => '', + 'ForwardToOutsideNumber' => '', + ], + 'example' => 'Success', + ], + 'ContactType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'INBOUND' => '', + 'CONFERENCE' => '', + 'INTERNAL' => '', + 'PRIVACY_DIAL' => '', + 'OUTBOUND' => '', + 'BACK2BACK' => '', + 'PREDICTIVE' => '', + ], + 'example' => '', + ], + 'AgentIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent1@ccc-test,agent2@ccc-test', + ], + 'CallDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '50', + ], + 'RecordingReady' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'EstablishedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532458000000', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'SatisfactionSurveyOffered' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'CalledNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1332315****', + ], + 'AgentNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent1,agent2', + ], + 'Satisfaction' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532458000000', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-10963442671187****', + ], + 'SatisfactionSurveyChannel' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'IVR' => '', + 'SMS' => '', + ], + 'example' => 'IVR', + ], + 'ReleaseTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532458000000', + ], + 'CallingNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'SkillGroupNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroupIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'AgentEvents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'EventSequence' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Released' => '', + 'BlindTransfer' => '', + 'Coaching' => '', + 'Barging' => '', + 'Consulting' => '', + 'Ringing' => '', + 'StartConference' => '', + 'Established' => '', + 'Dialing' => '', + 'Intercepting' => '', + 'Monitoring' => '', + ], + 'example' => 'Dialing', + ], + 'EventTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1604639129000', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + ], + ], + ], + ], + ], + ], + 'IvrEvents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'edaf2eaa-8f88-44ca-812e-41b3cd2b7a90', + ], + 'EventSequence' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Route2Ivr' => '', + 'Abandoned' => '', + ], + 'example' => 'Route2IVR', + ], + 'EventTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1604639129000', + ], + ], + ], + ], + 'FlowType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'SURVEY_FLOW' => '', + 'MAIN_FLOW' => '', + ], + 'example' => 'MAIN_FLOW', + ], + ], + ], + ], + 'QueueEvents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'QueueId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'QueueName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'FlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'edaf2eaa-8f88-44ca-812e-41b3cd2b7a90', + ], + 'QueueType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + 1 => '', + '', + ], + 'example' => '1', + ], + 'EventSequence' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AssignAgent' => '', + 'GiveUp' => '', + 'Enqueue' => '', + 'QueueingOverflow' => '', + 'Abandoned' => '', + 'QueueingTimeout' => '', + ], + 'example' => 'Enqueue', + ], + 'EventTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1604639129000', + ], + ], + ], + ], + ], + ], + ], + 'CustomerEvents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CustomerId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1332315****', + ], + 'EventSequence' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'established' => '', + 'ringing' => '', + 'released' => '', + ], + 'example' => 'Released', + ], + 'EventTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532458000000', + ], + ], + ], + ], + ], + ], + ], + 'CallerLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CalleeLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'EarlyMediaState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'NoAnswer' => '', + 'OutOfService' => '', + 'NotExist' => '', + 'Restricted' => '', + 'Busy' => '', + 'NotConnected' => '', + 'PowerOff' => '', + ], + 'example' => 'NotConnected', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200 - OK', + ], + 'AnalyticsReportReady' => [ + 'type' => 'boolean', + ], + 'AnalyticsReport' => [ + 'type' => 'object', + 'properties' => [ + 'ProblemSolving' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Solved' => [ + 'type' => 'boolean', + ], + 'Problem' => [ + 'type' => 'string', + ], + 'Solution' => [ + 'type' => 'string', + ], + ], + ], + 'Emotion' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Type' => [ + 'type' => 'string', + ], + 'Confidence' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Remark' => [ + 'type' => 'string', + ], + ], + ], + 'Satisfaction' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'SatisfactionDescription' => [ + 'type' => 'string', + ], + 'Remark' => [ + 'type' => 'string', + ], + ], + ], + 'TodoList' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Tasks' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'OutsideNumberReleaseReason' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"Data\\": {\\n \\"ReleaseInitiator\\": \\"customer\\",\\n \\"ContactDisposition\\": \\"Success\\",\\n \\"ContactType\\": \\"OUTBOUND\\",\\n \\"AgentIds\\": \\"agent1@ccc-test,agent2@ccc-test\\",\\n \\"CallDuration\\": 50,\\n \\"RecordingReady\\": true,\\n \\"EstablishedTime\\": 1532458000000,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"SatisfactionSurveyOffered\\": true,\\n \\"CalledNumber\\": \\"1332315****\\",\\n \\"AgentNames\\": \\"agent1,agent2\\",\\n \\"Satisfaction\\": 1,\\n \\"StartTime\\": 1532458000000,\\n \\"ContactId\\": \\"job-10963442671187****\\",\\n \\"SatisfactionSurveyChannel\\": \\"IVR\\",\\n \\"ReleaseTime\\": 1532458000000,\\n \\"CallingNumber\\": \\"0533128****\\",\\n \\"SkillGroupNames\\": \\"测试技能组\\",\\n \\"SkillGroupIds\\": \\"skillgroup@ccc-test\\",\\n \\"AgentEvents\\": [\\n {\\n \\"AgentName\\": \\"坐席小王\\",\\n \\"AgentId\\": \\"agent@ccc-test\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"EventSequence\\": [\\n {\\n \\"Event\\": \\"Dialing\\",\\n \\"EventTime\\": 1604639129000,\\n \\"Duration\\": 3\\n }\\n ]\\n }\\n ],\\n \\"IvrEvents\\": [\\n {\\n \\"FlowId\\": \\"edaf2eaa-8f88-44ca-812e-41b3cd2b7a90\\",\\n \\"EventSequence\\": [\\n {\\n \\"Event\\": \\"Route2IVR\\",\\n \\"EventTime\\": 1604639129000\\n }\\n ],\\n \\"FlowType\\": \\"MAIN_FLOW\\"\\n }\\n ],\\n \\"QueueEvents\\": [\\n {\\n \\"QueueId\\": \\"skillgroup@ccc-test\\",\\n \\"QueueName\\": \\"测试技能组\\",\\n \\"FlowId\\": \\"edaf2eaa-8f88-44ca-812e-41b3cd2b7a90\\",\\n \\"QueueType\\": 1,\\n \\"EventSequence\\": [\\n {\\n \\"Event\\": \\"Enqueue\\",\\n \\"EventTime\\": 1604639129000\\n }\\n ]\\n }\\n ],\\n \\"CustomerEvents\\": [\\n {\\n \\"CustomerId\\": \\"1332315****\\",\\n \\"EventSequence\\": [\\n {\\n \\"Event\\": \\"Released\\",\\n \\"EventTime\\": 1532458000000\\n }\\n ]\\n }\\n ],\\n \\"CallerLocation\\": \\" 山东省-淄博\\",\\n \\"CalleeLocation\\": \\"河北省-唐山\\",\\n \\"EarlyMediaState\\": \\"NotConnected\\",\\n \\"ReleaseReason\\": \\"200 - OK\\",\\n \\"AnalyticsReportReady\\": true,\\n \\"AnalyticsReport\\": {\\n \\"ProblemSolving\\": {\\n \\"TaskId\\": \\"\\",\\n \\"Success\\": true,\\n \\"Solved\\": true,\\n \\"Problem\\": \\"\\",\\n \\"Solution\\": \\"\\"\\n },\\n \\"Emotion\\": {\\n \\"TaskId\\": \\"\\",\\n \\"Success\\": true,\\n \\"Type\\": \\"\\",\\n \\"Confidence\\": 0,\\n \\"Remark\\": \\"\\"\\n },\\n \\"Satisfaction\\": {\\n \\"TaskId\\": \\"\\",\\n \\"Success\\": true,\\n \\"SatisfactionDescription\\": \\"\\",\\n \\"Remark\\": \\"\\"\\n },\\n \\"TodoList\\": {\\n \\"TaskId\\": \\"\\",\\n \\"Success\\": true,\\n \\"Tasks\\": [\\n \\"\\"\\n ]\\n }\\n },\\n \\"OutsideNumberReleaseReason\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>7BEEA660-A45A-45E3-98CC-AFC65E715C23</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <SkillGroupIds>skg-default@ccc-test</SkillGroupIds>\\n <CalledNumber>133xxxx2315</CalledNumber>\\n <ContactType>Outbound</ContactType>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactDisposition>Success</ContactDisposition>\\n <ReleaseInitiator>customer</ReleaseInitiator>\\n <Satisfaction>1</Satisfaction>\\n <EarlyMediaState>NotConnected</EarlyMediaState>\\n <StartTime>1532458000000</StartTime>\\n <ContactId>job-109634426711871319</ContactId>\\n <CallDuration>50</CallDuration>\\n <CallingNumber>053xxxx3128</CallingNumber>\\n <CalleeLocation>北京</CalleeLocation>\\n <ReleaseTime>1532458000000</ReleaseTime>\\n <RecordingReady>true</RecordingReady>\\n <SkillGroupNames>默认技能组</SkillGroupNames>\\n <SatisfactionSurveyChannel>语音</SatisfactionSurveyChannel>\\n <SatisfactionSurveyOffered>true</SatisfactionSurveyOffered>\\n <AgentIds>user-test@ccc-test\\t</AgentIds>\\n <EstablishedTime>1532458000000</EstablishedTime>\\n <CallerLocation>北京</CallerLocation>\\n <AgentNames>云呼测试坐席</AgentNames>\\n <AgentEvents>\\n <SkillGroupId>skg-default@ccc-test</SkillGroupId>\\n <AgentId>user-test@ccc-test</AgentId>\\n <AgentName>测试坐席\\t</AgentName>\\n <EventSequence>\\n <EventTime>1604639129000</EventTime>\\n <Event>Dialing</Event>\\n </EventSequence>\\n </AgentEvents>\\n <QueueEvents>\\n <FlowId>edaf2eaa-8f88-44ca-812e-41b3cd2b7a90</FlowId>\\n <QueueId>skg-default@ccc-test</QueueId>\\n <QueueName>Defalut</QueueName>\\n <QueueType>1</QueueType>\\n <EventSequence>\\n <EventTime>1604639129000</EventTime>\\n <Event>Enqueue</Event>\\n </EventSequence>\\n </QueueEvents>\\n <CustomerEvents>\\n <CustomerId>133xxxx2315</CustomerId>\\n <EventSequence>\\n <EventTime>1532458000000</EventTime>\\n <Event>Released</Event>\\n </EventSequence>\\n </CustomerEvents>\\n <IvrEvents>\\n <FlowId>edaf2eaa-8f88-44ca-812e-41b3cd2b7a90</FlowId>\\n <FlowType>MAIN_FLOW</FlowType>\\n <EventSequence>\\n <EventTime>1604639129000</EventTime>\\n <Event>Route2IVR</Event>\\n </EventSequence>\\n </IvrEvents>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetConversationDetail' => [ + 'summary' => '获取通话文本信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '136495', + 'abilityTreeNodes' => [ + 'FEATUREccc5HY0NN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-25884193037652****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7E407F9B-A278-52A0-B193-3EE5471D7A87', + ], + 'Phrases' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Identity' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Role' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '客服' => '', + '客户' => '', + ], + 'example' => '', + ], + 'Begin' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '240', + ], + 'End' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1280', + ], + 'Words' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Finished' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"7E407F9B-A278-52A0-B193-3EE5471D7A87\\",\\n \\"Phrases\\": [\\n {\\n \\"Identity\\": \\"agent@ccc-test\\",\\n \\"Role\\": \\"客服\\",\\n \\"Begin\\": 240,\\n \\"End\\": 1280,\\n \\"Words\\": \\"欢迎致电云联络中心\\",\\n \\"Finished\\": false\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetHistoricalCallerReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CallingNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1900000****', + ], + ], + [ + 'name' => 'StopTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '4102416000000', + 'minimum' => '0', + 'example' => '1646928000000', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '4102416000000', + 'minimum' => '0', + 'example' => '1646841600000', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LastCallingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1646917200000', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Invalid', + 'errorMessage' => 'The parameter %s is invalid. %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Data\\": {\\n \\"LastCallingTime\\": 1646917200000,\\n \\"TotalCalls\\": 10\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <LastCallingTime>1646917200000</LastCallingTime>\\n <TotalCalls>10</TotalCalls>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetHistoricalInstanceReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532448000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532707199000', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsVoicemail' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonedInIVRTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsIVRException' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInIVR' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageAbandonTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsQueuingFailed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AbandonRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageAbandonedInIVRTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxWaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAttendedTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonedInIVRTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsQueuingOverflow' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInRing' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWaitTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsQueued' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAbandoned' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInVoiceNavigator' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsQueuingTimeout' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ServiceLevel20' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsForwardToOutsideNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAbandonedInQueue' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsCausedIVRException' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsToVoicemail' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ServiceLevel15' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ServiceLevel30' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AccessChannelTypeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AccessChannelType' => [ + 'type' => 'string', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAttendedTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxLoggedInAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Internal' => [ + 'type' => 'object', + 'properties' => [ + 'CallsDialed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": {\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsVoicemail\\": 0,\\n \\"MaxAbandonedInIVRTime\\": 100,\\n \\"CallsHandled\\": 0,\\n \\"CallsIVRException\\": 0,\\n \\"CallsAbandonedInIVR\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"MaxAbandonTime\\": 0,\\n \\"AverageAbandonTime\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsQueuingFailed\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"AbandonRate\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"MaxAbandonedInRingTime\\": 0,\\n \\"CallsBlindTransferred\\": 0,\\n \\"AverageAbandonedInIVRTime\\": 0,\\n \\"AverageAbandonedInQueueTime\\": 0,\\n \\"MaxWaitTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"CallsAttendedTransferred\\": 0,\\n \\"TotalAbandonedInIVRTime\\": 0,\\n \\"CallsQueuingOverflow\\": 0,\\n \\"CallsAbandonedInRing\\": 0,\\n \\"TotalAbandonedInRingTime\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"AverageWaitTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"CallsQueued\\": 0,\\n \\"AverageAbandonedInRingTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsAbandoned\\": 0,\\n \\"MaxAbandonedInQueueTime\\": 0,\\n \\"CallsAbandonedInVoiceNavigator\\": 0,\\n \\"TotalWaitTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalAbandonTime\\": 0,\\n \\"CallsOffered\\": 0,\\n \\"CallsQueuingTimeout\\": 0,\\n \\"ServiceLevel20\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"CallsForwardToOutsideNumber\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"CallsAbandonedInQueue\\": 0,\\n \\"TotalAbandonedInQueueTime\\": 0,\\n \\"CallsCausedIVRException\\": 0,\\n \\"CallsToVoicemail\\": 3,\\n \\"ServiceLevel15\\": 0.78,\\n \\"ServiceLevel30\\": 0.9,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 8,\\n \\"TotalMessagesSentByCustomer\\": 4,\\n \\"AverageFirstResponseTime\\": 12,\\n \\"AccessChannelTypeDetailList\\": [\\n {\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"CallsOffered\\": 5\\n }\\n ],\\n \\"AverageResponseTime\\": 15\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsDialed\\": 0,\\n \\"CallsAnswered\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalDialingTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"MaxDialingTime\\": 0,\\n \\"CallsBlindTransferred\\": 0,\\n \\"AnswerRate\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsAttendedTransferred\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageDialingTime\\": 0\\n },\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"TotalLoggedInTime\\": 0,\\n \\"OccupancyRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"AverageBreakTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"MaxBreakTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxReadyTime\\": 0,\\n \\"AverageReadyTime\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalReadyTime\\": 0,\\n \\"TotalBreakTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalCalls\\": 0,\\n \\"MaxLoggedInAgents\\": 102\\n },\\n \\"Internal\\": {\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Inbound>\\n <ServiceLevel20>0</ServiceLevel20>\\n <CallsAbandonedInQueue>0</CallsAbandonedInQueue>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>0</CallsRinged>\\n <MaxAbandonedInIVRTime>0</MaxAbandonedInIVRTime>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <CallsOffered>0</CallsOffered>\\n <CallsAbandoned>0</CallsAbandoned>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <MaxAbandonedInRingTime>0</MaxAbandonedInRingTime>\\n <TotalRingTime>0</TotalRingTime>\\n <HandleRate>0</HandleRate>\\n <TotalAbandonedInIVRTime>0</TotalAbandonedInIVRTime>\\n <AverageAbandonedInQueueTime>0</AverageAbandonedInQueueTime>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageWaitTime>0</AverageWaitTime>\\n <TotalAbandonedInRingTime>0</TotalAbandonedInRingTime>\\n <CallsQueued>0</CallsQueued>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <AverageAbandonedInIVRTime>0</AverageAbandonedInIVRTime>\\n <TotalAbandonTime>0</TotalAbandonTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n <CallsBlindTransferred>0</CallsBlindTransferred>\\n <CallsAbandonedInIVR>0</CallsAbandonedInIVR>\\n <MaxAbandonedInQueueTime>0</MaxAbandonedInQueueTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <CallsAbandonedInRing>0</CallsAbandonedInRing>\\n <CallsHandled>0</CallsHandled>\\n <MaxWaitTime>0</MaxWaitTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferred>0</CallsAttendedTransferred>\\n <MaxAbandonTime>0</MaxAbandonTime>\\n <AverageRingTime>0</AverageRingTime>\\n <TotalWaitTime>0</TotalWaitTime>\\n <AverageAbandonTime>0</AverageAbandonTime>\\n <AverageAbandonedInRingTime>0</AverageAbandonedInRingTime>\\n <TotalAbandonedInQueueTime>0</TotalAbandonedInQueueTime>\\n <AverageWorkTime>0</AverageWorkTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n <AbandonRate>0</AbandonRate>\\n </Inbound>\\n <Outbound>\\n <TotalDialingTime>0</TotalDialingTime>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>0</CallsRinged>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <TotalRingTime>0</TotalRingTime>\\n <AverageDialingTime>0</AverageDialingTime>\\n <CallsAnswered>0</CallsAnswered>\\n <TotalTalkTime>0</TotalTalkTime>\\n <CallsDialed>0</CallsDialed>\\n <MaxDialingTime>0</MaxDialingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n <AnswerRate>0</AnswerRate>\\n <CallsBlindTransferred>0</CallsBlindTransferred>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferred>0</CallsAttendedTransferred>\\n <AverageRingTime>0</AverageRingTime>\\n <AverageWorkTime>0</AverageWorkTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n </Outbound>\\n <Overall>\\n <TotalReadyTime>0</TotalReadyTime>\\n <TotalCalls>0</TotalCalls>\\n <TotalBreakTime>0</TotalBreakTime>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <AverageBreakTime>0</AverageBreakTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageReadyTime>0</AverageReadyTime>\\n <TotalLoggedInTime>0</TotalLoggedInTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxReadyTime>0</MaxReadyTime>\\n <AverageWorkTime>0</AverageWorkTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n <MaxBreakTime>0</MaxBreakTime>\\n <OccupancyRate>0</OccupancyRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n </Overall>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetInstanceTrendingReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1604639129000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1604725528000', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Inbound' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1604639129000', + ], + 'CallsQueued' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInRing' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInIVR' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInQueue' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1604639129000', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + 'Overall' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxLoggedInAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": {\\n \\"Inbound\\": [\\n {\\n \\"StatsTime\\": 1604639129000,\\n \\"CallsQueued\\": 0,\\n \\"CallsAbandonedInRing\\": 0,\\n \\"CallsHandled\\": 0,\\n \\"TotalCalls\\": 0,\\n \\"CallsAbandonedInIVR\\": 0,\\n \\"CallsAbandonedInQueue\\": 0\\n }\\n ],\\n \\"Outbound\\": [\\n {\\n \\"StatsTime\\": 1604639129000,\\n \\"CallsAnswered\\": 0,\\n \\"TotalCalls\\": 0\\n }\\n ],\\n \\"Overall\\": [\\n {\\n \\"StatsTime\\": 1604639129000,\\n \\"MaxLoggedInAgents\\": 102\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Inbound>\\n <TotalCalls>0</TotalCalls>\\n <CallsAbandonedInQueue>0</CallsAbandonedInQueue>\\n <CallsQueued>0</CallsQueued>\\n <CallsAbandonedInRing>0</CallsAbandonedInRing>\\n <CallsHandled>0</CallsHandled>\\n <StatsTime>1604639129000</StatsTime>\\n <CallsAbandonedInIVR>0</CallsAbandonedInIVR>\\n </Inbound>\\n <Outbound>\\n <CallsAnswered>0</CallsAnswered>\\n <TotalCalls>0</TotalCalls>\\n <StatsTime>1604639129000</StatsTime>\\n </Outbound>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetRealtimeInstanceStates' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WorkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LongestWaitingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LoggedInAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'WaitingCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'BreakingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TalkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'InteractiveCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'BreakCodeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'type' => 'string', + ], + 'Count' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": {\\n \\"WorkingAgents\\": 0,\\n \\"LongestWaitingTime\\": 0,\\n \\"LoggedInAgents\\": 0,\\n \\"TotalAgents\\": 0,\\n \\"WaitingCalls\\": 0,\\n \\"BreakingAgents\\": 0,\\n \\"TalkingAgents\\": 0,\\n \\"InteractiveCalls\\": 0,\\n \\"ReadyAgents\\": 0,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"默认\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <BreakingAgents>0</BreakingAgents>\\n <TalkingAgents>0</TalkingAgents>\\n <InstanceId>ccc-test</InstanceId>\\n <LoggedInAgents>0</LoggedInAgents>\\n <ReadyAgents>0</ReadyAgents>\\n <WaitingCalls>0</WaitingCalls>\\n <LongestCall>0</LongestCall>\\n <TotalAgents>0</TotalAgents>\\n <InteractiveCalls>0</InteractiveCalls>\\n <WorkingAgents>0</WorkingAgents>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListAgentStateLogs' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1620230400000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1620273600000', + ], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620259200000', + ], + 'StateCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Monitored' => '', + 'Consulted' => '', + 'Consulting' => '', + 'Conference' => '', + 'Monitoring' => '', + ], + 'example' => 'CHECK_IN_BREAK', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Ready' => '', + 'Talking' => '', + 'ACW' => '', + 'Ringing' => '', + 'Break' => '', + 'Offline' => '', + 'Dialing' => '', + ], + 'example' => 'Break', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'BreakCode' => [ + 'type' => 'string', + ], + 'WorkMode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": [\\n {\\n \\"StartTime\\": 1620259200000,\\n \\"StateCode\\": \\"CHECK_IN_BREAK\\",\\n \\"Duration\\": 32,\\n \\"State\\": \\"Break\\",\\n \\"OutboundScenario\\": false,\\n \\"BreakCode\\": \\"会议\\",\\n \\"WorkMode\\": \\"ON_SITE\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <State>Break</State>\\n <StateCode>CHECK_IN_BREAK</StateCode>\\n <StartTime>1620259200000</StartTime>\\n <OutboundScenario>false</OutboundScenario>\\n <Duration>5903871</Duration>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListCallDetailRecords' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532448000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532707199000', + ], + ], + [ + 'name' => 'ContactType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Outbound' => '', + 'Back2Back' => '', + 'PrivacyDial' => '', + 'Internal' => '', + 'Predictive' => '', + 'Inbound' => '', + 'Conference' => '', + ], + 'example' => 'Outbound', + ], + ], + [ + 'name' => 'ContactDisposition', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'AbandonedInQueue' => '', + 'NoAnswer' => '', + 'QueuingTimeout' => '', + 'Voicemail' => '', + 'QueuingFailed' => '', + 'QueuingOverflow' => '', + 'AbandonedInVoiceNavigator' => '', + 'Success' => '', + 'IVRException' => '', + 'AbandonedInRing' => '', + 'AbandonedInIVR' => '', + 'Reject' => '', + 'ForwardToOutsideNumber' => '', + ], + 'example' => 'Success', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-12515239414412****', + ], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => '', + 'DESC' => '', + ], + 'example' => 'DESC', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'OrderByField', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'callDuration' => '', + 'ringTime' => '', + 'talkTime' => '', + 'dialingTime' => '', + 'startTime' => '', + 'ivrTime' => '', + 'queueTime' => '', + ], + 'example' => 'startTime', + ], + ], + [ + 'name' => 'Criteria', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{"phoneNumber":"0735"}', + ], + ], + [ + 'name' => 'CallingNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '07353988****', + ], + ], + [ + 'name' => 'CalledNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1320523****', + ], + ], + [ + 'name' => 'SatisfactionList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["1","3"]', + ], + ], + [ + 'name' => 'SatisfactionSurveyChannel', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'IVR' => '', + 'SMS' => '', + ], + 'example' => 'IVR', + ], + ], + [ + 'name' => 'SatisfactionDescriptionList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'EarlyMediaStateList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'NoAnswer' => '', + 'OutOfService' => '', + 'NotExist' => '', + 'Restricted' => '', + 'Busy' => '', + 'NotConnected' => '', + 'PowerOff' => '', + ], + 'example' => '["NotConnected","NoAnswer"]', + ], + ], + [ + 'name' => 'ContactDispositionList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'AbandonedInQueue' => '', + 'NoAnswer' => '', + 'QueuingTimeout' => '', + 'Voicemail' => '', + 'QueuingFailed' => '', + 'QueuingOverflow' => '', + 'AbandonedInVoiceNavigator' => '', + 'Success' => '', + 'IVRException' => '', + 'AbandonedInRing' => '', + 'AbandonedInIVR' => '', + 'Reject' => '', + 'ForwardToOutsideNumber' => '', + ], + 'example' => '["Success","NoAnswer"]', + ], + ], + [ + 'name' => 'ContactTypeList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Outbound' => '', + 'Back2Back' => '', + 'PrivacyDial' => '', + 'Internal' => '', + 'Predictive' => '', + 'Inbound' => '', + 'Conference' => '', + ], + 'example' => '["Internal","Inbound"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContactDisposition' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AbandonedInQueue' => '', + 'NoAnswer' => '', + 'QueuingTimeout' => '', + 'Voicemail' => '', + 'QueuingFailed' => '', + 'QueuingOverflow' => '', + 'AbandonedInVoiceNavigator' => '', + 'Success' => '', + 'IVRException' => '', + 'AbandonedInRing' => '', + 'AbandonedInIVR' => '', + 'Reject' => '', + 'ForwardToOutsideNumber' => '', + ], + 'example' => 'Success', + ], + 'ContactType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Back2Back' => '', + 'PrivacyDial' => '', + 'Internal' => '', + 'Predictive' => '', + 'Inbound' => '', + 'Conference' => '', + ], + 'example' => 'Outbound', + ], + 'EstablishedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532448000000', + ], + 'CalledNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1332315****', + ], + 'AdditionalBroker' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'SatisfactionSurveyChannel' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'IVR' => '', + 'SMS' => '', + ], + 'example' => 'IVR', + ], + 'ReleaseTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532707199000', + ], + 'WaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'SkillGroupNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IvrTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '8', + ], + 'SatisfactionDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'agent' => '', + 'customer' => '', + ], + 'example' => 'customer', + ], + 'AgentIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'CallDuration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '30', + ], + 'RecordingReady' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'RingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'SatisfactionSurveyOffered' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AgentNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532448000000', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-12515239414412****', + ], + 'RecordingDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'CallingNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'QueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Broker' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533127****', + ], + 'SkillGroupIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'CallerLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CalleeLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'EarlyMediaState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'NoAnswer' => '', + 'OutOfService' => '', + 'NotExist' => '', + 'Restricted' => '', + 'Busy' => '', + 'NotConnected' => '', + 'PowerOff' => '', + ], + 'example' => 'NotConnected', + ], + 'ReleaseReason' => [ + 'type' => 'string', + ], + 'DialingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'HeldTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallIds' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11,\\n \\"List\\": [\\n {\\n \\"ContactDisposition\\": \\"Success\\",\\n \\"ContactType\\": \\"Outbound\\",\\n \\"EstablishedTime\\": 1532448000000,\\n \\"CalledNumber\\": \\"1332315****\\",\\n \\"AdditionalBroker\\": \\"0533128****\\",\\n \\"SatisfactionIndex\\": 1,\\n \\"SatisfactionSurveyChannel\\": \\"IVR\\",\\n \\"ReleaseTime\\": 1532707199000,\\n \\"WaitTime\\": 5,\\n \\"SkillGroupNames\\": \\"测试技能组\\",\\n \\"IvrTime\\": 8,\\n \\"SatisfactionDescription\\": \\"满意\\",\\n \\"ReleaseInitiator\\": \\"customer\\",\\n \\"AgentIds\\": \\"agent@ccc-test\\",\\n \\"CallDuration\\": \\"30\\",\\n \\"RecordingReady\\": true,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"RingTime\\": 5,\\n \\"SatisfactionSurveyOffered\\": true,\\n \\"AgentNames\\": \\"坐席小王\\",\\n \\"StartTime\\": 1532448000000,\\n \\"ContactId\\": \\"job-12515239414412****\\",\\n \\"RecordingDuration\\": 10,\\n \\"CallingNumber\\": \\"0533128****\\",\\n \\"QueueTime\\": 0,\\n \\"Broker\\": \\"0533127****\\",\\n \\"SkillGroupIds\\": \\"skillgroup@ccc-test\\",\\n \\"CallerLocation\\": \\"北京市-北京\\",\\n \\"CalleeLocation\\": \\"山东省-济南\\",\\n \\"EarlyMediaState\\": \\"NotConnected\\",\\n \\"ReleaseReason\\": \\"486:USER_BUSY\\",\\n \\"DialingTime\\": 0,\\n \\"TalkTime\\": 0,\\n \\"HeldTime\\": 12,\\n \\"CallIds\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\\\n\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>11</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <IvrTime>8</IvrTime>\\n <CalledNumber>133xxxx2315</CalledNumber>\\n <ContactType>Outbound</ContactType>\\n <ContactDisposition>Success</ContactDisposition>\\n <SatisfactionIndex>1</SatisfactionIndex>\\n <ContactId>job-125152394144124921</ContactId>\\n <CallingNumber>053xxxx3128</CallingNumber>\\n <RecordingReady>true</RecordingReady>\\n <SkillGroupNames>默认技能组</SkillGroupNames>\\n <SatisfactionSurveyOffered>true</SatisfactionSurveyOffered>\\n <QueueTime>0</QueueTime>\\n <EstablishedTime>1532448000000</EstablishedTime>\\n <SkillGroupIds>skg-default@ccc-test</SkillGroupIds>\\n <Broker>053xxxx3127</Broker>\\n <InstanceId>ccc-test</InstanceId>\\n <ReleaseInitiator>agent</ReleaseInitiator>\\n <EarlyMediaState>NotConnected</EarlyMediaState>\\n <StartTime>1532448000000</StartTime>\\n <RingTime>5</RingTime>\\n <CallDuration>30</CallDuration>\\n <CalleeLocation>北京</CalleeLocation>\\n <ReleaseTime>1532707199000</ReleaseTime>\\n <SatisfactionSurveyChannel>IVR</SatisfactionSurveyChannel>\\n <AgentIds>user-test@ccc-test</AgentIds>\\n <SatisfactionDescription>满意</SatisfactionDescription>\\n <AdditionalBroker>053xxxx3128</AdditionalBroker>\\n <CallerLocation>北京</CallerLocation>\\n <WaitTime>5</WaitTime>\\n <AgentNames>云呼测试坐席</AgentNames>\\n <RecordingDuration>10</RecordingDuration>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListCallDetailRecordsV2' => [ + 'summary' => '通话记录列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREccc5HY0NN', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1657853640015', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1657879880010', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DESC', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'OrderByField', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'startTime', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AUDIO', + ], + ], + [ + 'name' => 'ContactIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["job-123456789","job-234567891"]', + ], + ], + [ + 'name' => 'ContactTypeList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["INBOUND","OUTBOUND"]', + ], + ], + [ + 'name' => 'ContactDispositionList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["Success","NoAnswer"]', + ], + ], + [ + 'name' => 'EarlyMediaStateList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["NotConnected","NoAnswer"]', + ], + ], + [ + 'name' => 'SatisfactionSurveyChannel', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'IVR', + ], + ], + [ + 'name' => 'SatisfactionRateList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["1","3"]', + ], + ], + [ + 'name' => 'SatisfactionDescriptionList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '['."\n" + .' "skg1@ccc-test",'."\n" + .' "skg2@ccc-test"'."\n" + .']', + ], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'FirstAgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'CallingNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '191***9993', + ], + ], + [ + 'name' => 'CalledNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '191***9993', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '191***9993', + ], + ], + [ + 'name' => 'Broker', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '021****4972', + ], + ], + [ + 'name' => 'AccessChannelTypeList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["Web","AliMe"]', + ], + ], + [ + 'name' => 'ReleaseInitiatorList', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ReleaseReasonList', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'AnalyticsReportReady', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '01B12EE4-6AF2-4730-8B78-EC15F4E5C025', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContactDisposition' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'ContactType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OUTBOUND', + ], + 'EstablishedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532448000000', + ], + 'CalledNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1332315****', + ], + 'AdditionalBroker' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'SatisfactionSurveyChannel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'IVR', + ], + 'ReleaseTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532707199000', + ], + 'WaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'SkillGroupNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IvrTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '8', + ], + 'SatisfactionDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ReleaseInitiator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'customer', + ], + 'AgentIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'CallDuration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16', + ], + 'RecordingReady' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'RingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'SatisfactionSurveyOffered' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AgentNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1631440860000', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-2255019651513856', + ], + 'RecordingDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'CallingNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'QueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Broker' => [ + 'description' => '', + 'type' => 'string', + 'example' => '053xxxx3127', + ], + 'SkillGroupIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skg-default@ccc-test', + ], + 'CallerLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CalleeLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'EarlyMediaState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NotConnected', + ], + 'ReleaseReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '486:USER_BUSY', + ], + 'DialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HeldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'EarlyMediaText' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'OffSiteAgentIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skg-default@ccc-test', + ], + 'OffsiteAgentDestinationNumbers' => [ + 'description' => '', + 'type' => 'string', + 'example' => '80312348', + ], + 'MessagesSent' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'MessagesSentByCustomer' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'MessagesSentByAgent' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'FirstResponseTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'MediaType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CHAT', + ], + 'TransferCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'AccessChannelType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Web', + ], + 'AccessChannelName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AccessChannelUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test-user-id', + ], + 'AccessChannelUserName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ClientIpAddress' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10.100.2.1', + ], + 'ClientLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => '---', + ], + 'ClientUserAgent' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', + ], + 'ClientAppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'OffsiteAgentOriginatorNumbers' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0101257****', + ], + 'CallIds' => [ + 'type' => 'string', + ], + 'AnalyticsReportReady' => [ + 'type' => 'boolean', + ], + 'AnalyticsReport' => [ + 'type' => 'object', + 'properties' => [ + 'ProblemSolving' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Solved' => [ + 'type' => 'boolean', + ], + 'Problem' => [ + 'type' => 'string', + ], + 'Solution' => [ + 'type' => 'string', + ], + ], + ], + 'Emotion' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Type' => [ + 'type' => 'string', + ], + 'Confidence' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Remark' => [ + 'type' => 'string', + ], + ], + ], + 'Satisfaction' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'SatisfactionDescription' => [ + 'type' => 'string', + ], + 'Remark' => [ + 'type' => 'string', + ], + ], + ], + 'TodoList' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Tasks' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'OutsideNumberReleaseReason' => [ + 'type' => 'string', + ], + 'SummaryIndex' => [ + 'type' => 'object', + 'properties' => [ + 'Keywords' => [ + 'type' => 'string', + ], + ], + ], + 'VoicebotOriginatorNumber' => [ + 'type' => 'string', + ], + 'VoicebotDestinationNumber' => [ + 'type' => 'string', + ], + 'OffsiteAgentReleaseReason' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"01B12EE4-6AF2-4730-8B78-EC15F4E5C025\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"ContactDisposition\\": \\"Success\\",\\n \\"ContactType\\": \\"OUTBOUND\\",\\n \\"EstablishedTime\\": 1532448000000,\\n \\"CalledNumber\\": \\"1332315****\\",\\n \\"AdditionalBroker\\": \\"0533128****\\",\\n \\"SatisfactionIndex\\": 1,\\n \\"SatisfactionSurveyChannel\\": \\"IVR\\",\\n \\"ReleaseTime\\": 1532707199000,\\n \\"WaitTime\\": 5,\\n \\"SkillGroupNames\\": \\"测试技能组1,测试技能组2\\",\\n \\"IvrTime\\": 8,\\n \\"SatisfactionDescription\\": \\"满意\\",\\n \\"ReleaseInitiator\\": \\"customer\\",\\n \\"AgentIds\\": \\"agent@ccc-test\\",\\n \\"CallDuration\\": \\"16\\",\\n \\"RecordingReady\\": true,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"RingTime\\": 5,\\n \\"SatisfactionSurveyOffered\\": true,\\n \\"AgentNames\\": \\"云呼测试坐席\\",\\n \\"StartTime\\": 1631440860000,\\n \\"ContactId\\": \\"job-2255019651513856\\",\\n \\"RecordingDuration\\": 10,\\n \\"CallingNumber\\": \\"0533128****\\",\\n \\"QueueTime\\": 0,\\n \\"Broker\\": \\"053xxxx3127\\",\\n \\"SkillGroupIds\\": \\"skg-default@ccc-test\\",\\n \\"CallerLocation\\": \\"北京市-北京\\",\\n \\"CalleeLocation\\": \\"山东省-济南\\",\\n \\"EarlyMediaState\\": \\"NotConnected\\",\\n \\"ReleaseReason\\": \\"486:USER_BUSY\\",\\n \\"DialingTime\\": 0,\\n \\"TalkTime\\": 0,\\n \\"HeldTime\\": 12,\\n \\"EarlyMediaText\\": \\"正在通话中\\",\\n \\"OffSiteAgentIds\\": \\"skg-default@ccc-test\\",\\n \\"OffsiteAgentDestinationNumbers\\": \\"80312348\\",\\n \\"MessagesSent\\": 10,\\n \\"MessagesSentByCustomer\\": 5,\\n \\"MessagesSentByAgent\\": 5,\\n \\"FirstResponseTime\\": 10,\\n \\"MediaType\\": \\"CHAT\\",\\n \\"TransferCount\\": 1,\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"AccessChannelName\\": \\"测试渠道\\",\\n \\"AccessChannelUserId\\": \\"test-user-id\\",\\n \\"AccessChannelUserName\\": \\"测试访客\\",\\n \\"ClientIpAddress\\": \\"10.100.2.1\\",\\n \\"ClientLocation\\": \\"---\\",\\n \\"ClientUserAgent\\": \\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36\\",\\n \\"ClientAppName\\": \\"未知\\",\\n \\"OffsiteAgentOriginatorNumbers\\": \\"0101257****\\",\\n \\"CallIds\\": \\"dxxx1sdf,xkkwwwa\\",\\n \\"AnalyticsReportReady\\": true,\\n \\"AnalyticsReport\\": {\\n \\"ProblemSolving\\": {\\n \\"TaskId\\": \\"8bf18b7a10064b29a75946a8d5b8469a\\",\\n \\"Success\\": false,\\n \\"Solved\\": true,\\n \\"Problem\\": \\"告警问题\\",\\n \\"Solution\\": \\"富化服务自动关闭原始告警\\"\\n },\\n \\"Emotion\\": {\\n \\"TaskId\\": \\"0ff07fe35670423089dbdf12766d962f\\",\\n \\"Success\\": true,\\n \\"Type\\": \\"中性\\",\\n \\"Confidence\\": 50,\\n \\"Remark\\": \\"客户没情绪变化\\"\\n },\\n \\"Satisfaction\\": {\\n \\"TaskId\\": \\"cb67479ce28243b28ff39948feaa0806\\",\\n \\"Success\\": true,\\n \\"SatisfactionDescription\\": \\"满意\\",\\n \\"Remark\\": \\"客户表示满意\\"\\n },\\n \\"TodoList\\": {\\n \\"TaskId\\": \\"cb67479ce28243b28ff39948feaa0806\\",\\n \\"Success\\": true,\\n \\"Tasks\\": [\\n \\"回访\\"\\n ]\\n }\\n },\\n \\"OutsideNumberReleaseReason\\": \\"NoAnswer\\",\\n \\"SummaryIndex\\": {\\n \\"Keywords\\": \\"客服\\"\\n },\\n \\"VoicebotOriginatorNumber\\": \\"021xxxxxxx\\",\\n \\"VoicebotDestinationNumber\\": \\"134xxxxxx\\",\\n \\"OffsiteAgentReleaseReason\\": \\"IVRException\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListHistoricalAgentReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'AgentIdList', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '["agent1@ccc-test", "agent2@ccc-test"]', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532448000000', + ], + ], + [ + 'name' => 'StopTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532707199000', + 'deprecated' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent1@ccc-test', + ], + 'DisplayId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '001', + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AccessChannelTypeDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AccessChannelType' => [ + 'type' => 'string', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ServiceLevel15' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'string', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalOnSiteOnlineTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOnSiteLoggedInTime代替此参数', + ], + 'TotalOffSiteOnlineTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOffSiteLoggedInTime代替此参数', + ], + 'TotalOfficePhoneOnlineTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOfficePhoneLoggedInTime代替此参数', + ], + 'BreakCodeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'type' => 'string', + ], + 'Count' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Duration' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + 'FirstCheckInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'LastCheckOutTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOutboundScenarioTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOutboundScenarioLoggedInTime代替此参数', + ], + 'TotalOutboundScenarioReadyTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOfficePhoneLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOffSiteLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOnSiteLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOutboundScenarioLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'SkillGroupIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + 'SkillGroupNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Back2Back' => [ + 'type' => 'object', + 'properties' => [ + 'CallsDialed' => [ + 'type' => 'string', + ], + 'AnswerRate' => [ + 'type' => 'string', + ], + 'CallsAnswered' => [ + 'type' => 'string', + ], + 'TotalTalkTime' => [ + 'type' => 'string', + ], + 'MaxTalkTime' => [ + 'type' => 'string', + ], + 'AverageTalkTime' => [ + 'type' => 'string', + ], + 'TotalRingTime' => [ + 'type' => 'string', + ], + 'MaxRingTime' => [ + 'type' => 'string', + ], + 'AverageRingTime' => [ + 'type' => 'string', + ], + 'TotalCustomerRingTime' => [ + 'type' => 'string', + ], + 'MaxCustomerRingTime' => [ + 'type' => 'string', + ], + 'AverageCustomerRingTime' => [ + 'type' => 'string', + ], + 'CallsAgentHandled' => [ + 'type' => 'string', + ], + 'AgentHandleRate' => [ + 'type' => 'string', + ], + 'CallsCustomerAnswered' => [ + 'type' => 'string', + ], + 'CustomerAnswerRate' => [ + 'type' => 'string', + ], + ], + ], + 'Internal' => [ + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageTalkTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'MaxTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsTalked' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsDialed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"AgentName\\": \\"坐席小王\\",\\n \\"AgentId\\": \\"agent1@ccc-test\\",\\n \\"DisplayId\\": \\"001\\",\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsHandled\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"CallsOffered\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AccessChannelTypeDetails\\": [\\n {\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"CallsOffered\\": 3\\n }\\n ],\\n \\"AverageFirstResponseTime\\": 10,\\n \\"AverageResponseTime\\": 12,\\n \\"ServiceLevel15\\": 0.85,\\n \\"TotalMessagesSent\\": 16,\\n \\"TotalMessagesSentByAgent\\": 7,\\n \\"TotalMessagesSentByCustomer\\": \\"9\\"\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsDialed\\": 0,\\n \\"CallsAnswered\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalDialingTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"MaxDialingTime\\": 0,\\n \\"AnswerRate\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageDialingTime\\": 0\\n },\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"TotalLoggedInTime\\": 0,\\n \\"OccupancyRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"AverageBreakTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"MaxBreakTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxReadyTime\\": 0,\\n \\"AverageReadyTime\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalReadyTime\\": 0,\\n \\"TotalBreakTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalCalls\\": 0,\\n \\"TotalOnSiteOnlineTime\\": 0,\\n \\"TotalOffSiteOnlineTime\\": 0,\\n \\"TotalOfficePhoneOnlineTime\\": 0,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"会议\\",\\n \\"Count\\": 3,\\n \\"Duration\\": 120\\n }\\n ],\\n \\"FirstCheckInTime\\": 1686030515000,\\n \\"LastCheckOutTime\\": 1686030515000,\\n \\"TotalOutboundScenarioTime\\": 0,\\n \\"TotalOutboundScenarioReadyTime\\": 100,\\n \\"TotalOfficePhoneLoggedInTime\\": 3600,\\n \\"TotalOffSiteLoggedInTime\\": 100,\\n \\"TotalOnSiteLoggedInTime\\": 100,\\n \\"TotalOutboundScenarioLoggedInTime\\": 100\\n },\\n \\"SkillGroupIds\\": \\"[\\\\\\"skillgroup1@ccc-test\\\\\\",\\\\\\"skillgroup2@ccc-test\\\\\\"]\\",\\n \\"SkillGroupNames\\": \\"[\\\\\\"测试技能组1\\\\\\",\\\\\\"测试技能组2\\\\\\"]\\",\\n \\"Back2Back\\": {\\n \\"CallsDialed\\": \\"100\\",\\n \\"AnswerRate\\": \\"0.6\\",\\n \\"CallsAnswered\\": \\"100\\",\\n \\"TotalTalkTime\\": \\"100\\",\\n \\"MaxTalkTime\\": \\"100\\",\\n \\"AverageTalkTime\\": \\"100\\",\\n \\"TotalRingTime\\": \\"100\\",\\n \\"MaxRingTime\\": \\"100\\",\\n \\"AverageRingTime\\": \\"100\\",\\n \\"TotalCustomerRingTime\\": \\"100\\",\\n \\"MaxCustomerRingTime\\": \\"100\\",\\n \\"AverageCustomerRingTime\\": \\"100\\",\\n \\"CallsAgentHandled\\": \\"10\\",\\n \\"AgentHandleRate\\": \\"1\\",\\n \\"CallsCustomerAnswered\\": \\"7\\",\\n \\"CustomerAnswerRate\\": \\"0.7\\"\\n },\\n \\"Internal\\": {\\n \\"TotalTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"CallsOffered\\": 100,\\n \\"CallsHandled\\": 100,\\n \\"CallsTalked\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>10</TotalCount>\\n <PageSize>100</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <DisplayId>8001xxxx</DisplayId>\\n <AgentId>user-test@ccc-test</AgentId>\\n <AgentName>云呼测试坐席</AgentName>\\n <Inbound>\\n <TotalWorkTime>0</TotalWorkTime>\\n <CallsRinged>0</CallsRinged>\\n <TotalHoldTime>0</TotalHoldTime>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <CallsOffered>0</CallsOffered>\\n <MaxRingTime>0</MaxRingTime>\\n <CallsHold>0</CallsHold>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHandled>0</CallsHandled>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalRingTime>0</TotalRingTime>\\n <HandleRate>0</HandleRate>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageRingTime>0</AverageRingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>0</AverageWorkTime>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n <MaxWorkTime>0</MaxWorkTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n </Inbound>\\n <Outbound>\\n <TotalDialingTime>0</TotalDialingTime>\\n <TotalWorkTime>0</TotalWorkTime>\\n <CallsRinged>0</CallsRinged>\\n <TotalHoldTime>0</TotalHoldTime>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <CallsHold>0</CallsHold>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <TotalRingTime>0</TotalRingTime>\\n <AverageDialingTime>0</AverageDialingTime>\\n <CallsAnswered>0</CallsAnswered>\\n <TotalTalkTime>0</TotalTalkTime>\\n <CallsDialed>0</CallsDialed>\\n <MaxDialingTime>0</MaxDialingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <AverageTalkTime>0</AverageTalkTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AnswerRate>0</AnswerRate>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <AverageRingTime>0</AverageRingTime>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>0</AverageWorkTime>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n <MaxWorkTime>0</MaxWorkTime>\\n </Outbound>\\n <Overall>\\n <TotalReadyTime>0</TotalReadyTime>\\n <TotalCalls>0</TotalCalls>\\n <TotalBreakTime>0</TotalBreakTime>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <AverageBreakTime>0</AverageBreakTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageReadyTime>0</AverageReadyTime>\\n <TotalLoggedInTime>0</TotalLoggedInTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <MaxReadyTime>0</MaxReadyTime>\\n <AverageWorkTime>0</AverageWorkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxBreakTime>0</MaxBreakTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <OccupancyRate>0</OccupancyRate>\\n </Overall>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListHistoricalSkillGroupReport' => [ + 'summary' => '技能组汇总报表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccOQKOLI', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '1', + 'format' => 'int32', + 'maximum' => '100', + 'minimum' => '1', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '100', + 'format' => 'int32', + 'maximum' => '100', + 'minimum' => '1', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'docRequired' => false, + 'example' => '["skillgroup1@ccc-test", "skillgroup2@ccc-test2"]', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '1532448000000', + 'format' => 'int64', + 'maximum' => '4133952000000', + 'minimum' => '0', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '1532707199000', + 'format' => 'int64', + 'maximum' => '4133952000000', + 'minimum' => '0', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'ccc-test', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Code' => [ + 'description' => '', + 'example' => 'OK', + 'type' => 'string', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'example' => '200', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Message' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '26A34338-5CD9-4C95-A7A6-5BDCE76C6B94', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'type' => 'integer', + ], + 'PageSize' => [ + 'description' => '', + 'example' => '100', + 'format' => 'int32', + 'type' => 'integer', + ], + 'TotalCount' => [ + 'description' => '', + 'example' => '4', + 'format' => 'int32', + 'type' => 'integer', + ], + 'List' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'SkillGroupName' => [ + 'description' => '', + 'example' => 'skillgroup', + 'type' => 'string', + ], + 'SkillGroupId' => [ + 'description' => '', + 'example' => 'skillgroup@ccc-test', + 'type' => 'string', + ], + 'Inbound' => [ + 'description' => '', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'example' => '5', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsOverflow' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAbandonedInRing' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsHandled' => [ + 'description' => '', + 'example' => '7', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'example' => '85', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalAbandonedInRingTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'example' => '12', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageWaitTime' => [ + 'description' => '', + 'example' => '5', + 'format' => 'float', + 'type' => 'number', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxAbandonTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'example' => '13', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsQueued' => [ + 'description' => '', + 'example' => '7', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'AverageAbandonedInRingTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'AverageAbandonTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsRinged' => [ + 'description' => '', + 'example' => '7', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAbandoned' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxAbandonedInQueueTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalWaitTime' => [ + 'description' => '', + 'example' => '34', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalRingTime' => [ + 'description' => '', + 'example' => '32', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxRingTime' => [ + 'description' => '', + 'example' => '12', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AbandonRate' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'example' => '447', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalAbandonTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsOffered' => [ + 'description' => '', + 'example' => '7', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxAbandonedInRingTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxWaitTime' => [ + 'description' => '', + 'example' => '13', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageAbandonedInQueueTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'ServiceLevel20' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'example' => '64', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsHold' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'HandleRate' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsTimeout' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'TotalAbandonedInQueueTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAbandonedInQueue' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsQueuingTimeout' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingOverflow' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AccessChannelTypeDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AccessChannelType' => [ + 'type' => 'string', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsQueuingFailed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ServiceLevel15' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ServiceLevel30' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + 'type' => 'object', + ], + 'Outbound' => [ + 'description' => '', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsDialed' => [ + 'description' => '', + 'example' => '6', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAnswered' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'example' => '9', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'example' => '218', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'example' => '2', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsRinged' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalRingTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxRingTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'example' => '3', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'example' => '12', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AnswerRate' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'example' => '3', + 'format' => 'float', + 'type' => 'number', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'CallsHold' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'example' => '37', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'Overall' => [ + 'description' => '', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'example' => '449', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'example' => '23218', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OccupancyRate' => [ + 'description' => '', + 'example' => '0.02332222293912065', + 'format' => 'float', + 'type' => 'number', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'example' => '94', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'example' => '12', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'example' => '8', + 'format' => 'float', + 'type' => 'number', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'example' => '19328', + 'format' => 'int64', + 'type' => 'integer', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'example' => '22428', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'example' => '3', + 'format' => 'int64', + 'type' => 'integer', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'TotalCalls' => [ + 'description' => '', + 'example' => '13', + 'format' => 'int64', + 'type' => 'integer', + ], + 'BreakCodeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'type' => 'string', + ], + 'Count' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Duration' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + 'type' => 'object', + ], + 'Back2Back' => [ + 'type' => 'object', + 'properties' => [ + 'CallsDialed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageTalkTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageRingTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalCustomerRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxCustomerRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageCustomerRingTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AgentHandleRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsCustomerAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CustomerAnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"26A34338-5CD9-4C95-A7A6-5BDCE76C6B94\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 4,\\n \\"List\\": [\\n {\\n \\"SkillGroupName\\": \\"skillgroup\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 5,\\n \\"CallsOverflow\\": 0,\\n \\"CallsAbandonedInRing\\": 0,\\n \\"CallsHandled\\": 7,\\n \\"TotalWorkTime\\": 85,\\n \\"TotalAbandonedInRingTime\\": 0,\\n \\"MaxWorkTime\\": 12,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"AverageWaitTime\\": 5,\\n \\"TotalHoldTime\\": 0,\\n \\"MaxAbandonTime\\": 0,\\n \\"AverageWorkTime\\": 13,\\n \\"CallsQueued\\": 7,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"AverageAbandonedInRingTime\\": 0,\\n \\"AverageAbandonTime\\": 0,\\n \\"CallsRinged\\": 7,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsAbandoned\\": 0,\\n \\"MaxAbandonedInQueueTime\\": 0,\\n \\"TotalWaitTime\\": 34,\\n \\"TotalRingTime\\": 32,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 12,\\n \\"AbandonRate\\": 0,\\n \\"TotalTalkTime\\": 447,\\n \\"TotalAbandonTime\\": 0,\\n \\"CallsOffered\\": 7,\\n \\"MaxAbandonedInRingTime\\": 0,\\n \\"MaxWaitTime\\": 13,\\n \\"AverageAbandonedInQueueTime\\": 0,\\n \\"ServiceLevel20\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"AverageTalkTime\\": 64,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 1,\\n \\"CallsTimeout\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalAbandonedInQueueTime\\": 0,\\n \\"CallsAbandonedInQueue\\": 0,\\n \\"CallsQueuingTimeout\\": 0,\\n \\"CallsQueuingOverflow\\": 0,\\n \\"AccessChannelTypeDetails\\": [\\n {\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"CallsOffered\\": 2\\n }\\n ],\\n \\"AverageFirstResponseTime\\": 6,\\n \\"AverageResponseTime\\": 8,\\n \\"CallsQueuingFailed\\": 0,\\n \\"ServiceLevel15\\": 0.7,\\n \\"ServiceLevel30\\": 0.9,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 9,\\n \\"TotalMessagesSentByCustomer\\": 3\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsDialed\\": 6,\\n \\"CallsAnswered\\": 1,\\n \\"TotalWorkTime\\": 9,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalDialingTime\\": 218,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 2,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 3,\\n \\"MaxDialingTime\\": 12,\\n \\"AnswerRate\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 3,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageDialingTime\\": 37\\n },\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 449,\\n \\"TotalLoggedInTime\\": 23218,\\n \\"OccupancyRate\\": 0.02332222293912065,\\n \\"TotalWorkTime\\": 94,\\n \\"MaxHoldTime\\": 0,\\n \\"MaxWorkTime\\": 12,\\n \\"AverageBreakTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"MaxBreakTime\\": 1,\\n \\"AverageWorkTime\\": 8,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxReadyTime\\": 19328,\\n \\"AverageReadyTime\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalReadyTime\\": 22428,\\n \\"TotalBreakTime\\": 3,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalCalls\\": 13,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"会议\\",\\n \\"Count\\": 2,\\n \\"Duration\\": 3600\\n }\\n ]\\n },\\n \\"Back2Back\\": {\\n \\"CallsDialed\\": 100,\\n \\"AnswerRate\\": 0.6,\\n \\"CallsAnswered\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"AverageRingTime\\": 100,\\n \\"TotalCustomerRingTime\\": 100,\\n \\"MaxCustomerRingTime\\": 100,\\n \\"AverageCustomerRingTime\\": 100,\\n \\"AgentHandleRate\\": 1,\\n \\"CallsCustomerAnswered\\": 8,\\n \\"CustomerAnswerRate\\": 0.8\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>26A34338-5CD9-4C95-A7A6-5BDCE76C6B94</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>4</TotalCount>\\n <PageSize>100</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <SkillGroupName>test1</SkillGroupName>\\n <SkillGroupId>skg-test1@ccc-test</SkillGroupId>\\n <Inbound>\\n <ServiceLevel20>0</ServiceLevel20>\\n <CallsAbandonedInQueue>0</CallsAbandonedInQueue>\\n <TotalWorkTime>85</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>7</CallsRinged>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>12</MaxRingTime>\\n <CallsOffered>7</CallsOffered>\\n <CallsAbandoned>0</CallsAbandoned>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <MaxAbandonedInRingTime>0</MaxAbandonedInRingTime>\\n <TotalRingTime>32</TotalRingTime>\\n <HandleRate>1</HandleRate>\\n <AverageAbandonedInQueueTime>0</AverageAbandonedInQueueTime>\\n <TotalTalkTime>447</TotalTalkTime>\\n <AverageWaitTime>5</AverageWaitTime>\\n <TotalAbandonedInRingTime>0</TotalAbandonedInRingTime>\\n <CallsQueued>7</CallsQueued>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <TotalAbandonTime>0</TotalAbandonTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>64</AverageTalkTime>\\n <MaxAbandonedInQueueTime>0</MaxAbandonedInQueueTime>\\n <CallsTimeout>0</CallsTimeout>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <CallsAbandonedInRing>0</CallsAbandonedInRing>\\n <CallsOverflow>0</CallsOverflow>\\n <CallsHandled>7</CallsHandled>\\n <MaxWaitTime>13</MaxWaitTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <MaxAbandonTime>0</MaxAbandonTime>\\n <AverageRingTime>5</AverageRingTime>\\n <TotalWaitTime>34</TotalWaitTime>\\n <AverageAbandonTime>0</AverageAbandonTime>\\n <AverageAbandonedInRingTime>0</AverageAbandonedInRingTime>\\n <TotalAbandonedInQueueTime>0</TotalAbandonedInQueueTime>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>13</AverageWorkTime>\\n <MaxWorkTime>12</MaxWorkTime>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n <AbandonRate>0</AbandonRate>\\n </Inbound>\\n <Outbound>\\n <TotalDialingTime>218</TotalDialingTime>\\n <TotalWorkTime>9</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>0</CallsRinged>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <TotalRingTime>0</TotalRingTime>\\n <AverageDialingTime>37</AverageDialingTime>\\n <CallsAnswered>1</CallsAnswered>\\n <TotalTalkTime>3</TotalTalkTime>\\n <CallsDialed>6</CallsDialed>\\n <MaxDialingTime>12</MaxDialingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>3</AverageTalkTime>\\n <AnswerRate>0</AnswerRate>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <AverageRingTime>0</AverageRingTime>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>2</AverageWorkTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n </Outbound>\\n <Overall>\\n <TotalReadyTime>22428</TotalReadyTime>\\n <TotalCalls>13</TotalCalls>\\n <TotalBreakTime>3</TotalBreakTime>\\n <TotalWorkTime>94</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <AverageBreakTime>0</AverageBreakTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalTalkTime>449</TotalTalkTime>\\n <AverageReadyTime>0</AverageReadyTime>\\n <TotalLoggedInTime>23218</TotalLoggedInTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxReadyTime>19328</MaxReadyTime>\\n <AverageWorkTime>8</AverageWorkTime>\\n <MaxWorkTime>12</MaxWorkTime>\\n <MaxBreakTime>1</MaxBreakTime>\\n <OccupancyRate>0.02332222293912065</OccupancyRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n </Overall>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'extraInfo' => ' ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'ListIntervalAgentReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532448000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1532707199000', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Hourly' => '', + 'Daily' => '', + ], + 'example' => 'Hourly', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620291600000', + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AccessChannelTypeDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AccessChannelType' => [ + 'type' => 'string', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ServiceLevel15' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '148', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '60', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '30', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '435', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '763', + ], + 'LastCheckoutTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LastCheckOutTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '914', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalOnSiteOnlineTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOnSiteLoggedInTime代替此参数', + ], + 'TotalOffSiteOnlineTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOffSiteLoggedInTime代替此参数', + ], + 'TotalOfficePhoneOnlineTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOfficePhoneLoggedInTime代替此参数', + ], + 'BreakCodeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'type' => 'string', + ], + 'Count' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Duration' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + 'TotalOutboundScenarioTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '已弃用,请使用TotalOutboundScenarioLoggedInTime代替此参数', + ], + 'TotalOutboundScenarioReadyTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'FirstCheckInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalOfficePhoneLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOffSiteLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOnSiteLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalOutboundScenarioLoggedInTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Back2Back' => [ + 'type' => 'object', + 'properties' => [ + 'CallsDialed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageTalkTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageRingTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalCustomerRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxCustomerRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageCustomerRingTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsAgentHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AgentHandleRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsCustomerAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CustomerAnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + 'Internal' => [ + 'type' => 'object', + 'properties' => [ + 'AverageTalkTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsDialed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsTalked' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": [\\n {\\n \\"StatsTime\\": 1620291600000,\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsHandled\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"CallsOffered\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AccessChannelTypeDetails\\": [\\n {\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"CallsOffered\\": 2\\n }\\n ],\\n \\"AverageFirstResponseTime\\": 8,\\n \\"AverageResponseTime\\": 10,\\n \\"ServiceLevel15\\": 0.6,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 10,\\n \\"TotalMessagesSentByCustomer\\": 2\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsDialed\\": 5,\\n \\"CallsAnswered\\": 0,\\n \\"TotalWorkTime\\": 4,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"MaxWorkTime\\": 2,\\n \\"TotalDialingTime\\": 148,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 1,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"MaxDialingTime\\": 60,\\n \\"AnswerRate\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageDialingTime\\": 30\\n },\\n \\"Overall\\": {\\n \\"OccupancyRate\\": 0,\\n \\"TotalWorkTime\\": 4,\\n \\"MaxWorkTime\\": 2,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 1,\\n \\"MaxBreakTime\\": 1,\\n \\"SatisfactionIndex\\": 0,\\n \\"MaxReadyTime\\": 435,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalReadyTime\\": 763,\\n \\"LastCheckoutTime\\": 0,\\n \\"LastCheckOutTime\\": 0,\\n \\"TotalCalls\\": 5,\\n \\"TotalLoggedInTime\\": 914,\\n \\"TotalTalkTime\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageBreakTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageReadyTime\\": 0,\\n \\"TotalBreakTime\\": 1,\\n \\"TotalOnSiteOnlineTime\\": 0,\\n \\"TotalOffSiteOnlineTime\\": 0,\\n \\"TotalOfficePhoneOnlineTime\\": 0,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"会议\\",\\n \\"Count\\": 10,\\n \\"Duration\\": 100\\n }\\n ],\\n \\"TotalOutboundScenarioTime\\": 0,\\n \\"TotalOutboundScenarioReadyTime\\": 100,\\n \\"FirstCheckInTime\\": 0,\\n \\"TotalOfficePhoneLoggedInTime\\": 100,\\n \\"TotalOffSiteLoggedInTime\\": 100,\\n \\"TotalOnSiteLoggedInTime\\": 100,\\n \\"TotalOutboundScenarioLoggedInTime\\": 100\\n },\\n \\"Back2Back\\": {\\n \\"CallsDialed\\": 100,\\n \\"AnswerRate\\": 0.5,\\n \\"CallsAnswered\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 100,\\n \\"AverageTalkTime\\": 100,\\n \\"TotalRingTime\\": 100,\\n \\"MaxRingTime\\": 100,\\n \\"AverageRingTime\\": 100,\\n \\"TotalCustomerRingTime\\": 100,\\n \\"MaxCustomerRingTime\\": 100,\\n \\"AverageCustomerRingTime\\": 100,\\n \\"CallsAgentHandled\\": 12,\\n \\"AgentHandleRate\\": 1,\\n \\"CallsCustomerAnswered\\": 9,\\n \\"CustomerAnswerRate\\": 0.75\\n },\\n \\"Internal\\": {\\n \\"AverageTalkTime\\": 100,\\n \\"CallsAnswered\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsHandled\\": 100,\\n \\"CallsOffered\\": 100,\\n \\"CallsTalked\\": 80\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <StatsTime>1620291600000</StatsTime>\\n <Inbound>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>0</CallsRinged>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <CallsOffered>0</CallsOffered>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <CallsHandled>0</CallsHandled>\\n <TotalRingTime>0</TotalRingTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <HandleRate>0</HandleRate>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageRingTime>0</AverageRingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>0</AverageWorkTime>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <MaxWorkTime>0</MaxWorkTime>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n </Inbound>\\n <Outbound>\\n <TotalDialingTime>148</TotalDialingTime>\\n <TotalWorkTime>4</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>0</CallsRinged>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <TotalRingTime>0</TotalRingTime>\\n <AverageDialingTime>30</AverageDialingTime>\\n <CallsAnswered>0</CallsAnswered>\\n <TotalTalkTime>0</TotalTalkTime>\\n <CallsDialed>5</CallsDialed>\\n <MaxDialingTime>60</MaxDialingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n <AnswerRate>0</AnswerRate>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <AverageRingTime>0</AverageRingTime>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>1</AverageWorkTime>\\n <MaxWorkTime>2</MaxWorkTime>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n </Outbound>\\n <Overall>\\n <TotalReadyTime>763</TotalReadyTime>\\n <TotalCalls>5</TotalCalls>\\n <TotalBreakTime>1</TotalBreakTime>\\n <LastCheckoutTime>0</LastCheckoutTime>\\n <TotalWorkTime>4</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <AverageBreakTime>0</AverageBreakTime>\\n <FirstCheckInTime>0</FirstCheckInTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageReadyTime>0</AverageReadyTime>\\n <TotalLoggedInTime>914</TotalLoggedInTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxReadyTime>435</MaxReadyTime>\\n <AverageWorkTime>1</AverageWorkTime>\\n <MaxWorkTime>2</MaxWorkTime>\\n <MaxBreakTime>1</MaxBreakTime>\\n <OccupancyRate>0</OccupancyRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n </Overall>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListIntervalInstanceReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1620230400000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1620316799000', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Hourly' => '', + 'Daily' => '', + ], + 'example' => 'Hourly', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620230400000', + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '5', + ], + 'CallsVoicemail' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonedInIVRTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'CallsIVRException' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInIVR' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '17', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageAbandonTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AbandonedRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'CallsQueuingFailed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '447', + ], + 'MaxAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageAbandonedInIVRTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxWaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '64', + ], + 'CallsAttendedTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonedInIVRTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsQueuingOverflow' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInRing' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '85', + ], + 'AverageWaitTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '5', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '13', + ], + 'CallsQueued' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'AverageAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAbandoned' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInVoiceNavigator' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '219', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'TotalAbandonTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'CallsQueuingTimeout' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ServiceLevel20' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsForwardToOutsideNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAbandonedInQueue' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AbandonRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsCausedIVRException' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsToVoicemail' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsAttendedTransferred' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": [\\n {\\n \\"StatsTime\\": 1620230400000,\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 5,\\n \\"CallsVoicemail\\": 0,\\n \\"MaxAbandonedInIVRTime\\": 0,\\n \\"CallsHandled\\": 7,\\n \\"CallsIVRException\\": 0,\\n \\"CallsAbandonedInIVR\\": 0,\\n \\"MaxWorkTime\\": 17,\\n \\"TotalHoldTime\\": 0,\\n \\"MaxAbandonTime\\": 0,\\n \\"AverageAbandonTime\\": 0,\\n \\"AbandonedRate\\": 0,\\n \\"CallsRinged\\": 7,\\n \\"CallsQueuingFailed\\": 0,\\n \\"TotalRingTime\\": 32,\\n \\"TotalTalkTime\\": 447,\\n \\"MaxAbandonedInRingTime\\": 0,\\n \\"CallsBlindTransferred\\": 0,\\n \\"AverageAbandonedInIVRTime\\": 0,\\n \\"AverageAbandonedInQueueTime\\": 0,\\n \\"MaxWaitTime\\": 13,\\n \\"AverageTalkTime\\": 64,\\n \\"CallsAttendedTransferred\\": 0,\\n \\"TotalAbandonedInIVRTime\\": 0,\\n \\"CallsQueuingOverflow\\": 0,\\n \\"CallsAbandonedInRing\\": 0,\\n \\"TotalAbandonedInRingTime\\": 0,\\n \\"TotalWorkTime\\": 85,\\n \\"AverageWaitTime\\": 5,\\n \\"AverageWorkTime\\": 13,\\n \\"CallsQueued\\": 7,\\n \\"AverageAbandonedInRingTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsAbandoned\\": 0,\\n \\"MaxAbandonedInQueueTime\\": 0,\\n \\"CallsAbandonedInVoiceNavigator\\": 0,\\n \\"TotalWaitTime\\": 34,\\n \\"MaxTalkTime\\": 219,\\n \\"MaxRingTime\\": 12,\\n \\"TotalAbandonTime\\": 0,\\n \\"CallsOffered\\": 7,\\n \\"CallsQueuingTimeout\\": 0,\\n \\"ServiceLevel20\\": 1,\\n \\"MaxHoldTime\\": 0,\\n \\"CallsForwardToOutsideNumber\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 1,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"CallsAbandonedInQueue\\": 0,\\n \\"TotalAbandonedInQueueTime\\": 0,\\n \\"AbandonRate\\": 0,\\n \\"CallsCausedIVRException\\": 0,\\n \\"CallsToVoicemail\\": 1,\\n \\"AverageFirstResponseTime\\": 6,\\n \\"AverageResponseTime\\": 15,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 8,\\n \\"TotalMessagesSentByCustomer\\": 4\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsDialed\\": 0,\\n \\"CallsAnswered\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalDialingTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"MaxDialingTime\\": 0,\\n \\"CallsBlindTransferred\\": 0,\\n \\"AnswerRate\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsAttendedTransferred\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageDialingTime\\": 0\\n },\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"TotalLoggedInTime\\": 0,\\n \\"OccupancyRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"AverageBreakTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"MaxBreakTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxReadyTime\\": 0,\\n \\"AverageReadyTime\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalReadyTime\\": 0,\\n \\"TotalBreakTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalCalls\\": 0\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <StatsTime>1620291600000</StatsTime>\\n <Inbound>\\n <ServiceLevel20>1</ServiceLevel20>\\n <CallsAbandonedInQueue>0</CallsAbandonedInQueue>\\n <TotalWorkTime>85</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>7</CallsRinged>\\n <MaxAbandonedInIVRTime>0</MaxAbandonedInIVRTime>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>12</MaxRingTime>\\n <CallsOffered>7</CallsOffered>\\n <CallsAbandoned>0</CallsAbandoned>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <MaxAbandonedInRingTime>0</MaxAbandonedInRingTime>\\n <TotalRingTime>32</TotalRingTime>\\n <HandleRate>1</HandleRate>\\n <TotalAbandonedInIVRTime>0</TotalAbandonedInIVRTime>\\n <AverageAbandonedInQueueTime>0</AverageAbandonedInQueueTime>\\n <TotalTalkTime>447</TotalTalkTime>\\n <AverageWaitTime>5</AverageWaitTime>\\n <TotalAbandonedInRingTime>0</TotalAbandonedInRingTime>\\n <CallsQueued>7</CallsQueued>\\n <MaxTalkTime>219</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <AverageAbandonedInIVRTime>0</AverageAbandonedInIVRTime>\\n <TotalAbandonTime>0</TotalAbandonTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>64</AverageTalkTime>\\n <CallsBlindTransferred>0</CallsBlindTransferred>\\n <CallsAbandonedInIVR>0</CallsAbandonedInIVR>\\n <MaxAbandonedInQueueTime>0</MaxAbandonedInQueueTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <CallsAbandonedInRing>0</CallsAbandonedInRing>\\n <CallsHandled>7</CallsHandled>\\n <MaxWaitTime>13</MaxWaitTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferred>0</CallsAttendedTransferred>\\n <MaxAbandonTime>0</MaxAbandonTime>\\n <AverageRingTime>5</AverageRingTime>\\n <TotalWaitTime>34</TotalWaitTime>\\n <AverageAbandonTime>0</AverageAbandonTime>\\n <AverageAbandonedInRingTime>0</AverageAbandonedInRingTime>\\n <TotalAbandonedInQueueTime>0</TotalAbandonedInQueueTime>\\n <AverageWorkTime>13</AverageWorkTime>\\n <AbandonedRate>0</AbandonedRate>\\n <MaxWorkTime>17</MaxWorkTime>\\n </Inbound>\\n <Outbound>\\n <TotalDialingTime>0</TotalDialingTime>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>0</CallsRinged>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>0</MaxRingTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <TotalRingTime>0</TotalRingTime>\\n <AverageDialingTime>0</AverageDialingTime>\\n <CallsAnswered>0</CallsAnswered>\\n <TotalTalkTime>0</TotalTalkTime>\\n <CallsDialed>0</CallsDialed>\\n <MaxDialingTime>0</MaxDialingTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n <AnswerRate>0</AnswerRate>\\n <CallsBlindTransferred>0</CallsBlindTransferred>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferred>0</CallsAttendedTransferred>\\n <AverageRingTime>0</AverageRingTime>\\n <AverageWorkTime>0</AverageWorkTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n </Outbound>\\n <Overall>\\n <TotalReadyTime>0</TotalReadyTime>\\n <TotalCalls>0</TotalCalls>\\n <TotalBreakTime>0</TotalBreakTime>\\n <TotalWorkTime>0</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <AverageBreakTime>0</AverageBreakTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalTalkTime>0</TotalTalkTime>\\n <AverageReadyTime>0</AverageReadyTime>\\n <TotalLoggedInTime>0</TotalLoggedInTime>\\n <MaxTalkTime>0</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxReadyTime>0</MaxReadyTime>\\n <AverageWorkTime>0</AverageWorkTime>\\n <MaxWorkTime>0</MaxWorkTime>\\n <MaxBreakTime>0</MaxBreakTime>\\n <OccupancyRate>0</OccupancyRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n </Overall>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListIntervalSkillGroupReport' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skg-default@ccc-test', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1604639129000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1604725528000', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Hourly' => '', + 'Daily' => '', + ], + 'example' => 'Hourly', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1604639129000', + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '11', + ], + 'CallsOverflow' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInRing' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23', + ], + 'TotalAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '19', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWaitTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '11', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '8', + ], + 'CallsQueued' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageAbandonTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandoned' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18', + ], + 'AbandonRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '9', + ], + 'TotalAbandonTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'MaxAbandonedInRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWaitTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18', + ], + 'AverageAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'ServiceLevel20' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '5', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6666666666666666', + ], + 'CallsTimeout' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalAbandonedInQueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAbandonedInQueue' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsQueuingOverflow' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingTimeout' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByAgent' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalMessagesSentByCustomer' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageFirstResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'AverageResponseTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '60', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '3', + ], + 'CallsBlindTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsRinged' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '49', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '5', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'CallsHold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '30', + ], + ], + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '9236', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.00422315148470254', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '27', + ], + 'MaxHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '19', + ], + 'AverageBreakTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalHoldTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'MaxBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '6', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4927', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageHoldTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '9106', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'BreakCodeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'type' => 'string', + ], + 'Count' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Duration' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + 'Back2Back' => [ + 'type' => 'object', + 'properties' => [ + 'MaxRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageCustomerRingTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'CallsCustomerAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CustomerAnswerRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'TotalRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsDialed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsAnswered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalTalkTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AverageRingTime' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'MaxCustomerRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalCustomerRingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AgentHandleRate' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'MaxTalkTime' => [ + 'type' => 'string', + ], + 'AnswerRate' => [ + 'type' => 'string', + ], + 'AverageTalkTime' => [ + 'type' => 'string', + ], + 'CallsAgentHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"Data\\": [\\n {\\n \\"StatsTime\\": 1604639129000,\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 11,\\n \\"CallsOverflow\\": 0,\\n \\"CallsAbandonedInRing\\": 0,\\n \\"CallsHandled\\": 2,\\n \\"TotalWorkTime\\": 23,\\n \\"TotalAbandonedInRingTime\\": 0,\\n \\"MaxWorkTime\\": 19,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"AverageWaitTime\\": 11,\\n \\"TotalHoldTime\\": 0,\\n \\"MaxAbandonTime\\": 0,\\n \\"AverageWorkTime\\": 8,\\n \\"CallsQueued\\": 3,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"AverageAbandonedInRingTime\\": 0,\\n \\"AverageAbandonTime\\": 0,\\n \\"CallsRinged\\": 3,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsAbandoned\\": 0,\\n \\"MaxAbandonedInQueueTime\\": 0,\\n \\"TotalWaitTime\\": 33,\\n \\"TotalRingTime\\": 33,\\n \\"MaxTalkTime\\": 6,\\n \\"MaxRingTime\\": 18,\\n \\"AbandonRate\\": 0,\\n \\"TotalTalkTime\\": 9,\\n \\"TotalAbandonTime\\": 0,\\n \\"CallsOffered\\": 3,\\n \\"MaxAbandonedInRingTime\\": 0,\\n \\"MaxWaitTime\\": 18,\\n \\"AverageAbandonedInQueueTime\\": 0,\\n \\"ServiceLevel20\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"AverageTalkTime\\": 5,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 0.6666666666666666,\\n \\"CallsTimeout\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalAbandonedInQueueTime\\": 0,\\n \\"CallsAbandonedInQueue\\": 0,\\n \\"CallsQueuingOverflow\\": 0,\\n \\"CallsQueuingTimeout\\": 0,\\n \\"TotalMessagesSent\\": 12,\\n \\"TotalMessagesSentByAgent\\": 7,\\n \\"TotalMessagesSentByCustomer\\": 5,\\n \\"AverageFirstResponseTime\\": 6,\\n \\"AverageResponseTime\\": 18\\n },\\n \\"Outbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsDialed\\": 2,\\n \\"CallsAnswered\\": 1,\\n \\"TotalWorkTime\\": 5,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"MaxWorkTime\\": 4,\\n \\"TotalDialingTime\\": 60,\\n \\"TotalHoldTime\\": 0,\\n \\"AverageWorkTime\\": 3,\\n \\"CallsBlindTransferIn\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"CallsRinged\\": 0,\\n \\"CallsAttendedTransferIn\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 5,\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 5,\\n \\"MaxDialingTime\\": 49,\\n \\"AnswerRate\\": 0,\\n \\"MaxHoldTime\\": 0,\\n \\"AverageTalkTime\\": 5,\\n \\"SatisfactionRate\\": 0,\\n \\"CallsHold\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"AverageDialingTime\\": 30\\n },\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 13,\\n \\"TotalLoggedInTime\\": 9236,\\n \\"OccupancyRate\\": 0.00422315148470254,\\n \\"TotalWorkTime\\": 27,\\n \\"MaxHoldTime\\": 0,\\n \\"MaxWorkTime\\": 19,\\n \\"AverageBreakTime\\": 0,\\n \\"TotalHoldTime\\": 0,\\n \\"SatisfactionRate\\": 0,\\n \\"MaxBreakTime\\": 1,\\n \\"AverageWorkTime\\": 6,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxReadyTime\\": 4927,\\n \\"AverageReadyTime\\": 0,\\n \\"AverageHoldTime\\": 0,\\n \\"TotalReadyTime\\": 9106,\\n \\"TotalBreakTime\\": 5,\\n \\"MaxTalkTime\\": 6,\\n \\"TotalCalls\\": 5,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"会议\\",\\n \\"Count\\": 1,\\n \\"Duration\\": 120\\n }\\n ]\\n },\\n \\"Back2Back\\": {\\n \\"MaxRingTime\\": 100,\\n \\"AverageCustomerRingTime\\": 100,\\n \\"CallsCustomerAnswered\\": 12,\\n \\"CustomerAnswerRate\\": 0.6,\\n \\"TotalRingTime\\": 100,\\n \\"CallsDialed\\": 100,\\n \\"CallsAnswered\\": 100,\\n \\"TotalTalkTime\\": 100,\\n \\"AverageRingTime\\": 100,\\n \\"MaxCustomerRingTime\\": 100,\\n \\"TotalCustomerRingTime\\": 100,\\n \\"AgentHandleRate\\": 1,\\n \\"MaxTalkTime\\": \\"100\\",\\n \\"AnswerRate\\": \\"0.5\\",\\n \\"AverageTalkTime\\": \\"100\\",\\n \\"CallsAgentHandled\\": 5\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>943D8EF3-3321-471F-A104-51C96FCA94D6</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <StatsTime>1604639129000</StatsTime>\\n <Inbound>\\n <ServiceLevel20>0</ServiceLevel20>\\n <CallsAbandonedInQueue>0</CallsAbandonedInQueue>\\n <TotalWorkTime>23</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <CallsRinged>3</CallsRinged>\\n <AverageHoldTime>0</AverageHoldTime>\\n <MaxRingTime>18</MaxRingTime>\\n <CallsOffered>3</CallsOffered>\\n <CallsAbandoned>0</CallsAbandoned>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <MaxAbandonedInRingTime>0</MaxAbandonedInRingTime>\\n <TotalRingTime>33</TotalRingTime>\\n <HandleRate>0.6666666666666666</HandleRate>\\n <AverageAbandonedInQueueTime>0</AverageAbandonedInQueueTime>\\n <TotalTalkTime>9</TotalTalkTime>\\n <AverageWaitTime>11</AverageWaitTime>\\n <TotalAbandonedInRingTime>0</TotalAbandonedInRingTime>\\n <CallsQueued>3</CallsQueued>\\n <MaxTalkTime>6</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <CallsAttendedTransferOut>0</CallsAttendedTransferOut>\\n <TotalAbandonTime>0</TotalAbandonTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>5</AverageTalkTime>\\n <MaxAbandonedInQueueTime>0</MaxAbandonedInQueueTime>\\n <CallsTimeout>0</CallsTimeout>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <CallsAbandonedInRing>0</CallsAbandonedInRing>\\n <CallsOverflow>0</CallsOverflow>\\n <CallsHandled>2</CallsHandled>\\n <MaxWaitTime>18</MaxWaitTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <CallsAttendedTransferIn>0</CallsAttendedTransferIn>\\n <MaxAbandonTime>0</MaxAbandonTime>\\n <AverageRingTime>11</AverageRingTime>\\n <TotalWaitTime>33</TotalWaitTime>\\n <AverageAbandonTime>0</AverageAbandonTime>\\n <AverageAbandonedInRingTime>0</AverageAbandonedInRingTime>\\n <TotalAbandonedInQueueTime>0</TotalAbandonedInQueueTime>\\n <CallsBlindTransferOut>0</CallsBlindTransferOut>\\n <AverageWorkTime>8</AverageWorkTime>\\n <MaxWorkTime>19</MaxWorkTime>\\n <CallsBlindTransferIn>0</CallsBlindTransferIn>\\n <AbandonRate>0</AbandonRate>\\n </Inbound>\\n <Outbound>\\n <TotalDialingTime>60</TotalDialingTime>\\n <TotalWorkTime>5</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <CallsHold>0</CallsHold>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <AverageDialingTime>30</AverageDialingTime>\\n <CallsAnswered>1</CallsAnswered>\\n <TotalTalkTime>5</TotalTalkTime>\\n <CallsDialed>2</CallsDialed>\\n <MaxDialingTime>49</MaxDialingTime>\\n <MaxTalkTime>5</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <AverageWorkTime>3</AverageWorkTime>\\n <MaxWorkTime>4</MaxWorkTime>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>5</AverageTalkTime>\\n <AnswerRate>0</AnswerRate>\\n </Outbound>\\n <Overall>\\n <TotalReadyTime>9106</TotalReadyTime>\\n <TotalCalls>5</TotalCalls>\\n <TotalBreakTime>5</TotalBreakTime>\\n <TotalWorkTime>27</TotalWorkTime>\\n <TotalHoldTime>0</TotalHoldTime>\\n <SatisfactionSurveysOffered>0</SatisfactionSurveysOffered>\\n <AverageHoldTime>0</AverageHoldTime>\\n <SatisfactionIndex>0</SatisfactionIndex>\\n <AverageBreakTime>0</AverageBreakTime>\\n <SatisfactionSurveysResponded>0</SatisfactionSurveysResponded>\\n <TotalTalkTime>13</TotalTalkTime>\\n <AverageReadyTime>0</AverageReadyTime>\\n <TotalLoggedInTime>9236</TotalLoggedInTime>\\n <MaxTalkTime>6</MaxTalkTime>\\n <SatisfactionRate>0</SatisfactionRate>\\n <MaxReadyTime>4927</MaxReadyTime>\\n <AverageWorkTime>6</AverageWorkTime>\\n <MaxWorkTime>19</MaxWorkTime>\\n <MaxBreakTime>1</MaxBreakTime>\\n <OccupancyRate>0.00422315148470254</OccupancyRate>\\n <MaxHoldTime>0</MaxHoldTime>\\n <AverageTalkTime>0</AverageTalkTime>\\n </Overall>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListIvrTrackingDetails' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-10963442671187****', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'D2RB671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Instance' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Callee' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'EnterTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1621910542876', + ], + 'NodeVariables' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{"digits":"2"}', + ], + 'NodeExitCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Timeout' => '', + 'Hangup' => '', + 'Default' => '', + 'Branch-A/B/C' => '', + 'Success' => '', + 'Failure' => '', + 'Overflow' => '', + ], + 'example' => 'Success', + ], + 'FlowName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'FlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc99462-1058-47d0-a114-f145ea7444ff', + ], + 'NodeProperties' => [ + 'description' => '', + 'type' => 'object', + 'example' => '', + ], + 'NodeType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ASR' => '', + 'SUB' => '', + 'INCOMING_CALL' => '', + 'GATHER_INPUT' => '', + 'SUB_END' => '', + 'BLIND_TRANSFER' => '', + 'JSON_PARSER' => '', + 'SUB_START' => '', + 'SATISFACTION_RATING' => '', + 'TRANSFER_TO_AGENT' => '', + 'SPLIT' => '', + 'SET_VARIABLES' => '', + 'VOICE_NAVIGATOR' => '', + 'PLAY_SAY' => '', + 'HANGUP_REASON' => '', + 'HANGUP' => '', + 'SMS' => '', + 'VOICE_MAIL' => '', + 'RUN_FUNCTION' => '', + 'HTTP_REQUEST' => '', + ], + 'example' => 'PLAY_OR_SAY', + ], + 'Caller' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1332315****', + ], + 'NodeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-10963442671187****', + ], + 'LeaveTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1621910545105', + ], + 'ChannelVariables' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A=B;C=D', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '65cp2c15-92ac-4e67-98b2-073a3c541c5d', + ], + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'e0bc19a3', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"D2RB671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3,\\n \\"List\\": [\\n {\\n \\"Instance\\": \\"ccc-test\\",\\n \\"Callee\\": \\"0533128****\\",\\n \\"EnterTime\\": 1621910542876,\\n \\"NodeVariables\\": {\\n \\"digits\\": \\"2\\"\\n },\\n \\"NodeExitCode\\": \\"Success\\",\\n \\"FlowName\\": \\"测试IVR\\",\\n \\"FlowId\\": \\"abc99462-1058-47d0-a114-f145ea7444ff\\",\\n \\"NodeProperties\\": {\\n \\"say\\": \\"您好。\\"\\n },\\n \\"NodeType\\": \\"PLAY_SAY\\",\\n \\"Caller\\": \\"1332315****\\",\\n \\"NodeName\\": \\"放音\\",\\n \\"ContactId\\": \\"job-10963442671187****\\",\\n \\"LeaveTime\\": 1621910545105,\\n \\"ChannelVariables\\": \\"A=B;C=D\\",\\n \\"ChannelId\\": \\"65cp2c15-92ac-4e67-98b2-073a3c541c5d\\",\\n \\"NodeId\\": \\"e0bc19a3\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D2RB671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>4</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Callee>053xxxx3128</Callee>\\n <NodeName>放音</NodeName>\\n <Instance>ccc-test</Instance>\\n <EnterTime>1621910542876</EnterTime>\\n <NodeExitCode>Success</NodeExitCode>\\n <ContactId>job-109634426711871319</ContactId>\\n <ChannelId>65cp2c15-92ac-4e67-98b2-073a3c541c5d</ChannelId>\\n <ChannelVariables>A=B;C=D</ChannelVariables>\\n <FlowId>abc99462-1058-47d0-a114-f145ea7444ff</FlowId>\\n <LeaveTime>1621910545105</LeaveTime>\\n <NodeProperties>{\\"say\\":\\"您好。\\"}</NodeProperties>\\n <Caller>133xxxx2315</Caller>\\n <FlowName>测试IVR</FlowName>\\n <NodeType>PLAY_OR_SAY</NodeType>\\n <NodeId>e0bc19a3</NodeId>\\n <NodeVariables>{\\"digits\\":\\"2\\"}</NodeVariables>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRealtimeAgentStates' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '50572', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AgentIdList', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["agent1@ccc-test", "agent2@ccc-test"]', + ], + ], + [ + 'name' => 'StateList', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Ready' => '', + 'Talking' => '', + 'ACW' => '', + 'Break' => '', + 'Ringing' => '', + 'Offline' => '', + 'Dialing' => '', + ], + 'example' => '["ACW", "Dialing"]', + ], + ], + [ + 'name' => 'AgentName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent', + ], + ], + [ + 'name' => 'WorkModeList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => '["OFFICE_PHONE","ON_SITE"]', + ], + ], + [ + 'name' => 'OutboundScenario', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Query', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent', + ], + ], + [ + 'name' => 'CallTypeList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Outbound' => '', + 'Back2Back' => '', + 'PrivacyDial' => '', + 'Internal' => '', + 'Predictive' => '', + 'Inbound' => '', + 'Conference' => '', + ], + 'example' => '["INBOUND", "OUTBOUND"]', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '80317391', + ], + 'StateCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Monitored' => '', + 'Consulted' => '', + 'Coaching' => '', + 'Consulting' => '', + 'Coached' => '', + 'Conference' => '', + 'Monitoring' => '', + ], + 'example' => 'Monitored', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Ready' => '', + 'Talking' => '', + 'ACW' => '', + 'Ringing' => '', + 'Break' => '', + 'Offline' => '', + 'Dialing' => '', + ], + 'example' => 'ACW', + ], + 'BreakCode' => [ + 'type' => 'string', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent1@ccc-test', + ], + 'StateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '8', + ], + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'CounterParty' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'SkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + ], + 'SkillGroupNameList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1382114****', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Back2Back' => '', + 'PrivacyDial' => '', + 'Internal' => '', + 'Predictive' => '', + 'Inbound' => '', + 'Conference' => '', + ], + 'example' => 'Outbound', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '16', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Extension\\": \\"80317391\\",\\n \\"StateCode\\": \\"Monitored\\",\\n \\"State\\": \\"ACW\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"AgentId\\": \\"agent1@ccc-test\\",\\n \\"StateTime\\": 1696670640774,\\n \\"AgentName\\": \\"坐席小王\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"CounterParty\\": \\"agent@ccc-test\\",\\n \\"SkillGroupIdList\\": [\\n \\"skillgroup1@ccc-test\\"\\n ],\\n \\"SkillGroupNameList\\": [\\n \\"测试技能组\\"\\n ],\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"OutboundScenario\\": false,\\n \\"Mobile\\": \\"1382114****\\",\\n \\"CallType\\": \\"Outbound\\",\\n \\"Duration\\": 16\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Extension>80317391</Extension>\\n <CounterParty>user-admin@ccc-test</CounterParty>\\n <StateTime>8</StateTime>\\n <InstanceId>ccc-test</InstanceId>\\n <State>ACW</State>\\n <StateCode>Monitored</StateCode>\\n <AgentName>云呼测试坐席</AgentName>\\n <AgentId>user-test@ccc-test</AgentId>\\n </List>\\n <List>\\n <SkillGroupIdList>[\\"skg-default@ccc-test\\"]</SkillGroupIdList>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRealtimeSkillGroupStates' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'SkillGroupIdList', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '["skillgroup1@ccc-test", "skillgroup2@ccc-test"]', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'MediaType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26A34338-5CD9-4C95-A7A6-5BDCE76C6B94', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WorkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LongestWaitingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LoggedInAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'WaitingCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'BreakingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TalkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'ReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenarioReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'BreakCodeDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BreakCode' => [ + 'type' => 'string', + ], + 'Count' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"26A34338-5CD9-4C95-A7A6-5BDCE76C6B94\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"List\\": [\\n {\\n \\"WorkingAgents\\": 0,\\n \\"LongestWaitingTime\\": 0,\\n \\"LoggedInAgents\\": 2,\\n \\"WaitingCalls\\": 0,\\n \\"BreakingAgents\\": 0,\\n \\"TalkingAgents\\": 0,\\n \\"SkillGroupName\\": \\"skillgroup\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"ReadyAgents\\": 2,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenarioReadyAgents\\": 0,\\n \\"TotalAgents\\": 12,\\n \\"BreakCodeDetailList\\": [\\n {\\n \\"BreakCode\\": \\"客户自定义参数,比如午餐、会议等\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>26A34338-5CD9-4C95-A7A6-5BDCE76C6B94</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>2</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <BreakingAgents>0</BreakingAgents>\\n <TalkingAgents>0</TalkingAgents>\\n <SkillGroupName>test1</SkillGroupName>\\n <InstanceId>ccc-test</InstanceId>\\n <LoggedInAgents>2</LoggedInAgents>\\n <ReadyAgents>2</ReadyAgents>\\n <WaitingCalls>0</WaitingCalls>\\n <SkillGroupId>skg-test1@ccc-test</SkillGroupId>\\n <LongestCall>0</LongestCall>\\n <WorkingAgents>0</WorkingAgents>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRecentCallDetailRecords' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1604638129000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4133952000000', + 'minimum' => '0', + 'example' => '1604639129000', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Criteria', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{"phoneNumber":"1312121****","callingNumber":"1312121****","calledNumber":"1312121****"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1532448000000', + ], + 'ContactDisposition' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AbandonedInQueue' => '', + 'NoAnswer' => '', + 'QueuingTimeout' => '', + 'Voicemail' => '', + 'QueuingFailed' => '', + 'QueuingOverflow' => '', + 'AbandonedInVoiceNavigator' => '', + 'Success' => '', + 'IVRException' => '', + 'AbandonedInRing' => '', + 'AbandonedInIVR' => '', + 'Reject' => '', + 'ForwardToOutsideNumber' => '', + ], + 'example' => 'Success', + ], + 'ContactType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Outbound' => '', + 'Back2Back' => '', + 'PrivacyDial' => '', + 'Internal' => '', + 'Predictive' => '', + 'Inbound' => '', + 'Conference' => '', + ], + 'example' => 'Outbound', + ], + 'AgentIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-7660472242845****', + ], + 'CallDuration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16', + ], + 'CallingNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '16', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'CalledNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1332315****', + ], + 'SkillGroupIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11,\\n \\"List\\": [\\n {\\n \\"StartTime\\": 1532448000000,\\n \\"ContactDisposition\\": \\"Success\\",\\n \\"ContactType\\": \\"Outbound\\",\\n \\"AgentIds\\": \\"agent@ccc-test\\",\\n \\"ContactId\\": \\"job-7660472242845****\\",\\n \\"CallDuration\\": \\"16\\",\\n \\"CallingNumber\\": \\"0533128****\\",\\n \\"Duration\\": 16,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"CalledNumber\\": \\"1332315****\\",\\n \\"SkillGroupIds\\": \\"skillgroup@ccc-test\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>11</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <SkillGroupIds>skg-default@ccc-test</SkillGroupIds>\\n <CalledNumber>133xxxx2315</CalledNumber>\\n <ContactType>Outbound</ContactType>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactDisposition>Success</ContactDisposition>\\n <StartTime>1532448000000</StartTime>\\n <AgentIds>user-test@ccc-test</AgentIds>\\n <Duration>16</Duration>\\n <ContactId>job-76604722428454704</ContactId>\\n <CallDuration>16</CallDuration>\\n <CallingNumber>053xxxx3128</CallingNumber>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListAgentStates' => [ + 'summary' => 'ListAgentStates for ACC', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'AgentIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Ready' => '', + 'Talking' => '', + 'ACW' => '', + 'Break' => '', + 'Ringing' => '', + 'Offline' => '', + 'Dialing' => '', + ], + 'example' => 'Ready', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'ExcludeOfflineUsers', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'Dn' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8030****', + ], + 'StateDuration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Ready' => '', + 'Talking' => '', + 'ACW' => '', + 'Ringing' => '', + 'Break' => '', + 'Offline' => '', + 'Dialing' => '', + ], + 'example' => 'Ready', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'RingingTimeout' => '', + 'RejectCall' => '', + 'Warm-up' => '', + ], + 'example' => 'Warm-up', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListRealtimeAgentStates', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 11,\\n \\"List\\": [\\n {\\n \\"LoginName\\": \\"agent\\",\\n \\"Dn\\": \\"8030****\\",\\n \\"StateDuration\\": \\"10\\",\\n \\"State\\": \\"Ready\\",\\n \\"AgentId\\": \\"agent@ccc-test\\",\\n \\"AgentName\\": \\"坐席小王\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"OutboundScenario\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListAgentSummaryReportsSinceMidnight' => [ + 'summary' => 'ListAgentSummaryReportsSinceMidnight for acc', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'AgentIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["agent1@ccc-test", "agent2@ccc-test"]', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '27DD30C4-CAE2-481A-97CC-D3C54625341D', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'PagedAgentSummaryReport' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LoginName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroupNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2018-09-13 00:00:00', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'SkillGroupIds' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]'."\n", + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '37', + ], + 'OneTransferCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ServiceLevel20' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListHistoricalAgentReport', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"27DD30C4-CAE2-481A-97CC-D3C54625341D\\",\\n \\"Success\\": true,\\n \\"PagedAgentSummaryReport\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"List\\": [\\n {\\n \\"LoginName\\": \\"agent\\",\\n \\"AgentId\\": \\"agent@ccc-test\\",\\n \\"AgentName\\": \\"坐席小王。\\",\\n \\"SkillGroupNames\\": \\"[\\\\\\"测试技能组1\\\\\\",\\\\\\"测试技能组2\\\\\\"]\\",\\n \\"Timestamp\\": \\"2018-09-13 00:00:00\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"SkillGroupIds\\": \\"[\\\\\\"skillgroup1@ccc-test\\\\\\",\\\\\\"skillgroup2@ccc-test\\\\\\"]\\\\n\\",\\n \\"Overall\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"TotalLoggedInTime\\": 0,\\n \\"OccupancyRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"AverageReadyTime\\": 0,\\n \\"MaxReadyTime\\": 37,\\n \\"OneTransferCalls\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalReadyTime\\": 0,\\n \\"TotalBreakTime\\": 0,\\n \\"TotalCalls\\": 0\\n },\\n \\"Inbound\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"CallsOffered\\": 0,\\n \\"AverageRingTime\\": 0,\\n \\"CallsHandled\\": 0,\\n \\"ServiceLevel20\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"MaxRingTime\\": 0\\n },\\n \\"Outbound\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"MaxDialingTime\\": 0,\\n \\"CallsDialed\\": 0,\\n \\"CallsAnswered\\": 0,\\n \\"AnswerRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": \\"0\\",\\n \\"TotalDialingTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"AverageDialingTime\\": 0\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListLegacyAgentEventLogs' => [ + 'summary' => 'ListLegacyAgentEventLogs', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1657853640015', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1658026440011', + ], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2802EE59-3B53-513A-A130-85E480AF689D', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TargetSelect' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'TargetRequest' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'StatisticDate' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-12-03T10:15:30', + ], + 'PhoneNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8012****', + ], + 'GroupNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test,skillgroup2@ccc-test', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '拨号' => '', + '振铃' => '', + '处理' => '', + ], + 'example' => '', + ], + 'ConnId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '345467****', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '呼入' => '', + '呼出' => '', + ], + 'example' => '', + ], + 'CallId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '378654****', + ], + 'CallerId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08331111****', + ], + 'CalleeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312343****', + ], + 'AgentNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AgentDropCall' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'false', + ], + 'TransferNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '07518888****', + ], + 'CallDir' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '内部' => '', + '外部' => '', + ], + 'example' => '', + ], + 'CallMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '呼入' => '', + '呼出' => '', + ], + 'example' => '', + ], + 'TenantId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'acc101', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListAgentStateLogs', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"2802EE59-3B53-513A-A130-85E480AF689D\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"TargetSelect\\": \\"skillgroup@ccc-test\\",\\n \\"TargetRequest\\": \\"skillgroup@ccc-test\\",\\n \\"StatisticDate\\": \\"2021-12-03T10:15:30\\",\\n \\"PhoneNo\\": \\"8012****\\",\\n \\"GroupNo\\": \\"skillgroup1@ccc-test,skillgroup2@ccc-test\\",\\n \\"Event\\": \\"拨号\\",\\n \\"ConnId\\": \\"345467****\\",\\n \\"CallType\\": \\"呼入\\",\\n \\"CallId\\": \\"378654****\\",\\n \\"CallerId\\": \\"08331111****\\",\\n \\"CalleeId\\": \\"1312343****\\",\\n \\"AgentNo\\": \\"agent@ccc-test\\",\\n \\"AgentDropCall\\": \\"false\\",\\n \\"TransferNumber\\": \\"07518888****\\",\\n \\"CallDir\\": \\"内部\\",\\n \\"CallMode\\": \\"呼入\\",\\n \\"TenantId\\": \\"acc101\\",\\n \\"OutboundScenario\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListLegacyAgentStatusLogs' => [ + 'summary' => 'ListLegacyAgentStatusLogs', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1657778840011', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1657879880010', + ], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4C9A5D93-33A6-57F3-A423-4C83BD0A8455', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TransferNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '07551231****', + ], + 'TargetSelect' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'TargetRequest' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '拨号' => '', + '振铃' => '', + '处理' => '', + '小休' => '', + ], + 'example' => '', + ], + 'StatisticDate' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-12-03T10:15:30', + ], + 'StatisticTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PhoneNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8012****', + ], + 'MonitedAgentPhoneNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8012****', + ], + 'MonitedAgentNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****', + ], + 'GroupNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'ConnId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '487326****', + ], + 'CallType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '呼入' => '', + '呼出' => '', + ], + 'example' => '', + ], + 'CallId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '454326****', + ], + 'CallerId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08337676****', + ], + 'CalleeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312121****', + ], + 'CallDir' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '内部' => '', + '外部' => '', + ], + 'example' => '', + ], + 'AgentNo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AgentDropCall' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'false', + ], + 'AliHangupCause' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TransferNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '05711231****', + ], + 'Extend1' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extend2' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extend3' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extend4' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TenantId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'acc6736', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListAgentStateLogs', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"4C9A5D93-33A6-57F3-A423-4C83BD0A8455\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"TransferNo\\": \\"07551231****\\",\\n \\"TargetSelect\\": \\"skillgroup@ccc-test\\",\\n \\"TargetRequest\\": \\"skillgroup@ccc-test\\",\\n \\"Status\\": \\"振铃\\",\\n \\"StatisticDate\\": \\"2021-12-03T10:15:30\\",\\n \\"StatisticTime\\": 3,\\n \\"PhoneNo\\": \\"8012****\\",\\n \\"MonitedAgentPhoneNo\\": \\"8012****\\",\\n \\"MonitedAgentNo\\": \\"8032****\\",\\n \\"GroupNo\\": \\"skillgroup@ccc-test\\",\\n \\"ConnId\\": \\"487326****\\",\\n \\"CallType\\": \\"呼入\\",\\n \\"CallId\\": \\"454326****\\",\\n \\"CallerId\\": \\"08337676****\\",\\n \\"CalleeId\\": \\"1312121****\\",\\n \\"CallDir\\": \\"内部\\",\\n \\"AgentNo\\": \\"agent@ccc-test\\",\\n \\"AgentDropCall\\": \\"false\\",\\n \\"AliHangupCause\\": \\"无\\",\\n \\"TransferNumber\\": \\"05711231****\\",\\n \\"Extend1\\": \\"无\\",\\n \\"Extend2\\": \\"无\\",\\n \\"Extend3\\": \\"无\\",\\n \\"Extend4\\": \\"无\\",\\n \\"TenantId\\": \\"acc6736\\",\\n \\"OutboundScenario\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListLegacyQueueEventLogs' => [ + 'summary' => 'ListLegacyQueueEventLogs', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1657939540015', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1658026180018', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'skillgroup@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1A5A8998-41F9-5F85-BFCF-EB2B6E376812', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Vq' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'StatisticDate' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-12-03T10:15:30', + ], + 'QueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Ani' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8012****', + ], + 'Dnis' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312211****', + ], + 'Cause' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '队列呼损' => '', + '正常' => '', + '久振呼损' => '', + ], + 'example' => '', + ], + 'AnswerTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15', + ], + 'AnswerPhone' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'Acid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '456328****', + ], + 'TenantId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'acc3733', + ], + 'Id' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"1A5A8998-41F9-5F85-BFCF-EB2B6E376812\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"Vq\\": \\"skillgroup@ccc-test\\",\\n \\"StatisticDate\\": \\"2021-12-03T10:15:30\\",\\n \\"QueueTime\\": 10,\\n \\"Ani\\": \\"8012****\\",\\n \\"Dnis\\": \\"1312211****\\",\\n \\"Cause\\": \\"正常\\",\\n \\"AnswerTime\\": 15,\\n \\"AnswerPhone\\": \\"agent@ccc-test\\",\\n \\"Acid\\": \\"456328****\\",\\n \\"TenantId\\": \\"acc3733\\",\\n \\"Id\\": 109160\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListSkillGroupStates' => [ + 'summary' => 'ListSkillGroupStates for acc', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["skillgroup1@ccc-test","skillgroup2@ccc-test"]', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1F69EBB0-63E9-5DDE-887F-9FC040ADF309', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WorkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LoggedInAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'BreakingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'LongestCall' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'WaitingCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TalkingAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + 'ReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'AverageWaitingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'WaitingCallsLevel10' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'WaitingCallsLevel20' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'WaitingCallsLevel30' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OutboundScenarioReadyAgents' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'InboundTalkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OutboundTalkingAgents' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListRealtimeSkillGroupStates', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"1F69EBB0-63E9-5DDE-887F-9FC040ADF309\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"WorkingAgents\\": 0,\\n \\"LoggedInAgents\\": 0,\\n \\"BreakingAgents\\": 0,\\n \\"LongestCall\\": 0,\\n \\"WaitingCalls\\": 0,\\n \\"TalkingAgents\\": 0,\\n \\"SkillGroupName\\": \\"测试技能组\\",\\n \\"SkillGroupId\\": \\"skillgroup1@ccc-test\\",\\n \\"ReadyAgents\\": 1,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"AverageWaitingTime\\": 3,\\n \\"WaitingCallsLevel10\\": 0,\\n \\"WaitingCallsLevel20\\": 0,\\n \\"WaitingCallsLevel30\\": 0,\\n \\"OutboundScenarioReadyAgents\\": 0,\\n \\"InboundTalkingAgents\\": 0,\\n \\"OutboundTalkingAgents\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListSkillGroupSummaryReportsSinceMidnight' => [ + 'summary' => 'ListSkillGroupSummaryReportsSinceMidnight for acc', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroups', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["skillgroup1@ccc-test", "skillgroup2@ccc-test2"]'."\n", + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2B36CEBC-6D11-5451-9E6B-C6D1927841C5', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'PagedSkillGroupSummaryReport' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Timestamp' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2018-09-13 00:00:00', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'Overall' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalLoggedInTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OccupancyRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalBreakTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalReadyTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalCalls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + 'Inbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AverageRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsHandled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'QueueMaxWaitTimeDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AnsweredByAgentOfQueueWaitTimeDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'InComingQueueOfQueueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'MaxRingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AbandonedInQueueOfQueueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OverFlowInQueueOfQueueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnsweredByAgentOfQueueMaxWaitTimeDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ServiceLevel20' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnsweredByAgentOfQueueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'HandleRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'GiveUpByAgentOfQueueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'QueueWaitTimeDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsServiceLevel20' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsServiceLevel30' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsServiceLevel10' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAttendedTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsBlindTransferOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsQueuingTimeout' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsTimeout' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingCanceled' => [ + 'type' => 'string', + ], + 'CallsQueuingFailure' => [ + 'type' => 'string', + ], + 'CallsQueuingRerouted' => [ + 'type' => 'string', + ], + 'CallsAbandoned' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsOverflow' => [ + 'type' => 'string', + ], + ], + ], + 'Outbound' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsDialed' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsAnswered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AnswerRate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'TotalWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'TotalDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageWorkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionIndex' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SatisfactionSurveysOffered' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SatisfactionSurveysResponded' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'MaxTalkTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AverageDialingTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'CallsServiceLevel30' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'CallsOffered' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsAbandoned' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingTimeout' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingOverflow' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingFailed' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingRerouted' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingCancelled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsQueuingFailure' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalWaitTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsAgentHandled' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CallsServiceLevel30V2' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListHistoricalSkillGroupReport', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"2B36CEBC-6D11-5451-9E6B-C6D1927841C5\\",\\n \\"Success\\": true,\\n \\"PagedSkillGroupSummaryReport\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3,\\n \\"List\\": [\\n {\\n \\"Timestamp\\": \\"2018-09-13 00:00:00\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"SkillGroupName\\": \\"测试技能组\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"Overall\\": {\\n \\"TotalLoggedInTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"OccupancyRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxReadyTime\\": 0,\\n \\"AverageReadyTime\\": 0,\\n \\"TotalBreakTime\\": 0,\\n \\"TotalReadyTime\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"TotalCalls\\": 0\\n },\\n \\"Inbound\\": {\\n \\"AverageRingTime\\": 0,\\n \\"CallsHandled\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"QueueMaxWaitTimeDuration\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"AnsweredByAgentOfQueueWaitTimeDuration\\": 0,\\n \\"TotalRingTime\\": 0,\\n \\"InComingQueueOfQueueCount\\": 0,\\n \\"MaxTalkTime\\": \\"0\\",\\n \\"MaxRingTime\\": 0,\\n \\"TotalTalkTime\\": 0,\\n \\"CallsOffered\\": 0,\\n \\"AbandonedInQueueOfQueueCount\\": 0,\\n \\"OverFlowInQueueOfQueueCount\\": 0,\\n \\"AnsweredByAgentOfQueueMaxWaitTimeDuration\\": 0,\\n \\"ServiceLevel20\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"AnsweredByAgentOfQueueCount\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"HandleRate\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"GiveUpByAgentOfQueueCount\\": 0,\\n \\"QueueWaitTimeDuration\\": 0,\\n \\"CallsServiceLevel20\\": 0,\\n \\"CallsServiceLevel30\\": 0,\\n \\"CallsServiceLevel10\\": 0,\\n \\"CallsAttendedTransferOut\\": 0,\\n \\"CallsBlindTransferOut\\": 0,\\n \\"CallsQueuingTimeout\\": 0,\\n \\"CallsTimeout\\": 0,\\n \\"CallsQueuingCanceled\\": \\"\\",\\n \\"CallsQueuingFailure\\": \\"\\",\\n \\"CallsQueuingRerouted\\": \\"\\",\\n \\"CallsAbandoned\\": 0,\\n \\"CallsOverflow\\": \\"\\"\\n },\\n \\"Outbound\\": {\\n \\"TotalTalkTime\\": 0,\\n \\"MaxDialingTime\\": 0,\\n \\"CallsDialed\\": 0,\\n \\"CallsAnswered\\": 0,\\n \\"AnswerRate\\": 0,\\n \\"TotalWorkTime\\": 0,\\n \\"MaxWorkTime\\": 0,\\n \\"TotalDialingTime\\": 0,\\n \\"AverageTalkTime\\": 0,\\n \\"AverageWorkTime\\": 0,\\n \\"SatisfactionIndex\\": 0,\\n \\"SatisfactionSurveysOffered\\": 0,\\n \\"SatisfactionSurveysResponded\\": 0,\\n \\"MaxTalkTime\\": 0,\\n \\"AverageDialingTime\\": 0,\\n \\"CallsServiceLevel30\\": \\"0\\",\\n \\"CallsOffered\\": 0,\\n \\"CallsAbandoned\\": 0,\\n \\"CallsQueuingTimeout\\": 0,\\n \\"CallsQueuingOverflow\\": 0,\\n \\"CallsQueuingFailed\\": 0,\\n \\"CallsQueuingRerouted\\": 0,\\n \\"CallsQueuingCancelled\\": 0,\\n \\"CallsQueuingFailure\\": 0,\\n \\"TotalWaitTime\\": 0,\\n \\"CallsAgentHandled\\": 0,\\n \\"CallsServiceLevel30V2\\": 0\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListVoicemails' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1532448000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1532707199000', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-125152394144124921', + ], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '073xxxx7539', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'example' => 'voicemail-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CdrStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'Caller' => [ + 'description' => '', + 'type' => 'string', + 'example' => '073xxxx7539', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-125152394144124921', + ], + 'RecordingDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'voicemail-test', + ], + 'Callee' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0533128****', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1631440860000', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '16', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11,\\n \\"List\\": [\\n {\\n \\"CdrStartTime\\": 0,\\n \\"Caller\\": \\"073xxxx7539\\",\\n \\"ContactId\\": \\"job-125152394144124921\\",\\n \\"RecordingDuration\\": 0,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"voicemail-test\\",\\n \\"Callee\\": \\"0533128****\\",\\n \\"StartTime\\": \\"1631440860000\\",\\n \\"Duration\\": 16\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListVoicemailsResponse>\\n <Code>OK</Code>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Message>无</Message>\\n <RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n <Data>\\n <PageNumber>1</PageNumber>\\n <PageSize>10</PageSize>\\n <TotalCount>11</TotalCount>\\n <List>\\n <CdrStartTime>1532448000000</CdrStartTime>\\n <Caller>073xxxx7539</Caller>\\n <ContactId>job-125152394144124921</ContactId>\\n <RecordingDuration>10</RecordingDuration>\\n <InstanceId>ccc-test</InstanceId>\\n <Name>voicemail-test</Name>\\n </List>\\n </Data>\\n</ListVoicemailsResponse>","errorExample":""}]', + ], + 'ListGroupChatMessages' => [ + 'summary' => 'ListGroupChatMessages', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'chat-65382141036853491', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DESC', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'b2ad450b116e4f8396e58108acf5c020', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Messages' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-65382141036853491', + ], + 'SenderId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '64bb4ececc34fc5ec1ca1153', + ], + 'SenderType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CUSTOMER', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1696126980371', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SenderName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test-agent@test-instanceId', + ], + 'SenderAvatarUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxxxx.com', + ], + 'Recalled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + 'NextPageToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '54d1a616d95a4a01ba58967a9115b649', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'Permission.Unauthorized', + 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2263B273-AC1B-44EB-BA98-87F2322C6780\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Messages\\": [\\n {\\n \\"JobId\\": \\"chat-65382141036853491\\",\\n \\"SenderId\\": \\"64bb4ececc34fc5ec1ca1153\\",\\n \\"SenderType\\": \\"CUSTOMER\\",\\n \\"Timestamp\\": 1696126980371,\\n \\"Content\\": \\"{\\\\\\"variables\\\\\\":{},\\\\\\"text\\\\\\":\\\\\\"<p>好的,不客气</p>\\\\\\",\\\\\\"contentType\\\\\\":\\\\\\"Text\\\\\\",\\\\\\"subContentType\\\\\\":\\\\\\"richtext\\\\\\"}\\",\\n \\"SenderName\\": \\"test-agent@test-instanceId\\",\\n \\"SenderAvatarUrl\\": \\"http://xxxxx.com\\",\\n \\"Recalled\\": false\\n }\\n ],\\n \\"NextPageToken\\": \\"54d1a616d95a4a01ba58967a9115b649\\"\\n }\\n}","type":"json"}]', + ], + 'RestoreArchivedRecordings' => [ + 'summary' => '录音解冻', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '[\\"job-216750038017142784\\"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Instance 0 does not exist.', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F8066648-5D95-55AB-ACD3-2F4AD3BEA715', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Exists' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'False', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-25920271311543****', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Progressing', + ], + 'StorageType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Standard', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance 0 does not exist.\\",\\n \\"RequestId\\": \\"F8066648-5D95-55AB-ACD3-2F4AD3BEA715\\",\\n \\"Data\\": [\\n {\\n \\"Exists\\": \\"False\\",\\n \\"ContactId\\": \\"job-25920271311543****\\",\\n \\"Status\\": \\"Progressing\\",\\n \\"StorageType\\": \\"Standard\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetMonoRecording' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103689****', + ], + ], + [ + 'name' => 'ExpireSeconds', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record/job-6538214103689****.wav?Expires=1610910578&OSSAccessKeyId=****&Signature=****', + ], + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103689****.wav', + ], + 'Duration' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record/job-6538214103689****.wav?Expires=1610910578&OSSAccessKeyId=****&Signature=****\\",\\n \\"FileName\\": \\"job-6538214103689****.wav\\",\\n \\"Duration\\": 30000\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <FileUrl>http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record/job-65382141036893491.wav?Expires=1610910578&OSSAccessKeyId=XXXX&Signature=XXXX</FileUrl>\\n <FileName>job-65382141036893491.wav</FileName>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetMultiChannelRecording' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103689****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/ccc-test/2021/04/job-6538214103689****.mkv?Expires=1617435462&OSSAccessKeyId=****&Signature=****', + ], + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6538214103689****.mkv', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/ccc-test/2021/04/job-6538214103689****.mkv?Expires=1617435462&OSSAccessKeyId=****&Signature=****\\",\\n \\"FileName\\": \\"job-6538214103689****.mkv\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <FileUrl>http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record/job-65382141036893491.mkv?Expires=1610910578&OSSAccessKeyId=XXXX&Signature=XXXX</FileUrl>\\n <FileName>job-65382141036893491.mkv</FileName>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetVoicemailRecording' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-12515239414412****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/ccc-test/2022/06/voicemail.job-054ded02****.wav?Expires=1656074923&OSSAccessKeyId=****&Signature=****', + ], + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'voicemail.job-054ded02****.wav', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/ccc-test/2022/06/voicemail.job-054ded02****.wav?Expires=1656074923&OSSAccessKeyId=****&Signature=****\\",\\n \\"FileName\\": \\"voicemail.job-054ded02****.wav\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetVoicemailRecordingResponse>\\n <Code>OK</Code>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Message>无</Message>\\n <RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n <Data>\\n <FileUrl>http://xxxx</FileUrl>\\n <FileName>abc</FileName>\\n </Data>\\n</GetVoicemailRecordingResponse>","errorExample":""}]', + ], + 'GetEarlyMediaRecording' => [ + 'summary' => '获取早媒体音频', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'ccc-test', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'job-6538214103689****', + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Code' => [ + 'description' => '', + 'example' => 'OK', + 'type' => 'string', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'example' => '200', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Message' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'FileUrl' => [ + 'description' => '', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/ccc-test/2022/06/voicemail.job-054ded02****.wav?Expires=1656074923&OSSAccessKeyId=****&Signature=****', + 'type' => 'string', + ], + 'FileName' => [ + 'description' => '', + 'example' => 'job-6538214103689****-earlyMedia..wav', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/ccc-test/2022/06/voicemail.job-054ded02****.wav?Expires=1656074923&OSSAccessKeyId=****&Signature=****\\",\\n \\"FileName\\": \\"job-6538214103689****-earlyMedia.wav\\"\\n }\\n}","type":"json"}]', + ], + 'ListMultiChannelRecordings' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-25920271311543****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B19CD719-9F65-56A6-8B79-DA4282EA4797', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.mkv', + ], + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-shanghai.oss-cn-shanghai.aliyuncs.com/ccc-test/job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.mkv?Expires=1657014031&OSSAccessKeyId=****&Signature=****', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1656926518491', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-25920271311543****', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '56321', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'RamId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '22807673106369****', + ], + 'AgentChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ch-user-8526899****-8602****-1656926504363-job-25920271311543****', + ], + 'HoldTimeSegments' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'EndTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"B19CD719-9F65-56A6-8B79-DA4282EA4797\\",\\n \\"Data\\": [\\n {\\n \\"FileName\\": \\"job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.mkv\\",\\n \\"FileUrl\\": \\"https://ccc-v2-shanghai.oss-cn-shanghai.aliyuncs.com/ccc-test/job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.mkv?Expires=1657014031&OSSAccessKeyId=****&Signature=****\\",\\n \\"AgentId\\": \\"agent@ccc-test\\",\\n \\"AgentName\\": \\"坐席小王\\",\\n \\"StartTime\\": 1656926518491,\\n \\"ContactId\\": \\"job-25920271311543****\\",\\n \\"Duration\\": \\"56321\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"RamId\\": \\"22807673106369****\\",\\n \\"AgentChannelId\\": \\"ch-user-8526899****-8602****-1656926504363-job-25920271311543****\\",\\n \\"HoldTimeSegments\\": [\\n {\\n \\"StartTime\\": 1673255098049,\\n \\"EndTime\\": 1687860143925\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListMonoRecordings' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-25697383427137****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E836EF2A-EDAE-5310-8921-F983C967D42D', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.wav', + ], + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-shanghai.oss-cn-shanghai.aliyuncs.com/ccc-test/job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.wav?Expires=1657014031&OSSAccessKeyId=****&Signature=****', + ], + 'AgentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'AgentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1620259200000', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-25920271311543****', + ], + 'Duration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5903871', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup@ccc-test', + ], + 'RamId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '26972543893791****', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"E836EF2A-EDAE-5310-8921-F983C967D42D\\",\\n \\"Data\\": [\\n {\\n \\"FileName\\": \\"job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.wav\\",\\n \\"FileUrl\\": \\"https://ccc-v2-shanghai.oss-cn-shanghai.aliyuncs.com/ccc-test/job-25920271311543****-798f1e90-1f82-42da-914c-46580c8f4c85-1656926518491.wav?Expires=1657014031&OSSAccessKeyId=****&Signature=****\\",\\n \\"AgentId\\": \\"agent@ccc-test\\",\\n \\"AgentName\\": \\"坐席小王\\",\\n \\"StartTime\\": \\"1620259200000\\",\\n \\"ContactId\\": \\"job-25920271311543****\\",\\n \\"Duration\\": \\"5903871\\",\\n \\"SkillGroupId\\": \\"skillgroup@ccc-test\\",\\n \\"RamId\\": \\"26972543893791****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'CreateAudioFile' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'AudioFileName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test-file.wav', + ], + ], + [ + 'name' => 'OssFileKey', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test/test-file.wav', + ], + ], + [ + 'name' => 'Usage', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2301b83f-1f9f-491e-9f97-2f832ed92f0b', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '94E29B9B-DBC6-5951-B3DD-C85C1BDF20ED', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"2301b83f-1f9f-491e-9f97-2f832ed92f0b\\",\\n \\"RequestId\\": \\"94E29B9B-DBC6-5951-B3DD-C85C1BDF20ED\\"\\n}","type":"json"}]', + ], + 'DeleteAudioFile' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AudioResourceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'd5cd7a94-3b6a-47d2-b7fd-0b1cd839bf77', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FB77821C-912F-57FF-8834-6336A6479093', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"FB77821C-912F-57FF-8834-6336A6479093\\"\\n}","type":"json"}]', + ], + 'GetAudioFile' => [ + 'summary' => '获取音频文件', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AudioResourceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'c1a06b46-302a-4c6e-928b-a43c0df485cf', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEE26562-D921-5CB2-AE49-E4C45A42D432', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AudioFileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test-file.wav', + ], + 'OssFileKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test/test-file.wav', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-14 10:48:43.0', + ], + 'AudioResourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c1a06b46-302a-4c6e-928b-a43c0df485cf', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-14 10:48:43.0', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"EEE26562-D921-5CB2-AE49-E4C45A42D432\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"AudioFileName\\": \\"test-file.wav\\",\\n \\"OssFileKey\\": \\"ccc-test/test-file.wav\\",\\n \\"UpdatedTime\\": \\"2021-07-14 10:48:43.0\\",\\n \\"AudioResourceId\\": \\"c1a06b46-302a-4c6e-928b-a43c0df485cf\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"欢迎语\\\\n\\",\\n \\"CreatedTime\\": \\"2021-07-14 10:48:43.0\\"\\n }\\n}","type":"json"}]', + ], + 'GetAudioFileDownloadUrl' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AudioResourceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'acc300c4-75c9-41ba-ba5e-2a365c96c248', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://****.oss-cn-shanghai.aliyuncs.com/ccc-test/****.wav?Expires=1656472158&OSSAccessKeyId=****&Signature=****', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"https://****.oss-cn-shanghai.aliyuncs.com/ccc-test/****.wav?Expires=1656472158&OSSAccessKeyId=****&Signature=****\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\"\\n}","type":"json"}]', + ], + 'GetAudioFileUploadParameters' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AudioFileName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test-file.wav', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C81FD1A5-4B99-470A-A527-D80150228784', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FilePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test/test-file.wav', + ], + 'Signature' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HIyClras8IcVlbTV7RIJWJbU****', + ], + 'Host' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com', + ], + 'Policy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyMi0wNi0yOVQwMDoyOTowMC42NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjBdLFsic3RhcnRzLXdpdGgiLCIka2V5IiwiYXVkaW8vMTU3NzI0NzExNTQ5MDQwMS9seS1vbmxpbmUvMjAyMjA2MjkwNzI5MDAvIl1d****', + ], + 'ExpireTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1647313420', + ], + 'AccessKeyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"C81FD1A5-4B99-470A-A527-D80150228784\\",\\n \\"Data\\": {\\n \\"FilePath\\": \\"ccc-test/test-file.wav\\",\\n \\"Signature\\": \\"HIyClras8IcVlbTV7RIJWJbU****\\",\\n \\"Host\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyMi0wNi0yOVQwMDoyOTowMC42NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjBdLFsic3RhcnRzLXdpdGgiLCIka2V5IiwiYXVkaW8vMTU3NzI0NzExNTQ5MDQwMS9seS1vbmxpbmUvMjAyMjA2MjkwNzI5MDAvIl1d****\\",\\n \\"ExpireTime\\": 1647313420,\\n \\"AccessKeyId\\": \\"****\\"\\n }\\n}","type":"json"}]', + ], + 'ListAudioFiles' => [ + 'summary' => '获取音频文件列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Usage', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '53223330-EBF1-586B-A2CB-93C3B711FDA0', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AudioFileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test-file.wav', + ], + 'OssFileKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test/test-file.wav', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-03-08 15:34:49.0', + ], + 'AudioResourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'd5cd7a94-3b6a-47d2-b7fd-0b1cd839bf77', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-03-05 17:35:45.0', + ], + 'Status' => [ + 'type' => 'string', + ], + 'Usage' => [ + 'type' => 'string', + ], + 'AuditResult' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"53223330-EBF1-586B-A2CB-93C3B711FDA0\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"AudioFileName\\": \\"test-file.wav\\",\\n \\"OssFileKey\\": \\"ccc-test/test-file.wav\\",\\n \\"UpdatedTime\\": \\"2021-03-08 15:34:49.0\\",\\n \\"AudioResourceId\\": \\"d5cd7a94-3b6a-47d2-b7fd-0b1cd839bf77\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"欢迎语\\",\\n \\"CreatedTime\\": \\"2021-03-05 17:35:45.0\\",\\n \\"Status\\": \\"Completed\\",\\n \\"Usage\\": \\"General\\",\\n \\"AuditResult\\": \\"无\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ModifyAudioFile' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'AudioResourceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'acc300c4-75c9-41ba-ba5e-2a365c96c248', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'OssFileKey', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test/new-test-file.wav', + ], + ], + [ + 'name' => 'AudioFileName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'new-test-file.wav', + ], + ], + [ + 'name' => 'Usage', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'D2F84AAC-7C79-547F-8EE9-7B735F42B93F', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"D2F84AAC-7C79-547F-8EE9-7B735F42B93F\\"\\n}","type":"json"}]', + ], + 'GetLoginDetails' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + [ + 'name' => 'ChatDeviceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F1A4774A-F28B-5C40-AEF6-D88D2DD6C7E4', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8001****', + ], + 'Signature' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'zi31STIMtIfa/UN2l+6lww****', + ], + 'SipServerUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sh-sip-ccc.aliyuncs.com:443', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Yealink SIP-T23G 44.84.XX.XX', + ], + 'AgentServerUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sh-wss-ccc.aliyuncs.com', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent@ccc-test', + ], + 'UserKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ON_SITE' => '', + 'OFF_SITE' => '', + 'OFFICE_PHONE' => '', + ], + 'example' => 'ON_SITE', + ], + 'UserKey2' => [ + 'description' => '', + 'type' => 'string', + 'example' => '802001:1656406628862"', + ], + 'Signature2' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'zi31STIMtIfa/UN2l+6lww****', + ], + 'DeviceExt' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8033****', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNREGISTERED' => '', + 'ONLINE' => '', + 'OFFLINE' => '', + ], + 'example' => 'OFFLINE', + ], + 'ChatUserId' => [ + 'type' => 'string', + ], + 'ChatDeviceId' => [ + 'type' => 'string', + ], + 'ChatLoginToken' => [ + 'type' => 'string', + ], + 'ChatAppId' => [ + 'type' => 'string', + ], + 'ChatAppKey' => [ + 'type' => 'string', + ], + 'ChatServerUrl' => [ + 'type' => 'string', + ], + 'Nickname' => [ + 'type' => 'string', + ], + 'AvatarUrl' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"F1A4774A-F28B-5C40-AEF6-D88D2DD6C7E4\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"DisplayName\\": \\"坐席小王\\",\\n \\"Extension\\": \\"8001****\\",\\n \\"Signature\\": \\"zi31STIMtIfa/UN2l+6lww****\\",\\n \\"SipServerUrl\\": \\"sh-sip-ccc.aliyuncs.com:443\\",\\n \\"DeviceId\\": \\"Yealink SIP-T23G 44.84.XX.XX\\",\\n \\"AgentServerUrl\\": \\"sh-wss-ccc.aliyuncs.com\\",\\n \\"UserId\\": \\"agent@ccc-test\\",\\n \\"UserKey\\": \\"坐席@aliyun:802001:1656406628862\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"UserKey2\\": \\"802001:1656406628862\\\\\\"\\",\\n \\"Signature2\\": \\"zi31STIMtIfa/UN2l+6lww****\\",\\n \\"DeviceExt\\": \\"8033****\\",\\n \\"DeviceState\\": \\"OFFLINE\\",\\n \\"ChatUserId\\": \\"A-8000100x\\",\\n \\"ChatDeviceId\\": \\"4c51c9116c36537cb850dc1081d745df\\",\\n \\"ChatLoginToken\\": \\"{\\\\\\"accessToken\\\\\\":\\\\\\"oauth_cloud_key:4xxx0=\\\\\\",\\\\\\"accessTokenExpiredTime\\\\\\":864xxxx,\\\\\\"refreshToken\\\\\\":\\\\\\"oauth_cloud_key:Paxxxx==\\\\\\"}\\",\\n \\"ChatAppId\\": \\"7pjxxx\\",\\n \\"ChatAppKey\\": \\"955e4bd7xxxxxxxxxxxxxd7898ba9fa0d0\\",\\n \\"ChatServerUrl\\": \\"wss://wss.im.dingtalk.cn\\",\\n \\"Nickname\\": \\"老王\\",\\n \\"AvatarUrl\\": \\"http://abc.com/sam.jpb\\"\\n }\\n}","type":"json"}]', + ], + 'GetTurnCredentials' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'agent@ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1602585817:****', + ], + 'Password' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'M0NQNG/uRUrfIxW7er/S9gKX****', + ], + ], + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"UserName\\": \\"1602585817:****\\",\\n \\"Password\\": \\"M0NQNG/uRUrfIxW7er/S9gKX****\\"\\n },\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <UserName>1602585817:null</UserName>\\n <Password>M0NQNG/uRUrfIxW7er/S9gKXsT0=</Password>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetTurnServerList' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Data\\": \\"[\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"杭州\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-hz-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t},\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"qingdao\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"青岛\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-qd-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t},\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"shanghai\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"上海\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-sh-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t},\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"chengdu\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"成都\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-cd-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t},\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"beijing\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"北京\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-bj-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t},\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"huanan\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"深圳\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-sz-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t},\\\\n\\\\t{\\\\n\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"zhangbei\\\\\\",\\\\n\\\\t\\\\t\\\\\\"name\\\\\\":\\\\\\"张北\\\\\\",\\\\n\\\\t\\\\t\\\\\\"domain\\\\\\":\\\\\\"turn-zb-ecs.ccc.aliyuncs.com\\\\\\",\\\\n\\\\t\\\\t\\\\\\"cidr\\\\\\":\\\\\\"172.31.XX.XX/28\\\\\\"\\\\n\\\\t}\\\\n]\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListConfigItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ObjectId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ObjectType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'INSTANCE' => '', + 'USER' => '', + 'SKILL_GROUP' => '', + 'ALIYUN_UID' => '', + ], + 'example' => 'INSTANCE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ObjectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '100', + ], + 'ObjectType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'INSTANCE', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AllowAudioDownload' => '', + 'RecordingStorageSetting' => '', + 'AllowChooseSignedSkillGroup' => '', + 'AgentRingingTimeoutSeconds' => '', + 'ShowCalledID' => '', + 'ShowCalleeID' => '', + 'AllowHangup' => '', + 'AutoAnswerCall' => '', + ], + 'example' => 'config-item', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Permission.Unauthorized', + 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": [\\n {\\n \\"ObjectId\\": \\"ccc-test\\",\\n \\"Value\\": \\"100\\",\\n \\"ObjectType\\": \\"INSTANCE\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"config-item\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <Value>1</Value>\\n <ObjectType>INSTANCE</ObjectType>\\n <ObjectId>ccc-test</ObjectId>\\n <InstanceId>ccc-test</InstanceId>\\n <Name>test-item</Name>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UpdateConfigItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ObjectId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ObjectType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'INSTANCE', + ], + ], + [ + 'name' => 'ConfigItems', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'AllowAudioDownload' => '', + 'RecordingStorageSetting' => '', + 'AllowChooseSignedSkillGroup' => '', + 'AgentRingingTimeoutSeconds' => '', + 'ShowCalledID' => '', + 'ShowCalleeID' => '', + 'AllowHangup' => '', + 'AutoAnswerCall' => '', + ], + 'example' => '[{"name":"ShowCalledID","value":"-1"},{"name":"ShowCalleeID","value":"1"},{"name":"AllowHangup","value":"0"},{"name":"AutoAnswerCall","value":"-1"},{"name":"AllowAudioDownload","value":"1"},{"name":"AllowChooseSignedSkillGroup","value":"1"}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8E7Y5B39-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"8E7Y5B39-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8E7Y5B39-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ProcessCustomIMCallback' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '263383', + 'abilityTreeNodes' => [ + 'FEATUREcccD72NOC', + ], + ], + 'parameters' => [ + [ + 'name' => 'AccessChannelId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cf584733-***-***-9699-cb77aa3b7aa6', + ], + ], + [ + 'name' => 'ConversationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'd165de4f-9851-445e-9535-66ebfa72fa51', + ], + ], + [ + 'name' => 'SenderId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '63061274befd6b545aab4c83', + ], + ], + [ + 'name' => 'SenderName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tom', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + [ + 'name' => 'SenderAvatarMediaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'MessageContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ProcessDingTalkRobotCallbackResponse', + 'description' => 'ProcessDingTalkRobotCallbackResponse', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-65382141036853491', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\'OFFLINE\', \'BREAK,READY,WORKING\']', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"JobId\\": \\"chat-65382141036853491\\",\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"[\'OFFLINE\', \'BREAK,READY,WORKING\']\\"\\n ],\\n \\"Data\\": \\"无\\"\\n}","type":"json"}]', + ], + 'CreateChatMediaUrl' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '263385', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'MimeType', + 'in' => 'formData', + 'schema' => [ + 'title' => 'media id', + 'description' => 'media id', + 'type' => 'string', + 'required' => true, + 'example' => 'jpg', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '9F766284-F103-4298-8EC5-19F9F9BE5522', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetChatMediaUrlResponse', + 'description' => 'GetChatMediaUrlResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '$iAHNCNQCo21wMwMGBAAFAAbaACOEAaQhIH6TAqogDGyb-qD2Hbj0A88AAAGRLKYVnwTOACwwYwcACM8AAAGRLRPynQ', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\'OFFLINE\', \'BREAK,READY,WORKING\']', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"MediaId\\": \\"$iAHNCNQCo21wMwMGBAAFAAbaACOEAaQhIH6TAqogDGyb-qD2Hbj0A88AAAGRLKYVnwTOACwwYwcACM8AAAGRLRPynQ\\",\\n \\"Url\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****\\"\\n },\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"[\'OFFLINE\', \'BREAK,READY,WORKING\']\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVisitorChatMessages' => [ + 'summary' => 'ListVisitorChatMessages', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DESC', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'VisitorId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'fcd020fe-****-1a272a174a7d', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1647325450000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1650316799000', + ], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1737193352340::7463707254.EAUNIT', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'AccessToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '9XYGTGWtq2wXzVikKuip_zeVGl6O4VJ-l-*-*-JPofhap4P7fAevuE=', + ], + ], + [ + 'name' => 'AccessChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cf584733-***-***-9699-cb77aa3b7aa6', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '8707EB29-BAED-4302-B999-40BA61877437', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NextPageToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1737193352340::7463707254.EAUNIT'."\n", + ], + 'Messages' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-65382141036853491', + ], + 'SenderId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'fcd020fe-****-1a272a174a7d'."\n", + ], + 'SenderType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CUSTOMER', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1696126980371', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SenderName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SenderAvatarUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxxxx.com/avatar.png', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'Permission.Unauthorized', + 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8707EB29-BAED-4302-B999-40BA61877437\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"NextPageToken\\": \\"1737193352340::7463707254.EAUNIT\\\\n\\",\\n \\"Messages\\": [\\n {\\n \\"JobId\\": \\"chat-65382141036853491\\",\\n \\"SenderId\\": \\"fcd020fe-****-1a272a174a7d\\\\n\\",\\n \\"SenderType\\": \\"CUSTOMER\\",\\n \\"Timestamp\\": 1696126980371,\\n \\"Content\\": \\"{\\\\\\"variables\\\\\\":{},\\\\\\"text\\\\\\":\\\\\\"Hi,我是小云~ 很高兴遇见你!\\\\\\",\\\\\\"contentType\\\\\\":\\\\\\"Text\\\\\\"}\\",\\n \\"SenderName\\": \\"访客1\\",\\n \\"SenderAvatarUrl\\": \\"http://xxxxx.com/avatar.png\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetChatRoutingProfile' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '30C7D235-DDCF-4C7F-A462-5E2598252C2B', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RoutingType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Automatic', + ], + 'AgentConcurrencySettings' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{'."\n" + .' "AllowExceedingLimitWhenTransferring": false,'."\n" + .' "ConcurrencyLimit": 4,'."\n" + .' "AllowExceedingLimitWhenClaiming": true,'."\n" + .' "Enabled": true'."\n" + .'}', + ], + 'DistributionSettings' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{'."\n" + .' "AgentRingTimeoutSeconds": 30,'."\n" + .' "Enabled": true,'."\n" + .' "MaxNumberOfConversationsAgentCanMiss": 5,'."\n" + .' "PostAgentMissingConversionsAction": "Nothing"'."\n" + .'}', + ], + 'ChatSettings' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"IdleChatTimeoutSeconds":300}', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"30C7D235-DDCF-4C7F-A462-5E2598252C2B\\",\\n \\"Data\\": {\\n \\"RoutingType\\": \\"Automatic\\",\\n \\"AgentConcurrencySettings\\": \\"{\\\\n \\\\\\"AllowExceedingLimitWhenTransferring\\\\\\": false,\\\\n \\\\\\"ConcurrencyLimit\\\\\\": 4,\\\\n \\\\\\"AllowExceedingLimitWhenClaiming\\\\\\": true,\\\\n \\\\\\"Enabled\\\\\\": true\\\\n}\\",\\n \\"DistributionSettings\\": \\"{\\\\n \\\\\\"AgentRingTimeoutSeconds\\\\\\": 30,\\\\n \\\\\\"Enabled\\\\\\": true,\\\\n \\\\\\"MaxNumberOfConversationsAgentCanMiss\\\\\\": 5,\\\\n \\\\\\"PostAgentMissingConversionsAction\\\\\\": \\\\\\"Nothing\\\\\\"\\\\n}\\",\\n \\"ChatSettings\\": \\"{\\\\\\"IdleChatTimeoutSeconds\\\\\\":300}\\"\\n }\\n}","type":"json"}]', + ], + 'UpdateChatRoutingProfile' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + [ + 'name' => 'RoutingProfiles', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{'."\n" + .' "RoutingType": "Automatic",'."\n" + .' "AgentConcurrencySettings": {'."\n" + .' "AllowExceedingLimitWhenTransferring": false,'."\n" + .' "ConcurrencyLimit": 4,'."\n" + .' "AllowExceedingLimitWhenClaiming": true,'."\n" + .' "Enabled": true'."\n" + .' },'."\n" + .' "ChatSettings": {'."\n" + .' "IdleChatTimeoutSeconds": 300'."\n" + .' },'."\n" + .' "DistributionSettings": {'."\n" + .' "Enabled": true,'."\n" + .' "AgentRingTimeoutSeconds": 119,'."\n" + .' "MaxNumberOfConversationsAgentCanMiss": 5,'."\n" + .' "PostAgentMissingConversionsAction": "Nothing"'."\n" + .' }'."\n" + .'}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'No permission', + ], + ], + [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'GetChatMediaUrl' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'MediaId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'media id', + 'description' => 'media id', + 'type' => 'string', + 'required' => true, + 'example' => '$iAHNCNQCo3dhdgMGBAAFAAbaACOEAaQhIEeoAqpjjBl42N6o_kg7A88AAAGRIRRuBgTOACrxHgcACM8AAAGRIYJLBQ', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '8707EB29-BAED-4302-B999-40BA61877437', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetChatMediaUrlResponse', + 'description' => 'GetChatMediaUrlResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Internal service issue. Detail:.', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\'OFFLINE\', \'READY,RINGING,TALKING\']', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"9FBA26B0-462B-4D77-B78F-AF35560DBC71\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Internal service issue. Detail:.\\",\\n \\"Params\\": [\\n \\"[\'OFFLINE\', \'READY,RINGING,TALKING\']\\"\\n ]\\n}","type":"json"}]', + ], + 'ListWaitingChats' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '["skillgroup1@ccc-test", "skillgroup2@ccc-test"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ChatConversationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '$23086709$EAUNIT', + ], + 'BeingAssigned' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-434537064047960064', + ], + 'EnqueueTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1718868572094', + ], + 'AccessChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '843073c2-*****-49fb-a616-738ddddfebdc', + ], + 'AccessChannelType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Web', + ], + 'UserList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c361765f-******-4e07-b81c-4b5d9183fac6'."\n", + ], + 'UserType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CUSTOMER', + ], + 'AvatarUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Messages' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SenderId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c361765f-******-4e07-b81c-4b5d9183fac6', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SenderType' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'SkillGroupId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s may not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"Data\\": [\\n {\\n \\"ChatConversationId\\": \\"$23086709$EAUNIT\\",\\n \\"BeingAssigned\\": false,\\n \\"JobId\\": \\"chat-434537064047960064\\",\\n \\"EnqueueTime\\": 1718868572094,\\n \\"AccessChannelId\\": \\"843073c2-*****-49fb-a616-738ddddfebdc\\",\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"UserList\\": [\\n {\\n \\"UserName\\": \\"访客-1c***\\",\\n \\"UserId\\": \\"c361765f-******-4e07-b81c-4b5d9183fac6\\\\n\\",\\n \\"UserType\\": \\"CUSTOMER\\",\\n \\"AvatarUrl\\": \\"无\\"\\n }\\n ],\\n \\"Messages\\": [\\n {\\n \\"SenderId\\": \\"c361765f-******-4e07-b81c-4b5d9183fac6\\",\\n \\"Content\\": \\"测试消息\\",\\n \\"SenderType\\": \\"{\\\\\\"variables\\\\\\":{},\\\\\\"text\\\\\\":\\\\\\"<p>这种的名片选单面还是双面</p>\\\\\\"}\\"\\n }\\n ],\\n \\"SkillGroupId\\": \\"skill@ccc-test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ClaimChat' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SkillGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'skillgroup@ccc-test', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'chat-65382141036853491', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ContextId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123456789', + ], + 'UserContext' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Heartbeat' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1609136956378', + ], + 'Extension' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8032****'."\n", + ], + 'WorkMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ON_SITE', + ], + 'DeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CCC-169.254.165.2-browser125.0.0-bs48b41903450e6c8', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'userId@ccc-test', + ], + 'Reserved' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => 'false', + ], + 'BreakCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Warm-up', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'OutboundScenario' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'DeviceState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ONLINE', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '18******102', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-65382141036853491'."\n", + ], + 'UserState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TALKING', + ], + 'SignedSkillGroupIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skg-default@ccc-test', + ], + ], + ], + ], + 'ChatContexts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-65382141036853491'."\n", + ], + 'ChatType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'INBOUND', + ], + 'CallVariables' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AccessChannelId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '226****-cbb6-****-8fea-1e71baf7bfa7', + ], + 'AccessChannelType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Web', + ], + 'AccessChannelName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'BeingAssigned' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.ChannelId', + 'errorMessage' => 'The specified channel %s does not exist in call %s.', + ], + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.JobId', + 'errorMessage' => 'The call %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.CTI', + 'errorMessage' => 'An internal CTI service error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ContextId\\": 123456789,\\n \\"UserContext\\": {\\n \\"Heartbeat\\": 1609136956378,\\n \\"Extension\\": \\"8032****\\\\n\\",\\n \\"WorkMode\\": \\"ON_SITE\\",\\n \\"DeviceId\\": \\"CCC-169.254.165.2-browser125.0.0-bs48b41903450e6c8\\",\\n \\"UserId\\": \\"userId@ccc-test\\",\\n \\"Reserved\\": 0,\\n \\"BreakCode\\": \\"Warm-up\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"OutboundScenario\\": false,\\n \\"DeviceState\\": \\"ONLINE\\",\\n \\"Mobile\\": \\"18******102\\",\\n \\"JobId\\": \\"chat-65382141036853491\\\\n\\",\\n \\"UserState\\": \\"TALKING\\",\\n \\"SignedSkillGroupIdList\\": [\\n \\"skg-default@ccc-test\\"\\n ]\\n },\\n \\"ChatContexts\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"JobId\\": \\"chat-65382141036853491\\\\n\\",\\n \\"ChatType\\": \\"INBOUND\\",\\n \\"CallVariables\\": \\"无\\",\\n \\"AccessChannelId\\": \\"226****-cbb6-****-8fea-1e71baf7bfa7\\",\\n \\"AccessChannelType\\": \\"Web\\",\\n \\"AccessChannelName\\": \\"测试渠道\\",\\n \\"BeingAssigned\\": true\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ReleaseChat' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'chat-6538214103685****', + ], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'CUSTOMER', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'edbcf95a-ef9f-4296-a0a6-985ac9e36db3', + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '9XYGTGWtq2wFi_Bpg7aUnIoYi_vG_rO3bjEn0YtsxbHRHrYHlz1LDBLJAyZcLxieRQR4h_6AnWvTjJeNU5jg************Hwej7WgWrmA=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B06B3244-1B44-481B-90C4-F2F92E59D6B5', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.SkillGroup', + 'errorMessage' => 'The skill group %s already exists in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"B06B3244-1B44-481B-90C4-F2F92E59D6B5\\"\\n}","type":"json"}]', + ], + 'StartChat' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'UserList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'fcd020fe-d8e4-40e5-8c77-1a272a174a7d', + ], + 'UserType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CUSTOMER', + ], + 'AvatarUrl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxx.com/image', + ], + 'Nickname' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '9XYGTGWtq2wFi_Bpg7aUnIoYi_vG_rO3bjEn0YtsxbHRHrYHlz1LDBLJAyZcLxieRQR4h_6AnWvTjJeNU5jg************Hwej7WgWrmA=', + ], + ], + [ + 'name' => 'AccessChannelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cf584733-***-***-9699-cb77aa3b7aa6', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ChatConversationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '$23086709$EAUNIT', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chat-525523618219921408', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.SkillGroup', + 'errorMessage' => 'The skill group %s already exists in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"ChatConversationId\\": \\"$23086709$EAUNIT\\",\\n \\"JobId\\": \\"chat-525523618219921408\\"\\n }\\n}","type":"json"}]', + ], + 'RejectChat' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'chat-65382141036853491', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B59382D2-5755-4C6D-861F-FA2AAD8F89F7', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.SkillGroup', + 'errorMessage' => 'The skill group %s already exists in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"B59382D2-5755-4C6D-861F-FA2AAD8F89F7\\"\\n}","type":"json"}]', + ], + 'GetVisitorLoginDetails' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'VisitorId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fcd020fe-d8e4-40e5-8c77-1a272a174a7d', + ], + ], + [ + 'name' => 'ChatDeviceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '4c51c9116c36537cb850dc1081d745df', + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '9XYGTGWtq2wFi_Bpg7aUnIoYi_vG_rO3b***YtsxbHRHrYHlz1LDBLJAyZcLxieRQR4h_6AnWvTjJeNU5jgxzO*****bHwej7WgWrmA', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '19D09CCC-F298-4124-849A-AFA217819011', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ChatLoginToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"accessToken":"oauth_cloud_key:+4oJXUAFSWxGD2YuRW4V/oUN0/8qJGNc0I*********n1E3DOr3Q3lX00ZnTpyqRi8Y6hYoLYA7n2ZkWuv485hVtXeSgnIQkKxXPbMgwoLxWaK//lI5Dn/mb4YuDifigv+ZyFzc+07vxm9ZFu/NjA==","accessTokenExpiredTime":86400000,"refreshToken":"oauth_cloud_key:/U+8UueDmpeUszhXC+SWow4pNLZp2C***********U/377BNXF+Mjo1lFgDk6GtEjNNoJpapX2mHH8GcRke2+yKQs/w4gAN9xSMn543Ciung+93pXV6IpQGbEVlu"}', + ], + 'ChatUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dac9c001****a15684ea91a81317', + ], + 'ChatDeviceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4c51c9116c36537cb850dc1081d745df', + ], + 'ChatServerUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'wss://wss.im.dingtalk.cn', + ], + 'ChatAppKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => '955e4bd7xxxxxxxxxxxxxd7898ba9fa0d0', + ], + 'ChatAppId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7pjxxx', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserId', + 'errorMessage' => 'The user %s does not exist in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"19D09CCC-F298-4124-849A-AFA217819011\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"ChatLoginToken\\": \\"{\\\\\\"accessToken\\\\\\":\\\\\\"oauth_cloud_key:+4oJXUAFSWxGD2YuRW4V/oUN0/8qJGNc0I*********n1E3DOr3Q3lX00ZnTpyqRi8Y6hYoLYA7n2ZkWuv485hVtXeSgnIQkKxXPbMgwoLxWaK//lI5Dn/mb4YuDifigv+ZyFzc+07vxm9ZFu/NjA==\\\\\\",\\\\\\"accessTokenExpiredTime\\\\\\":86400000,\\\\\\"refreshToken\\\\\\":\\\\\\"oauth_cloud_key:/U+8UueDmpeUszhXC+SWow4pNLZp2C***********U/377BNXF+Mjo1lFgDk6GtEjNNoJpapX2mHH8GcRke2+yKQs/w4gAN9xSMn543Ciung+93pXV6IpQGbEVlu\\\\\\"}\\",\\n \\"ChatUserId\\": \\"dac9c001****a15684ea91a81317\\",\\n \\"ChatDeviceId\\": \\"4c51c9116c36537cb850dc1081d745df\\",\\n \\"ChatServerUrl\\": \\"wss://wss.im.dingtalk.cn\\",\\n \\"ChatAppKey\\": \\"955e4bd7xxxxxxxxxxxxxd7898ba9fa0d0\\",\\n \\"ChatAppId\\": \\"7pjxxx\\"\\n }\\n}","type":"json"}]', + ], + 'AcceptChat' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'chat-65382141036853491', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.SkillGroup', + 'errorMessage' => 'The skill group %s already exists in instance %s.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"2263B273-AC1B-44EB-BA98-87F2322C6780\\"\\n}","type":"json"}]', + ], + 'FinishTicketTask' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f2c6722b-cd13-442d-bf10-22a07c70d6d5', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'b52a34dc-f514-4600-9c39-3cf657167c97', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'FinishTicketTaskResponse', + 'description' => 'FinishTicketTaskResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb', + ], + ], + [ + 'name' => 'Title', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CustomerId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '51e155ce-***-****-b402-13c69597b920', + ], + ], + [ + 'name' => 'Context', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'UpdateTicketResponse', + 'description' => 'UpdateTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'GetTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3d26b90a-c5d2-4b09-8219-********', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DescribeTicketResponse', + 'description' => 'DescribeTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TicketId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b3a6a131-359e-46bd-9bc5-1f5cb0ea093f', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test_43c2671b-8939-4223-86d0-6bd187905cc8_*****0666238', + ], + 'TemplateVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Context' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Assignee' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent1@ccc-test', + ], + 'AssigneeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'creator@ccc-test'."\n", + ], + 'CreatorName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8939-4223-86d0-6bd187905cc8', + ], + 'CategoryName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-399383842187575296', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620259200000', + ], + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1687846259999', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620259200000', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1693793208075', + ], + 'CurrentTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '912f0b78-6639-4a93-ae18-0d832885c27e', + ], + 'CurrentTaskName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CurrentTaskStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1693793208075', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Audio', + ], + 'CustomerId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4223-86d0-6bd187905-891798749', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Processing', + ], + 'CloseCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Completed', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BF268B34-09C2-43FD-BAC4-5D31EA633111', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TicketId\\": \\"b3a6a131-359e-46bd-9bc5-1f5cb0ea093f\\",\\n \\"TemplateId\\": \\"ccc-test_43c2671b-8939-4223-86d0-6bd187905cc8_*****0666238\\",\\n \\"TemplateVersion\\": \\"0\\",\\n \\"Title\\": \\"售后工单\\",\\n \\"Context\\": \\"{\\\\\\"productName\\\\\\":\\\\\\"商品A\\\\\\"}\\",\\n \\"Assignee\\": \\"agent1@ccc-test\\",\\n \\"AssigneeName\\": \\"坐席A\\",\\n \\"Creator\\": \\"creator@ccc-test\\\\n\\",\\n \\"CreatorName\\": \\"坐席B\\",\\n \\"CategoryId\\": \\"8939-4223-86d0-6bd187905cc8\\",\\n \\"CategoryName\\": \\"售后类目\\",\\n \\"JobId\\": \\"job-399383842187575296\\",\\n \\"StartTime\\": 1620259200000,\\n \\"EndTime\\": 1687846259999,\\n \\"CreatedTime\\": 1620259200000,\\n \\"UpdatedTime\\": 1693793208075,\\n \\"CurrentTaskId\\": \\"912f0b78-6639-4a93-ae18-0d832885c27e\\",\\n \\"CurrentTaskName\\": \\"节点1\\",\\n \\"CurrentTaskStartTime\\": 1693793208075,\\n \\"Source\\": \\"Audio\\",\\n \\"CustomerId\\": \\"4223-86d0-6bd187905-891798749\\",\\n \\"State\\": \\"Processing\\",\\n \\"CloseCode\\": \\"Completed\\",\\n \\"Comment\\": \\"无\\"\\n },\\n \\"RequestId\\": \\"BF268B34-09C2-43FD-BAC4-5D31EA633111\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListCommonTicketFields' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetSchemaResponse', + 'description' => 'GetSchemaResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Id' => [ + 'description' => 'Schema ID。', + 'type' => 'string', + 'example' => 'ticketing', + ], + 'Properties' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'type' => 'string', + 'description' => '', + 'example' => '', + ], + 'Description' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'name', + ], + 'Name' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'name', + ], + 'DataType' => [ + 'type' => 'string', + 'example' => 'string', + 'description' => '', + ], + 'Pattern' => [ + 'type' => 'string', + 'example' => '^', + 'description' => '', + ], + 'PatternErrorMessage' => [ + 'type' => 'string', + 'example' => '', + 'description' => '', + ], + 'MinLength' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '1', + ], + 'MaxLength' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '10', + ], + 'Minimum' => [ + 'type' => 'number', + 'format' => 'double', + 'description' => '', + 'example' => '1', + ], + 'Maximum' => [ + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + 'description' => '', + ], + 'Required' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'System' => [ + 'type' => 'boolean', + 'example' => 'false', + 'description' => '', + ], + 'Disabled' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'Array' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'ReadOnly' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'EditorType' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'textbox', + ], + 'Attributes' => [ + 'type' => 'string', + 'description' => '', + 'example' => '{}'."\n", + ], + 'DisplayOrder' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '1', + ], + 'CreatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => '', + 'example' => '1703517780627', + ], + 'UpdatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1716211430928', + 'description' => '', + ], + 'Creator' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'creator@ccc-test', + ], + ], + 'description' => '', + ], + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1703517780627', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1716211430928', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '30C7D235-DDCF-4C7F-A462-5E2598252C2B', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Id\\": \\"ticketing\\",\\n \\"Properties\\": {\\n \\"key\\": {\\n \\"DisplayName\\": \\"姓名\\",\\n \\"Description\\": \\"name\\",\\n \\"Name\\": \\"name\\",\\n \\"DataType\\": \\"string\\",\\n \\"Pattern\\": \\"^\\",\\n \\"PatternErrorMessage\\": \\"不是有效的email地址\\",\\n \\"MinLength\\": 1,\\n \\"MaxLength\\": 10,\\n \\"Minimum\\": 1,\\n \\"Maximum\\": 10,\\n \\"Required\\": false,\\n \\"System\\": false,\\n \\"Disabled\\": false,\\n \\"Array\\": false,\\n \\"ReadOnly\\": false,\\n \\"EditorType\\": \\"textbox\\",\\n \\"Attributes\\": \\"{}\\\\n\\",\\n \\"DisplayOrder\\": 1,\\n \\"CreatedTime\\": 1703517780627,\\n \\"UpdatedTime\\": 1716211430928,\\n \\"Creator\\": \\"creator@ccc-test\\"\\n }\\n },\\n \\"CreatedTime\\": \\"1703517780627\\",\\n \\"UpdatedTime\\": \\"1716211430928\\"\\n },\\n \\"RequestId\\": \\"30C7D235-DDCF-4C7F-A462-5E2598252C2B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'TerminateTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CloseTicketResponse', + 'description' => 'CloseTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'GetTicketSummaryReport' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '43c2671b-***-***-86d0-6bd187905cc8', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1716998400000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1719590399999', + ], + ], + [ + 'name' => 'Creator', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'creator@ccc-test', + ], + ], + [ + 'name' => 'Assignee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'assignee@ccc-test'."\n", + ], + ], + [ + 'name' => 'AssigneeType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Agent', + ], + ], + [ + 'name' => 'Participant', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'participant@ccc-test'."\n", + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TicketsCreated' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10', + ], + 'TicketsParticipated' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5', + ], + 'TicketsAssigned' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EAF3C248-E123-441B-A545-B6CD02E98EED\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"TicketsCreated\\": \\"10\\",\\n \\"TicketsParticipated\\": \\"5\\",\\n \\"TicketsAssigned\\": \\"3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + ], + 'ResubmitTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f2c6722b-cd13-442d-bf10-22a07c70d6d5', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CloseTicketResponse', + 'description' => 'CloseTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteTicketTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '**43c2671b-8939-4223-***-6bd187905cc8_1717664210492', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteTicketTemplateResponse', + 'description' => 'DeleteTicketTemplateResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '01B12EE4-6AF2-4730-8B78-EC15F4E5C025', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"01B12EE4-6AF2-4730-8B78-EC15F4E5C025\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'RejectTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f2c6722b-cd13-442d-bf10-22a07c70d6d5', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'TurnDownTicketResponse', + 'description' => 'TurnDownTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"678F7002-CA01-4ABF-A112-585AFBDF3A3B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'DisableTicketTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DisableTicketTemplateResponse', + 'description' => 'DisableTicketTemplateResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '943D8EF3-3321-471F-A104-51C96FCA94D6', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"943D8EF3-3321-471F-A104-51C96FCA94D6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'WithdrawTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CancelTicketResponse', + 'description' => 'CancelTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListTicketTasks' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListTicketTasksResponse', + 'description' => 'ListTicketTasksResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TaskName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Assignee' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'assignee@ccc-test', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620259200000', + ], + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1620269200000', + ], + 'AssigneeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'assignee', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eb039a4a6a5742c6b44ccff0c1fca745', + ], + 'TicketId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb'."\n", + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'FileKeys' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["ticket-file/xxx.png"]', + ], + ], + 'FileUrls' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["http://oss-cn-hangzhou.com/bucket/ticket-file/xxx.png"]', + ], + ], + 'TaskDefinitionNodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'APPROVAL__6zu2QjAz', + ], + 'TaskDefinitionNodeType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'APPROVAL', + ], + 'Action' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CounterSignTask', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TaskName\\": \\"节点1\\",\\n \\"Assignee\\": \\"assignee@ccc-test\\",\\n \\"Comment\\": \\"同意\\",\\n \\"StartTime\\": 1620259200000,\\n \\"EndTime\\": 1620269200000,\\n \\"AssigneeName\\": \\"assignee\\",\\n \\"TaskId\\": \\"eb039a4a6a5742c6b44ccff0c1fca745\\",\\n \\"TicketId\\": \\"5491d3b4-14ee-4341-b5f1-db2c78beddeb\\\\n\\",\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"FileKeys\\": [\\n \\"[\\\\\\"ticket-file/xxx.png\\\\\\"]\\"\\n ],\\n \\"FileUrls\\": [\\n \\"[\\\\\\"http://oss-cn-hangzhou.com/bucket/ticket-file/xxx.png\\\\\\"]\\"\\n ],\\n \\"TaskDefinitionNodeId\\": \\"APPROVAL__6zu2QjAz\\",\\n \\"TaskDefinitionNodeType\\": \\"APPROVAL\\",\\n \\"Action\\": \\"CounterSignTask\\"\\n }\\n ],\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\\\t\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListTickets' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb', + ], + ], + [ + 'name' => 'Title', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Processing', + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '43c2671b-****-4223-86d0-6bd187905cc8', + ], + ], + [ + 'name' => 'Creator', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'creator@cccV2-kmz', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1646841600000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1646928000000', + ], + ], + [ + 'name' => 'CustomerId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '51e155ce-3747-*****-b402-13c69597b920', + ], + ], + [ + 'name' => 'JobIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["job-12******","job-23****"]', + ], + ], + [ + 'name' => 'Assignee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'assignee@cccV2-kmz'."\n", + ], + ], + [ + 'name' => 'AssigneeType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Agent', + ], + ], + [ + 'name' => 'Participant', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'participant@cccV2-kmz'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TicketId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'feb83abd-9f08-49d2-9b56-41d1b66ca0ac', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c844a5f0-496c-4c5b-8a0c-dd27686e8ff6', + ], + 'TemplateVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '43c2671b-*****-4223-86d0-6bd187905cc8', + ], + 'CategoryName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1631440860000', + ], + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1631440860000', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Processing', + ], + 'CloseCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Completed', + ], + 'Assignee' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'assignee@ccc-test', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AssigneeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Assignee', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'creator@ccc-test'."\n", + ], + 'CreatorName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Creator', + ], + 'Context' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"productName":"alynx"}', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1631440860000', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1631440860000', + ], + 'CurrentTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0707dab6-34a8-11ef-9823-161e3802b2d4', + ], + 'CurrentTaskName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CurrentTaskStartTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1631440860000', + ], + 'CustomerId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '51e155ce-*****1-b402-13c69597b920', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-47150***150396416', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CHAT', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"Message\\": \\"无\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"TotalCount\\": 10,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TicketId\\": \\"feb83abd-9f08-49d2-9b56-41d1b66ca0ac\\",\\n \\"Title\\": \\"标题\\",\\n \\"TemplateId\\": \\"c844a5f0-496c-4c5b-8a0c-dd27686e8ff6\\",\\n \\"TemplateVersion\\": \\"0\\",\\n \\"CategoryId\\": \\"43c2671b-*****-4223-86d0-6bd187905cc8\\",\\n \\"CategoryName\\": \\"类目1\\",\\n \\"StartTime\\": 1631440860000,\\n \\"EndTime\\": 1631440860000,\\n \\"State\\": \\"Processing\\",\\n \\"CloseCode\\": \\"Completed\\",\\n \\"Assignee\\": \\"assignee@ccc-test\\",\\n \\"Comment\\": \\"无\\",\\n \\"AssigneeName\\": \\"Assignee\\",\\n \\"Creator\\": \\"creator@ccc-test\\\\n\\",\\n \\"CreatorName\\": \\"Creator\\",\\n \\"Context\\": \\"{\\\\\\"productName\\\\\\":\\\\\\"alynx\\\\\\"}\\",\\n \\"CreatedTime\\": \\"1631440860000\\",\\n \\"UpdatedTime\\": \\"1631440860000\\",\\n \\"CurrentTaskId\\": \\"0707dab6-34a8-11ef-9823-161e3802b2d4\\",\\n \\"CurrentTaskName\\": \\"节点1\\",\\n \\"CurrentTaskStartTime\\": 1631440860000,\\n \\"CustomerId\\": \\"51e155ce-*****1-b402-13c69597b920\\",\\n \\"JobId\\": \\"job-47150***150396416\\",\\n \\"Source\\": \\"CHAT\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + ], + 'TransferTicketTask' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5491d3b4-14ee-4341-b5f1-db2c78beddeb', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f780ade8-3ca9-458b-b067-63077946a570', + ], + ], + [ + 'name' => 'Assignee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'assignee@ccc-test', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'TransferTicketTaskResponse', + 'description' => 'TransferTicketTaskResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"678F7002-CA01-4ABF-A112-585AFBDF3A3B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3d26b90a-c5d2-4b09-8219-********', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteTicketResponse', + 'description' => 'DeleteTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"2263B273-AC1B-44EB-BA98-87F2322C6780\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'EnableTicketTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'EnableTicketTemplateResponse', + 'description' => 'EnableTicketTemplateResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'AddTicketTask' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3d26b90a-c5d2-4b09-8219-********', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3b8c672f-48f6-45f5-bf41-9d4cb2b4a716', + ], + ], + [ + 'name' => 'Assignee', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'assignee@ccc-test', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Position', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'After', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'AddAssigneeToTicketTaskResponse', + 'description' => 'AddAssigneeToTicketTaskResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B06B3244-1B44-481B-90C4-F2F92E59D6B5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"B06B3244-1B44-481B-90C4-F2F92E59D6B5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListTicketTemplates' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '43c2671b-********86d0-6bd187905cc8', + ], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListTicketTemplatesResponse', + 'description' => 'ListTicketTemplatesResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '25', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b5c21219-3a1e-4bc0-92e7-da66e057d2f6', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'Editor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'creator@ccc-test', + ], + 'TicketFields' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'name', + ], + 'DataType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String', + ], + 'Pattern' => [ + 'description' => '', + 'type' => 'string', + 'example' => '^', + ], + 'PatternErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MinLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MaxLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'Minimum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'Maximum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + ], + 'Required' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'System' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Disabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Array' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ReadOnly' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'EditorType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'textbox', + ], + 'Attribute' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'DisplayOrder' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715780670000', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715780670000', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'creator', + ], + ], + ], + ], + 'ProcessDefinition' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715780670000', + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '43c2671b-*****-4223-86d0-6bd187905cc8', + ], + 'AppliedVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'LatestVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1715780670000', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8707EB29-BAED-4302-B999-40BA61877437', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 25,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TemplateId\\": \\"b5c21219-3a1e-4bc0-92e7-da66e057d2f6\\",\\n \\"Name\\": \\"测试模板\\",\\n \\"State\\": \\"Enabled\\",\\n \\"Editor\\": \\"creator@ccc-test\\",\\n \\"TicketFields\\": [\\n {\\n \\"DisplayName\\": \\"姓名\\\\n\\",\\n \\"Description\\": \\"姓名字段\\",\\n \\"Name\\": \\"name\\",\\n \\"DataType\\": \\"String\\",\\n \\"Pattern\\": \\"^\\",\\n \\"PatternErrorMessage\\": \\"不是有效的email地址\\\\n\\",\\n \\"MinLength\\": 1,\\n \\"MaxLength\\": 30,\\n \\"Minimum\\": 1,\\n \\"Maximum\\": 10,\\n \\"Required\\": false,\\n \\"System\\": false,\\n \\"Disabled\\": false,\\n \\"Array\\": false,\\n \\"ReadOnly\\": false,\\n \\"EditorType\\": \\"textbox\\",\\n \\"Attribute\\": \\"{}\\",\\n \\"DisplayOrder\\": 1,\\n \\"CreatedTime\\": 1715780670000,\\n \\"UpdatedTime\\": 1715780670000,\\n \\"Creator\\": \\"creator\\"\\n }\\n ],\\n \\"ProcessDefinition\\": \\"无\\",\\n \\"UpdatedTime\\": 1715780670000,\\n \\"CategoryId\\": \\"43c2671b-*****-4223-86d0-6bd187905cc8\\",\\n \\"AppliedVersion\\": \\"0\\",\\n \\"LatestVersion\\": \\"1715780670000\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"8707EB29-BAED-4302-B999-40BA61877437\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateTicket' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'e9e4c76c-948d-4a6e-9ce2-9da0f5967a73', + ], + ], + [ + 'name' => 'CustomerId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '51e155ce-3747-4f21-b402-13c69597b920', + ], + ], + [ + 'name' => 'Title', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CHAT', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-38860977107324****', + ], + ], + [ + 'name' => 'Context', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A450574A-337F-43E2-BC59-9C6594C994C6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3d26b90a-c5d2-4b09-8219-60cda1******', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Null', + 'errorMessage' => 'The parameter %s must not be null.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A450574A-337F-43E2-BC59-9C6594C994C6\\",\\n \\"Data\\": \\"3d26b90a-c5d2-4b09-8219-60cda1******\\"\\n}","type":"json"}]', + ], + 'ListCategories' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Ticket' => 'Ticket', + ], + 'example' => 'Ticket', + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '43c2671b-***-***-86d0-6bd187905cc8', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListCategoriesResponse', + 'description' => 'ListCategoriesResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"[{\\\\\\\\\\\\\\"categoryId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"43c2671b-8939-4223-****-6bd187905cc8\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"childCategoryList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"categoryId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"120816ad-4392-4edf-****-6d053d5cfa5a\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"childCategoryList\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"deleted\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"editor\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"283277706217028904\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"editorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"283277706217028904\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cccV2-kmz\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemCount\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"客户反馈\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentCategoryId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"43c2671b-8939-****-86d0-6bd187905cc8\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Ticket\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"deleted\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"editor\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"283277706217028904\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"editorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"283277706217028904\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cccV2-kmz\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemCount\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"测试一01类目\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Ticket\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"categoryId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4948fcd0-2972-****-81c6-1a00927e1802\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"childCategoryList\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"deleted\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"editor\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"283277706217028904\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"editorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"283277706217028904\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cccV2-kmz\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemCount\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"生产环境验证\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Ticket\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"categoryId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c426bd7f-9661-47c3-****-2508f1a32f66\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"childCategoryList\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"deleted\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"editor\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"269801834095770945\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"editorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"269801834095770945\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cccV2-kmz\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemCount\\\\\\\\\\\\\\":4,\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"测试环境测试\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Ticket\\\\\\\\\\\\\\"}]\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'GetTicketTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '4ca2e2-c8d19b82c-d7ce393ac8197d3ab', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TemplateVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1703517780627', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetTicketTemplateResponse', + 'description' => 'GetTicketTemplateResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4ca2e2-c8d19b82c-d7ce393ac8197d3ab'."\n", + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'Editor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'editor-xxx@ccc-test', + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '43c2671b-****-4223-86d0-6bd187905cc8', + ], + 'TicketFields' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'name', + ], + 'DataType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'string', + ], + 'Pattern' => [ + 'description' => '', + 'type' => 'string', + 'example' => '^', + ], + 'PatternErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MinLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MaxLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'Minimum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'Maximum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + ], + 'Required' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'System' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Disabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Array' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ReadOnly' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'EditorType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'textbox', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'DisplayOrder' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1717664210000', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1717664210000', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'creator@cccV2-kmz', + ], + ], + ], + ], + 'ProcessDefinition' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1717664210000', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BF268B34-09C2-43FD-BAC4-5D31EA633111', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TemplateId\\": \\"4ca2e2-c8d19b82c-d7ce393ac8197d3ab\\\\n\\",\\n \\"Name\\": \\"测试模板。\\\\n\\\\n\\",\\n \\"State\\": \\"Enabled\\",\\n \\"Editor\\": \\"editor-xxx@ccc-test\\",\\n \\"CategoryId\\": \\"43c2671b-****-4223-86d0-6bd187905cc8\\",\\n \\"TicketFields\\": [\\n {\\n \\"DisplayName\\": \\"姓名\\",\\n \\"Description\\": \\"姓名描述\\",\\n \\"Name\\": \\"name\\",\\n \\"DataType\\": \\"string\\",\\n \\"Pattern\\": \\"^\\",\\n \\"PatternErrorMessage\\": \\"不是有效的email地址\\\\n\\",\\n \\"MinLength\\": 1,\\n \\"MaxLength\\": 30,\\n \\"Minimum\\": 1,\\n \\"Maximum\\": 10,\\n \\"Required\\": false,\\n \\"System\\": false,\\n \\"Disabled\\": false,\\n \\"Array\\": false,\\n \\"ReadOnly\\": false,\\n \\"EditorType\\": \\"textbox\\",\\n \\"Attributes\\": \\"{}\\",\\n \\"DisplayOrder\\": 1,\\n \\"CreatedTime\\": 1717664210000,\\n \\"UpdatedTime\\": 1717664210000,\\n \\"Creator\\": \\"creator@cccV2-kmz\\"\\n }\\n ],\\n \\"ProcessDefinition\\": \\"[{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TICKET_START\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"开始\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"nodeIndex\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"properties\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"position\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":250,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":200}},\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TICKET_START\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"events\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"edgeId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"8bd07339\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceAnchor\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"next\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"APPROVAL__JNBSSREc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"targetAnchor\\\\\\\\\\\\\\":0}]},{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TICKET_FINISH\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"结束\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"nodeIndex\\\\\\\\\\\\\\":9999,\\\\\\\\\\\\\\"properties\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"position\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":767,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":206}},\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TICKET_FINISH\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"events\\\\\\\\\\\\\\":[]},{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"APPROVAL__JNBSSREc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"流程节点\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"nodeIndex\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"properties\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"skillGroupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"chat001@cccV2-kmz\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"position\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":537,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":164.5}},\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"APPROVAL\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"events\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"edgeId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"74031613\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceAnchor\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"next\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TICKET_FINISH\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"targetAnchor\\\\\\\\\\\\\\":0}]}]\\",\\n \\"UpdatedTime\\": 1717664210000\\n },\\n \\"RequestId\\": \\"BF268B34-09C2-43FD-BAC4-5D31EA633111\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'AddBlacklistCallTagging' => [ + 'summary' => '编辑呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1764590****', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6582589278232****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'LimitExceed.CallTagsPerNumber', + 'errorMessage' => 'The total number of call tag of numbers exceeds the limit %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.CustomCallTagging', + 'errorMessage' => 'Custom call tagging %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9FBA26B0-462B-4D77-B78F-AF35560DBC71\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\"\\n}","type":"json"}]', + ], + 'CreateCallTags' => [ + 'summary' => '批量创建号码标签', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CallTagNameList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '["TagA","TagB"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Item' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TagC', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CALL_TAG_NAME_DUPLICATED' => '', + 'CALL_TAG_NAME_INSERT_DUPLICATED' => '', + 'CALL_TAG_NAME_ILLEGAL' => '', + ], + 'example' => 'CALL_TAG_NAME_DUPLICATED', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'LimitExceed.CallTagsPerInstance', + 'errorMessage' => 'The total number of call tag of the instance exceeds the limit %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": [\\n {\\n \\"Item\\": \\"TagC\\",\\n \\"Reason\\": \\"CALL_TAG_NAME_DUPLICATED\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Item>TagA</Item>\\n <Reason>CUSTOM_NUMBER_DUPLICATED</Reason>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'CreateCustomCallTagging' => [ + 'summary' => '创建呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'CustomNumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Item' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312121****', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CUSTOM_NUMBER_ILLEGAL' => '', + 'CUSTOM_NUMBER_DUPLICATED' => '', + 'CUSTOM_NUMBER_ALREADY_EXISTS' => '', + 'CUSTOM_NUMBER_TAG_NOT_EXIST' => '', + 'CUSTOM_NUMBER_INSERT_DUPLICATED' => '', + 'CUSTOM_NUMBER_TOO_MANY_TAGS' => '', + ], + 'example' => 'CUSTOM_NUMBER_DUPLICATED', + ], + ], + 'enumValueTitles' => [], + ], + ], + ], + 'enumValueTitles' => [], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.RamId', + 'errorMessage' => 'RAM user %s does not exist.', + ], + ], + 409 => [ + [ + 'errorCode' => 'AlreadyExists.CustomNumber', + 'errorMessage' => 'Custom number already exists.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::CreateCustomCallTaggings', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": [\\n {\\n \\"Item\\": \\"1312121****\\",\\n \\"Reason\\": \\"CUSTOM_NUMBER_DUPLICATED\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Item>TagA</Item>\\n <Reason>CUSTOM_NUMBER_DUPLICATED</Reason>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'DeleteCallTag' => [ + 'summary' => '删除号码标签', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TagName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'TagA', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'DeleteCustomCallTagging' => [ + 'summary' => '删除呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => ' ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1312121****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'ExportCustomCallTagging' => [ + 'summary' => '导出全部呼入号码标签', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/tagging.xlsx ?Expires=1610910578&OSSAccessKeyId=****&Signature=****', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F
', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ExportCustomCallTaggings', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/tagging.xlsx ?Expires=1610910578&OSSAccessKeyId=****&Signature=****\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F
\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F
</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>http://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/tagging.xlsx ?Expires=1610910578&OSSAccessKeyId=KZEA4GDDtCg431rmXTiEhr1q&Signature=4bXjOtUYgXl2z9iWpk3tXxS8SGY%3D</Data>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'ImportCustomCallTagging' => [ + 'summary' => '文件导入呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'FilePath', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'temp/ImportCustomCallTagging.xlsx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Item' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312121****', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CUSTOM_NUMBER_ILLEGAL' => '', + 'CUSTOM_NUMBER_DUPLICATED' => '', + 'CUSTOM_NUMBER_ALREADY_EXISTS' => '', + 'CUSTOM_NUMBER_TAG_NOT_EXIST' => '', + 'CUSTOM_NUMBER_INSERT_DUPLICATED' => '', + 'CUSTOM_NUMBER_TOO_MANY_TAGS' => '', + ], + 'example' => 'CUSTOM_NUMBER_DUPLICATED', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.InvalidFileContent', + 'errorMessage' => 'The content or format of the file (%s) is invalid.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.RamId', + 'errorMessage' => 'RAM user %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.UserResourceFileKey', + 'errorMessage' => 'User resource file key %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.OSS', + 'errorMessage' => 'An internal OSS service error occurred. %s', + ], + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ImportCustomCallTaggings', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": [\\n {\\n \\"Item\\": \\"1312121****\\",\\n \\"Reason\\": \\"CUSTOM_NUMBER_DUPLICATED\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Item>TagA</Item>\\n <Reason>CUSTOM_NUMBER_DUPLICATED</Reason>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'ListBlacklistCallTaggings' => [ + 'summary' => '编辑呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '[{"number":"1521083xxxx","jobId":"job-481841171213393920"}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '032C73C4-3A6F-4502-872B-4F5B41161C6E', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-481841171213393920', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1521083xxxx', + ], + 'Blacklisted' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'LimitExceed.CallTagsPerNumber', + 'errorMessage' => 'The total number of call tag of numbers exceeds the limit %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.CustomCallTagging', + 'errorMessage' => 'Custom call tagging %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"032C73C4-3A6F-4502-872B-4F5B41161C6E\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": [\\n {\\n \\"JobId\\": \\"job-481841171213393920\\",\\n \\"Number\\": \\"1521083xxxx\\",\\n \\"Blacklisted\\": true\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListCallTags' => [ + 'summary' => '列出号码标签', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TagName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TagA', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TagName\\": \\"TagA\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <TagName>TagA</TagName>\\n <InstanceId>ccc-test</InstanceId>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListCustomCallTagging' => [ + 'summary' => '列出呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => '1312121****', + ], + ], + [ + 'name' => 'CallTagNameList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => '["TagA"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1312121****', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-07-05 00:00:00.0', + ], + 'CallTagList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TagName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TagA', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'CCC::2020-07-01::ListCustomCallTaggings', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Number\\": \\"1312121****\\",\\n \\"Description\\": \\"王先生\\",\\n \\"Creator\\": \\"agent\\",\\n \\"UpdateTime\\": \\"2020-07-05 00:00:00.0\\",\\n \\"CallTagList\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TagName\\": \\"TagA\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Description>TagA</Description>\\n <Number>083xxxx0011</Number>\\n <InstanceId>ccc-test</InstanceId>\\n <UpdateTime>2020-07-05 00:00:00.0</UpdateTime>\\n <Creator>user-test</Creator>\\n <CallTagList>\\n <TagName>TagA</TagName>\\n <InstanceId>ccc-test</InstanceId>\\n </CallTagList>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + ], + 'ModifyCustomCallTagging' => [ + 'summary' => '编辑呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1312121****', + ], + ], + [ + 'name' => 'CallTagNameList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '["TagA","TagB"]', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'LimitExceed.CallTagsPerNumber', + 'errorMessage' => 'The total number of call tag of numbers exceeds the limit %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.CustomCallTagging', + 'errorMessage' => 'Custom call tagging %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>无</Message>\\n<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemoveBlacklistCallTagging' => [ + 'summary' => '编辑呼入控制号码', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1312121****', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'job-6538214103685****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'LimitExceed.CallTagsPerNumber', + 'errorMessage' => 'The total number of call tag of numbers exceeds the limit %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + [ + 'errorCode' => 'NotExists.CustomCallTagging', + 'errorMessage' => 'Custom call tagging %s does not exist in instance %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.DB', + 'errorMessage' => 'An internal DB service error occurred. %s', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\"\\n}","type":"json"}]', + ], + 'ExportDoNotCallNumbers' => [ + 'summary' => '导出黑名单号码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'RemarkA', + ], + ], + [ + 'name' => 'Scope', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'SYSTEM' => '', + 'INSTANCE' => '', + ], + 'example' => 'INSTANCE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://****.oss-cn-shanghai.aliyuncs.com/ccc-test/blacklist.xlsx?Expires=3294624578&OSSAccessKeyId=****&Signature=****', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"https://****.oss-cn-shanghai.aliyuncs.com/ccc-test/blacklist.xlsx?Expires=3294624578&OSSAccessKeyId=****&Signature=****\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/temp/blacklist/export/157724711549xxxx/ccc-test/Tue%20Mar%2015%2010%3A14%3A48%20CST%202022/blacklist.xlsx?Expires=3294624578&OSSAccessKeyId=XXXX&Signature=XXXX</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetDoNotCallFileUploadParameters' => [ + 'summary' => '获取黑名单文件上传地址', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'FileName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'blacklist.xlsx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FilePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test/blacklist.xlsx', + ], + 'Signature' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'zi31STIMtIfa/UN2l+6lww****', + ], + 'Host' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com', + ], + 'Policy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyMi0wMy0xNVQwMzowMzo0MC4zMTJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjBdLFsic3RhcnRzLXdpdGgiLCIka2V5IiwidGVtcC9ibGFja2xpc3QvaW1wb3J0LzE1NzcyNDcxMTU0OTA0MDEvY2NjVjIta216LzIwMjIE1MTAwMzQwLyJd****', + ], + 'ExpireTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1647313420', + ], + 'AccessKeyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"FilePath\\": \\"ccc-test/blacklist.xlsx\\",\\n \\"Signature\\": \\"zi31STIMtIfa/UN2l+6lww****\\",\\n \\"Host\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyMi0wMy0xNVQwMzowMzo0MC4zMTJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjBdLFsic3RhcnRzLXdpdGgiLCIka2V5IiwidGVtcC9ibGFja2xpc3QvaW1wb3J0LzE1NzcyNDcxMTU0OTA0MDEvY2NjVjIta216LzIwMjIE1MTAwMzQwLyJd****\\",\\n \\"ExpireTime\\": 1647313420,\\n \\"AccessKeyId\\": \\"****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <Policy>eyJleHBpcmF0aW9uIjoiMjAyMi0wMy0xNVQwMzowMzo0MC4zMTJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjBdLFsic3RhcnRzLXdpdGgiLCIka2V5IiwidGVtcC9ibGFja2xpc3QvaW1wb3J0LzE1NzcyNDcxMTU0OTA0MDEvY2NjVjIta216LzIwMjIE1MTAwMzQwLyJdXX0=</Policy>\\n <FilePath>temp/blacklist/import/157724711549xxxx/ccc-test/20220315100340/blacklist.xlsx</FilePath>\\n <AccessKeyId>LTAI4GDDtCgcY8HmXTiExxxx</AccessKeyId>\\n <Signature>zi31STIMtIfa/UN2l+6lwwe9o=</Signature>\\n <Host>https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com</Host>\\n <ExpireTime>1647313420</ExpireTime>\\n</Data>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ImportDoNotCallNumbers' => [ + 'summary' => '添加黑名单号码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '["1900000****","1312121****"]', + ], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'FilePath', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'temp/blacklist/import/15772471154xxxx/ccc-test/20220315100340/blacklist.xlsx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListDoNotCallNumbers' => [ + 'summary' => '查询黑名单号码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'RemarkA', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Scope', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'SYSTEM' => '', + 'INSTANCE' => '', + ], + 'example' => 'INSTANCE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Number' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1900000****', + ], + 'Scope' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'SYSTEM' => '', + 'INSTANCE' => '', + ], + 'example' => 'INSTANCE', + ], + 'Remark' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1626962425000', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'agent', + ], + 'CreatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Enumeration', + 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', + ], + [ + 'errorCode' => 'Parameter.Empty', + 'errorMessage' => 'The parameter %s may not be null or empty.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"1900000****\\",\\n \\"Scope\\": \\"INSTANCE\\",\\n \\"Remark\\": \\"测试\\",\\n \\"CreateTime\\": 1626962425000,\\n \\"Creator\\": \\"agent\\",\\n \\"CreatedTime\\": 1631440860000\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Scope>INSTANCE</Scope>\\n <Number>190xxxx0000</Number>\\n <CreateTime>1626962425000</CreateTime>\\n <Creator>user-test</Creator>\\n <Remark>RemarkA</Remark>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RemoveDoNotCallNumbers' => [ + 'summary' => '删除黑名单号码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'NumberList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["1900000****","1312211****"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'Params' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"Params\\": [\\n \\"numberList\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BA03159C-E808-4FF1-B27E-A61B6E888D7F</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Params>无</Params>\\n<Data>无</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListFlashSmsSettings' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'SkillGroupName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SkillGroupIdList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["skillgroup1@ccc-test"]', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListFlashSmsSettingsResponse', + 'description' => 'ListFlashSmsSettingsResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'SkillGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'skillgroup1@ccc-test', + ], + 'Enabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'SkillGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BA03159C-E808-4FF1-B27E-A61B6E888D7F', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"SkillGroupId\\": \\"skillgroup1@ccc-test\\",\\n \\"Enabled\\": true,\\n \\"SkillGroupName\\": \\"闪信测试技能组\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"BA03159C-E808-4FF1-B27E-A61B6E888D7F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListFlashSmsApplications' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'ProviderId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Uincall', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListFlashSmsMetadataResponse', + 'description' => 'ListFlashSmsApplicationResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'ProviderId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Uincall', + ], + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '71b396fa-***********-bd80e070b7c0', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"user":"600******_dev","pwd":"85abf3**********f494e","account":"6004******"}', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"ProviderId\\": \\"Uincall\\",\\n \\"ApplicationId\\": \\"71b396fa-***********-bd80e070b7c0\\",\\n \\"Name\\": \\"闪信配置\\",\\n \\"Value\\": \\"{\\\\\\"user\\\\\\":\\\\\\"600******_dev\\\\\\",\\\\\\"pwd\\\\\\":\\\\\\"85abf3**********f494e\\\\\\",\\\\\\"account\\\\\\":\\\\\\"6004******\\\\\\"}\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListFlashSmsTemplates' => [ + 'summary' => '获取闪信模板列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccIPHVDY', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProviderId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Uincall', + ], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '71b396fa-1*********-70b7c0', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListFlashSmsTemplatesResponse', + 'description' => 'ListFlashSmsTemplatesResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1715*****38', + ], + 'TemplateName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TemplateDetails' => [ + 'type' => 'string', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TemplateId\\": \\"1715*****38\\",\\n \\"TemplateName\\": \\"测试模板\\",\\n \\"TemplateDetails\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListSmsMetadata' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '251523', + 'abilityTreeNodes' => [ + 'FEATUREcccBM6DRP', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '100', + ], + ], + [ + 'name' => 'ScenarioListJson', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["SATISFACTION_SURVEY","CONTACT_FLOW_NODE"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8707EB29-BAED-4302-B999-40BA61877437', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SmsMetadataId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5ffc1c9a-4d3d-4019-*****-73255fb01d1c', + ], + 'TemplateCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SMS_468xxxx298', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Scenario' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MISSED_CALL_NOTIFICATION', + ], + 'AliyunUid' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15772400000****', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SignName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s must not be null or empty.', + ], + [ + 'errorCode' => 'Parameter.Maximum', + 'errorMessage' => 'The parameter %s must be less than or equal to %s.', + ], + [ + 'errorCode' => 'Parameter.Minimum', + 'errorMessage' => 'The parameter %s must be greater than or equal to %s.', + ], + ], + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"8707EB29-BAED-4302-B999-40BA61877437\\",\\n \\"Params\\": [\\n \\"无\\"\\n ],\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 200,\\n \\"List\\": [\\n {\\n \\"SmsMetadataId\\": \\"5ffc1c9a-4d3d-4019-*****-73255fb01d1c\\",\\n \\"TemplateCode\\": \\"SMS_468xxxx298\\",\\n \\"Description\\": \\"漏话短信配置\\",\\n \\"Scenario\\": \\"MISSED_CALL_NOTIFICATION\\",\\n \\"AliyunUid\\": 0,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"漏话短信提醒\\",\\n \\"SignName\\": \\"云呼叫中心\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'summary' => '使用ListSmsMetadata获取短信配置信息。', + ], + 'ExportContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '251084', + 'abilityTreeNodes' => [ + 'FEATUREcccTPIKHY', + ], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'lc-uf61xdtm0mf73k', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AF9834D8-6D09-4A1B-BADB-B019D9D444C8', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb3xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ExportFlowResponse', + 'description' => 'ExportFlowResponse', + 'type' => 'object', + 'properties' => [ + 'FlowPackageData' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FlowPackageData\\": \\"{}\\",\\n \\"RequestId\\": \\"DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE\\\\t\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ImportContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '251083', + 'abilityTreeNodes' => [ + 'FEATUREcccTPIKHY', + ], + ], + 'parameters' => [ + [ + 'name' => 'FlowPackageData', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '{}', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ImportFlowResponse', + 'description' => 'ImportFlowResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '27DD30C4-CAE2-481A-97CC-D3C54625341D', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"27DD30C4-CAE2-481A-97CC-D3C54625341D\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Definition', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1.0', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MAIN_FLOW', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '78128960-bb00-4ddc-8e82-923a8c5bd22d', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"78128960-bb00-4ddc-8e82-923a8c5bd22d\\",\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\"\\n}","type":"json"}]', + ], + 'ListContactFlows' => [ + 'summary' => '-', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'SURVEY_FLOW' => '', + 'SUB_FLOW' => '', + 'MAIN_FLOW' => '', + ], + 'example' => 'MAIN_FLOW', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'OrderByField', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EEEE671A-3E24-4A04-81E6-6C4F5B39DF75', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'SURVEY_FLOW' => '', + 'SUB_FLOW' => '', + 'MAIN_FLOW' => '', + ], + 'example' => 'MAIN_FLOW', + ], + 'Definition' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DraftId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'db07c0bb-6b1f-47d2-b37e-2451c617562d', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.0', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-03-08 15:34:49.0', + ], + 'Editor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Published' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '78128960-bb00-4ddc-8e82-923a8c5bd22d', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-03-05 17:35:45.0', + ], + 'NumberList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '400289****', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"EEEE671A-3E24-4A04-81E6-6C4F5B39DF75\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"List\\": [\\n {\\n \\"Type\\": \\"MAIN_FLOW\\",\\n \\"Definition\\": \\"{\\\\\\"activities\\\\\\":[{\\\\\\"type\\\\\\":\\\\\\"INCOMING_CALL\\\\\\",\\\\\\"id\\\\\\":\\\\\\"e98f0d47\\\\\\",\\\\\\"name\\\\\\":\\\\\\"开始\\\\\\",\\\\\\"properties\\\\\\":{\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":263,\\\\\\"y\\\\\\":164}},\\\\\\"events\\\\\\":[{\\\\\\"event\\\\\\":\\\\\\"complete\\\\\\",\\\\\\"next\\\\\\":\\\\\\"2d3ad2c2\\\\\\",\\\\\\"edgeId\\\\\\":\\\\\\"41f7dbd0\\\\\\"}],\\\\\\"nodeIndex\\\\\\":0},{\\\\\\"type\\\\\\":\\\\\\"HANGUP\\\\\\",\\\\\\"id\\\\\\":\\\\\\"bd4f37e2\\\\\\",\\\\\\"name\\\\\\":\\\\\\"挂机\\\\\\",\\\\\\"properties\\\\\\":{\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":765,\\\\\\"y\\\\\\":185}},\\\\\\"events\\\\\\":[{\\\\\\"event\\\\\\":\\\\\\"complete\\\\\\",\\\\\\"next\\\\\\":null}],\\\\\\"nodeIndex\\\\\\":999},{\\\\\\"type\\\\\\":\\\\\\"PLAY_SAY\\\\\\",\\\\\\"id\\\\\\":\\\\\\"2d3ad2c2\\\\\\",\\\\\\"name\\\\\\":\\\\\\"放音\\\\\\",\\\\\\"properties\\\\\\":{\\\\\\"say\\\\\\":\\\\\\"您好,欢迎来到云联络中心。\\\\\\",\\\\\\"audioResourceId\\\\\\":\\\\\\"\\\\\\",\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":485.5,\\\\\\"y\\\\\\":153.5},\\\\\\"audioType\\\\\\":\\\\\\"tts\\\\\\",\\\\\\"audioInterrupt\\\\\\":false},\\\\\\"events\\\\\\":[{\\\\\\"event\\\\\\":\\\\\\"complete\\\\\\",\\\\\\"next\\\\\\":\\\\\\"bd4f37e2\\\\\\",\\\\\\"edgeId\\\\\\":\\\\\\"e1af4f1f\\\\\\"}],\\\\\\"nodeIndex\\\\\\":1}],\\\\\\"description\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"DraftId\\": \\"db07c0bb-6b1f-47d2-b37e-2451c617562d\\",\\n \\"Description\\": \\"1.0\\",\\n \\"UpdatedTime\\": \\"2021-03-08 15:34:49.0\\",\\n \\"Editor\\": \\"ccc-test\\",\\n \\"Published\\": true,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"默认流程\\",\\n \\"ContactFlowId\\": \\"78128960-bb00-4ddc-8e82-923a8c5bd22d\\",\\n \\"CreatedTime\\": \\"2021-03-05 17:35:45.0\\",\\n \\"NumberList\\": [\\n \\"400289****\\"\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EEEE671A-3E24-4A04-81E6-6C4F5B39DF75</RequestId>\\n<Message>无</Message>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <List>\\n <Type>MAIN_FLOW</Type>\\n <Description>1.0</Description>\\n <CreatedTime>2021-03-05 17:35:45.0</CreatedTime>\\n <InstanceId>ccc-test</InstanceId>\\n <ContactFlowId>78128960-bb00-4ddc-8e82-923a8c5bd22d</ContactFlowId>\\n <Definition>{\\"activities\\":[{\\"type\\":\\"INCOMING_CALL\\",\\"id\\":\\"e98f0d47\\",\\"name\\":\\"开始\\",\\"properties\\":{\\"position\\":{\\"x\\":263,\\"y\\":164}},\\"events\\":[{\\"event\\":\\"complete\\",\\"next\\":\\"2d3ad2c2\\",\\"edgeId\\":\\"41f7dbd0\\"}],\\"nodeIndex\\":0},{\\"type\\":\\"HANGUP\\",\\"id\\":\\"bd4f37e2\\",\\"name\\":\\"挂机\\",\\"properties\\":{\\"position\\":{\\"x\\":765,\\"y\\":185}},\\"events\\":[{\\"event\\":\\"complete\\",\\"next\\":null}],\\"nodeIndex\\":999},{\\"type\\":\\"PLAY_SAY\\",\\"id\\":\\"2d3ad2c2\\",\\"name\\":\\"放音\\",\\"properties\\":{\\"say\\":\\"您好,欢迎来到阿里云呼叫中心。\\",\\"audioResourceId\\":\\"\\",\\"position\\":{\\"x\\":485.5,\\"y\\":153.5},\\"audioType\\":\\"tts\\",\\"audioInterrupt\\":false},\\"events\\":[{\\"event\\":\\"complete\\",\\"next\\":\\"bd4f37e2\\",\\"edgeId\\":\\"e1af4f1f\\"}],\\"nodeIndex\\":1}],\\"description\\":\\"\\"}</Definition>\\n <Published>true</Published>\\n <UpdatedTime>2021-03-08 15:34:49.0</UpdatedTime>\\n <DraftId>db07c0bb-6b1f-47d2-b37e-2451c617562d</DraftId>\\n <Editor>ccc-test</Editor>\\n <Name>测试IVR</Name>\\n <NumberList>[\\"400xxxx289\\"]</NumberList>\\n </List>\\n</Data>\\n<Code>OK</Code>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '274601be-a6d5-4429-bcef-32b51d031c6e', + ], + ], + [ + 'name' => 'DraftId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '566399d7-5558-447c-a72f-9be2768b6a82', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MAIN_FLOW', + ], + 'Definition' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DraftId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '566399d7-5558-447c-a72f-9be2768b6a82'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.0'."\n", + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-14 10:48:43.0', + ], + 'Editor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'editor-xxx', + ], + 'Published' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'False', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContactFlowId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '274601be-a6d5-4429-bcef-32b51d031c6e'."\n", + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-14 10:48:43.0', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"2263B273-AC1B-44EB-BA98-87F2322C6780\\",\\n \\"Data\\": {\\n \\"Type\\": \\"MAIN_FLOW\\",\\n \\"Definition\\": \\"{\\\\\\"activities\\\\\\":[{\\\\\\"type\\\\\\":\\\\\\"INCOMING_CALL\\\\\\",\\\\\\"id\\\\\\":\\\\\\"e98f0d47\\\\\\",\\\\\\"name\\\\\\":\\\\\\"开始\\\\\\",\\\\\\"properties\\\\\\":{\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":263,\\\\\\"y\\\\\\":164}},\\\\\\"events\\\\\\":[{\\\\\\"event\\\\\\":\\\\\\"complete\\\\\\",\\\\\\"next\\\\\\":\\\\\\"2d3ad2c2\\\\\\",\\\\\\"edgeId\\\\\\":\\\\\\"41f7dbd0\\\\\\"}],\\\\\\"nodeIndex\\\\\\":0},{\\\\\\"type\\\\\\":\\\\\\"HANGUP\\\\\\",\\\\\\"id\\\\\\":\\\\\\"bd4f37e2\\\\\\",\\\\\\"name\\\\\\":\\\\\\"挂机\\\\\\",\\\\\\"properties\\\\\\":{\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":765,\\\\\\"y\\\\\\":185}},\\\\\\"events\\\\\\":[{\\\\\\"event\\\\\\":\\\\\\"complete\\\\\\",\\\\\\"next\\\\\\":null}],\\\\\\"nodeIndex\\\\\\":999},{\\\\\\"type\\\\\\":\\\\\\"PLAY_SAY\\\\\\",\\\\\\"id\\\\\\":\\\\\\"2d3ad2c2\\\\\\",\\\\\\"name\\\\\\":\\\\\\"放音\\\\\\",\\\\\\"properties\\\\\\":{\\\\\\"say\\\\\\":\\\\\\"您好,欢迎来到云联络中心。\\\\\\",\\\\\\"audioResourceId\\\\\\":\\\\\\"\\\\\\",\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":485.5,\\\\\\"y\\\\\\":153.5},\\\\\\"audioType\\\\\\":\\\\\\"tts\\\\\\",\\\\\\"audioInterrupt\\\\\\":false},\\\\\\"events\\\\\\":[{\\\\\\"event\\\\\\":\\\\\\"complete\\\\\\",\\\\\\"next\\\\\\":\\\\\\"bd4f37e2\\\\\\",\\\\\\"edgeId\\\\\\":\\\\\\"e1af4f1f\\\\\\"}],\\\\\\"nodeIndex\\\\\\":1}],\\\\\\"description\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"DraftId\\": \\"566399d7-5558-447c-a72f-9be2768b6a82\\\\n\\",\\n \\"Description\\": \\"1.0\\\\n\\",\\n \\"UpdatedTime\\": \\"2021-07-14 10:48:43.0\\",\\n \\"Editor\\": \\"editor-xxx\\",\\n \\"Published\\": true,\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"Name\\": \\"欢迎语\\",\\n \\"ContactFlowId\\": \\"274601be-a6d5-4429-bcef-32b51d031c6e\\\\n\\",\\n \\"CreatedTime\\": \\"2021-07-14 10:48:43.0\\"\\n }\\n}","type":"json"}]', + ], + 'StartEditContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '798e83a9-5140-4039-afa1-761ca4cca2df', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b3114362-9062-46c7-82dc-ae55ac168b2e', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BC2733CE-C470-564A-8C11-9DC02468823A', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"b3114362-9062-46c7-82dc-ae55ac168b2e\\",\\n \\"RequestId\\": \\"BC2733CE-C470-564A-8C11-9DC02468823A\\"\\n}","type":"json"}]', + ], + 'CommitContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '7d706489-d06d-4a92-8666-8c9dba2c5cb1', + ], + ], + [ + 'name' => 'Definition', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'DraftId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b28f74ca-5846-4496-8bbd-34fb1750798c', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '937617D5-01E9-5A39-B52D-15D5C143260C', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"937617D5-01E9-5A39-B52D-15D5C143260C\\"\\n}","type":"json"}]', + ], + 'PublishContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b0a063bf-f138-42a4-ad9f-9babe3ec1a9e', + ], + ], + [ + 'name' => 'DraftId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0e0b8e78-af3e-4360-a5c5-f9bb5c2b8af2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BFB6788F-20D4-5767-BC67-99EAAC28F789', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"BFB6788F-20D4-5767-BC67-99EAAC28F789\\"\\n}","type":"json"}]', + ], + 'DiscardEditingContactFlow' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3ff4e021-fd63-4572-ad8c-10ed69972965', + ], + ], + [ + 'name' => 'DraftId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0aa493d6-58eb-4290-9ba2-e1c2c615b46b', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CB72B537-B531-598F-9617-A636FB8040C0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"CB72B537-B531-598F-9617-A636FB8040C0\\"\\n}","type":"json"}]', + ], + 'DeleteContactFlow' => [ + 'summary' => '-', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcccD5GAHN', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'ContactFlowId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0f87c997-b0c1-41d4-9e9e-1b791de6ad1f', + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '07511949-6DC4-5D0B-8FA8-FF8FA29B4217', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"07511949-6DC4-5D0B-8FA8-FF8FA29B4217\\"\\n}","type":"json"}]', + ], + 'DeleteSchemaProperty' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'PropertyName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'name', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteSchemaPropertyResponse', + 'description' => 'DeleteSchemaPropertyResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'User 244715989906081477 does not exist in instance worldfirst01.', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"User 244715989906081477 does not exist in instance worldfirst01.\\",\\n \\"Params\\": [\\n \\"id格式错误\\"\\n ]\\n}","type":"json"}]', + ], + 'DisableSchemaProperty' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'PropertyName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'name', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2263B273-AC1B-44EB-BA98-87F2322C6780', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ef1e71e9-ae9d-487c-96ad-9181d85cf802', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DisableSchemaPropertyResponse', + 'description' => 'DisableSchemaPropertyResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'User 244715989906081477 does not exist in instance worldfirst01.', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\'userId\']', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9FBA26B0-462B-4D77-B78F-AF35560DBC71\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"User 244715989906081477 does not exist in instance worldfirst01.\\",\\n \\"Params\\": [\\n \\"[\'userId\']\\"\\n ]\\n}","type":"json"}]', + ], + 'EnableSchemaProperty' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'PropertyName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'name', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'EnableSchemaPropertyResponse', + 'description' => 'EnableSchemaPropertyResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2778FA12-EDD6-42AA-9B15-AF855072E5E5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'The operation is not allowed. User state (READY) does not meet expectations (OFFLINE).', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\'wudi@zcwlwhkf\']', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2778FA12-EDD6-42AA-9B15-AF855072E5E5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"The operation is not allowed. User state (READY) does not meet expectations (OFFLINE).\\",\\n \\"Params\\": [\\n \\"[\'wudi@zcwlwhkf\']\\"\\n ]\\n}","type":"json"}]', + ], + 'GetSchema' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetSchemaResponse', + 'description' => 'GetSchemaResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5e0964fd-951c-4e45-b518-d09d4d2db8ca', + ], + 'Id' => [ + 'description' => 'schema id', + 'type' => 'string', + 'example' => 'profile', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Properties' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'type' => 'string', + 'description' => '', + 'example' => '', + ], + 'Description' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'name', + ], + 'Name' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'name', + ], + 'DataType' => [ + 'type' => 'string', + 'example' => 'string', + 'description' => '', + ], + 'Pattern' => [ + 'type' => 'string', + 'example' => '^', + 'description' => '', + ], + 'PatternErrorMessage' => [ + 'type' => 'string', + 'example' => '', + 'description' => '', + ], + 'MinLength' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '1', + ], + 'MaxLength' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '10', + ], + 'Minimum' => [ + 'type' => 'number', + 'format' => 'double', + 'description' => '', + 'example' => '1', + ], + 'Maximum' => [ + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + 'description' => '', + ], + 'Required' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'System' => [ + 'type' => 'boolean', + 'example' => 'false', + 'description' => '', + ], + 'Disabled' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'Array' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'ReadOnly' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'EditorType' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'textbox', + ], + 'Attributes' => [ + 'type' => 'string', + 'description' => '', + 'example' => '{}', + ], + 'DisplayOrder' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '1', + ], + 'CreatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => '', + 'example' => '2021-07-14 10:48:43.0', + ], + 'UpdatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2021-07-14 10:48:43.0', + 'description' => '', + ], + 'Creator' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'tom', + ], + ], + 'description' => '', + ], + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-14 10:48:43.0', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-14 10:48:43.0', + ], + 'Deleted' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '19D09CCC-F298-4124-849A-AFA217819011', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Service abnormal, the instance 0418 is ceased.', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"InstanceId\\": \\"5e0964fd-951c-4e45-b518-d09d4d2db8ca\\",\\n \\"Id\\": \\"profile\\",\\n \\"Description\\": \\"客户profile\\",\\n \\"Properties\\": {\\n \\"key\\": {\\n \\"DisplayName\\": \\"姓名\\",\\n \\"Description\\": \\"name\\",\\n \\"Name\\": \\"name\\",\\n \\"DataType\\": \\"string\\",\\n \\"Pattern\\": \\"^\\",\\n \\"PatternErrorMessage\\": \\"不是有效的email地址\\",\\n \\"MinLength\\": 1,\\n \\"MaxLength\\": 10,\\n \\"Minimum\\": 1,\\n \\"Maximum\\": 10,\\n \\"Required\\": false,\\n \\"System\\": false,\\n \\"Disabled\\": false,\\n \\"Array\\": false,\\n \\"ReadOnly\\": false,\\n \\"EditorType\\": \\"textbox\\",\\n \\"Attributes\\": \\"{}\\",\\n \\"DisplayOrder\\": 1,\\n \\"CreatedTime\\": 0,\\n \\"UpdatedTime\\": 0,\\n \\"Creator\\": \\"tom\\"\\n }\\n },\\n \\"CreatedTime\\": \\"2021-07-14 10:48:43.0\\",\\n \\"UpdatedTime\\": \\"2021-07-14 10:48:43.0\\",\\n \\"Deleted\\": false\\n },\\n \\"RequestId\\": \\"19D09CCC-F298-4124-849A-AFA217819011\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Service abnormal, the instance 0418 is ceased.\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteSchema' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0630E5DF-CEB0-445B-8626-D5C7481181C3', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteSchemaResponse', + 'description' => 'DeleteSchemaResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '678F7002-CA01-4ABF-A112-585AFBDF3A3B', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"678F7002-CA01-4ABF-A112-585AFBDF3A3B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'GetDocumentUploadParameters' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'FileName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'blacklist.xlsx', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '24BE19E8-BF7D-4992-A35E-15EBA874F2E5', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetTempAttachmentUploadUrlResponse', + 'description' => 'GetTempAttachmentUploadUrlResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AccessKeyId' => [ + 'title' => '签名使用的accessKeyId', + 'description' => '', + 'type' => 'string', + 'example' => '****', + ], + 'Policy' => [ + 'title' => '签名策略', + 'description' => '', + 'type' => 'string', + 'example' => 'Permit', + ], + 'Signature' => [ + 'title' => '签名', + 'description' => '', + 'type' => 'string', + 'example' => 'zi31STIMtIfa/UN2l+6lww****', + ], + 'FilePath' => [ + 'title' => 'oss文件路径', + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test/blacklist.xlsx', + ], + 'Host' => [ + 'title' => 'oss host', + 'description' => 'oss host', + 'type' => 'string', + 'example' => 'https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com', + ], + 'ExpireTime' => [ + 'title' => '到期时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1647313420', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AccessKeyId\\": \\"****\\",\\n \\"Policy\\": \\"Permit\\",\\n \\"Signature\\": \\"zi31STIMtIfa/UN2l+6lww****\\",\\n \\"FilePath\\": \\"ccc-test/blacklist.xlsx\\",\\n \\"Host\\": \\"https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com\\",\\n \\"ExpireTime\\": 1647313420\\n },\\n \\"RequestId\\": \\"9FBA26B0-462B-4D77-B78F-AF35560DBC71\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateSchemaProperty' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'Property', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '-', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'name', + ], + 'DataType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'string', + ], + 'Pattern' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '(.*)', + ], + 'PatternErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MinLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'MaxLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'Minimum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => false, + 'example' => '10800', + ], + 'Maximum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => false, + 'example' => '11', + ], + 'Required' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'Disabled' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'Array' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ReadOnly' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'EditorType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'textbox', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{\\"instanceId\\":\\"4cc3f160-ca64-49ff-bc70-390a044a4e83\\",\\"appId\\":\\"1684145288664\\",\\"commodityCode\\":\\"dide_pre\\",\\"dide_pre_set\\":\\"version_ent\\"}', + ], + 'DisplayOrder' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'UpdateSchemaPropertyResponse', + 'description' => 'UpdateSchemaPropertyResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A450574A-337F-43E2-BC59-9C6594C994C6', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A450574A-337F-43E2-BC59-9C6594C994C6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'SaveDocument' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'DocumentId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'DocumentJson', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '{"name":"tom"}', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'SaveDocumentResponse', + 'description' => 'SaveDocumentResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0101234****', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '01B12EE4-6AF2-4730-8B78-EC15F4E5C025', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"0101234****\\",\\n \\"RequestId\\": \\"01B12EE4-6AF2-4730-8B78-EC15F4E5C025\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteDocuments' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'DocumentIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0630E5DF-CEB0-445B-8626-D5C7481181C3', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteDocumentsResponse', + 'description' => 'DeleteDocumentsResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A450574A-337F-43E2-BC59-9C6594C994C6', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A450574A-337F-43E2-BC59-9C6594C994C6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteDocument' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'DocumentId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE ', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'd278629c-c687-4aa3-b044-4fe9b012****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteDocumentResponse', + 'description' => 'DeleteDocumentResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8707EB29-BAED-4302-B999-40BA61877437', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8707EB29-BAED-4302-B999-40BA61877437\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListDocuments' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Sorts', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PropertyName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + 'Order' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'desc', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'eyJ0YWJsZUlkIjoiY2Y2MTQxYjA5NDY0NDUxMzk5YjFjMTA5YTMxZWNkMzEiLCJ0b2tlbiI6IjAwMDAwMDAwMDAwNzAzNzcifQ==', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'EAF3C248-E123-441B-A545-B6CD02E98EED', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'd278629c-c687-4aa3-b044-4fe9b012e7ef', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListDocumentsResponse', + 'description' => 'ListDocumentsResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Schema' => [ + 'description' => 'scheme', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '87b12784-8ce2-40b6-b21f-c49cb3b5501e', + ], + 'Id' => [ + 'description' => 'schame id', + 'type' => 'string', + 'example' => 'profile', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '-', + ], + 'Properties' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'name', + ], + 'Description' => [ + 'type' => 'string', + 'example' => '-', + 'description' => '', + ], + 'Name' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'name', + ], + 'DataType' => [ + 'type' => 'string', + 'example' => 'string', + 'description' => '', + ], + 'Pattern' => [ + 'type' => 'string', + 'example' => '*', + 'description' => '', + ], + 'PatternErrorMessage' => [ + 'type' => 'string', + 'example' => '', + 'description' => '', + ], + 'MinLength' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'example' => '1', + ], + 'MaxLength' => [ + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'description' => '', + ], + 'Minimum' => [ + 'type' => 'number', + 'format' => 'double', + 'description' => '', + 'example' => '1', + ], + 'Maximum' => [ + 'type' => 'number', + 'format' => 'double', + 'description' => '', + 'example' => '1', + ], + 'Required' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'System' => [ + 'type' => 'boolean', + 'example' => 'false', + 'description' => '', + ], + 'Disabled' => [ + 'type' => 'boolean', + 'example' => 'false', + 'description' => '', + ], + 'Array' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'ReadOnly' => [ + 'type' => 'boolean', + 'description' => '', + 'example' => 'false', + ], + 'EditorType' => [ + 'type' => 'string', + 'example' => 'textbox', + 'description' => '', + ], + 'Attributes' => [ + 'type' => 'string', + 'description' => '', + 'example' => '{}', + ], + 'DisplayOrder' => [ + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'description' => '', + ], + 'CreatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2020-10-14T09:53:53Z', + 'description' => '', + ], + 'UpdatedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2020-10-14T09:53:53Z', + 'description' => '', + ], + 'Creator' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'tom', + ], + ], + 'description' => '', + ], + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-14T09:53:53Z', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-14T09:53:53Z'."\n", + ], + 'Deleted' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'Documents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'NextPageToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '54d1a616d95a4a01ba58967a9115b649', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Schema\\": {\\n \\"InstanceId\\": \\"87b12784-8ce2-40b6-b21f-c49cb3b5501e\\",\\n \\"Id\\": \\"profile\\",\\n \\"Description\\": \\"-\\",\\n \\"Properties\\": {\\n \\"key\\": {\\n \\"DisplayName\\": \\"name\\",\\n \\"Description\\": \\"-\\",\\n \\"Name\\": \\"name\\",\\n \\"DataType\\": \\"string\\",\\n \\"Pattern\\": \\"*\\",\\n \\"PatternErrorMessage\\": \\"格式错误\\",\\n \\"MinLength\\": 1,\\n \\"MaxLength\\": 1,\\n \\"Minimum\\": 1,\\n \\"Maximum\\": 1,\\n \\"Required\\": false,\\n \\"System\\": false,\\n \\"Disabled\\": false,\\n \\"Array\\": false,\\n \\"ReadOnly\\": false,\\n \\"EditorType\\": \\"textbox\\",\\n \\"Attributes\\": \\"{}\\",\\n \\"DisplayOrder\\": 1,\\n \\"CreatedTime\\": 0,\\n \\"UpdatedTime\\": 0,\\n \\"Creator\\": \\"tom\\"\\n }\\n },\\n \\"CreatedTime\\": \\"2020-10-14T09:53:53Z\\",\\n \\"UpdatedTime\\": \\"2020-10-14T09:53:53Z\\\\n\\",\\n \\"Deleted\\": false\\n },\\n \\"Documents\\": [\\n {}\\n ],\\n \\"TotalCount\\": 1,\\n \\"NextPageToken\\": \\"54d1a616d95a4a01ba58967a9115b649\\"\\n },\\n \\"RequestId\\": \\"7BEEA660-A45A-45E3-98CC-AFC65E715C23\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ImportDocuments' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'OssFileKey', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test/test-file.wav', + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ImportDocumentsResponse', + 'description' => 'ImportDocumentsResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '01B12EE4-6AF2-4730-8B78-EC15F4E5C025', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"01B12EE4-6AF2-4730-8B78-EC15F4E5C025\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateSchema' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => false, + 'example' => 'profile', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '-', + ], + ], + [ + 'name' => 'Properties', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '-', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'name', + ], + 'DataType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'string', + ], + 'Pattern' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*', + ], + 'PatternErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MinLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'MaxLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'Minimum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => false, + 'example' => '1', + ], + 'Maximum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => false, + 'example' => '1', + ], + 'Required' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'Disabled' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'Array' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ReadOnly' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'EditorType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'textbox', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{\'Clusters\': {\'Description\': \'The list of clusters.\'}, \'ClusterIds\': {\'Description\': \'The list of cluster IDs.\'}}', + ], + 'DisplayOrder' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7BEEA660-A45A-45E3-98CC-AFC65E715C23', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1c450', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CreateSchemaResponse', + 'description' => 'CreateSchemaResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1ca2b084-6f0a-454b-9851-29768a9a5832', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9F766284-F103-4298-8EC5-19F9F9BE5522', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"1ca2b084-6f0a-454b-9851-29768a9a5832\\",\\n \\"RequestId\\": \\"9F766284-F103-4298-8EC5-19F9F9BE5522\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'AddSchemaProperty' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'schema id', + 'type' => 'string', + 'required' => true, + 'example' => 'profile', + ], + ], + [ + 'name' => 'Property', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '-', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'name', + ], + 'DataType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'string', + ], + 'Pattern' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*', + ], + 'PatternErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MinLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'MaxLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'Minimum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => false, + 'example' => '1', + ], + 'Maximum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => false, + 'example' => '1', + ], + 'Required' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'Disabled' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'False', + ], + 'Array' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ReadOnly' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'EditorType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'textbox', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'DisplayOrder' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'RequestId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'b0eb2742-f37e-4c67-82d4-25c651c1xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'AddSchemaPropertyResponse', + 'description' => 'AddSchemaPropertyResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BF268B34-09C2-43FD-BAC4-5D31EA633111', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF268B34-09C2-43FD-BAC4-5D31EA633111\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'GetSummaryTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'GetSummaryTemplateResponse', + 'description' => 'GetSummaryTemplateResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492'."\n", + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8939-4223-86d0-6bd187905cc8', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'Editor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'editor-xxx@ccc-test', + ], + 'PropertyList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DisplayName-A', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Description-xxxx', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Name-A', + ], + 'DataType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'string'."\n", + ], + 'Pattern' => [ + 'description' => '', + 'type' => 'string', + 'example' => '^', + ], + 'PatternErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MinLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MaxLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'Minimum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'Maximum' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + ], + 'Required' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'System' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Disabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Array' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ReadOnly' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'EditorType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'textbox', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'DisplayOrder' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CreatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1717664210000', + ], + 'UpdatedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1717664210000', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cretor-xxx@ccc-test'."\n", + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '30C7D235-DDCF-4C7F-A462-5E2598252C2B', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TemplateId\\": \\"43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492\\\\n\\",\\n \\"CategoryId\\": \\"8939-4223-86d0-6bd187905cc8\\",\\n \\"Name\\": \\"测试模板\\",\\n \\"State\\": \\"Enabled\\",\\n \\"Editor\\": \\"editor-xxx@ccc-test\\",\\n \\"PropertyList\\": [\\n {\\n \\"DisplayName\\": \\"DisplayName-A\\",\\n \\"Description\\": \\"Description-xxxx\\",\\n \\"Name\\": \\"Name-A\\",\\n \\"DataType\\": \\"string\\\\n\\",\\n \\"Pattern\\": \\"^\\",\\n \\"PatternErrorMessage\\": \\"不是有效的email地址\\\\n\\",\\n \\"MinLength\\": 1,\\n \\"MaxLength\\": 30,\\n \\"Minimum\\": 1,\\n \\"Maximum\\": 10,\\n \\"Required\\": false,\\n \\"System\\": false,\\n \\"Disabled\\": false,\\n \\"Array\\": false,\\n \\"ReadOnly\\": false,\\n \\"EditorType\\": \\"textbox\\",\\n \\"Attributes\\": \\"{}\\",\\n \\"DisplayOrder\\": 1,\\n \\"CreatedTime\\": 1717664210000,\\n \\"UpdatedTime\\": 1717664210000,\\n \\"Creator\\": \\"cretor-xxx@ccc-test\\\\n\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"30C7D235-DDCF-4C7F-A462-5E2598252C2B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateCallSummary' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'TicketId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f2c6722b-cd13-442d-bf10-22a07c70d6d5', + ], + ], + [ + 'name' => 'Context', + 'in' => 'query', + 'schema' => [ + 'title' => '更新内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'UpdateCallSummaryResponse', + 'description' => 'UpdateCallSummaryResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'any', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9FBA26B0-462B-4D77-B78F-AF35560DBC71', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"无\\",\\n \\"RequestId\\": \\"9FBA26B0-462B-4D77-B78F-AF35560DBC71\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateCallSummary' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'CustomerId', + 'in' => 'query', + 'schema' => [ + 'title' => '客户ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '51e155ce-3747-*****-b402-13c69597b920', + ], + ], + [ + 'name' => 'Context', + 'in' => 'query', + 'schema' => [ + 'title' => 'summary信息', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-522327189435260928', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CreateTicketResponse', + 'description' => 'CreateTicketResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c58b9719-3bc3-441d-a4d3-fc0309ef7066', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8707EB29-BAED-4302-B999-40BA61877437', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"c58b9719-3bc3-441d-a4d3-fc0309ef7066\\",\\n \\"RequestId\\": \\"8707EB29-BAED-4302-B999-40BA61877437\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'ListCallSummaries' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'ContactIdList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '通话ID列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-544789******759424', + ], + 'required' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ccc-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListCallSummariesResponse', + 'description' => 'ListCallSummariesResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TicketId' => [ + 'title' => '小结ID', + 'description' => '', + 'type' => 'string', + 'example' => 'ac0dd304-****-****-****-4a90010f0d38', + ], + 'ContactId' => [ + 'title' => '通话ID', + 'description' => '', + 'type' => 'string', + 'example' => 'job-544789******759424', + ], + 'Context' => [ + 'title' => 'summary信息', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatedTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1723449513735', + ], + 'Creator' => [ + 'title' => '创建人', + 'description' => '', + 'type' => 'string', + 'example' => 'creator@ccc-test', + ], + 'Editor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'editor@ccc-test', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '932579BC-811A-503D-B322-4C2E57087CAA', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Params' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExists.InstanceId', + 'errorMessage' => 'The specified instance %s does not exist.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TicketId\\": \\"ac0dd304-****-****-****-4a90010f0d38\\",\\n \\"ContactId\\": \\"job-544789******759424\\",\\n \\"Context\\": \\"{\\\\n \\\\\\"_sys_field_config\\\\\\": [\\\\n {\\\\n \\\\\\"Array\\\\\\": false,\\\\n \\\\\\"Required\\\\\\": true,\\\\n \\\\\\"DisplayName\\\\\\": \\\\\\"主题\\\\\\",\\\\n \\\\\\"Attributes\\\\\\": \\\\\\"{}\\\\\\",\\\\n \\\\\\"DataType\\\\\\": \\\\\\"TEXT\\\\\\",\\\\n \\\\\\"EditorType\\\\\\": \\\\\\"TEXT\\\\\\",\\\\n \\\\\\"MaxLength\\\\\\": 30,\\\\n \\\\\\"System\\\\\\": true,\\\\n \\\\\\"Name\\\\\\": \\\\\\"summaryTitle\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"Array\\\\\\": false,\\\\n \\\\\\"DisplayName\\\\\\": \\\\\\"小结\\\\\\",\\\\n \\\\\\"Attributes\\\\\\": \\\\\\"{}\\\\\\",\\\\n \\\\\\"DataType\\\\\\": \\\\\\"TEXT\\\\\\",\\\\n \\\\\\"EditorType\\\\\\": \\\\\\"TEXTAREA\\\\\\",\\\\n \\\\\\"MaxLength\\\\\\": 1000,\\\\n \\\\\\"System\\\\\\": true,\\\\n \\\\\\"Name\\\\\\": \\\\\\"summaryContent\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"Array\\\\\\": true,\\\\n \\\\\\"DisplayName\\\\\\": \\\\\\"标签\\\\\\",\\\\n \\\\\\"Attributes\\\\\\": \\\\\\"{}\\\\\\",\\\\n \\\\\\"DataType\\\\\\": \\\\\\"TEXT\\\\\\",\\\\n \\\\\\"EditorType\\\\\\": \\\\\\"SELECT\\\\\\",\\\\n \\\\\\"System\\\\\\": true,\\\\n \\\\\\"Name\\\\\\": \\\\\\"keywords\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"summaryContent\\\\\\": \\\\\\"小结内容\\\\\\",\\\\n \\\\\\"creator\\\\\\": \\\\\\"creator@ccc-test\\\\\\",\\\\n \\\\\\"bizType\\\\\\": \\\\\\"Summary\\\\\\",\\\\n \\\\\\"keywords\\\\\\": [\\\\n \\\\\\"标签1\\\\\\"\\\\n ],\\\\n \\\\\\"source\\\\\\": \\\\\\"Console\\\\\\",\\\\n \\\\\\"summaryTitle\\\\\\": \\\\\\"测试会话小结\\\\\\",\\\\n \\\\\\"instanceId\\\\\\": \\\\\\"ccc-test\\\\\\",\\\\n \\\\\\"externalInput\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"summaryTitle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"测试会话小结\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"summaryContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"小结内容\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"keywords\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"标签1\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"_sys_field_config\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"主题\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"summaryTitle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Required\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EditorType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TEXT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Array\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"DataType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TEXT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"System\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"MaxLength\\\\\\\\\\\\\\":30,\\\\\\\\\\\\\\"Attributes\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{}\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"小结\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"summaryContent\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EditorType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TEXTAREA\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Array\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"DataType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TEXT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"System\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"MaxLength\\\\\\\\\\\\\\":1000,\\\\\\\\\\\\\\"Attributes\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{}\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"keywords\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EditorType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELECT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Array\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DataType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TEXT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"System\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Attributes\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{}\\\\\\\\\\\\\\"}]}\\\\\\",\\\\n \\\\\\"templateName\\\\\\": \\\\\\"Summary-Ticket\\\\\\",\\\\n \\\\\\"bizId\\\\\\": \\\\\\"job-544789******759424\\\\\\",\\\\n \\\\\\"ticketStartTime\\\\\\": 1723449513735,\\\\n \\\\\\"ticketId\\\\\\": \\\\\\"ac0dd304-****-****-****-4a90010f0d38\\\\\\",\\\\n \\\\\\"definitionId\\\\\\": \\\\\\"Summary-Ticket:2:6881f43a-****-11ee-*****-6eb35a90a7a6\\\\\\"\\\\n}\\",\\n \\"CreatedTime\\": 1723449513735,\\n \\"Creator\\": \\"creator@ccc-test\\",\\n \\"Editor\\": \\"editor@ccc-test\\"\\n }\\n ],\\n \\"RequestId\\": \\"932579BC-811A-503D-B322-4C2E57087CAA\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Params\\": [\\n \\"无\\"\\n ]\\n}","type":"json"}]', + ], + 'AnalyzeConversation' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '9cfad875-6260-4a53-ab6e-b13e3fb31f7d', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'job-10963442671187****', + ], + ], + [ + 'name' => 'TaskListJson', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["keywords"]', + ], + ], + [ + 'name' => 'FieldListJson', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9F766284-F103-4298-8EC5-19F9F9BE5522', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"9F766284-F103-4298-8EC5-19F9F9BE5522\\",\\n \\"Data\\": \\"{\\\\n \\\\\\"订单号\\\\\\": \\\\\\"1234\\\\\\",\\\\n \\\\\\"商品名称\\\\\\": \\\\\\"笔记本\\\\\\"\\\\n}\\"\\n}","type":"json"}]', + ], + 'AddFeedback' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ccc-test', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f780ade8-****-458b-b067-63077946a570', + ], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Abstract:fields'."\n", + ], + ], + [ + 'name' => 'Feedback', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Rating', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => 'thumbsUp', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C81FD1A5-4B99-470A-A527-D80150228784', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Parameter.Format', + 'errorMessage' => 'The format of parameter %s is invalid. %s', + ], + [ + 'errorCode' => 'Parameter.Blank', + 'errorMessage' => 'The parameter %s may not be null or blank.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalService.Common', + 'errorMessage' => 'An internal service error occurred. %s', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"C81FD1A5-4B99-470A-A527-D80150228784\\"\\n}","type":"json"}]', + ], + 'GetUploadAudioDataParams' => [ + 'summary' => '获取质检参数', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'test', + ], + ], + [ + 'name' => 'ContactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-38860977107324****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03C67DAD-EB26-41D8-949D-9B0C470FB716', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParamsStr' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"03C67DAD-EB26-41D8-949D-9B0C470FB716\\",\\n \\"Data\\": {\\n \\"ParamsStr\\": \\"{\\\\n \\\\\\"autoSplit\\\\\\": 1,\\\\n \\\\\\"appKey\\\\\\": ****,\\\\n \\\\\\"sampleRate\\\\\\": 8,\\\\n \\\\\\"callList\\\\\\": [\\\\n {\\\\n \\\\\\"callId\\\\\\": \\\\\\"job-46686139435843****\\\\\\",\\\\n \\\\\\"validTimes\\\\\\": [\\\\n {\\\\n \\\\\\"begin_time\\\\\\": 0,\\\\n \\\\\\"end_time\\\\\\": 30720,\\\\n \\\\\\"speaker_id\\\\\\": \\\\\\"张**\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"resolveType\\\\\\": \\\\\\"ali-ACC\\\\\\",\\\\n \\\\\\"instance\\\\\\": \\\\\\"c****\\\\\\",\\\\n \\\\\\"callee\\\\\\": \\\\\\"153****\\\\\\",\\\\n \\\\\\"accUid\\\\\\": 105****967,\\\\n \\\\\\"callStartTime\\\\\\": 1704870035381,\\\\n \\\\\\"customerServiceName\\\\\\": \\\\\\"张**\\\\\\",\\\\n \\\\\\"tid\\\\\\": \\\\\\"2ccd8732-62ed-****b9\\\\\\",\\\\n \\\\\\"callType\\\\\\": 1,\\\\n \\\\\\"skillGroupUUID\\\\\\": \\\\\\"skg-default@c****\\\\\\",\\\\n \\\\\\"caller\\\\\\": \\\\\\"2023****\\\\\\",\\\\n \\\\\\"customerServicePhone\\\\\\": \\\\\\"80****54\\\\\\",\\\\n \\\\\\"channels\\\\\\": [\\\\n {\\\\n \\\\\\"speaker_id\\\\\\": \\\\\\"张**\\\\\\",\\\\n \\\\\\"channel_key\\\\\\": \\\\\\"ch-user-153****-80****54-1704870030317-job-46686139435843****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"sourceType\\\\\\": 1,\\\\n \\\\\\"channelKey\\\\\\": \\\\\\"ch-user-153****-80****54-1704870030317-job-46686139435843****\\\\\\",\\\\n \\\\\\"skillGroupName\\\\\\": \\\\\\"金****\\\\\\",\\\\n \\\\\\"voiceFileUrl\\\\\\": \\\\\\"https://ccc-***.oss-cn-****.aliyuncs.com/ccc-****/c****/2024/01/job-46686139435843****.mkv?Expires=****&OSSAccessKeyId=****&Signature=****\\\\\\",\\\\n \\\\\\"skillGroupId\\\\\\": 0,\\\\n \\\\\\"customerServiceId\\\\\\": 203242802****\\\\n }\\\\n ]\\\\n}\\"\\n }\\n}","type":"json"}]', + ], + 'ListFeedbacks' => [ + 'summary' => '查询反馈记录', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ccc-test'."\n", + ], + ], + [ + 'name' => 'TaskIdList', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["20251216-8B9B7B02-16FE-54BE-942A-F59DE0656032"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '26E54929-CA86-1035-9B42-0C8F291BB027', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccc-test', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20251216-8B9B7B02-16FE-54BE-942A-F59DE0656032', + ], + 'TaskName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PostCallAnalyzer:solution', + ], + 'UserResponse' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxxxx', + ], + 'UserRating' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '-1', + ], + 'ContactId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-25920271311543****', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'NotExist.Instance', + 'errorMessage' => 'Call center instance %s does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"26E54929-CA86-1035-9B42-0C8F291BB027\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": [\\n {\\n \\"InstanceId\\": \\"ccc-test\\",\\n \\"TaskId\\": \\"20251216-8B9B7B02-16FE-54BE-942A-F59DE0656032\\",\\n \\"TaskName\\": \\"PostCallAnalyzer:solution\\",\\n \\"UserResponse\\": \\"xxxxxxx\\",\\n \\"UserRating\\": -1,\\n \\"ContactId\\": \\"job-25920271311543****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'ccc.cn-shanghai.aliyuncs.com', + ], + ], +]; |
