diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/voicenavigator | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/voicenavigator')
| -rw-r--r-- | data/zh_cn/voicenavigator/2018-06-12/api-docs.php | 6772 | ||||
| -rw-r--r-- | data/zh_cn/voicenavigator/2025-11-11/api-docs.php | 7031 |
2 files changed, 9893 insertions, 3910 deletions
diff --git a/data/zh_cn/voicenavigator/2018-06-12/api-docs.php b/data/zh_cn/voicenavigator/2018-06-12/api-docs.php index 19178b8..a49e5c8 100644 --- a/data/zh_cn/voicenavigator/2018-06-12/api-docs.php +++ b/data/zh_cn/voicenavigator/2018-06-12/api-docs.php @@ -1,159 +1,89 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'VoiceNavigator', - 'version' => '2018-06-12', - ], + 'info' => ['style' => 'RPC', 'product' => 'VoiceNavigator', 'version' => '2018-06-12'], 'directories' => [ [ - 'id' => 77502, - 'title' => '管理配置', + 'children' => ['ModifyGreetingConfig', 'ModifySilenceTimeoutConfig', 'ModifyTTSConfig', 'ModifyUnrecognizingConfig', 'DescribeTTSConfig', 'DescribeExportProgress', 'AssociateChatbotInstance', 'AuditTTSVoice', 'CollectedNumber', 'ExportStatisticalData', 'SilenceTimeout'], 'type' => 'directory', - 'children' => [ - 'ModifyGreetingConfig', - 'ModifySilenceTimeoutConfig', - 'ModifyTTSConfig', - 'ModifyUnrecognizingConfig', - 'DescribeTTSConfig', - 'DescribeExportProgress', - 'AssociateChatbotInstance', - 'AuditTTSVoice', - 'CollectedNumber', - 'ExportStatisticalData', - 'SilenceTimeout', - ], + 'title' => '管理配置', + 'id' => 319014, ], [ - 'id' => 77514, - 'title' => '对话', + 'children' => ['DescribeConversation', 'DescribeConversationContext', 'ListConversationDetails', 'QueryConversations', 'DescribeRecording', 'EndDialogue', 'SaveRecording'], 'type' => 'directory', - 'children' => [ - 'DescribeConversation', - 'DescribeConversationContext', - 'ListConversationDetails', - 'QueryConversations', - 'DescribeRecording', - 'Dialogue', - 'EndDialogue', - 'SaveRecording', - ], + 'title' => '对话', + 'id' => 319026, ], [ - 'id' => 77523, - 'title' => '会话', + 'children' => ['ListConversations', 'BeginDialogue', 'ExportConversationDetails'], 'type' => 'directory', - 'children' => [ - 'ListConversations', - 'BeginDialogue', - 'ExportConversationDetails', - ], + 'title' => '会话', + 'id' => 319035, ], [ - 'id' => 77527, - 'title' => '调试', + 'children' => ['DebugBeginDialogue', 'DebugCollectedNumber', 'DebugDialogue'], 'type' => 'directory', - 'children' => [ - 'DebugBeginDialogue', - 'DebugCollectedNumber', - 'DebugDialogue', - ], + 'title' => '调试', + 'id' => 319039, ], [ - 'id' => 77531, - 'title' => '实例', + 'children' => ['DisableInstance', 'EnableInstance', 'ModifyInstance', 'DescribeNavigationConfig', 'DescribeInstance', 'DescribeStatisticalData'], 'type' => 'directory', - 'children' => [ - 'CreateInstance', - 'DeleteInstance', - 'DisableInstance', - 'EnableInstance', - 'ModifyInstance', - 'DescribeNavigationConfig', - 'DescribeInstance', - 'DescribeStatisticalData', - 'ListInstances', - ], + 'title' => '实例', + 'id' => 319043, ], [ - 'id' => 223825, - 'title' => '其他', + 'children' => ['ListChatbotInstances', 'CreateDownloadUrl', 'ListDownloadTasks', 'ModifyAsrConfig', 'GetAsrConfig', 'GetRealTimeConcurrency', 'CreateInstance', 'DeleteInstance', 'Dialogue', 'ListInstances'], 'type' => 'directory', - 'children' => [ - 'ListChatbotInstances', - 'CreateDownloadUrl', - 'ListDownloadTasks', - 'ModifyAsrConfig', - 'GetAsrConfig', - 'GetRealTimeConcurrency', - ], + 'title' => '其他', + 'id' => 319053, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'ModifyGreetingConfig' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AssociateChatbotInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12f407b22cbe4890ac595f09985848d5', - ], + 'schema' => ['description' => '导航实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], ], [ - 'name' => 'GreetingWords', + 'name' => 'ChatbotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '欢迎语', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '你好,欢迎使用智能导航。', - ], + 'schema' => ['description' => '小蜜机器人ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'chatbot-720edd02b66a'], ], [ - 'name' => 'SourceType', + 'name' => 'ChatbotName', 'in' => 'query', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chatbotIntent', - ], + 'schema' => ['description' => '小蜜机器名字', 'type' => 'string', 'required' => false, 'example' => '客服机器人'], ], [ - 'name' => 'IntentTrigger', + 'name' => 'UnionSource', 'in' => 'query', - 'schema' => [ - 'description' => '触发意图', - 'type' => 'string', - 'required' => false, - 'example' => '开始', - ], + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'NluServiceParamsJson', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'NluServiceType', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -161,42 +91,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + 'title' => '关联小蜜机器人', + 'summary' => '关联小蜜机器人。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-12-27T03:10:11.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-09-19T12:51:36.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:AssociateChatbotInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', - 'title' => '修改问候语配置', - 'summary' => '修改问候语配置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>","errorExample":""}]', ], - 'ModifySilenceTimeoutConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AuditTTSVoice' => [ + 'summary' => '试听TTS声音。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -204,108 +135,62 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12f407b22cbe4890ac595f09985848d5', - ], + 'schema' => ['description' => '导航实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], ], [ - 'name' => 'Prompt', + 'name' => 'Voice', 'in' => 'query', - 'schema' => [ - 'description' => '静默超时提示语', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '不好意思,听不见您说什么', - ], + 'schema' => ['description' => '发音人', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'aixia'], ], [ - 'name' => 'Timeout', + 'name' => 'Text', 'in' => 'query', - 'schema' => [ - 'description' => '静默超时时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '20', - ], + 'schema' => ['description' => '试听文本', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '你好'], ], [ - 'name' => 'Threshold', + 'name' => 'SpeechRate', 'in' => 'query', - 'schema' => [ - 'description' => '静默超时最大次数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3', - ], + 'schema' => ['description' => '声音速率', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => '100'], ], [ - 'name' => 'FinalPrompt', + 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'description' => '最后一次静默提示语', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '再见', - ], + 'schema' => ['description' => '音量', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'FinalAction', + 'name' => 'Engine', 'in' => 'query', - 'schema' => [ - 'description' => '提示后的动作', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'TransferToAgent', - ], + 'schema' => ['description' => 'TTS 引擎', 'type' => 'string', 'required' => false, 'example' => 'ali'], ], [ - 'name' => 'FinalActionParams', + 'name' => 'PitchRate', 'in' => 'query', - 'schema' => [ - 'description' => '动作参数', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '0', 'description' => ''], ], [ - 'name' => 'SourceType', + 'name' => 'SecretKey', 'in' => 'query', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'chatbotIntent', - ], + 'schema' => ['description' => 'AK参数Secret。', 'type' => 'string', 'required' => false, 'example' => 'ZDc3********DAzM2E0YjM5NTFkMDQ1'], ], [ - 'name' => 'IntentTrigger', + 'name' => 'AccessKey', 'in' => 'query', - 'schema' => [ - 'description' => '触发的意图', - 'type' => 'string', - 'required' => false, - 'example' => 'Timeout', - ], + 'schema' => ['description' => '该命名空间的AccessKey(AK)。', 'type' => 'string', 'required' => false, 'example' => 'b4331******a4640ce1f88e27ac8df0'], + ], + [ + 'name' => 'AppKey', + 'in' => 'query', + 'schema' => ['description' => '三方语音配置的AppKey', 'type' => 'string', 'required' => false, 'example' => 'be******'], + ], + [ + 'name' => 'ExtParams', + 'in' => 'query', + 'schema' => ['description' => '一些扩展参数。', 'type' => 'string', 'required' => false, 'example' => '{}'], ], ], 'responses' => [ @@ -313,46 +198,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], + 'AuditionUrl' => ['description' => '试听URL', 'type' => 'string', 'example' => 'http://voicenavigator-cn-shanghai.oss-cn-shanghai.aliyuncs.com/exported_files/2020-02-20/ttsConfig-1582188148528-abd8e407de0a49b381bb591bd91fc073.wav?Expires=1582188208&OSSAccessKeyId=LTAIppQY*******&Signature=FaBassElzqGEB0H2TvTKPJsOJHs%3D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', - 'title' => 'ModifySilenceTimeoutConfig', - 'summary' => '修改静默超时配置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"AuditionUrl\\": \\"http://voicenavigator-cn-shanghai.oss-cn-shanghai.aliyuncs.com/exported_files/2020-02-20/ttsConfig-1582188148528-abd8e407de0a49b381bb591bd91fc073.wav?Expires=1582188208&OSSAccessKeyId=LTAIppQY*******&Signature=FaBassElzqGEB0H2TvTKPJsOJHs%3D\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>5100B51E-2C4E-4F3C-8784-92827F501D73</RequestId>\\n<AuditionUrl>http://voicenavigator-cn-shanghai.oss-cn-shanghai.aliyuncs.com/exported_files/2020-02-20/ttsConfig-1582188148528-abd8e407de0a49b381bb591bd91fc073.wav?Expires=1582188208&OSSAccessKeyId=LTAIppQY5rofntVJ&Signature=FaBassElzqGEB0H2TvTKPJsOJHs%3D</AuditionUrl>","errorExample":""}]', + 'title' => '试听 TTS 声音', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyTTSConfig' => [ - 'summary' => '修改TTS配置。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-02-04T14:18:44.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-06-21T12:20:15.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:AuditionTTSVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'BeginDialogue' => [ + 'summary' => '开启会话。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -360,101 +250,38 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12f407b22cbe4890ac595f09985848d5', - ], - ], - [ - 'name' => 'Voice', - 'in' => 'query', - 'schema' => [ - 'description' => '发音人', - 'type' => 'string', - 'required' => false, - 'example' => 'aixia', - ], - ], - [ - 'name' => 'SpeechRate', - 'in' => 'query', - 'schema' => [ - 'description' => '声音速率', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'Volume', - 'in' => 'query', - 'schema' => [ - 'description' => '音量', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'PitchRate', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], - ], - [ - 'name' => 'NlsServiceType', + 'name' => 'CalledNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => false, 'example' => '10086'], ], [ - 'name' => 'AppKey', + 'name' => 'CallingNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1358158****'], ], [ - 'name' => 'Engine', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], ], [ - 'name' => 'EngineXunfei', + 'name' => 'InitialContext', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '会话上下文', 'type' => 'string', 'required' => false, 'example' => '{\\"channelId\\":\\"fe2559d3-5fc9-4fa5-8314-32b9f762791d\\"}'], ], [ - 'name' => 'AliCustomizedVoice', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '实例id。'."\n" + ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '4d7db6670b8e41b5adb1f21560ea9272'], ], [ - 'name' => 'TtsOverrides', + 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '实例所有者id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1231639035307976'], ], ], 'responses' => [ @@ -462,43 +289,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'Broadcast'], + 'Interruptible' => ['description' => '是否可打断ivr播报', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{\\"duration\\":31340,\\"endTime\\":1638243934786,\\"hangUpDirection\\":\\"ivr\\",\\"startTime\\":1638243903446}'], + 'TextResponse' => ['description' => '文本信息', 'type' => 'string', 'example' => '您好,欢迎致电智能助手'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": true,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"ActionParams\\": \\"{\\\\\\\\\\\\\\"duration\\\\\\\\\\\\\\":31340,\\\\\\\\\\\\\\"endTime\\\\\\\\\\\\\\":1638243934786,\\\\\\\\\\\\\\"hangUpDirection\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ivr\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1638243903446}\\",\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\"\\n}","type":"json"}]', + 'title' => '开启会话', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:StartConversation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '修改 TTS 配置', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyUnrecognizingConfig' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CollectedNumber' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -506,75 +334,32 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12f407b22cbe4890ac595f09985848d5', - ], - ], - [ - 'name' => 'Prompt', - 'in' => 'query', - 'schema' => [ - 'description' => '拒识提示语', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '我不理解您的意思,请再说一遍', - ], + 'schema' => ['description' => '示例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0'], ], [ - 'name' => 'Threshold', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '拒识最大次数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0'], ], [ - 'name' => 'FinalPrompt', + 'name' => 'Number', 'in' => 'query', - 'schema' => [ - 'description' => '最后一次拒识提示语', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '再见', - ], + 'schema' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '1500060224'], ], [ - 'name' => 'FinalAction', + 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'description' => '拒识动作', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'TransferToAgent', - ], + 'schema' => ['description' => '实例所有者id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1426738157626835'], ], [ - 'name' => 'FinalActionParams', + 'name' => 'AdditionalContext', 'in' => 'query', - 'schema' => [ - 'description' => '动作参数', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ @@ -582,79 +367,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'Broadcast'], + 'Interruptible' => ['description' => 'ivr播报是否可打断', 'type' => 'boolean', 'example' => 'false'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{\\"duration\\":31340,\\"endTime\\":1638243934786,\\"hangUpDirection\\":\\"ivr\\",\\"startTime\\":1638243903446}'], + 'TextResponse' => ['description' => '播报的文本', 'type' => 'string', 'example' => '收号内容是123'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": false,\\n \\"RequestId\\": \\"da37319b-6c83-4268-9f19-814aed62e401\\",\\n \\"ActionParams\\": \\"{\\\\\\\\\\\\\\"duration\\\\\\\\\\\\\\":31340,\\\\\\\\\\\\\\"endTime\\\\\\\\\\\\\\":1638243934786,\\\\\\\\\\\\\\"hangUpDirection\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ivr\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1638243903446}\\",\\n \\"TextResponse\\": \\"收号内容是123\\"\\n}","type":"json"}]', + 'title' => '收号', + 'summary' => '收号。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:CollectedNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', - 'title' => '修改拒识配置', - 'summary' => '修改拒识配置。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeTTSConfig' => [ - 'summary' => '查询tts 配置。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDownloadUrl' => [ + 'summary' => 'CreateDownloadUrl', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'DownloadTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dc437bba-5a25-4bbc-b4c2-f268864bebb5', - ], + 'schema' => ['description' => '任务id', 'type' => 'string', 'required' => true, 'example' => '073f092da0a847b9bf76eb88b5931c7a'], ], [ - 'name' => 'InstanceOwnerId', + 'name' => 'FileId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所有者id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1971226538081821', - ], + 'schema' => ['description' => '文件的ID,您可以使用[ListFiles](~~173942~~)接口查询对应文件的ID。'."\n" + ."\n", 'type' => 'string', 'required' => true, 'example' => '22626c39603744f5a08d4d715315561a'], ], ], 'responses' => [ @@ -662,114 +432,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877158', - ], - 'Volume' => [ - 'description' => '音量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'Voice' => [ - 'description' => '发音人', - 'type' => 'string', - 'example' => 'aixia', - ], - 'SpeechRate' => [ - 'description' => '语速', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-150', - ], - 'NlsServiceType' => [ - 'type' => 'string', - ], - 'AppKey' => [ - 'type' => 'string', - ], - 'Engine' => [ - 'type' => 'string', - ], - 'EngineXunfei' => [ - 'type' => 'string', - ], - 'PitchRate' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AliCustomizedVoice' => [ - 'type' => 'string', - ], - 'TtsOverrides' => [ - 'type' => 'string', - ], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'FileHttpUrl' => ['description' => '文件url', 'type' => 'string', 'example' => 'http://ssml-test.oss-cn-shanghai.aliyuncs.com/key'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '信息。', 'type' => 'string', 'example' => 'get upload tool url success'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + 'title' => '创建下载文件url', + 'changeSet' => [ + ['createdAt' => '2021-11-24T12:59:40.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateDownloadUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877158\\",\\n \\"Volume\\": 50,\\n \\"Voice\\": \\"aixia\\",\\n \\"SpeechRate\\": -150,\\n \\"NlsServiceType\\": \\"\\",\\n \\"AppKey\\": \\"\\",\\n \\"Engine\\": \\"\\",\\n \\"EngineXunfei\\": \\"\\",\\n \\"PitchRate\\": 0,\\n \\"AliCustomizedVoice\\": \\"\\",\\n \\"TtsOverrides\\": \\"\\"\\n}","type":"json"}]', - 'title' => '查询 TTS 配置', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"FileHttpUrl\\": \\"http://ssml-test.oss-cn-shanghai.aliyuncs.com/key\\",\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"get upload tool url success\\"\\n}","type":"json"}]', ], - 'DescribeExportProgress' => [ - 'summary' => '查询导出任务状态。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '868eef14-7515-4856-8a50-5c9a22abdbcc', - ], + 'schema' => ['description' => '数字员工场景名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试场景'], ], [ - 'name' => 'ExportTaskId', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '导出任务id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0de8e5ccc2b645039ae6fbda443da73f', - ], + 'schema' => ['description' => '场景描述', 'type' => 'string', 'required' => false, 'example' => '这是一个测试场景'], + ], + [ + 'name' => 'Concurrency', + 'in' => 'query', + 'schema' => ['description' => '配置场景最大并发数量', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'UnionSource', + 'in' => 'query', + 'schema' => ['description' => '来源。'."\n" + .'* CCC :云联络中心', 'type' => 'string', 'required' => false, 'example' => 'CCC'], + ], + [ + 'name' => 'UnionInstanceId', + 'in' => 'query', + 'schema' => ['description' => '实例ID'."\n" + ."\n" + .'> 当UnionSource为CCC时,UnionInstanceId填入云联络中心的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'demo-lctms'], + ], + [ + 'name' => 'NluServiceParamsJson', + 'in' => 'query', + 'schema' => ['description' => '大模型服务参数配置'."\n" + ."\n" + .'- 选择函数计算', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -777,117 +518,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'FINISHED', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'b19af5ce5314ac08108d1b33fe20e15', - ], - 'FileHttpUrl' => [ - 'description' => '文件url', - 'type' => 'string', - 'example' => 'http://ssml-test.oss-cn-shanghai.aliyuncs.com/key', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9ab43460-c0b9-40e2-8447-48d82c97fc67'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + 400 => [ + ['errorCode' => 'InvalidConcurrency.LimitExceeded', 'errorMessage' => 'The specified Concurrency exceeds the upper limit.', 'description' => '并发数已经超限,请重新设置。'], + ['errorCode' => 'InvalidInstanceName.Duplicated', 'errorMessage' => 'The specified InstanceName already exists.', 'description' => '实例名称已经存在。请您更换一个名字。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"FINISHED\\",\\n \\"FileHttpUrl\\": \\"http://ssml-test.oss-cn-shanghai.aliyuncs.com/key\\",\\n \\"RequestId\\": \\"b19af5ce5314ac08108d1b33fe20e15\\"\\n}","errorExample":""},{"type":"xml","example":"<FileHttpUrl>http://ssml-test.oss-cn-shanghai.aliyuncs.com/key</FileHttpUrl>\\n<RequestId>b19af5ce5314ac08108d1b33fe20e15</RequestId>\\n<Status>FINISHED</Status>","errorExample":""}]', - 'title' => '查询导出任务状态', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AssociateChatbotInstance' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '创建智能导航实例', + 'summary' => '创建智能导航实例。', + 'changeSet' => [ + ['createdAt' => '2023-09-19T12:51:37.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9ab43460-c0b9-40e2-8447-48d82c97fc67\\",\\n \\"InstanceId\\": \\"c28fc549-d88f-4f6e-85ad-a0806e5e39c0\\"\\n}","type":"json"}]', + ], + 'DebugBeginDialogue' => [ + 'summary' => '调试环境开启会话。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'CalledNumber', 'in' => 'query', - 'schema' => [ - 'description' => '导航实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], + 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => false, 'example' => '10086'], ], [ - 'name' => 'ChatbotInstanceId', + 'name' => 'CallingNumber', 'in' => 'query', - 'schema' => [ - 'description' => '小蜜机器人ID', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'chatbot-720edd02b66a', - ], + 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '135815*****'], ], [ - 'name' => 'ChatbotName', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '小蜜机器名字', - 'type' => 'string', - 'required' => false, - 'example' => '客服机器人', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8a503680-815d-473e-a9b0-e010f47a64d2'], ], [ - 'name' => 'UnionSource', + 'name' => 'InitialContext', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '会话信息', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ - 'name' => 'NluServiceParamsJson', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8a503680-815d-473e-a9b0-e010f47a64d2'], ], [ - 'name' => 'NluServiceType', + 'name' => 'ShouldUseSandBox', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['title' => '是否沙箱模式。', 'type' => 'boolean'], ], ], 'responses' => [ @@ -895,32 +606,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC', - ], + 'Action' => ['description' => '动作指令', 'type' => 'string', 'example' => 'Broadcast'], + 'Interruptible' => ['description' => 'IVR播报是否可打断', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'ActionParams' => ['description' => '动作指令参数', 'type' => 'string', 'example' => '{}'], + 'TextResponse' => ['description' => '播报内容', 'type' => 'string', 'example' => '您好,欢迎致电智能助手'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>","errorExample":""}]', - 'title' => '关联小蜜机器人', - 'summary' => '关联小蜜机器人。', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '调试环境开启会话', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AuditTTSVoice' => [ - 'summary' => '试听TTS声音。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:DebugBeginDialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": true,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<TextResponse>您好,欢迎致电智能助手</TextResponse>\\n<Interruptible>false</Interruptible>\\n<Action>Broadcast</Action>","errorExample":""}]', + ], + 'DebugCollectedNumber' => [ + 'summary' => '调试环境收号。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -928,106 +658,101 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '导航实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555'], ], [ - 'name' => 'Voice', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '发音人', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'aixia', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555'], ], [ - 'name' => 'Text', + 'name' => 'Number', 'in' => 'query', - 'schema' => [ - 'description' => '试听文本', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '你好', - ], + 'schema' => ['description' => '收号内容', 'type' => 'string', 'required' => false, 'example' => '123'], ], - [ - 'name' => 'SpeechRate', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '声音速率', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => '100', + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'Broadcast'], + 'Interruptible' => ['description' => 'ivr 播报是否可打断', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{}'], + 'TextResponse' => ['description' => '播报的文本内容', 'type' => 'string', 'example' => '您好,欢迎致电智能助手'], + ], + 'description' => '', ], ], - [ - 'name' => 'Volume', - 'in' => 'query', - 'schema' => [ - 'description' => '音量', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], + ], + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": true,\\n \\"RequestId\\": \\"abb4aa26-3a8e-43dd-82f8-0c3898c9c67f\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<TextResponse>您好,欢迎致电智能助手</TextResponse>\\n<Interruptible>false</Interruptible>\\n<Action>Broadcast</Action>","errorExample":""}]', + 'title' => '调试环境收号', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:CollectedNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DebugDialogue' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Engine', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ [ - 'name' => 'PitchRate', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '用户表述', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555'], ], [ - 'name' => 'SecretKey', + 'name' => 'AdditionalContext', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '会话上下文', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ - 'name' => 'AccessKey', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f'], ], [ - 'name' => 'AppKey', + 'name' => 'Utterance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '用户表述', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '是的'], ], ], 'responses' => [ @@ -1035,49 +760,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC', - ], - 'AuditionUrl' => [ - 'description' => '试听URL', - 'type' => 'string', - 'example' => 'http://voicenavigator-cn-shanghai.oss-cn-shanghai.aliyuncs.com/exported_files/2020-02-20/ttsConfig-1582188148528-abd8e407de0a49b381bb591bd91fc073.wav?Expires=1582188208&OSSAccessKeyId=LTAIppQY5rofntVJ&Signature=FaBassElzqGEB0H2TvTKPJsOJHs%3D', - ], + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'Broadcast'], + 'Interruptible' => ['description' => 'ivr 播报是否可打断', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{}'], + 'TextResponse' => ['description' => '播报的内容', 'type' => 'string', 'example' => '80d11be3-faad-4101-b4b0-59dbea28aaf0'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"AuditionUrl\\": \\"http://voicenavigator-cn-shanghai.oss-cn-shanghai.aliyuncs.com/exported_files/2020-02-20/ttsConfig-1582188148528-abd8e407de0a49b381bb591bd91fc073.wav?Expires=1582188208&OSSAccessKeyId=LTAIppQY5rofntVJ&Signature=FaBassElzqGEB0H2TvTKPJsOJHs%3D\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>5100B51E-2C4E-4F3C-8784-92827F501D73</RequestId>\\n<AuditionUrl>http://voicenavigator-cn-shanghai.oss-cn-shanghai.aliyuncs.com/exported_files/2020-02-20/ttsConfig-1582188148528-abd8e407de0a49b381bb591bd91fc073.wav?Expires=1582188208&OSSAccessKeyId=LTAIppQY5rofntVJ&Signature=FaBassElzqGEB0H2TvTKPJsOJHs%3D</AuditionUrl>","errorExample":""}]', - 'title' => '试听 TTS 声音', + 'title' => '调试环境对话', + 'summary' => '调试环境对话。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CollectedNumber' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:DebugDialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": true,\\n \\"RequestId\\": \\"d74d6290-7cbe-4436-b5d7-014ebb0f4060\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"TextResponse\\": \\"80d11be3-faad-4101-b4b0-59dbea28aaf0\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<TextResponse>您好,欢迎致电智能助手</TextResponse>\\n<Interruptible>false</Interruptible>\\n<Action>Broadcast</Action>","errorExample":""}]', + ], + 'DeleteInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1085,60 +812,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '示例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0', - ], - ], - [ - 'name' => 'ConversationId', - 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0', - ], - ], - [ - 'name' => 'Number', - 'in' => 'query', - 'schema' => [ - 'description' => '号码', - 'type' => 'string', - 'required' => false, - 'example' => '1500060224', - ], - ], - [ - 'name' => 'InstanceOwnerId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所有者id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1426738157626835', - ], - ], - [ - 'name' => 'AdditionalContext', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], ], ], 'responses' => [ @@ -1146,127 +825,131 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'Broadcast', - ], - 'Interruptible' => [ - 'description' => 'ivr播报是否可打断', - 'type' => 'boolean', - 'example' => 'false', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{\\"duration\\":31340,\\"endTime\\":1638243934786,\\"hangUpDirection\\":\\"ivr\\",\\"startTime\\":1638243903446}', - ], - 'TextResponse' => [ - 'description' => '播报的文本', - 'type' => 'string', - 'example' => '收号内容是123', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], - ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => 'DeleteInstance', + 'summary' => '删除导航实例。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": false,\\n \\"RequestId\\": \\"da37319b-6c83-4268-9f19-814aed62e401\\",\\n \\"ActionParams\\": \\"{\\\\\\\\\\\\\\"duration\\\\\\\\\\\\\\":31340,\\\\\\\\\\\\\\"endTime\\\\\\\\\\\\\\":1638243934786,\\\\\\\\\\\\\\"hangUpDirection\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ivr\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1638243903446}\\",\\n \\"TextResponse\\": \\"收号内容是123\\"\\n}","type":"json"}]', - 'title' => '收号', - 'summary' => '收号。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"d74d6290-7cbe-4436-b5d7-014ebb0f4060\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b19af5ce5314ac08108d1b33fe20e15</RequestId>","errorExample":""}]', ], - 'ExportStatisticalData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeConversation' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '29b52d70-d9fe-4fe0-8476-8aaacbcfdc84', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5daac920-d6c1-429f-a95f-2a798f5255b5'], ], [ - 'name' => 'TimeUnit', + 'name' => 'ConversationId', 'in' => 'query', + 'schema' => ['description' => '对话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '15608cce-36be-43d5-9361-178cbe64127b'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '时间单元', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Hour', + 'type' => 'object', + 'properties' => [ + 'EffectiveAnswerCount' => ['description' => '有效问答数', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'ConversationId' => ['description' => '对话id', 'type' => 'string', 'example' => '2d5aa451-661f-4f08-b0c4-28eec78decc4'], + 'TransferredToAgent' => ['description' => '是否转人工', 'type' => 'boolean', 'example' => 'true'], + 'EndTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582103299434'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'BeginTime' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582103260434'], + 'SkillGroupId' => ['description' => '技能组id', 'type' => 'string', 'example' => 'ABABCBAC'], + 'CallingNumber' => ['description' => '呼入号码', 'type' => 'string', 'example' => '138106*****'], + 'UserUtteranceCount' => ['description' => '客户提问数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + 'description' => '', ], ], + ], + 'title' => '查询对话信息', + 'summary' => '查询对话信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-22T12:15:39.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ExportType', - 'in' => 'query', - 'schema' => [ - 'description' => '导出类型', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'statistical', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeConversation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EffectiveAnswerCount\\": 8,\\n \\"ConversationId\\": \\"2d5aa451-661f-4f08-b0c4-28eec78decc4\\",\\n \\"TransferredToAgent\\": true,\\n \\"EndTime\\": 1582103299434,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"BeginTime\\": 1582103260434,\\n \\"SkillGroupId\\": \\"ABABCBAC\\",\\n \\"CallingNumber\\": \\"138106*****\\",\\n \\"UserUtteranceCount\\": 10\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<CallingNumber>13810671937</CallingNumber>\\n<BeginTime>2018-05-02T00:00:00Z</BeginTime>\\n<EndTime>2018-05-02T00:00:30Z</EndTime>\\n<TransferredToAgent>true</TransferredToAgent>\\n<SkillGroupId>AAA</SkillGroupId>\\n<UserUtteranceCount>10</UserUtteranceCount>\\n<EffectiveAnswerCount>8</EffectiveAnswerCount>","errorExample":""}]', + ], + 'DescribeConversationContext' => [ + 'summary' => '查询会话上下文数据{}。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'BeginTimeLeftRange', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582266750353', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '026ca0f4-483b-4252-ae1d-1f15f056f8b9'], ], [ - 'name' => 'BeginTimeRightRange', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件,结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582266750353', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '361c8a53-0e29-42f3-8aa7-c7752d010399'], ], ], 'responses' => [ @@ -1274,109 +957,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'c62e6789-28a8-41db-941e-171a01d3b3b9', - ], - 'ExportTaskId' => [ - 'description' => '异步导出任务id', - 'type' => 'string', - 'example' => '6be5a9f1-406e-424e-a17b-b6fb86ee3cc9', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'b19af5ce5314ac08108d1b33fe20e15'], + 'ConversationContext' => ['description' => '会话上下文数据', 'type' => 'string', 'example' => ' { "CallingNumber": "135815***", "AdditionalContext": "", "ConversationId": "361c8a53-0e29-42f3-8aa7-c7752d010399" }'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], - ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidConversationId.NotFound', 'errorMessage' => 'The specified ConversationId does not exist in our record.', 'description' => '指定的会话ID不存在。'], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExportTaskId\\": \\"6be5a9f1-406e-424e-a17b-b6fb86ee3cc9\\",\\n \\"RequestId\\": \\"c62e6789-28a8-41db-941e-171a01d3b3b9\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>c62e6789-28a8-41db-941e-171a01d3b3b9</RequestId>\\n<ExportTaskId>6be5a9f1-406e-424e-a17b-b6fb86ee3cc9</ExportTaskId>","errorExample":""}]', - 'title' => '导出统计数据', - 'summary' => '导出统计数据。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"b19af5ce5314ac08108d1b33fe20e15\\",\\n \\"ConversationContext\\": \\" { \\\\\\"CallingNumber\\\\\\": \\\\\\"135815***\\\\\\", \\\\\\"AdditionalContext\\\\\\": \\\\\\"\\\\\\", \\\\\\"ConversationId\\\\\\": \\\\\\"361c8a53-0e29-42f3-8aa7-c7752d010399\\\\\\" }\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b19af5ce5314ac08108d1b33fe20e15</RequestId>\\n<ConversationContext>\\n <CallingNumber>135815***</CallingNumber>\\n <AdditionalContext/>\\n <ConversationId>361c8a53-0e29-42f3-8aa7-c7752d010399</ConversationId>\\n</ConversationContext>","errorExample":""}]', + 'title' => '查询对话上下文', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'SilenceTimeout' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeExportProgress' => [ + 'summary' => '查询导出任务状态。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0', - ], - ], - [ - 'name' => 'ConversationId', - 'in' => 'query', - 'schema' => [ - 'description' => '会话ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0', - ], - ], - [ - 'name' => 'InitialContext', - 'in' => 'query', - 'schema' => [ - 'description' => '会话信息上下文', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '868eef14-7515-4856-8a50-5c9a22abdbcc'], ], [ - 'name' => 'InstanceOwnerId', + 'name' => 'ExportTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所有者id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1231639035307976', - ], + 'schema' => ['description' => '导出任务id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0de8e5ccc2b645039ae6fbda443da73f'], ], ], 'responses' => [ @@ -1384,68 +1010,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'TransferToAgent', - ], - 'Interruptible' => [ - 'description' => '是否打断', - 'type' => 'boolean', - 'example' => 'false', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{ "skillGroupId": "ABC"}', - ], - 'TextResponse' => [ - 'description' => '文本信息', - 'type' => 'string', - 'example' => '正在为你转接人工坐席', - ], + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'FINISHED'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'b19af5ce5314ac08108d1b33fe20e15'], + 'FileHttpUrl' => ['description' => '文件url', 'type' => 'string', 'example' => 'http://ssml-test.oss-cn-shanghai.aliyuncs.com/key'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidConversationId.NotFound', - 'errorMessage' => 'The specified ConversationId does not exist in our record.', - ], - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Action\\": \\"TransferToAgent\\",\\n \\"Interruptible\\": false,\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"ActionParams\\": \\"{ \\\\\\"skillGroupId\\\\\\": \\\\\\"ABC\\\\\\"}\\",\\n \\"TextResponse\\": \\"正在为你转接人工坐席\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>\\n<TextResponse>正在为你转接人工坐席</TextResponse>\\n<ActionParams>{ \\"skillGroupId\\": \\"ABC\\"}</ActionParams>\\n<Interruptible>false</Interruptible>\\n<Action>TransferToAgent</Action>","errorExample":""}]', - 'title' => 'SilenceTimeout', - 'summary' => '静默超时。', + 'title' => '查询导出任务状态', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeConversation' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeExport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"FINISHED\\",\\n \\"RequestId\\": \\"b19af5ce5314ac08108d1b33fe20e15\\",\\n \\"FileHttpUrl\\": \\"http://ssml-test.oss-cn-shanghai.aliyuncs.com/key\\"\\n}","errorExample":""},{"type":"xml","example":"<FileHttpUrl>http://ssml-test.oss-cn-shanghai.aliyuncs.com/key</FileHttpUrl>\\n<RequestId>b19af5ce5314ac08108d1b33fe20e15</RequestId>\\n<Status>FINISHED</Status>","errorExample":""}]', + ], + 'DescribeInstance' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1453,31 +1059,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5daac920-d6c1-429f-a95f-2a798f5255b5', - ], - ], - [ - 'name' => 'ConversationId', - 'in' => 'query', - 'schema' => [ - 'description' => '对话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '15608cce-36be-43d5-9361-178cbe64127b', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cd6fc91bc13445c2af7f2e3e31418520'], ], ], 'responses' => [ @@ -1485,75 +1072,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EffectiveAnswerCount' => [ - 'description' => '有效问答数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'ConversationId' => [ - 'description' => '对话id', - 'type' => 'string', - 'example' => '2d5aa451-661f-4f08-b0c4-28eec78decc4', - ], - 'TransferredToAgent' => [ - 'description' => '是否转人工', - 'type' => 'boolean', - 'example' => 'true', - ], - 'EndTime' => [ - 'description' => '结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582103299434', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'BeginTime' => [ - 'description' => '开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582103260434', - ], - 'SkillGroupId' => [ - 'description' => '技能组id', - 'type' => 'string', - 'example' => 'ABABCBAC', - ], - 'CallingNumber' => [ - 'description' => '呼入号码', - 'type' => 'string', - 'example' => '138106*****', - ], - 'UserUtteranceCount' => [ - 'description' => '客户提问数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'Published'], + 'ModifyTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1683216000000'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '导航测试实例描述信息'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '790B5EA3-D251-1666-B1E0-4D1F4B33A592'], + 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => 'cd6fc91bc13445c2af7f2e3e31418520'], + 'Concurrency' => ['description' => '实例并发', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ApplicableOperations' => [ + 'description' => '适用操作列表', + 'type' => 'array', + 'items' => ['description' => '适用操作', 'type' => 'string', 'example' => 'Edit'], + ], + 'ModifyUserName' => ['description' => '更新者', 'type' => 'string', 'example' => '2508711*******'], + 'Name' => ['description' => '实例名称', 'type' => 'string', 'example' => '导航测试实例'], + 'AbilityType' => ['description' => '实例能力类型<br>'."\n" + .'DEFAULT:全能力<br>'."\n" + .'VOICE_ONLY:只关注语音能力,不含对话干预', 'type' => 'string', 'example' => 'VOICE_ONLY'], + 'UnionSource' => ['type' => 'string', 'description' => ''], + 'UnionInstanceId' => ['type' => 'string', 'description' => ''], + 'NluServiceParamsJson' => ['type' => 'string', 'description' => ''], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": 1582103299434,\\n \\"EffectiveAnswerCount\\": 8,\\n \\"TransferredToAgent\\": true,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"SkillGroupId\\": \\"ABABCBAC\\",\\n \\"BeginTime\\": 1582103260434,\\n \\"ConversationId\\": \\"2d5aa451-661f-4f08-b0c4-28eec78decc4\\",\\n \\"CallingNumber\\": \\"138106*****\\",\\n \\"UserUtteranceCount\\": 10\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<CallingNumber>13810671937</CallingNumber>\\n<BeginTime>2018-05-02T00:00:00Z</BeginTime>\\n<EndTime>2018-05-02T00:00:30Z</EndTime>\\n<TransferredToAgent>true</TransferredToAgent>\\n<SkillGroupId>AAA</SkillGroupId>\\n<UserUtteranceCount>10</UserUtteranceCount>\\n<EffectiveAnswerCount>8</EffectiveAnswerCount>","errorExample":""}]', - 'title' => '查询对话信息', - 'summary' => '查询对话信息。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeConversationContext' => [ - 'summary' => '查询会话上下文数据{}。', - 'methods' => [ - 'get', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询实例信息', + 'summary' => '查询实例信息。', + 'changeSet' => [ + ['createdAt' => '2023-09-19T12:51:36.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-04-25T14:45:58.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Published\\",\\n \\"ModifyTime\\": 1683216000000,\\n \\"Description\\": \\"导航测试实例描述信息\\",\\n \\"RequestId\\": \\"790B5EA3-D251-1666-B1E0-4D1F4B33A592\\",\\n \\"InstanceId\\": \\"cd6fc91bc13445c2af7f2e3e31418520\\",\\n \\"Concurrency\\": 10,\\n \\"ApplicableOperations\\": [\\n \\"Edit\\"\\n ],\\n \\"ModifyUserName\\": \\"2508711*******\\",\\n \\"Name\\": \\"导航测试实例\\",\\n \\"AbilityType\\": \\"VOICE_ONLY\\",\\n \\"UnionSource\\": \\"\\",\\n \\"UnionInstanceId\\": \\"\\",\\n \\"NluServiceParamsJson\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceResponse>\\n <Status>Published</Status>\\n <ModifyTime>1683216000000</ModifyTime>\\n <Description>导航测试实例描述信息</Description>\\n <RequestId>790B5EA3-D251-1666-B1E0-4D1F4B33A592</RequestId>\\n <InstanceId>cd6fc91bc13445c2af7f2e3e31418520</InstanceId>\\n <Concurrency>10</Concurrency>\\n <ApplicableOperations>Edit</ApplicableOperations>\\n <ModifyUserName>2508711*******</ModifyUserName>\\n <Name>导航测试实例</Name>\\n <AbilityType>VOICE_ONLY</AbilityType>\\n</DescribeInstanceResponse>","errorExample":""}]', + ], + 'DescribeNavigationConfig' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1561,33 +1138,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '026ca0f4-483b-4252-ae1d-1f15f056f8b9', - ], - ], - [ - 'name' => 'ConversationId', - 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '361c8a53-0e29-42f3-8aa7-c7752d010399', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '287289b6-1510-4e64-9224-39b53ad89dd2'], ], ], 'responses' => [ @@ -1595,52 +1151,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'b19af5ce5314ac08108d1b33fe20e15', + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'SilenceTimeoutConfig' => [ + 'description' => '静默超时配置', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '静默超时时间', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'IntentTrigger' => ['description' => '""', 'type' => 'string', 'example' => '""'], + 'FinalPrompt' => ['description' => '最后一次静默提示语', 'type' => 'string', 'example' => '抱歉,听不到您说话,请您稍后致电'], + 'SourceType' => ['description' => '配置源类型', 'type' => 'string', 'example' => 'chatbotIntent'], + 'FinalAction' => ['description' => '提示后的动作:TransferToAgent / TransferToIVR / RedirectToPage / HangUp', 'type' => 'string', 'example' => 'HangUp'], + 'Prompt' => ['description' => '静默超时提示语', 'type' => 'string', 'example' => '抱歉,我没听到您说话'], + 'Threshold' => ['description' => '静默超时最大次数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'FinalActionParams' => ['description' => '动作参数,如:跳转目标', 'type' => 'string', 'example' => '{}'], + ], ], - 'ConversationContext' => [ - 'description' => '会话上下文数据', - 'type' => 'string', - 'example' => ' { "CallingNumber": "135815***", "AdditionalContext": "", "ConversationId": "361c8a53-0e29-42f3-8aa7-c7752d010399" }', + 'GreetingConfig' => [ + 'description' => '问候语配置', + 'type' => 'object', + 'properties' => [ + 'IntentTrigger' => ['description' => '触发意图', 'type' => 'string', 'example' => '你好'], + 'GreetingWords' => ['description' => '问候语', 'type' => 'string', 'example' => '您好,欢迎致电智能导航'], + 'SourceType' => ['description' => '配置类型', 'type' => 'string', 'example' => 'chatbotIntent'], + ], + ], + 'UnrecognizingConfig' => [ + 'description' => 'Unrecognizing对象 | 据识配置', + 'type' => 'object', + 'properties' => [ + 'FinalPrompt' => ['description' => '最后一次拒识提示语', 'type' => 'string', 'example' => '抱歉,我暂时无法处理您的问题,即将为您转接人工'], + 'FinalAction' => ['description' => '拒识动作:TransferToAgent / TransferToIVR / RedirectToPage / HangUp', 'type' => 'string', 'example' => 'TransferToAgent'], + 'FinalActionParams' => ['description' => ' 动作参数,如:跳转目标', 'type' => 'string', 'example' => '{ \\"skillGroupId\\": \\"fallbackSkillGroup\\" }'], + 'Threshold' => ['description' => '拒识最大次数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Prompt' => ['description' => '拒识提示语', 'type' => 'string', 'example' => '抱歉,我无法理解您的意思'], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidConversationId.NotFound', - 'errorMessage' => 'The specified ConversationId does not exist in our record.', - ], - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConversationContext\\": \\" { \\\\\\"CallingNumber\\\\\\": \\\\\\"135815***\\\\\\", \\\\\\"AdditionalContext\\\\\\": \\\\\\"\\\\\\", \\\\\\"ConversationId\\\\\\": \\\\\\"361c8a53-0e29-42f3-8aa7-c7752d010399\\\\\\" }\\",\\n \\"RequestId\\": \\"b19af5ce5314ac08108d1b33fe20e15\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b19af5ce5314ac08108d1b33fe20e15</RequestId>\\n<ConversationContext>\\n <CallingNumber>135815***</CallingNumber>\\n <AdditionalContext/>\\n <ConversationId>361c8a53-0e29-42f3-8aa7-c7752d010399</ConversationId>\\n</ConversationContext>","errorExample":""}]', - 'title' => '查询对话上下文', + 'title' => '查看实例IVR配置', + 'summary' => '查看实例IVR配置。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListConversationDetails' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeNavigationConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"SilenceTimeoutConfig\\": {\\n \\"Timeout\\": 10,\\n \\"IntentTrigger\\": \\"\\\\\\"\\\\\\"\\",\\n \\"FinalPrompt\\": \\"抱歉,听不到您说话,请您稍后致电\\",\\n \\"SourceType\\": \\"chatbotIntent\\",\\n \\"FinalAction\\": \\"HangUp\\",\\n \\"Prompt\\": \\"抱歉,我没听到您说话\\",\\n \\"Threshold\\": 3,\\n \\"FinalActionParams\\": \\"{}\\"\\n },\\n \\"GreetingConfig\\": {\\n \\"IntentTrigger\\": \\"你好\\",\\n \\"GreetingWords\\": \\"您好,欢迎致电智能导航\\",\\n \\"SourceType\\": \\"chatbotIntent\\"\\n },\\n \\"UnrecognizingConfig\\": {\\n \\"FinalPrompt\\": \\"抱歉,我暂时无法处理您的问题,即将为您转接人工\\",\\n \\"FinalAction\\": \\"TransferToAgent\\",\\n \\"FinalActionParams\\": \\"{ \\\\\\\\\\\\\\"skillGroupId\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"fallbackSkillGroup\\\\\\\\\\\\\\" }\\",\\n \\"Threshold\\": 3,\\n \\"Prompt\\": \\"抱歉,我无法理解您的意思\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<GreetingConfig>\\n <GreetingWords>您好,欢迎致电智能导航</GreetingWords>\\n</GreetingConfig>\\n<UnrecognizingConfig>\\n <Prompt>抱歉,我无法理解您的意思</Prompt>\\n <Threshold>3</Threshold>\\n <FinalPrompt>抱歉,我暂时无法处理您的问题,即将为您转接人工</FinalPrompt>\\n <FinalAction>TransferToAgent</FinalAction>\\n <FinalActionParams>{ \\"skillGroupId\\": \\"fallbackSkillGroup\\" }</FinalActionParams>\\n</UnrecognizingConfig>\\n<RepeatingConfig>\\n <Utterances>没听清</Utterances>\\n <Utterances>再说一遍</Utterances>\\n</RepeatingConfig>\\n<AskingBackConfig>\\n <Enabled>true</Enabled>\\n <Prompt>请问还有什么可以帮您?</Prompt>\\n <EnableNegativeFeedback>true</EnableNegativeFeedback>\\n <NegativeFeedbackUtterances>没有了</NegativeFeedbackUtterances>\\n <NegativeFeedbackUtterances>不需要了</NegativeFeedbackUtterances>\\n <NegativeFeedbackUtterances>不用了,谢谢</NegativeFeedbackUtterances>\\n <NegativeFeedbackPrompt>感谢您的来电。请您稍后为我的服务做出评价。</NegativeFeedbackPrompt>\\n <NegativeFeedbackAction>TransferToIVR</NegativeFeedbackAction>\\n <NegativeFeedbackActionParams> { \\"route\\": \\"satisfaction\\" } </NegativeFeedbackActionParams>\\n</AskingBackConfig>\\n<SilenceTimeoutConfig>\\n <Prompt>抱歉,我没听到您说话</Prompt>\\n <Timeout>10</Timeout>\\n <Threshold>3</Threshold>\\n <FinalPrompt>抱歉,听不到您说话,请您稍后致电</FinalPrompt>\\n <FinalAction>HangUp</FinalAction>\\n</SilenceTimeoutConfig>\\n<ComplainingConfig>\\n <Utterances>投诉</Utterances>\\n <Utterances>转人工</Utterances>\\n <Utterances>有没有人工</Utterances>\\n <Prompt>好的,即将为您转接人工处理</Prompt>\\n <Action>TransferToAgent</Action>\\n <ActionParams>{ \\"skillGroupId\\": \\"fallbackSkillGroup\\" }</ActionParams>\\n</ComplainingConfig>","errorExample":""}]', + ], + 'DescribeRecording' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1648,31 +1233,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '82b2eaae-ce5c-45f8-8231-f15b6b27e55c', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555'], ], [ 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'a2c26e67-5984-4935-984e-bcee52971993', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f'], + ], + [ + 'name' => 'NeedVoiceSliceRecording', + 'in' => 'query', + 'schema' => ['type' => 'boolean'], ], ], 'responses' => [ @@ -1680,93 +1256,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'ConversationDetails' => [ - 'description' => '对话列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'Dialogue', - ], - 'Speaker' => [ - 'description' => '讲述人 Customer = 客户,Chatbot = 机器人', - 'type' => 'string', - 'example' => 'Chatbot', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582266750353', - ], - 'ConversationId' => [ - 'description' => '会话id', - 'type' => 'string', - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{}', - ], - 'SequenceId' => [ - 'description' => '本轮次会话交互的序列号', - 'type' => 'string', - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], - 'Utterance' => [ - 'description' => '用户表述', - 'type' => 'string', - 'example' => '你好', - ], - ], - ], - ], + 'FilePath' => ['description' => '文件下载地址', 'type' => 'string', 'example' => 'url'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'FileName' => ['description' => '文件名字', 'type' => 'string', 'example' => '2019080913202222.wav'], + 'VoiceSliceRecordingListJson' => ['type' => 'string'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidConversationId.NotFound', - 'errorMessage' => 'The specified ConversationId does not exist in our record.', - ], - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidConversationId.NotFound', 'errorMessage' => 'The specified ConversationId does not exist in our record.', 'description' => '指定的会话ID不存在。'], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"ConversationDetails\\": [\\n {\\n \\"Action\\": \\"Dialogue\\",\\n \\"Speaker\\": \\"Chatbot\\",\\n \\"CreateTime\\": 1582266750353,\\n \\"ConversationId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"SequenceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"Utterance\\": \\"你好\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<ConversationDetails>\\n <ConversationId>abcde</ConversationId>\\n <Speaker>Customer</Speaker>\\n <Utterance>你好</Utterance>\\n <Action>Dialogue</Action>\\n <ActionParams>{}</ActionParams>\\n <CreateTime>2018-07-02 20:37:40</CreateTime>\\n <SequenceId>2</SequenceId>\\n</ConversationDetails>","errorExample":""}]', - 'title' => '查看实例下的对话', - 'summary' => '查看实例下的对话。', + 'title' => '获取对话录音', + 'summary' => '获取对话录音。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QueryConversations' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2022-08-09T13:03:56.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeRecording', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"FilePath\\": \\"url\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"FileName\\": \\"2019080913202222.wav\\",\\n \\"VoiceSliceRecordingListJson\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<FilePath>url</FilePath>\\n<FileName>2019080913202222.wav</FileName>","errorExample":""}]', + ], + 'DescribeStatisticalData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1774,78 +1310,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12f407b22cbe4890ac595f09985848d5', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], ], [ - 'name' => 'CallingNumber', + 'name' => 'TimeUnit', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'required' => false, - 'example' => '02811111111', - ], + 'schema' => ['description' => '日期单元', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Day/Hour'], ], [ 'name' => 'BeginTimeLeftRange', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期范围左区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582183381000', - ], + 'schema' => ['description' => '开始时间左区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582283640000'], ], [ 'name' => 'BeginTimeRightRange', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期范围右区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582356181000', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - 'maximum' => '100', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - 'maximum' => '200', - ], + 'schema' => ['description' => '开始时间右区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582298040000'], ], ], 'responses' => [ @@ -1853,121 +1338,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'PageSize' => [ - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'PageNumber' => [ - 'description' => '当前页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Conversations' => [ - 'description' => '会话列表', + 'TotalDialoguePassRate' => ['description' => '总多轮会话通过率', 'type' => 'string', 'example' => '80.00%'], + 'TotalKnowledgeHitRate' => ['description' => '总知识库命中率', 'type' => 'string', 'example' => '80.00%'], + 'TotalResolutionRate' => ['description' => '总解决率', 'type' => 'string', 'example' => '80.00%'], + 'TotalValidAnswerRate' => ['description' => '总有效回答率', 'type' => 'string', 'example' => '80.00%'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'ResolvedQuestionTotalNum' => ['description' => '解决问题总数', 'type' => 'integer', 'format' => 'int64', 'example' => '80'], + 'ConversationTotalNum' => ['description' => '总会话数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'StatisticalDataReports' => [ + 'description' => '时间维度统计数据数组', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582183481000', - ], - 'EffectiveAnswerCount' => [ - 'description' => '有效回答数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'TransferredToAgent' => [ - 'description' => '是否转人工', - 'type' => 'boolean', - 'example' => 'true', - ], - 'BeginTime' => [ - 'description' => '开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582183381000', - ], - 'SkillGroupId' => [ - 'description' => '技能组', - 'type' => 'string', - 'example' => 'AAA', - ], - 'ConversationId' => [ - 'description' => '会话ID', - 'type' => 'string', - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], - 'CallingNumber' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'example' => '02811111111', - ], - 'UserUtteranceCount' => [ - 'description' => '用户回答数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'KnowledgeHitRate' => ['description' => '知识库命中率', 'type' => 'string', 'example' => '80.00%'], + 'ResolvedQuestionNum' => ['description' => '解决问题数量', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'ResolutionRate' => ['description' => '解决率', 'type' => 'string', 'example' => '80.00%'], + 'StatisticalDate' => ['description' => '统计日期', 'type' => 'string', 'example' => '19:00:00'], + 'TotalConversationNum' => ['description' => '总会话数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'ValidAnswerRate' => ['description' => '有效回答率', 'type' => 'string', 'example' => '80.0'], + 'DialoguePassRate' => ['description' => '多轮会话通过率', 'type' => 'string', 'example' => '80.00%'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100,\\n \\"Conversations\\": [\\n {\\n \\"EndTime\\": 1582183481000,\\n \\"EffectiveAnswerCount\\": 8,\\n \\"TransferredToAgent\\": true,\\n \\"BeginTime\\": 1582183381000,\\n \\"SkillGroupId\\": \\"AAA\\",\\n \\"ConversationId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"CallingNumber\\": \\"02811111111\\",\\n \\"UserUtteranceCount\\": 10\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<PageNumber>1</PageNumber>\\n<PageSize>10</PageSize>\\n<TotalCount>100</TotalCount>\\n<Conversations>\\n <CallingNumber>02811111111</CallingNumber>\\n <BeginTime>1582183381000</BeginTime>\\n <EndTime>1582183481000</EndTime>\\n <TransferredToAgent>true</TransferredToAgent>\\n <SkillGroupId>AAA</SkillGroupId>\\n <UserUtteranceCount>10</UserUtteranceCount>\\n <EffectiveAnswerCount>8</EffectiveAnswerCount>\\n <ConversationId>af81a389-91f0-4157-8d82-720edd02b66a</ConversationId>\\n</Conversations>","errorExample":""}]', - 'title' => '查询对话记录', - 'summary' => '查询对话记录。', + 'title' => '查看当前实例的统计数据', + 'summary' => '查看当前实例的统计数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRecording' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeStatisticalData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalDialoguePassRate\\": \\"80.00%\\",\\n \\"TotalKnowledgeHitRate\\": \\"80.00%\\",\\n \\"TotalResolutionRate\\": \\"80.00%\\",\\n \\"TotalValidAnswerRate\\": \\"80.00%\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"ResolvedQuestionTotalNum\\": 80,\\n \\"ConversationTotalNum\\": 100,\\n \\"StatisticalDataReports\\": [\\n {\\n \\"KnowledgeHitRate\\": \\"80.00%\\",\\n \\"ResolvedQuestionNum\\": 80,\\n \\"ResolutionRate\\": \\"80.00%\\",\\n \\"StatisticalDate\\": \\"19:00:00\\",\\n \\"TotalConversationNum\\": 100,\\n \\"ValidAnswerRate\\": \\"80.0\\",\\n \\"DialoguePassRate\\": \\"80.00%\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<ConversationTotalNum>100</ConversationTotalNum>\\n<ResolvedQuestionTotalNum>80</ResolvedQuestionTotalNum>\\n<TotalKnowledgeHitRate>80.00%</TotalKnowledgeHitRate>\\n<TotalValidAnswerRate>80.00%</TotalValidAnswerRate>\\n<StatisticalDataReports>\\n <ResolvedQuestionNum>80</ResolvedQuestionNum>\\n <KnowledgeHitRate>80.00%</KnowledgeHitRate>\\n <TotalConversationNum>100</TotalConversationNum>\\n <ValidAnswerRate>80.00%</ValidAnswerRate>\\n <ResolutionRate>80.00%</ResolutionRate>\\n <DialoguePassRate>80.00%</DialoguePassRate>\\n <StatisticalDate>19:00:00</StatisticalDate>\\n</StatisticalDataReports>\\n<TotalDialoguePassRate>80.00%</TotalDialoguePassRate>\\n<TotalResolutionRate>80.00%</TotalResolutionRate>","errorExample":""}]', + ], + 'DescribeTTSConfig' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1975,38 +1412,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555', - ], + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dc437bba-5a25-4bbc-b4c2-f268864bebb5'], ], [ - 'name' => 'ConversationId', - 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f', - ], - ], - [ - 'name' => 'NeedVoiceSliceRecording', + 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - ], + 'schema' => ['description' => '实例所有者id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1971226538081821'], ], ], 'responses' => [ @@ -2014,62 +1430,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FilePath' => [ - 'description' => '文件下载地址', - 'type' => 'string', - 'example' => 'url', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'FileName' => [ - 'description' => '文件名字', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877158'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'aixia'], + 'SpeechRate' => ['description' => '语速', 'type' => 'integer', 'format' => 'int32', 'example' => '-150'], + 'NlsServiceType' => [ + 'description' => 'TTS服务调用类型', 'type' => 'string', - 'example' => '2019080913202222.wav', + 'enumValueTitles' => ['Authorized' => 'Authorized', 'Managed' => 'Managed'], + 'example' => 'Managed', ], - 'VoiceSliceRecordingListJson' => [ + 'AppKey' => ['description' => '三方语音配置的AppKey', 'type' => 'string', 'example' => '5b358afc'], + 'Engine' => [ + 'description' => 'TTS引擎', 'type' => 'string', - ], + 'enumValueTitles' => ['xunfei' => 'xunfei', 'volc' => 'volc', 'bailian' => 'bailian'], + 'example' => 'bailian', + ], + 'EngineXunfei' => ['description' => '科大讯飞引擎参数', 'type' => 'string', 'example' => '{\\"Voice\\":\\"aisjinger\\"}'], + 'PitchRate' => ['description' => '语调', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'AliCustomizedVoice' => ['description' => '个性化人声定制ID', 'type' => 'string', 'example' => 'dc458bba-5a25-4cbc-b5c2'], + 'TtsOverrides' => ['description' => 'TTS纠错词典', 'type' => 'string', 'example' => '[{\\"pronunciation\\":\\"环钱\\",\\"word\\":\\"还钱\\"}]'], + 'ExtParams' => ['type' => 'string'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidConversationId.NotFound', - 'errorMessage' => 'The specified ConversationId does not exist in our record.', - ], - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '查询 TTS 配置', + 'summary' => '查询tts 配置。', + 'changeSet' => [ + ['createdAt' => '2024-07-22T12:36:17.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-02-04T14:18:44.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-20T13:55:07.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeTTSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"FilePath\\": \\"url\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"FileName\\": \\"2019080913202222.wav\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<FilePath>url</FilePath>\\n<FileName>2019080913202222.wav</FileName>","errorExample":""}]', - 'title' => '获取对话录音', - 'summary' => '获取对话录音。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877158\\",\\n \\"Volume\\": 50,\\n \\"Voice\\": \\"aixia\\",\\n \\"SpeechRate\\": -150,\\n \\"NlsServiceType\\": \\"Managed\\",\\n \\"AppKey\\": \\"5b358afc\\",\\n \\"Engine\\": \\"bailian\\",\\n \\"EngineXunfei\\": \\"{\\\\\\\\\\\\\\"Voice\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aisjinger\\\\\\\\\\\\\\"}\\",\\n \\"PitchRate\\": 0,\\n \\"AliCustomizedVoice\\": \\"dc458bba-5a25-4cbc-b5c2\\",\\n \\"TtsOverrides\\": \\"[{\\\\\\\\\\\\\\"pronunciation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"环钱\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"word\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"还钱\\\\\\\\\\\\\\"}]\\",\\n \\"ExtParams\\": \\"\\"\\n}","type":"json"}]', ], 'Dialogue' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2077,91 +1500,47 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '21e0b2a3-168d-4ba7-9009-afc42666eb54', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '21e0b2a3-168d-4ba7-9009-afc42666eb54'], ], [ 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], ], [ 'name' => 'Utterance', 'in' => 'query', - 'schema' => [ - 'description' => '用户表述', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '行吧,那我就不打扰您了,再见。', - ], + 'schema' => ['description' => '用户表述', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '行吧,那我就不打扰您了,再见。'], ], [ 'name' => 'CalledNumber', 'in' => 'query', - 'schema' => [ - 'description' => '被叫号码', - 'type' => 'string', - 'required' => false, - 'example' => '10086', - ], + 'schema' => ['description' => '被叫号码', 'type' => 'string', 'required' => false, 'example' => '10086'], ], [ 'name' => 'CallingNumber', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'required' => false, - 'example' => '18851708605', - ], + 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => false, 'example' => '18851708605'], ], [ 'name' => 'AdditionalContext', 'in' => 'query', - 'schema' => [ - 'description' => '会话上下文', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '会话上下文', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所属的阿里云账号id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1426738157626835', - ], + 'schema' => ['description' => '实例所属的阿里云账号id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1426738157626835'], ], [ 'name' => 'Emotion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ @@ -2169,62 +1548,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'Broadcast', - ], - 'Interruptible' => [ - 'description' => 'ivr播报是否可打断', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{\\"duration\\":2420,\\"endTime\\":1651717326805,\\"hangUpDirection\\":\\"client\\",\\"hasLastPlaybackCompleted\\":true,\\"startTime\\":1651717324385}', - ], - 'TextResponse' => [ - 'description' => '播报的文本', - 'type' => 'string', - 'example' => '您好,欢迎致电智能助手', - ], + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'Broadcast'], + 'Interruptible' => ['description' => 'ivr播报是否可打断', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{\\"duration\\":2420,\\"endTime\\":1651717326805,\\"hangUpDirection\\":\\"client\\",\\"hasLastPlaybackCompleted\\":true,\\"startTime\\":1651717324385}'], + 'TextResponse' => ['description' => '播报的文本', 'type' => 'string', 'example' => '您好,欢迎致电智能助手'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": true,\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"ActionParams\\": \\"{\\\\\\\\\\\\\\"duration\\\\\\\\\\\\\\":2420,\\\\\\\\\\\\\\"endTime\\\\\\\\\\\\\\":1651717326805,\\\\\\\\\\\\\\"hangUpDirection\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"client\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasLastPlaybackCompleted\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1651717324385}\\",\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\"\\n}","type":"json"}]', 'title' => '对话接口', 'summary' => '对话接口。', - ], - 'EndDialogue' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:Dialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DisableInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2232,52 +1594,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a', - ], - ], - [ - 'name' => 'ConversationId', - 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8fb819b5-d032-48a9-ae5e-cff041b83596', - ], - ], - [ - 'name' => 'InstanceOwnerId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所有者id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1399572315967217', - ], - ], - [ - 'name' => 'HangUpParams', - 'in' => 'query', - 'schema' => [ - 'description' => '挂断参数', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"duration\\":40,\\"endTime\\":1645082505345,\\"hangUpDirection\\":\\"ivr\\",\\"hasLastPlaybackCompleted\\":true,\\"startTime\\":1645082505305}', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', 'docRequired' => true], ], ], 'responses' => [ @@ -2285,44 +1607,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a', - ], + 'Status' => ['description' => '删除状态', 'type' => 'string', 'example' => 'true'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"e48e45dd-e47a-4744-a063-f08cbebb1c5a\\"\\n}","errorExample":""},{"type":"xml","example":"<RequesetId>e48e45dd-e47a-4744-a063-f08cbebb1c5a</RequesetId>","errorExample":""}]', - 'title' => 'EndDialogue', - 'summary' => '结束对话。', + 'title' => '删除智能导航实例', + 'summary' => '删除智能导航实例。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SaveRecording' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:DisableInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"true\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', + ], + 'EnableInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2330,106 +1656,89 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', 'docRequired' => true], ], - [ - 'name' => 'ConversationId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '会话ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '390515b5-6115-4ccf-83e2-52d5bfaf2ddf', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '结果状态', 'type' => 'string', 'example' => 'true'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '3a530dc0-7cfa-48f6-9539-bf9001e77b16'], + ], + 'description' => '', ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '录音开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1582267398628', - ], + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], - [ - 'name' => 'Duration', - 'in' => 'query', - 'schema' => [ - 'description' => '录音时长', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10', + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '启用实例', + 'summary' => '启用实例。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:EnableInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"true\\",\\n \\"RequestId\\": \\"3a530dc0-7cfa-48f6-9539-bf9001e77b16\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3a530dc0-7cfa-48f6-9539-bf9001e77b16</RequestId>","errorExample":""}]', + ], + 'EndDialogue' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FileName', - 'in' => 'query', - 'schema' => [ - 'description' => '文件名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'e6bef0db439d4048bfcf45322491becf.wav', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ [ - 'name' => 'FilePath', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '文件路径', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'oss://test/record/', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a'], ], [ - 'name' => 'Type', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '录音文件类型', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Source', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8fb819b5-d032-48a9-ae5e-cff041b83596'], ], [ 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所属账号id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1971226538081821', - ], + 'schema' => ['description' => '实例所有者id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1399572315967217'], ], [ - 'name' => 'VoiceSliceRecordingList', + 'name' => 'HangUpParams', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '挂断参数', 'type' => 'string', 'required' => false, 'example' => '{\\"duration\\":40,\\"endTime\\":1645082505345,\\"hangUpDirection\\":\\"ivr\\",\\"hasLastPlaybackCompleted\\":true,\\"startTime\\":1645082505305}'], ], ], 'responses' => [ @@ -2437,183 +1746,110 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidConversationId.NotFound', - 'errorMessage' => 'The specified ConversationId does not exist in our record.', - ], - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>","errorExample":""}]', - 'title' => 'SaveRecording', - 'summary' => '保存录音。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"e48e45dd-e47a-4744-a063-f08cbebb1c5a\\"\\n}","errorExample":""},{"type":"xml","example":"<RequesetId>e48e45dd-e47a-4744-a063-f08cbebb1c5a</RequesetId>","errorExample":""}]', + 'title' => '结束对话', + 'summary' => '结束对话。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListConversations' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2021-08-16T07:23:04.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:EndDialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ExportConversationDetails' => [ + 'summary' => '导出会话详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例列表', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - ], - ], - [ - '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', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '6c01a99f-1b72-4f75-a8bd-3875766bd19d'], ], [ 'name' => 'CallingNumber', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'required' => false, - 'example' => '138106*****', - ], + 'schema' => ['description' => '主叫号码。', 'type' => 'string', 'required' => false, 'example' => '13581588**'], ], [ - 'name' => 'Result', + 'name' => 'BeginTimeLeftRange', 'in' => 'query', - 'schema' => [ - 'description' => '结果', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '开始日期范围左区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582266750353'], ], [ - 'name' => 'Query', + 'name' => 'BeginTimeRightRange', 'in' => 'query', - 'schema' => [ - 'description' => '查询条件', - 'type' => 'string', - 'required' => false, - 'example' => '13788914724', - ], + 'schema' => ['description' => '开始日期范围右区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640793599000'], ], [ - 'name' => 'BeginTimeLeftRange', + 'name' => 'Options', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '开始日期范围左区间', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '可选参数', + 'type' => 'array', + 'items' => ['description' => '自定义参数。', 'type' => 'string', 'required' => false, 'example' => '{\'Option\': [\'betaTestApproved\']}'], 'required' => false, - 'example' => '1638288000000', + 'maxItems' => 99, ], ], [ - 'name' => 'BeginTimeRightRange', + 'name' => 'RoundsLeftRange', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期范围右区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1637547875311', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''], ], [ - 'name' => 'IsSandBox', + 'name' => 'RoundsRightRange', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '是否是沙箱', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''], ], [ - 'name' => 'RoundsLeftRange', + 'name' => 'Result', 'in' => 'query', - 'schema' => [ - 'description' => '轮次查询范围左区间', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''], ], [ - 'name' => 'RoundsRightRange', + 'name' => 'DebugConversation', 'in' => 'query', - 'schema' => [ - 'description' => '轮次查询范围右区间', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], ], 'responses' => [ @@ -2621,159 +1857,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总计个数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '个数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'a2c26e67-5984-4935-984e-bcee52971993', - ], - 'PageNumber' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Conversations' => [ - 'description' => '会话列表', - 'type' => 'array', - 'items' => [ - 'description' => '会话列表', - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582266750353', - ], - 'HasToAgent' => [ - 'description' => '是否有转人工', - 'type' => 'boolean', - 'example' => 'false', - ], - 'StartTime' => [ - 'description' => '开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1641625694286', - ], - 'SkillGroup' => [ - 'description' => '技能组', - 'type' => 'string', - 'example' => 'skg-123', - ], - 'ConversationId' => [ - 'description' => '会话id', - 'type' => 'string', - 'example' => '82b2eaae-ce5c-45f8-8231-f15b6b27e55c', - ], - 'CallingNumber' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'example' => '135815884***', - ], - 'EndReason' => [ - 'description' => '挂断原因,有以下枚举:'."\n" - .' 1.正常完结'."\n" - .' 2.拒识后机器人挂机'."\n" - .' 3.静默超时挂机'."\n" - .' 4.拒识后用户挂机'."\n" - .' 5.用户无理由挂机'."\n" - .' 6.命中意图转人工'."\n" - .' 7.拒识转人工'."\n" - .' 8.用户侧无交互'."\n" - .' 9.系统异常中断'."\n" - .' 10.命中意图转IVR'."\n" - .' 11.拒识转IVR', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Rounds' => [ - 'description' => '轮转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'HasLastPlaybackCompleted' => [ - 'description' => '挂断时最后一句是否播报完成', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SandBox' => [ - 'description' => '是否沙箱', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CalledNumber' => [ - 'description' => '被叫号码', - 'type' => 'string', - 'example' => '12356', - ], - 'DsReport' => [ - 'type' => 'string', - ], - 'DsReportTitles' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE'], + 'ExportTaskId' => ['description' => '异步导出任务id', 'type' => 'string', 'example' => '6203fc87271a420c98eab6c2bbc2d856'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '导出会话详情', + 'changeSet' => [ + ['createdAt' => '2024-07-22T12:15:38.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-20T13:56:33.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:ExportConversation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"a2c26e67-5984-4935-984e-bcee52971993\\",\\n \\"PageNumber\\": 1,\\n \\"Conversations\\": [\\n {\\n \\"EndTime\\": 1582266750353,\\n \\"HasToAgent\\": false,\\n \\"StartTime\\": 1641625694286,\\n \\"SkillGroup\\": \\"skg-123\\",\\n \\"ConversationId\\": \\"82b2eaae-ce5c-45f8-8231-f15b6b27e55c\\",\\n \\"CallingNumber\\": \\"135815884***\\",\\n \\"EndReason\\": 1,\\n \\"Rounds\\": 2,\\n \\"HasLastPlaybackCompleted\\": true,\\n \\"SandBox\\": true,\\n \\"CalledNumber\\": \\"12356\\",\\n \\"DsReport\\": \\"\\",\\n \\"DsReportTitles\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '查询会话列表', - 'summary' => '查询会话列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE\\",\\n \\"ExportTaskId\\": \\"6203fc87271a420c98eab6c2bbc2d856\\"\\n}","type":"json"}]', ], - 'BeginDialogue' => [ - 'summary' => '开启会话。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportStatisticalData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2781,76 +1908,32 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'CalledNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '被叫号码', - 'type' => 'string', - 'required' => false, - 'example' => '10086', - ], - ], - [ - 'name' => 'CallingNumber', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1358158****', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '29b52d70-d9fe-4fe0-8476-8aaacbcfdc84'], ], [ - 'name' => 'ConversationId', + 'name' => 'TimeUnit', 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0', - ], + 'schema' => ['description' => '时间单元', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Hour'], ], [ - 'name' => 'InitialContext', + 'name' => 'ExportType', 'in' => 'query', - 'schema' => [ - 'description' => '会话上下文', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"channelId\\":\\"fe2559d3-5fc9-4fa5-8314-32b9f762791d\\"}', - ], + 'schema' => ['description' => '导出类型', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'statistical'], ], [ - 'name' => 'InstanceId', + 'name' => 'BeginTimeLeftRange', 'in' => 'query', - 'schema' => [ - 'description' => '实例id。'."\n" - ."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '4d7db6670b8e41b5adb1f21560ea9272', - ], + 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582266750353'], ], [ - 'name' => 'InstanceOwnerId', + 'name' => 'BeginTimeRightRange', 'in' => 'query', - 'schema' => [ - 'description' => '实例所有者id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1231639035307976', - ], + 'schema' => ['description' => '过滤条件,结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582266750353'], ], ], 'responses' => [ @@ -2858,161 +1941,141 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'Broadcast', - ], - 'Interruptible' => [ - 'description' => '是否可打断ivr播报', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{\\"duration\\":31340,\\"endTime\\":1638243934786,\\"hangUpDirection\\":\\"ivr\\",\\"startTime\\":1638243903446}', - ], - 'TextResponse' => [ - 'description' => '文本信息', - 'type' => 'string', - 'example' => '您好,欢迎致电智能助手', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'c62e6789-28a8-41db-941e-171a01d3b3b9'], + 'ExportTaskId' => ['description' => '异步导出任务id', 'type' => 'string', 'example' => '6be5a9f1-406e-424e-a17b-b6fb86ee3cc9'], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], + ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '导出统计数据', + 'summary' => '导出统计数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:ExportStatisticalData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Action\\": \\"Broadcast\\",\\n \\"Interruptible\\": true,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"ActionParams\\": \\"{\\\\\\\\\\\\\\"duration\\\\\\\\\\\\\\":31340,\\\\\\\\\\\\\\"endTime\\\\\\\\\\\\\\":1638243934786,\\\\\\\\\\\\\\"hangUpDirection\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ivr\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1638243903446}\\",\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\"\\n}","type":"json"}]', - 'title' => '开启会话', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"c62e6789-28a8-41db-941e-171a01d3b3b9\\",\\n \\"ExportTaskId\\": \\"6be5a9f1-406e-424e-a17b-b6fb86ee3cc9\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>c62e6789-28a8-41db-941e-171a01d3b3b9</RequestId>\\n<ExportTaskId>6be5a9f1-406e-424e-a17b-b6fb86ee3cc9</ExportTaskId>","errorExample":""}]', ], - 'ExportConversationDetails' => [ - 'summary' => '导出会话详情。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAsrConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '6c01a99f-1b72-4f75-a8bd-3875766bd19d', - ], - ], - [ - 'name' => 'CallingNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码。', - 'type' => 'string', - 'required' => false, - 'example' => '13581588**', - ], - ], - [ - 'name' => 'BeginTimeLeftRange', + 'name' => 'EntryId', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期范围左区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582266750353', - ], + 'schema' => ['title' => 'config_level对应的实体ID', 'description' => 'config_level对应的实体ID', 'type' => 'string', 'required' => false, 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8'], ], [ - 'name' => 'BeginTimeRightRange', + 'name' => 'ConfigLevel', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期范围右区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1640793599000', - ], + 'schema' => ['title' => '策略级别,包含 0:系统,1:租户,2:实例', 'description' => '策略级别,包含 0:系统,1:租户,2:实例', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '0'], ], - [ - 'name' => 'Options', - 'in' => 'query', - 'style' => 'repeatList', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '可选参数', - 'type' => 'array', - 'items' => [ - 'description' => '自定义参数。', - 'type' => 'string', - 'required' => false, - 'example' => '{\'Option\': [\'betaTestApproved\']}', + 'title' => 'RpcResponse<GetAsrConfigResponse>', + 'description' => 'RpcResponse<GetAsrConfigResponse>', + 'type' => 'object', + 'properties' => [ + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'], + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'AsrVocabularyId' => ['description' => '热词ID。请在[ASR热词管理页面](https://aiccs.console.aliyun.com/sentence/vocab?spm=a2c4g.11186623.0.0.7f9bf965IKBpsi)查看ASR热词ID。', 'type' => 'string', 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8'], + 'AsrCustomizationId' => ['description' => 'asr数据集id', 'type' => 'string', 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8'], + 'AsrAcousticModelId' => ['description' => 'asracoustic模型id', 'type' => 'string', 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8'], + 'AsrClassVocabularyId' => ['description' => 'asr热词id', 'type' => 'string', 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8'], + 'Engine' => ['title' => '语音引擎', 'description' => '语音引擎', 'type' => 'string', 'example' => 'ali'], + 'EngineXufei' => ['title' => '讯飞引擎参数', 'description' => '讯飞引擎参数', 'type' => 'string', 'example' => 'EngineXufei'], + 'NlsServiceType' => ['title' => 'NluServiceType', 'description' => 'NluServiceType', 'type' => 'string', 'example' => 'Authorized'], + 'AppKey' => ['title' => '引擎', 'description' => '引擎', 'type' => 'string', 'example' => 'your-app-key'], + 'AsrOverrides' => ['type' => 'string'], + ], + ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'ErrorMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Not Found'], ], - 'required' => false, - 'maxItems' => 99, ], ], - [ - 'name' => 'RoundsLeftRange', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + ], + 'title' => '查询asr配置', + 'summary' => '获取ASR配置', + 'changeSet' => [ + ['createdAt' => '2025-12-11T11:27:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-04-19T12:23:55.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetAsrConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"AsrVocabularyId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"AsrCustomizationId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"AsrAcousticModelId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"AsrClassVocabularyId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"Engine\\": \\"ali\\",\\n \\"EngineXufei\\": \\"EngineXufei\\",\\n \\"NlsServiceType\\": \\"Authorized\\",\\n \\"AppKey\\": \\"your-app-key\\",\\n \\"AsrOverrides\\": \\"\\"\\n },\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"ErrorMsg\\": \\"Not Found\\"\\n}","type":"json"}]', + ], + 'GetRealTimeConcurrency' => [ + 'summary' => '获取实例的实时并发数', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RoundsRightRange', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'Result', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'example' => 'c112c168ed664c0a851f9ca72d2f7999'], ], ], 'responses' => [ @@ -3020,115 +2083,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE', - ], - 'ExportTaskId' => [ - 'description' => '异步导出任务id', - 'type' => 'string', - 'example' => '6203fc87271a420c98eab6c2bbc2d856', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E6E61E1A-D2DC-5ACF-AED4-A115B6691F98'], + 'Timestamp' => ['description' => '查询时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1661584255029'], + 'RealTimeConcurrency' => ['description' => '实时并发数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'MaxConcurrency' => ['description' => '最大并发数', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], - ], - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + 'changeSet' => [ + ['createdAt' => '2022-08-29T12:28:23.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetRealTimeConcurrency', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE\\",\\n \\"ExportTaskId\\": \\"6203fc87271a420c98eab6c2bbc2d856\\"\\n}","type":"json"}]', - 'title' => '导出会话详情', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E6E61E1A-D2DC-5ACF-AED4-A115B6691F98\\",\\n \\"Timestamp\\": 1661584255029,\\n \\"RealTimeConcurrency\\": 1,\\n \\"MaxConcurrency\\": 2\\n}","type":"json"}]', ], - 'DebugBeginDialogue' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListChatbotInstances' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'CalledNumber', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '被叫号码', - 'type' => 'string', - 'required' => false, - 'example' => '10086', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], ], [ - 'name' => 'CallingNumber', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '135815*****', - ], + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'ConversationId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8a503680-815d-473e-a9b0-e010f47a64d2', - ], + 'schema' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'InitialContext', + 'name' => 'UnionSource', 'in' => 'query', - 'schema' => [ - 'description' => '会话信息', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'NluServiceType', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8a503680-815d-473e-a9b0-e010f47a64d2', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'NluServiceParamsJson', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ @@ -3136,110 +2161,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作指令', - 'type' => 'string', - 'example' => 'Broadcast', - ], - 'Interruptible' => [ - 'description' => 'IVR播报是否可打断', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'ActionParams' => [ - 'description' => '动作指令参数', - 'type' => 'string', - 'example' => '{}', - ], - 'TextResponse' => [ - 'description' => '播报内容', - 'type' => 'string', - 'example' => '您好,欢迎致电智能助手', + 'TotalCount' => ['description' => '总计个数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Bots' => [ + 'description' => '实例信息列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Introduction' => ['type' => 'string', 'example' => '‘’', 'description' => ''], + 'Avatar' => ['description' => '机器实例图标', 'type' => 'string', 'example' => 'https://dss0.ali.com/70cFuHS.jpg'], + 'TimeZone' => ['description' => '时区', 'type' => 'string', 'example' => 'UTC+8'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '1582266750353'], + 'LanguageCode' => ['description' => '语言代码', 'type' => 'string', 'example' => 'zh-cn'], + 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '测试机器人'], + ], + 'description' => '', + ], ], + 'PageSize' => ['description' => '个数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"Action\\": \\"Broadcast\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"Interruptible\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<TextResponse>您好,欢迎致电智能助手</TextResponse>\\n<Interruptible>false</Interruptible>\\n<Action>Broadcast</Action>","errorExample":""}]', - 'title' => '调试环境开启会话', - 'summary' => '调试环境开启会话。', + 'title' => 'ListChatbotInstances', + 'summary' => '查询实例列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DebugCollectedNumber' => [ - 'summary' => '调试环境收号。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-09-19T12:51:36.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-21T15:47:19.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListChatbotInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"Bots\\": [\\n {\\n \\"Introduction\\": \\"‘’\\",\\n \\"Avatar\\": \\"https://dss0.ali.com/70cFuHS.jpg\\",\\n \\"TimeZone\\": \\"UTC+8\\",\\n \\"CreateTime\\": \\"1582266750353\\",\\n \\"LanguageCode\\": \\"zh-cn\\",\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"Name\\": \\"测试机器人\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"da37319b-6c83-4268-9f19-814aed62e401\\",\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RequestId>da37319b-6c83-4268-9f19-814aed62e401</RequestId>\\n<Bots>\\n <Avatar>alibaba.com/skjdnvkdsvdk.jpg</Avatar>\\n <CreateTime>1582270782552</CreateTime>\\n <Introduction/>\\n <LanguageCode>zh-cn</LanguageCode>\\n <Name>测试</Name>\\n <TimeZone>UTC+8</TimeZone>\\n</Bots>","errorExample":""}]', + ], + 'ListConversationDetails' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555', - ], + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '82b2eaae-ce5c-45f8-8231-f15b6b27e55c'], ], [ 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '会话id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555', - ], - ], - [ - 'name' => 'Number', - 'in' => 'query', - 'schema' => [ - 'description' => '收号内容', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], + 'schema' => ['description' => '会话id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a2c26e67-5984-4935-984e-bcee52971993'], ], ], 'responses' => [ @@ -3247,123 +2242,135 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'Broadcast', - ], - 'Interruptible' => [ - 'description' => 'ivr 播报是否可打断', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{}', - ], - 'TextResponse' => [ - 'description' => '播报的文本内容', - 'type' => 'string', - 'example' => '您好,欢迎致电智能助手', + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'ConversationDetails' => [ + 'description' => '对话列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'Dialogue'], + 'Speaker' => ['description' => '讲述人 Customer = 客户,Chatbot = 机器人', 'type' => 'string', 'example' => 'Chatbot'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582266750353'], + 'ConversationId' => ['description' => '会话id', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{}'], + 'SequenceId' => ['description' => '本轮次会话交互的序列号', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'Utterance' => ['description' => '用户表述', 'type' => 'string', 'example' => '你好'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], - ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidConversationId.NotFound', 'errorMessage' => 'The specified ConversationId does not exist in our record.', 'description' => '指定的会话ID不存在。'], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TextResponse\\": \\"您好,欢迎致电智能助手\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"Action\\": \\"Broadcast\\",\\n \\"RequestId\\": \\"abb4aa26-3a8e-43dd-82f8-0c3898c9c67f\\",\\n \\"Interruptible\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<TextResponse>您好,欢迎致电智能助手</TextResponse>\\n<Interruptible>false</Interruptible>\\n<Action>Broadcast</Action>","errorExample":""}]', - 'title' => '调试环境收号', + 'title' => '查看对话详情', + 'summary' => '查看对话详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DebugDialogue' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ListConversationDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"ConversationDetails\\": [\\n {\\n \\"Action\\": \\"Dialogue\\",\\n \\"Speaker\\": \\"Chatbot\\",\\n \\"CreateTime\\": 1582266750353,\\n \\"ConversationId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"SequenceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"Utterance\\": \\"你好\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<ConversationDetails>\\n <ConversationId>abcde</ConversationId>\\n <Speaker>Customer</Speaker>\\n <Utterance>你好</Utterance>\\n <Action>Dialogue</Action>\\n <ActionParams>{}</ActionParams>\\n <CreateTime>2018-07-02 20:37:40</CreateTime>\\n <SequenceId>2</SequenceId>\\n</ConversationDetails>","errorExample":""}]', + ], + 'ListConversations' => [ + 'summary' => '查询会话列表。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'ConversationId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '用户表述', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7cefbff0-8d50-4d6f-b93c-73cee23c1555', - ], + 'schema' => ['description' => '实例列表', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], ], [ - 'name' => 'AdditionalContext', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '会话上下文', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '1'], ], [ - 'name' => 'InstanceId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f', - ], + 'schema' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], ], [ - 'name' => 'Utterance', + 'name' => 'CallingNumber', 'in' => 'query', - 'schema' => [ - 'description' => '用户表述', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '是的', - ], + 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => false, 'example' => '138106*****'], + ], + [ + 'name' => 'Result', + 'in' => 'query', + 'schema' => ['description' => '结果', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'Query', + 'in' => 'query', + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '13788914724'], + ], + [ + 'name' => 'BeginTimeLeftRange', + 'in' => 'query', + 'schema' => ['description' => '开始日期范围左区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1638288000000'], + ], + [ + 'name' => 'BeginTimeRightRange', + 'in' => 'query', + 'schema' => ['description' => '开始日期范围右区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637547875311'], + ], + [ + 'name' => 'IsSandBox', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '是否是沙箱', 'type' => 'string', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'RoundsLeftRange', + 'in' => 'query', + 'schema' => ['description' => '轮次查询范围左区间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'RoundsRightRange', + 'in' => 'query', + 'schema' => ['description' => '轮次查询范围右区间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + ], + [ + 'name' => 'DebugConversation', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], ], 'responses' => [ @@ -3371,129 +2378,267 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '动作', - 'type' => 'string', - 'example' => 'Broadcast', - ], - 'Interruptible' => [ - 'description' => 'ivr 播报是否可打断', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060', - ], - 'ActionParams' => [ - 'description' => '动作参数', - 'type' => 'string', - 'example' => '{}', - ], - 'TextResponse' => [ - 'description' => '播报的内容', - 'type' => 'string', - 'example' => '80d11be3-faad-4101-b4b0-59dbea28aaf0', + 'TotalCount' => ['description' => '总计个数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'a2c26e67-5984-4935-984e-bcee52971993'], + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Conversations' => [ + 'description' => '会话列表', + 'type' => 'array', + 'items' => [ + 'description' => '会话列表', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582266750353'], + 'HasToAgent' => ['description' => '是否有转人工', 'type' => 'boolean', 'example' => 'false'], + 'StartTime' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1641625694286'], + 'SkillGroup' => ['description' => '技能组', 'type' => 'string', 'example' => 'skg-123'], + 'ConversationId' => ['description' => '会话id', 'type' => 'string', 'example' => '82b2eaae-ce5c-45f8-8231-f15b6b27e55c'], + 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '135815884***'], + 'EndReason' => ['description' => '挂断原因,有以下枚举:'."\n" + .' 1.正常完结'."\n" + .' 2.拒识后机器人挂机'."\n" + .' 3.静默超时挂机'."\n" + .' 4.拒识后用户挂机'."\n" + .' 5.用户无理由挂机'."\n" + .' 6.命中意图转人工'."\n" + .' 7.拒识转人工'."\n" + .' 8.用户侧无交互'."\n" + .' 9.系统异常中断'."\n" + .' 10.命中意图转IVR'."\n" + .' 11.拒识转IVR', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Rounds' => ['description' => '轮转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'HasLastPlaybackCompleted' => ['description' => '挂断时最后一句是否播报完成', 'type' => 'boolean', 'example' => 'true'], + 'SandBox' => ['description' => '是否沙箱', 'type' => 'boolean', 'example' => 'true'], + 'CalledNumber' => ['description' => '被叫号码', 'type' => 'string', 'example' => '12356'], + 'DsReport' => ['type' => 'string', 'description' => ''], + 'DsReportTitles' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => ''], + 'description' => '', + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], + ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TextResponse\\": \\"80d11be3-faad-4101-b4b0-59dbea28aaf0\\",\\n \\"ActionParams\\": \\"{}\\",\\n \\"Action\\": \\"Broadcast\\",\\n \\"RequestId\\": \\"d74d6290-7cbe-4436-b5d7-014ebb0f4060\\",\\n \\"Interruptible\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<TextResponse>您好,欢迎致电智能助手</TextResponse>\\n<Interruptible>false</Interruptible>\\n<Action>Broadcast</Action>","errorExample":""}]', - 'title' => '调试环境对话', - 'summary' => '调试环境对话。', + 'title' => '查询会话列表', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-11T07:01:05.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-04-22T07:29:49.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-20T13:56:33.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-06-21T12:24:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-09-16T11:34:31.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-09-16T11:34:31.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ListConversations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"a2c26e67-5984-4935-984e-bcee52971993\\",\\n \\"PageNumber\\": 1,\\n \\"Conversations\\": [\\n {\\n \\"EndTime\\": 1582266750353,\\n \\"HasToAgent\\": false,\\n \\"StartTime\\": 1641625694286,\\n \\"SkillGroup\\": \\"skg-123\\",\\n \\"ConversationId\\": \\"82b2eaae-ce5c-45f8-8231-f15b6b27e55c\\",\\n \\"CallingNumber\\": \\"135815884***\\",\\n \\"EndReason\\": 1,\\n \\"Rounds\\": 2,\\n \\"HasLastPlaybackCompleted\\": true,\\n \\"SandBox\\": true,\\n \\"CalledNumber\\": \\"12356\\",\\n \\"DsReport\\": \\"\\",\\n \\"DsReportTitles\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', ], - 'CreateInstance' => [ - 'methods' => [ - 'post', - 'get', + 'ListDownloadTasks' => [ + 'summary' => '下载列表', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '1000', 'minimum' => '1', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '50', 'minimum' => '1', 'example' => '5'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'successful'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'D24E0148-6D40-550E-9471-B2C5A34C3D12'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'], + 'DownloadTasks' => [ + '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' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'Expired'], + 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '批量高阶内存整理_2022_02_17_10'], + 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1637119221702'], + 'TaskId' => ['description' => '任务id', 'type' => 'string', 'example' => 'cb9aba69-f578-42b2-aa2f-3e5a41947db8'], + 'DownloadTaskFiles' => [ + 'description' => '下载任务文件列表', + 'type' => 'array', + 'items' => [ + 'description' => '下载任务文件列表', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'Published'], + 'Title' => ['description' => '标题', 'type' => 'string', 'example' => 'CBU阿里通信反馈-声音延迟'], + 'Progress' => ['description' => '下载任务完成进度', 'type' => 'integer', 'format' => 'int32', 'example' => '70'], + 'FileId' => ['description' => '文件id', 'type' => 'string', 'example' => 'c32bf5675b704dc5b19200a89d2e85f1'], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'title' => '查看下载任务列表', + 'changeSet' => [ + ['createdAt' => '2021-11-24T12:59:40.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListDownloadTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"D24E0148-6D40-550E-9471-B2C5A34C3D12\\",\\n \\"Success\\": true,\\n \\"DownloadTasks\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"Expired\\",\\n \\"Title\\": \\"批量高阶内存整理_2022_02_17_10\\",\\n \\"ExpireTime\\": 1637119221702,\\n \\"TaskId\\": \\"cb9aba69-f578-42b2-aa2f-3e5a41947db8\\",\\n \\"DownloadTaskFiles\\": [\\n {\\n \\"Status\\": \\"Published\\",\\n \\"Title\\": \\"CBU阿里通信反馈-声音延迟\\",\\n \\"Progress\\": 70,\\n \\"FileId\\": \\"c32bf5675b704dc5b19200a89d2e85f1\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListInstances' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '实例名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '导航实例', - ], + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], [ - 'name' => 'Description', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '实例描述', - 'type' => 'string', - 'required' => false, - 'example' => '第一个导航实例', - ], + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'Concurrency', + 'name' => 'NluServiceTypeListJsonString', 'in' => 'query', - 'schema' => [ - 'description' => '并发数量', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'nlu类型,对话能力来源筛选条件。不填则全选。'."\n" + ."\n" + .' * MANAGED:托管【已废弃】'."\n" + ."\n" + .' * AUTHORIZED:授权,公共云:智能对话机器人服务'."\n" + ."\n" + .' * PROVIDED:私有, 通过在运维控制台配置as、sk、以及chatEndpoint等。'."\n" + .'* CCC_AUTHORIZED:使用云联络中心授权的小蜜机器人'."\n" + ."\n" + .'* CCC_FUNCTION:使用阿里函数计算服务'."\n" + ."\n" + .'* SSE_FUNCTION:使用流式函数服务 ,支持SSE的函数计算,用于对接三方大模型对话机器人'."\n" + ."\n\n" + .'* PROMPTS:对接qwen基模等'."\n" + ."\n" + .'* LOCAL:专有云,本地基蜜', 'type' => 'string', 'required' => false, 'example' => '["CCC_AUTHORIZED"]'], ], [ 'name' => 'UnionSource', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '来源。'."\n" + .'* CCC :云联络中心', 'type' => 'string', 'required' => false, 'example' => 'CCC'], ], [ 'name' => 'UnionInstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '实例ID'."\n" + ."\n" + .'> 当UnionSource为CCC时,UnionInstanceId填入云联络中心的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'zhyl'], ], [ - 'name' => 'NluServiceParamsJson', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '场景名称筛选条件', 'type' => 'string', 'required' => false, 'example' => '测试'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => '当前场景状态筛选条件,当为空时则默认为全选。'."\n" + .'* DISABLED:已下线'."\n" + .'* PUBLISHED:已发布', 'type' => 'string', 'required' => false, 'example' => 'PUBLISHED'], + ], + [ + 'name' => 'Number', + 'in' => 'query', + 'schema' => ['description' => '呼入号码筛选条件', 'type' => 'string', 'required' => false, 'example' => '021xxxxxxx'], + ], + [ + 'name' => 'InstanceIdListJsonString', + 'in' => 'query', + 'schema' => ['description' => '数字员工场景ID列表', 'type' => 'string', 'required' => false, 'example' => '["e4bebxxxxxxxxxxx"] '."\n"], ], ], 'responses' => [ @@ -3501,115 +2646,203 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '9ab43460-c0b9-40e2-8447-48d82c97fc67', - ], - 'InstanceId' => [ - 'description' => '实例id', - 'type' => 'string', - 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0', + 'Instances' => [ + 'description' => '实例数组', + 'type' => 'array', + 'items' => [ + 'description' => '实例数组', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '实例状态', 'type' => 'string', 'example' => 'Published'], + 'ModifyUserName' => ['description' => '操作人', 'type' => 'string', 'example' => 'xxx'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '测试的实例'], + 'ApplicableOperations' => [ + 'description' => '实例可操作列表', + 'type' => 'array', + 'items' => ['description' => '实例可操作列表', 'type' => 'string', 'example' => 'Edit'], + ], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'dc437bba-5a25-4bbc-b4c2-f268864bebb5'], + 'Name' => ['description' => '名字', 'type' => 'string', 'example' => '测试实例'], + 'Concurrency' => ['description' => '并发数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582266750353'], + 'Numbers' => [ + 'description' => '呼入号码列表', + 'type' => 'array', + 'items' => ['description' => '呼入号码', 'type' => 'string', 'example' => '021xxxxxxxx '."\n" + ."\n\n"], + ], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1658202465000'], + 'UnionSource' => ['description' => '来源。'."\n" + ."\n" + .'- CCC :云联络中心', 'type' => 'string', 'example' => 'CCC'], + 'UnionInstanceId' => ['description' => '实例ID'."\n" + ."\n\n" + .'> 当UnionSource为CCC时,UnionInstanceId填入云联络中心的实例ID。', 'type' => 'string', 'example' => 'zhyl '], + 'NluServiceParamsJson' => ['description' => '大模型服务参数JSON', 'type' => 'string', 'example' => '{"agentId":"1213503","isCCCAgent":"true","agentKey":"107e04a7519243eb83c9b549ea3b6829_p_ccc_public"} '], + ], + ], ], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A8AED3C8-F57B-5D71-9A34-4A170287533F'], + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidConcurrency.LimitExceeded', - 'errorMessage' => 'The specified Concurrency exceeds the upper limit.', - ], - [ - 'errorCode' => 'InvalidInstanceName.Duplicated', - 'errorMessage' => 'The specified InstanceName already exists.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '分页获取当前租户下智能导航实例列表', + 'summary' => '分页获取当前租户下智能导航实例列表。', + 'changeSet' => [ + ['createdAt' => '2023-09-19T12:51:37.000Z', 'description' => '请求参数发生变更、响应参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-04-19T12:23:55.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"c28fc549-d88f-4f6e-85ad-a0806e5e39c0\\",\\n \\"RequestId\\": \\"9ab43460-c0b9-40e2-8447-48d82c97fc67\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<InstanceId>12f407b22cbe4890ac595f09985848d5</InstanceId>","errorExample":""}]', - 'title' => '创建智能导航实例', - 'summary' => '创建智能导航实例。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Instances\\": [\\n {\\n \\"Status\\": \\"Published\\",\\n \\"ModifyUserName\\": \\"xxx\\",\\n \\"Description\\": \\"测试的实例\\",\\n \\"ApplicableOperations\\": [\\n \\"Edit\\"\\n ],\\n \\"InstanceId\\": \\"dc437bba-5a25-4bbc-b4c2-f268864bebb5\\",\\n \\"Name\\": \\"测试实例\\",\\n \\"Concurrency\\": 10,\\n \\"ModifyTime\\": 1582266750353,\\n \\"Numbers\\": [\\n \\"021xxxxxxxx\\\\t\\\\n\\\\n\\\\n\\"\\n ],\\n \\"CreateTime\\": 1658202465000,\\n \\"UnionSource\\": \\"CCC\\",\\n \\"UnionInstanceId\\": \\"zhyl\\\\t\\",\\n \\"NluServiceParamsJson\\": \\"{\\\\\\"agentId\\\\\\":\\\\\\"1213503\\\\\\",\\\\\\"isCCCAgent\\\\\\":\\\\\\"true\\\\\\",\\\\\\"agentKey\\\\\\":\\\\\\"107e04a7519243eb83c9b549ea3b6829_p_ccc_public\\\\\\"}\\\\t\\"\\n }\\n ],\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"A8AED3C8-F57B-5D71-9A34-4A170287533F\\",\\n \\"PageNumber\\": 2\\n}","type":"json"}]', ], - 'DeleteInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyAsrConfig' => [ + 'summary' => '修改ASR配置', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'EntryId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060', - ], + 'schema' => ['title' => 'config_level对应的实体ID', 'description' => 'config_level对应的实体ID', 'type' => 'string', 'required' => false, 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22'], + ], + [ + 'name' => 'ConfigLevel', + 'in' => 'query', + 'schema' => ['title' => '策略级别,包含 0:系统,1:租户,2:实例', 'description' => '策略级别,包含 0:系统,1:租户,2:实例', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'default' => '0'], + ], + [ + 'name' => 'AsrVocabularyId', + 'in' => 'query', + 'schema' => ['description' => '热词ID。请在[ASR热词管理页面](https://aiccs.console.aliyun.com/sentence/vocab?spm=a2c4g.11186623.0.0.7f9bf965IKBpsi)查看ASR热词ID。', 'type' => 'string', 'required' => false, 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22'], + ], + [ + 'name' => 'AsrCustomizationId', + 'in' => 'query', + 'schema' => ['description' => '数据集id', 'type' => 'string', 'required' => false, 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22'], + ], + [ + 'name' => 'AsrAcousticModelId', + 'in' => 'query', + 'schema' => ['description' => 'asr声学id', 'type' => 'string', 'required' => false, 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22'], + ], + [ + 'name' => 'AsrClassVocabularyId', + 'in' => 'query', + 'schema' => ['description' => 'asr热词id', 'type' => 'string', 'required' => false, 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22'], + ], + [ + 'name' => 'Engine', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'NlsServiceType', + 'in' => 'query', + 'schema' => ['title' => 'NluServiceType', 'description' => 'NluServiceType', 'type' => 'string', 'required' => false, 'example' => '语音识别'], + ], + [ + 'name' => 'AppKey', + 'in' => 'query', + 'schema' => ['title' => '引擎的AppKey', 'description' => '引擎的AppKey', 'type' => 'string', 'required' => false, 'example' => 'your_app_key'], + ], + [ + 'name' => 'AsrOverrides', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'RpcResponse<ModifyAsrConfigResponse>', + 'description' => 'RpcResponse<ModifyAsrConfigResponse>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060', + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'], + 'Data' => [ + 'title' => '影响的行数', + 'description' => '修改结果', + 'type' => 'object', + 'properties' => [ + 'AffectedRows' => ['description' => '是否影响行数', 'type' => 'integer', 'format' => 'int32'], + ], ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'ErrorMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Not Found'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '修改asr配置', + 'changeSet' => [ + ['createdAt' => '2025-12-11T11:27:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-11-22T13:15:25.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-04-19T12:23:55.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyAsrConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"d74d6290-7cbe-4436-b5d7-014ebb0f4060\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b19af5ce5314ac08108d1b33fe20e15</RequestId>","errorExample":""}]', - 'title' => 'DeleteInstance', - 'summary' => '删除导航实例。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"AffectedRows\\": 0\\n },\\n \\"RequestId\\": \\"da37319b-6c83-4268-9f19-814aed62e401\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"ErrorMsg\\": \\"Not Found\\"\\n}","type":"json"}]', ], - 'DisableInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyGreetingConfig' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3617,20 +2850,27 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - 'docRequired' => true, - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + [ + 'name' => 'GreetingWords', + 'in' => 'query', + 'schema' => ['description' => '欢迎语', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '你好,欢迎使用智能导航。'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chatbotIntent'], + ], + [ + 'name' => 'IntentTrigger', + 'in' => 'query', + 'schema' => ['description' => '触发意图', 'type' => 'string', 'required' => false, 'example' => '开始'], ], ], 'responses' => [ @@ -3638,50 +2878,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '删除状态', - 'type' => 'string', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', + 'title' => '修改问候语配置', + 'summary' => '修改问候语配置。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyGreetingConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"true\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', - 'title' => '删除智能导航实例', - 'summary' => '删除智能导航实例。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'EnableInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3689,20 +2920,27 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - 'docRequired' => true, - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '描述'], + ], + [ + 'name' => 'Concurrency', + 'in' => 'query', + 'schema' => ['description' => '实例最大并发数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10'], ], ], 'responses' => [ @@ -3710,50 +2948,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '结果状态', - 'type' => 'string', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '3a530dc0-7cfa-48f6-9539-bf9001e77b16', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidConcurrency.LimitExceeded', 'errorMessage' => 'The specified Concurrency exceeds the upper limit.', 'description' => '并发数已经超限,请重新设置。'], + ['errorCode' => 'InvalidInstanceName.Duplicated', 'errorMessage' => 'The specified InstanceName already exists.', 'description' => '实例名称已经存在。请您更换一个名字。'], + ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"true\\",\\n \\"RequestId\\": \\"3a530dc0-7cfa-48f6-9539-bf9001e77b16\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3a530dc0-7cfa-48f6-9539-bf9001e77b16</RequestId>","errorExample":""}]', - 'title' => '启用实例', - 'summary' => '启用实例。', + 'title' => '修改实例', + 'summary' => '修改实例。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyInstance' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-20T13:57:21.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', + ], + 'ModifySilenceTimeoutConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3761,49 +3002,52 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12f407b22cbe4890ac595f09985848d5', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], ], [ - 'name' => 'Name', + 'name' => 'Prompt', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => '静默超时提示语', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '不好意思,听不见您说什么'], ], [ - 'name' => 'Description', + 'name' => 'Timeout', 'in' => 'query', - 'schema' => [ - 'description' => '描述', - 'type' => 'string', - 'required' => false, - 'example' => '描述', - ], + 'schema' => ['description' => '静默超时时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '20'], ], [ - 'name' => 'Concurrency', + 'name' => 'Threshold', 'in' => 'query', - 'schema' => [ - 'description' => '实例最大并发数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => '静默超时最大次数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3'], + ], + [ + 'name' => 'FinalPrompt', + 'in' => 'query', + 'schema' => ['description' => '最后一次静默提示语', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '再见'], + ], + [ + 'name' => 'FinalAction', + 'in' => 'query', + 'schema' => ['description' => '提示后的动作', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TransferToAgent'], + ], + [ + 'name' => 'FinalActionParams', + 'in' => 'query', + 'schema' => ['description' => '动作参数', 'type' => 'string', 'required' => false, 'example' => '{}'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chatbotIntent'], + ], + [ + 'name' => 'IntentTrigger', + 'in' => 'query', + 'schema' => ['description' => '触发的意图', 'type' => 'string', 'required' => false, 'example' => 'Timeout'], ], ], 'responses' => [ @@ -3811,242 +3055,215 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidConcurrency.LimitExceeded', - 'errorMessage' => 'The specified Concurrency exceeds the upper limit.', - ], - [ - 'errorCode' => 'InvalidInstanceName.Duplicated', - 'errorMessage' => 'The specified InstanceName already exists.', - ], - ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', - 'title' => '修改实例', - 'summary' => '修改实例。', + 'title' => '修改静默超时配置', + 'summary' => '修改静默超时配置。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeNavigationConfig' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifySilenceTimeoutConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyTTSConfig' => [ + 'summary' => '修改TTS配置。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8a9bdaa895a748528a15b50c281e6474'], + ], + [ + 'name' => 'Voice', + 'in' => 'query', + 'schema' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'example' => 'aixia'], + ], + [ + 'name' => 'SpeechRate', + 'in' => 'query', + 'schema' => ['description' => '语速', 'type' => 'string', 'required' => false, 'example' => '50'], + ], + [ + 'name' => 'Volume', + 'in' => 'query', + 'schema' => ['description' => '音量', 'type' => 'string', 'required' => false, 'example' => '50'], + ], + [ + 'name' => 'PitchRate', + 'in' => 'query', + 'schema' => ['description' => '语调', 'type' => 'string', 'required' => false, 'example' => '50'], + ], + [ + 'name' => 'NlsServiceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'TTS服务调用类型', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['Authorized' => 'Authorized', 'Managed' => 'Managed'], + 'example' => 'Managed', + ], + ], + [ + 'name' => 'AppKey', + 'in' => 'query', + 'schema' => ['description' => '三方语音配置的 AppKey', 'type' => 'string', 'required' => false, 'example' => '5b358afc'], + ], + [ + 'name' => 'Engine', + 'in' => 'query', 'schema' => [ - 'description' => '实例id', + 'description' => 'TTS 引擎', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '287289b6-1510-4e64-9224-39b53ad89dd2', + 'required' => false, + 'enumValueTitles' => ['xunfei' => 'xunfei', 'bailian' => 'bailian', 'volc' => 'volc'], + 'example' => 'bailian', ], ], + [ + 'name' => 'EngineXunfei', + 'in' => 'query', + 'schema' => ['description' => '科大讯飞引擎参数', 'type' => 'string', 'required' => false, 'example' => '{\\"Voice\\":\\"aisjinger\\"}'], + ], + [ + 'name' => 'AliCustomizedVoice', + 'in' => 'query', + 'schema' => ['description' => '个性化人声定制ID', 'type' => 'string', 'required' => false, 'example' => 'dc458bba-5a25-4cbc-b5c2'], + ], + [ + 'name' => 'TtsOverrides', + 'in' => 'query', + 'schema' => ['description' => 'TTS纠错词典', 'type' => 'string', 'required' => false, 'example' => '[{\\"pronunciation\\":\\"环钱\\",\\"word\\":\\"还钱\\"}]'], + ], + [ + 'name' => 'ExtParams', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'SilenceTimeoutConfig' => [ - 'description' => '静默超时配置', - 'type' => 'object', - 'properties' => [ - 'Timeout' => [ - 'description' => '静默超时时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'IntentTrigger' => [ - 'description' => '""', - 'type' => 'string', - 'example' => '""', - ], - 'FinalPrompt' => [ - 'description' => '最后一次静默提示语', - 'type' => 'string', - 'example' => '抱歉,听不到您说话,请您稍后致电', - ], - 'SourceType' => [ - 'description' => '配置源类型', - 'type' => 'string', - 'example' => 'chatbotIntent', - ], - 'FinalAction' => [ - 'description' => '提示后的动作:TransferToAgent / TransferToIVR / RedirectToPage / HangUp', - 'type' => 'string', - 'example' => 'HangUp', - ], - 'Prompt' => [ - 'description' => '静默超时提示语', - 'type' => 'string', - 'example' => '抱歉,我没听到您说话', - ], - 'Threshold' => [ - 'description' => '静默超时最大次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'FinalActionParams' => [ - 'description' => '动作参数,如:跳转目标', - 'type' => 'string', - 'example' => '{}', - ], - ], - ], - 'GreetingConfig' => [ - 'description' => '问候语配置', - 'type' => 'object', - 'properties' => [ - 'IntentTrigger' => [ - 'description' => '触发意图', - 'type' => 'string', - 'example' => '你好', - ], - 'GreetingWords' => [ - 'description' => '问候语', - 'type' => 'string', - 'example' => '您好,欢迎致电智能导航', - ], - 'SourceType' => [ - 'description' => '配置类型', - 'type' => 'string', - 'example' => 'chatbotIntent', - ], - ], - ], - 'UnrecognizingConfig' => [ - 'description' => 'Unrecognizing对象 | 据识配置', - 'type' => 'object', - 'properties' => [ - 'FinalPrompt' => [ - 'description' => '最后一次拒识提示语', - 'type' => 'string', - 'example' => '抱歉,我暂时无法处理您的问题,即将为您转接人工', - ], - 'FinalAction' => [ - 'description' => '拒识动作:TransferToAgent / TransferToIVR / RedirectToPage / HangUp', - 'type' => 'string', - 'example' => 'TransferToAgent', - ], - 'FinalActionParams' => [ - 'description' => ' 动作参数,如:跳转目标', - 'type' => 'string', - 'example' => '{ \\"skillGroupId\\": \\"fallbackSkillGroup\\" }', - ], - 'Threshold' => [ - 'description' => '拒识最大次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Prompt' => [ - 'description' => '拒识提示语', - 'type' => 'string', - 'example' => '抱歉,我无法理解您的意思', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'title' => '修改 TTS 配置', + 'changeSet' => [ + ['createdAt' => '2025-12-18T02:03:50.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-07-22T12:36:17.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-02-04T14:18:44.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-20T13:55:08.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyTTSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"GreetingConfig\\": {\\n \\"SourceType\\": \\"chatbotIntent\\",\\n \\"IntentTrigger\\": \\"你好\\",\\n \\"GreetingWords\\": \\"您好,欢迎致电智能导航\\"\\n },\\n \\"UnrecognizingConfig\\": {\\n \\"FinalAction\\": \\"TransferToAgent\\",\\n \\"FinalActionParams\\": \\"{ \\\\\\\\\\\\\\"skillGroupId\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"fallbackSkillGroup\\\\\\\\\\\\\\" }\\",\\n \\"Threshold\\": 3,\\n \\"Prompt\\": \\"抱歉,我无法理解您的意思\\",\\n \\"FinalPrompt\\": \\"抱歉,我暂时无法处理您的问题,即将为您转接人工\\"\\n },\\n \\"RepeatingConfig\\": {\\n \\"Utterances\\": [\\n \\" [ \\\\\\"没听清\\\\\\", \\\\\\"再说一遍\\\\\\" ]\\"\\n ]\\n },\\n \\"AskingBackConfig\\": {\\n \\"NegativeFeedbackPrompt\\": \\"感谢您的来电。请您稍后为我的服务做出评价。\\",\\n \\"NegativeFeedbackAction\\": \\"TransferToIVR\\",\\n \\"NegativeFeedbackActionParams\\": \\"{ \\\\\\\\\\\\\\"route\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"satisfaction\\\\\\\\\\\\\\" }\\",\\n \\"EnableNegativeFeedback\\": true,\\n \\"Enabled\\": true,\\n \\"Prompt\\": \\"请问还有什么可以帮您?\\",\\n \\"NegativeFeedbackUtterances\\": [\\n \\" [ \\\\\\"没有了\\\\\\", \\\\\\"不需要了\\\\\\", \\\\\\"不用了,谢谢\\\\\\" ],\\"\\n ]\\n },\\n \\"ComplainingConfig\\": {\\n \\"FinalAction\\": \\"TransferToAgent\\",\\n \\"Prompt\\": \\"好的,即将为您转接人工处理\\",\\n \\"FinalActionParams\\": \\"{ \\\\\\\\\\\\\\"skillGroupId\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"fallbackSkillGroup\\\\\\\\\\\\\\" }\\",\\n \\"Utterances\\": [\\n \\"[ \\\\\\"投诉\\\\\\", \\\\\\"转人工\\\\\\", \\\\\\"有没有人工\\\\\\" ]\\"\\n ]\\n },\\n \\"SilenceTimeoutConfig\\": {\\n \\"Timeout\\": 10,\\n \\"IntentTrigger\\": \\"\\\\\\"\\\\\\"\\",\\n \\"FinalPrompt\\": \\"抱歉,听不到您说话,请您稍后致电\\",\\n \\"SourceType\\": \\"chatbotIntent\\",\\n \\"FinalAction\\": \\"HangUp\\",\\n \\"Prompt\\": \\"抱歉,我没听到您说话\\",\\n \\"Threshold\\": 3,\\n \\"FinalActionParams\\": \\"{}\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<GreetingConfig>\\n <GreetingWords>您好,欢迎致电智能导航</GreetingWords>\\n</GreetingConfig>\\n<UnrecognizingConfig>\\n <Prompt>抱歉,我无法理解您的意思</Prompt>\\n <Threshold>3</Threshold>\\n <FinalPrompt>抱歉,我暂时无法处理您的问题,即将为您转接人工</FinalPrompt>\\n <FinalAction>TransferToAgent</FinalAction>\\n <FinalActionParams>{ \\"skillGroupId\\": \\"fallbackSkillGroup\\" }</FinalActionParams>\\n</UnrecognizingConfig>\\n<RepeatingConfig>\\n <Utterances>没听清</Utterances>\\n <Utterances>再说一遍</Utterances>\\n</RepeatingConfig>\\n<AskingBackConfig>\\n <Enabled>true</Enabled>\\n <Prompt>请问还有什么可以帮您?</Prompt>\\n <EnableNegativeFeedback>true</EnableNegativeFeedback>\\n <NegativeFeedbackUtterances>没有了</NegativeFeedbackUtterances>\\n <NegativeFeedbackUtterances>不需要了</NegativeFeedbackUtterances>\\n <NegativeFeedbackUtterances>不用了,谢谢</NegativeFeedbackUtterances>\\n <NegativeFeedbackPrompt>感谢您的来电。请您稍后为我的服务做出评价。</NegativeFeedbackPrompt>\\n <NegativeFeedbackAction>TransferToIVR</NegativeFeedbackAction>\\n <NegativeFeedbackActionParams> { \\"route\\": \\"satisfaction\\" } </NegativeFeedbackActionParams>\\n</AskingBackConfig>\\n<SilenceTimeoutConfig>\\n <Prompt>抱歉,我没听到您说话</Prompt>\\n <Timeout>10</Timeout>\\n <Threshold>3</Threshold>\\n <FinalPrompt>抱歉,听不到您说话,请您稍后致电</FinalPrompt>\\n <FinalAction>HangUp</FinalAction>\\n</SilenceTimeoutConfig>\\n<ComplainingConfig>\\n <Utterances>投诉</Utterances>\\n <Utterances>转人工</Utterances>\\n <Utterances>有没有人工</Utterances>\\n <Prompt>好的,即将为您转接人工处理</Prompt>\\n <Action>TransferToAgent</Action>\\n <ActionParams>{ \\"skillGroupId\\": \\"fallbackSkillGroup\\" }</ActionParams>\\n</ComplainingConfig>","errorExample":""}]', - 'title' => '查看实例IVR配置', - 'summary' => '查看实例IVR配置。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","type":"json"}]', ], - 'DescribeInstance' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyUnrecognizingConfig' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cd6fc91bc13445c2af7f2e3e31418520', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + [ + 'name' => 'Prompt', + 'in' => 'query', + 'schema' => ['description' => '拒识提示语', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '我不理解您的意思,请再说一遍'], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => ['description' => '拒识最大次数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3'], + ], + [ + 'name' => 'FinalPrompt', + 'in' => 'query', + 'schema' => ['description' => '最后一次拒识提示语', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '再见'], + ], + [ + 'name' => 'FinalAction', + 'in' => 'query', + 'schema' => ['description' => '拒识动作', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TransferToAgent'], + ], + [ + 'name' => 'FinalActionParams', + 'in' => 'query', + 'schema' => ['description' => '动作参数', 'type' => 'string', 'required' => false, 'example' => '{}'], ], ], 'responses' => [ @@ -4054,103 +3271,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Published', - ], - 'ModifyTime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683216000000', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '导航测试实例描述信息', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '790B5EA3-D251-1666-B1E0-4D1F4B33A592', - ], - 'InstanceId' => [ - 'description' => '实例id', - 'type' => 'string', - 'example' => 'cd6fc91bc13445c2af7f2e3e31418520', - ], - 'Concurrency' => [ - 'description' => '实例并发', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ApplicableOperations' => [ - 'description' => '适用操作列表', - 'type' => 'array', - 'items' => [ - 'description' => '适用操作', - 'type' => 'string', - 'example' => 'Edit', - ], - ], - 'ModifyUserName' => [ - 'description' => '更新者', - 'type' => 'string', - 'example' => '2508711*******', - ], - 'Name' => [ - 'description' => '实例名称', - 'type' => 'string', - 'example' => '导航测试实例', - ], - 'AbilityType' => [ - 'description' => '实例能力类型<br>'."\n" - .'DEFAULT:全能力<br>'."\n" - .'VOICE_ONLY:只关注语音能力,不含对话干预', - 'type' => 'string', - 'example' => 'VOICE_ONLY', - ], - 'UnionSource' => [ - 'type' => 'string', - ], - 'UnionInstanceId' => [ - 'type' => 'string', - ], - 'NluServiceParamsJson' => [ - 'type' => 'string', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>","errorExample":""}]', + 'title' => '修改拒识配置', + 'summary' => '修改拒识配置。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyUnrecognizingConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Published\\",\\n \\"ModifyTime\\": 1683216000000,\\n \\"Description\\": \\"导航测试实例描述信息\\",\\n \\"RequestId\\": \\"790B5EA3-D251-1666-B1E0-4D1F4B33A592\\",\\n \\"InstanceId\\": \\"cd6fc91bc13445c2af7f2e3e31418520\\",\\n \\"Concurrency\\": 10,\\n \\"ApplicableOperations\\": [\\n \\"Edit\\"\\n ],\\n \\"ModifyUserName\\": \\"2508711*******\\",\\n \\"Name\\": \\"导航测试实例\\",\\n \\"AbilityType\\": \\"VOICE_ONLY\\",\\n \\"UnionSource\\": \\"\\",\\n \\"UnionInstanceId\\": \\"\\",\\n \\"NluServiceParamsJson\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceResponse>\\n <Status>Published</Status>\\n <ModifyTime>1683216000000</ModifyTime>\\n <Description>导航测试实例描述信息</Description>\\n <RequestId>790B5EA3-D251-1666-B1E0-4D1F4B33A592</RequestId>\\n <InstanceId>cd6fc91bc13445c2af7f2e3e31418520</InstanceId>\\n <Concurrency>10</Concurrency>\\n <ApplicableOperations>Edit</ApplicableOperations>\\n <ModifyUserName>2508711*******</ModifyUserName>\\n <Name>导航测试实例</Name>\\n <AbilityType>VOICE_ONLY</AbilityType>\\n</DescribeInstanceResponse>","errorExample":""}]', - 'title' => '查询实例信息', - 'summary' => '查询实例信息。', ], - 'DescribeStatisticalData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'QueryConversations' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4158,53 +3316,37 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], ], [ - 'name' => 'TimeUnit', + 'name' => 'CallingNumber', 'in' => 'query', - 'schema' => [ - 'description' => '日期单元', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Day/Hour', - ], + 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => false, 'example' => '02811111111'], ], [ 'name' => 'BeginTimeLeftRange', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间左区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582283640000', - ], + 'schema' => ['description' => '开始日期范围左区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582183381000'], ], [ 'name' => 'BeginTimeRightRange', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间右区间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582298040000', - ], + 'schema' => ['description' => '开始日期范围右区间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582356181000'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '当前页数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'maximum' => '100'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', 'maximum' => '200'], ], ], 'responses' => [ @@ -4212,252 +3354,126 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalDialoguePassRate' => [ - 'description' => '总多轮会话通过率', - 'type' => 'string', - 'example' => '80.00%', - ], - 'TotalKnowledgeHitRate' => [ - 'description' => '总知识库命中率', - 'type' => 'string', - 'example' => '80.00%', - ], - 'TotalResolutionRate' => [ - 'description' => '总解决率', - 'type' => 'string', - 'example' => '80.00%', - ], - 'TotalValidAnswerRate' => [ - 'description' => '总有效回答率', - 'type' => 'string', - 'example' => '80.00%', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'ResolvedQuestionTotalNum' => [ - 'description' => '解决问题总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], - 'ConversationTotalNum' => [ - 'description' => '总会话数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'StatisticalDataReports' => [ - 'description' => '时间维度统计数据数组', + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'PageNumber' => ['description' => '当前页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Conversations' => [ + 'description' => '会话列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'KnowledgeHitRate' => [ - 'description' => '知识库命中率', - 'type' => 'string', - 'example' => '80.00%', - ], - 'ResolvedQuestionNum' => [ - 'description' => '解决问题数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'ResolutionRate' => [ - 'description' => '解决率', - 'type' => 'string', - 'example' => '80.00%', - ], - 'StatisticalDate' => [ - 'description' => '统计日期', - 'type' => 'string', - 'example' => '19:00:00', - ], - 'TotalConversationNum' => [ - 'description' => '总会话数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'ValidAnswerRate' => [ - 'description' => '有效回答率', - 'type' => 'string', - 'example' => '80.0', - ], - 'DialoguePassRate' => [ - 'description' => '多轮会话通过率', - 'type' => 'string', - 'example' => '80.00%', - ], + 'EndTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582183481000'], + 'EffectiveAnswerCount' => ['description' => '有效回答数量', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'TransferredToAgent' => ['description' => '是否转人工', 'type' => 'boolean', 'example' => 'true'], + 'BeginTime' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1582183381000'], + 'SkillGroupId' => ['description' => '技能组', 'type' => 'string', 'example' => 'AAA'], + 'ConversationId' => ['description' => '会话ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'CallingNumber' => ['description' => '主叫号码', 'type' => 'string', 'example' => '02811111111'], + 'UserUtteranceCount' => ['description' => '用户回答数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is invalid.', 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], ], 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConversationTotalNum\\": 100,\\n \\"TotalDialoguePassRate\\": \\"80.00%\\",\\n \\"TotalKnowledgeHitRate\\": \\"80.00%\\",\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"TotalValidAnswerRate\\": \\"80.00%\\",\\n \\"ResolvedQuestionTotalNum\\": 80,\\n \\"TotalResolutionRate\\": \\"80.00%\\",\\n \\"StatisticalDataReports\\": [\\n {\\n \\"KnowledgeHitRate\\": \\"80.00%\\",\\n \\"ResolvedQuestionNum\\": 80,\\n \\"ResolutionRate\\": \\"80.00%\\",\\n \\"StatisticalDate\\": \\"19:00:00\\",\\n \\"TotalConversationNum\\": 100,\\n \\"ValidAnswerRate\\": \\"80.0\\",\\n \\"DialoguePassRate\\": \\"80.00%\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<ConversationTotalNum>100</ConversationTotalNum>\\n<ResolvedQuestionTotalNum>80</ResolvedQuestionTotalNum>\\n<TotalKnowledgeHitRate>80.00%</TotalKnowledgeHitRate>\\n<TotalValidAnswerRate>80.00%</TotalValidAnswerRate>\\n<StatisticalDataReports>\\n <ResolvedQuestionNum>80</ResolvedQuestionNum>\\n <KnowledgeHitRate>80.00%</KnowledgeHitRate>\\n <TotalConversationNum>100</TotalConversationNum>\\n <ValidAnswerRate>80.00%</ValidAnswerRate>\\n <ResolutionRate>80.00%</ResolutionRate>\\n <DialoguePassRate>80.00%</DialoguePassRate>\\n <StatisticalDate>19:00:00</StatisticalDate>\\n</StatisticalDataReports>\\n<TotalDialoguePassRate>80.00%</TotalDialoguePassRate>\\n<TotalResolutionRate>80.00%</TotalResolutionRate>","errorExample":""}]', - 'title' => '查看当前实例的统计数据', - 'summary' => '查看当前实例的统计数据。', + 'title' => '查询对话记录', + 'summary' => '查询对话记录。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListInstances' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-03T09:49:06.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:QueryConversations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"PageNumber\\": 1,\\n \\"Conversations\\": [\\n {\\n \\"EndTime\\": 1582183481000,\\n \\"EffectiveAnswerCount\\": 8,\\n \\"TransferredToAgent\\": true,\\n \\"BeginTime\\": 1582183381000,\\n \\"SkillGroupId\\": \\"AAA\\",\\n \\"ConversationId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"CallingNumber\\": \\"02811111111\\",\\n \\"UserUtteranceCount\\": 10\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>14C39896-AE6D-4643-9C9A-E0566B2C2DDD</RequestId>\\n<PageNumber>1</PageNumber>\\n<PageSize>10</PageSize>\\n<TotalCount>100</TotalCount>\\n<Conversations>\\n <CallingNumber>02811111111</CallingNumber>\\n <BeginTime>1582183381000</BeginTime>\\n <EndTime>1582183481000</EndTime>\\n <TransferredToAgent>true</TransferredToAgent>\\n <SkillGroupId>AAA</SkillGroupId>\\n <UserUtteranceCount>10</UserUtteranceCount>\\n <EffectiveAnswerCount>8</EffectiveAnswerCount>\\n <ConversationId>af81a389-91f0-4157-8d82-720edd02b66a</ConversationId>\\n</Conversations>","errorExample":""}]', + ], + 'SaveRecording' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], ], [ - 'name' => 'PageSize', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => '会话ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '390515b5-6115-4ccf-83e2-52d5bfaf2ddf'], ], [ - 'name' => 'NluServiceTypeListJsonString', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'nlu类型,对话能力来源筛选条件。不填则全选。'."\n" - ."\n" - .' * MANAGED:托管【已废弃】'."\n" - ."\n" - .' * AUTHORIZED:授权,公共云:智能对话机器人服务'."\n" - ."\n" - .' * PROVIDED:私有, 通过在运维控制台配置as、sk、以及chatEndpoint等。'."\n" - .'* CCC_AUTHORIZED:使用云联络中心授权的小蜜机器人'."\n" - ."\n" - .'* CCC_FUNCTION:使用阿里函数计算服务'."\n" - ."\n" - .'* SSE_FUNCTION:使用流式函数服务 ,支持SSE的函数计算,用于对接三方大模型对话机器人'."\n" - ."\n\n" - .'* PROMPTS:对接qwen基模等'."\n" - ."\n" - .'* LOCAL:专有云,本地基蜜', - 'type' => 'string', - 'required' => false, - 'example' => '["CCC_AUTHORIZED"]', - ], + 'schema' => ['description' => '录音开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1582267398628'], ], [ - 'name' => 'UnionSource', + 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'description' => '来源。'."\n" - .'* CCC :云联络中心', - 'type' => 'string', - 'required' => false, - 'example' => 'CCC', - ], + 'schema' => ['description' => '录音时长', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'UnionInstanceId', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID'."\n" - ."\n" - .'> 当UnionSource为CCC时,UnionInstanceId填入云联络中心的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'zhyl', - ], + 'schema' => ['description' => '文件名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e6bef0db439d4048bfcf45322491becf.wav'], ], [ - 'name' => 'Name', + 'name' => 'FilePath', 'in' => 'query', - 'schema' => [ - 'description' => '场景名称筛选条件', - 'type' => 'string', - 'required' => false, - 'example' => '测试', - ], + 'schema' => ['description' => '文件路径', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://test/record/'], ], [ - 'name' => 'Status', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '当前场景状态筛选条件,当为空时则默认为全选。'."\n" - .'* DISABLED:已下线'."\n" - .'* PUBLISHED:已发布', - 'type' => 'string', - 'required' => false, - 'example' => 'PUBLISHED', - ], + 'schema' => ['description' => '录音文件类型', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Source'], ], [ - 'name' => 'Number', + 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'description' => '呼入号码筛选条件', - 'type' => 'string', - 'required' => false, - 'example' => '021xxxxxxx', - ], + 'schema' => ['description' => '实例所属账号id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1971226538081821'], ], [ - 'name' => 'InstanceIdListJsonString', + 'name' => 'VoiceSliceRecordingList', 'in' => 'query', - 'schema' => [ - 'description' => '数字员工场景ID列表', - 'type' => 'string', - 'required' => false, - 'example' => '["e4bebxxxxxxxxxxx"] '."\n", - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ @@ -4465,218 +3481,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Instances' => [ - 'description' => '实例数组', - 'type' => 'array', - 'items' => [ - 'description' => '实例数组', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '实例状态', - 'type' => 'string', - 'example' => 'Published', - ], - 'ModifyUserName' => [ - 'description' => '操作人', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '测试的实例', - ], - 'ApplicableOperations' => [ - 'description' => '实例可操作列表', - 'type' => 'array', - 'items' => [ - 'description' => '实例可操作列表', - 'type' => 'string', - 'example' => 'Edit', - ], - ], - 'InstanceId' => [ - 'description' => '实例ID', - 'type' => 'string', - 'example' => 'dc437bba-5a25-4bbc-b4c2-f268864bebb5', - ], - 'Name' => [ - 'description' => '名字', - 'type' => 'string', - 'example' => '测试实例', - ], - 'Concurrency' => [ - 'description' => '并发数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582266750353', - ], - 'Numbers' => [ - 'description' => '呼入号码列表', - 'type' => 'array', - 'items' => [ - 'description' => '呼入号码', - 'type' => 'string', - 'example' => '021xxxxxxxx '."\n" - ."\n\n", - ], - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1658202465000', - ], - 'UnionSource' => [ - 'description' => '来源。'."\n" - ."\n" - .'- CCC :云联络中心', - 'type' => 'string', - 'example' => 'CCC', - ], - 'UnionInstanceId' => [ - 'description' => '实例ID'."\n" - ."\n\n" - .'> 当UnionSource为CCC时,UnionInstanceId填入云联络中心的实例ID。', - 'type' => 'string', - 'example' => 'zhyl ', - ], - 'NluServiceParamsJson' => [ - 'description' => '大模型服务参数JSON', - 'type' => 'string', - 'example' => '{"agentId":"1213503","isCCCAgent":"true","agentKey":"107e04a7519243eb83c9b549ea3b6829_p_ccc_public"} ', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '个数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'A8AED3C8-F57B-5D71-9A34-4A170287533F', - ], - 'PageNumber' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is invalid.', - ], + 404 => [ + ['errorCode' => 'InvalidConversationId.NotFound', 'errorMessage' => 'The specified ConversationId does not exist in our record.', 'description' => '指定的会话ID不存在。'], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Instances\\": [\\n {\\n \\"Status\\": \\"Published\\",\\n \\"ModifyUserName\\": \\"xxx\\",\\n \\"Description\\": \\"测试的实例\\",\\n \\"ApplicableOperations\\": [\\n \\"Edit\\"\\n ],\\n \\"InstanceId\\": \\"dc437bba-5a25-4bbc-b4c2-f268864bebb5\\",\\n \\"Name\\": \\"测试实例\\",\\n \\"Concurrency\\": 10,\\n \\"ModifyTime\\": 1582266750353,\\n \\"Numbers\\": [\\n \\"021xxxxxxxx\\\\t\\\\n\\\\n\\\\n\\"\\n ],\\n \\"CreateTime\\": 1658202465000,\\n \\"UnionSource\\": \\"CCC\\",\\n \\"UnionInstanceId\\": \\"zhyl\\\\t\\",\\n \\"NluServiceParamsJson\\": \\"{\\\\\\"agentId\\\\\\":\\\\\\"1213503\\\\\\",\\\\\\"isCCCAgent\\\\\\":\\\\\\"true\\\\\\",\\\\\\"agentKey\\\\\\":\\\\\\"107e04a7519243eb83c9b549ea3b6829_p_ccc_public\\\\\\"}\\\\t\\"\\n }\\n ],\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"A8AED3C8-F57B-5D71-9A34-4A170287533F\\",\\n \\"PageNumber\\": 2\\n}","type":"json"}]', - 'title' => '分页获取当前租户下智能导航实例列表', - 'summary' => '分页获取当前租户下智能导航实例列表。', - ], - 'ListChatbotInstances' => [ - 'methods' => [ - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>","errorExample":""}]', + 'title' => '保存录音', + 'summary' => '保存录音。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-08-09T13:03:55.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:SaveRecording', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'SilenceTimeout' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0'], ], [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'ConversationId', 'in' => 'query', - 'schema' => [ - 'description' => '个数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '会话ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0'], ], [ - 'name' => 'UnionSource', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NluServiceType', + 'name' => 'InitialContext', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '会话信息上下文', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ - 'name' => 'NluServiceParamsJson', + 'name' => 'InstanceOwnerId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '实例所有者id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1231639035307976'], ], ], 'responses' => [ @@ -4684,732 +3560,808 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总计个数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Bots' => [ - 'description' => '实例信息列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Introduction' => [ - 'type' => 'string', - 'example' => '‘’', - ], - 'Avatar' => [ - 'description' => '机器实例图标', - 'type' => 'string', - 'example' => 'https://dss0.ali.com/70cFuHS.jpg', - ], - 'TimeZone' => [ - 'description' => '时区', - 'type' => 'string', - 'example' => 'UTC+8', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '1582266750353', - ], - 'LanguageCode' => [ - 'description' => '语言代码', - 'type' => 'string', - 'example' => 'zh-cn', - ], - 'InstanceId' => [ - 'description' => '实例id', - 'type' => 'string', - 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '测试机器人', - ], - ], - ], - ], - 'PageSize' => [ - 'description' => '个数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - ], - 'PageNumber' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Action' => ['description' => '动作', 'type' => 'string', 'example' => 'TransferToAgent'], + 'Interruptible' => ['description' => '是否打断', 'type' => 'boolean', 'example' => 'false'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], + 'ActionParams' => ['description' => '动作参数', 'type' => 'string', 'example' => '{ "skillGroupId": "ABC"}'], + 'TextResponse' => ['description' => '文本信息', 'type' => 'string', 'example' => '正在为你转接人工坐席'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"Bots\\": [\\n {\\n \\"Introduction\\": \\"‘’\\",\\n \\"Avatar\\": \\"https://dss0.ali.com/70cFuHS.jpg\\",\\n \\"TimeZone\\": \\"UTC+8\\",\\n \\"CreateTime\\": \\"1582266750353\\",\\n \\"LanguageCode\\": \\"zh-cn\\",\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"Name\\": \\"测试机器人\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"da37319b-6c83-4268-9f19-814aed62e401\\",\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RequestId>da37319b-6c83-4268-9f19-814aed62e401</RequestId>\\n<Bots>\\n <Avatar>alibaba.com/skjdnvkdsvdk.jpg</Avatar>\\n <CreateTime>1582270782552</CreateTime>\\n <Introduction/>\\n <LanguageCode>zh-cn</LanguageCode>\\n <Name>测试</Name>\\n <TimeZone>UTC+8</TimeZone>\\n</Bots>","errorExample":""}]', - 'title' => 'ListChatbotInstances', - 'summary' => '查询实例列表。', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'InvalidConversationId.NotFound', 'errorMessage' => 'The specified ConversationId does not exist in our record.', 'description' => '指定的会话ID不存在。'], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => '指定的实例ID不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Action\\": \\"TransferToAgent\\",\\n \\"Interruptible\\": false,\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"ActionParams\\": \\"{ \\\\\\"skillGroupId\\\\\\": \\\\\\"ABC\\\\\\"}\\",\\n \\"TextResponse\\": \\"正在为你转接人工坐席\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>254EB995-DEDF-48A4-9101-9CA5B72FFBCC</RequestId>\\n<TextResponse>正在为你转接人工坐席</TextResponse>\\n<ActionParams>{ \\"skillGroupId\\": \\"ABC\\"}</ActionParams>\\n<Interruptible>false</Interruptible>\\n<Action>TransferToAgent</Action>","errorExample":""}]', + 'title' => '静默超时', + 'summary' => '静默超时。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:SilenceTimeout', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], - 'CreateDownloadUrl' => [ - 'summary' => 'CreateDownloadUrl', - 'methods' => [ - 'get', + ], + 'endpoints' => [ + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'voicenavigator.cn-hangzhou.aliyuncs.com', 'endpoint' => 'voicenavigator.cn-hangzhou.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'voicenavigator.cn-shanghai.aliyuncs.com', 'endpoint' => 'voicenavigator.cn-shanghai.aliyuncs.com', 'vpc' => 'voicenavigator-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'InternalError', 'message' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'http_code' => 500, 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ['code' => 'InvalidCategoryId.NotFound', 'message' => 'The specified CategoryId does not exist in our records.', 'http_code' => 404, 'description' => '指定的类目ID不存在。'], + ['code' => 'InvalidCategoryName.Duplicated', 'message' => 'The specified CategoryName already exists.', 'http_code' => 400, 'description' => '类目名称已经存在。请您更换一个名字。'], + ['code' => 'InvalidConcurrency.LimitExceeded', 'message' => 'The specified Concurrency exceeds the upper limit.', 'http_code' => 400, 'description' => '并发数已经超限,请重新设置。'], + ['code' => 'InvalidConversationId.NotFound', 'message' => 'The specified ConversationId does not exist in our record.', 'http_code' => 404, 'description' => '指定的会话ID不存在。'], + ['code' => 'InvalidInstanceId.NotFound', 'message' => 'The specified InstanceId does not exist.', 'http_code' => 404, 'description' => '指定的实例ID不存在。'], + ['code' => 'InvalidInstanceName.Duplicated', 'message' => 'The specified InstanceName already exists.', 'http_code' => 400, 'description' => '实例名称已经存在。请您更换一个名字。'], + ['code' => 'InvalidNavigationScriptId.NotFound', 'message' => 'The specified NavigationScriptId does not exist in our records.', 'http_code' => 404, 'description' => '指定的话术ID不存在'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter %s is invalid.', 'http_code' => 400, 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], + ['code' => 'MissingParameter', 'message' => 'You must specify parameter %s.', 'http_code' => 400, 'description' => '必填参数没有填。请检查调用时是否填写了此参数,并重试请求。'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyTTSConfig'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2025-12-18T02:04:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetAsrConfig'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ModifyAsrConfig'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2025-12-11T11:27:37.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeTTSConfig'], + ['description' => '请求参数发生变更', 'api' => 'ModifyTTSConfig'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', + 'createdAt' => '2024-07-22T12:36:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListConversations'], ], - 'parameters' => [ - [ - 'name' => 'DownloadTaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '任务id', - 'type' => 'string', - 'required' => true, - 'example' => '073f092da0a847b9bf76eb88b5931c7a', + 'createdAt' => '2024-07-11T07:01:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'QueryConversations'], + ], + 'createdAt' => '2024-07-03T09:49:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListConversations'], + ], + 'createdAt' => '2024-04-22T07:30:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuditTTSVoice'], + ['description' => '响应参数发生变更', 'api' => 'DescribeTTSConfig'], + ['description' => '请求参数发生变更', 'api' => 'ModifyTTSConfig'], + ], + 'createdAt' => '2024-02-04T14:18:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateChatbotInstance'], + ], + 'createdAt' => '2023-12-27T03:10:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateChatbotInstance'], + ['description' => '请求参数发生变更', 'api' => 'CreateInstance'], + ['description' => '响应参数发生变更', 'api' => 'DescribeInstance'], + ['description' => '请求参数发生变更', 'api' => 'ListChatbotInstances'], + ['description' => '请求参数发生变更、响应参数发生变更、响应参数发生变更', 'api' => 'ListInstances'], + ], + 'createdAt' => '2023-09-19T12:51:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInstance'], + ], + 'createdAt' => '2023-04-25T14:46:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ModifyAsrConfig'], + ], + 'createdAt' => '2022-11-22T13:17:05.000Z', + 'description' => '修复getVocabularyIdList异常处理代码问题', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListChatbotInstances'], + ], + 'createdAt' => '2022-09-21T15:47:28.000Z', + 'description' => '灰度', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyInstance'], + ], + 'createdAt' => '2022-09-20T13:57:34.000Z', + 'description' => '修改name发布', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ExportConversationDetails'], + ['description' => '请求参数发生变更', 'api' => 'ListConversations'], + ], + 'createdAt' => '2022-09-20T13:56:55.000Z', + 'description' => '导航新增通话轮次筛选', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeTTSConfig'], + ['description' => '请求参数发生变更', 'api' => 'ModifyTTSConfig'], + ], + 'createdAt' => '2022-09-20T13:55:29.000Z', + 'description' => '支持STS调用语音服务', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'Dialogue'], + ], + 'createdAt' => '2022-09-20T13:54:30.000Z', + 'description' => '情绪识别产品化', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'GetRealTimeConcurrency'], + ], + 'createdAt' => '2022-08-29T12:28:50.000Z', + 'description' => '导航新增实时并发查询接口', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeRecording'], + ['description' => '请求参数发生变更', 'api' => 'SaveRecording'], + ], + 'createdAt' => '2022-08-09T13:05:20.000Z', + 'description' => '支持分段录音试听', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListConversations'], + ], + 'createdAt' => '2022-06-21T12:24:50.000Z', + 'description' => '返回值增加被叫号码 CalledNumber', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuditTTSVoice'], + ], + 'createdAt' => '2022-06-21T12:21:02.000Z', + 'description' => '语调参数改为非必填', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'GetAsrConfig'], + ['description' => '请求参数发生变更', 'api' => 'ListInstances'], + ['description' => 'OpenAPI 下线', 'api' => 'ModifyAsrConfig'], + ], + 'createdAt' => '2022-04-20T06:15:02.000Z', + 'description' => '导航标注中心发布', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'GenerateUploadUrl'], + ], + 'createdAt' => '2022-04-11T03:36:18.000Z', + 'description' => '标注中心', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'BatchCreateSandBoxWhileList'], + ['description' => 'OpenAPI 下线', 'api' => 'DeleteSandBoxWhileList'], + ['description' => 'OpenAPI 下线', 'api' => 'DisableSandBoxWhileList'], + ['description' => 'OpenAPI 下线', 'api' => 'EnableSandBoxWhileList'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListConversations'], + ['description' => 'OpenAPI 下线', 'api' => 'ListSandBoxWhileList'], + ['description' => 'OpenAPI 下线', 'api' => 'ModifySandBoxWhileList'], + ], + 'createdAt' => '2022-03-01T16:09:18.000Z', + 'description' => 'ABTest', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'EndDialogue'], + ], + 'createdAt' => '2021-12-22T14:10:36.000Z', + 'description' => 'ivr调导航挂断时完成播放字段', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListConversations'], + ], + 'createdAt' => '2021-12-22T12:30:51.000Z', + 'description' => '届远导航9月迭代会话列表查看--新增挂断时完成播放字段', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'GetInstanceConfig'], + ['description' => 'OpenAPI 下线', 'api' => 'GetNewBargeInSwitch'], + ['description' => 'OpenAPI 下线', 'api' => 'UpdateNewBargeInSwitch'], + ], + 'createdAt' => '2021-12-22T12:30:13.000Z', + 'description' => '智能打断产品化发布', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreateDownloadUrl'], + ['description' => 'OpenAPI 下线', 'api' => 'ListDownloadTasks'], + ], + 'createdAt' => '2021-11-24T13:02:45.000Z', + 'description' => '发布了任务中心相关的API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeAsrVadConfig'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeVoiceConfig'], + ['description' => 'OpenAPI 下线', 'api' => 'ModifyAsrVadConfig'], + ], + 'createdAt' => '2021-11-04T09:11:03.000Z', + 'description' => '增加VAD噪音阈值调节配置', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ], + ], + 'ram' => [ + 'productCode' => 'VoiceNavigator', + 'productName' => '智能语音导航', + 'ramCodes' => ['voicebot'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'DescribeInstance', + 'description' => ' DescribeInstance', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'FileId', - 'in' => 'query', - 'schema' => [ - 'description' => '文件的ID,您可以使用[ListFiles](~~173942~~)接口查询对应文件的ID。'."\n" - ."\n", - 'type' => 'string', - 'required' => true, - 'example' => '22626c39603744f5a08d4d715315561a', + ], + [ + 'apiName' => 'ListChatbotInstances', + 'description' => 'ListChatbotInstances', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListChatbotInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'FileHttpUrl' => [ - 'description' => '文件url', - 'type' => 'string', - 'example' => 'http://ssml-test.oss-cn-shanghai.aliyuncs.com/key', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '信息。', - 'type' => 'string', - 'example' => 'get upload tool url success', - ], - ], + [ + 'apiName' => 'DisableInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:DisableInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"FileHttpUrl\\": \\"http://ssml-test.oss-cn-shanghai.aliyuncs.com/key\\",\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"get upload tool url success\\"\\n}","type":"json"}]', - 'title' => '创建下载文件url', - ], - 'ListDownloadTasks' => [ - 'summary' => '下载列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'SaveRecording', + 'description' => '保存录音', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:SaveRecording', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'ListDownloadTasks', + 'description' => '查看下载任务列表', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', + 'ramAction' => [ + 'action' => 'voicebot:ListDownloadTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '1', + [ + 'apiName' => 'DescribeStatisticalData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeStatisticalData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '5', + ], + [ + 'apiName' => 'BeginDialogue', + 'description' => '开启会话', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:StartConversation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'successful', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'D24E0148-6D40-550E-9471-B2C5A34C3D12', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'True', - ], - 'DownloadTasks' => [ - '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' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Expired', - ], - 'Title' => [ - 'description' => '标题', - 'type' => 'string', - 'example' => '批量高阶内存整理_2022_02_17_10', - ], - 'ExpireTime' => [ - 'description' => '过期时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637119221702', - ], - 'TaskId' => [ - 'description' => '任务id', - 'type' => 'string', - 'example' => 'cb9aba69-f578-42b2-aa2f-3e5a41947db8', - ], - 'DownloadTaskFiles' => [ - 'description' => '下载任务文件列表', - 'type' => 'array', - 'items' => [ - 'description' => '下载任务文件列表', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'Published', - ], - 'Title' => [ - 'description' => '标题', - 'type' => 'string', - 'example' => 'CBU阿里通信反馈-声音延迟', - ], - 'Progress' => [ - 'description' => '下载任务完成进度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70', - ], - 'FileId' => [ - 'description' => '文件id', - 'type' => 'string', - 'example' => 'c32bf5675b704dc5b19200a89d2e85f1', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'Dialogue', + 'description' => '对话接口', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:Dialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"D24E0148-6D40-550E-9471-B2C5A34C3D12\\",\\n \\"Success\\": true,\\n \\"DownloadTasks\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"Expired\\",\\n \\"Title\\": \\"批量高阶内存整理_2022_02_17_10\\",\\n \\"ExpireTime\\": 1637119221702,\\n \\"TaskId\\": \\"cb9aba69-f578-42b2-aa2f-3e5a41947db8\\",\\n \\"DownloadTaskFiles\\": [\\n {\\n \\"Status\\": \\"Published\\",\\n \\"Title\\": \\"CBU阿里通信反馈-声音延迟\\",\\n \\"Progress\\": 70,\\n \\"FileId\\": \\"c32bf5675b704dc5b19200a89d2e85f1\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '查看下载任务列表', - ], - 'ModifyAsrConfig' => [ - 'summary' => '修改ASR配置', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ListConversationDetails', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ListConversationDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ModifyTTSConfig', + 'description' => '修改 TTS 配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyTTSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeRecording', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeRecording', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DebugCollectedNumber', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:CollectedNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyGreetingConfig', + 'description' => '', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', + 'ramAction' => [ + 'action' => 'voicebot:ModifyGreetingConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'EntryId', - 'in' => 'query', - 'schema' => [ - 'title' => 'config_level对应的实体ID', - 'description' => 'config_level对应的实体ID', - 'type' => 'string', - 'required' => false, - 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22', + [ + 'apiName' => 'DebugBeginDialogue', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:DebugBeginDialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ConfigLevel', - 'in' => 'query', - 'schema' => [ - 'title' => '策略级别,包含 0:系统,1:租户,2:实例', - 'description' => '策略级别,包含 0:系统,1:租户,2:实例', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - 'default' => '0', + ], + [ + 'apiName' => 'CreateDownloadUrl', + 'description' => '创建下载文件url', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateDownloadUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AsrVocabularyId', - 'in' => 'query', - 'schema' => [ - 'description' => '热词ID。请在[ASR热词管理页面](https://aiccs.console.aliyun.com/sentence/vocab?spm=a2c4g.11186623.0.0.7f9bf965IKBpsi)查看ASR热词ID。', - 'type' => 'string', - 'required' => false, - 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22', + ], + [ + 'apiName' => 'DescribeExportProgress', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeExport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AsrCustomizationId', - 'in' => 'query', - 'schema' => [ - 'description' => '数据集id', - 'type' => 'string', - 'required' => false, - 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22', + ], + [ + 'apiName' => 'QueryConversations', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:QueryConversations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AsrAcousticModelId', - 'in' => 'query', - 'schema' => [ - 'description' => 'asr声学id', - 'type' => 'string', - 'required' => false, - 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22', + ], + [ + 'apiName' => 'AuditTTSVoice', + 'description' => '试听 TTS 声音', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:AuditionTTSVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AsrClassVocabularyId', - 'in' => 'query', - 'schema' => [ - 'description' => 'asr热词id', - 'type' => 'string', - 'required' => false, - 'example' => '6cc9f5ca-2cb6-4cc7-a46b-2bbfd3e61b22', + ], + [ + 'apiName' => 'ExportStatisticalData', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:ExportStatisticalData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Engine', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + ], + [ + 'apiName' => 'DeleteInstance', + 'description' => 'DeleteInstance', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NlsServiceType', - 'in' => 'query', - 'schema' => [ - 'title' => 'NluServiceType', - 'description' => 'NluServiceType', - 'type' => 'string', - 'required' => false, - 'example' => '语音识别', + ], + [ + 'apiName' => 'AssociateChatbotInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:AssociateChatbotInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AppKey', - 'in' => 'query', - 'schema' => [ - 'title' => '引擎的AppKey', - 'description' => '引擎的AppKey', - 'type' => 'string', - 'required' => false, - 'example' => 'your_app_key', + ], + [ + 'apiName' => 'CreateInstance', + 'description' => '创建智能导航实例', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<ModifyAsrConfigResponse>', - 'description' => 'RpcResponse<ModifyAsrConfigResponse>', - 'type' => 'object', - 'properties' => [ - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Data' => [ - 'title' => '影响的行数', - 'description' => '修改结果', - 'type' => 'object', - 'properties' => [ - 'AffectedRows' => [ - 'description' => '是否影响行数', - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'da37319b-6c83-4268-9f19-814aed62e401', - ], - 'HttpStatusCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - 'ErrorMsg' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'Not Found', - ], - ], + [ + 'apiName' => 'ExportConversationDetails', + 'description' => '导出会话详情', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:ExportConversation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', + [ + 'apiName' => 'ModifyAsrConfig', + 'description' => '修改asr配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyAsrConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"AffectedRows\\": 0\\n },\\n \\"RequestId\\": \\"da37319b-6c83-4268-9f19-814aed62e401\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"ErrorMsg\\": \\"Not Found\\"\\n}","type":"json"}]', - 'title' => '修改asr配置', - ], - 'GetAsrConfig' => [ - 'summary' => '获取ASR配置', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ListInstances', + 'description' => '分页获取当前租户下智能导航实例列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetAsrConfig', + 'description' => '查询asr配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetAsrConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'EnableInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:EnableInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DebugDialogue', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:DebugDialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListConversations', + 'description' => '查询会话列表', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', + 'ramAction' => [ + 'action' => 'voicebot:ListConversations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'EntryId', - 'in' => 'query', - 'schema' => [ - 'title' => 'config_level对应的实体ID', - 'description' => 'config_level对应的实体ID', - 'type' => 'string', - 'required' => false, - 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8', + [ + 'apiName' => 'ModifySilenceTimeoutConfig', + 'description' => '修改静默超时配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifySilenceTimeoutConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ConfigLevel', - 'in' => 'query', - 'schema' => [ - 'title' => '策略级别,包含 0:系统,1:租户,2:实例', - 'description' => '策略级别,包含 0:系统,1:租户,2:实例', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '0', + ], + [ + 'apiName' => 'DescribeTTSConfig', + 'description' => '查询 TTS 配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeTTSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<GetAsrConfigResponse>', - 'description' => 'RpcResponse<GetAsrConfigResponse>', - 'type' => 'object', - 'properties' => [ - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Data' => [ - 'description' => '返回数据', - 'type' => 'object', - 'properties' => [ - 'AsrVocabularyId' => [ - 'description' => '热词ID。请在[ASR热词管理页面](https://aiccs.console.aliyun.com/sentence/vocab?spm=a2c4g.11186623.0.0.7f9bf965IKBpsi)查看ASR热词ID。', - 'type' => 'string', - 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8', - ], - 'AsrCustomizationId' => [ - 'description' => 'asr数据集id', - 'type' => 'string', - 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8', - ], - 'AsrAcousticModelId' => [ - 'description' => 'asracoustic模型id', - 'type' => 'string', - 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8', - ], - 'AsrClassVocabularyId' => [ - 'description' => 'asr热词id', - 'type' => 'string', - 'example' => '3b1d3031-8b6e-460a-8640-d330f2ca50b8', - ], - 'Engine' => [ - 'title' => '语音引擎', - 'description' => '语音引擎', - 'type' => 'string', - 'example' => 'ali', - ], - 'EngineXufei' => [ - 'title' => '讯飞引擎参数', - 'description' => '讯飞引擎参数', - 'type' => 'string', - 'example' => 'EngineXufei', - ], - 'NlsServiceType' => [ - 'title' => 'NluServiceType', - 'description' => 'NluServiceType', - 'type' => 'string', - 'example' => 'Authorized', - ], - 'AppKey' => [ - 'title' => '引擎', - 'description' => '引擎', - 'type' => 'string', - 'example' => 'your-app-key', - ], - ], - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD', - ], - 'HttpStatusCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - 'ErrorMsg' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'Not Found', - ], - ], + [ + 'apiName' => 'ModifyUnrecognizingConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyUnrecognizingConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"AsrVocabularyId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"AsrCustomizationId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"AsrAcousticModelId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"AsrClassVocabularyId\\": \\"3b1d3031-8b6e-460a-8640-d330f2ca50b8\\",\\n \\"Engine\\": \\"ali\\",\\n \\"EngineXufei\\": \\"EngineXufei\\",\\n \\"NlsServiceType\\": \\"Authorized\\",\\n \\"AppKey\\": \\"your-app-key\\"\\n },\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"ErrorMsg\\": \\"Not Found\\"\\n}","type":"json"}]', - 'title' => '查询asr配置', - ], - 'GetRealTimeConcurrency' => [ - 'summary' => '获取实例的实时并发数', - 'methods' => [ - 'get', + [ + 'apiName' => 'GetRealTimeConcurrency', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetRealTimeConcurrency', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ModifyInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'EndDialogue', + 'description' => '结束对话', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:EndDialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeNavigationConfig', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', + 'ramAction' => [ + 'action' => 'voicebot:DescribeNavigationConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'c112c168ed664c0a851f9ca72d2f7999', + [ + 'apiName' => 'CollectedNumber', + 'description' => '收号', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:CollectedNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E6E61E1A-D2DC-5ACF-AED4-A115B6691F98', - ], - 'Timestamp' => [ - 'description' => '查询时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1661584255029', - ], - 'RealTimeConcurrency' => [ - 'description' => '实时并发数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxConcurrency' => [ - 'description' => '最大并发数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - ], + [ + 'apiName' => 'SilenceTimeout', + 'description' => '静默超时', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:SilenceTimeout', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeConversation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:DescribeConversation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E6E61E1A-D2DC-5ACF-AED4-A115B6691F98\\",\\n \\"Timestamp\\": 1661584255029,\\n \\"RealTimeConcurrency\\": 1,\\n \\"MaxConcurrency\\": 2\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'voicenavigator.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'voicenavigator.cn-shanghai.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; diff --git a/data/zh_cn/voicenavigator/2025-11-11/api-docs.php b/data/zh_cn/voicenavigator/2025-11-11/api-docs.php new file mode 100644 index 0000000..dbcaa36 --- /dev/null +++ b/data/zh_cn/voicenavigator/2025-11-11/api-docs.php @@ -0,0 +1,7031 @@ +<?php return [ + 'version' => '1.0', + 'info' => ['style' => 'RPC', 'product' => 'VoiceNavigator', 'version' => '2025-11-11'], + 'directories' => [ + 'DeleteVariable', + 'ExportScript', + 'DeleteCloneVoice', + 'PreviewVoice', + 'UpdateCloneVoice', + 'DeleteVoiceAccessProfile', + 'CreateScript', + 'ExportVocabulary', + 'UpdateSubscription', + 'GetVocabulary', + 'ListNluModels', + 'CreateVariable', + 'ListVariable', + 'ListVocabulary', + 'CreateVoiceAccessProfile', + 'ListVoices', + 'ListVoiceEngines', + 'DeleteVocabulary', + 'DeleteScript', + 'UpdateVoiceAccessProfile', + 'ListScripts', + 'ListScriptProfileTemplates', + 'UpdateScript', + 'GetSubscription', + 'ImportVocabulary', + 'ListCloneVoice', + 'DisableSubscription', + 'UpdateVocabulary', + 'ListBackgroundMusics', + 'CreateCloneVoice', + 'ListCloneVoiceModels', + 'ListVoiceAccessProfile', + 'PublishScript', + 'CreateVocabulary', + 'UpdateVariable', + 'GetScript', + 'CreateScriptVersion', + 'CreateLlmAccessProfile', + 'ListLlmAccessProfiles', + 'UpdateLlmAccessProfile', + 'DeleteLlmAccessProfile', + 'UpdateCallCenterProvider', + [ + 'children' => ['ListRealtimeInstanceStats', 'GetScriptTrendingReport', 'GetInstanceTrendingReport', 'GetRealtimeScriptStats', 'GetRealtimeInstanceStats', 'ListHistoricalScriptReport', 'ListHistoricalInstanceReport', 'ListCallDetailRecords', 'GetCallDetailRecord', 'GetRecording'], + 'type' => 'directory', + 'title' => '报表', + 'id' => 451954, + ], + [ + 'children' => ['GenerateFileUploadParams', 'DeleteInstruction', 'CreateCallCenterProvider', 'EndSession', 'UpdateInstruction', 'ListCallCenterProviders', 'DeleteCallCenterProvider', 'CreateInstruction', 'ListInstructions', 'BridgeWebCall', 'Dialogue', 'GetDataChannelCredential', 'BeginSession'], + 'type' => 'directory', + 'title' => '其他', + 'id' => 451955, + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'BeginSession' => [ + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['title' => '实例ID', 'description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => ['title' => '场景ID', 'description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0a88e269-01f5-49ac-97af-5830f0ccb271'], + ], + [ + 'name' => 'DraftVersion', + 'in' => 'query', + 'schema' => ['title' => '是否草稿版本', 'description' => '是否草稿版本', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false'], + ], + [ + 'name' => 'VendorParams', + 'in' => 'query', + 'schema' => ['title' => '随路参数,json格式: {"key1":"value1"}', 'description' => '随路参数'."\n" + .'>json格式: {"key1":"value1"}', 'type' => 'string', 'required' => false, 'example' => '{"key1":"value1"}'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'POP的请求ID', 'description' => 'POP的请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['title' => 'HTTP状态码,200表示HTTP返回成功', 'description' => 'HTTP状态码,200表示HTTP返回成功', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['title' => 'HTTP返回消息', 'description' => 'HTTP返回消息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['title' => '业务状态码,OK表示返回成功', 'description' => '业务状态码,OK表示返回成功', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'title' => '业务数据', + 'description' => '业务数据', + 'type' => 'object', + 'properties' => [ + 'Answer' => ['title' => '机器人回复内容', 'description' => '机器人回复内容', 'type' => 'string', 'example' => '您好,欢迎致电申通快递,请问您有什么问题吗?'], + 'StreamEnd' => ['title' => '流式返回是否结束', 'description' => '流式返回是否结束', 'type' => 'boolean', 'example' => 'true'], + 'SessionId' => ['title' => '对话ID', 'description' => '对话ID', 'type' => 'string', 'example' => '07d72ea0-6e38-48d4-8371-14deaaba996f'], + 'StreamId' => ['title' => '对话的轮次ID', 'description' => '对话的轮次ID', 'type' => 'string', 'example' => '1'], + 'StartTime' => ['title' => '更新时间', 'description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1774858849987'], + 'EndTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1752283603978'], + 'ControlParamsList' => [ + 'description' => '控制参数列表', + 'type' => 'array', + 'items' => [ + 'description' => '控制参数', + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '控制参数类型,枚举值:'."\n" + .'HangUp: 挂断'."\n" + .'Transfer:转接'."\n" + .'GatherDtmf: 获取按键'."\n" + .'Voice:语音', 'description' => '控制参数类型'."\n" + .'>- HangUp: 挂断'."\n" + .'>- Transfer:转接'."\n" + .'>- GatherDtmf: 获取按键'."\n" + .'>- Voice:语音', 'type' => 'string', 'example' => 'Voice'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '开启会话', + 'summary' => '开启会话', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Answer\\": \\"您好,欢迎致电申通快递,请问您有什么问题吗?\\",\\n \\"StreamEnd\\": true,\\n \\"SessionId\\": \\"07d72ea0-6e38-48d4-8371-14deaaba996f\\",\\n \\"StreamId\\": \\"1\\",\\n \\"StartTime\\": 1774858849987,\\n \\"EndTime\\": 1752283603978,\\n \\"ControlParamsList\\": [\\n {\\n \\"Type\\": \\"Voice\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'BridgeWebCall' => [ + 'summary' => '发起Web呼叫。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => ['description' => '场景 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0a88e269-01f5-49ac-97af-5830f0ccb271'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd4c38420-****-43bc-b001-56bfc274****'], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => ['description' => '主叫号码。', 'type' => 'string', 'required' => false, 'example' => '010123*****'], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => ['description' => '超时时间'."\n" + ."\n" + .'> '."\n" + .'> - 呼叫在经过该参数指定的时间仍然未接通的情况下,则主动挂断,单位秒, 默认60秒', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => ['description' => '随路数据', 'type' => 'string', 'required' => false, 'example' => '{"key":"value"}'], + ], + [ + 'name' => 'SampleRate', + 'in' => 'query', + 'schema' => ['description' => '采样率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8000'], + ], + [ + 'name' => 'DraftVersion', + 'in' => 'query', + 'schema' => ['description' => '是否为测试环境'."\n" + .'>默认为false', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'AccessChannelType', + 'in' => 'query', + 'schema' => ['description' => '渠道类型。'."\n" + ."\n" + .'> - Text: 文本测试窗'."\n" + .'> - Test: 测试窗'."\n" + .'> - Trial:体验链接', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Text'], + ], + [ + 'name' => 'AccessChannelId', + 'in' => 'query', + 'schema' => ['description' => '渠道ID'."\n" + .'> 仅accessChannelType=Web/Trial有效', 'type' => 'string', 'required' => false, 'example' => '33606503-c22c-4547-a51c-dda5e8d87962'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '通话记录。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + 'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => 'f814f3ae-b2a7-44fb-883c-771221274673'], + 'ChannelId' => ['description' => '通道ID。', 'type' => 'string', 'example' => '1515602866088888___5ec8446df1e2495a97969e887ab9e748'], + 'ExpirationTime' => ['description' => 'token过期时间', 'type' => 'string', 'example' => '1774794266093'], + 'ServerUrl' => ['description' => '服务地址', 'type' => 'string', 'example' => 'wss://hz-voicebot.aliyuncs.com:**/audio'], + 'Token' => ['description' => 'token', 'type' => 'string', 'example' => '57aa3e9b11d2fa5736787cacf0408c1a'], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '发起Web呼叫', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:BridgeWebCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"InstanceId\\": \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\",\\n \\"SessionId\\": \\"f814f3ae-b2a7-44fb-883c-771221274673\\",\\n \\"ChannelId\\": \\"1515602866088888___5ec8446df1e2495a97969e887ab9e748\\",\\n \\"ExpirationTime\\": \\"1774794266093\\",\\n \\"ServerUrl\\": \\"wss://hz-voicebot.aliyuncs.com:**/audio\\",\\n \\"Token\\": \\"57aa3e9b11d2fa5736787cacf0408c1a\\"\\n },\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateCallCenterProvider' => [ + 'summary' => '系统管理-人工服务提供商管理-新增。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ProviderType', + 'in' => 'formData', + 'schema' => [ + 'description' => '提供商类型'."\n" + .'> '."\n" + .'> - CCC:云联络中心'."\n" + .'>- CUSTOM:客户自有联络中心', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['CCC' => '云联络中心', 'CUSTOM' => '客户自有联络中心'], + 'example' => 'CCC', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '服务提供商名称。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '云联络中心内部服务提供商'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => ['description' => '服务提供商显示名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '云联络中心内部服务提供商'], + ], + [ + 'name' => 'ReferTo', + 'in' => 'formData', + 'schema' => ['description' => 'Refer 地址><notice>当转接方式为Refer时需要配置Refer地址。></notice>', 'type' => 'string', 'required' => false, 'example' => '-'], + ], + [ + 'name' => 'TrunkId', + 'in' => 'formData', + 'schema' => ['description' => '线路ID'."\n" + ."\n" + .'><notice>当转接方式为Bridge时需要配置目标TrunkId信息。></notice>', 'type' => 'string', 'required' => false, 'example' => 'trunk-xxx'], + ], + [ + 'name' => 'Originator', + 'in' => 'formData', + 'schema' => ['description' => '当转接方式为Bridge时需要配置转接时的主叫号码。', 'type' => 'string', 'required' => false, 'example' => '010****'], + ], + [ + 'name' => 'Destination', + 'in' => 'formData', + 'schema' => ['description' => '当转接方式为Bridge时需要配置转接时的被叫号码。', 'type' => 'string', 'required' => false, 'example' => '153*********'], + ], + [ + 'name' => 'Extras', + 'in' => 'formData', + 'schema' => ['description' => '随路数据'."\n" + .'><notice>格式:k1=v1;k2=v2></notice>', 'type' => 'string', 'required' => false, 'example' => 'key1=value1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Success'], + 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '人工服务商ID', 'type' => 'string', 'example' => 'xxxxxxxxx'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '[]'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '新增人工服务提供商', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:CreateCallCenterProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Success\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"xxxxxxxxx\\",\\n \\"Params\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateCloneVoice' => [ + 'summary' => '创建实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => ['description' => '上传文件路径', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'voice_clone/音色克隆单元测试.wav'], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => [ + 'description' => '克隆模型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'QwenVc' => 'QwenVc'], + 'example' => 'CosyVoice', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877158'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '克隆音对象', + 'type' => 'object', + 'properties' => [ + 'CloneVoiceId' => ['description' => '克隆音ID', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建克隆音', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877158\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"CloneVoiceId\\": \\"8ee1160a-6999-478f-8df6-f33ef21f27d5\\",\\n \\"Voice\\": \\"cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34\\"\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateInstruction' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'description' => '指令类型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['TRANSFER' => '转接', 'GATHER_DTMF' => '收号'], + 'example' => 'TRANSFER', + ], + ], + [ + 'name' => 'Code', + 'in' => 'formData', + 'schema' => ['description' => '指令编码'."\n" + .'><notice>全局唯一></notice>', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Transfer00'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '指令名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '转人工指令一'], + ], + [ + 'name' => 'Config', + 'in' => 'formData', + 'schema' => ['description' => '指令配置'."\n" + ."\n" + .'> - providerId:人工服务提供商id,可通过ListCallCenterProviders 获取'."\n" + .'> - transferMethod:转接方式 (BYE,BRIDGE,REFER)'."\n" + .'>- transferType:转接目标类型 (External:外部号码, Agent:坐席,SkillGroup:技能组)'."\n" + .'>- transferTarget:转接目标'."\n" + .'>- transferor:主叫号码(为空则默认使用客户来电手机号码)'."\n" + .'>- timeoutSeconds:超时时间,单位:秒(转人工超时时间,默认 30 秒)', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{'."\n" + .' "providerId": "xxxxxxxxx",'."\n" + .' "transferMethod": "BYE",'."\n" + .' "transferType": "External",'."\n" + .' "transferTarget": "152******",'."\n" + .' "transferor": "01*****",'."\n" + .' "timeoutSeconds": "10"'."\n" + .'}'], + ], + ], + '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' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '指令编码', 'type' => 'string', 'example' => 'Transfer00'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建指令', + 'summary' => '数字员工-全局配置-添加指令', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"Transfer00\\",\\n \\"Params\\": [\\n \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateLlmAccessProfile' => [ + 'summary' => '创建语言模型配置信息', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'ApiKey' => ['description' => '三方模型的 API key', 'type' => 'string', 'required' => false, 'example' => '70tKleNtMGaaIem7us7Miw-Tf3kPzE6l'], + 'Endpoint' => ['description' => '三方模型的接入点', 'type' => 'string', 'required' => false, 'example' => 'api.llm.enpoint.example.com'], + 'Name' => ['description' => '三方模型配置的名称', 'type' => 'string', 'required' => false, 'example' => '千问Omni'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '三方模型配置ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建三方模型配置', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateScript' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '实例名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '导航测试实例'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '实例描述', 'type' => 'string', 'required' => false, 'example' => '第一个导航实例', 'maxLength' => 255], + ], + [ + 'name' => 'Concurrency', + 'in' => 'formData', + 'schema' => ['description' => '并发数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'exclusiveMaximum' => false, 'example' => '10'], + ], + [ + 'name' => 'NluEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Nlu引擎'."\n" + .'- PROMPTS - 提示词模式'."\n" + .'- FUNCTION - 函数计算模式'."\n" + .'- BEEBOT - 工作流模式', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['PROMPTS' => 'PROMPTS', 'BEEBOT' => 'BEEBOT', 'FUNCTION' => 'FUNCTION'], + 'example' => 'BEEBOT', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码。', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '创建的场景ID', 'type' => 'string', 'example' => '0a88e269-01f5-49ac-97af-5830f0ccb271'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '2fe96e9b-656a-4fa1-9890-e3db5927aaf7'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建场景', + 'summary' => '创建实例', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"0a88e269-01f5-49ac-97af-5830f0ccb271\\",\\n \\"Params\\": [\\n \\"2fe96e9b-656a-4fa1-9890-e3db5927aaf7\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateScriptVersion' => [ + 'summary' => '创建场景配置', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'abb4aa26-3a8e-43dd-82f8-0c3898c9c67f'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + [ + 'name' => 'SourceVersionId', + 'in' => 'formData', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'TranscriberConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'ASR配置', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'ASR调用方式', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['AUTHORIZED', 'PROVIDED', 'MANAGED'], + ], + 'NlsEngine' => [ + 'description' => 'ASR引擎', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + 'default' => 'BAILIAN', + 'enum' => ['ALIYUN', 'BAILIAN', 'IFLYTEK', 'VOLC', 'LALAMOVE'], + ], + 'NlsAccessProfile' => [ + 'description' => '关联配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置ID(使用豆包、科大等三方ASR服务时需配置)', 'type' => 'string', 'required' => false, 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718', 'maxLength' => 64], + ], + 'required' => false, + ], + 'VocabularyId' => ['description' => '热词表ID(热词管理页面获取)', 'type' => 'string', 'required' => false, 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe3', 'maxLength' => 64], + 'EndSilenceTimeout' => ['description' => '静音检测(说话间隔超过x毫秒时触发断句,即VAD)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2000', 'minimum' => '200', 'example' => '700', 'default' => '500'], + 'CustomizationId' => ['title' => 'ASR的定制语言模型ID', 'description' => 'ASR的定制语言模型ID', 'type' => 'string', 'required' => false, 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe4', 'maxLength' => 64], + 'SpeechNoiseThreshold' => ['description' => '噪音参数阈值,参数范围:[-100,100]。取值说明如下:'."\n" + ."\n" + .'取值越趋于-100,噪音被判定为语音的概率越大。'."\n" + ."\n" + .'取值越趋于+100,语音被判定为噪音的概率越大。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '-100', 'example' => '0', 'default' => '0'], + 'Model' => [ + 'description' => 'ASR模型', + 'type' => 'string', + 'required' => false, + 'example' => 'Paraformer', + 'maxLength' => 32, + 'default' => 'Paraformer', + 'enum' => ['Paraformer', 'Fun', 'Qwen'], + ], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string'], + 'Replacement' => ['type' => 'string'], + ], + ], + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SynthesizerConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'TTS配置', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['MANAGED', 'AUTHORIZED', 'PROVIDED'], + ], + 'NlsEngine' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + 'default' => 'BAILIAN', + 'enum' => ['ALIYUN', 'BAILIAN', 'VOLC', 'IFLYTEK', 'LALAMOVE'], + ], + 'NlsAccessProfile' => [ + 'description' => '关联配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置 ID(使用豆包、科大等三方 ASR 服务时需配置)', 'type' => 'string', 'required' => false, 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718', 'maxLength' => 64], + ], + 'required' => false, + ], + 'Model' => [ + 'description' => 'TTS模型', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'Qwen' => 'Qwen', 'iflytek-default' => 'iflytek-default', 'seed-tts-2.0' => 'seed-tts-2.0'], + 'example' => 'CosyVoice', + 'maxLength' => 32, + ], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'example' => 'longanyang', 'maxLength' => 64], + 'SpeechRate' => ['description' => '语速\\'."\n" + .'取值范围-500~500\\'."\n" + .'默认值0', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '-500', 'example' => '0', 'default' => '0'], + 'Volume' => ['description' => '音量\\'."\n" + .'取值范围0~100\\'."\n" + .'默认值50', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'example' => '50', 'default' => '50'], + 'PitchRate' => ['description' => '语调\\'."\n" + .'取值范围 -500~500\\'."\n" + .'默认值 0', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '-500', 'example' => '0', 'default' => '0'], + 'PronRules' => [ + 'description' => 'TTS纠错列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['description' => '易错词', 'type' => 'string', 'required' => false, 'example' => '还钱', 'maxLength' => 5], + 'Replacement' => ['description' => '同音词', 'type' => 'string', 'required' => false, 'example' => '环钱', 'maxLength' => 20], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ScriptProfile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '对话能力配置', + 'type' => 'object', + 'properties' => [ + 'ChatbotId' => ['description' => '对话机器人ID\\'."\n" + .'当前场景NluEngine=BEEBOT时必填', 'type' => 'string', 'required' => false, 'example' => 'chatbot-cn-MQuyjjb666', 'maxLength' => 32], + 'AgentKey' => ['description' => '对话机器人AgentKey\\'."\n" + .'当前场景 NluEngine=BEEBOT 时必填', 'type' => 'string', 'required' => false, 'example' => '1309723684579735_p_beebot_public', 'maxLength' => 64], + 'FunctionMeta' => [ + 'description' => '函数计算配置', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => '函数服务所在地域\\'."\n" + .'当前场景NluEngine=FUNCTION时必填', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'maxLength' => 16], + 'FunctionId' => ['description' => '函数服务ID\\'."\n" + .'当前场景NluEngine=FUNCTION时必填', 'type' => 'string', 'required' => false, 'example' => '9b752bbb-805a-4d3e-9013-eab5555c3fef', 'maxLength' => 48], + 'FunctionName' => ['description' => '函数服务名称\\'."\n" + .'当前场景NluEngine=FUNCTION时必填', 'type' => 'string', 'required' => false, 'example' => 'my_funciton', 'maxLength' => 64], + 'HttpTriggerUrl' => ['description' => '函数触发器URL\\'."\n" + .'当前场景NluEngine=FUNCTION时必填', 'type' => 'string', 'required' => false, 'example' => 'http://chat-xxxxx-v-yewiundukb.cn-hangzhou-xxx.run', 'maxLength' => 128], + 'HttpTriggerName' => ['description' => '函数触发器名称\\'."\n" + .'当前场景NluEngine=FUNCTION时必填', 'type' => 'string', 'required' => false, 'example' => 'defaultTrigger', 'maxLength' => 64], + ], + 'required' => false, + ], + 'Model' => ['description' => '对话模型\\'."\n" + .'当前场景NluEngine=PROMPTS时必填', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus', 'maxLength' => 64], + 'AgentProfile' => [ + 'description' => '对话Agent配置', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => [ + 'description' => '场景模版ID', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['CCC_PROMPTS_DEFAULT' => 'CCC_PROMPTS_DEFAULT', 'CCC_PROMPTS_DEFAULT_OPENING' => 'CCC_PROMPTS_DEFAULT_OPENING', 'CCC_PROMPTS_SURVEY' => 'CCC_PROMPTS_SURVEY'], + 'example' => 'CCC_PROMPTS_DEFAULT', + 'maxLength' => 64, + ], + 'PromptsJson' => ['description' => '提示词json', 'type' => 'string', 'required' => false, 'example' => '{\\"prompts\\":\\"我是一个聊天机器人。\\"}', 'maxLength' => 2048], + ], + 'required' => false, + ], + 'NluAccessProfile' => [ + 'description' => '关联配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方对话模型配置 ID', 'type' => 'string', 'required' => false, 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718', 'maxLength' => 64], + ], + 'required' => false, + ], + 'OmniModel' => ['description' => '是否为Omni模型', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'NluAccessType' => [ + 'description' => '对话模型调用方式', + 'type' => 'string', + 'required' => false, + 'example' => 'MANAGED', + 'maxLength' => 32, + 'enum' => ['MANAGED', 'PROVIDED', 'AUTHORIZED'], + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'InteractionConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '交互配置', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['title' => '静默超时时间,单位毫秒,用户静默超过设定值时,播报静默超时话术。'."\n" + .'范围2000~10000。', 'description' => '静默超时时间,单位毫秒。\\'."\n" + .'用户静默超过设定值时,播报静默超时话术。\\'."\n" + .'范围2000~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '2000', 'example' => '5000', 'default' => '5000'], + 'MaxRepeats' => ['description' => '连续静默轮次挂机\\'."\n" + .'当前场景NluEngine=PROMPTS时生效', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + ], + 'required' => false, + ], + 'EndConversationConfig' => [ + 'description' => '挂机配置', + 'type' => 'object', + 'properties' => [ + 'Delay' => ['title' => '挂机话术播报完成x秒后,执行挂机动作。'."\n" + .'范围0~5', 'description' => '挂机话术播报完成x秒后,执行挂机动作。'."\n" + .'范围0~5', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '5', 'minimum' => '0', 'example' => '1', 'default' => '0'], + 'Triggers' => [ + 'description' => '特殊情况拦截', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TriggerType' => [ + 'title' => 'TurnLimit:最多交互轮次判断;'."\n" + .'IntelligentVoiceAssistant:语音助手;'."\n" + .'InteractiveVoiceResponse:分机号转接;'."\n" + .'KeyWords:自定义拦截', + 'description' => 'TurnLimit:最多交互轮次判断;\\'."\n" + .'IntelligentVoiceAssistant:语音助手;\\'."\n" + .'InteractiveVoiceResponse:分机号转接;\\'."\n" + .'KeyWords:自定义拦截', + 'type' => 'string', + 'required' => false, + 'example' => 'TurnLimit', + 'enum' => ['TurnLimit', 'IntelligentVoiceAssistant', 'InteractiveVoiceResponse', 'KeyWords'], + ], + 'TurnLimit' => ['title' => '当交互轮次超过x轮时,执行挂机。'."\n" + .'范围0~100。'."\n" + .'等于0表示不开启超出轮次挂机。', 'description' => '当交互轮次超过x轮时,执行挂机。'."\n" + .'范围0~100。'."\n" + .'等于0表示不开启超出轮次挂机。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'default' => '0'], + 'ClosingStatement' => ['title' => '达到轮次上限,执行挂机时的播报话术。', 'description' => '达到轮次上限,执行挂机时的播报话术。', 'type' => 'string', 'required' => false, 'example' => '感谢您的接听,祝您生活愉快,再见!', 'maxLength' => 128], + 'KeyWords' => [ + 'title' => '自定义拦截关键词', + 'description' => '自定义拦截关键词列表', + 'type' => 'array', + 'items' => ['description' => '自定义拦截关键词', 'type' => 'string', 'required' => false, 'example' => '机器人助理'], + 'required' => false, + ], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'InitialGreetingDelayMilliseconds' => ['description' => '接通后,延迟放音时间\\'."\n" + .'单位毫秒', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '5000', 'minimum' => '0', 'example' => '2000', 'default' => '0'], + 'BackgroundMusicId' => ['description' => '背景音ID', 'type' => 'string', 'required' => false, 'example' => 'office-ambience', 'maxLength' => 64], + ], + 'required' => false, + ], + ], + [ + 'name' => 'LabelConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '自定义标签配置', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '标签名称', 'type' => 'string', 'required' => false, 'example' => '是否同意还款', 'maxLength' => 32], + 'Description' => ['description' => '标签描述', 'type' => 'string', 'required' => false, 'example' => '用户是否同意于还款截止日期前还款', 'maxLength' => 128], + 'CandidateValues' => [ + 'description' => '标签可选值列表', + 'type' => 'array', + 'items' => ['description' => '标签可选值', 'type' => 'string', 'required' => false, 'example' => '同意', 'maxLength' => 32], + 'required' => false, + ], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C00486CA-8025-5ED8-9AA5-E0AFBA87A098'], + 'Data' => ['description' => '版本ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建场景版本', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"RequestId\\": \\"C00486CA-8025-5ED8-9AA5-E0AFBA87A098\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateVariable' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '5daac920-d6c1-429f-a95f-2a798f5255b5'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '变量名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'userType'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'formData', + 'schema' => ['description' => '显示名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户类型'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '表示用户类型,包括VIP、普通用户'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'ED56B723-5802-5C32-865F-6E20B06D2455'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建变量', + 'summary' => '创建变量', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED56B723-5802-5C32-865F-6E20B06D2455\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateVocabulary' => [ + 'summary' => '创建实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '热词名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '金融行业热词'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '包含金融行业专业术语'], + ], + [ + 'name' => 'Words', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '热词列表', + 'type' => 'object', + 'required' => false, + 'docRequired' => true, + 'additionalProperties' => ['type' => 'string', 'example' => '{"苹果":"2","香蕉":"3"}', 'description' => '热词'], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BA2B89BE-BF85-5333-8A52-6D9F18A100F1'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建热词', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA2B89BE-BF85-5333-8A52-6D9F18A100F1\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateVoiceAccessProfile' => [ + 'summary' => '创建实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => '语音引擎', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'VOLC', + ], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => '2541370123', 'maxLength' => 64], + 'AccessKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'maxLength' => 64], + 'AppId' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => '5b123bfb', 'maxLength' => 64], + 'ApiKey' => ['description' => '使用百炼、科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'maxLength' => 64], + 'ApiSecret' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'maxLength' => 64], + 'AsrAppKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + 'TtsApiKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + ], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '配置ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建三方语音配置', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteCallCenterProvider' => [ + 'summary' => '系统管理-人工服务提供商管理-删除。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ProviderId', + 'in' => 'formData', + 'schema' => ['description' => '人工服务提供商 id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'xxxxxxxxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '人工服务提供商 id', 'type' => 'string', 'example' => 'xxxxxxxxx'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '[]'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除人工服务提供商', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:DeleteCallCenterProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"xxxxxxxxx\\",\\n \\"Params\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteCloneVoice' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a'], + ], + [ + 'name' => 'CloneVoiceId', + 'in' => 'formData', + 'schema' => ['description' => '克隆音ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5b'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '克隆音ID', 'type' => 'string', 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除克隆音', + 'summary' => '删除场景', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"e48e45dd-e47a-4744-a063-f08cbebb1c5b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteInstruction' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'Code', + 'in' => 'formData', + 'schema' => ['description' => '指令编码', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Transfer00'], + ], + ], + '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' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '指令编码', 'type' => 'string', 'example' => 'Transfer00'], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除指令', + 'summary' => '数字员工-全局配置-删除指令。', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"Transfer00\\",\\n \\"Params\\": [\\n \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteLlmAccessProfile' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => '三方模型配置ID', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '三方模型配置 ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除三方模型配置', + 'summary' => '删除语言模型配置信息', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteScript' => [ + 'summary' => '删除场景', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'D24E0148-6D40-550E-9471-B2C5A34C3D12'], + 'Code' => ['description' => '内部错误码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '场景ID', 'type' => 'string', 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除场景', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D24E0148-6D40-550E-9471-B2C5A34C3D12\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"64241e64-190c-45d1-af66-06f51c07b090\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteVariable' => [ + 'summary' => '删除变量', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0'], + ], + [ + 'name' => 'VariableId', + 'in' => 'formData', + 'schema' => ['description' => '变量ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除变量', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteVocabulary' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => '热词ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '29D8CB48-2384-59C4-9618-3824009635C2'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除热词', + 'summary' => '删除场景', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D8CB48-2384-59C4-9618-3824009635C2\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteVoiceAccessProfile' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => '三方语音配置ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '97E7ED13-6884-52D7-B97E-C780D7870680'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '三方语音配置ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除三方语音配置', + 'summary' => '删除场景', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"97E7ED13-6884-52D7-B97E-C780D7870680\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'Dialogue' => [ + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['title' => '实例ID', 'description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => ['title' => '场景ID', 'description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0a88e269-01f5-49ac-97af-5830f0ccb271'], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => ['title' => '对话ID', 'description' => '对话ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '07d72ea0-6e38-48d4-8371-14deaaba996f'], + ], + [ + 'name' => 'Extras', + 'in' => 'query', + 'schema' => ['title' => '附属参数。'."\n" + .'如静默超时:[{"dataType":"Silence"}]', 'description' => '附属参数。'."\n" + .'如静默超时:[{"dataType":"Silence"}]'."\n" + .'><notice>dataType类型: DTMF、Silence、RuntimePrompts></notice>'."\n" + .'> '."\n" + .'> - 当dataType为DTMF类型时,格式:[{"dataType":"DTMF","dtmf":"xxxx"}]'."\n" + .'> - 当dataType为Silence类型时,格式:[{"dataType":"Silence"}]'."\n" + .'> - 当dataType为RuntimePrompts类型时,格式:[{"dataType":"RuntimePrompts","prompts":"xxxx","persistent":false/true}]', 'type' => 'string', 'required' => false, 'example' => '[{'."\n" + .' "dataType": "Silence"'."\n" + .'}]'], + ], + [ + 'name' => 'Utterance', + 'in' => 'query', + 'schema' => ['title' => '用户回复内容', 'description' => '用户说话内容', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '行吧,那我就不打扰您了,再见。'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'POP的请求ID', 'description' => 'POP的请求ID', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'HttpStatusCode' => ['title' => 'HTTP状态码,200表示HTTP返回成功', 'description' => 'HTTP状态码,200表示HTTP返回成功', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['title' => 'HTTP返回消息', 'description' => 'HTTP返回消息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['title' => '业务状态码,OK表示返回成功', 'description' => '业务状态码,OK表示返回成功', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'title' => '业务数据', + 'description' => '业务数据', + 'type' => 'object', + 'properties' => [ + 'Answer' => ['title' => '机器人回复内容', 'description' => '机器人回复内容', 'type' => 'string', 'example' => '不好意思,我没听'], + 'StreamEnd' => ['title' => '流式返回是否结束', 'description' => '流式返回是否结束', 'type' => 'boolean', 'example' => 'true'], + 'SessionId' => ['title' => '对话ID', 'description' => '对话ID', 'type' => 'string', 'example' => '07d72ea0-6e38-48d4-8371-14deaaba996f'], + 'StreamId' => ['title' => '对话的轮次ID', 'description' => '对话的轮次ID', 'type' => 'string', 'example' => '1'], + 'StartTime' => ['title' => '更新时间', 'description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1774858849987'], + 'EndTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1752283603978'], + 'ControlParamsList' => [ + 'description' => '控制参数列表', + 'type' => 'array', + 'items' => [ + 'description' => '控制参数', + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '控制参数类型,枚举值:'."\n" + .'HangUp: 挂断'."\n" + .'Transfer:转接'."\n" + .'GatherDtmf: 获取按键'."\n" + .'Voice:语音', 'description' => '控制参数类型'."\n" + .'>'."\n" + .'>- HangUp: 挂断'."\n" + .'>- Transfer:转接'."\n" + .'>- GatherDtmf: 获取按键'."\n" + .'>- Voice:语音', 'type' => 'string', 'example' => 'Voice'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '对话', + 'summary' => '对话。', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Answer\\": \\"不好意思,我没听\\",\\n \\"StreamEnd\\": true,\\n \\"SessionId\\": \\"07d72ea0-6e38-48d4-8371-14deaaba996f\\",\\n \\"StreamId\\": \\"1\\",\\n \\"StartTime\\": 1774858849987,\\n \\"EndTime\\": 1752283603978,\\n \\"ControlParamsList\\": [\\n {\\n \\"Type\\": \\"Voice\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'DisableSubscription' => [ + 'summary' => '更新实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '关闭消息订阅', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"暂无使用\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'EndSession' => [ + 'summary' => '结束对话。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['title' => '实例ID', 'description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => ['title' => '场景ID', 'description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0a88e269-01f5-49ac-97af-5830f0ccb271'], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => ['title' => '对话ID', 'description' => '对话ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '07d72ea0-6e38-48d4-8371-14deaaba996f'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'POP的请求ID', 'description' => 'POP的请求ID', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'HttpStatusCode' => ['title' => 'HTTP状态码,200表示HTTP返回成功', 'description' => 'HTTP状态码,200表示HTTP返回成功', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['title' => 'HTTP返回消息', 'description' => 'HTTP返回消息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['title' => '业务状态码,OK表示返回成功', 'description' => '业务状态码,OK表示返回成功', 'type' => 'string', 'example' => 'OK'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '结束对话', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'ExportScript' => [ + 'summary' => '获取实例详情', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '83C6DA11-798F-5524-AB1D-555263E7A400'], + 'Data' => ['description' => '场景ID', 'type' => 'string', 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '导出场景', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"RequestId\\": \\"83C6DA11-798F-5524-AB1D-555263E7A400\\",\\n \\"Data\\": \\"64241e64-190c-45d1-af66-06f51c07b090\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ExportVocabulary' => [ + 'summary' => '导出热词', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'VocabularyIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '热词ID列表', + 'type' => 'array', + 'items' => ['description' => '热词ID', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => ['description' => '请忽略', 'type' => 'string', 'example' => '请忽略'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '导出热词', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": \\"请忽略\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'GenerateFileUploadParams' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'FileName', + 'in' => 'formData', + 'schema' => ['description' => '文件名', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test.wav'], + ], + [ + 'name' => 'BusinessType', + 'in' => 'formData', + 'schema' => [ + 'description' => '文件类型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['Vocabulary' => '热词', 'CloneVoice' => '克隆音'], + 'example' => 'CloneVoice', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877158'], + 'Data' => [ + 'description' => '文件上传参数', + 'type' => 'object', + 'properties' => [ + 'Signature' => ['description' => '根据**AccessKey Secret**和**Policy**计算出的签名信息。调用OSS API时,OSS验证该签名信息,从而确认Post请求的合法性。', 'type' => 'string', 'example' => '6oETypl+gbYHwbgcwnQiyDYoQbA='], + 'Policy' => ['description' => 'OSS通过该参数验证请求表单域的合法性', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNi0wMy0yOVQxMzoyNDoyNi4yMDNaIiwiY29uZGl0aW9ucyI6W239'], + 'AccessKeyId' => ['description' => '签名使用的AccessKeyId。', 'type' => 'string', 'example' => 'STS.NYGg9ejEjYqySx3EsuRutagbd'], + 'Host' => ['description' => 'OSS的接入域名。', 'type' => 'string', 'example' => 'http://cab.oss-cn-hangzhou.aliyuncs.com'], + 'FileKey' => ['description' => '上传文件路径', 'type' => 'string', 'example' => 'vocabulary/B678CA67-C8CB-150C-AD7F-6FA7F0A811BA_热词导入模版 (7).zip'], + 'ExpirationTime' => ['description' => '上传有效期', 'type' => 'integer', 'format' => 'int64', 'example' => '1774794266093'], + 'SecurityToken' => ['description' => '安全token。', 'type' => 'string', 'example' => 'CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB+gYsfU2m2xR5/Yclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag+/08/LI3OaLjKm9u2wCryLYbGwU/OpbE++5U0X6LDmdDKkckW4OJmS8/BOZcgWWQ/KBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO/ks0GG3ASmlrFF+9mufMb5M/MBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs+02c5onHUwYPu0vZYrOLroQ+fFFjHKMzDdtPq/7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F+kxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3+Uqz3gv9md5QvoaVi1jnr/cFRNxbjl7DI39pdcGlTI2lqIAA='], + 'AccessKeySecret' => ['description' => 'Oss授权上传文件的Secret。', 'type' => 'string', 'example' => 'DGhwedF4SsbsqUMfzNBCjZFLJZSAdhiSE4hFPbKMm6JE'], + 'Bucket' => ['description' => 'OSS文件保存桶名称。', 'type' => 'string', 'example' => 'cab'], + 'Region' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取文件上传参数', + 'summary' => '获取实例详情', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"RequestId\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877158\\",\\n \\"Data\\": {\\n \\"Signature\\": \\"6oETypl+gbYHwbgcwnQiyDYoQbA=\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNi0wMy0yOVQxMzoyNDoyNi4yMDNaIiwiY29uZGl0aW9ucyI6W239\\",\\n \\"AccessKeyId\\": \\"STS.NYGg9ejEjYqySx3EsuRutagbd\\",\\n \\"Host\\": \\"http://cab.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"FileKey\\": \\"vocabulary/B678CA67-C8CB-150C-AD7F-6FA7F0A811BA_热词导入模版 (7).zip\\",\\n \\"ExpirationTime\\": 1774794266093,\\n \\"SecurityToken\\": \\"CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB+gYsfU2m2xR5/Yclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag+/08/LI3OaLjKm9u2wCryLYbGwU/OpbE++5U0X6LDmdDKkckW4OJmS8/BOZcgWWQ/KBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO/ks0GG3ASmlrFF+9mufMb5M/MBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs+02c5onHUwYPu0vZYrOLroQ+fFFjHKMzDdtPq/7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F+kxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3+Uqz3gv9md5QvoaVi1jnr/cFRNxbjl7DI39pdcGlTI2lqIAA=\\",\\n \\"AccessKeySecret\\": \\"DGhwedF4SsbsqUMfzNBCjZFLJZSAdhiSE4hFPbKMm6JE\\",\\n \\"Bucket\\": \\"cab\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'GetCallDetailRecord' => [ + 'summary' => '获取通话详情。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => ['description' => '会话ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '9fe19f64-a290-4a73-a3ed-5f7d21d44ecb'], + ], + ], + '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' => 'a2c26e67-5984-4935-984e-bcee52971993'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误内容。', 'type' => 'string', 'example' => 'SUCCESS'], + 'Data' => [ + 'description' => '通话记录。', + 'type' => 'object', + 'properties' => [ + 'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => '07d72ea0-6e38-48d4-8371-14deaaba996f'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1774858849987'], + 'EndTime' => ['description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1752283603978'], + 'Caller' => ['description' => '主叫号码。', 'type' => 'string', 'example' => '15929990193'], + 'Callee' => ['description' => '被叫号码。', 'type' => 'string', 'example' => '15100000001'], + 'DispositionCode' => [ + 'description' => '联络结果代码。', + 'type' => 'string', + 'enumValueTitles' => ['Rejected' => '拒接', 'Answered' => '已接通'], + 'example' => 'Answered', + ], + 'DispositionReason' => [ + 'description' => '通话接通情况。', + 'type' => 'string', + 'enumValueTitles' => ['ConcurrentLimitExceeded' => '并发超限', 'SilenceTimeout' => '静默超时', 'TurnsLimitExceeded' => '对话轮次超限', 'Transferred' => '已转接', 'Normal' => '正常挂机', 'Exception' => '系统异常'], + 'example' => 'ConcurrentLimitExceeded', + ], + 'ReleaseInitiator' => [ + 'description' => '挂断方。', + 'type' => 'string', + 'enumValueTitles' => ['Customer' => '客户', 'Assistant' => '机器人'], + 'example' => 'Customer', + ], + 'TransferType' => [ + 'description' => '转接目标。', + 'type' => 'string', + 'enumValueTitles' => ['SkillGroup' => '技能组', 'Agent' => '坐席', 'External' => '外部电话'], + 'example' => 'SkillGroup', + ], + 'TransferTarget' => ['description' => '转接目标。', 'type' => 'string', 'example' => 'default@testInstance1'], + 'TalkTurns' => ['description' => '对话轮次。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'TalkTime' => ['description' => '通话时间,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Duration' => ['description' => '会话时长。单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '160'], + 'Transcripts' => [ + 'description' => '对话内容。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StreamId' => ['description' => '对话轮次ID。', 'type' => 'string', 'example' => '1'], + 'EventTime' => ['description' => '事件发生时间戳,格式为Unix时间戳,单位毫秒。', 'type' => 'string', 'example' => '1774859592165'], + 'Role' => [ + 'description' => '角色。', + 'type' => 'string', + 'enumValueTitles' => ['USER' => '客户', 'ASSISTANT' => '机器人'], + 'example' => 'USER', + ], + 'Utterance' => ['description' => '用户发言,当角色是USER时有效。', 'type' => 'string', 'example' => '你要说你快点说不说,我挂了哈。'], + 'Answer' => ['description' => '机器人发言,当角色是ASSISTANT时有效。', 'type' => 'string', 'example' => '不好意思,'], + 'PlayedWords' => ['description' => '用户听到机器人发言,当角色是USER时有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'VendorParams' => ['description' => '用户侧随路数据,当角色是USER时有效。', 'type' => 'string', 'example' => '{"test1":"1234"}'], + 'Extras' => ['description' => '用户侧除发言以外的输入,当角色是USER时有效。', 'type' => 'string', 'example' => '[{"dataType":"Silence"}]'], + 'ControlParamsList' => ['description' => '控制参数列表,当角色是ASSISTANT时有效。', 'type' => 'string', 'example' => '[{"endSilenceTimeout":500,"interruptible":false,"silenceDetectionTimeout":5,"type":"Voice"}]'], + 'StreamEnd' => ['description' => '文本流式输出时结束标识。', 'type' => 'boolean', 'example' => 'true'], + 'BeginTime' => ['description' => '开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1748945414222'], + 'EndTime' => ['description' => '结束时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1767315903531'], + 'Backchannels' => ['description' => '是否是客户针对机器人的互动反馈,当角色是USER时有效。', 'type' => 'boolean', 'example' => 'false'], + 'Legacy' => ['description' => '机器人发言是否失效,当角色是ASSISTANT时有效。', 'type' => 'boolean', 'example' => 'false'], + 'Interrupted' => ['description' => '是否被打断。', 'type' => 'boolean', 'example' => 'false'], + ], + 'description' => '', + ], + ], + 'IssueResolved' => ['description' => '客户问题是否解决。', 'type' => 'boolean', 'example' => 'false'], + 'ResolutionEvidence' => ['description' => '判断依据。', 'type' => 'string', 'example' => 'unknown'], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '错误参数。', 'type' => 'string', 'example' => '[\'zhenhyuantest\']'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取通话详情', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetCallDetailRecord', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"a2c26e67-5984-4935-984e-bcee52971993\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"SessionId\\": \\"07d72ea0-6e38-48d4-8371-14deaaba996f\\",\\n \\"StartTime\\": 1774858849987,\\n \\"EndTime\\": 1752283603978,\\n \\"Caller\\": \\"15929990193\\",\\n \\"Callee\\": \\"15100000001\\",\\n \\"DispositionCode\\": \\"Answered\\",\\n \\"DispositionReason\\": \\"ConcurrentLimitExceeded\\",\\n \\"ReleaseInitiator\\": \\"Customer\\",\\n \\"TransferType\\": \\"SkillGroup\\",\\n \\"TransferTarget\\": \\"default@testInstance1\\",\\n \\"TalkTurns\\": 5,\\n \\"TalkTime\\": 100,\\n \\"Duration\\": 160,\\n \\"Transcripts\\": [\\n {\\n \\"StreamId\\": \\"1\\",\\n \\"EventTime\\": \\"1774859592165\\",\\n \\"Role\\": \\"USER\\",\\n \\"Utterance\\": \\"你要说你快点说不说,我挂了哈。\\",\\n \\"Answer\\": \\"不好意思,\\",\\n \\"PlayedWords\\": 10,\\n \\"VendorParams\\": \\"{\\\\\\"test1\\\\\\":\\\\\\"1234\\\\\\"}\\",\\n \\"Extras\\": \\"[{\\\\\\"dataType\\\\\\":\\\\\\"Silence\\\\\\"}]\\",\\n \\"ControlParamsList\\": \\"[{\\\\\\"endSilenceTimeout\\\\\\":500,\\\\\\"interruptible\\\\\\":false,\\\\\\"silenceDetectionTimeout\\\\\\":5,\\\\\\"type\\\\\\":\\\\\\"Voice\\\\\\"}]\\",\\n \\"StreamEnd\\": true,\\n \\"BeginTime\\": 1748945414222,\\n \\"EndTime\\": 1767315903531,\\n \\"Backchannels\\": false,\\n \\"Legacy\\": false,\\n \\"Interrupted\\": false\\n }\\n ],\\n \\"IssueResolved\\": false,\\n \\"ResolutionEvidence\\": \\"unknown\\"\\n },\\n \\"Params\\": [\\n \\"[\'zhenhyuantest\']\\"\\n ]\\n}","type":"json"}]', + ], + 'GetDataChannelCredential' => [ + 'summary' => '获取数据通道凭证。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0', 'maxLength' => 64], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd4c38420-****-43bc-b001-56bfc274****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'A8AED3C8-F57B-5D71-9A34-4A170287533F'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '返回凭证数据', + 'type' => 'object', + 'properties' => [ + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => 'd4c38420-****-43bc-b001-56bfc274****'], + 'Topic' => ['description' => '凭证主题', 'type' => 'string', 'example' => 'datachannel-hz/****'], + 'ClientId' => ['description' => '客户端ID', 'type' => 'string', 'example' => 'GID_rtc-datachannel@@@*******'], + 'Endpoint' => ['description' => '接入点', 'type' => 'string', 'example' => 'mqtt.***.aliyuncs.com'], + 'UserName' => ['description' => '用户名', 'type' => 'string', 'example' => 'Token|LTAI****|mqtt-***'], + 'Password' => ['description' => '密码', 'type' => 'string', 'example' => '*********'], + 'ExpirationTime' => ['description' => '凭据过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1774794266093'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取数据通道凭证', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8AED3C8-F57B-5D71-9A34-4A170287533F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"DeviceId\\": \\"d4c38420-****-43bc-b001-56bfc274****\\",\\n \\"Topic\\": \\"datachannel-hz/****\\",\\n \\"ClientId\\": \\"GID_rtc-datachannel@@@*******\\",\\n \\"Endpoint\\": \\"mqtt.***.aliyuncs.com\\",\\n \\"UserName\\": \\"Token|LTAI****|mqtt-***\\",\\n \\"Password\\": \\"*********\\",\\n \\"ExpirationTime\\": 1774794266093\\n },\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'GetInstanceTrendingReport' => [ + 'summary' => '获取实例指标趋势图。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '82b2eaae-ce5c-45f8-8231-f15b6b27e55c'], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => '统计开始时间, 参数值应为毫秒级Unix时间戳,表示自1970-01-01 00:00:00 UTC 起经过的毫秒数。需要满足下面几个约束:'."\n" + .'1. 有效起始边界:最早可追溯至当前日期前 365 个自然日的 00:00:00 时刻'."\n" + .'2. 时间粒度对齐要求,小时级查询时分钟、秒、毫秒位必须为0,天级查询时小时、分钟、秒、毫秒位必须为0'."\n" + .'3. 若传入时间戳未按对应粒度对齐,服务端将自动向上取整', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1582267398628'], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => '统计结束时间, 参数值应为毫秒级Unix时间戳,表示自 1970-01-01 00:00:00 UTC 起经过的毫秒数。需要满足下面几个约束:'."\n" + ."\n" + .'时间范围约束:小时级查询时7天,天级查询时180天'."\n" + .'时间粒度对齐要求,小时级查询时分钟、秒、毫秒位必须为 0,天级查询时小时、分钟、秒、毫秒位必须为 0'."\n" + .'若传入时间戳未按对应粒度对齐,服务端将自动向上取整', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1582103299434'], + ], + [ + 'name' => 'TimeInterval', + 'in' => 'formData', + 'schema' => ['description' => '时间间隔', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1d'], + ], + ], + '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' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => [ + 'description' => '场景ID', + 'type' => 'array', + 'items' => [ + 'description' => '某个时间间隔的统计数据', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => ['description' => '统计时间,格式为Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1774881208361'], + 'UsedConcurrency' => ['description' => '占用的最大并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ConfiguredConcurrency' => ['description' => '最新的配置并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'CallsOffered' => ['description' => '会话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'CallsHandled' => ['description' => '会话应答量。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + 'CallsRejected' => ['description' => '会话被拒量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'CallsResolved' => ['description' => '会话解决量,来自大模型评估结果。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'TotalInputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalOutputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTalkTime' => ['description' => '总通话时长,单位是ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'MaxTalkTime' => ['description' => '最大通话时长,单位是ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'RejectionBreakdown' => ['description' => '拒接原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "ConcurrentLimitExceeded":3'."\n" + .'}'], + 'ReleaseReasonBreakdown' => ['description' => '接通之后挂断原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "SilenceTimeout":1,'."\n" + .' "TurnsLimitExceeded":1,'."\n" + .' "Exception":1,'."\n" + .' "Transferred":1,'."\n" + .' "Normal":1'."\n" + .'}'], + 'LabelBreakdown' => ['description' => '标签分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "label1":{ '."\n" + .' "label1_sub1":10,'."\n" + .' "label1_sub2":2'."\n" + .'}'."\n" + .'}'], + 'TalkTurnsDistribution' => ['description' => '对话轮次分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "1":2,'."\n" + .' "10":3'."\n" + .'}'], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '错误参数列表。', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取实例指标趋势图', + 'description' => '## 请求说明'."\n" + .'- 该 API 主要用于查询特定场景下的脚本配置详情,包括 ASR、TTS 和对话能力等多方面的设置。'."\n" + .'- 请求时无需提供额外参数,响应将包含草稿版与正式发布的配置数据。'."\n" + .'- 注意检查返回的 `Data` 字段以获取详细的配置信息。'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetInstanceTrendingReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": [\\n {\\n \\"StatsTime\\": 1774881208361,\\n \\"UsedConcurrency\\": 10,\\n \\"ConfiguredConcurrency\\": 13,\\n \\"CallsOffered\\": 10,\\n \\"CallsHandled\\": 7,\\n \\"CallsRejected\\": 3,\\n \\"CallsResolved\\": 4,\\n \\"TotalInputTokens\\": 0,\\n \\"TotalOutputTokens\\": 0,\\n \\"TotalTokens\\": 0,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 20,\\n \\"RejectionBreakdown\\": \\"{\\\\n \\\\\\"ConcurrentLimitExceeded\\\\\\":3\\\\n}\\",\\n \\"ReleaseReasonBreakdown\\": \\"{\\\\n \\\\\\"SilenceTimeout\\\\\\":1,\\\\n \\\\\\"TurnsLimitExceeded\\\\\\":1,\\\\n \\\\\\"Exception\\\\\\":1,\\\\n \\\\\\"Transferred\\\\\\":1,\\\\n \\\\\\"Normal\\\\\\":1\\\\n}\\",\\n \\"LabelBreakdown\\": \\"{\\\\n \\\\\\"label1\\\\\\":{ \\\\n \\\\\\"label1_sub1\\\\\\":10,\\\\n \\\\\\"label1_sub2\\\\\\":2\\\\n}\\\\n}\\",\\n \\"TalkTurnsDistribution\\": \\"{\\\\n \\\\\\"1\\\\\\":2,\\\\n \\\\\\"10\\\\\\":3\\\\n}\\"\\n }\\n ],\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'GetRealtimeInstanceStats' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + ], + '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' => '3a530dc0-7cfa-48f6-9539-bf9001e77b16'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'SUCCESS'], + 'Data' => [ + 'description' => '实例实时统计数据。', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => ['description' => '开始时间,格式为Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1774881208361'], + 'UsedConcurrency' => ['description' => '占用的并发量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ConfiguredConcurrency' => ['description' => '已配置并发量。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'], + 'RealtimeScriptStatsList' => [ + 'description' => '场景实时统计数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '场景实时统计数据。', + 'type' => 'object', + 'properties' => [ + 'ScriptId' => ['description' => '场景ID。', 'type' => 'string', 'example' => '92836ced-6f3a-4cec-bc3d-c3893d3c7efa'], + 'ScriptName' => ['description' => '场景名称。', 'type' => 'string', 'example' => 'TypeCombinationTest'], + 'StatsTime' => ['description' => '统计时间点,格式为Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1774881208361'], + 'UsedConcurrency' => ['description' => '占用的并发量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ConfiguredConcurrency' => ['description' => '已配置并发量。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '错误参数列表。', 'type' => 'string', 'example' => '["123","345"]'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取实例实时指标', + 'summary' => '获取实例实时指标。', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3a530dc0-7cfa-48f6-9539-bf9001e77b16\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"StatsTime\\": 1774881208361,\\n \\"UsedConcurrency\\": 10,\\n \\"ConfiguredConcurrency\\": 13,\\n \\"RealtimeScriptStatsList\\": [\\n {\\n \\"ScriptId\\": \\"92836ced-6f3a-4cec-bc3d-c3893d3c7efa\\",\\n \\"ScriptName\\": \\"TypeCombinationTest\\",\\n \\"StatsTime\\": 1774881208361,\\n \\"UsedConcurrency\\": 10,\\n \\"ConfiguredConcurrency\\": 13\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"[\\\\\\"123\\\\\\",\\\\\\"345\\\\\\"]\\"\\n ]\\n}","type":"json"}]', + ], + 'GetRealtimeScriptStats' => [ + 'summary' => '查询场景实时统计数据。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cd6fc91bc13445c2af7f2e3e31418520'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + ], + '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' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], + 'Code' => ['description' => '错误码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n" + .'。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误消息。', 'type' => 'string', 'example' => 'SUCCESS'], + 'Data' => [ + 'description' => '场景实时统计数据。', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => ['description' => '统计打点时间,格式为Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1774881658931'], + 'UsedConcurrency' => ['description' => '占用的并发量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ConfiguredConcurrency' => ['description' => '已配置并发量。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '错误参数。', 'type' => 'string', 'example' => '["12345"]'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询场景实时统计数据', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"d74d6290-7cbe-4436-b5d7-014ebb0f4060\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"StatsTime\\": 1774881658931,\\n \\"UsedConcurrency\\": 10,\\n \\"ConfiguredConcurrency\\": 13\\n },\\n \\"Params\\": [\\n \\"[\\\\\\"12345\\\\\\"]\\"\\n ]\\n}","type":"json"}]', + ], + 'GetRecording' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '868eef14-7515-4856-8a50-5c9a22abdbcc'], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => ['description' => '会话ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '89ab28c2-eb94-4010-a539-f0eee922e371'], + ], + ], + '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' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877158'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码'."\n" + .'。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'SUCCESS'], + 'Data' => [ + 'description' => '录音记录。', + 'type' => 'object', + 'properties' => [ + 'SessionId' => ['description' => '会话 ID。', 'type' => 'string', 'example' => 'f814f3ae-b2a7-44fb-883c-771221274673'], + 'FileName' => ['description' => '录音文件名称。', 'type' => 'string', 'example' => '61f7f225-3a2e-4b6e-8a1d-888f1862590f.wav'], + 'FileUrl' => ['description' => '通话文件URL。', 'type' => 'string', 'example' => 'https://bgc-us-east.oss-accelerate.aliyuncs.com/intellidocs/2025-08-27/bc84ce11-f110-436d-af70-382ce7c5690a.pdf'], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '错误参数。', 'type' => 'string', 'example' => '[\'ly-online\']'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取通话录音', + 'summary' => '获取通话录音下载地址。', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877158\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"SessionId\\": \\"f814f3ae-b2a7-44fb-883c-771221274673\\",\\n \\"FileName\\": \\"61f7f225-3a2e-4b6e-8a1d-888f1862590f.wav\\",\\n \\"FileUrl\\": \\"https://bgc-us-east.oss-accelerate.aliyuncs.com/intellidocs/2025-08-27/bc84ce11-f110-436d-af70-382ce7c5690a.pdf\\"\\n },\\n \\"Params\\": [\\n \\"[\'ly-online\']\\"\\n ]\\n}","type":"json"}]', + ], + 'GetScript' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '8a503680-815d-473e-a9b0-e010f47a64d2'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ac6db76a-bbe7-4a2c-b7cc-7f62da7bb4c6'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '51E08AA9-8D1F-55F8-84A3-40635E2F0806'], + 'Data' => [ + 'description' => '场景对象信息', + 'type' => 'object', + 'properties' => [ + 'ScriptId' => ['description' => '场景 ID', 'type' => 'string', 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + 'Name' => ['description' => '场景名称', 'type' => 'string', 'example' => '测试场景'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'test script'], + 'Concurrency' => ['description' => '并发数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773228988000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773228988000'], + 'NluEngine' => [ + 'description' => 'Nlu引擎', + 'type' => 'string', + 'enumValueTitles' => ['PROMPTS' => 'PROMPTS', 'BEEBOT' => 'BEEBOT', 'FUNCTION' => 'FUNCTION'], + 'example' => 'BEEBOT', + ], + 'Status' => [ + 'description' => '状态', + 'type' => 'string', + 'enumValueTitles' => ['PUBLISHED' => 'PUBLISHED', 'DRAFT' => 'DRAFT', 'PUBLISHED_DRAFT' => 'PUBLISHED_DRAFT'], + 'example' => 'DRAFT', + ], + 'DraftVersion' => [ + 'description' => '草稿版本信息', + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '0c4f978a-73bb-4841-bd84-75c0398edd4e'], + 'TranscriberConfig' => [ + 'description' => 'ASR配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'ASR引擎', + 'type' => 'string', + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + ], + 'NlsAccessType' => [ + 'description' => 'ASR调用方式', + 'type' => 'string', + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + 'NlsAccessProfile' => [ + 'description' => '访问账号配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置ID', 'type' => 'string', 'example' => '0c4f978a-73bb-4841-bd84-75c0398edd4f'], + ], + ], + 'VocabularyId' => ['description' => '热词ID', 'type' => 'string', 'example' => '0c4f978a-73bb-4841-bd84-75c0398edd5f'], + 'EndSilenceTimeout' => ['description' => 'VAD断句', 'type' => 'integer', 'format' => 'int32', 'example' => '500'], + 'CustomizationId' => ['description' => '自学习语言模型ID(暂不支持)', 'type' => 'string', 'example' => '0c4f978a-73bb-4841-bd84-75c0398edd6f'], + 'SpeechNoiseThreshold' => ['description' => '噪音阈值', 'type' => 'string', 'example' => '0'], + 'Model' => [ + 'description' => 'ASR模型', + 'type' => 'string', + 'enumValueTitles' => ['Paraformer' => 'Paraformer', 'Qwen' => 'Qwen', 'Fun' => 'Fun'], + 'example' => 'Paraformer', + ], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string'], + 'Replacement' => ['type' => 'string'], + ], + ], + ], + ], + ], + 'SynthesizerConfig' => [ + 'description' => 'TTS配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + ], + 'NlsAccessType' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + 'Model' => ['description' => 'TTS模型', 'type' => 'string', 'example' => 'CosyVoice'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'longanyang'], + 'SpeechRate' => ['description' => '语速', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'PitchRate' => ['description' => '语调', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NlsAccessProfile' => [ + 'description' => '访问账号配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置', 'type' => 'string', 'example' => '0c4f978a-73bb-4841-bd84-75c0398edd4f'], + ], + ], + 'PronRules' => [ + 'description' => 'TTS纠错词典列表', + 'type' => 'array', + 'items' => [ + 'description' => 'TTS纠错词典对象', + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['description' => '易错词', 'type' => 'string', 'example' => '还钱'], + 'Replacement' => ['description' => '替换词', 'type' => 'string', 'example' => '环钱'], + ], + ], + ], + ], + ], + 'ScriptProfile' => [ + 'description' => '对话能力配置', + 'type' => 'object', + 'properties' => [ + 'ChatbotId' => ['description' => '对话机器人 ID', 'type' => 'string', 'example' => 'chatbot-cn-MQuyjjb666'], + 'AgentKey' => ['description' => '对话机器人 AgentKey', 'type' => 'string', 'example' => '1309723684579735_p_beebot_public'], + 'FunctionMeta' => [ + 'description' => '函数计算配置'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => '函数服务所在地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'FunctionId' => ['description' => '函数服务ID', 'type' => 'string', 'example' => '9b752bbb-805a-4d3e-9013-eab5555c3fef'], + 'FunctionName' => ['description' => '函数服务名称', 'type' => 'string', 'example' => 'my_funciton'], + 'HttpTriggerUrl' => ['description' => '函数触发器URL', 'type' => 'string', 'example' => 'http://chat-xxxxx-v-yewiundukb.cn-hangzhou-xxx.run'], + 'HttpTriggerName' => ['description' => '函数触发器名称', 'type' => 'string', 'example' => 'defaultTrigger'], + ], + ], + 'Model' => ['description' => '对话模型', 'type' => 'string', 'example' => 'qwen-plus'], + 'AgentProfile' => [ + 'description' => '对话 Agent 配置', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => '场景模版 ID', 'type' => 'string', 'example' => 'CCC_PROMPTS_DEFAULT'], + 'PromptsJson' => ['description' => '提示词 json', 'type' => 'string', 'example' => '{\\"prompts\\":\\"我是一个聊天机器人。\\"}'], + ], + ], + 'NluAccessProfile' => [ + 'description' => '关联配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方对话模型配置 ID', 'type' => 'string', 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718'], + ], + ], + 'OmniModel' => ['description' => '是否为Omni模型'."\n", 'type' => 'boolean', 'example' => 'true'], + 'NluAccessType' => ['description' => '对话模型调用方式'."\n", 'type' => 'string', 'example' => 'MANAGED'], + 'NluEngine' => ['description' => 'Nlu 引擎', 'type' => 'string', 'example' => 'BEEBOT'], + ], + ], + 'InteractionConfig' => [ + 'description' => '交互配置'."\n", + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置'."\n", + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '静默超时时间,单位毫秒。用户静默超过设定值时,播报静默超时话术。范围2000~10000。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5000'], + 'MaxRepeats' => ['description' => '连续静默轮次挂机'."\n" + .'当前场景NluEngine=PROMPTS时生效'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + ], + ], + 'EndConversationConfig' => [ + 'description' => '挂机配置'."\n", + 'type' => 'object', + 'properties' => [ + 'Delay' => ['description' => '挂机话术播报完成x秒后,执行挂机动作。'."\n" + .'范围0~5'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Triggers' => [ + 'description' => '特殊情况拦截列表', + 'type' => 'array', + 'items' => [ + 'description' => '特殊情况拦截对象', + 'type' => 'object', + 'properties' => [ + 'TriggerType' => ['description' => 'TurnLimit:最多交互轮次判断;'."\n" + .'IntelligentVoiceAssistant:语音助手;'."\n" + .'InteractiveVoiceResponse:分机号转接;'."\n" + .'KeyWords:自定义拦截'."\n", 'type' => 'string', 'example' => 'TurnLimit'], + 'TurnLimit' => ['description' => '当交互轮次超过x轮时,执行挂机。'."\n" + .'范围0~100。'."\n" + .'等于0表示不开启超出轮次挂机。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'ClosingStatement' => ['description' => '达到轮次上限,执行挂机时的播报话术。'."\n", 'type' => 'string', 'example' => '感谢您的接听,祝您生活愉快,再见!'], + 'KeyWords' => [ + 'description' => '自定义拦截关键词列表'."\n", + 'type' => 'array', + 'items' => ['description' => '自定义拦截关键词', 'type' => 'string', 'example' => '机器人助理'], + ], + ], + ], + ], + ], + ], + 'InitialGreetingDelayMilliseconds' => ['description' => '接通后,延迟放音时间'."\n" + .'单位毫秒'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'BackgroundMusicId' => ['description' => '背景音ID'."\n", 'type' => 'string', 'example' => 'office-ambience'], + ], + ], + 'LabelConfig' => [ + 'description' => '标签对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '标签对象', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '标签名称', 'type' => 'string', 'example' => '是否同意还款'], + 'Description' => ['description' => '标签描述', 'type' => 'string', 'example' => '用户是否同意于还款截止日期前还款'], + 'CandidateValues' => [ + 'description' => '标签可选值列表', + 'type' => 'array', + 'items' => ['description' => '标签可选值', 'type' => 'string', 'example' => '同意'], + ], + ], + ], + ], + ], + ], + 'PublishedVersion' => [ + 'description' => '发布版本信息', + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '8b77ff09-6a90-4784-8560-fdc2b860dc68'], + 'TranscriberConfig' => [ + 'description' => 'ASR配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => ['description' => '**ASR引擎**'."\n", 'type' => 'string', 'example' => 'BAILIAN'], + 'NlsAccessType' => ['description' => '**ASR调用方式**'."\n", 'type' => 'string', 'example' => 'MANAGED'], + 'NlsAccessProfile' => [ + 'description' => '**关联配置**'."\n", + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置ID(使用豆包、科大等三方ASR服务时需配置)'."\n", 'type' => 'string', 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718'], + ], + ], + 'VocabularyId' => ['description' => '热词表ID(热词管理页面获取)'."\n", 'type' => 'string', 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe3'], + 'EndSilenceTimeout' => ['description' => '静音检测(说话间隔超过x毫秒时触发断句,即VAD)'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '700'], + 'CustomizationId' => ['description' => 'ASR的定制语言模型ID'."\n", 'type' => 'string', 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe4'], + 'SpeechNoiseThreshold' => ['description' => '噪音参数阈值,参数范围:[-100,100]。取值说明如下:'."\n" + ."\n" + .'取值越趋于-100,噪音被判定为语音的概率越大。'."\n" + ."\n" + .'取值越趋于+100,语音被判定为噪音的概率越大。'."\n", 'type' => 'string', 'example' => '0'], + 'Model' => ['description' => 'ASR模型'."\n", 'type' => 'string', 'example' => 'Paraformer'], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string'], + 'Replacement' => ['type' => 'string'], + ], + ], + ], + ], + ], + 'SynthesizerConfig' => [ + 'description' => 'TTS配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => ['description' => '**TTS引擎**'."\n", 'type' => 'string', 'example' => 'BAILIAN'], + 'NlsAccessType' => ['description' => '**TTS调用方式**'."\n", 'type' => 'string', 'example' => 'MANAGED'], + 'Model' => ['description' => '**TTS模型**'."\n", 'type' => 'string', 'example' => 'CosyVoice'], + 'Voice' => ['description' => '**发音人**'."\n", 'type' => 'string', 'example' => 'longanyang'], + 'SpeechRate' => ['description' => '**语速**'."\n" + .'取值范围-500~500'."\n" + .'默认值0'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Volume' => ['description' => '音量'."\n" + .'取值范围0~100'."\n" + .'默认值50'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'PitchRate' => ['description' => '语调'."\n" + .'取值范围 -500~500'."\n" + .'默认值 0'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NlsAccessProfile' => [ + 'description' => '关联配置'."\n", + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置 ID(使用豆包、科大等三方 ASR 服务时需配置)'."\n", 'type' => 'string', 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718'], + ], + ], + 'PronRules' => [ + 'description' => 'TTS纠错列表'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'TTS纠错对象', + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['description' => '易错词'."\n", 'type' => 'string', 'example' => '还钱'], + 'Replacement' => ['description' => '同音词'."\n", 'type' => 'string', 'example' => '环钱'], + ], + ], + ], + ], + ], + 'ScriptProfile' => [ + 'description' => '对话能力配置'."\n", + 'type' => 'object', + 'properties' => [ + 'ChatbotId' => ['description' => '对话机器人ID'."\n" + .'当前场景NluEngine=BEEBOT时必填'."\n", 'type' => 'string', 'example' => 'chatbot-cn-MQuyjjb666'], + 'AgentKey' => ['description' => '对话机器人AgentKey'."\n" + .'当前场景 NluEngine=BEEBOT 时必填'."\n", 'type' => 'string', 'example' => '1309723684579735_p_beebot_public'], + 'FunctionMeta' => [ + 'description' => '函数计算配置'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => '函数服务所在地域'."\n" + .'当前场景NluEngine=FUNCTION时必填'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], + 'FunctionId' => ['description' => '函数服务ID'."\n" + .'当前场景NluEngine=FUNCTION时必填'."\n", 'type' => 'string', 'example' => '9b752bbb-805a-4d3e-9013-eab5555c3fef'], + 'FunctionName' => ['description' => '函数服务名称'."\n" + .'当前场景NluEngine=FUNCTION时必填'."\n", 'type' => 'string', 'example' => 'my_function'], + 'HttpTriggerUrl' => ['description' => '函数触发器URL'."\n" + .'当前场景NluEngine=FUNCTION时必填'."\n", 'type' => 'string', 'example' => 'http://chat-xxxxx-v-yewiundukb.cn-hangzhou-xxx.run'], + 'HttpTriggerName' => ['description' => '函数触发器名称'."\n" + .'当前场景NluEngine=FUNCTION时必填'."\n", 'type' => 'string', 'example' => 'defaultTrigger'], + ], + ], + 'Model' => ['description' => '对话模型'."\n" + .'当前场景NluEngine=PROMPTS时必填'."\n", 'type' => 'string', 'example' => 'qwen-plus'], + 'AgentProfile' => [ + 'description' => '对话 Agent 配置', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => '**场景模版ID**'."\n", 'type' => 'string', 'example' => 'CCC_PROMPTS_DEFAULT'], + 'PromptsJson' => ['description' => '**提示词json**'."\n", 'type' => 'string', 'example' => '{\\"prompts\\":\\"我是一个聊天机器人。\\"}'], + 'Name' => ['description' => '对话 Agent 名称', 'type' => 'string', 'example' => 'test agent'], + 'Description' => ['description' => '对话 Agent 描述', 'type' => 'string', 'example' => '用于测试'], + ], + ], + 'NluAccessProfile' => [ + 'description' => '**关联配置**'."\n", + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方对话模型配置 ID'."\n", 'type' => 'string', 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718'], + ], + ], + 'OmniModel' => ['description' => '是否为Omni模型'."\n", 'type' => 'boolean', 'example' => 'true'], + 'NluAccessType' => ['description' => '对话模型调用方式'."\n", 'type' => 'string', 'example' => 'MANAGED'], + 'NluEngine' => ['description' => 'Nlu引擎', 'type' => 'string', 'example' => 'BEEBOT'], + ], + ], + 'InteractionConfig' => [ + 'description' => '交互配置'."\n", + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置'."\n", + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '静默超时时间,单位毫秒。\\'."\n" + .'用户静默超过设定值时,播报静默超时话术。\\'."\n" + .'范围 2000~10000。', 'type' => 'integer', 'format' => 'int32', 'example' => '5000'], + 'MaxRepeats' => ['description' => '连续静默轮次挂机\\'."\n" + .'当前场景 NluEngine=PROMPTS 时生效', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + ], + ], + 'EndConversationConfig' => [ + 'description' => '挂机配置', + 'type' => 'object', + 'properties' => [ + 'Delay' => ['description' => '挂机话术播报完成 x 秒后,执行挂机动作。 范围 0~5', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Triggers' => [ + 'description' => '特殊情况拦截', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TriggerType' => ['description' => '- **TurnLimit**:最多交互轮次判断;'."\n" + .'- **IntelligentVoiceAssistant**:语音助手;'."\n" + .'- **InteractiveVoiceResponse**:分机号转接;'."\n" + .'- **KeyWords**:自定义拦截'."\n", 'type' => 'string', 'example' => 'TurnLimit'], + 'TurnLimit' => ['description' => '- 当交互轮次超过x轮时,执行挂机。'."\n" + .'- 范围0~100。'."\n" + .'- 等于0表示不开启超出轮次挂机。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'ClosingStatement' => ['description' => '- 达到轮次上限,执行挂机时的播报话术。'."\n", 'type' => 'string', 'example' => '感谢您的接听,祝您生活愉快,再见!'], + 'KeyWords' => [ + 'description' => '- 自定义拦截关键词列表'."\n", + 'type' => 'array', + 'items' => ['description' => '自定义拦截关键词', 'type' => 'string', 'example' => '机器人助理'], + ], + ], + 'description' => '', + ], + ], + ], + ], + 'InitialGreetingDelayMilliseconds' => ['description' => '- 接通后,延迟放音时间'."\n" + .'- 单位毫秒'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'BackgroundMusicId' => ['description' => '背景音ID'."\n", 'type' => 'string', 'example' => 'office-ambience'], + ], + ], + 'LabelConfig' => [ + 'description' => '自定义标签配置'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '标签名称'."\n", 'type' => 'string', 'example' => '是否同意还款'], + 'Description' => ['description' => '标签描述'."\n", 'type' => 'string', 'example' => '用户是否同意于还款截止日期前还款'], + 'CandidateValues' => [ + 'description' => '标签可选值列表', + 'type' => 'array', + 'items' => ['description' => '标签可选值', 'type' => 'string', 'example' => '同意'], + ], + ], + 'description' => '', + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取场景脚本配置', + 'summary' => '用于获取指定场景的草稿版本和已发布版本的详细配置信息。', + 'description' => '## 请求说明'."\n" + .'- 该 API 主要用于查询特定场景下的脚本配置详情,包括 ASR、TTS 和对话能力等多方面的设置。'."\n" + .'- 请求时无需提供额外参数,响应将包含草稿版与正式发布的配置数据。'."\n" + .'- 注意检查返回的 `Data` 字段以获取详细的配置信息。'."\n", + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"RequestId\\": \\"51E08AA9-8D1F-55F8-84A3-40635E2F0806\\",\\n \\"Data\\": {\\n \\"ScriptId\\": \\"64241e64-190c-45d1-af66-06f51c07b090\\",\\n \\"Name\\": \\"测试场景\\",\\n \\"Description\\": \\"test script\\",\\n \\"Concurrency\\": 10,\\n \\"CreatedTime\\": 1773228988000,\\n \\"UpdatedTime\\": 1773228988000,\\n \\"NluEngine\\": \\"BEEBOT\\",\\n \\"Status\\": \\"DRAFT\\",\\n \\"DraftVersion\\": {\\n \\"VersionId\\": \\"0c4f978a-73bb-4841-bd84-75c0398edd4e\\",\\n \\"TranscriberConfig\\": {\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"0c4f978a-73bb-4841-bd84-75c0398edd4f\\"\\n },\\n \\"VocabularyId\\": \\"0c4f978a-73bb-4841-bd84-75c0398edd5f\\",\\n \\"EndSilenceTimeout\\": 500,\\n \\"CustomizationId\\": \\"0c4f978a-73bb-4841-bd84-75c0398edd6f\\",\\n \\"SpeechNoiseThreshold\\": \\"0\\",\\n \\"Model\\": \\"Paraformer\\",\\n \\"CorrectionRules\\": [\\n {\\n \\"Pattern\\": \\"\\",\\n \\"Replacement\\": \\"\\"\\n }\\n ]\\n },\\n \\"SynthesizerConfig\\": {\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"Model\\": \\"CosyVoice\\",\\n \\"Voice\\": \\"longanyang\\",\\n \\"SpeechRate\\": 0,\\n \\"Volume\\": 50,\\n \\"PitchRate\\": 0,\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"0c4f978a-73bb-4841-bd84-75c0398edd4f\\"\\n },\\n \\"PronRules\\": [\\n {\\n \\"Pattern\\": \\"还钱\\",\\n \\"Replacement\\": \\"环钱\\"\\n }\\n ]\\n },\\n \\"ScriptProfile\\": {\\n \\"ChatbotId\\": \\"chatbot-cn-MQuyjjb666\\",\\n \\"AgentKey\\": \\"1309723684579735_p_beebot_public\\",\\n \\"FunctionMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FunctionId\\": \\"9b752bbb-805a-4d3e-9013-eab5555c3fef\\",\\n \\"FunctionName\\": \\"my_funciton\\",\\n \\"HttpTriggerUrl\\": \\"http://chat-xxxxx-v-yewiundukb.cn-hangzhou-xxx.run\\",\\n \\"HttpTriggerName\\": \\"defaultTrigger\\"\\n },\\n \\"Model\\": \\"qwen-plus\\",\\n \\"AgentProfile\\": {\\n \\"ScriptProfileTemplateId\\": \\"CCC_PROMPTS_DEFAULT\\",\\n \\"PromptsJson\\": \\"{\\\\\\\\\\\\\\"prompts\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"我是一个聊天机器人。\\\\\\\\\\\\\\"}\\"\\n },\\n \\"NluAccessProfile\\": {\\n \\"AccessProfileId\\": \\"c2c9baae-9351-4c49-a8cb-6f24a83a8718\\"\\n },\\n \\"OmniModel\\": true,\\n \\"NluAccessType\\": \\"MANAGED\\",\\n \\"NluEngine\\": \\"BEEBOT\\"\\n },\\n \\"InteractionConfig\\": {\\n \\"SilenceDetectionConfig\\": {\\n \\"Timeout\\": 5000,\\n \\"MaxRepeats\\": 3\\n },\\n \\"EndConversationConfig\\": {\\n \\"Delay\\": 1,\\n \\"Triggers\\": [\\n {\\n \\"TriggerType\\": \\"TurnLimit\\",\\n \\"TurnLimit\\": 20,\\n \\"ClosingStatement\\": \\"感谢您的接听,祝您生活愉快,再见!\\",\\n \\"KeyWords\\": [\\n \\"机器人助理\\"\\n ]\\n }\\n ]\\n },\\n \\"InitialGreetingDelayMilliseconds\\": 2000,\\n \\"BackgroundMusicId\\": \\"office-ambience\\"\\n },\\n \\"LabelConfig\\": [\\n {\\n \\"Name\\": \\"是否同意还款\\",\\n \\"Description\\": \\"用户是否同意于还款截止日期前还款\\",\\n \\"CandidateValues\\": [\\n \\"同意\\"\\n ]\\n }\\n ]\\n },\\n \\"PublishedVersion\\": {\\n \\"VersionId\\": \\"8b77ff09-6a90-4784-8560-fdc2b860dc68\\",\\n \\"TranscriberConfig\\": {\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"c2c9baae-9351-4c49-a8cb-6f24a83a8718\\"\\n },\\n \\"VocabularyId\\": \\"cd97223f-42f2-4cd9-95af-e734e2fe1fe3\\",\\n \\"EndSilenceTimeout\\": 700,\\n \\"CustomizationId\\": \\"cd97223f-42f2-4cd9-95af-e734e2fe1fe4\\",\\n \\"SpeechNoiseThreshold\\": \\"0\\",\\n \\"Model\\": \\"Paraformer\\",\\n \\"CorrectionRules\\": [\\n {\\n \\"Pattern\\": \\"\\",\\n \\"Replacement\\": \\"\\"\\n }\\n ]\\n },\\n \\"SynthesizerConfig\\": {\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"Model\\": \\"CosyVoice\\",\\n \\"Voice\\": \\"longanyang\\",\\n \\"SpeechRate\\": 0,\\n \\"Volume\\": 50,\\n \\"PitchRate\\": 0,\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"c2c9baae-9351-4c49-a8cb-6f24a83a8718\\"\\n },\\n \\"PronRules\\": [\\n {\\n \\"Pattern\\": \\"还钱\\",\\n \\"Replacement\\": \\"环钱\\"\\n }\\n ]\\n },\\n \\"ScriptProfile\\": {\\n \\"ChatbotId\\": \\"chatbot-cn-MQuyjjb666\\",\\n \\"AgentKey\\": \\"1309723684579735_p_beebot_public\\",\\n \\"FunctionMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FunctionId\\": \\"9b752bbb-805a-4d3e-9013-eab5555c3fef\\",\\n \\"FunctionName\\": \\"my_function\\",\\n \\"HttpTriggerUrl\\": \\"http://chat-xxxxx-v-yewiundukb.cn-hangzhou-xxx.run\\",\\n \\"HttpTriggerName\\": \\"defaultTrigger\\"\\n },\\n \\"Model\\": \\"qwen-plus\\",\\n \\"AgentProfile\\": {\\n \\"ScriptProfileTemplateId\\": \\"CCC_PROMPTS_DEFAULT\\",\\n \\"PromptsJson\\": \\"{\\\\\\\\\\\\\\"prompts\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"我是一个聊天机器人。\\\\\\\\\\\\\\"}\\",\\n \\"Name\\": \\"test agent\\",\\n \\"Description\\": \\"用于测试\\"\\n },\\n \\"NluAccessProfile\\": {\\n \\"AccessProfileId\\": \\"c2c9baae-9351-4c49-a8cb-6f24a83a8718\\"\\n },\\n \\"OmniModel\\": true,\\n \\"NluAccessType\\": \\"MANAGED\\",\\n \\"NluEngine\\": \\"BEEBOT\\"\\n },\\n \\"InteractionConfig\\": {\\n \\"SilenceDetectionConfig\\": {\\n \\"Timeout\\": 5000,\\n \\"MaxRepeats\\": 3\\n },\\n \\"EndConversationConfig\\": {\\n \\"Delay\\": 1,\\n \\"Triggers\\": [\\n {\\n \\"TriggerType\\": \\"TurnLimit\\",\\n \\"TurnLimit\\": 20,\\n \\"ClosingStatement\\": \\"感谢您的接听,祝您生活愉快,再见!\\",\\n \\"KeyWords\\": [\\n \\"机器人助理\\"\\n ]\\n }\\n ]\\n },\\n \\"InitialGreetingDelayMilliseconds\\": 2000,\\n \\"BackgroundMusicId\\": \\"office-ambience\\"\\n },\\n \\"LabelConfig\\": [\\n {\\n \\"Name\\": \\"是否同意还款\\",\\n \\"Description\\": \\"用户是否同意于还款截止日期前还款\\",\\n \\"CandidateValues\\": [\\n \\"同意\\"\\n ]\\n }\\n ]\\n }\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'GetScriptTrendingReport' => [ + 'summary' => '获取场景指标趋势图。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '891264b9-5883-4068-94a6-241ceb8d51e4'], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => '统计开始时间, 参数值应为毫秒级Unix 时间戳,表示自 1970-01-01 00:00:00 UTC 起经过的毫秒数。需要满足下面几个约束:'."\n" + ."\n" + .'1. 有效起始边界:最早可追溯至当前日期前365个自然日的00:00:00 时刻'."\n" + .'2. 时间粒度对齐要求,小时级查询时分钟、秒、毫秒位必须为 0,天级查询时小时、分钟、秒、毫秒位必须为 0'."\n" + .'3. 若传入时间戳未按对应粒度对齐,服务端将自动向上取整', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1582267398628'], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => '统计结束时间, 参数值应为毫秒级Unix时间戳,表示自 1970-01-01 00:00:00 UTC 起经过的毫秒数。需要满足下面几个约束:'."\n" + ."\n" + .'1. 时间范围约束:小时级查询时 7 天,天级查询时 180 天 '."\n" + .'2. 时间粒度对齐要求,小时级查询时分钟、秒、毫秒位必须为 0,天级查询时小时、分钟、秒、毫秒位必须为 0 若传入时间戳未按对应粒度对齐,服务端将自动向上取整', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1582103299434'], + ], + [ + 'name' => 'TimeInterval', + 'in' => 'formData', + 'schema' => ['description' => '时间间隔。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1d'], + ], + ], + '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' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '内部错误码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'get upload tool url success'], + 'Data' => [ + 'description' => '场景模版对象', + 'type' => 'array', + 'items' => [ + 'description' => '创建的场景ID', + 'type' => 'object', + 'properties' => [ + 'StatsTime' => ['description' => '开始时间,格式为Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1774881208361'], + 'UsedConcurrency' => ['description' => '占用的最大并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ConfiguredConcurrency' => ['description' => '最新的配置并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'CallsOffered' => ['description' => '会话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'CallsHandled' => ['description' => '会话应答量。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + 'CallsRejected' => ['description' => '会话被拒量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'CallsResolved' => ['description' => '会话解决量,来自大模型评估结果。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'TotalInputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalOutputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTalkTime' => ['description' => '总通话时长,单位是 ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'MaxTalkTime' => ['description' => '最大通话时长,单位是 ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'RejectionBreakdown' => ['description' => '拒接原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "ConcurrentLimitExceeded":3'."\n" + .'}'], + 'ReleaseReasonBreakdown' => ['description' => '接通之后挂断原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "SilenceTimeout":1,'."\n" + .' "TurnsLimitExceeded":1,'."\n" + .' "Exception":1,'."\n" + .' "Transferred":1,'."\n" + .' "Normal":1'."\n" + .'}'], + 'LabelBreakDown' => ['description' => '标签分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "label1":{ '."\n" + .' "label1_sub1":10,'."\n" + .' "label1_sub2":2'."\n" + .'}'."\n" + .'}'], + 'TalkTurnsDistribution' => ['description' => '对话轮次分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "1":2,'."\n" + .' "10":3'."\n" + .'}'], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '[\'zhenhyuantest\']'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取场景指标趋势图', + 'description' => '## 请求说明'."\n" + .'- 该 API 主要用于查询特定场景下的脚本配置详情,包括 ASR、TTS 和对话能力等多方面的设置。'."\n" + .'- 请求时无需提供额外参数,响应将包含草稿版与正式发布的配置数据。'."\n" + .'- 注意检查返回的 `Data` 字段以获取详细的配置信息。'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetScriptTrendingReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"get upload tool url success\\",\\n \\"Data\\": [\\n {\\n \\"StatsTime\\": 1774881208361,\\n \\"UsedConcurrency\\": 10,\\n \\"ConfiguredConcurrency\\": 13,\\n \\"CallsOffered\\": 10,\\n \\"CallsHandled\\": 7,\\n \\"CallsRejected\\": 3,\\n \\"CallsResolved\\": 3,\\n \\"TotalInputTokens\\": 0,\\n \\"TotalOutputTokens\\": 0,\\n \\"TotalTokens\\": 0,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 20,\\n \\"RejectionBreakdown\\": \\"{\\\\n \\\\\\"ConcurrentLimitExceeded\\\\\\":3\\\\n}\\",\\n \\"ReleaseReasonBreakdown\\": \\"{\\\\n \\\\\\"SilenceTimeout\\\\\\":1,\\\\n \\\\\\"TurnsLimitExceeded\\\\\\":1,\\\\n \\\\\\"Exception\\\\\\":1,\\\\n \\\\\\"Transferred\\\\\\":1,\\\\n \\\\\\"Normal\\\\\\":1\\\\n}\\",\\n \\"LabelBreakDown\\": \\"{\\\\n \\\\\\"label1\\\\\\":{ \\\\n \\\\\\"label1_sub1\\\\\\":10,\\\\n \\\\\\"label1_sub2\\\\\\":2\\\\n}\\\\n}\\",\\n \\"TalkTurnsDistribution\\": \\"{\\\\n \\\\\\"1\\\\\\":2,\\\\n \\\\\\"10\\\\\\":3\\\\n}\\"\\n }\\n ],\\n \\"Params\\": [\\n \\"[\'zhenhyuantest\']\\"\\n ]\\n}","type":"json"}]', + ], + 'GetSubscription' => [ + 'summary' => '获取MQ配置', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '19ac2375-53e3-477f-abe9-6cd334227981'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Data' => [ + 'description' => '订阅信息', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'Disabled' => [ + 'description' => '是否禁用:0-启用,1-禁用', + 'type' => 'boolean', + 'enumValueTitles' => ['0', '1'], + 'example' => '0', + ], + 'MqType' => [ + 'description' => '消息推送类型', + 'type' => 'string', + 'enumValueTitles' => ['ROCKET_MQ_4' => 'ROCKET_MQ_4', 'ROCKET_MQ_5' => 'ROCKET_MQ_5'], + 'example' => 'ROCKET_MQ_4', + ], + 'Endpoint' => ['description' => '接入点(使用ROCKET_MQ_4、ROCKET_MQ_5时必填)', 'type' => 'string', 'example' => 'rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080'], + 'Topic' => ['description' => '队列topic(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'example' => 'test'], + 'UserName' => ['description' => '用户名(使用 ROCKET_MQ_5时必填)', 'type' => 'string', 'example' => 'username'], + 'Password' => ['description' => '密码(使用 ROCKET_MQ_5时必填)', 'type' => 'string', 'example' => 'pwd'], + 'MqInstanceId' => ['description' => 'MQ实例ID(使用 ROCKET_MQ_5时必填)', 'type' => 'string', 'example' => 'rmq-cn-l4p89zajz67.cn'], + 'ProducerId' => ['description' => '生产者标识(使用 ROCKET_MQ_4时必填)', 'type' => 'string', 'example' => 'user1'], + 'EventList' => [ + 'description' => '订阅事件列表', + 'type' => 'array', + 'items' => [ + 'description' => '订阅事件对象', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '订阅内容', 'type' => 'string', 'example' => 'Released'], + 'DisplayName' => ['description' => '订阅内容显示名称', 'type' => 'string', 'example' => '通话结束'], + 'Disabled' => [ + 'description' => '是否推送', + 'type' => 'boolean', + 'enumValueTitles' => ['false' => 'false', 'true' => 'true'], + 'example' => 'false', + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取消息订阅配置信息', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Data\\": {\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"Disabled\\": true,\\n \\"MqType\\": \\"ROCKET_MQ_4\\",\\n \\"Endpoint\\": \\"rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080\\",\\n \\"Topic\\": \\"test\\",\\n \\"UserName\\": \\"username\\",\\n \\"Password\\": \\"pwd\\",\\n \\"MqInstanceId\\": \\"rmq-cn-l4p89zajz67.cn\\",\\n \\"ProducerId\\": \\"user1\\",\\n \\"EventList\\": [\\n {\\n \\"Name\\": \\"Released\\",\\n \\"DisplayName\\": \\"通话结束\\",\\n \\"Disabled\\": false\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'GetVocabulary' => [ + 'summary' => '获取实例详情', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => '热词ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4061'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '97E7ED13-6884-52D7-B97E-C780D7870680'], + 'Data' => [ + 'description' => '热词对象', + 'type' => 'object', + 'properties' => [ + 'VocabularyId' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Name' => ['description' => '热词名称', 'type' => 'string', 'example' => '金融场景热词'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '包含金融场景专业术语'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773453676000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773453676000'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'TenantId' => ['description' => '租户 ID', 'type' => 'string', 'example' => '1308144684576655'], + 'WordCount' => ['description' => '热词数量', 'type' => 'string', 'example' => '50'], + 'Words' => ['description' => '热词', 'type' => 'string', 'example' => '{\\"苹果\\":\\"2\\",\\"香蕉\\":\\"3\\"}'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取热词信息', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"RequestId\\": \\"97E7ED13-6884-52D7-B97E-C780D7870680\\",\\n \\"Data\\": {\\n \\"VocabularyId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Name\\": \\"金融场景热词\\",\\n \\"Description\\": \\"包含金融场景专业术语\\",\\n \\"CreatedTime\\": 1773453676000,\\n \\"UpdatedTime\\": 1773453676000,\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"TenantId\\": \\"1308144684576655\\",\\n \\"WordCount\\": \\"50\\",\\n \\"Words\\": \\"{\\\\\\\\\\\\\\"苹果\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"香蕉\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3\\\\\\\\\\\\\\"}\\"\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ImportVocabulary' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => ['description' => '上传文件路径', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vocabulary/热词导入单元测试.zip'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '热词ID列表', + 'type' => 'array', + 'items' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '导入热词', + 'summary' => '导入热词', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66b\\"\\n ],\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListBackgroundMusics' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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' => '20'], + 'BackgroundMusics' => [ + 'description' => '背景音列表', + 'type' => 'array', + 'items' => [ + 'description' => '背景音', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '3258b551-4847-45fa-bbd8-838d90b90080'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '办公氛围'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取背景音列表', + 'summary' => '获取背景音列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 20,\\n \\"BackgroundMusics\\": [\\n {\\n \\"Id\\": \\"3258b551-4847-45fa-bbd8-838d90b90080\\",\\n \\"Name\\": \\"办公氛围\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListCallCenterProviders' => [ + 'summary' => '系统管理-人工服务提供商管理-查询。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例列表', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ProviderId', + 'in' => 'formData', + 'schema' => ['description' => '人工服务提供商 id', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxxxx'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'minimum' => '1', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], + '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'], + 'Providers' => [ + 'description' => '人工服务提供商', + 'type' => 'array', + 'items' => [ + 'description' => '人工服务提供商', + 'type' => 'object', + 'properties' => [ + 'ProviderId' => ['description' => '人工服务提供商 id', 'type' => 'string', 'example' => 'xxxxxxxxx'], + 'InstanceId' => ['description' => '实例列表', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + 'ProviderType' => [ + 'description' => '提供商类型'."\n" + .'> '."\n" + .'> - CCC:云联络中心'."\n" + .'>- CUSTOM:客户自有联络中心', + 'type' => 'string', + 'enumValueTitles' => ['CCC' => '云联络中心', 'CUSTOM' => '客户自有联络中心'], + 'example' => 'CCC', + ], + 'Name' => ['description' => '服务提供商名称', 'type' => 'string', 'example' => '云联络中心内部服务提供商'], + 'DisplayName' => ['description' => '服务提供商显示名称', 'type' => 'string', 'example' => '云联络中心内部服务提供商'], + 'ReferTo' => ['description' => 'Refer 地址><notice>当转接方式为Refer时需要配置Refer地址。></notice>', 'type' => 'string', 'example' => '-'], + 'TrunkId' => ['description' => '线路ID', 'type' => 'string', 'example' => 'trunk-xxx'], + 'Originator' => ['description' => '当转接方式为Bridge时需要配置转接时的主叫号码。', 'type' => 'string', 'example' => '010****'], + 'Destination' => ['description' => '当转接方式为Bridge时需要配置转接时的被叫号码。', 'type' => 'string', 'example' => '153*********'], + 'Extras' => ['description' => '随路数据'."\n" + .'><notice>格式:k1=v1;k2=v2></notice>', 'type' => 'string', 'example' => 'key1=value1'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '错误参数。', 'type' => 'string', 'example' => '[]'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '列表查询人工服务提供商', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListCallCenterProviders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75BAAB9B-40B2-5FF5-A59A-7BCF8154C6EE\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Providers\\": [\\n {\\n \\"ProviderId\\": \\"xxxxxxxxx\\",\\n \\"InstanceId\\": \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\",\\n \\"ProviderType\\": \\"CCC\\",\\n \\"Name\\": \\"云联络中心内部服务提供商\\",\\n \\"DisplayName\\": \\"云联络中心内部服务提供商\\",\\n \\"ReferTo\\": \\"-\\",\\n \\"TrunkId\\": \\"trunk-xxx\\",\\n \\"Originator\\": \\"010****\\",\\n \\"Destination\\": \\"153*********\\",\\n \\"Extras\\": \\"key1=value1\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + ], + 'ListCallDetailRecords' => [ + 'summary' => '获取通话列表。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '20'], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => '会话开始时间', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1774858849987', 'maxLength' => 32], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => '会话结束时间。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1582103299434'], + ], + [ + 'name' => 'SessionIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '会话ID列表。'."\n" + ."\n" + .'> 数据格式为JSONArray,例如\\[会话ID1,会话ID2\\],会话ID间用英文逗号(,)分隔。', + 'type' => 'array', + 'items' => ['description' => '会话ID列表。'."\n" + ."\n" + .'> 数据格式为JSONArray,例如\\[会话ID1,会话ID2\\],会话ID间用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '[552276253]'], + 'required' => false, + ], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + [ + 'name' => 'Caller', + 'in' => 'formData', + 'schema' => ['description' => '主叫号码', 'type' => 'string', 'required' => false, 'example' => '09876543210,'], + ], + [ + 'name' => 'Callee', + 'in' => 'formData', + 'schema' => ['description' => '被叫号码。', 'type' => 'string', 'required' => false, 'example' => '18104560087'], + ], + [ + 'name' => 'DispositionCodes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '联络结果代码列表。', + 'type' => 'array', + 'items' => ['description' => '联络结果代码。', 'type' => 'string', 'required' => false, 'example' => '[Answered]'], + 'required' => false, + ], + ], + [ + 'name' => 'DispositionReasons', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '联络结果描述列表。', + 'type' => 'array', + 'items' => ['description' => '联络结果描述。', 'type' => 'string', 'required' => false, 'example' => '[SilenceTimeout]'], + 'required' => false, + ], + ], + [ + 'name' => 'MinTalkTurns', + 'in' => 'query', + 'schema' => ['description' => '最小对话轮次。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '1'], + ], + [ + 'name' => 'MaxTalkTurns', + 'in' => 'query', + 'schema' => ['description' => '最大对话轮次。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'AccessChannelId', + 'in' => 'query', + 'schema' => ['description' => '访问渠道ID。', 'type' => 'string', 'required' => false, 'example' => '33606503-c22c-4547-a51c-dda5e8d87962'], + ], + [ + 'name' => 'AccessChannelType', + 'in' => 'query', + 'schema' => ['description' => '访问渠道类型。', 'type' => 'string', 'required' => false, 'example' => 'PSTN'], + ], + [ + 'name' => 'DraftVersion', + 'in' => 'query', + 'schema' => ['description' => '是否草稿版本。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'IssueResolved', + 'in' => 'query', + 'schema' => ['description' => '客户问题是否解决。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + ], + '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' => 'A8AED3C8-F57B-5D71-9A34-4A170287533F'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'SUCCESS'], + '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' => '362'], + 'CallDetailRecords' => [ + 'description' => '通话列表。', + 'type' => 'array', + 'items' => [ + 'description' => '对象列表', + 'type' => 'object', + 'properties' => [ + 'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => '99eebcba-7f8a-4a54-b0da-603ada79d8e2'], + 'StartTime' => ['description' => '会话开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1767315903531'], + 'EndTime' => ['description' => '会话时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1767315903531'], + 'Caller' => ['description' => '主叫号码。', 'type' => 'string', 'example' => '4001027277'], + 'Callee' => ['description' => '被叫号码。', 'type' => 'string', 'example' => '15100000001'], + 'DispositionCode' => ['description' => '联络结果代码。', 'type' => 'string', 'example' => 'Answered'], + 'DispositionReason' => ['description' => '联络结果情况。', 'type' => 'string', 'example' => 'ConcurrentLimitExceeded'], + 'ReleaseInitiator' => ['description' => '挂断方。', 'type' => 'string', 'example' => 'Customer'], + 'TransferType' => ['description' => '转接目标。', 'type' => 'string', 'example' => 'Agent'], + 'TransferTarget' => ['description' => '转接目标。', 'type' => 'string', 'example' => 'default@testinstance1'], + 'TalkTurns' => ['description' => '对话轮次。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TalkTime' => ['description' => '通话时间,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '245'], + 'Duration' => ['description' => '会话时长。单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '265'], + 'IssueResolved' => ['description' => '客户问题是否解决。', 'type' => 'boolean', 'example' => 'false'], + 'ResolutionEvidence' => ['description' => '判断依据。', 'type' => 'string', 'example' => 'unknown'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '错误参数列表。', 'type' => 'string', 'example' => '[]'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取通话列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8AED3C8-F57B-5D71-9A34-4A170287533F\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 362,\\n \\"CallDetailRecords\\": [\\n {\\n \\"SessionId\\": \\"99eebcba-7f8a-4a54-b0da-603ada79d8e2\\",\\n \\"StartTime\\": 1767315903531,\\n \\"EndTime\\": 1767315903531,\\n \\"Caller\\": \\"4001027277\\",\\n \\"Callee\\": \\"15100000001\\",\\n \\"DispositionCode\\": \\"Answered\\",\\n \\"DispositionReason\\": \\"ConcurrentLimitExceeded\\",\\n \\"ReleaseInitiator\\": \\"Customer\\",\\n \\"TransferType\\": \\"Agent\\",\\n \\"TransferTarget\\": \\"default@testinstance1\\",\\n \\"TalkTurns\\": 1,\\n \\"TalkTime\\": 245,\\n \\"Duration\\": 265,\\n \\"IssueResolved\\": false,\\n \\"ResolutionEvidence\\": \\"unknown\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + ], + 'ListCloneVoice' => [ + 'summary' => '获取实例详情', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '状态', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['Draft' => 'Draft', 'Published' => 'Published'], + 'example' => 'Published', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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'], + 'CloneVoices' => [ + 'description' => '克隆音列表', + 'type' => 'array', + 'items' => [ + 'description' => '克隆音对象', + 'type' => 'object', + 'properties' => [ + 'CloneVoiceId' => ['description' => '克隆音ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1764900994000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1764900994000'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'TenantId' => ['description' => '租户ID', 'type' => 'string', 'example' => '1308144684576655'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34'], + 'Name' => ['description' => '克隆音名称', 'type' => 'string', 'example' => '测试克隆音'], + 'NlsEngine' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'BAILIAN', + ], + 'Status' => [ + 'description' => '状态', + 'type' => 'string', + 'enumValueTitles' => ['Draft' => 'Draft', 'Published' => 'Published'], + 'example' => 'Published', + ], + 'Model' => [ + 'description' => '克隆模型', + 'type' => 'string', + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'QwenVc' => 'QwenVc'], + 'example' => 'CosyVoice', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取克隆音列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"CloneVoices\\": [\\n {\\n \\"CloneVoiceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1764900994000,\\n \\"UpdatedTime\\": 1764900994000,\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"TenantId\\": \\"1308144684576655\\",\\n \\"Voice\\": \\"cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34\\",\\n \\"Name\\": \\"测试克隆音\\",\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"Status\\": \\"Published\\",\\n \\"Model\\": \\"CosyVoice\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListCloneVoiceModels' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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' => '66'], + 'CloneVoiceModels' => [ + 'description' => '克隆音模型列表', + 'type' => 'array', + 'items' => [ + 'description' => '克隆音模型对象', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '模型名称', + 'type' => 'string', + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'QwenVc' => 'QwenVc'], + 'example' => 'CosyVoice', + ], + 'DisplayName' => [ + 'description' => '显示名称', + 'type' => 'string', + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'Qwen' => 'Qwen'], + 'example' => 'CosyVoice', + ], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '口音还原相似度高、韵律流畅'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取克隆音模型列表', + 'summary' => '获取克隆音色可用模型列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 66,\\n \\"CloneVoiceModels\\": [\\n {\\n \\"Name\\": \\"CosyVoice\\",\\n \\"DisplayName\\": \\"CosyVoice\\",\\n \\"Description\\": \\"口音还原相似度高、韵律流畅\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListHistoricalInstanceReport' => [ + 'summary' => '获取实例指标汇总数据。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号,限制最大值100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '个数,限制最大值是100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '20'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '实例ID。取值可以由多个实例ID组成一个JSON数组,最多支持100个ID,ID之间用半角逗号(,)隔开。', + 'type' => 'array', + 'items' => ['description' => '实例ID。取值可以由多个实例ID组成一个JSON数组,最多支持100个ID,ID之间用半角逗号(,)隔开。', 'type' => 'string', 'required' => false, 'example' => '123-3-42zeaa6vgd0i3a41v5aibr'], + 'required' => false, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => '统计开始时间,服务侧会按小时向上取整。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1775044800000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => '统计结束时间,服务侧会按小时向上取整。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1775131200000'], + ], + ], + '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' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + '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' => '20'], + 'List' => [ + 'description' => '数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '统计数据。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => '38d5fb05092b469e86b6061ad7945437'], + 'UsedConcurrency' => ['description' => '占用的最大并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'], + 'ConfiguredConcurrency' => ['description' => '最新的配置并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'CallsOffered' => ['description' => '会话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'CallsHandled' => ['description' => '会话应答量。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + 'CallsRejected' => ['description' => '会话被拒量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'CallsResolved' => ['description' => '会话解决量,来自大模型评估结果。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'TotalInputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalOutputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTalkTime' => ['description' => '总通话时长,单位是ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'MaxTalkTime' => ['description' => '最大通话时长,单位是ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'RejectionBreakdown' => ['description' => '拒接原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "ConcurrentLimitExceeded":3'."\n" + .'}'], + 'ReleaseReasonBreakdown' => ['description' => '接通之后挂断原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "SilenceTimeout":1,'."\n" + .' "TurnsLimitExceeded":1,'."\n" + .' "Exception":1,'."\n" + .' "Transferred":1,'."\n" + .' "Normal":1'."\n" + .'}'], + 'LabelBreakdown' => ['description' => '标签分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "label1":{ '."\n" + .' "label1_sub1":10,'."\n" + .' "label1_sub2":2'."\n" + .'}'."\n" + .'}'], + 'TalkTurnsDistribution' => ['description' => '对话轮次分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "1":2,'."\n" + .' "10":3'."\n" + .'}'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取实例指标汇总数据', + 'description' => '## 请求说明'."\n" + .'- 该 API 主要用于查询特定场景下的脚本配置详情,包括 ASR、TTS 和对话能力等多方面的设置。'."\n" + .'- 请求时无需提供额外参数,响应将包含草稿版与正式发布的配置数据。'."\n" + .'- 注意检查返回的 `Data` 字段以获取详细的配置信息。'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListHistoricalInstanceReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 20,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"38d5fb05092b469e86b6061ad7945437\\",\\n \\"UsedConcurrency\\": 11,\\n \\"ConfiguredConcurrency\\": 2,\\n \\"CallsOffered\\": 10,\\n \\"CallsHandled\\": 7,\\n \\"CallsRejected\\": 3,\\n \\"CallsResolved\\": 4,\\n \\"TotalInputTokens\\": 0,\\n \\"TotalOutputTokens\\": 0,\\n \\"TotalTokens\\": 0,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 20,\\n \\"RejectionBreakdown\\": \\"{\\\\n \\\\\\"ConcurrentLimitExceeded\\\\\\":3\\\\n}\\",\\n \\"ReleaseReasonBreakdown\\": \\"{\\\\n \\\\\\"SilenceTimeout\\\\\\":1,\\\\n \\\\\\"TurnsLimitExceeded\\\\\\":1,\\\\n \\\\\\"Exception\\\\\\":1,\\\\n \\\\\\"Transferred\\\\\\":1,\\\\n \\\\\\"Normal\\\\\\":1\\\\n}\\",\\n \\"LabelBreakdown\\": \\"{\\\\n \\\\\\"label1\\\\\\":{ \\\\n \\\\\\"label1_sub1\\\\\\":10,\\\\n \\\\\\"label1_sub2\\\\\\":2\\\\n}\\\\n}\\",\\n \\"TalkTurnsDistribution\\": \\"{\\\\n \\\\\\"1\\\\\\":2,\\\\n \\\\\\"10\\\\\\":3\\\\n}\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'ListHistoricalScriptReport' => [ + 'summary' => '获取场景指标汇总数据。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '20'], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + [ + 'name' => 'ScriptIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '场景ID列表,最多传入100个。', + 'type' => 'array', + 'items' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'example' => '[]'], + 'required' => false, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => '录音开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582267398628'], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582103299434'], + ], + ], + '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' => '9ab43460-c0b9-40e2-8447-48d82c97fc67'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Success'], + 'Data' => [ + 'description' => '克隆音ID', + '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' => '20'], + 'List' => [ + 'description' => '数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '场景统计数据。', + 'type' => 'object', + 'properties' => [ + 'ScriptId' => ['description' => '场景ID', 'type' => 'string', 'example' => '891264b9-5883-4068-94a6-241ceb8d51e4'], + 'UsedConcurrency' => ['description' => '占用的最大并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'ConfiguredConcurrency' => ['description' => '最新的配置并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'CallsOffered' => ['description' => '会话进线量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'CallsHandled' => ['description' => '会话应答量。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + 'CallsRejected' => ['description' => '会话被拒量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'CallsResolved' => ['description' => '会话解决量,来自大模型评估结果。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'TotalInputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalOutputTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTokens' => ['description' => '暂时忽略。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalTalkTime' => ['description' => '总通话时长,单位是ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'MaxTalkTime' => ['description' => '最大通话时长,单位是ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'RejectionBreakdown' => ['description' => '拒接分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "ConcurrentLimitExceeded":3'."\n" + .'}'], + 'ReleaseReasonBreakdown' => ['description' => '接通之后挂断原因分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "SilenceTimeout":1,'."\n" + .' "TurnsLimitExceeded":1,'."\n" + .' "Exception":1,'."\n" + .' "Transferred":1,'."\n" + .' "Normal":1'."\n" + .'}'], + 'LabelDistribution' => ['description' => '标签分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "1":2,'."\n" + .' "10":3'."\n" + .'}'], + 'TalkTurnsDistribution' => ['description' => '对话轮次分布情况。', 'type' => 'string', 'example' => '{'."\n" + .' "1":2,'."\n" + .' "10":3'."\n" + .'}'."\n"], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取场景指标汇总数据', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListHistoricalScriptReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9ab43460-c0b9-40e2-8447-48d82c97fc67\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Success\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 20,\\n \\"List\\": [\\n {\\n \\"ScriptId\\": \\"891264b9-5883-4068-94a6-241ceb8d51e4\\",\\n \\"UsedConcurrency\\": 2,\\n \\"ConfiguredConcurrency\\": 3,\\n \\"CallsOffered\\": 10,\\n \\"CallsHandled\\": 7,\\n \\"CallsRejected\\": 3,\\n \\"CallsResolved\\": 4,\\n \\"TotalInputTokens\\": 0,\\n \\"TotalOutputTokens\\": 0,\\n \\"TotalTokens\\": 0,\\n \\"TotalTalkTime\\": 100,\\n \\"MaxTalkTime\\": 30,\\n \\"RejectionBreakdown\\": \\"{\\\\n \\\\\\"ConcurrentLimitExceeded\\\\\\":3\\\\n}\\",\\n \\"ReleaseReasonBreakdown\\": \\"{\\\\n \\\\\\"SilenceTimeout\\\\\\":1,\\\\n \\\\\\"TurnsLimitExceeded\\\\\\":1,\\\\n \\\\\\"Exception\\\\\\":1,\\\\n \\\\\\"Transferred\\\\\\":1,\\\\n \\\\\\"Normal\\\\\\":1\\\\n}\\",\\n \\"LabelDistribution\\": \\"{\\\\n \\\\\\"1\\\\\\":2,\\\\n \\\\\\"10\\\\\\":3\\\\n}\\",\\n \\"TalkTurnsDistribution\\": \\"{\\\\n \\\\\\"1\\\\\\":2,\\\\n \\\\\\"10\\\\\\":3\\\\n}\\\\n\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListInstructions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ProviderId', + 'in' => 'formData', + 'schema' => ['description' => '人工服务提供商 id'."\n" + .'>可通过ListCallCenterProviders 获取', 'type' => 'string', 'required' => false, 'example' => '********'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'minimum' => '1', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Success'], + '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'], + 'Instructions' => [ + 'description' => '指令列表', + 'type' => 'array', + 'items' => [ + 'description' => '指令', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + 'Type' => [ + 'description' => '指令类型', + 'type' => 'string', + 'enumValueTitles' => ['TRANSFER' => '转接', 'GATHER_DTMF' => '收号'], + 'example' => 'TRANSFER', + ], + 'Code' => ['description' => '指令编码', 'type' => 'string', 'example' => 'Transfer00'], + 'Name' => ['description' => '指令名称', 'type' => 'string', 'example' => '转人工指令一'], + 'Config' => ['description' => '指令配置'."\n" + ."\n" + .'> - providerId:人工服务提供商id,可通过ListCallCenterProviders 获取'."\n" + .'> - transferMethod:转接方式 (BYE,BRIDGE,REFER)'."\n" + .'>- transferType:转接目标类型 (External:外部号码, Agent:坐席,SkillGroup:技能组)'."\n" + .'>- transferTarget:转接目标'."\n" + .'>- transferor:主叫号码(为空则默认使用客户来电手机号码)'."\n" + .'>- timeoutSeconds:超时时间,单位:秒(转人工超时时间,默认 30 秒)', 'type' => 'string', 'example' => '{'."\n" + .' "providerId": "xxxxxxxxx",'."\n" + .' "transferMethod": "BYE",'."\n" + .' "transferType": "External",'."\n" + .' "transferTarget": "152******",'."\n" + .' "transferor": "01*****",'."\n" + .' "timeoutSeconds": "10"'."\n" + .'}'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '列表查询指令', + 'summary' => '数字员工-全局配置-查询指令。', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"e48e45dd-e47a-4744-a063-f08cbebb1c5a\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Success\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Instructions\\": [\\n {\\n \\"InstanceId\\": \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\",\\n \\"Type\\": \\"TRANSFER\\",\\n \\"Code\\": \\"Transfer00\\",\\n \\"Name\\": \\"转人工指令一\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"providerId\\\\\\": \\\\\\"xxxxxxxxx\\\\\\",\\\\n\\\\t\\\\\\"transferMethod\\\\\\": \\\\\\"BYE\\\\\\",\\\\n\\\\t\\\\\\"transferType\\\\\\": \\\\\\"External\\\\\\",\\\\n\\\\t\\\\\\"transferTarget\\\\\\": \\\\\\"152******\\\\\\",\\\\n\\\\t\\\\\\"transferor\\\\\\": \\\\\\"01*****\\\\\\",\\\\n\\\\t\\\\\\"timeoutSeconds\\\\\\": \\\\\\"10\\\\\\"\\\\n}\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\"\\n ]\\n}","type":"json"}]', + ], + 'ListLlmAccessProfiles' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'example' => '12f407b22cbe4890ac595f09985848d5'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'ED56B723-5802-5C32-865F-6E20B06D2455'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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'], + 'LlmAccessProfiles' => [ + 'description' => '三方模型配置列表', + 'type' => 'array', + 'items' => [ + 'description' => '三方模型配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '配置ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1768788798'], + 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => '8fe2b8b1cdd446318610ccbc70bcfff0'], + 'Profile' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '三方模型配置名称', 'type' => 'string', 'example' => '千问Omni'], + 'ApiKey' => ['description' => '三方模型的 API Key', 'type' => 'string', 'example' => 'akm-93929110-d7c1-4014-8678-613aacd58fa2'], + 'NluAccessType' => [ + 'description' => 'NLU访问类型', + 'type' => 'string', + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED', 'AUTHORIZED' => 'AUTHORIZED'], + 'example' => 'MANAGED', + ], + 'NluEngine' => [ + 'description' => 'NLU引擎', + 'type' => 'string', + 'enumValueTitles' => ['PROMPTS' => 'PROMPTS', 'BEEBOT' => 'BEEBOT', 'FUNCTION' => 'FUNCTION'], + 'example' => 'BEEBOT', + ], + 'Endpoint' => ['description' => '三方模型的接入点', 'type' => 'string', 'example' => 'api.llm.enpoint.example.com'], + ], + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取三方模型配置列表', + 'summary' => '获取语言模型配置信息', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED56B723-5802-5C32-865F-6E20B06D2455\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"LlmAccessProfiles\\": [\\n {\\n \\"AccessProfileId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1747620752000,\\n \\"UpdatedTime\\": 1768788798,\\n \\"InstanceId\\": \\"8fe2b8b1cdd446318610ccbc70bcfff0\\",\\n \\"Profile\\": {\\n \\"Name\\": \\"千问Omni\\",\\n \\"ApiKey\\": \\"akm-93929110-d7c1-4014-8678-613aacd58fa2\\",\\n \\"NluAccessType\\": \\"MANAGED\\",\\n \\"NluEngine\\": \\"BEEBOT\\",\\n \\"Endpoint\\": \\"api.llm.enpoint.example.com\\"\\n }\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListNluModels' => [ + 'summary' => '获取对话模型列表。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => [ + 'description' => '对话模型列表', + 'type' => 'array', + 'items' => [ + 'description' => '对话模型', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '模型ID', + 'type' => 'string', + 'enumValueTitles' => ['qwen-plus' => 'qwen-plus', 'qwen-turbo' => 'qwen-turbo', 'qwen3-omni-flash-realtime' => 'qwen3-omni-flash-realtime', 'qwen-max' => 'qwen-max'], + 'example' => 'qwen-plus', + ], + 'Name' => [ + 'description' => '模型名称', + 'type' => 'string', + 'enumValueTitles' => ['千问-Plus' => '千问-Plus', '千问- Max' => '千问- Max', '千问-Omni' => '千问-Omni', '千问-Turbo' => '千问-Turbo'], + 'example' => '千问-Plus', + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取对话大模型列表', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListNluModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"qwen-plus\\",\\n \\"Name\\": \\"千问-Plus\\"\\n }\\n ],\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListRealtimeInstanceStats' => [ + 'summary' => '获取实例实时统计数据。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '20'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '实例ID列表,可设置 1~100 个。', + 'type' => 'array', + 'items' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'example' => 'dxxx-1234-d-ddxxaeftjh-xxxakegh'], + 'required' => false, + ], + ], + ], + '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' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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' => '20'], + 'List' => [ + 'description' => '实例实时统计列表', + 'type' => 'array', + 'items' => [ + 'description' => '实例实时统计数据', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => '88b64330a8d34e63b60c9d272f8b3950'], + 'StatsTime' => ['description' => '统计时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1776837256000'], + 'UsedConcurrency' => ['description' => '占用的并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ConfiguredConcurrency' => ['description' => '已配置并发量。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表。', + 'type' => 'array', + 'items' => ['description' => '错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取实例实时统计数据', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ListRealtimeInstanceStats', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 20,\\n \\"List\\": [\\n {\\n \\"InstanceId\\": \\"88b64330a8d34e63b60c9d272f8b3950\\",\\n \\"StatsTime\\": 1776837256000,\\n \\"UsedConcurrency\\": 10,\\n \\"ConfiguredConcurrency\\": 12\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListScriptProfileTemplates' => [ + 'summary' => '获取场景配置模板列表', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'E6E61E1A-D2DC-5ACF-AED4-A115B6691F98'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Data' => [ + 'description' => '场景模版列表', + 'type' => 'array', + 'items' => [ + 'description' => '场景模版对象', + 'type' => 'object', + 'properties' => [ + 'TemplateId' => ['description' => '模板ID', 'type' => 'string', 'example' => 'CCC_PROMPTS_DEFAULT'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1752829090000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1752829090000'], + 'Name' => ['description' => '模版名称', 'type' => 'string', 'example' => '通用场景'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '从空白文档开始构建专业版对话提示词工程。'], + 'Schema' => ['description' => '模版定义', 'type' => 'string', 'example' => '{'."\n" + .' "name": "General",'."\n" + .' "properties": {'."\n" + .' "prompts": {'."\n" + .' "displayName": "指令信息",'."\n" + .' "dataType": "TEXT",'."\n" + .' "name": "prompts",'."\n" + .' "displayOrder": 1,'."\n" + .' "defaultValue": "你是一名亲切友好的聊天助手,专注中文自然对话。保持积极耐心,提供有益回应,避免敏感内容。未知问题请诚恳说明,营造轻松愉快的交流体验。",'."\n" + .' "attributes": {'."\n" + .' "placeholder": "你是一名亲切友好的聊天助手,专注中文自然对话。保持积极耐心,提供有益回应,避免敏感内容。未知问题请诚恳说明,营造轻松愉快的交流体验。",'."\n" + .' "rows": 20'."\n" + .' },'."\n" + .' "editorType": "MENTIONS_TEXTAREA",'."\n" + .' "maxLength": 2000,'."\n" + .' "required": true,'."\n" + .' "group": "业务描述"'."\n" + .' }'."\n" + .' }'."\n" + .'}'], + ], + ], + ], + 'Params' => [ + 'description' => '错误参数列表', + 'type' => 'array', + 'items' => ['description' => '错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取提示词场景模版列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E6E61E1A-D2DC-5ACF-AED4-A115B6691F98\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": [\\n {\\n \\"TemplateId\\": \\"CCC_PROMPTS_DEFAULT\\",\\n \\"CreatedTime\\": 1752829090000,\\n \\"UpdatedTime\\": 1752829090000,\\n \\"Name\\": \\"通用场景\\",\\n \\"Description\\": \\"从空白文档开始构建专业版对话提示词工程。\\",\\n \\"Schema\\": \\"{\\\\n \\\\\\"name\\\\\\": \\\\\\"General\\\\\\",\\\\n \\\\\\"properties\\\\\\": {\\\\n \\\\\\"prompts\\\\\\": {\\\\n \\\\\\"displayName\\\\\\": \\\\\\"指令信息\\\\\\",\\\\n \\\\\\"dataType\\\\\\": \\\\\\"TEXT\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"prompts\\\\\\",\\\\n \\\\\\"displayOrder\\\\\\": 1,\\\\n \\\\\\"defaultValue\\\\\\": \\\\\\"你是一名亲切友好的聊天助手,专注中文自然对话。保持积极耐心,提供有益回应,避免敏感内容。未知问题请诚恳说明,营造轻松愉快的交流体验。\\\\\\",\\\\n \\\\\\"attributes\\\\\\": {\\\\n \\\\\\"placeholder\\\\\\": \\\\\\"你是一名亲切友好的聊天助手,专注中文自然对话。保持积极耐心,提供有益回应,避免敏感内容。未知问题请诚恳说明,营造轻松愉快的交流体验。\\\\\\",\\\\n \\\\\\"rows\\\\\\": 20\\\\n },\\\\n \\\\\\"editorType\\\\\\": \\\\\\"MENTIONS_TEXTAREA\\\\\\",\\\\n \\\\\\"maxLength\\\\\\": 2000,\\\\n \\\\\\"required\\\\\\": true,\\\\n \\\\\\"group\\\\\\": \\\\\\"业务描述\\\\\\"\\\\n }\\\\n }\\\\n}\\"\\n }\\n ],\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListScripts' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '场景名称', 'type' => 'string', 'required' => false, 'example' => '导航测试场景'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '状态', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['PUBLISHED' => 'PUBLISHED', 'DRAFT' => 'DRAFT', 'PUBLISHED_DRAFT' => 'PUBLISHED_DRAFT'], + 'example' => 'DRAFT', + ], + ], + [ + 'name' => 'Number', + 'in' => 'formData', + 'schema' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13816111993'], + ], + [ + 'name' => 'ScriptIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '场景ID列表', + 'type' => 'array', + 'items' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BA092E9B-3421-5862-BC75-E646B7587531'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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' => '30'], + 'Scripts' => [ + 'description' => '场景列表', + 'type' => 'array', + 'items' => [ + 'description' => '场景对象', + 'type' => 'object', + 'properties' => [ + 'ScriptId' => ['description' => '场景ID', 'type' => 'string', 'example' => 'efbafa38-336d-4eb0-865e-c16c97a91772'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773228988000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773228988000'], + 'Name' => ['description' => '场景名称', 'type' => 'string', 'example' => '导航测试场景'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '用于测试'], + 'Concurrency' => ['description' => '并发数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'NluEngine' => ['description' => 'Nlu引擎', 'type' => 'string', 'example' => 'BEEBOT'], + 'NluAccessType' => ['description' => 'Nlu调用方式', 'type' => 'string', 'example' => 'MANAGED'], + 'DraftVersionId' => ['description' => '草稿版本ID', 'type' => 'string', 'example' => 'efbafa38-336d-4eb0-865e-c16c97a91773'], + 'PublishedVersionId' => ['description' => '发布版本ID', 'type' => 'string', 'example' => 'efbafa38-336d-4eb0-865e-c16c97a91774'], + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'DRAFT'], + 'Number' => ['description' => '号码', 'type' => 'string', 'example' => '13816111993'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'efbafa38-336d-4eb0-865e-c16c97a91775'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取场景列表', + 'summary' => '获取实例详情', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA092E9B-3421-5862-BC75-E646B7587531\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 30,\\n \\"Scripts\\": [\\n {\\n \\"ScriptId\\": \\"efbafa38-336d-4eb0-865e-c16c97a91772\\",\\n \\"CreatedTime\\": 1773228988000,\\n \\"UpdatedTime\\": 1773228988000,\\n \\"Name\\": \\"导航测试场景\\",\\n \\"Description\\": \\"用于测试\\",\\n \\"Concurrency\\": 10,\\n \\"NluEngine\\": \\"BEEBOT\\",\\n \\"NluAccessType\\": \\"MANAGED\\",\\n \\"DraftVersionId\\": \\"efbafa38-336d-4eb0-865e-c16c97a91773\\",\\n \\"PublishedVersionId\\": \\"efbafa38-336d-4eb0-865e-c16c97a91774\\",\\n \\"Status\\": \\"DRAFT\\",\\n \\"Number\\": \\"13816111993\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"efbafa38-336d-4eb0-865e-c16c97a91775\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVariable' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'c28fc549-d88f-4f6e-85ad-a0806e5e39c0'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'formData', + 'schema' => ['description' => '基于变量名称或者显示名称模糊检索', 'type' => 'string', 'required' => false, 'example' => 'age'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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'], + 'Variables' => [ + 'description' => '变量对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '变量对象', + 'type' => 'object', + 'properties' => [ + 'VariableId' => ['description' => '变量ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'Name' => ['description' => '变量名称', 'type' => 'string', 'example' => 'age'], + 'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => '年龄'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '用户当前年龄'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66c'], + 'TenantId' => ['description' => '租户 ID', 'type' => 'string', 'example' => '1308144684576655'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取变量列表', + 'summary' => '获取变量列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"d74d6290-7cbe-4436-b5d7-014ebb0f4060\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Variables\\": [\\n {\\n \\"VariableId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1754013825102,\\n \\"UpdatedTime\\": 1754013825102,\\n \\"Name\\": \\"age\\",\\n \\"DisplayName\\": \\"年龄\\",\\n \\"Description\\": \\"用户当前年龄\\",\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66c\\",\\n \\"TenantId\\": \\"1308144684576655\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVocabulary' => [ + 'summary' => '获取实例详情', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '热词名称', 'type' => 'string', 'required' => false, 'example' => '金融'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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'], + 'Vocabularies' => [ + 'description' => '热词对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '热词对象', + 'type' => 'object', + 'properties' => [ + 'VocabularyId' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'Name' => ['description' => '热词名称', 'type' => 'string', 'example' => '金融场景热词'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '包含金融场景专业术语'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'TenantId' => ['description' => '租户 ID', 'type' => 'string', 'example' => '1308144684576655'], + 'WordCount' => ['description' => '热词数量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取热词列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Vocabularies\\": [\\n {\\n \\"VocabularyId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1754013825102,\\n \\"UpdatedTime\\": 1754013825102,\\n \\"Name\\": \\"金融场景热词\\",\\n \\"Description\\": \\"包含金融场景专业术语\\",\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"TenantId\\": \\"1308144684576655\\",\\n \\"WordCount\\": 50\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVoiceAccessProfile' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => 'C1788610-93C9-574C-AF2D-C053A50C3894'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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' => '20'], + 'VoiceAccessProfiles' => [ + 'description' => '三方语音配置列表', + 'type' => 'array', + 'items' => [ + 'description' => '三方语音配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '配置ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000'], + 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'NlsEngine' => [ + 'description' => '语音引擎', + 'type' => 'string', + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'VOLC', + ], + 'NlsEngineName' => [ + 'description' => '显示名称', + 'type' => 'string', + 'enumValueTitles' => ['科大讯飞' => '科大讯飞', '阿里云百炼' => '阿里云百炼', '豆包' => '豆包'], + 'example' => '豆包', + ], + 'Profile' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '科大讯飞调用AppId', 'type' => 'string', 'example' => '5b123bfb'], + 'ApiKey' => ['description' => '百炼、科大讯飞调用ApiKey', 'type' => 'string', 'example' => 'sk-12341e259b1049e8872b47981e545f78'], + 'ApiSecret' => ['description' => '科大讯飞调用ApiSecret', 'type' => 'string', 'example' => 'c0358c6e51c1013b446fdeb21a3a1234'], + 'AppKey' => ['description' => '豆包调用AppKey', 'type' => 'string', 'example' => '2541370123'], + 'AccessKey' => ['description' => '豆包调用AccessKey', 'type' => 'string', 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9'], + 'AsrAppKey' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + 'TtsApiKey' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + ], + ], + 'Capabilities' => [ + 'description' => '语音引擎能力列表', + 'type' => 'array', + 'items' => [ + 'description' => '语音引擎能力', + 'type' => 'string', + 'enumValueTitles' => ['ASR' => 'ASR', 'TTS' => 'TTS'], + 'example' => 'ASR', + ], + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取三方语音配置列表', + 'summary' => '获取实例详情', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C1788610-93C9-574C-AF2D-C053A50C3894\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 20,\\n \\"VoiceAccessProfiles\\": [\\n {\\n \\"AccessProfileId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1747620752000,\\n \\"UpdatedTime\\": 1747620752000,\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"NlsEngine\\": \\"VOLC\\",\\n \\"NlsEngineName\\": \\"豆包\\",\\n \\"Profile\\": {\\n \\"AppId\\": \\"5b123bfb\\",\\n \\"ApiKey\\": \\"sk-12341e259b1049e8872b47981e545f78\\",\\n \\"ApiSecret\\": \\"c0358c6e51c1013b446fdeb21a3a1234\\",\\n \\"AppKey\\": \\"2541370123\\",\\n \\"AccessKey\\": \\"HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9\\",\\n \\"AsrAppKey\\": \\"暂无使用\\",\\n \\"TtsApiKey\\": \\"暂无使用\\"\\n },\\n \\"Capabilities\\": [\\n \\"ASR\\"\\n ]\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVoiceEngines' => [ + 'summary' => '获取引擎列表', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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' => '20'], + 'VoiceEngines' => [ + 'description' => '语音引擎对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '语音引擎对象', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => '语音引擎', + 'type' => 'string', + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'VOLC', + ], + 'NlsEngineName' => [ + 'description' => '显示名称', + 'type' => 'string', + 'enumValueTitles' => ['科大讯飞' => '科大讯飞', '阿里云百炼' => '阿里云百炼', '豆包' => '豆包'], + 'example' => '豆包', + ], + 'ConfigSchema' => ['description' => '引擎配置', 'type' => 'string', 'example' => '[{\\"displayName\\":\\"AppKey\\",\\"maxLength\\":64,\\"name\\":\\"AppKey\\",\\"order\\":1,\\"required\\":true},{\\"displayName\\":\\"AccessKey\\",\\"maxLength\\":64,\\"name\\":\\"AccessKey\\",\\"order\\":2,\\"required\\":true}]'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取三方语音引擎列表', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 20,\\n \\"VoiceEngines\\": [\\n {\\n \\"NlsEngine\\": \\"VOLC\\",\\n \\"NlsEngineName\\": \\"豆包\\",\\n \\"ConfigSchema\\": \\"[{\\\\\\\\\\\\\\"displayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AppKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"maxLength\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AppKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"order\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"required\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"displayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccessKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"maxLength\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccessKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"order\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"required\\\\\\\\\\\\\\":true}]\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVoices' => [ + 'summary' => '获取实例详情。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5a'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + [ + 'name' => 'NlsAccessType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['PROVIDED' => '提供自定义三方配置调用', 'MANAGED' => '系统统一调用'], + 'example' => 'MANAGED', + ], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '9DB8BA95-4513-54B9-9C67-A28909CFB4AD'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + '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'], + 'Voices' => [ + 'description' => '音色列表', + 'type' => 'array', + 'items' => [ + 'description' => '音色', + 'type' => 'object', + 'properties' => [ + 'Category' => ['description' => '类目', 'type' => 'string', 'example' => '千问音色'], + 'Name' => ['description' => '音色名称', 'type' => 'string', 'example' => '芊悦'], + 'Style' => ['description' => '风格', 'type' => 'string', 'example' => '女声'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'Cherry'], + 'Language' => ['description' => '支持语言', 'type' => 'string', 'example' => '中文及中英文混合'], + 'NlsEngine' => ['description' => 'TTS引擎', 'type' => 'string', 'example' => 'BAILIAN'], + 'Model' => ['description' => 'TTS模型', 'type' => 'string', 'example' => 'Qwen'], + 'SupportedParams' => [ + 'description' => '支持参数列表', + 'type' => 'array', + 'items' => ['description' => '支持参数', 'type' => 'string', 'example' => 'speechRate'], + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取音色列表', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListVoices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DB8BA95-4513-54B9-9C67-A28909CFB4AD\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Voices\\": [\\n {\\n \\"Category\\": \\"千问音色\\",\\n \\"Name\\": \\"芊悦\\",\\n \\"Style\\": \\"女声\\",\\n \\"Voice\\": \\"Cherry\\",\\n \\"Language\\": \\"中文及中英文混合\\",\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"Model\\": \\"Qwen\\",\\n \\"SupportedParams\\": [\\n \\"speechRate\\"\\n ]\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'PreviewVoice' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'da37319b-6c83-4268-9f19-814aed62e401'], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + ], + ], + [ + 'name' => 'NlsAccessType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => ['description' => 'TTS模型', 'type' => 'string', 'required' => false, 'example' => 'Qwen'], + ], + [ + 'name' => 'Voice', + 'in' => 'formData', + 'schema' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Cherry'], + ], + [ + 'name' => 'Text', + 'in' => 'formData', + 'schema' => ['description' => '试听文本', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '你好,很高兴认识你'], + ], + [ + 'name' => 'Params', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '合成参数', + 'type' => 'object', + 'properties' => [ + 'SpeechRate' => ['description' => '语速', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'PitchRate' => ['description' => '音调', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '试听音频链接', 'type' => 'string', 'example' => 'https://cab-config-pre.oss-cn-hangzhou.aliyuncs.com/TTSDEMO/05B9FBF3-3681-10FF-9C24-340A93F3A25F.wav?Expires=1774795253&OSSAccessKeyId=STS.NYGg2ejEjYqySx3EsuRutagbd&Signature=L7oa%2F7s%2FeVwBxpkn3SvKfr8uXB0%3D&security-token=CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB%2BgYsfU2m2xR5%2FYclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag%2B%2F08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0GG3ASmlrFF%2B9mufMb5M%2FMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHUwYPu0vZYrOLroQ%2BfFFjHKMzEetPq%2F7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F%2BkxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3%2BUqz3gv9md5QvoaVi1jnr%2FcFRNxbjl7DI39pdcGlTI2lqIAA%3D'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'TTS合成试听', + 'summary' => '创建实例', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"https://cab-config-pre.oss-cn-hangzhou.aliyuncs.com/TTSDEMO/05B9FBF3-3681-10FF-9C24-340A93F3A25F.wav?Expires=1774795253&OSSAccessKeyId=STS.NYGg2ejEjYqySx3EsuRutagbd&Signature=L7oa%2F7s%2FeVwBxpkn3SvKfr8uXB0%3D&security-token=CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB%2BgYsfU2m2xR5%2FYclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag%2B%2F08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0GG3ASmlrFF%2B9mufMb5M%2FMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHUwYPu0vZYrOLroQ%2BfFFjHKMzEetPq%2F7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F%2BkxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3%2BUqz3gv9md5QvoaVi1jnr%2FcFRNxbjl7DI39pdcGlTI2lqIAA%3D\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'PublishScript' => [ + 'summary' => '更新实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '19ac2375-53e3-477f-abe9-6cd334227981'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + [ + 'name' => 'VersionId', + 'in' => 'formData', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b091'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '发布版本ID', 'type' => 'string', 'example' => '64241e64-190c-45d1-af66-06f51c07b091'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '场景发布', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"64241e64-190c-45d1-af66-06f51c07b091\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateCallCenterProvider' => [ + 'summary' => '系统管理-人工服务提供商管理-修改。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'ProviderId', + 'in' => 'formData', + 'schema' => ['description' => '人工服务提供商 id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'xxxxxxxxx'], + ], + [ + 'name' => 'ProviderType', + 'in' => 'formData', + 'schema' => [ + 'description' => '提供商类型'."\n" + .'> '."\n" + .'> - CCC:云联络中心'."\n" + .'>- CUSTOM:客户自有联络中心', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['CCC' => '云联络中心', 'CUSTOM' => '客户自有联络中心'], + 'example' => 'CCC', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '服务提供商名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '云联络中心内部服务提供商'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => ['description' => '服务提供商显示名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '云联络中心内部服务提供商'], + ], + [ + 'name' => 'ReferTo', + 'in' => 'formData', + 'schema' => ['description' => 'Refer 地址', 'type' => 'string', 'required' => false, 'example' => '-'], + ], + [ + 'name' => 'TrunkId', + 'in' => 'formData', + 'schema' => ['description' => '线路ID', 'type' => 'string', 'required' => false, 'example' => 'trunk-xxx'], + ], + [ + 'name' => 'Originator', + 'in' => 'formData', + 'schema' => ['description' => '当转接方式为Bridge时需要配置转接时的主叫号码。', 'type' => 'string', 'required' => false, 'example' => '010****'], + ], + [ + 'name' => 'Destination', + 'in' => 'formData', + 'schema' => ['description' => '当转接方式为Bridge时需要配置转接时的被叫号码。', 'type' => 'string', 'required' => false, 'example' => '153*********'], + ], + [ + 'name' => 'Extras', + 'in' => 'formData', + 'schema' => ['description' => '随路数据'."\n" + .'><notice>格式:k1=v1;k2=v2></notice>', 'type' => 'string', 'required' => false, 'example' => 'key1=value1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'], + 'Code' => ['description' => '响应码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '人工服务提供商 id', 'type' => 'string', 'example' => 'xxxxxxxxx'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改人工服务提供商', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateCallCenterProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"xxxxxxxxx\\",\\n \\"Params\\": [\\n \\"-\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateCloneVoice' => [ + 'summary' => '更新实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0099b75d-60fd-4c63-8541-7fbba0ae6bb0'], + ], + [ + 'name' => 'CloneVoiceId', + 'in' => 'formData', + 'schema' => ['description' => '克隆音ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '克隆音名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '测试克隆音'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '克隆音ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新克隆音', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateInstruction' => [ + 'summary' => '数字员工-全局配置-修改指令。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e', 'maxLength' => 64], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'description' => '指令类型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['TRANSFER' => '转接', 'GATHER_DTMF' => '收号'], + 'example' => 'TRANSFER', + 'enum' => ['TRANSFER', 'GATHER_DTMF'], + ], + ], + [ + 'name' => 'Code', + 'in' => 'formData', + 'schema' => ['description' => '指令编码', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Transfer00'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '指令名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '转人工指令一'], + ], + [ + 'name' => 'Config', + 'in' => 'formData', + 'schema' => ['description' => '指令配置'."\n" + ."\n" + .'> - providerId:人工服务提供商id,可通过ListCallCenterProviders 获取'."\n" + .'> - transferMethod:转接方式 (BYE,BRIDGE,REFER)'."\n" + .'>- transferType:转接目标类型 (External:外部号码, Agent:坐席,SkillGroup:技能组)'."\n" + .'>- transferTarget:转接目标'."\n" + .'>- transferor:主叫号码(为空则默认使用客户来电手机号码)'."\n" + .'>- timeoutSeconds:超时时间,单位:秒(转人工超时时间,默认 30 秒)', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{'."\n" + .' "providerId": "xxxxxxxxx",'."\n" + .' "transferMethod": "BYE",'."\n" + .' "transferType": "External",'."\n" + .' "transferTarget": "152******",'."\n" + .' "transferor": "01*****",'."\n" + .' "timeoutSeconds": "10"'."\n" + .'}'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Success'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Ok'], + 'Data' => ['description' => '指令编码', 'type' => 'string', 'example' => 'Transfer00'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => '36e9a4cd-a821-4f78-86fa-a9a4aefeea2e'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改指令', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateInstruction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Success\\",\\n \\"Code\\": \\"Ok\\",\\n \\"Data\\": \\"Transfer00\\",\\n \\"Params\\": [\\n \\"36e9a4cd-a821-4f78-86fa-a9a4aefeea2e\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateLlmAccessProfile' => [ + 'summary' => '更新语言模型配置信息', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例id', 'type' => 'string', 'required' => false, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4060'], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => '三方模型配置ID', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '三方模型配置的名称', 'type' => 'string', 'required' => false, 'example' => '千问Omni'], + 'ApiKey' => ['description' => '三方模型的 API Key', 'type' => 'string', 'required' => false, 'example' => 'akm-091e4c2c-9938-4a0d-ade2-b9c477fbcbdb'], + 'Endpoint' => ['description' => '三方模型的接入点', 'type' => 'string', 'required' => false, 'example' => 'api.llm.enpoint.example.com'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '三方模型配置 ID', 'type' => 'string', 'example' => 'e48e45dd-e47a-4744-a063-f08cbebb1c5b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新三方模型配置', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"e48e45dd-e47a-4744-a063-f08cbebb1c5b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateScript' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '19ac2375-53e3-477f-abe9-6cd334227981'], + ], + [ + 'name' => 'ScriptId', + 'in' => 'formData', + 'schema' => ['description' => '场景ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64241e64-190c-45d1-af66-06f51c07b090'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '场景名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '导航测试场景'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '用于测试'], + ], + [ + 'name' => 'Concurrency', + 'in' => 'formData', + 'schema' => ['description' => '并发数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => '请求ID', 'type' => 'string', 'example' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877158'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '场景ID', 'type' => 'string', 'example' => 'F132DDBA-66C4-5BD3-BF7E-9642FE877159'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新场景', + 'summary' => '更新实例', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877158\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"F132DDBA-66C4-5BD3-BF7E-9642FE877159\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateSubscription' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'MqType', + 'in' => 'formData', + 'schema' => [ + 'description' => '消息推送类型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['ROCKET_MQ_4' => 'ROCKET_MQ_4', 'ROCKET_MQ_5' => 'ROCKET_MQ_5'], + 'example' => 'ROCKET_MQ_4', + ], + ], + [ + 'name' => 'EventSubscriptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '订阅事件列表', + 'type' => 'array', + 'items' => ['description' => '订阅事件\\'."\n" + .'Established - 接通\\'."\n" + .'Released - 通话结束\\'."\n" + .'RecordingReady - 录音就绪\\'."\n" + .'CdrReady - 话单生成\\'."\n" + .'LabelReady - 标签生成', 'type' => 'string', 'required' => false, 'example' => 'Released'], + 'required' => false, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Endpoint', + 'in' => 'formData', + 'schema' => ['description' => '接入点(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080', 'maxLength' => 128], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => ['description' => '队列 topic(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'test', 'maxLength' => 64], + ], + [ + 'name' => 'UserName', + 'in' => 'formData', + 'schema' => ['description' => '用户名(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'username', 'maxLength' => 64], + ], + [ + 'name' => 'Password', + 'in' => 'formData', + 'schema' => ['description' => '密码(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'pwd', 'maxLength' => 64], + ], + [ + 'name' => 'MqInstanceId', + 'in' => 'formData', + 'schema' => ['description' => 'MQ 实例 ID(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'rmq-cn-l4p89zajz67.cn', 'maxLength' => 64], + ], + [ + 'name' => 'ProducerId', + 'in' => 'formData', + 'schema' => ['description' => '生产者标识(使用 ROCKET_MQ_4 时必填)', 'type' => 'string', 'required' => false, 'example' => 'user1', 'maxLength' => 64], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '14C39896-AE6D-4643-9C9A-E0566B2C2DDD'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新订阅信息', + 'summary' => '创建或更新MQ配置', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14C39896-AE6D-4643-9C9A-E0566B2C2DDD\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"暂无使用\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateVariable' => [ + 'summary' => '更新变量', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '026ca0f4-483b-4252-ae1d-1f15f056f8b9'], + ], + [ + 'name' => 'VariableId', + 'in' => 'formData', + 'schema' => ['description' => '变量ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'formData', + 'schema' => ['description' => '显示名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '年龄'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户当前年龄'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '254EB995-DEDF-48A4-9101-9CA5B72FFBCC'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新变量', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"254EB995-DEDF-48A4-9101-9CA5B72FFBCC\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateVocabulary' => [ + 'summary' => '更新实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => '热词ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4061'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '热词名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '金融场景热词'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '包含金融场景专业术语'], + ], + [ + 'name' => 'Words', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '热词列表', + 'type' => 'object', + 'required' => false, + 'docRequired' => true, + 'additionalProperties' => ['type' => 'string', 'example' => '{"苹果":"2","香蕉":"3"}', 'description' => '热词'], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新热词', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateVoiceAccessProfile' => [ + 'summary' => '更新实例', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => '配置ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => '语音引擎', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'VOLC', + ], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => '2541370123', 'maxLength' => 64], + 'AccessKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'maxLength' => 64], + 'AppId' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => '5b123bfb', 'maxLength' => 64], + 'ApiKey' => ['description' => '使用百炼、科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'maxLength' => 64], + 'ApiSecret' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'maxLength' => 64], + 'AsrAppKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + 'TtsApiKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + ], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '7401D698-0AAC-5909-B68E-88C68805FFB8'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance af81a389-91f0-4157-8d82-720edd02b66a'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '配置ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新三方语音配置', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7401D698-0AAC-5909-B68E-88C68805FFB8\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance af81a389-91f0-4157-8d82-720edd02b66a\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"af81a389-91f0-4157-8d82-720edd02b66a\\"\\n ]\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'voicenavigator.cn-hangzhou.aliyuncs.com', 'endpoint' => 'voicenavigator.cn-hangzhou.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'voicenavigator.cn-shanghai.aliyuncs.com', 'endpoint' => 'voicenavigator.cn-shanghai.aliyuncs.com', 'vpc' => 'voicenavigator-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'InternalError', 'message' => 'An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.', 'http_code' => 500, 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'], + ['code' => 'InvalidCategoryId.NotFound', 'message' => 'The specified CategoryId does not exist in our records.', 'http_code' => 404, 'description' => '指定的类目ID不存在。'], + ['code' => 'InvalidCategoryName.Duplicated', 'message' => 'The specified CategoryName already exists.', 'http_code' => 400, 'description' => '类目名称已经存在。请您更换一个名字。'], + ['code' => 'InvalidConcurrency.LimitExceeded', 'message' => 'The specified Concurrency exceeds the upper limit.', 'http_code' => 400, 'description' => '并发数已经超限,请重新设置。'], + ['code' => 'InvalidConversationId.NotFound', 'message' => 'The specified ConversationId does not exist in our record.', 'http_code' => 404, 'description' => '指定的会话ID不存在。'], + ['code' => 'InvalidInstanceId.NotFound', 'message' => 'The specified InstanceId does not exist.', 'http_code' => 404, 'description' => '指定的实例ID不存在。'], + ['code' => 'InvalidInstanceName.Duplicated', 'message' => 'The specified InstanceName already exists.', 'http_code' => 400, 'description' => '实例名称已经存在。请您更换一个名字。'], + ['code' => 'InvalidNavigationScriptId.NotFound', 'message' => 'The specified NavigationScriptId does not exist in our records.', 'http_code' => 404, 'description' => '指定的话术ID不存在'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter %s is invalid.', 'http_code' => 400, 'description' => '参数值校验不通过。请使用请求参数构造规范化的请求字符串。'], + ['code' => 'MissingParameter', 'message' => 'You must specify parameter %s.', 'http_code' => 400, 'description' => '必填参数没有填。请检查调用时是否填写了此参数,并重试请求。'], + ], + 'changeSet' => [], + 'ram' => [ + 'productCode' => 'VoiceNavigator', + 'productName' => '智能语音导航', + 'ramCodes' => ['voicebot'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetScript', + 'description' => '获取场景脚本配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetScript', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PreviewVoice', + 'description' => 'TTS合成试听', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:PreviewVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVocabulary', + 'description' => '获取热词列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteLlmAccessProfile', + 'description' => '删除三方模型配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteLlmAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListScripts', + 'description' => '获取场景列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListScripts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVoiceAccessProfile', + 'description' => '删除三方语音配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetInstanceTrendingReport', + 'description' => '获取实例指标趋势图', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetInstanceTrendingReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRealtimeScriptStats', + 'description' => '查询场景实时统计数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetRealtimeScriptStats', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoiceEngines', + 'description' => '获取三方语音引擎列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListVoiceEngines', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSubscription', + 'description' => '更新订阅信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateCloneVoice', + 'description' => '更新克隆音', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBackgroundMusics', + 'description' => '获取背景音列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListBackgroundMusics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListHistoricalScriptReport', + 'description' => '获取场景指标汇总数据', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListHistoricalScriptReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVariable', + 'description' => '更新变量', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetScriptTrendingReport', + 'description' => '获取场景指标趋势图', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetScriptTrendingReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListNluModels', + 'description' => '获取对话大模型列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListNluModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCloneVoiceModels', + 'description' => '获取克隆音模型列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListCloneVoiceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVariable', + 'description' => '获取变量列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoiceAccessProfile', + 'description' => '获取三方语音配置列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRealtimeInstanceStats', + 'description' => '获取实例实时指标', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetRealtimeInstanceStats', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateCallCenterProvider', + 'description' => '修改人工服务提供商', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateCallCenterProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCloneVoice', + 'description' => '获取克隆音列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoices', + 'description' => '获取音色列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListVoices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateCallCenterProvider', + 'description' => '新增人工服务提供商', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:CreateCallCenterProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListLlmAccessProfiles', + 'description' => '获取三方模型配置列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListLlmAccessProfiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateScript', + 'description' => '创建场景', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateScript', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BeginSession', + 'description' => '开启会话', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:BeginSession', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCallDetailRecord', + 'description' => '获取通话详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetCallDetailRecord', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateLlmAccessProfile', + 'description' => '更新三方模型配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateLlmAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRecording', + 'description' => '获取通话录音', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetRecording', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSubscription', + 'description' => '获取消息订阅配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCallDetailRecords', + 'description' => '获取通话列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListCallDetailRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ExportScript', + 'description' => '导出场景', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ExportScript', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVocabulary', + 'description' => '更新热词', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PublishScript', + 'description' => '场景发布', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:PublishScript', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'Dialogue', + 'description' => '对话', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'voicebot:Dialogue', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCloneVoice', + 'description' => '删除克隆音', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ImportVocabulary', + 'description' => '导入热词', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:ImportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateScriptVersion', + 'description' => '创建场景版本', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateScriptVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateInstruction', + 'description' => '修改指令', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateInstruction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateCloneVoice', + 'description' => '创建克隆音', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateLlmAccessProfile', + 'description' => '创建三方模型配置', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateLlmAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataChannelCredential', + 'description' => '获取数据通道凭证', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetDataChannelCredential', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListInstructions', + 'description' => '列表查询指令', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListInstructions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DisableSubscription', + 'description' => '关闭消息订阅', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:DisableSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteScript', + 'description' => '删除场景', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteScript', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EndSession', + 'description' => '结束对话', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:EndSession', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVocabulary', + 'description' => '创建热词', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateScript', + 'description' => '更新场景', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateScript', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BridgeWebCall', + 'description' => '发起web呼叫', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:BridgeWebCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVariable', + 'description' => '删除变量', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateInstruction', + 'description' => '创建指令', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:CreateInstruction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRealtimeInstanceStats', + 'description' => '获取实例实时统计数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ListRealtimeInstanceStats', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ExportVocabulary', + 'description' => '导出热词', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:ExportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCallCenterProvider', + 'description' => '删除人工服务提供商', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:DeleteCallCenterProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVariable', + 'description' => '创建变量', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetVocabulary', + 'description' => '获取热词信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'voicebot:GetVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListScriptProfileTemplates', + 'description' => '获取提示词场景模版列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListScriptProfileTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenerateFileUploadParams', + 'description' => '获取文件上传参数', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:GenerateFileUploadParams', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVoiceAccessProfile', + 'description' => '更新三方语音配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:UpdateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVocabulary', + 'description' => '删除热词', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'voicebot:DeleteVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCallCenterProviders', + 'description' => '列表查询人工服务提供商', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListCallCenterProviders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListHistoricalInstanceReport', + 'description' => '获取实例指标汇总数据', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'voicebot:ListHistoricalInstanceReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVoiceAccessProfile', + 'description' => '创建三方语音配置', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'voicebot:CreateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteInstruction', + 'description' => '删除指令', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'voicebot:DeleteInstruction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceNavigator', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [], + ], +]; |
