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/2025-11-11/api-docs.php | |
| 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/2025-11-11/api-docs.php')
| -rw-r--r-- | data/zh_cn/voicenavigator/2025-11-11/api-docs.php | 7031 |
1 files changed, 7031 insertions, 0 deletions
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' => [], + ], +]; |
