diff options
Diffstat (limited to 'data/zh_cn/aiccs/2023-05-16/api-docs.php')
| -rw-r--r-- | data/zh_cn/aiccs/2023-05-16/api-docs.php | 6761 |
1 files changed, 1489 insertions, 5272 deletions
diff --git a/data/zh_cn/aiccs/2023-05-16/api-docs.php b/data/zh_cn/aiccs/2023-05-16/api-docs.php index 8094f67..70e3583 100644 --- a/data/zh_cn/aiccs/2023-05-16/api-docs.php +++ b/data/zh_cn/aiccs/2023-05-16/api-docs.php @@ -1,42 +1,9 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'aiccs', - 'version' => '2023-05-16', - ], + 'info' => ['style' => 'RPC', 'product' => 'aiccs', 'version' => '2023-05-16'], 'directories' => [ - 'AddBlacklist', - 'AddTask', - 'AgentCancelCall', - 'AgentRecoverCall', - 'Details', - 'EditTask', - 'ImportNumber', - 'ImportNumberV2', - 'Page', - 'SmsTemplateCreate', - 'SmsTemplatePageList', - 'TaskCallChats', - 'TaskCallInfo', - 'TaskCallList', - 'TaskCancelCall', - 'TaskList', - 'TaskRecoverCall', - 'TemplateList', - 'UpdateAgentStatus', - 'UpdateTaskCustomer', + 'AddBlacklist', 'AddTask', 'AgentCancelCall', 'AgentRecoverCall', 'Details', 'EditTask', 'ImportNumber', 'ImportNumberV2', 'Page', 'SmsTemplateCreate', 'SmsTemplatePageList', 'TaskCallChats', 'TaskCallInfo', 'TaskCallList', 'TaskCancelCall', 'TaskList', 'TaskRecoverCall', 'TemplateList', 'UpdateAgentStatus', 'UpdateTaskCustomer', 'QuickAddTask', - 'AddAgent', - 'QueryAgentInfo', - 'AddAgentGroup', - 'JoinAgentGroup', - 'QuitAgentGroup', - 'AgentGroupPage', - 'AgentCallList', - 'AgentImportNumber', - 'CallNumberDetail', - 'CallChatList', ], 'components' => [ 'schemas' => [], @@ -44,14 +11,8 @@ 'apis' => [ 'AddBlacklist' => [ 'summary' => '行业版-添加黑名单。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -62,9 +23,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '179242', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], ], 'parameters' => [ [ @@ -75,13 +34,7 @@ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => '手机号码', - 'type' => 'string', - 'required' => false, - 'example' => '1380001****', - ], + 'items' => ['title' => '', 'description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '1380001****'], 'required' => true, 'example' => '', ], @@ -89,24 +42,12 @@ [ 'name' => 'ExpiredDay', 'in' => 'query', - 'schema' => [ - 'title' => '有效天数', - 'description' => '有效天数', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['title' => '有效天数', 'description' => '有效天数', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'title' => '备注', - 'description' => '备注', - 'type' => 'string', - 'required' => true, - 'example' => '备注', - ], + 'schema' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'required' => true, 'example' => '备注'], ], ], 'responses' => [ @@ -114,16 +55,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', @@ -132,34 +65,17 @@ 'title' => '错误手机号', 'description' => '未识别的手机号', 'type' => 'array', - 'items' => [ - 'description' => '手机号码', - 'type' => 'string', - 'example' => '1380001****', - ], + 'items' => ['description' => '手机号码', 'type' => 'string', 'example' => '1380001****'], 'example' => '', ], ], 'example' => '', ], - 'Code' => [ - 'description' => '请求状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '操作是否成功:true:操作成功 false:操作失败', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '请求状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '操作是否成功:true:操作成功 false:操作失败', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], @@ -167,28 +83,25 @@ 'title' => '行业版-添加黑名单', 'description' => '针对行业版外呼拦截号码黑名单', 'requestParamsDescription' => '支持批量拉黑,最高支持5000个号码', + 'changeSet' => [], + 'ramActions' => [], ], 'AddTask' => [ 'summary' => '行业版-创建任务。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREaiccsD1POR4'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -196,108 +109,47 @@ [ 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => '任务类型 1:批量-AI外呼-不转人工,2:批量-语音通知,6:新语音通知(22年10月后入驻的企业的默认语音通知类型)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['title' => '任务类型', 'description' => '任务类型 1:批量-AI外呼-不转人工,2:批量-语音通知,6:新语音通知(22年10月后入驻的企业的默认语音通知类型)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '任务名称', - 'description' => '任务名称', - 'type' => 'string', - 'required' => true, - 'example' => '任务名称', - ], + 'schema' => ['title' => '任务名称', 'description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => '任务名称'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '任务启动日期', - 'description' => '任务启动日期', - 'type' => 'string', - 'required' => false, - 'example' => '2022-09-16', - ], + 'schema' => ['title' => '任务启动日期', 'description' => '任务启动日期', 'type' => 'string', 'required' => false, 'example' => '2022-09-16'], ], [ 'name' => 'TemplateType', 'in' => 'query', - 'schema' => [ - 'title' => '话术模板类型', - 'description' => '话术模板类型 : 1: 单模 版;2:智能话术策略模板。不填默认1。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '话术模板类型', 'description' => '话术模板类型 : 1: 单模 版;2:智能话术策略模板。不填默认1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'title' => '话术模板ID', - 'description' => '话术模板ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '17', - ], + 'schema' => ['title' => '话术模板ID', 'description' => '话术模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '17'], ], [ 'name' => 'MaxConcurrency', 'in' => 'query', - 'schema' => [ - 'title' => '并发数', - 'description' => '并发数 默认为1,不可超过企业设置最高并发数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '99', - ], + 'schema' => ['title' => '并发数', 'description' => '并发数 默认为1,不可超过企业设置最高并发数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '99'], ], [ 'name' => 'RecallType', 'in' => 'query', - 'schema' => [ - 'title' => '重呼配置', - 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '53', - ], + 'schema' => ['title' => '重呼配置', 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '53'], ], [ 'name' => 'RepeatInterval', 'in' => 'query', - 'schema' => [ - 'title' => '重呼间隔', - 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '14', - ], + 'schema' => ['title' => '重呼间隔', 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14'], ], [ 'name' => 'RepeatCount', 'in' => 'query', - 'schema' => [ - 'title' => '重呼次数', - 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '37', - ], + 'schema' => ['title' => '重呼次数', 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '37'], ], [ 'name' => 'RepeatTimes', @@ -307,13 +159,8 @@ 'title' => '重呼时间', 'description' => '重呼时间', 'type' => 'array', - 'items' => [ - 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n" - .'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00", "13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"', - 'type' => 'string', - 'required' => false, - 'example' => '22:00', - ], + 'items' => ['title' => '重呼时间', 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n" + .'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00", "13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"', 'type' => 'string', 'required' => false, 'example' => '22:00'], 'required' => false, 'example' => '示例值', ], @@ -321,37 +168,17 @@ [ 'name' => 'RecordPath', 'in' => 'query', - 'schema' => [ - 'title' => '录音地址', - 'description' => '录音地址 当企业开通业务类型是语音通知时,必填', - 'type' => 'string', - 'required' => false, - 'example' => '示例值', - ], + 'schema' => ['title' => '录音地址', 'description' => '录音地址 当企业开通业务类型是语音通知时,必填', 'type' => 'string', 'required' => false, 'example' => '示例值'], ], [ 'name' => 'PlaySleepVal', 'in' => 'query', - 'schema' => [ - 'title' => '播放间隔时长', - 'description' => '播放间隔时长 当企业开通业务类型是语音通知时,必填;单位为秒,支持输入≥0的正整数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '89', - ], + 'schema' => ['title' => '播放间隔时长', 'description' => '播放间隔时长 当企业开通业务类型是语音通知时,必填;单位为秒,支持输入≥0的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '89'], ], [ 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'title' => '录音播放次数', - 'description' => '录音播放次数 当企业开通业务类型是语音通知时,必填;支持输入≥0的正整数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51', - ], + 'schema' => ['title' => '录音播放次数', 'description' => '录音播放次数 当企业开通业务类型是语音通知时,必填;支持输入≥0的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51'], ], [ 'name' => 'RepeatReason', @@ -361,28 +188,23 @@ 'title' => '重呼条件', 'description' => '重呼条件', 'type' => 'array', - 'items' => [ - 'description' => '可多选,不传时默认条件全部'."\n" - .'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n" - .'注,重呼条件编码与描述对应:'."\n" - ."\n" - .'2 "关机",'."\n" - .'3 "空号",'."\n" - .'4 "改号",'."\n" - .'5 "停机",'."\n" - .'6 "占线",'."\n" - .'7 "拒接",'."\n" - .'8 "无法接通",'."\n" - .'9 "未接",'."\n" - .'10 "用户欠费",'."\n" - .'11 "线路故障",'."\n" - .'12 "呼叫失败"'."\n" - .'30 "已拦截"'."\n" - .'40 "单日呼叫次数受限"', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'items' => ['title' => '重呼条件', 'description' => '可多选,不传时默认条件全部'."\n" + .'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n" + .'注,重呼条件编码与描述对应:'."\n" + ."\n" + .'2 "关机",'."\n" + .'3 "空号",'."\n" + .'4 "改号",'."\n" + .'5 "停机",'."\n" + .'6 "占线",'."\n" + .'7 "拒接",'."\n" + .'8 "无法接通",'."\n" + .'9 "未接",'."\n" + .'10 "用户欠费",'."\n" + .'11 "线路故障",'."\n" + .'12 "呼叫失败"'."\n" + .'30 "已拦截"'."\n" + .'40 "单日呼叫次数受限"', 'type' => 'string', 'required' => false, 'example' => '2'], 'required' => false, 'example' => '', ], @@ -396,17 +218,15 @@ 'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]', 'type' => 'array', 'items' => [ + 'title' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]', + 'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]', 'type' => 'object', 'properties' => [ 'CallTime' => [ + 'title' => '外呼时间 8.5', 'description' => '外呼时间', 'type' => 'array', - 'items' => [ - 'description' => '外呼时间 8.5', - 'type' => 'string', - 'required' => false, - 'example' => '8.5', - ], + 'items' => ['title' => '外呼时间 8.5', 'description' => '外呼时间 8.5', 'type' => 'string', 'required' => false, 'example' => '8.5'], 'required' => false, 'example' => '', ], @@ -427,29 +247,19 @@ 'description' => '短信发送规则', 'type' => 'array', 'items' => [ + 'title' => '短信发送规则', + 'description' => '短信发送规则', 'type' => 'object', 'properties' => [ 'IntentTags' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'array', - 'items' => [ - 'description' => '命中的意向标签,大写,例如:["A", "B"],符合任意条件便会触发短信', - 'type' => 'string', - 'required' => false, - 'example' => 'A', - ], + 'items' => ['title' => '命中的意向标签,大写,例如:["A", "B"],符合任意条件便会触发短信', 'description' => '命中的意向标签,大写,例如:["A", "B"],符合任意条件便会触发短信', 'type' => 'string', 'required' => false, 'example' => 'A'], 'required' => false, 'example' => '', ], - 'SmsTemplateId' => [ - 'title' => '短信模板ID', - 'description' => '短信模板id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '71', - ], + 'SmsTemplateId' => ['title' => '短信模板ID', 'description' => '短信模板id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '71'], ], 'required' => false, ], @@ -460,111 +270,114 @@ [ 'name' => 'CallbackUrl', 'in' => 'query', - 'schema' => [ - 'title' => '回调地址', - 'description' => '回调地址', - 'type' => 'string', - 'required' => false, - 'example' => '示例值示例值示例值', - ], + 'schema' => ['title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值'], ], [ 'name' => 'FlashSmsType', 'in' => 'query', + 'schema' => ['title' => '发送闪信配置', 'description' => '发送闪信配置', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'default' => ''], + ], + [ + 'name' => 'FlashSmsTemplateId', + 'in' => 'query', + 'schema' => ['title' => '当发送闪信配置为1时,闪信模板ID必填', 'description' => '当发送闪信配置为1时,闪信模板ID必填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '96', 'default' => ''], + ], + [ + 'name' => 'CallTimeStrList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '发送闪信配置', - 'description' => '发送闪信配置', - 'type' => 'integer', - 'format' => 'int64', + 'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'type' => 'array', + 'items' => [ + 'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'type' => 'object', + 'properties' => [ + 'CallTime' => [ + 'title' => '第一个调用时间字符串', + 'description' => '第一个调用时间字符串', + 'type' => 'array', + 'items' => ['title' => '第一个调用时间字符串', 'description' => '第一个调用时间字符串', 'type' => 'string', 'required' => false, 'example' => '"08:31"'], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], 'required' => false, - 'example' => '0', - 'default' => '', + 'example' => '', ], ], [ - 'name' => 'FlashSmsTemplateId', + 'name' => 'WeekTag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '当发送闪信配置为1时,闪信模板ID必填', - 'description' => '当发送闪信配置为1时,闪信模板ID必填', - 'type' => 'integer', - 'format' => 'int64', + 'title' => '外呼时间需要的按星期几进行外呼,例:“1,2,3,4,5,6,7”,代表周一到周日都外呼', + 'description' => '外呼时间需要的按星期几进行外呼,例:[1,2,3,4,5,6,7],代表周一到周日都外呼', + 'type' => 'array', + 'items' => ['title' => '星期三', 'description' => '星期三', 'type' => 'string', 'required' => false, 'example' => '3'], 'required' => false, - 'example' => '96', - 'default' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'AccessDeniedDetail', 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'type' => 'string', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '唯一请求识别码。', - 'type' => 'string', - 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912', - ], + 'AccessDeniedDetail' => ['title' => '访问被拒绝的详细信息', 'description' => '访问被拒绝的详细信息', 'type' => 'string', 'example' => 'None'], + 'Message' => ['title' => '返回消息。', 'description' => '返回消息。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['title' => '唯一请求识别码。', 'description' => '唯一请求识别码。', 'type' => 'string', 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912'], 'Model' => [ + 'title' => '返回结果', 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47', - ], + 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '47'], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1686225227338', - ], - 'Success' => [ - 'description' => '操作是否成功。取值:true:成功。false:失败。', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['title' => '状态码。', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['title' => '操作时间戳ID', 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1686225227338'], + 'Success' => ['title' => '操作是否成功。取值:true:成功。false:失败。', 'description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'boolean', 'example' => 'false'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 47\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": false\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 47\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": false\\n}","type":"json"}]', 'title' => '行业版-创建任务', 'description' => '行业版-创建任务', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:AddTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'AgentCancelCall' => [ 'summary' => '行业版-坐席取消外呼。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -577,9 +390,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179248', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -587,25 +398,12 @@ [ 'name' => 'AgentId', 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '64', - ], + 'schema' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '64'], ], [ 'name' => 'AgentTag', 'in' => 'query', - 'schema' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'required' => false, - 'example' => 'abc', - ], + 'schema' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abc'], ], [ 'name' => 'Numbers', @@ -615,12 +413,7 @@ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'description' => '手机号码', - 'type' => 'string', - 'required' => false, - 'example' => '13314206082', - ], + 'items' => ['description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '13314206082'], 'required' => false, 'example' => '', ], @@ -633,12 +426,7 @@ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], + 'items' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'tag1'], 'required' => false, 'example' => '', ], @@ -649,16 +437,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', @@ -667,55 +447,32 @@ 'title' => '错误手机列表', 'description' => '未识别手机号列表', 'type' => 'array', - 'items' => [ - 'description' => '未识别的手机号', - 'type' => 'string', - 'example' => '13100000000', - ], + 'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13100000000'], 'example' => '', ], ], 'example' => '', ], - 'Code' => [ - 'description' => '错误编码 0表示成功', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '错误编码 0表示成功', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13100000000\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-坐席取消外呼', + 'changeSet' => [], + 'ramActions' => [], ], 'AgentRecoverCall' => [ 'summary' => '针对坐席取消外呼的号码,回复到待外呼状态,进行外呼。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -728,9 +485,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179246', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -738,25 +493,12 @@ [ 'name' => 'AgentId', 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'], ], [ 'name' => 'AgentTag', 'in' => 'query', - 'schema' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'required' => false, - 'example' => 'abc', - ], + 'schema' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abc'], ], [ 'name' => 'Tags', @@ -766,12 +508,7 @@ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], + 'items' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'tag1'], 'required' => false, 'example' => '', ], @@ -784,12 +521,7 @@ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'description' => '手机号码', - 'type' => 'string', - 'required' => false, - 'example' => '13541251222,18665214444', - ], + 'items' => ['description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '13541251222,18665214444'], 'required' => false, 'example' => '', ], @@ -797,26 +529,12 @@ [ 'name' => 'BeginImportTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询开始导入时间', - 'description' => '查询开始导入时间', - 'type' => 'string', - 'required' => false, - 'example' => ' 2020-03-06 10:10:10', - 'default' => '"2023-01-09 18:58:19"', - ], + 'schema' => ['title' => '查询开始导入时间', 'description' => '查询开始导入时间', 'type' => 'string', 'required' => false, 'example' => ' 2020-03-06 10:10:10', 'default' => '"2023-01-09 18:58:19"'], ], [ 'name' => 'EndImportTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询结束导入时间', - 'description' => '查询结束导入时间', - 'type' => 'string', - 'required' => false, - 'example' => ' 2021-03-06 10:10:10', - 'default' => '"2023-01-09 18:58:19"', - ], + 'schema' => ['title' => '查询结束导入时间', 'description' => '查询结束导入时间', 'type' => 'string', 'required' => false, 'example' => ' 2021-03-06 10:10:10', 'default' => '"2023-01-09 18:58:19"'], ], ], 'responses' => [ @@ -824,16 +542,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', @@ -842,54 +552,30 @@ 'title' => '错误手机列表', 'description' => '未识别手机号列表', 'type' => 'array', - 'items' => [ - 'description' => '未识别的手机号', - 'type' => 'string', - 'example' => '13314206082', - ], + 'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13314206082'], 'example' => '', ], ], 'example' => '', ], - 'Code' => [ - 'description' => '错误编码 0表示成功', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'title' => '坐席标签', - 'description' => '操作是否成功:true:操作成功 false:操作失败', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '错误编码 0表示成功', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['title' => '坐席标签', 'description' => '操作是否成功:true:操作成功 false:操作失败', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13314206082\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-坐席恢复外呼', + 'changeSet' => [], + 'ramActions' => [], ], 'Details' => [ 'summary' => 'AI批量任务查询号码状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -897,59 +583,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务id', - 'description' => '任务id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '90', - ], + 'schema' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '90'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '开始导入时间', - 'description' => '开始导入的时间:yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-25 15:19:02', - ], + 'schema' => ['title' => '开始导入时间', 'description' => '开始导入的时间:yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-04-25 15:19:02'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '结束导入时间', - 'description' => '结束导入时间 yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-25 15:19:02', - ], + 'schema' => ['title' => '结束导入时间', 'description' => '结束导入时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-04-25 15:19:02'], ], [ 'name' => 'BatchId', 'in' => 'query', - 'schema' => [ - 'title' => '批次id', - 'description' => '批次id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '75', - ], + 'schema' => ['title' => '批次id', 'description' => '批次id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '75'], ], [ 'name' => 'Numbers', @@ -959,12 +613,7 @@ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'description' => '需要精确查询的号码,,支持批量 最大1000个号码', - 'type' => 'string', - 'required' => false, - 'example' => '13541251222', - ], + 'items' => ['description' => '需要精确查询的号码,,支持批量 最大1000个号码', 'type' => 'string', 'required' => false, 'example' => '13541251222'], 'required' => false, 'example' => '', ], @@ -972,41 +621,20 @@ [ 'name' => 'NumberStatus', 'in' => 'query', - 'schema' => [ - 'title' => '号码状态', - 'description' => '需要精确查询的号码状态:'."\n" - .'1.未能外呼;'."\n" - .'2.进行中外呼;'."\n" - .'3.已完成外呼;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '号码状态', 'description' => '需要精确查询的号码状态:'."\n" + .'1.未能外呼;'."\n" + .'2.进行中外呼;'."\n" + .'3.已完成外呼;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'title' => '页数', - 'description' => '页数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '77', - ], + 'schema' => ['title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '77'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数', - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -1014,44 +642,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '389b2d0a-37e2-406d-b576-1fc0827be46a', - ], + 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '389b2d0a-37e2-406d-b576-1fc0827be46a'], 'Model' => [ 'description' => '模型。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '79', - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '94', - ], - 'TotalPage' => [ - 'description' => '总页数', - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'PageNo' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], + 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '79'], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '94'], + 'TotalPage' => ['description' => '总页数', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'List' => [ 'description' => '列表', 'type' => 'array', @@ -1059,186 +659,116 @@ 'description' => '记录', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '28', - ], - 'BatchId' => [ - 'title' => '批次号', - 'description' => '批次号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'CallDesc' => [ - 'title' => '呼叫状态描述', - 'description' => '呼叫状态描述 如“已接听”“拒接”'."\n" - .'当号码状态为1时,对应描述为:'."\n" - .'-516 "外呼号码并发限制"'."\n" - .'-515 "号码频次受限"'."\n" - .'-514 "没有配置线路"'."\n" - .'-513 "并发限制"'."\n" - .'-512 "非外呼时间"'."\n" - .'-511 "屏蔽区号"'."\n" - .'-310 "等待分发"'."\n" - .'-210 "取消呼叫(查还款失败)"'."\n" - .'-110 "取消呼叫(已还款)"'."\n" - .'-20 "座席未在线"'."\n" - .'-19 "座席未接听"'."\n" - .'-18 "呼叫座席失败"'."\n" - .'-17 "取消呼叫"'."\n" - .'-16 "超时未外呼"'."\n" - .'-15 "获取语音网关信息失败"'."\n" - .'-14 "MD5转手机号失败"'."\n" - .'-13 "预缓存音频文件失败"'."\n" - .'当号码状态为2时,对应描述为:'."\n" - .'-12 "预缓存音频文件中"'."\n" - .'-11 "等待预缓存音频文件"'."\n" - .'-10 "未开始"'."\n" - .'-9 "等待外呼"'."\n" - .'-8 "呼叫中"'."\n" - .'-7 "AI通话中"'."\n" - .'-6 "分配坐席中"'."\n" - .'-5 "人工通话中"'."\n" - .'-4 "监听振铃中"'."\n" - .'-3 "监听失败"'."\n" - .'-2 "监听中"'."\n" - .'当号码状态为3时,对应描述为:'."\n" - .'1 "已接听",'."\n" - .'2 "关机",'."\n" - .'3 "空号",'."\n" - .'4 "改号",'."\n" - .'5 "停机",'."\n" - .'6 "占线",'."\n" - .'7 "拒接",'."\n" - .'8 "无法接通",'."\n" - .'9 "未接",'."\n" - .'10 "用户欠费",'."\n" - .'11 "线路故障",'."\n" - .'12 "呼叫失败"'."\n" - .'30 "已拦截" '."\n" - .'40 "单日呼叫次数受限"', - 'type' => 'string', - 'example' => '已接听', - ], - 'CallId' => [ - 'title' => '外呼ID', - 'description' => '外呼ID', - 'type' => 'string', - 'example' => '28dd74a4-30ec-43c0-9bec-272924c51eeb', - ], - 'CallType' => [ - 'title' => '外呼类型', - 'description' => '外呼类型 可选项:'."\n" - .'2001:批量-预测外呼,2002:批量-AI外呼-不转人工,2003:批量-AI外呼-接通转人工,2004: 批量-AI外呼-智能转人工,2005:批量-语音通知', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2001', - ], - 'CallStatus' => [ - 'title' => '呼叫状态', - 'description' => '呼叫状态 如1'."\n" - .'当号码状态为1时,对应描述为:'."\n" - .'-516 "外呼号码并发限制"'."\n" - .'-515 "号码频次受限"'."\n" - .'-514 "没有配置线路"'."\n" - .'-513 "并发限制"'."\n" - .'-512 "非外呼时间"'."\n" - .'-511 "屏蔽区号"'."\n" - .'-310 "等待分发"'."\n" - .'-210 "取消呼叫(查还款失败)"'."\n" - .'-110 "取消呼叫(已还款)"'."\n" - .'-20 "座席未在线"'."\n" - .'-19 "座席未接听"'."\n" - .'-18 "呼叫座席失败"'."\n" - .'-17 "取消呼叫"'."\n" - .'-16 "超时未外呼"'."\n" - .'-15 "获取语音网关信息失败"'."\n" - .'-14 "MD5转手机号失败"'."\n" - .'-13 "预缓存音频文件失败"'."\n" - .'当号码状态为2时,对应描述为:'."\n" - .'-12 "预缓存音频文件中"'."\n" - .'-11 "等待预缓存音频文件"'."\n" - .'-10 "未开始"'."\n" - .'-9 "等待外呼"'."\n" - .'-8 "呼叫中"'."\n" - .'-7 "AI通话中"'."\n" - .'-6 "分配坐席中"'."\n" - .'-5 "人工通话中"'."\n" - .'-4 "监听振铃中"'."\n" - .'-3 "监听失败"'."\n" - .'-2 "监听中"'."\n" - .'当号码状态为3时,对应描述为:'."\n" - .'1 "已接听",'."\n" - .'2 "关机",'."\n" - .'3 "空号",'."\n" - .'4 "改号",'."\n" - .'5 "停机",'."\n" - .'6 "占线",'."\n" - .'7 "拒接",'."\n" - .'8 "无法接通",'."\n" - .'9 "未接",'."\n" - .'10 "用户欠费",'."\n" - .'11 "线路故障",'."\n" - .'12 "呼叫失败"'."\n" - .'30 "已拦截" '."\n" - .'40 "单日呼叫次数受限"', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ImportTime' => [ - 'title' => '导入时间', - 'description' => '导入时间 yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'example' => '2023-04-25 15:19:02', - ], - 'NumberDesc' => [ - 'title' => '号码状态描述', - 'description' => '号码状态描述 ,如“未能外呼”'."\n" - .'1.未能外呼;'."\n" - .'2.进行中外呼;'."\n" - .'3.已完成外呼;', - 'type' => 'string', - 'example' => '未能外呼', - ], - 'Number' => [ - 'title' => '外呼号码', - 'description' => '外呼号码', - 'type' => 'string', - 'example' => '188******454', - ], - 'InterceptReason' => [ - 'title' => '拦截原因', - 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', - 'type' => 'string', - 'example' => '黑名单拦截', - ], - 'NumberStatus' => [ - 'title' => '号码状态', - 'description' => '号码状态,如“未能外呼”'."\n" - .'1.未能外呼;'."\n" - .'2.进行中外呼;'."\n" - .'3.已完成外呼;', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Tag' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'example' => 'A', - ], - 'NumberMD5' => [ - 'title' => '外呼号码MD5', - 'description' => '外呼号码MD5', - 'type' => 'string', - 'example' => 'cbe1b40f76f2cca4735954886b706ffa', - ], + 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '28'], + 'BatchId' => ['title' => '批次号', 'description' => '批次号', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'CallDesc' => ['title' => '呼叫状态描述', 'description' => '呼叫状态描述 如“已接听”“拒接”'."\n" + .'当号码状态为1时,对应描述为:'."\n" + .'-516 "外呼号码并发限制"'."\n" + .'-515 "号码频次受限"'."\n" + .'-514 "没有配置线路"'."\n" + .'-513 "并发限制"'."\n" + .'-512 "非外呼时间"'."\n" + .'-511 "屏蔽区号"'."\n" + .'-310 "等待分发"'."\n" + .'-210 "取消呼叫(查还款失败)"'."\n" + .'-110 "取消呼叫(已还款)"'."\n" + .'-20 "座席未在线"'."\n" + .'-19 "座席未接听"'."\n" + .'-18 "呼叫座席失败"'."\n" + .'-17 "取消呼叫"'."\n" + .'-16 "超时未外呼"'."\n" + .'-15 "获取语音网关信息失败"'."\n" + .'-14 "MD5转手机号失败"'."\n" + .'-13 "预缓存音频文件失败"'."\n" + .'当号码状态为2时,对应描述为:'."\n" + .'-12 "预缓存音频文件中"'."\n" + .'-11 "等待预缓存音频文件"'."\n" + .'-10 "未开始"'."\n" + .'-9 "等待外呼"'."\n" + .'-8 "呼叫中"'."\n" + .'-7 "AI通话中"'."\n" + .'-6 "分配坐席中"'."\n" + .'-5 "人工通话中"'."\n" + .'-4 "监听振铃中"'."\n" + .'-3 "监听失败"'."\n" + .'-2 "监听中"'."\n" + .'当号码状态为3时,对应描述为:'."\n" + .'1 "已接听",'."\n" + .'2 "关机",'."\n" + .'3 "空号",'."\n" + .'4 "改号",'."\n" + .'5 "停机",'."\n" + .'6 "占线",'."\n" + .'7 "拒接",'."\n" + .'8 "无法接通",'."\n" + .'9 "未接",'."\n" + .'10 "用户欠费",'."\n" + .'11 "线路故障",'."\n" + .'12 "呼叫失败"'."\n" + .'30 "已拦截" '."\n" + .'40 "单日呼叫次数受限"', 'type' => 'string', 'example' => '已接听'], + 'CallId' => ['title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '28dd74a4-30ec-43c0-9bec-272924c51eeb'], + 'CallType' => ['title' => '外呼类型', 'description' => '外呼类型 可选项:'."\n" + .'2001:批量-预测外呼,2002:批量-AI外呼-不转人工,2003:批量-AI外呼-接通转人工,2004: 批量-AI外呼-智能转人工,2005:批量-语音通知', 'type' => 'integer', 'format' => 'int64', 'example' => '2001'], + 'CallStatus' => ['title' => '呼叫状态', 'description' => '呼叫状态 如1'."\n" + .'当号码状态为1时,对应描述为:'."\n" + .'-516 "外呼号码并发限制"'."\n" + .'-515 "号码频次受限"'."\n" + .'-514 "没有配置线路"'."\n" + .'-513 "并发限制"'."\n" + .'-512 "非外呼时间"'."\n" + .'-511 "屏蔽区号"'."\n" + .'-310 "等待分发"'."\n" + .'-210 "取消呼叫(查还款失败)"'."\n" + .'-110 "取消呼叫(已还款)"'."\n" + .'-20 "座席未在线"'."\n" + .'-19 "座席未接听"'."\n" + .'-18 "呼叫座席失败"'."\n" + .'-17 "取消呼叫"'."\n" + .'-16 "超时未外呼"'."\n" + .'-15 "获取语音网关信息失败"'."\n" + .'-14 "MD5转手机号失败"'."\n" + .'-13 "预缓存音频文件失败"'."\n" + .'当号码状态为2时,对应描述为:'."\n" + .'-12 "预缓存音频文件中"'."\n" + .'-11 "等待预缓存音频文件"'."\n" + .'-10 "未开始"'."\n" + .'-9 "等待外呼"'."\n" + .'-8 "呼叫中"'."\n" + .'-7 "AI通话中"'."\n" + .'-6 "分配坐席中"'."\n" + .'-5 "人工通话中"'."\n" + .'-4 "监听振铃中"'."\n" + .'-3 "监听失败"'."\n" + .'-2 "监听中"'."\n" + .'当号码状态为3时,对应描述为:'."\n" + .'1 "已接听",'."\n" + .'2 "关机",'."\n" + .'3 "空号",'."\n" + .'4 "改号",'."\n" + .'5 "停机",'."\n" + .'6 "占线",'."\n" + .'7 "拒接",'."\n" + .'8 "无法接通",'."\n" + .'9 "未接",'."\n" + .'10 "用户欠费",'."\n" + .'11 "线路故障",'."\n" + .'12 "呼叫失败"'."\n" + .'30 "已拦截" '."\n" + .'40 "单日呼叫次数受限"', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'ImportTime' => ['title' => '导入时间', 'description' => '导入时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2023-04-25 15:19:02'], + 'NumberDesc' => ['title' => '号码状态描述', 'description' => '号码状态描述 ,如“未能外呼”'."\n" + .'1.未能外呼;'."\n" + .'2.进行中外呼;'."\n" + .'3.已完成外呼;', 'type' => 'string', 'example' => '未能外呼'], + 'Number' => ['title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '188******454'], + 'InterceptReason' => ['title' => '拦截原因', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截'], + 'NumberStatus' => ['title' => '号码状态', 'description' => '号码状态,如“未能外呼”'."\n" + .'1.未能外呼;'."\n" + .'2.进行中外呼;'."\n" + .'3.已完成外呼;', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Tag' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => 'A'], + 'NumberMD5' => ['title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => 'cbe1b40f76f2cca4735954886b706ffa'], ], ], 'example' => '', @@ -1246,55 +776,37 @@ ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1686279332221', - ], - 'Success' => [ - 'description' => '表示是否调用成功。true:调用成功。 false:调用失败。', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1686279332221'], + 'Success' => ['description' => '表示是否调用成功。true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'false'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"389b2d0a-37e2-406d-b576-1fc0827be46a\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 79,\\n \\"PageSize\\": 94,\\n \\"TotalPage\\": 10,\\n \\"PageNo\\": 100,\\n \\"List\\": [\\n {\\n \\"TaskId\\": 28,\\n \\"BatchId\\": 27,\\n \\"CallDesc\\": \\"已接听\\",\\n \\"CallId\\": \\"28dd74a4-30ec-43c0-9bec-272924c51eeb\\",\\n \\"CallType\\": 2001,\\n \\"CallStatus\\": 1,\\n \\"ImportTime\\": \\"2023-04-25 15:19:02\\",\\n \\"NumberDesc\\": \\"未能外呼\\",\\n \\"Number\\": \\"188******454\\",\\n \\"InterceptReason\\": \\"黑名单拦截\\",\\n \\"NumberStatus\\": 1,\\n \\"Tag\\": \\"A\\",\\n \\"NumberMD5\\": \\"cbe1b40f76f2cca4735954886b706ffa\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686279332221,\\n \\"Success\\": false\\n}","type":"json"}]', 'title' => '行业版-AI批量任务查询号码状态', 'description' => 'AI批量任务查询号码状态', + 'changeSet' => [], + 'ramActions' => [], ], 'EditTask' => [ 'summary' => '行业版-编辑任务。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1302,91 +814,43 @@ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务id', - 'description' => '任务id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '29', - ], + 'schema' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '29'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'title' => '任务状态', - 'description' => '任务状态 修改任务状态,2:开启;4:停止;'."\n" - .'注:不传参视为不修改;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '任务状态', 'description' => '任务状态 修改任务状态,2:开启;4:停止;'."\n" + .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '任务名称', - 'description' => '任务名称 修改任务名称,不能超过100个字符;'."\n" - .'注:不传参视为不修改;', - 'type' => 'string', - 'required' => false, - 'example' => '任务名称'."\n" - ."\n", - ], + 'schema' => ['title' => '任务名称', 'description' => '任务名称 修改任务名称,不能超过100个字符;'."\n" + .'注:不传参视为不修改;', 'type' => 'string', 'required' => false, 'example' => '任务名称'."\n" + ."\n"], ], [ 'name' => 'TemplateType', 'in' => 'query', - 'schema' => [ - 'title' => '话术模板类型', - 'description' => '话术模板类型 1:单模 版;2:智能话术策略模板;'."\n" - .'注:不传参视为不修改', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '话术模板类型', 'description' => '话术模板类型 1:单模 版;2:智能话术策略模板;'."\n" + .'注:不传参视为不修改', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'title' => '话术模板ID', - 'description' => '话术模板ID 注:不传参视为不修改;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24', - ], + 'schema' => ['title' => '话术模板ID', 'description' => '话术模板ID 注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24'], ], [ 'name' => 'MaxConcurrency', 'in' => 'query', - 'schema' => [ - 'title' => '并发数', - 'description' => '并发数 修改并发数。默认为1,不可超过企业设置最高并发数;'."\n" - .'注:不传参视为不修改', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '83', - ], + 'schema' => ['title' => '并发数', 'description' => '并发数 修改并发数。默认为1,不可超过企业设置最高并发数;'."\n" + .'注:不传参视为不修改', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '83'], ], [ 'name' => 'RecallType', 'in' => 'query', - 'schema' => [ - 'title' => '重呼配置', - 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼;'."\n" - .'注:不传参视为不修改;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '重呼配置', 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼;'."\n" + .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'CallTimeList', @@ -1398,17 +862,17 @@ .'注:不传参视为不修改;', 'type' => 'array', 'items' => [ + 'title' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];'."\n" + .'注:不传参视为不修改;', + 'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];'."\n" + .'注:不传参视为不修改;', 'type' => 'object', 'properties' => [ 'CallTime' => [ + 'title' => '外呼时间', 'description' => '外呼时间', 'type' => 'array', - 'items' => [ - 'description' => '外呼时间', - 'type' => 'string', - 'required' => false, - 'example' => '8.5', - ], + 'items' => ['title' => '外呼时间', 'description' => '外呼时间', 'type' => 'string', 'required' => false, 'example' => '8.5'], 'required' => false, 'example' => '', ], @@ -1422,28 +886,14 @@ [ 'name' => 'RepeatInterval', 'in' => 'query', - 'schema' => [ - 'title' => '重呼间隔', - 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数'."\n" - .'注:不传参视为不修改;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '91', - ], + 'schema' => ['title' => '重呼间隔', 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数'."\n" + .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '91'], ], [ 'name' => 'RepeatCount', 'in' => 'query', - 'schema' => [ - 'title' => '重呼次数', - 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数'."\n" - .'注:不传参视为不修改;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51', - ], + 'schema' => ['title' => '重呼次数', 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数'."\n" + .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51'], ], [ 'name' => 'RepeatTimes', @@ -1453,14 +903,9 @@ 'title' => '重呼时间', 'description' => '重呼时间', 'type' => 'array', - 'items' => [ - 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n" - .'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00","13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"'."\n" - .'注:不传参视为不修改;', - 'type' => 'string', - 'required' => false, - 'example' => '8:30', - ], + 'items' => ['title' => '重呼时间', 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n" + .'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00","13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"'."\n" + .'注:不传参视为不修改;', 'type' => 'string', 'required' => false, 'example' => '8:30'], 'required' => false, 'example' => '', ], @@ -1468,37 +913,17 @@ [ 'name' => 'RecordPath', 'in' => 'query', - 'schema' => [ - 'title' => '录音地址', - 'description' => '录音地址', - 'type' => 'string', - 'required' => false, - 'example' => '示例值示例值示例值', - ], + 'schema' => ['title' => '录音地址', 'description' => '录音地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值'], ], [ 'name' => 'PlaySleepVal', 'in' => 'query', - 'schema' => [ - 'title' => '播放间隔时长', - 'description' => '播放间隔时长', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '29', - ], + 'schema' => ['title' => '播放间隔时长', 'description' => '播放间隔时长', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '29'], ], [ 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'title' => '录音播放次数', - 'description' => '录音播放次数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['title' => '录音播放次数', 'description' => '录音播放次数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60'], ], [ 'name' => 'SendSmsPlan', @@ -1509,29 +934,19 @@ 'description' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送', 'type' => 'array', 'items' => [ + 'title' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送', + 'description' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送', 'type' => 'object', 'properties' => [ 'IntentTags' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'array', - 'items' => [ - 'description' => '意向标签数组,大写,例如:["A", "B"]', - 'type' => 'string', - 'required' => false, - 'example' => 'A', - ], + 'items' => ['title' => '意向标签数组,大写,例如:["A", "B"]', 'description' => '意向标签数组,大写,例如:["A", "B"]', 'type' => 'string', 'required' => false, 'example' => 'A'], 'required' => false, 'example' => '', ], - 'SmsTemplateId' => [ - 'title' => '短信模板ID', - 'description' => '短信模板ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'SmsTemplateId' => ['title' => '短信模板ID', 'description' => '短信模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -1547,30 +962,24 @@ 'title' => '重呼条件', 'description' => '重呼条件', 'type' => 'array', - 'items' => [ - 'description' => '可多选,不传时默认条件为[2, 3,4, 5,6, 8,9,10,11, 12] '."\n" - .'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n" - .'注,重呼条件编码与描述对应:'."\n" - ."\n\n" - ."\n" - .'2 "关机",'."\n" - .'3 "空号",'."\n" - .'4 "改号",'."\n" - .'5 "停机",'."\n" - .'6 "占线",'."\n" - .'7 "拒接",'."\n" - .'8 "无法接通",'."\n" - .'9 "未接",'."\n" - .'10 "用户欠费",'."\n" - .'11 "线路故障",'."\n" - .'12 "呼叫失败"'."\n" - .'30 "已拦截"'."\n" - .'40 "单日呼叫次数受限"', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'items' => ['title' => '重呼条件', 'description' => '可多选,不传时默认条件为[2, 3,4, 5,6, 8,9,10,11, 12] '."\n" + .'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n" + .'注,重呼条件编码与描述对应:'."\n" + ."\n\n" + ."\n" + .'2 "关机",'."\n" + .'3 "空号",'."\n" + .'4 "改号",'."\n" + .'5 "停机",'."\n" + .'6 "占线",'."\n" + .'7 "拒接",'."\n" + .'8 "无法接通",'."\n" + .'9 "未接",'."\n" + .'10 "用户欠费",'."\n" + .'11 "线路故障",'."\n" + .'12 "呼叫失败"'."\n" + .'30 "已拦截"'."\n" + .'40 "单日呼叫次数受限"', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], 'required' => false, 'example' => '', ], @@ -1578,38 +987,57 @@ [ 'name' => 'CallbackUrl', 'in' => 'query', - 'schema' => [ - 'title' => '回调地址', - 'description' => '回调地址', - 'type' => 'string', - 'required' => false, - 'example' => '示例值示例值示例值', - ], + 'schema' => ['title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值'], ], [ 'name' => 'FlashSmsType', 'in' => 'query', + 'schema' => ['title' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', 'description' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'default' => ''], + ], + [ + 'name' => 'FlashSmsTemplateId', + 'in' => 'query', + 'schema' => ['title' => '当发送闪信配置为1时,闪信模板ID必填', 'description' => '当发送闪信配置为1时,闪信模板ID必填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'default' => ''], + ], + [ + 'name' => 'CallTimeStrList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', - 'description' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', - 'type' => 'integer', - 'format' => 'int64', + 'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'type' => 'array', + 'items' => [ + 'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'type' => 'object', + 'properties' => [ + 'CallTime' => [ + 'title' => '第一个调用时间字符串', + 'description' => '第一个调用时间字符串', + 'type' => 'array', + 'items' => ['title' => '第一个调用时间字符串', 'description' => '第一个调用时间字符串', 'type' => 'string', 'required' => false, 'example' => '"08:00"'], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], 'required' => false, - 'example' => '0', - 'default' => '', + 'example' => '', ], ], [ - 'name' => 'FlashSmsTemplateId', + 'name' => 'WeekTag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '当发送闪信配置为1时,闪信模板ID必填', - 'description' => '当发送闪信配置为1时,闪信模板ID必填', - 'type' => 'integer', - 'format' => 'int64', + 'title' => '外呼时间需要的按星期几进行外呼,例:“1,2,3,4,5,6,7”,代表周一到周日都外呼', + 'description' => '外呼时间需要的按星期几进行外呼,例:[1,2,3,4,5,6,7],代表周一到周日都外呼', + 'type' => 'array', + 'items' => ['title' => '星期三', 'description' => '星期三', 'type' => 'string', 'required' => false, 'example' => '3'], 'required' => false, - 'example' => '60', - 'default' => '', + 'example' => '', ], ], ], @@ -1619,73 +1047,57 @@ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'type' => 'string', - ], - 'Message' => [ - 'description' => '返回结果消息。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912', - ], + 'AccessDeniedDetail' => ['title' => '访问被拒绝的详细信息', 'description' => '访问被拒绝的详细信息', 'type' => 'string', 'example' => 'None'], + 'Message' => ['title' => '返回结果消息。', 'description' => '返回结果消息。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912'], 'Model' => [ + 'title' => '返回结果', 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '92', - ], + 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '92'], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1686225227338', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['title' => '状态码。', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['title' => '操作时间戳', 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1686225227338'], + 'Success' => ['title' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 92\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": true\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 92\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-编辑任务', 'description' => '行业版-编辑任务', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:EditTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'ImportNumber' => [ 'summary' => '行业版-批量导入任务号码。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1698,9 +1110,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179241', - 'abilityTreeNodes' => [ - 'FEATUREaiccsDTMAFT', - ], + 'abilityTreeNodes' => ['FEATUREaiccsDTMAFT'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1708,23 +1118,12 @@ [ 'name' => 'OutId', 'in' => 'query', - 'schema' => [ - 'description' => '用于幂等控制', - 'type' => 'string', - 'required' => true, - 'example' => '示例值示例值', - ], + 'schema' => ['description' => '用于幂等控制', 'type' => 'string', 'required' => true, 'example' => '示例值示例值'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。 需提前确定', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '92', - ], + 'schema' => ['description' => '任务ID。 需提前确定', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '92'], ], [ 'name' => 'Customers', @@ -1737,36 +1136,11 @@ 'description' => 'map', 'type' => 'object', 'properties' => [ - 'Number' => [ - 'description' => '手机明文号码,md5和number两者必传其中一个', - 'type' => 'string', - 'required' => false, - 'example' => '13541251222', - ], - 'ClientUrl' => [ - 'description' => '客户弹窗url,特殊字段', - 'type' => 'string', - 'required' => false, - 'example' => 'http://test.com', - ], - 'Tag' => [ - 'description' => '用户自定义标签', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], - 'NumberMD5' => [ - 'description' => '电话号码MD5,md5和number两者必传其中一个', - 'type' => 'string', - 'required' => false, - 'example' => '示例值', - ], - 'Properties' => [ - 'description' => '需根据具体任务参数要求传输(总长度500个字符,多余的会被剔除)', - 'type' => 'object', - 'required' => false, - 'example' => '{"testt":"123"}', - ], + 'Number' => ['description' => '手机明文号码,md5和number两者必传其中一个', 'type' => 'string', 'required' => false, 'example' => '13541251222'], + 'ClientUrl' => ['description' => '客户弹窗url,特殊字段', 'type' => 'string', 'required' => false, 'example' => 'http://test.com'], + 'Tag' => ['description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'], + 'NumberMD5' => ['description' => '电话号码MD5,md5和number两者必传其中一个', 'type' => 'string', 'required' => false, 'example' => '示例值'], + 'Properties' => ['description' => '需根据具体任务参数要求传输(总长度500个字符,多余的会被剔除)', 'type' => 'object', 'required' => false, 'example' => '{"testt":"123"}'], ], 'required' => false, ], @@ -1777,13 +1151,7 @@ [ 'name' => 'FailReturn', 'in' => 'query', - 'schema' => [ - 'description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], ], 'responses' => [ @@ -1791,93 +1159,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。', 'type' => 'string', 'example' => 'None'], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '状态描述', - ], - 'ImportNum' => [ - 'description' => '导入数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26', - ], - 'BatchId' => [ - 'description' => '批次ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '54', - ], - 'Data' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '示例', - ], - 'Code' => [ - 'description' => '状态码。返回200表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '非必填 可能没有值', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '状态描述'], + 'ImportNum' => ['description' => '导入数量', 'type' => 'integer', 'format' => 'int64', 'example' => '26'], + 'BatchId' => ['description' => '批次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '54'], + 'Data' => ['description' => '错误信息', 'type' => 'string', 'example' => '示例'], + 'Code' => ['description' => '状态码。返回200表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '非必填 可能没有值'], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '是否调用成功:'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '是否调用成功:'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"Message\\": \\"状态描述\\",\\n \\"ImportNum\\": 26,\\n \\"BatchId\\": 54,\\n \\"Data\\": \\"示例\\",\\n \\"Code\\": 0\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-批量导入任务号码', + 'changeSet' => [ + ['createdAt' => '2025-05-06T09:45:07.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-06T09:44:47.000Z', 'description' => 'OpenAPI 下线'], + ], + 'ramActions' => [], ], 'ImportNumberV2' => [ 'summary' => '行业版-批量导入任务号码接口,提高导入数量限制。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1890,9 +1209,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '262750', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1900,23 +1217,12 @@ [ 'name' => 'OutId', 'in' => 'formData', - 'schema' => [ - 'description' => '必填! 外部流水号。', - 'type' => 'string', - 'required' => false, - 'example' => '示例值', - ], + 'schema' => ['description' => '必填! 外部流水号。', 'type' => 'string', 'required' => false, 'example' => '示例值'], ], [ 'name' => 'TaskId', 'in' => 'formData', - 'schema' => [ - 'description' => '必填!任务id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '89', - ], + 'schema' => ['description' => '必填!任务id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '89'], ], [ 'name' => 'Customers', @@ -1928,38 +1234,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Number' => [ - 'description' => '号码', - 'type' => 'string', - 'required' => false, - 'example' => '13800138000', - ], - 'ClientUrl' => [ - 'description' => '客户弹窗url,特殊字段', - 'type' => 'string', - 'required' => false, - 'example' => 'http://xxxx', - ], - 'Tag' => [ - 'description' => '标签', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'NumberMD5' => [ - 'description' => '加密号码,与号码字段两个必传一个', - 'type' => 'string', - 'required' => false, - 'example' => 'frgwryh5q4y623532542', - ], - 'Properties' => [ - 'description' => '参数 需提前约定', - 'type' => 'object', - 'required' => false, - 'example' => '{"testt":"123"}', - ], + 'Number' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13800138000'], + 'ClientUrl' => ['description' => '客户弹窗url,特殊字段', 'type' => 'string', 'required' => false, 'example' => 'http://xxxx'], + 'Tag' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'test'], + 'NumberMD5' => ['description' => '加密号码,与号码字段两个必传一个', 'type' => 'string', 'required' => false, 'example' => 'frgwryh5q4y623532542'], + 'Properties' => ['description' => '参数 需提前约定', 'type' => 'object', 'required' => false, 'example' => '{"testt":"123"}'], ], 'required' => false, + 'description' => '', ], 'required' => false, 'example' => '', @@ -1968,13 +1250,7 @@ [ 'name' => 'FailReturn', 'in' => 'formData', - 'schema' => [ - 'description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], ], 'responses' => [ @@ -1982,96 +1258,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '状态码的描述。', - 'type' => 'string', - 'example' => '成功'."\n", - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => '成功'."\n"], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '响应消息', - 'type' => 'string', - 'example' => '示例值示例值示例值', - ], - 'ImportNum' => [ - 'description' => '成功导入的数量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '当前批次导入成功的数量', - ], - 'BatchId' => [ - 'description' => '批次ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '导入号码时返回的批次号', - ], - 'Data' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{"number":"外呼号码为空或错误. 错误值:185207857231","尊称":"尊称错误,请传入中文。错误值:abc","还款金额":"值错误,请传入数字。错误值:a219.33","逾期天数":"值错误,请传入数字。错误值:今天中午十一点之前"}]}', - ], - 'Code' => [ - 'description' => '状态码。返回200表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Message' => ['description' => '响应消息', 'type' => 'string', 'example' => '示例值示例值示例值'], + 'ImportNum' => ['description' => '成功导入的数量', 'type' => 'integer', 'format' => 'int64', 'example' => '当前批次导入成功的数量'], + 'BatchId' => ['description' => '批次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '导入号码时返回的批次号'], + 'Data' => ['description' => '错误信息', 'type' => 'string', 'example' => '如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{"number":"外呼号码为空或错误. 错误值:185207857231","尊称":"尊称错误,请传入中文。错误值:abc","还款金额":"值错误,请传入数字。错误值:a219.33","逾期天数":"值错误,请传入数字。错误值:今天中午十一点之前"}]}'], + 'Code' => ['description' => '状态码。返回200表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '98', - ], - 'Success' => [ - 'description' => '是否调用成功:'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '98'], + 'Success' => ['description' => '是否调用成功:'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\\\n\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"Message\\": \\"示例值示例值示例值\\",\\n \\"ImportNum\\": 0,\\n \\"BatchId\\": 0,\\n \\"Data\\": \\"如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{\\\\\\"number\\\\\\":\\\\\\"外呼号码为空或错误. 错误值:185207857231\\\\\\",\\\\\\"尊称\\\\\\":\\\\\\"尊称错误,请传入中文。错误值:abc\\\\\\",\\\\\\"还款金额\\\\\\":\\\\\\"值错误,请传入数字。错误值:a219.33\\\\\\",\\\\\\"逾期天数\\\\\\":\\\\\\"值错误,请传入数字。错误值:今天中午十一点之前\\\\\\"}]}\\",\\n \\"Code\\": 200\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 98,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-批量导入任务号码V2版本', + 'changeSet' => [ + ['createdAt' => '2025-07-24T02:32:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-24T02:32:08.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-13T14:41:08.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-05-13T07:23:37.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-13T07:23:28.000Z', 'description' => 'OpenAPI 下线'], + ], + 'ramActions' => [], ], 'Page' => [ 'summary' => '查询行业版-黑名单。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2084,9 +1312,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179243', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2098,12 +1324,7 @@ 'schema' => [ 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'description' => '手机号码', - 'type' => 'string', - 'required' => false, - 'example' => '15823099196', - ], + 'items' => ['description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '15823099196'], 'required' => false, 'example' => '', ], @@ -2111,24 +1332,12 @@ [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时设置的每页行数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页查询时设置的每页行数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -2136,44 +1345,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。 ', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], + 'Message' => ['description' => '状态码描述。 ', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '97', - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'TotalPage' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'PageNo' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '97'], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'List' => [ 'description' => '详情列表', 'type' => 'array', @@ -2181,36 +1362,11 @@ 'description' => 'map', 'type' => 'object', 'properties' => [ - 'Number' => [ - 'title' => '手机号码', - 'description' => '手机号码', - 'type' => 'string', - 'example' => '13314206082', - ], - 'CreateTime' => [ - 'title' => '添加时间', - 'description' => '添加时间', - 'type' => 'string', - 'example' => ' 2020-03-06 10:10:10', - ], - 'NumberMD5' => [ - 'title' => '手机号MD5', - 'description' => '手机号MD5', - 'type' => 'string', - 'example' => 'e10adc3949ba59abbe56e057f20f883e', - ], - 'ExpirationTime' => [ - 'title' => '过期时间', - 'description' => '过期时间', - 'type' => 'string', - 'example' => '1', - ], - 'Remark' => [ - 'title' => '备注', - 'description' => '备注', - 'type' => 'string', - 'example' => '备注', - ], + 'Number' => ['title' => '手机号码', 'description' => '手机号码', 'type' => 'string', 'example' => '13314206082'], + 'CreateTime' => ['title' => '添加时间', 'description' => '添加时间', 'type' => 'string', 'example' => ' 2020-03-06 10:10:10'], + 'NumberMD5' => ['title' => '手机号MD5', 'description' => '手机号MD5', 'type' => 'string', 'example' => 'e10adc3949ba59abbe56e057f20f883e'], + 'ExpirationTime' => ['title' => '过期时间', 'description' => '过期时间', 'type' => 'string', 'example' => '1'], + 'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => '备注'], ], ], 'example' => '', @@ -2218,45 +1374,172 @@ ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'string', 'example' => 'true'], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 97,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 5,\\n \\"PageNo\\": 1,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"13314206082\\",\\n \\"CreateTime\\": \\" 2020-03-06 10:10:10\\",\\n \\"NumberMD5\\": \\"e10adc3949ba59abbe56e057f20f883e\\",\\n \\"ExpirationTime\\": \\"1\\",\\n \\"Remark\\": \\"备注\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', + 'title' => '行业版-分页查询黑名单', + 'changeSet' => [], + 'ramActions' => [], + ], + 'QuickAddTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREaiccsDTMAFT'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '任务名称', 'description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => 'a'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['title' => '任务启动日期', 'description' => '任务启动日期', 'type' => 'string', 'required' => false, 'example' => '2019-04-30'], + ], + [ + 'name' => 'TemplateType', + 'in' => 'query', + 'schema' => ['title' => '话术模板类型', 'description' => '话术模板类型。不填默认1。'."\n" + ."\n" + .'- 1:单模版;'."\n" + .'- 2:智能话术策略模板。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['title' => '话术模板ID,如果不传则使用被复制任务的话术模板', 'description' => '话术模板ID,如果不传则使用被复制任务的话术模板', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'SmsTemplateId', + 'in' => 'query', + 'schema' => ['title' => '短信模板ID', 'description' => '短信模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ReferenceTaskId', + 'in' => 'query', + 'schema' => ['title' => '被复制任务ID', 'description' => '被复制任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'AgentGroupId', + 'in' => 'query', + 'schema' => ['title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'CallTimeList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '外呼时间', + 'description' => '外呼时间', + 'type' => 'array', + 'items' => [ + 'title' => '外呼时间', + 'description' => '外呼时间', + 'type' => 'object', + 'properties' => [ + 'CallTime' => [ + 'title' => '外呼时间', + 'description' => '外呼时间', + 'type' => 'array', + 'items' => ['title' => '外呼时间', 'description' => '外呼时间', 'type' => 'string', 'required' => false, 'example' => '8.5'], + 'required' => false, + 'example' => '', + ], ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', + 'required' => false, + ], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CallTimeStrList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CallTime' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'example' => '"08:00"'], + 'required' => false, + 'example' => '["08:00","20:00"]', + ], ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'string', - 'example' => 'true', + 'required' => false, + 'example' => 'CallTimeStrList', + ], + 'required' => false, + 'example' => '[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None'], + 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'example'], + 'RequestId' => ['description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', 'type' => 'string', 'example' => 'example'], + 'Model' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'example' => '', ], + 'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '77'], + 'Success' => ['description' => '接口调用是否成功。'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。'."\n", 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '行业版-快速创建任务接口', + 'summary' => '快速创建任务接口', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 97,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 5,\\n \\"PageNo\\": 1,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"13314206082\\",\\n \\"CreateTime\\": \\" 2020-03-06 10:10:10\\",\\n \\"NumberMD5\\": \\"e10adc3949ba59abbe56e057f20f883e\\",\\n \\"ExpirationTime\\": \\"1\\",\\n \\"Remark\\": \\"备注\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', - 'title' => '行业版-分页查询黑名单', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"TaskId\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 77,\\n \\"Success\\": true\\n}","type":"json"}]', ], 'SmsTemplateCreate' => [ 'summary' => '行业版-添加短信模板。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2269,9 +1552,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '180596', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2279,62 +1560,30 @@ [ 'name' => 'TemplateName', 'in' => 'query', - 'schema' => [ - 'title' => '模板名称', - 'description' => '模板名称', - 'type' => 'string', - 'required' => true, - 'example' => '模板', - ], + 'schema' => ['title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => '模板'], ], [ 'name' => 'Sign', 'in' => 'query', - 'schema' => [ - 'title' => '短信签名', - 'description' => '短信签名', - 'type' => 'string', - 'required' => true, - 'example' => 'ef2i29fsljf', - ], + 'schema' => ['title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'required' => true, 'example' => 'ef2i29fsljf'], ], [ 'name' => 'TemplateType', 'in' => 'query', - 'schema' => [ - 'title' => '模板类型', - 'description' => '模板类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '模板类型,默认为1'."\n" - .'1:普通短信模板', - ], + 'schema' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '模板类型,默认为1'."\n" + .'1:普通短信模板'], ], [ 'name' => 'Content', 'in' => 'query', - 'schema' => [ - 'title' => '短信内容', - 'description' => '短信内容', - 'type' => 'string', - 'required' => true, - 'example' => '短信内容,可增加变量,变量格式:{变量},需系统存在', - ], + 'schema' => ['title' => '短信内容', 'description' => '短信内容', 'type' => 'string', 'required' => true, 'example' => '短信内容,可增加变量,变量格式:{变量},需系统存在'], ], [ 'name' => 'SmsType', 'in' => 'query', - 'schema' => [ - 'title' => '短信类型', - 'description' => '短信类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '短信类型,默认为3'."\n" - .'3:挂机短信'."\n" - .'4:群发短信', - ], + 'schema' => ['title' => '短信类型', 'description' => '短信类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '短信类型,默认为3'."\n" + .'3:挂机短信'."\n" + .'4:群发短信'], ], ], 'responses' => [ @@ -2342,61 +1591,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID,用于跟踪错误原因', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'string', - 'example' => '成功', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID,用于跟踪错误原因', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], + 'Model' => ['description' => '返回结果', 'type' => 'string', 'example' => '成功'], + 'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": \\"成功\\",\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-添加短信模板', 'description' => '针对行业版短信模板创建', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplateCreate'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:SmsTemplateCreate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'SmsTemplatePageList' => [ 'summary' => '行业版-短信模板列表查询。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2407,101 +1642,51 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '180597', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], ], 'parameters' => [ [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'title' => '页码', - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24', - ], + 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数', - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '97', - ], + 'schema' => ['title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '97'], ], [ 'name' => 'TemplateType', 'in' => 'query', - 'schema' => [ - 'title' => '模板类型', - 'description' => '模板类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '需查询的模板类型'."\n" - .'1:普通短信模板'."\n" - .'2:智能短链模板', - ], + 'schema' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需查询的模板类型'."\n" + .'1:普通短信模板'."\n" + .'2:智能短链模板'], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'title' => '模板ID', - 'description' => '模板ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '83', - ], + 'schema' => ['title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '83'], ], [ 'name' => 'SmsType', 'in' => 'query', - 'schema' => [ - 'title' => '短信类型', - 'description' => '短信类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '需要查询的短信类型'."\n" - .'3:挂机短信'."\n" - .'4:群发短信', - ], + 'schema' => ['title' => '短信类型', 'description' => '短信类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需要查询的短信类型'."\n" + .'3:挂机短信'."\n" + .'4:群发短信'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'title' => '模板状态', - 'description' => '模板状态', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '需要查询的模板状态'."\n" - .'1:待审核'."\n" - .'2:审核中'."\n" - .'3:审核不通过'."\n" - .'4:可应用', - ], + 'schema' => ['title' => '模板状态', 'description' => '模板状态', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需要查询的模板状态'."\n" + .'1:待审核'."\n" + .'2:审核中'."\n" + .'3:审核不通过'."\n" + .'4:可应用'], ], [ 'name' => 'Sign', 'in' => 'query', - 'schema' => [ - 'title' => '短信签名', - 'description' => '短信签名', - 'type' => 'string', - 'required' => false, - 'example' => '114ah23m', - ], + 'schema' => ['title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'required' => false, 'example' => '114ah23m'], ], ], 'responses' => [ @@ -2509,44 +1694,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42', - ], - 'TotalPage' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '31', - ], - 'PageNo' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '53', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '42'], + 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '31'], + 'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '53'], 'List' => [ 'description' => '记录列表', 'type' => 'array', @@ -2554,75 +1711,21 @@ 'description' => '记录', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '模板状态', - 'description' => '模板状态', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1:待审核'."\n" - .'2:审核中'."\n" - .'3:审核不通过'."\n" - .'4:可应用', - ], - 'SmsType' => [ - 'title' => '短信类型', - 'description' => '短信类型', - 'type' => 'string', - 'example' => '3:挂机短信'."\n" - .'4:群发短信', - ], - 'Content' => [ - 'title' => '短信内容', - 'description' => '短信内容', - 'type' => 'string', - 'example' => '短信内容', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2021-09-26 11:34:59', - ], - 'TemplateName' => [ - 'title' => '模板名称', - 'description' => '模板名称', - 'type' => 'string', - 'example' => '短信模板10926001', - ], - 'Sign' => [ - 'title' => '短信签名', - 'description' => '短信签名', - 'type' => 'string', - 'example' => 'a234n', - ], - 'TemplateType' => [ - 'title' => '模板类型', - 'description' => '模板类型', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1:普通短信模板'."\n" - .'2:智能短链模板', - ], - 'Properties' => [ - 'title' => '模板所需参数', - 'description' => '模板所需参数', - 'type' => 'string', - 'example' => '“尊称,姓名,金额"', - ], - 'TemplateId' => [ - 'title' => '模板ID', - 'description' => '模板ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '67', - ], - 'ShortUrlTaskId' => [ - 'title' => '智能短链ID', - 'description' => '智能短链ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '46', - ], + 'Status' => ['title' => '模板状态', 'description' => '模板状态', 'type' => 'integer', 'format' => 'int64', 'example' => '1:待审核'."\n" + .'2:审核中'."\n" + .'3:审核不通过'."\n" + .'4:可应用'], + 'SmsType' => ['title' => '短信类型', 'description' => '短信类型', 'type' => 'string', 'example' => '3:挂机短信'."\n" + .'4:群发短信'], + 'Content' => ['title' => '短信内容', 'description' => '短信内容', 'type' => 'string', 'example' => '短信内容'], + 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2021-09-26 11:34:59'], + 'TemplateName' => ['title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => '短信模板10926001'], + 'Sign' => ['title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'example' => 'a234n'], + 'TemplateType' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1:普通短信模板'."\n" + .'2:智能短链模板'], + 'Properties' => ['title' => '模板所需参数', 'description' => '模板所需参数', 'type' => 'string', 'example' => '“尊称,姓名,金额"'], + 'TemplateId' => ['title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '67'], + 'ShortUrlTaskId' => ['title' => '智能短链ID', 'description' => '智能短链ID', 'type' => 'integer', 'format' => 'int64', 'example' => '46'], ], ], 'example' => '', @@ -2630,43 +1733,43 @@ ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '接口调用是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '接口调用是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 42,\\n \\"TotalPage\\": 31,\\n \\"PageNo\\": 53,\\n \\"List\\": [\\n {\\n \\"Status\\": 0,\\n \\"SmsType\\": \\"3:挂机短信\\\\n4:群发短信\\",\\n \\"Content\\": \\"短信内容\\",\\n \\"CreateTime\\": \\"2021-09-26 11:34:59\\",\\n \\"TemplateName\\": \\"短信模板10926001\\",\\n \\"Sign\\": \\"a234n\\",\\n \\"TemplateType\\": 0,\\n \\"Properties\\": \\"“尊称,姓名,金额\\\\\\"\\",\\n \\"TemplateId\\": 67,\\n \\"ShortUrlTaskId\\": 46\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-短信模板列表查询', 'description' => '行业版短信模板列表查询', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplatePageList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:SmsTemplatePageList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'TaskCallChats' => [ 'summary' => '行业版-查询聊天记录。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2679,9 +1782,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '180600', - 'abilityTreeNodes' => [ - 'FEATUREaiccs3JFNGJ', - ], + 'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2689,48 +1790,22 @@ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '决策系统中的任务编号,可以为空,其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '26', - ], + 'schema' => ['title' => '任务ID', 'description' => '决策系统中的任务编号,可以为空,其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '26'], ], [ 'name' => 'AgentId', 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID', - 'description' => '坐席ID,可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '72', - ], + 'schema' => ['title' => '坐席ID', 'description' => '坐席ID,可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '72'], ], [ 'name' => 'AgentTag', 'in' => 'query', - 'schema' => [ - 'title' => '坐席标签', - 'description' => '建议填写坐席在贵司业务系统唯一标识,用于查询对应agentId;可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', - 'type' => 'string', - 'required' => false, - 'example' => 'AA', - ], + 'schema' => ['title' => '坐席标签', 'description' => '建议填写坐席在贵司业务系统唯一标识,用于查询对应agentId;可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'string', 'required' => false, 'example' => 'AA'], ], [ 'name' => 'CallId', 'in' => 'query', - 'schema' => [ - 'title' => '外呼ID', - 'description' => '外呼ID', - 'type' => 'string', - 'required' => true, - 'example' => '9b2eb6b8-7a27-4357-b5ec-104450086e24', - ], + 'schema' => ['title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'required' => true, 'example' => '9b2eb6b8-7a27-4357-b5ec-104450086e24'], ], ], 'responses' => [ @@ -2738,16 +1813,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果', 'type' => 'array', @@ -2755,69 +1822,52 @@ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'FromNumber' => [ - 'title' => '说话号码', - 'description' => '说话号码,其中0为机器人', - 'type' => 'string', - 'example' => '138*****265', - ], - 'Content' => [ - 'title' => '说话内容', - 'description' => '说话内容', - 'type' => 'string', - 'example' => '你好,请问是a吗?', - ], - 'CreateTime' => [ - 'title' => '说话时间', - 'description' => '说话时间,格式:2019-01-09 14:14:19', - 'type' => 'string', - 'example' => '2022-01-13 14:56:46', - ], + 'FromNumber' => ['title' => '说话号码', 'description' => '说话号码,其中0为机器人', 'type' => 'string', 'example' => '138*****265'], + 'Content' => ['title' => '说话内容', 'description' => '说话内容', 'type' => 'string', 'example' => '你好,请问是a吗?'], + 'CreateTime' => ['title' => '说话时间', 'description' => '说话时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-13 14:56:46'], ], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"FromNumber\\": \\"138*****265\\",\\n \\"Content\\": \\"你好,请问是a吗?\\",\\n \\"CreateTime\\": \\"2022-01-13 14:56:46\\"\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-查询聊天记录', 'description' => '行业版查询聊天记录', 'requestParamsDescription' => 'taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallChats'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:TaskCallChats', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'TaskCallInfo' => [ 'summary' => '行业版-获取任务外呼情况。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2825,24 +1875,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20'], ], ], 'responses' => [ @@ -2850,81 +1888,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '示例值示例值', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '示例值示例值示例值', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '示例值示例值'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '示例值示例值示例值'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'FinishTotal' => [ - 'description' => '已完成外呼数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '75', - ], - 'UnCallTotal' => [ - 'description' => '未能外呼数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Total' => [ - 'description' => '总外呼数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '59', - ], + 'FinishTotal' => ['description' => '已完成外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '75'], + 'UnCallTotal' => ['description' => '未能外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'Total' => ['description' => '总外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '59'], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '62'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"示例值示例值\\",\\n \\"RequestId\\": \\"示例值示例值示例值\\",\\n \\"Model\\": {\\n \\"FinishTotal\\": 75,\\n \\"UnCallTotal\\": 3,\\n \\"Total\\": 59\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 62,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-获取任务外呼情况', 'description' => '行业版-获取任务外呼情况', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallInfo'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:TaskCallInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'TaskCallList' => [ 'summary' => '行业版AI批量任务查询外呼记录。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2937,14 +1950,7 @@ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '93', - ], + 'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93'], ], [ 'name' => 'IntentTags', @@ -2955,13 +1961,7 @@ 'description' => '如“C”,则精准查询意向标签为C的数据;'."\n" .'若查询多个意向则["A","B","C”];', 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => '意向标签', - 'type' => 'string', - 'required' => false, - 'example' => '"A"', - ], + 'items' => ['title' => '', 'description' => '意向标签', 'type' => 'string', 'required' => false, 'example' => '"A"'], 'required' => false, 'example' => '', ], @@ -2969,13 +1969,7 @@ [ 'name' => 'BatchId', 'in' => 'query', - 'schema' => [ - 'title' => '导入号码时返回的批次号', - 'description' => '导入号码时返回的批次号', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '导入号码时返回的批次号', 'description' => '导入号码时返回的批次号', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'Numbers', @@ -2985,12 +1979,7 @@ 'title' => '号码列表', 'description' => '需要精确查询的号码,,支持批量 最大1000个号码', 'type' => 'array', - 'items' => [ - 'description' => '号码列表', - 'type' => 'string', - 'required' => false, - 'example' => '158*****196', - ], + 'items' => ['description' => '号码列表', 'type' => 'string', 'required' => false, 'example' => '158*****196'], 'required' => false, 'example' => '', ], @@ -2998,48 +1987,22 @@ [ 'name' => 'CallDate', 'in' => 'query', - 'schema' => [ - 'title' => '开始外呼时间', - 'description' => '开始外呼日期,只可查询最近30天的日期,格式:2020-03-06 10:10:10', - 'type' => 'string', - 'required' => true, - 'example' => '2022-01-25 00:00:00', - ], + 'schema' => ['title' => '开始外呼时间', 'description' => '开始外呼日期,只可查询最近30天的日期,格式:2020-03-06 10:10:10', 'type' => 'string', 'required' => true, 'example' => '2022-01-25 00:00:00'], ], [ 'name' => 'EndCallDate', 'in' => 'query', - 'schema' => [ - 'title' => '结束外呼时间', - 'description' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10', - 'type' => 'string', - 'required' => true, - 'example' => '2022-01-25 00:00:00', - ], + 'schema' => ['title' => '结束外呼时间', 'description' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10', 'type' => 'string', 'required' => true, 'example' => '2022-01-25 00:00:00'], ], [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'title' => '页数', - 'description' => '页数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '39', - ], + 'schema' => ['title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '39'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页外呼记录数,正整数,默认10000', - 'description' => '每页外呼记录数,正整数,默认10000', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '97', - ], + 'schema' => ['title' => '每页外呼记录数,正整数,默认10000', 'description' => '每页外呼记录数,正整数,默认10000', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '97'], ], ], 'responses' => [ @@ -3047,44 +2010,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '95', - ], - 'TotalPage' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '39', - ], - 'PageNo' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '95'], + 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '39'], + 'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '62'], 'List' => [ 'description' => '列表', 'type' => 'array', @@ -3092,297 +2027,80 @@ 'description' => '记录', 'type' => 'object', 'properties' => [ - 'AddWx' => [ - 'title' => '加微', - 'description' => '加微:可选值:0、1'."\n" - .'0:不添加,1:添加', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'TaskId' => [ - 'title' => '外呼任务ID', - 'description' => '外呼任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '70', - ], - 'Keywords' => [ - 'title' => '回复关键词', - 'description' => '回复关键词', - 'type' => 'string', - 'example' => '好', - ], - 'AgentExtension' => [ - 'title' => '坐席分机', - 'description' => '坐席分机', - 'type' => 'string', - 'example' => '112', - ], - 'CallType' => [ - 'title' => '外呼类型', - 'description' => '外呼类型:可选项:'."\n" - .'1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1001', - ], - 'AnswerTime' => [ - 'title' => '接通时间', - 'description' => '通话接通时间,格式:2019-01-09 14:14:19', - 'type' => 'string', - 'example' => '2022-01-26 18:58:25', - ], - 'IntentTag' => [ - 'title' => '意向标签', - 'description' => '意向标签', - 'type' => 'string', - 'example' => '“C”', - ], - 'TransferStatusCode' => [ - 'title' => '转人工状态编码', - 'description' => '转人工状态编码,如1,2,可以为空', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ImportTime' => [ - 'title' => '导入时间', - 'description' => '导入时间,格式:2019-01-09 14:14:19', - 'type' => 'string', - 'example' => '2022-01-26 18:58:25', - ], - 'IndividualTag' => [ - 'title' => '个性标签', - 'description' => '个性标签:如"投诉,非本人",可以为空', - 'type' => 'string', - 'example' => 'A', - ], - 'Properties' => [ - 'title' => '参数', - 'description' => '导入号码时的参数值:json', - 'type' => 'string', - 'example' => '{\\"电话号码\\":\\"13100000000\\"}', - ], - 'StatusCode' => [ - 'title' => '外呼状态编码', - 'description' => '外呼状态编码,如1,2', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentSpeakingDuration' => [ - 'title' => '人工通话时长', - 'description' => '坐席通话时长,单位:秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '98', - ], - 'Remark' => [ - 'title' => '备注', - 'description' => '人工备注信息,如:'."\n" - .'[{"加微信":"愿意","还款方式":["支付宝","人工"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":1,"opId":1,"opName":"企业A"},{"加微信":"愿意","还款方式":["支付宝"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":2,"opId":4,"opName":"老汤"}],注:如opType=1企业,2坐席,如坐席,opId为坐席ID', - 'type' => 'string', - 'example' => '备注内容', - ], - 'CallTimes' => [ - 'title' => '呼叫次数', - 'description' => '呼叫次数', - 'type' => 'string', - 'example' => '1', - ], - 'Number' => [ - 'title' => '外呼号码', - 'description' => '外呼号码', - 'type' => 'string', - 'example' => '138*****123', - ], - 'InterceptReason' => [ - 'title' => '拦截原因', - 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', - 'type' => 'string', - 'example' => '黑名单拦截,灰名单拦截,异常号码拦截', - ], - 'IntentDescription' => [ - 'title' => '意向说明', - 'description' => '意向说明:如“确认本人,未承诺还款”', - 'type' => 'string', - 'example' => '如“确认本人,未承诺还款”', - ], - 'StatusDescription' => [ - 'title' => '外呼状态描述', - 'description' => '外呼状态描述', - 'type' => 'string', - 'example' => '外呼状态,如“已接听”“拒接”'."\n" - .'注,转外呼状态编码与描述对应:'."\n" - .'1 "已接听",'."\n" - .'2 "关机",'."\n" - .'3 "空号",'."\n" - .'4 "改号",'."\n" - .'5 "停机",'."\n" - .'6 "占线",'."\n" - .'7 "拒接",'."\n" - .'8 "无法接通",'."\n" - .'9 "未接",'."\n" - .'10 "用户欠费",'."\n" - .'11 "线路故障",'."\n" - .'12 "呼叫失败"'."\n" - .'30 "已拦截" '."\n" - .'40 "单日呼叫次数受限"'."\n" - .'50 "取消外呼-已转化" ', - ], - 'SpeakingDuration' => [ - 'title' => 'AI通话时长', - 'description' => '通话时长,单位:秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'Gateway' => [ - 'title' => '外呼网关', - 'description' => '外呼网关', - 'type' => 'string', - 'example' => '123', - ], - 'TransferStatus' => [ - 'title' => '转人工状态', - 'description' => '转人工状态', - 'type' => 'string', - 'example' => '转人工状态,可以为空,如未触发、分配坐席失败'."\n" - .'注,转人工状态编码与状态对应:'."\n" - .'0 "未触发",'."\n" - .'1 "分配坐席失败",'."\n" - .'2 "无空闲坐席分配",'."\n" - .'10 "振铃未接听",'."\n" - .'11 "振铃占线",'."\n" - .'12 "振铃话机离线",'."\n" - .'13 "振铃失败",'."\n" - .'14 "监听失败",'."\n" - .'20 "监听未接听",'."\n" - .'30 "已接听",'."\n" - .'31 "接听失败"', - ], - 'AgentId' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '87', - ], - 'TemplateId' => [ - 'title' => 'AI话术ID', - 'description' => 'AI话术ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '66', - ], - 'AgentTag' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'example' => 'A', - ], - 'Status' => [ - 'title' => '外呼状态', - 'description' => '外呼状态', - 'type' => 'string', - 'example' => '未接、占线、拒接、用户欠费、线路故障、呼叫失败、已接听、无法接通、关机、停机、改号、空号、无效接通、已拦截、单日呼叫次数受限、取消外呼-已转化', - ], - 'CallId' => [ - 'title' => '外呼ID', - 'description' => '外呼ID', - 'type' => 'string', - 'example' => '9197ed9e-ceda-42a5-b683-823b23ef208e', - ], - 'BatchId' => [ - 'title' => '批次ID', - 'description' => '批次ID', - 'type' => 'string', - 'example' => '1', - ], - 'HangupTime' => [ - 'title' => '挂断时间', - 'description' => '通话挂断时间,格式:2019-01-09 14:14:19', - 'type' => 'string', - 'example' => '2022-01-26 18:58:25', - ], - 'CallBeginTime' => [ - 'title' => '开始通话时间', - 'description' => '开始通话时间,格式:2019-11-23 14:47:06', - 'type' => 'string', - 'example' => '2022-01-26 18:58:25', - ], - 'RingTime' => [ - 'title' => '振铃时长', - 'description' => '振铃时长 单位毫秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '66', - ], - 'AgentSpeakingTime' => [ - 'title' => '人工通话时长', - 'description' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', - 'type' => 'string', - 'example' => '0秒', - ], - 'AddWxStatus' => [ - 'title' => '加微进度', - 'description' => '加微进度', - 'type' => 'string', - 'example' => '可选值:已申请、加微成功', - ], - 'HangupType' => [ - 'title' => '挂机方式', - 'description' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SpeakingTurns' => [ - 'title' => '对话轮次', - 'description' => '对话轮次', - 'type' => 'string', - 'example' => '0', - ], - 'Sms' => [ - 'title' => '挂机短信', - 'description' => '挂机短信', - 'type' => 'string', - 'example' => '1、2'."\n" - .'1:发送,2:不发送', - ], - 'AnswerRecall' => [ - 'title' => '是否接通重呼', - 'description' => '是否接通重呼', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '可选值:0、1'."\n" - .'0正常外呼,1接通重呼', - ], - 'Tag' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'example' => '好', - ], - 'NumberMD5' => [ - 'title' => '外呼号码MD5', - 'description' => '外呼号码MD5', - 'type' => 'string', - 'example' => '75916b635568954583783d', - ], - 'ChatRecord' => [ - 'title' => '对话录音', - 'description' => '对话录音', - 'type' => 'string', - 'example' => 'URL,可以为空', - ], - 'SpeakingTime' => [ - 'title' => 'AI通话时长', - 'description' => '通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', - 'type' => 'string', - 'example' => '0秒', - ], + 'AddWx' => ['title' => '加微', 'description' => '加微:可选值:0、1'."\n" + .'0:不添加,1:添加', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TaskId' => ['title' => '外呼任务ID', 'description' => '外呼任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '70'], + 'Keywords' => ['title' => '回复关键词', 'description' => '回复关键词', 'type' => 'string', 'example' => '好'], + 'AgentExtension' => ['title' => '坐席分机', 'description' => '坐席分机', 'type' => 'string', 'example' => '112'], + 'CallType' => ['title' => '外呼类型', 'description' => '外呼类型:可选项:'."\n" + .'1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', 'type' => 'integer', 'format' => 'int64', 'example' => '1001'], + 'AnswerTime' => ['title' => '接通时间', 'description' => '通话接通时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25'], + 'IntentTag' => ['title' => '意向标签', 'description' => '意向标签', 'type' => 'string', 'example' => '“C”'], + 'TransferStatusCode' => ['title' => '转人工状态编码', 'description' => '转人工状态编码,如1,2,可以为空', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'ImportTime' => ['title' => '导入时间', 'description' => '导入时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25'], + 'IndividualTag' => ['title' => '个性标签', 'description' => '个性标签:如"投诉,非本人",可以为空', 'type' => 'string', 'example' => 'A'], + 'Properties' => ['title' => '参数', 'description' => '导入号码时的参数值:json', 'type' => 'string', 'example' => '{\\"电话号码\\":\\"13100000000\\"}'], + 'StatusCode' => ['title' => '外呼状态编码', 'description' => '外呼状态编码,如1,2', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'AgentSpeakingDuration' => ['title' => '人工通话时长', 'description' => '坐席通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '98'], + 'Remark' => ['title' => '备注', 'description' => '人工备注信息,如:'."\n" + .'[{"加微信":"愿意","还款方式":["支付宝","人工"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":1,"opId":1,"opName":"企业A"},{"加微信":"愿意","还款方式":["支付宝"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":2,"opId":4,"opName":"老汤"}],注:如opType=1企业,2坐席,如坐席,opId为坐席ID', 'type' => 'string', 'example' => '备注内容'], + 'CallTimes' => ['title' => '呼叫次数', 'description' => '呼叫次数', 'type' => 'string', 'example' => '1'], + 'Number' => ['title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '138*****123'], + 'InterceptReason' => ['title' => '拦截原因', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截,灰名单拦截,异常号码拦截'], + 'IntentDescription' => ['title' => '意向说明', 'description' => '意向说明:如“确认本人,未承诺还款”', 'type' => 'string', 'example' => '如“确认本人,未承诺还款”'], + 'StatusDescription' => ['title' => '外呼状态描述', 'description' => '外呼状态描述', 'type' => 'string', 'example' => '外呼状态,如“已接听”“拒接”'."\n" + .'注,转外呼状态编码与描述对应:'."\n" + .'1 "已接听",'."\n" + .'2 "关机",'."\n" + .'3 "空号",'."\n" + .'4 "改号",'."\n" + .'5 "停机",'."\n" + .'6 "占线",'."\n" + .'7 "拒接",'."\n" + .'8 "无法接通",'."\n" + .'9 "未接",'."\n" + .'10 "用户欠费",'."\n" + .'11 "线路故障",'."\n" + .'12 "呼叫失败"'."\n" + .'30 "已拦截" '."\n" + .'40 "单日呼叫次数受限"'."\n" + .'50 "取消外呼-已转化" '], + 'SpeakingDuration' => ['title' => 'AI通话时长', 'description' => '通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '45'], + 'Gateway' => ['title' => '外呼网关', 'description' => '外呼网关', 'type' => 'string', 'example' => '123'], + 'TransferStatus' => ['title' => '转人工状态', 'description' => '转人工状态', 'type' => 'string', 'example' => '转人工状态,可以为空,如未触发、分配坐席失败'."\n" + .'注,转人工状态编码与状态对应:'."\n" + .'0 "未触发",'."\n" + .'1 "分配坐席失败",'."\n" + .'2 "无空闲坐席分配",'."\n" + .'10 "振铃未接听",'."\n" + .'11 "振铃占线",'."\n" + .'12 "振铃话机离线",'."\n" + .'13 "振铃失败",'."\n" + .'14 "监听失败",'."\n" + .'20 "监听未接听",'."\n" + .'30 "已接听",'."\n" + .'31 "接听失败"'], + 'AgentId' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'example' => '87'], + 'TemplateId' => ['title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '66'], + 'AgentTag' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'example' => 'A'], + 'Status' => ['title' => '外呼状态', 'description' => '外呼状态', 'type' => 'string', 'example' => '未接、占线、拒接、用户欠费、线路故障、呼叫失败、已接听、无法接通、关机、停机、改号、空号、无效接通、已拦截、单日呼叫次数受限、取消外呼-已转化'], + 'CallId' => ['title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '9197ed9e-ceda-42a5-b683-823b23ef208e'], + 'BatchId' => ['title' => '批次ID', 'description' => '批次ID', 'type' => 'string', 'example' => '1'], + 'HangupTime' => ['title' => '挂断时间', 'description' => '通话挂断时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25'], + 'CallBeginTime' => ['title' => '开始通话时间', 'description' => '开始通话时间,格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2022-01-26 18:58:25'], + 'RingTime' => ['title' => '振铃时长', 'description' => '振铃时长 单位毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '66'], + 'AgentSpeakingTime' => ['title' => '人工通话时长', 'description' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '0秒'], + 'AddWxStatus' => ['title' => '加微进度', 'description' => '加微进度', 'type' => 'string', 'example' => '可选值:已申请、加微成功'], + 'HangupType' => ['title' => '挂机方式', 'description' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'SpeakingTurns' => ['title' => '对话轮次', 'description' => '对话轮次', 'type' => 'string', 'example' => '0'], + 'Sms' => ['title' => '挂机短信', 'description' => '挂机短信', 'type' => 'string', 'example' => '1、2'."\n" + .'1:发送,2:不发送'], + 'AnswerRecall' => ['title' => '是否接通重呼', 'description' => '是否接通重呼', 'type' => 'integer', 'format' => 'int64', 'example' => '可选值:0、1'."\n" + .'0正常外呼,1接通重呼'], + 'Tag' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => '好'], + 'NumberMD5' => ['title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => '75916b635568954583783d'], + 'ChatRecord' => ['title' => '对话录音', 'description' => '对话录音', 'type' => 'string', 'example' => 'URL,可以为空'], + 'SpeakingTime' => ['title' => 'AI通话时长', 'description' => '通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '0秒'], ], ], 'example' => '', @@ -3390,26 +2108,13 @@ ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], @@ -3417,17 +2122,30 @@ 'title' => '行业版-AI批量任务查询外呼记录', 'description' => '行业版AI批量任务查询外呼记录', 'requestParamsDescription' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'aiccs:TaskCallList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'TaskCancelCall' => [ 'summary' => '行业版-任务取消外呼。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3435,26 +2153,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30', - 'default' => '', - ], + 'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30', 'default' => ''], ], [ 'name' => 'Numbers', @@ -3463,13 +2167,7 @@ 'schema' => [ 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'title' => '号码', - 'description' => '号码', - 'type' => 'string', - 'required' => false, - 'example' => '13661109390', - ], + 'items' => ['title' => '号码', 'description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13661109390'], 'required' => false, 'example' => '', ], @@ -3481,13 +2179,7 @@ 'schema' => [ 'description' => '标签列表', 'type' => 'array', - 'items' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], + 'items' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'], 'required' => false, 'example' => '', 'default' => '', @@ -3499,16 +2191,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], 'Model' => [ 'description' => '返回结果', 'type' => 'object', @@ -3517,54 +2201,32 @@ 'title' => '错误手机号', 'description' => '未识别手机号列表', 'type' => 'array', - 'items' => [ - 'description' => '未识别的手机号', - 'type' => 'string', - 'example' => '13541251222,18665214444', - ], + 'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13541251222,18665214444'], 'example' => '', ], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'string', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '调用接口是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13541251222,18665214444\\"\\n ]\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-任务取消外呼', + 'changeSet' => [], + 'ramActions' => [], ], 'TaskList' => [ 'summary' => '行业版查询任务列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3577,54 +2239,28 @@ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'LastCallTime', 'in' => 'query', - 'schema' => [ - 'title' => '最后外呼时间', - 'description' => '最后外呼时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-05 12:11:11', - ], + 'schema' => ['title' => '最后外呼时间', 'description' => '最后外呼时间。', 'type' => 'string', 'required' => false, 'example' => '2023-04-05 12:11:11'], ], [ 'name' => 'CreateTime', 'in' => 'query', - 'schema' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-05 12:11:11', - ], + 'schema' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'required' => false, 'example' => '2023-04-05 12:11:11'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'title' => '任务状态。1 未启用,2 启用中,4 已停止', - 'description' => '任务状态,取值:'."\n" - ."\n" - .'- 2:已发布。'."\n" - ."\n" - .'- 4:停用。'."\n" - ."\n" - .'- 6:已删除。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '任务状态。1 未启用,2 启用中,4 已停止', 'description' => '任务状态,取值:'."\n" + ."\n" + .'- 2:已发布。'."\n" + ."\n" + .'- 4:停用。'."\n" + ."\n" + .'- 6:已删除。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], ], 'responses' => [ @@ -3633,21 +2269,9 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => '{}', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => '成功'."\n", - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-****-1ECA-****-7CBDF776AAD2'."\n", - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{}'], + 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => '成功'."\n"], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-****-1ECA-****-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果。', 'type' => 'array', @@ -3655,46 +2279,29 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '任务状态', - 'description' => '任务状态,取值:'."\n" - ."\n" - .'- 2:已发布。'."\n" - ."\n" - .'- 4:停用。'."\n" - ."\n" - .'- 6:已删除。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'AllowDayOfWeek' => [ - 'title' => '外呼时间', - 'description' => '外呼时间,按周外呼,取值:'."\n" - ."\n" - .'- 1:周一。'."\n" - ."\n" - .'- 2:周二。'."\n" - ."\n" - .'- 3:周三。'."\n" - ."\n" - .'- 4:周四。'."\n" - ."\n" - .'- 5:周五。'."\n" - ."\n" - .'- 6:周六。'."\n" - ."\n" - .'- 7:周日。', - 'type' => 'string', - 'example' => '1,2,3', - ], - 'TaskId' => [ - 'title' => '任务ID', - 'description' => '任务ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '68', - ], + 'Status' => ['title' => '任务状态', 'description' => '任务状态,取值:'."\n" + ."\n" + .'- 2:已发布。'."\n" + ."\n" + .'- 4:停用。'."\n" + ."\n" + .'- 6:已删除。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'AllowDayOfWeek' => ['title' => '外呼时间', 'description' => '外呼时间,按周外呼,取值:'."\n" + ."\n" + .'- 1:周一。'."\n" + ."\n" + .'- 2:周二。'."\n" + ."\n" + .'- 3:周三。'."\n" + ."\n" + .'- 4:周四。'."\n" + ."\n" + .'- 5:周五。'."\n" + ."\n" + .'- 6:周六。'."\n" + ."\n" + .'- 7:周日。', 'type' => 'string', 'example' => '1,2,3'], + 'TaskId' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '68'], 'IntentTags' => [ 'title' => '意向标签列表', 'description' => '意向标签列表。', @@ -3703,220 +2310,89 @@ 'description' => '意向标签对象。', 'type' => 'object', 'properties' => [ - 'IntentDescription' => [ - 'title' => '意向标签描述', - 'description' => '意向标签描述。', - 'type' => 'string', - 'example' => '满意', - ], - 'IntentTag' => [ - 'title' => '意向标签ID', - 'description' => '意向标签ID。', - 'type' => 'string', - 'example' => '123', - ], + 'IntentDescription' => ['title' => '意向标签描述', 'description' => '意向标签描述。', 'type' => 'string', 'example' => '满意'], + 'IntentTag' => ['title' => '意向标签ID', 'description' => '意向标签ID。', 'type' => 'string', 'example' => '123'], ], ], 'example' => '', ], - 'Priority' => [ - 'title' => '优先任务', - 'description' => '优先任务,可选值,取值:'."\n" - ."\n" - .'- 1:表示否。'."\n" - ."\n" - .'- 2:表示是。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-04-05 12:11:11'."\n", - ], - 'CallType' => [ - 'title' => '外呼类型', - 'description' => '外呼类型,取值:'."\n" - ."\n" - .'- 1001:坐席-人工外呼。'."\n" - ."\n" - .'- 1002:坐席-AI外呼-不转人工。'."\n" - ."\n" - .'- 1003:坐席-AI外呼-接通转人工。'."\n" - ."\n" - .'- 1004:坐席-AI外呼-智能转人工。'."\n" - ."\n" - .'- 2001:批量-预测外呼。'."\n" - ."\n" - .'- 2002:批量-AI外呼-不转人工。'."\n" - ."\n" - .'- 2003:批量-AI外呼-接通转人工。'."\n" - ."\n" - .'- 2004:批量-AI外呼-智能转人工。'."\n" - ."\n" - .'- 2005:批量-语音通知。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1001', - ], - 'MaxConcurrency' => [ - 'title' => '最大并发数', - 'description' => '最大并发数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '95', - ], + 'Priority' => ['title' => '优先任务', 'description' => '优先任务,可选值,取值:'."\n" + ."\n" + .'- 1:表示否。'."\n" + ."\n" + .'- 2:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'."\n"], + 'CallType' => ['title' => '外呼类型', 'description' => '外呼类型,取值:'."\n" + ."\n" + .'- 1001:坐席-人工外呼。'."\n" + ."\n" + .'- 1002:坐席-AI外呼-不转人工。'."\n" + ."\n" + .'- 1003:坐席-AI外呼-接通转人工。'."\n" + ."\n" + .'- 1004:坐席-AI外呼-智能转人工。'."\n" + ."\n" + .'- 2001:批量-预测外呼。'."\n" + ."\n" + .'- 2002:批量-AI外呼-不转人工。'."\n" + ."\n" + .'- 2003:批量-AI外呼-接通转人工。'."\n" + ."\n" + .'- 2004:批量-AI外呼-智能转人工。'."\n" + ."\n" + .'- 2005:批量-语音通知。', 'type' => 'integer', 'format' => 'int64', 'example' => '1001'], + 'MaxConcurrency' => ['title' => '最大并发数', 'description' => '最大并发数。', 'type' => 'integer', 'format' => 'int64', 'example' => '95'], 'PersonalityTags' => [ 'title' => '个性标签列表', 'description' => '个性标签列表。', 'type' => 'array', - 'items' => [ - 'description' => '个性标签。', - 'type' => 'string', - 'example' => 'AA', - ], + 'items' => ['description' => '个性标签。', 'type' => 'string', 'example' => 'AA'], 'example' => '', ], - 'SendSms' => [ - 'title' => '发送短信', - 'description' => '发送短信,取值:'."\n" - ."\n" - .'- 1:标识否。'."\n" - ."\n" - .'- 2:表示是。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ImportTime' => [ - 'title' => '最近导入时间', - 'description' => '最近导入时间。', - 'type' => 'string', - 'example' => '2023-04-05 12:11:11', - ], - 'Properties' => [ - 'title' => '任务所需参数', - 'description' => '任务所需参数。', - 'type' => 'string', - 'example' => '尊称,姓名,金额', - ], - 'FlashSmsTemplateName' => [ - 'title' => '闪信模板名称', - 'description' => '闪信模板名称。', - 'type' => 'string', - 'example' => '示例值', - ], - 'AllowCallTimeFormat' => [ - 'title' => '外呼时间段格式化', - 'description' => '外呼时间段格式化。', - 'type' => 'string', - 'example' => '9:00 ~ 12:00\\n13.5 ~ 20', - ], - 'LastCallTime' => [ - 'title' => '最后外呼时间', - 'description' => '最后外呼时间。', - 'type' => 'string', - 'example' => '2023-04-05 12:11:11', - ], - 'TaskName' => [ - 'title' => '任务名称', - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '第一个外呼任务', - ], - 'RecallType' => [ - 'title' => '自动重呼', - 'description' => '自动重呼,取值:'."\n" - ."\n" - .'- 1:表示不重呼。'."\n" - ."\n" - .'- 2:表示间隔重呼。'."\n" - ."\n" - .'- 3:表示定时重呼。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TemplateName' => [ - 'title' => '话术模板名称', - 'description' => '话术模板名称。', - 'type' => 'string', - 'example' => '第一个话术', - ], - 'SmsName' => [ - 'title' => '短信模板', - 'description' => '短信模板。', - 'type' => 'string', - 'example' => '短信02np', - ], - 'AllowCallTime' => [ - 'title' => '外呼时间段', - 'description' => '外呼时间段。', - 'type' => 'string', - 'example' => '[[9,12],[[13.5,20]]]', - ], - 'FlashSmsTemplateId' => [ - 'title' => '闪信模板id', - 'description' => '闪信模板ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '99', - ], - 'TemplateId' => [ - 'title' => '话术模板Id', - 'description' => '话术模板ID。', - 'type' => 'string', - 'example' => '123', - ], - 'InvalidReCall' => [ - 'title' => '接通重呼次数', - 'description' => '接通重呼次数,取值:'."\n" - ."\n" - .'- 1:表示不重呼。'."\n" - ."\n" - .'- 2:表示重呼。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'FlashSmsType' => [ - 'title' => '发送闪信配置,可选0,1;0表示否,1表示是', - 'description' => '发送闪信配置,取值:'."\n" - ."\n" - .'- 0:表示否。'."\n" - ."\n" - .'- 1:表示是。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'SendSms' => ['title' => '发送短信', 'description' => '发送短信,取值:'."\n" + ."\n" + .'- 1:标识否。'."\n" + ."\n" + .'- 2:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'ImportTime' => ['title' => '最近导入时间', 'description' => '最近导入时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'], + 'Properties' => ['title' => '任务所需参数', 'description' => '任务所需参数。', 'type' => 'string', 'example' => '尊称,姓名,金额'], + 'FlashSmsTemplateName' => ['title' => '闪信模板名称', 'description' => '闪信模板名称。', 'type' => 'string', 'example' => '示例值'], + 'AllowCallTimeFormat' => ['title' => '外呼时间段格式化', 'description' => '外呼时间段格式化。', 'type' => 'string', 'example' => '9:00 ~ 12:00\\n13.5 ~ 20'], + 'LastCallTime' => ['title' => '最后外呼时间', 'description' => '最后外呼时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'], + 'TaskName' => ['title' => '任务名称', 'description' => '任务名称。', 'type' => 'string', 'example' => '第一个外呼任务'], + 'RecallType' => ['title' => '自动重呼', 'description' => '自动重呼,取值:'."\n" + ."\n" + .'- 1:表示不重呼。'."\n" + ."\n" + .'- 2:表示间隔重呼。'."\n" + ."\n" + .'- 3:表示定时重呼。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TemplateName' => ['title' => '话术模板名称', 'description' => '话术模板名称。', 'type' => 'string', 'example' => '第一个话术'], + 'SmsName' => ['title' => '短信模板', 'description' => '短信模板。', 'type' => 'string', 'example' => '短信02np'], + 'AllowCallTime' => ['title' => '外呼时间段', 'description' => '外呼时间段。', 'type' => 'string', 'example' => '[[9,12],[[13.5,20]]]'], + 'FlashSmsTemplateId' => ['title' => '闪信模板id', 'description' => '闪信模板ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '99'], + 'TemplateId' => ['title' => '话术模板Id', 'description' => '话术模板ID。', 'type' => 'string', 'example' => '123'], + 'InvalidReCall' => ['title' => '接通重呼次数', 'description' => '接通重呼次数,取值:'."\n" + ."\n" + .'- 1:表示不重呼。'."\n" + ."\n" + .'- 2:表示重呼。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'FlashSmsType' => ['title' => '发送闪信配置,可选0,1;0表示否,1表示是', 'description' => '发送闪信配置,取值:'."\n" + ."\n" + .'- 0:表示否。'."\n" + ."\n" + .'- 1:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], - 'Success' => [ - 'description' => '表示是否调用成功,取值:'."\n" - ."\n" - .'- true:调用成功。'."\n" - ."\n" - .'- false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'], + 'Success' => ['description' => '表示是否调用成功,取值:'."\n" + ."\n" + .'- true:调用成功。'."\n" + ."\n" + .'- false:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -3924,18 +2400,31 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"Message\\": \\"成功\\\\n\\",\\n \\"RequestId\\": \\"8EFC6D10-****-1ECA-****-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"Status\\": 4,\\n \\"AllowDayOfWeek\\": \\"1,2,3\\",\\n \\"TaskId\\": 68,\\n \\"IntentTags\\": [\\n {\\n \\"IntentDescription\\": \\"满意\\",\\n \\"IntentTag\\": \\"123\\"\\n }\\n ],\\n \\"Priority\\": 1,\\n \\"CreateTime\\": \\"2023-04-05 12:11:11\\\\n\\",\\n \\"CallType\\": 1001,\\n \\"MaxConcurrency\\": 95,\\n \\"PersonalityTags\\": [\\n \\"AA\\"\\n ],\\n \\"SendSms\\": 1,\\n \\"ImportTime\\": \\"2023-04-05 12:11:11\\",\\n \\"Properties\\": \\"尊称,姓名,金额\\",\\n \\"FlashSmsTemplateName\\": \\"示例值\\",\\n \\"AllowCallTimeFormat\\": \\"9:00 ~ 12:00\\\\\\\\n13.5 ~ 20\\",\\n \\"LastCallTime\\": \\"2023-04-05 12:11:11\\",\\n \\"TaskName\\": \\"第一个外呼任务\\",\\n \\"RecallType\\": 1,\\n \\"TemplateName\\": \\"第一个话术\\",\\n \\"SmsName\\": \\"短信02np\\",\\n \\"AllowCallTime\\": \\"[[9,12],[[13.5,20]]]\\",\\n \\"FlashSmsTemplateId\\": 99,\\n \\"TemplateId\\": \\"123\\",\\n \\"InvalidReCall\\": 1,\\n \\"FlashSmsType\\": 1\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 80,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版查询任务列表', 'description' => '行业版查询任务列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'aiccs:TaskList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'TaskRecoverCall' => [ 'summary' => '行业版-任务恢复外呼'."\n" .'针对任务取消的号码,可通过此接口恢复,重新加入外呼队列中等待外呼。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3943,25 +2432,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '93', - ], + 'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93'], ], [ 'name' => 'Tags', @@ -3971,12 +2447,7 @@ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', - 'items' => [ - 'description' => '标签', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], + 'items' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'], 'required' => false, 'example' => '', ], @@ -3989,12 +2460,7 @@ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', - 'items' => [ - 'description' => '号码', - 'type' => 'string', - 'required' => false, - 'example' => '13541251222,18665214444', - ], + 'items' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13541251222,18665214444'], 'required' => false, 'example' => '', ], @@ -4002,24 +2468,12 @@ [ 'name' => 'BeginImportTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询开始导入时间', - 'description' => '查询开始导入时间', - 'type' => 'string', - 'required' => false, - 'example' => '"2023-01-09 18:58:19"', - ], + 'schema' => ['title' => '查询开始导入时间', 'description' => '查询开始导入时间', 'type' => 'string', 'required' => false, 'example' => '"2023-01-09 18:58:19"'], ], [ 'name' => 'EndImportTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询结束导入时间', - 'description' => '查询结束导入时间', - 'type' => 'string', - 'required' => false, - 'example' => '"2023-01-09 18:58:19"', - ], + 'schema' => ['title' => '查询结束导入时间', 'description' => '查询结束导入时间', 'type' => 'string', 'required' => false, 'example' => '"2023-01-09 18:58:19"'], ], ], 'responses' => [ @@ -4027,58 +2481,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'example' => '无内容', - ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '操作是否成功。取值:true:成功。false:失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'], + 'Model' => ['description' => '返回结果', 'type' => 'object', 'example' => '无内容'], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-任务恢复外呼', + 'changeSet' => [], + 'ramActions' => [], ], 'TemplateList' => [ 'summary' => '行业版话术模板列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4091,14 +2514,7 @@ [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'title' => '必须空参', - 'description' => '必须空参', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '9', - ], + 'schema' => ['title' => '必须空参', 'description' => '必须空参', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '9'], ], ], 'responses' => [ @@ -4107,16 +2523,8 @@ 'description' => '返回结果', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], + 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果', 'type' => 'array', @@ -4128,78 +2536,33 @@ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => '{'."\n" - .' "intentDescription": "已成为客户",'."\n" - .' "intentTag": "A"'."\n" - .' }', - 'type' => 'object', - 'example' => '{'."\n" - .' "intentDescription": "已成为客户",'."\n" - .' "intentTag": "A"'."\n" - .' }', - ], + 'items' => ['title' => '', 'description' => '{'."\n" + .' "intentDescription": "已成为客户",'."\n" + .' "intentTag": "A"'."\n" + .' }', 'type' => 'object', 'example' => '{'."\n" + .' "intentDescription": "已成为客户",'."\n" + .' "intentTag": "A"'."\n" + .' }'], 'example' => '', ], - 'TemplateName' => [ - 'title' => '话术模板名称', - 'description' => '话术模板名称', - 'type' => 'string', - 'example' => '模板', - ], + 'TemplateName' => ['title' => '话术模板名称', 'description' => '话术模板名称', 'type' => 'string', 'example' => '模板'], 'PersonalityTags' => [ 'title' => '个性标签', 'description' => '个性标签', 'type' => 'array', - 'items' => [ - 'description' => '标签', - 'type' => 'string', - 'example' => '标签', - ], + 'items' => ['description' => '标签', 'type' => 'string', 'example' => '标签'], 'example' => '', ], - 'TemplateType' => [ - 'title' => '模板类型', - 'description' => '模板类型', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1:单模版;2:智能话术策略模板。', - ], - 'Properties' => [ - 'title' => '话术所需参数', - 'description' => '话术所需参数', - 'type' => 'string', - 'example' => '"尊称,姓名,金额"', - ], - 'TemplateId' => [ - 'title' => 'AI话术ID', - 'description' => 'AI话术ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '59', - ], + 'TemplateType' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1:单模版;2:智能话术策略模板。'], + 'Properties' => ['title' => '话术所需参数', 'description' => '话术所需参数', 'type' => 'string', 'example' => '"尊称,姓名,金额"'], + 'TemplateId' => ['title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '59'], ], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '表示是否调用成功。true:调用成功。false:调用失败。', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '表示是否调用成功。true:调用成功。false:调用失败。', 'type' => 'boolean', 'example' => 'false'], ], ], ], @@ -4208,17 +2571,30 @@ 'title' => '行业版话术模板列表', 'description' => '行业版话术模板列表', 'requestParamsDescription' => 'TemplateId 无效入参,不需要填写,由于镇远元平台必须有入参,此参数仅做占位符', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TemplateList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'aiccs:TemplateList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'UpdateAgentStatus' => [ 'summary' => '行业版-更新坐席状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4226,48 +2602,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'AgentId', 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '58', - ], + 'schema' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '58'], ], [ 'name' => 'AgentTag', 'in' => 'query', - 'schema' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'required' => false, - 'example' => 'abac', - ], + 'schema' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abac'], ], [ 'name' => 'AgentStatus', 'in' => 'query', - 'schema' => [ - 'title' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', - 'description' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', 'description' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -4275,58 +2625,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'example' => '无内容', - ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '操作是否成功。取值:true:成功。false:失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], + 'Model' => ['description' => '返回结果', 'type' => 'object', 'example' => '无内容'], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-更新坐席状态', + 'changeSet' => [], + 'ramActions' => [], ], 'UpdateTaskCustomer' => [ 'summary' => '行业版-更新任务号码参数。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4334,25 +2653,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '59', - ], + 'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '59'], ], [ 'name' => 'Customers', @@ -4366,35 +2672,10 @@ 'description' => '号码详情', 'type' => 'object', 'properties' => [ - 'Number' => [ - 'title' => '电话号码', - 'description' => '电话号码', - 'type' => 'string', - 'required' => false, - 'example' => '13661109390', - ], - 'Cancel' => [ - 'title' => '是否取消外呼 0否,1是', - 'description' => '是否取消外呼 0否,1是', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], - 'Tag' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], - 'Properties' => [ - 'title' => '需根据具体任务参数要求传输', - 'description' => '需根据具体任务参数要求传输', - 'type' => 'object', - 'required' => false, - 'example' => '{"test":"234"}', - ], + 'Number' => ['title' => '电话号码', 'description' => '电话号码', 'type' => 'string', 'required' => false, 'example' => '13661109390'], + 'Cancel' => ['title' => '是否取消外呼 0否,1是', 'description' => '是否取消外呼 0否,1是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + 'Tag' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'], + 'Properties' => ['title' => '需根据具体任务参数要求传输', 'description' => '需根据具体任务参数要求传输', 'type' => 'object', 'required' => false, 'example' => '{"test":"234"}'], ], 'required' => false, ], @@ -4408,16 +2689,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => '成功', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", - ], + 'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"], 'Model' => [ 'description' => '返回结果', 'type' => 'object', @@ -4426,2442 +2699,386 @@ 'title' => '错误手机列表', 'description' => '未识别的手机号列表', 'type' => 'array', - 'items' => [ - 'description' => '未识别的手机号', - 'type' => 'string', - 'example' => '13661109390', - ], + 'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13661109390'], 'example' => '', ], ], 'example' => '', ], - 'Code' => [ - 'description' => '状态码。返回0表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683440860035', - ], - 'Success' => [ - 'description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'], + 'Success' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13661109390\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-更新任务号码参数', + 'changeSet' => [], + 'ramActions' => [], ], - 'QuickAddTask' => [ - 'summary' => '快速创建任务接口', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '任务名称', - 'description' => '任务名称', - 'type' => 'string', - 'required' => true, - 'example' => 'a', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '任务启动日期', - 'description' => '任务启动日期', - 'type' => 'string', - 'required' => false, - 'example' => '2019-04-30', - ], - ], - [ - 'name' => 'TemplateType', - 'in' => 'query', - 'schema' => [ - 'title' => '话术模板类型', - 'description' => '话术模板类型。不填默认1。'."\n" - ."\n" - .'- 1:单模版;'."\n" - .'- 2:智能话术策略模板。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'TemplateId', - 'in' => 'query', - 'schema' => [ - 'title' => '话术模板ID,如果不传则使用被复制任务的话术模板', - 'description' => '话术模板ID,如果不传则使用被复制任务的话术模板', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'SmsTemplateId', - 'in' => 'query', - 'schema' => [ - 'title' => '短信模板ID', - 'description' => '短信模板ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'ReferenceTaskId', - 'in' => 'query', - 'schema' => [ - 'title' => '被复制任务ID', - 'description' => '被复制任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'AgentGroupId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'CallTimeList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '外呼时间', - 'description' => '外呼时间', - 'type' => 'array', - 'items' => [ - 'title' => '外呼时间', - 'description' => '外呼时间', - 'type' => 'object', - 'properties' => [ - 'CallTime' => [ - 'title' => '外呼时间', - 'description' => '外呼时间', - 'type' => 'array', - 'items' => [ - 'title' => '外呼时间', - 'description' => '外呼时间', - 'type' => 'string', - 'required' => false, - 'example' => '8.5', - ], - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'required' => false, - 'example' => '', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果。', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '任务id', - 'description' => '任务id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '77', - ], - 'Success' => [ - 'description' => '接口调用是否成功。'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'CorpusCreateFailure', 'message' => 'Failed to create the corpus.', 'http_code' => 400, 'description' => '创建语料失败'], + ['code' => 'CorpusDeleteFailure', 'message' => 'Failed to delete the corpus.', 'http_code' => 400, 'description' => '删除语料失败'], + ['code' => 'Department.NotFound', 'message' => 'The specified department does not exist.', 'http_code' => 400, 'description' => '指定部门不存在'], + ['code' => 'Forbidden.Operation', 'message' => 'No permissions for this operation.', 'http_code' => 400, 'description' => '无操作权限'], + ['code' => 'InvalidCustomer.NotFound', 'message' => 'Failed to query customers.', 'http_code' => 400, 'description' => '查询客户失败'], + ['code' => 'InvalidInstanceId', 'message' => 'The specified instance is unavailable or does not exist.', 'http_code' => 400, 'description' => '当前实例不可用或不存在'], + ['code' => 'InvalidOperation', 'message' => 'The operation is invalid.', 'http_code' => 500, 'description' => '无效操作'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 500, 'description' => '传入参数不正确'], + ['code' => 'InvalidParameter.ApplicationCode', 'message' => 'The specified parameter "ApplicationCode" is invalid.', 'http_code' => 400, 'description' => '参数ApplicationCode无效。'], + ['code' => 'InvalidParameter.CallDate', 'message' => 'The specified parameter "CallDate" is not valid.', 'http_code' => 400, 'description' => 'CallDate无效。'], + ['code' => 'InvalidParameter.CallId', 'message' => 'The parameter CallId is invalid.', 'http_code' => 400, 'description' => '参数CallId无效。'."\n"], + ['code' => 'InvalidPartnerId.NotFound', 'message' => 'You must specify PartnerId.', 'http_code' => 400, 'description' => '合作伙伴ID为空'], + ['code' => 'InvalidUserInfo.Exception', 'message' => 'Failed to query user information.', 'http_code' => 400, 'description' => '查询用户信息异常'], + ['code' => 'INVALID_SUMMARY_AGENT', 'message' => 'summary agent is invalid.', 'http_code' => 400, 'description' => '小计智能体非法'], + ['code' => 'INVALID_TASK_NAME', 'message' => 'taskName is invalid.', 'http_code' => 400, 'description' => '无效的任务名称'], + ['code' => 'MissingParameter.CallerNumber', 'message' => 'Parameter "CallerNumber" which is mandatory for the request is not provided.', 'http_code' => 400, 'description' => '没有提供请求必须的参数“CallerNumber”。'], + ['code' => 'ModelCreateFailure', 'message' => 'Failed to create the model.', 'http_code' => 400, 'description' => '创建模型失败'], + ['code' => 'ModelDeleteFailure', 'message' => 'Failed to delete the the model.', 'http_code' => 400, 'description' => '删除模型失败'], + ['code' => 'ModelNotExist', 'message' => 'The model does not exist.', 'http_code' => 400, 'description' => '模型不存在。'], + ['code' => 'ModelStatus.Invalid', 'message' => 'Model state invalid.', 'http_code' => 400, 'description' => '模型状态无效。'], + ['code' => 'ModelUpperLimitReached', 'message' => 'The maximum number of models is exceeded.', 'http_code' => 400, 'description' => '模型数已达到上限'], + ['code' => 'NoAgentFound', 'message' => 'The specified agent does not exist.', 'http_code' => 500, 'description' => '没有找到指定坐席'], + ['code' => 'NoSkillGroupSetFound', 'message' => 'The specified skill group set does not exist.', 'http_code' => 500, 'description' => '没有找到技能组分组'], + ['code' => 'NoTenantFound', 'message' => 'The specified tenant does not exist.', 'http_code' => 500, 'description' => '没有发现租户实例'], + ['code' => 'Parameter.Error', 'message' => 'Parameter error.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'Parameter.Exception', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '参数异常'], + ['code' => 'ParameterError', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'Permission.NotAuthorized', 'message' => 'Insufficient permissions. Please contact the primary account administrator.', 'http_code' => 400, 'description' => '权限不足,请联系主账号管理员'], + ['code' => 'PermissionInsufficient', 'message' => 'Insufficient permissions. Please contact the Alibaba Cloud account administrator.', 'http_code' => 400, 'description' => '权限不足,请联系主账号管理员'], + ['code' => 'RequestParamError', 'message' => 'The request parameter you sent is abnormal. Please check.', 'http_code' => 501, 'description' => '您发送的请求参数异常。请进行核对!'], + ['code' => 'SUMMARY_AGENT_NOT_ONLINE', 'message' => 'summary agent is not online.', 'http_code' => 400, 'description' => '小计智能体未在线'], + ['code' => 'SystemError', 'message' => 'A system error occurred. Please contact the administrator.', 'http_code' => 500, 'description' => '系统错误,请联系管理员!'], + ['code' => 'SystemHandleFail', 'message' => 'A system error occurred while processing your request.', 'http_code' => 500, 'description' => '系统处理错误'], + ['code' => 'TASK_FILE_NOT_EXIST', 'message' => 'task file is not exist.', 'http_code' => 400, 'description' => '任务文件不存在'], + ['code' => 'TrainFailure', 'message' => 'Model training failed.', 'http_code' => 400, 'description' => '训练模型失败'], + ['code' => 'VocabCreateFailure', 'message' => 'Failed to create the vocab.', 'http_code' => 400, 'description' => '创建热词失败'], + ['code' => 'VocabDeleteFailure', 'message' => 'Failed to delete the vocab.', 'http_code' => 400, 'description' => '删除热词失败'], + ['code' => 'VocabFileEmpty', 'message' => 'The vocab file cannot be empty.', 'http_code' => 400, 'description' => '热词文件不能为空'], + ['code' => 'VocabFileNotExist', 'message' => 'The vocab file does not exist.', 'http_code' => 400, 'description' => '热词文件不存在'], + ['code' => 'VocabUpdateFailure', 'message' => 'Failed to update the vocab.', 'http_code' => 400, 'description' => '更新热词失败'], + ['code' => 'VocabUpperLimitReached', 'message' => 'The maximum number of vocab groups is exceeded.', 'http_code' => 400, 'description' => '热词组已达到上限'], + ['code' => 'WordExceed', 'message' => 'Each word cannot exceed 10 characters.', 'http_code' => 400, 'description' => '每个词语不能超过10个字'], + ['code' => 'WordExceed', 'message' => 'Each group of vocabs cannot exceed 128 words.', 'http_code' => 400, 'description' => '每组热词不能超过128个词'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ImportNumberV2'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"TaskId\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 77,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-快速创建任务接口', + 'createdAt' => '2025-05-13T14:41:14.000Z', + 'description' => '', ], - 'AddAgent' => [ - 'summary' => '创建坐席', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportNumber'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TemplateList'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddTask'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallInfo'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskList'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AgentCancelCall'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Page'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplatePageList'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskRecoverCall'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AgentRecoverCall'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Details'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplateCreate'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCancelCall'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallList'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditTask'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskCustomer'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddBlacklist'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallChats'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAgentStatus'], + ], + ], + 'ram' => [ + 'productCode' => 'AICCS', + 'productName' => '智能联络中心', + 'ramCodes' => ['aiccs'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'TaskCallInfo', + 'description' => '行业版-获取任务外呼情况', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Account', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席账号名(必须唯一)', - 'description' => '坐席账号名(必须唯一)', - 'type' => 'string', - 'required' => true, - 'example' => 'seat_001', - ], - ], - [ - 'name' => 'Password', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席账号密码 (可以跟分机密码一致)', - 'description' => '坐席账号密码 (可以跟分机密码一致)', - 'type' => 'string', - 'required' => true, - 'example' => 'gwegwe23t32', - ], - ], - [ - 'name' => 'ExtensionPwd', - 'in' => 'query', - 'schema' => [ - 'title' => '分机密码', - 'description' => '分机密码', - 'type' => 'string', - 'required' => true, - 'example' => 'gwegwe23t32', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席名称', - 'description' => '坐席名称', - 'type' => 'string', - 'required' => true, - 'example' => 'xxx', - ], - ], - [ - 'name' => 'AgentTag', - 'in' => 'query', - 'schema' => [ - 'title' => '合作方唯一标识', - 'description' => '合作方唯一标识', - 'type' => 'string', - 'required' => false, - 'example' => 'abc', + 'ramAction' => [ + 'action' => 'aiccs:TaskCallInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回结果消息', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'object', - 'properties' => [ - 'AgentId' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '82', - ], - 'Success' => [ - 'description' => '接口调用是否成功。'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"AgentId\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 82,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-创建坐席', - 'description' => '创建坐席接口', - ], - 'QueryAgentInfo' => [ - 'summary' => '查询坐席具体信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'TaskCancelCall', + 'description' => '行业版-任务取消外呼', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AgentId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID', - 'description' => '坐席ID 可以为空;其中: agentId、agentTag必须一项有值;如'."\n" - .'果传多个值,以agentId > agentTag 优先级查询。只查1次优先'."\n" - .'值。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'AgentTag', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席标签', - 'description' => '坐席标签。建议填写坐席在贵司业务系统唯一标识,用于查询对应agentId;'."\n" - .'可以为空;其中: agentId、agentTag必须一项有值;如果传多个'."\n" - .'值,以agentId > agentTag 优先级查询。只查1次优先值', - 'type' => 'string', - 'required' => false, - 'example' => '"1"', + 'ramAction' => [ + 'action' => 'aiccs:TaskCancelCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'Access Denied', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'properties' => [ - 'Account' => [ - 'title' => '坐席账号', - 'description' => '坐席账号', - 'type' => 'string', - 'example' => 'a', - ], - 'WsRegisterAddress' => [ - 'title' => 'WebSocket分机注册地址', - 'description' => 'WebSocket分机注册地址', - 'type' => 'string', - 'example' => 'a', - ], - 'AgentExtension' => [ - 'title' => '坐席分机号', - 'description' => '坐席分机号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2026-11-11 11:11:11', - ], - 'AgentGroupIds' => [ - 'title' => '坐席组ID列表', - 'description' => '坐席组ID列表', - 'type' => 'array', - 'items' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'example' => '', - ], - 'WsProtocol' => [ - 'title' => 'WebSocket分机注册协议', - 'description' => 'WebSocket分机注册协议', - 'type' => 'string', - 'example' => 'b', - ], - 'AgentGroupList' => [ - 'title' => '坐席组列表', - 'description' => '坐席组列表', - 'type' => 'array', - 'items' => [ - 'title' => '坐席组', - 'description' => '坐席组', - 'type' => 'object', - 'properties' => [ - 'GroupName' => [ - 'title' => '坐席组名称', - 'description' => '坐席组名称', - 'type' => 'string', - 'example' => 'a', - ], - 'GroupId' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - 'example' => '', - ], - 'Name' => [ - 'title' => '坐席名称', - 'description' => '坐席名称', - 'type' => 'string', - 'example' => 'b', - ], - 'Active' => [ - 'title' => '账号启用状态,0-停用,1-启用,默认1', - 'description' => '账号启用状态,0-停用,1-启用,默认1', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentStatus' => [ - 'title' => '坐席状态,1:在线;2:忙碌;3:小休;4:离线', - 'description' => '坐席状态,1:在线;2:忙碌;3:小休;4:离线', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ExtensionPwd' => [ - 'title' => '分机密码', - 'description' => '分机密码', - 'type' => 'string', - 'example' => 'a', - ], - 'ExtensionServer' => [ - 'title' => '分机注册地址', - 'description' => '分机注册地址', - 'type' => 'string', - 'example' => 'b', - ], - 'AgentId' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentTag' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'example' => 'c', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'TaskList', + 'description' => '行业版查询任务列表', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'aiccs:TaskList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"Access Denied\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"Account\\": \\"a\\",\\n \\"WsRegisterAddress\\": \\"a\\",\\n \\"AgentExtension\\": 1,\\n \\"CreateTime\\": \\"2026-11-11 11:11:11\\",\\n \\"AgentGroupIds\\": [\\n 123\\n ],\\n \\"WsProtocol\\": \\"b\\",\\n \\"AgentGroupList\\": [\\n {\\n \\"GroupName\\": \\"a\\",\\n \\"GroupId\\": 1\\n }\\n ],\\n \\"Name\\": \\"b\\",\\n \\"Active\\": 1,\\n \\"AgentStatus\\": 1,\\n \\"ExtensionPwd\\": \\"a\\",\\n \\"ExtensionServer\\": \\"b\\",\\n \\"AgentId\\": 1,\\n \\"AgentTag\\": \\"c\\"\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 17,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-查询坐席具体信息', - 'description' => '查询坐席具体信息', - ], - 'AddAgentGroup' => [ - 'summary' => '创建坐席组', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'TaskCallChats', + 'description' => '行业版-查询聊天记录', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AgentGroupName', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席组名称,不能为空且最大长度为20个字符', - 'description' => '坐席组名称,不能为空且最大长度为20个字符', - 'type' => 'string', - 'required' => true, - 'example' => 'abc', + 'ramAction' => [ + 'action' => 'aiccs:TaskCallChats', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '鉴权失败原因', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回结果消息。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果。', - 'type' => 'object', - 'properties' => [ - 'AgentGroupName' => [ - 'title' => '坐席组名称', - 'description' => '坐席组名称', - 'type' => 'string', - 'example' => 'example', - ], - 'CreateTime' => [ - 'title' => '创建坐席组的时间', - 'description' => '创建坐席组的时间', - 'type' => 'string', - 'example' => 'example', - ], - 'AgentGroupId' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '48', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'UpdateTaskCustomer', + 'description' => '行业版-更新任务号码参数', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'aiccs:UpdateTaskCustomer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"AgentGroupName\\": \\"example\\",\\n \\"CreateTime\\": \\"example\\",\\n \\"AgentGroupId\\": 48\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 40,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-创建坐席组', - 'description' => '创建坐席组接口', - ], - 'JoinAgentGroup' => [ - 'summary' => '绑定坐席组', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'TaskCallList', + 'description' => '行业版-AI批量任务查询外呼记录', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'aiccs:TaskCallList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'SmsTemplatePageList', + 'description' => '行业版-短信模板列表查询', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AgentGroupId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'AgentIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '坐席ID列表', - 'description' => '坐席ID列表', - 'type' => 'array', - 'items' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '111', - ], - 'required' => true, - 'example' => '', + 'ramAction' => [ + 'action' => 'aiccs:SmsTemplatePageList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求的ID,用于定位日志,排查问题。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'example' => 'example', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'AddTask', + 'description' => '行业版-创建任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:AddTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 30,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-绑定坐席组', - 'description' => '绑定坐席组', - ], - 'QuitAgentGroup' => [ - 'summary' => '解绑坐席组', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'Details', + 'description' => '行业版-AI批量任务查询号码状态', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AgentGroupId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '60', - ], - ], - [ - 'name' => 'AgentIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '坐席ID列表', - 'description' => '坐席ID列表', - 'type' => 'array', - 'items' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '111', - ], - 'required' => true, - 'example' => '', + 'ramAction' => [ + 'action' => 'aiccs:Details', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '鉴权失败原因', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求的ID,用于定位日志,排查问题', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'example' => 'example', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'Page', + 'description' => '行业版-分页查询黑名单', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:Page', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 15,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-解绑坐席组', - 'description' => '解绑坐席组', - ], - 'AgentGroupPage' => [ - 'summary' => '坐席组分页查询', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'EditTask', + 'description' => '行业版-编辑任务', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AgentGroupId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageNum', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '当前页', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '分页数量', - 'description' => '分页数量', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + 'ramAction' => [ + 'action' => 'aiccs:EditTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '鉴权失败原因', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'a', - ], - 'RequestId' => [ - 'description' => '请求ID。用于定位日志,排查问题。'."\n", - 'type' => 'string', - 'example' => '12345', - ], - 'Model' => [ - 'description' => '返回结果。', - 'type' => 'object', - 'properties' => [ - 'Pages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '82', - ], - 'Size' => [ - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - 'Total' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'Current' => [ - 'description' => '当前页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62', - ], - 'Records' => [ - 'description' => '返回数据对象', - 'type' => 'array', - 'items' => [ - 'description' => '返回数据对象', - 'type' => 'object', - 'properties' => [ - 'AgentGroupName' => [ - 'title' => '坐席组名称', - 'description' => '坐席组名称', - 'type' => 'string', - 'example' => 'a', - ], - 'CreateTime' => [ - 'title' => '创建坐席组的时间', - 'description' => '创建坐席组的时间', - 'type' => 'string', - 'example' => '2026-01-01 11:11:11', - ], - 'AgentIds' => [ - 'title' => '坐席组下的坐席id列表', - 'description' => '坐席组下的坐席id列表', - 'type' => 'array', - 'items' => [ - 'title' => '坐席组下的坐席id', - 'description' => '坐席组下的坐席id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50022260', - ], - 'example' => '', - ], - 'AgentGroupId' => [ - 'title' => '坐席组ID', - 'description' => '坐席组ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - 'example' => '', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '71', - ], - 'Success' => [ - 'description' => '接口调用是否成功。'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'SmsTemplateCreate', + 'description' => '行业版-添加短信模板', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:SmsTemplateCreate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"a\\",\\n \\"RequestId\\": \\"12345\\",\\n \\"Model\\": {\\n \\"Pages\\": 82,\\n \\"Size\\": 15,\\n \\"Total\\": 12,\\n \\"Current\\": 62,\\n \\"Records\\": [\\n {\\n \\"AgentGroupName\\": \\"a\\",\\n \\"CreateTime\\": \\"2026-01-01 11:11:11\\",\\n \\"AgentIds\\": [\\n 50022260\\n ],\\n \\"AgentGroupId\\": 1\\n }\\n ]\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 71,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-坐席组分页查询', - 'description' => '坐席组分页查询', - ], - 'AgentCallList' => [ - 'summary' => '坐席外呼查询外呼记录', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ImportNumber', + 'description' => '行业版-批量导入任务号码', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AgentId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID', - 'description' => '坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51', - ], - ], - [ - 'name' => 'AgentTag', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'required' => false, - 'example' => 'abcd', - ], - ], - [ - 'name' => 'Numbers', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '号码列表', - 'description' => '号码列表', - 'type' => 'array', - 'items' => [ - 'title' => '号码', - 'description' => '号码', - 'type' => 'string', - 'required' => false, - 'example' => '13541251222', - ], - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'NumberMD5s', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '号码MD5列表', - 'description' => '号码MD5列表', - 'type' => 'array', - 'items' => [ - 'title' => '号码MD5', - 'description' => '号码MD5', - 'type' => 'string', - 'required' => false, - 'example' => 'abcd', - ], - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '用户自定义标签列表', - 'description' => '用户自定义标签列表', - 'type' => 'array', - 'items' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'CallDate', - 'in' => 'query', - 'schema' => [ - 'title' => '开始外呼时间', - 'description' => '开始外呼时间', - 'type' => 'string', - 'required' => true, - 'example' => '2020-03-06 10:10:10', - ], - ], - [ - 'name' => 'EndCallDate', - 'in' => 'query', - 'schema' => [ - 'title' => '结束外呼时间', - 'description' => '结束外呼时间', - 'type' => 'string', - 'required' => true, - 'example' => '2020-03-07 10:10:10', - ], - ], - [ - 'name' => 'Page', - 'in' => 'query', - 'schema' => [ - 'title' => '页数', - 'description' => '页数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '7', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页外呼记录数', - 'description' => '每页外呼记录数', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '14', + 'ramAction' => [ + 'action' => 'aiccs:ImportNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '鉴权失败原因', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回结果消息。', - 'type' => 'string', - 'example' => '示例值', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '示例值', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'TotalPage' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49', - ], - 'PageNo' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '44', - ], - 'List' => [ - 'description' => '记录', - 'type' => 'array', - 'items' => [ - 'description' => '记录', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '外呼任务ID', - 'description' => '外呼任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentExtension' => [ - 'title' => '坐席分机', - 'description' => '坐席分机', - 'type' => 'string', - 'example' => 'a', - ], - 'Keywords' => [ - 'title' => '回复关键词', - 'description' => '回复关键词', - 'type' => 'string', - 'example' => '如链接,利息', - ], - 'CallType' => [ - 'title' => '可选项:1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', - 'description' => '可选项:1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1001', - ], - 'AnswerTime' => [ - 'title' => '接通时间 格式:2019-11-23 14:47:06', - 'description' => '接通时间 格式:2019-11-23 14:47:06', - 'type' => 'string', - 'example' => '2019-11-23 14:47:06', - ], - 'IntentTag' => [ - 'title' => '意向标签, 如“C”', - 'description' => '意向标签, 如“C”', - 'type' => 'string', - 'example' => 'C', - ], - 'TransferStatusCode' => [ - 'title' => '转人工状态编码', - 'description' => '转人工状态编码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ImportTime' => [ - 'title' => '导入时间,格式:2019-11-23 14:47:06', - 'description' => '导入时间,格式:2019-11-23 14:47:06', - 'type' => 'string', - 'example' => '2019-11-23 14:47:06', - ], - 'IndividualTag' => [ - 'title' => '个性标签', - 'description' => '个性标签', - 'type' => 'string', - 'example' => '如投诉,非本人', - ], - 'Properties' => [ - 'title' => '导入号码时的参数值', - 'description' => '导入号码时的参数值', - 'type' => 'string', - 'example' => '{"电话号码":"13100000000"}', - ], - 'StatusCode' => [ - 'title' => '外呼状态编码', - 'description' => '外呼状态编码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentSpeakingDuration' => [ - 'title' => '坐席通话时长,单位:秒', - 'description' => '坐席通话时长,单位:秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Remark' => [ - 'title' => '人工备注信息', - 'description' => '人工备注信息', - 'type' => 'string', - 'example' => 'abcd', - ], - 'Number' => [ - 'title' => '外呼号码', - 'description' => '外呼号码', - 'type' => 'string', - 'example' => '1', - ], - 'InterceptReason' => [ - 'title' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', - 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', - 'type' => 'string', - 'example' => '黑名单拦截', - ], - 'IntentDescription' => [ - 'title' => '意向说明 如:确认本人,未承诺还款', - 'description' => '意向说明 如:确认本人,未承诺还款', - 'type' => 'string', - 'example' => '如:确认本人', - ], - 'StatusDescription' => [ - 'title' => '外呼状态,如“已接听”“拒接”,转外呼状态编码与描述对应 1-已接听,2-关机', - 'description' => '外呼状态,如“已接听”“拒接”,转外呼状态编码与描述对应 1-已接听,2-关机', - 'type' => 'string', - 'example' => '已接听', - ], - 'SpeakingDuration' => [ - 'title' => '通话时长 单位:秒', - 'description' => '通话时长 单位:秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TransferStatus' => [ - 'title' => '转人工状态 0-未触发', - 'description' => '转人工状态 0-未触发', - 'type' => 'string', - 'example' => '未触发', - ], - 'AgentId' => [ - 'title' => '分配坐席ID', - 'description' => '分配坐席ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TemplateId' => [ - 'title' => 'AI话术ID', - 'description' => 'AI话术ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentTag' => [ - 'title' => '坐席标签', - 'description' => '坐席标签', - 'type' => 'string', - 'example' => 'a', - ], - 'BatchId' => [ - 'title' => '导入号码时返回的批次号', - 'description' => '导入号码时返回的批次号', - 'type' => 'string', - 'example' => '1', - ], - 'CallId' => [ - 'title' => '外呼ID', - 'description' => '外呼ID', - 'type' => 'string', - 'example' => '1', - ], - 'HangupTime' => [ - 'title' => '挂断时间 格式:2019-11-23 14:47:06', - 'description' => '挂断时间 格式:2019-11-23 14:47:06', - 'type' => 'string', - 'example' => '2019-11-23 14:47:06', - ], - 'CallBeginTime' => [ - 'title' => '开始通话时间, 格式:2019-11-23 14:47:06', - 'description' => '开始通话时间, 格式:2019-11-23 14:47:06', - 'type' => 'string', - 'example' => '2019-11-23 14:47:06', - ], - 'RingTime' => [ - 'title' => '振铃时长 单位:毫秒', - 'description' => '振铃时长 单位:毫秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AgentSpeakingTime' => [ - 'title' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', - 'description' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', - 'type' => 'string', - 'example' => '1', - ], - 'HangupType' => [ - 'title' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', - 'description' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SpeakingTurns' => [ - 'title' => '对话轮次', - 'description' => '对话轮次', - 'type' => 'string', - 'example' => '1', - ], - 'Sms' => [ - 'title' => '挂机短信 1:发送,2:不发送', - 'description' => '挂机短信 1:发送,2:不发送', - 'type' => 'string', - 'example' => '1', - ], - 'Tag' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'example' => '1', - ], - 'NumberMD5' => [ - 'title' => '外呼号码MD5', - 'description' => '外呼号码MD5', - 'type' => 'string', - 'example' => '1', - ], - 'ChatRecord' => [ - 'title' => '对话录音', - 'description' => '对话录音', - 'type' => 'string', - 'example' => 'URL', - ], - 'SpeakingTime' => [ - 'title' => '通话时长 单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', - 'description' => '通话时长 单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', - 'type' => 'string', - 'example' => '1', - ], - 'TransferTime' => [ - 'title' => '转接人工时间', - 'description' => '转接人工时间', - 'type' => 'string', - 'example' => '2019-01-09 14:14:19', - ], - ], - ], - 'example' => '', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '89', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'TemplateList', + 'description' => '行业版话术模板列表', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'aiccs:TemplateList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"示例值\\",\\n \\"RequestId\\": \\"示例值\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 27,\\n \\"PageSize\\": 40,\\n \\"TotalPage\\": 49,\\n \\"PageNo\\": 44,\\n \\"List\\": [\\n {\\n \\"TaskId\\": 1,\\n \\"AgentExtension\\": \\"a\\",\\n \\"Keywords\\": \\"如链接,利息\\",\\n \\"CallType\\": 1001,\\n \\"AnswerTime\\": \\"2019-11-23 14:47:06\\",\\n \\"IntentTag\\": \\"C\\",\\n \\"TransferStatusCode\\": 0,\\n \\"ImportTime\\": \\"2019-11-23 14:47:06\\",\\n \\"IndividualTag\\": \\"如投诉,非本人\\",\\n \\"Properties\\": \\"{\\\\\\"电话号码\\\\\\":\\\\\\"13100000000\\\\\\"}\\",\\n \\"StatusCode\\": 1,\\n \\"AgentSpeakingDuration\\": 1,\\n \\"Remark\\": \\"abcd\\",\\n \\"Number\\": \\"1\\",\\n \\"InterceptReason\\": \\"黑名单拦截\\",\\n \\"IntentDescription\\": \\"如:确认本人\\",\\n \\"StatusDescription\\": \\"已接听\\",\\n \\"SpeakingDuration\\": 1,\\n \\"TransferStatus\\": \\"未触发\\",\\n \\"AgentId\\": 1,\\n \\"TemplateId\\": 1,\\n \\"AgentTag\\": \\"a\\",\\n \\"BatchId\\": \\"1\\",\\n \\"CallId\\": \\"1\\",\\n \\"HangupTime\\": \\"2019-11-23 14:47:06\\",\\n \\"CallBeginTime\\": \\"2019-11-23 14:47:06\\",\\n \\"RingTime\\": 1,\\n \\"AgentSpeakingTime\\": \\"1\\",\\n \\"HangupType\\": 1,\\n \\"SpeakingTurns\\": \\"1\\",\\n \\"Sms\\": \\"1\\",\\n \\"Tag\\": \\"1\\",\\n \\"NumberMD5\\": \\"1\\",\\n \\"ChatRecord\\": \\"URL\\",\\n \\"SpeakingTime\\": \\"1\\",\\n \\"TransferTime\\": \\"2019-01-09 14:14:19\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 89,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-坐席外呼查询外呼记录', - 'description' => '坐席外呼查询外呼记录', - ], - 'AgentImportNumber' => [ - 'summary' => '坐席外呼导入号码', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'TaskRecoverCall', + 'description' => '行业版-任务恢复外呼', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'OutId', - 'in' => 'query', - 'schema' => [ - 'title' => '请求id,具有唯一性,用来做请求幂等处理,一个请求id有效期10分钟。不传则不做幂等处理', - 'description' => '请求id,具有唯一性,用来做请求幂等处理,一个请求id有效期10分钟。不传则不做幂等处理', - 'type' => 'string', - 'required' => false, - 'example' => '1asgfh', - ], - ], - [ - 'name' => 'AgentId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席ID,可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', - 'description' => '坐席ID,可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'AgentTag', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席唯一标识(创建坐席时的用户唯一标识),可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', - 'description' => '坐席唯一标识(创建坐席时的用户唯一标识),可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', - 'type' => 'string', - 'required' => false, - 'example' => '1001', - ], - ], - [ - 'name' => 'CallType', - 'in' => 'query', - 'schema' => [ - 'title' => '外呼类型 可选项:1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工"', - 'description' => '外呼类型 可选项:1001:坐席-人工外呼', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1001', - ], - ], - [ - 'name' => 'TemplateId', - 'in' => 'query', - 'schema' => [ - 'title' => 'AI话术ID 客户已制作并已发布/平台授权的AI话术ID,如callType=1001可不填;如callType=1002,1003或1004 ,必填。', - 'description' => 'AI话术ID 客户已制作并已发布/平台授权的AI话术ID,如callType=1001可不填', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'GatewayId', - 'in' => 'query', - 'schema' => [ - 'title' => '坐席-人工外呼选择的外呼线路,只针对callType=1001生效,其他callType不生效。如callType=1001,且gatewayId不传值,默认按系统的线路配置外呼', - 'description' => '坐席-人工外呼选择的外呼线路,只针对callType=1001生效,其他callType不生效。如callType=1001,且gatewayId不传值,默认按系统的线路配置外呼', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Customers', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '具体用户信息,如手机号、姓名等,需根据具体任务参数要求传输。注:当callType为1001时,只会导入第1条数据', - 'description' => '具体用户信息,如手机号、姓名等,需根据具体任务参数要求传输。注:当callType为1001时,只会导入第1条数据', - 'type' => 'array', - 'items' => [ - 'description' => '外呼客户', - 'type' => 'object', - 'properties' => [ - 'Number' => [ - 'title' => '号码,如手机号等', - 'description' => '号码,如手机号等', - 'type' => 'string', - 'required' => false, - 'example' => 'a', - ], - 'ClientUrl' => [ - 'title' => '客户详情URL,用于展示客户用户在客户业务系统的详细信息,做多80个字符', - 'description' => '客户详情URL,用于展示客户用户在客户业务系统的详细信息,做多80个字符', - 'type' => 'string', - 'required' => false, - 'example' => 'a', - ], - 'Tag' => [ - 'title' => '用户自定义标签,最多50个字符', - 'description' => '用户自定义标签,最多50个字符', - 'type' => 'string', - 'required' => false, - 'example' => 'a', - ], - 'NumberMD5' => [ - 'title' => '用户电话号码MD5,和number两者必传一个', - 'description' => '用户电话号码MD5,和number两者必传一个', - 'type' => 'string', - 'required' => false, - 'example' => 'a', - ], - 'Properties' => [ - 'title' => '用户具体信息。如AI话术模板没变量要求或为人工外呼,可为空(总长度500个字符,多余的会被剔除)', - 'description' => '用户具体信息。如AI话术模板没变量要求或为人工外呼,可为空(总长度500个字符,多余的会被剔除)', - 'type' => 'object', - 'required' => false, - 'example' => '{"test":"234"}', - ], - ], - 'required' => false, - ], - 'required' => true, - 'example' => '', + 'ramAction' => [ + 'action' => 'aiccs:TaskRecoverCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'Access Denied', - ], - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求的ID。用于定位日志,排查问题。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'properties' => [ - 'BatchId' => [ - 'title' => '批次ID', - 'description' => '批次ID', - 'type' => 'string', - 'example' => 'example', - ], - 'Id' => [ - 'title' => '外呼编号ID', - 'description' => '外呼编号ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '93', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"Access Denied\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"BatchId\\": \\"example\\",\\n \\"Id\\": 80\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 93,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-坐席外呼导入号码', - 'description' => '坐席外呼导入号码', - ], - 'CallNumberDetail' => [ - 'summary' => '获取号码详情', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'UpdateAgentStatus', + 'description' => '行业版-更新坐席状态', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'title' => '外呼编号ID', - 'description' => '外呼编号ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '95', - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '33', + 'ramAction' => [ + 'action' => 'aiccs:UpdateAgentStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息;只有RAM校验失败才会返回此字段。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求ID。用于定位日志,排查问题。', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Keywords' => [ - 'title' => '回复关键词', - 'description' => '回复关键词', - 'type' => 'string', - 'example' => 'a', - ], - 'CallType' => [ - 'title' => '可选项 1-AI外呼,6-语音通知', - 'description' => '可选项 1-AI外呼,6-语音通知', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'IntentTag' => [ - 'title' => '意向标签', - 'description' => '意向标签', - 'type' => 'string', - 'example' => 'a', - ], - 'StatusCode' => [ - 'title' => '外呼状态编码', - 'description' => '外呼状态编码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'Remark' => [ - 'title' => '备注信息', - 'description' => '备注信息', - 'type' => 'string', - 'example' => 'a', - ], - 'Number' => [ - 'title' => '外呼号码', - 'description' => '外呼号码', - 'type' => 'string', - 'example' => 'a', - ], - 'TransferStatus' => [ - 'title' => '转人工状态 0-未触发,', - 'description' => '转人工状态 0-未触发,', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'NumberMd5' => [ - 'title' => '外呼号码MD5', - 'description' => '外呼号码MD5', - 'type' => 'string', - 'example' => 'a', - ], - 'TemplateId' => [ - 'title' => '外呼使用的模板ID', - 'description' => '外呼使用的模板ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CallId' => [ - 'title' => '每次呼叫的唯一标识', - 'description' => '每次呼叫的唯一标识', - 'type' => 'string', - 'example' => 'a', - ], - 'BatchId' => [ - 'title' => '导入号码时返回的批次号', - 'description' => '导入号码时返回的批次号', - 'type' => 'string', - 'example' => '1', - ], - 'CreateTime' => [ - 'title' => '创建时间 格式 2026-01-01 00:00:00', - 'description' => '创建时间 格式 2026-01-01 00:00:00', - 'type' => 'string', - 'example' => '2026-01-01 00:00:00', - ], - 'Params' => [ - 'title' => '自定义参数 json', - 'description' => '自定义参数 json', - 'type' => 'string', - 'example' => '{"名字":"a"}', - ], - 'Duration' => [ - 'title' => '通话轮次', - 'description' => '通话轮次', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'GatewayId' => [ - 'title' => '线路id', - 'description' => '线路id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AnswerTransferType' => [ - 'title' => '接通转接类型 1-不转人工;2-接通转人工;3-智能转人工', - 'description' => '接通转接类型 1-不转人工;2-接通转人工;3-智能转人工', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Sid' => [ - 'title' => '坐席id', - 'description' => '坐席id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'BridgeBill' => [ - 'title' => '转接计费时长', - 'description' => '转接计费时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ClientUrl' => [ - 'title' => '客户详情url', - 'description' => '客户详情url', - 'type' => 'string', - 'example' => 'a', - ], - 'Bill' => [ - 'title' => '通话时长,单位为毫秒,实际计费需向上取整转换为秒', - 'description' => '通话时长,单位为毫秒,实际计费需向上取整转换为秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Id' => [ - 'title' => '号码编号', - 'description' => '号码编号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Tag' => [ - 'title' => '用户自定义标签', - 'description' => '用户自定义标签', - 'type' => 'string', - 'example' => 'a', - ], - 'AiBill' => [ - 'title' => 'ai计费时长', - 'description' => 'ai计费时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PersonalityTag' => [ - 'title' => '个性标签', - 'description' => '个性标签', - 'type' => 'string', - 'example' => 'a', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '48', - ], - 'Success' => [ - 'description' => '接口调用是否成功。'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'AddBlacklist', + 'description' => '行业版-添加黑名单', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:AddBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"TaskId\\": 1,\\n \\"Keywords\\": \\"a\\",\\n \\"CallType\\": 1,\\n \\"IntentTag\\": \\"a\\",\\n \\"StatusCode\\": 200,\\n \\"Remark\\": \\"a\\",\\n \\"Number\\": \\"a\\",\\n \\"TransferStatus\\": 0,\\n \\"NumberMd5\\": \\"a\\",\\n \\"TemplateId\\": 1,\\n \\"CallId\\": \\"a\\",\\n \\"BatchId\\": \\"1\\",\\n \\"CreateTime\\": \\"2026-01-01 00:00:00\\",\\n \\"Params\\": \\"{\\\\\\"名字\\\\\\":\\\\\\"a\\\\\\"}\\",\\n \\"Duration\\": 1,\\n \\"GatewayId\\": 1,\\n \\"AnswerTransferType\\": 1,\\n \\"Sid\\": 1,\\n \\"BridgeBill\\": 1,\\n \\"ClientUrl\\": \\"a\\",\\n \\"Bill\\": 1,\\n \\"Id\\": 1,\\n \\"Tag\\": \\"a\\",\\n \\"AiBill\\": 1,\\n \\"PersonalityTag\\": \\"a\\"\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 48,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-获取号码详情', - 'description' => '获取号码详情', - ], - 'CallChatList' => [ - 'summary' => '获取聊天内容', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'AgentRecoverCall', + 'description' => '行业版-坐席恢复外呼', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'title' => '任务ID', - 'description' => '任务ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'CallId', - 'in' => 'query', - 'schema' => [ - 'title' => 'callId', - 'description' => 'callId', - 'type' => 'string', - 'required' => false, - 'example' => 'a', + 'ramAction' => [ + 'action' => 'aiccs:AgentRecoverCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝的详细原因。', - 'type' => 'string', - 'example' => 'None', - ], - 'Message' => [ - 'description' => '返回消息', - 'type' => 'string', - 'example' => 'example', - ], - 'RequestId' => [ - 'description' => '请求ID,用于跟踪错误原因', - 'type' => 'string', - 'example' => 'example', - ], - 'Model' => [ - 'description' => '返回结果', - 'type' => 'array', - 'items' => [ - 'description' => '返回结果', - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'title' => '说话内容', - 'description' => '说话内容', - 'type' => 'string', - 'example' => '1', - ], - 'CreateTime' => [ - 'title' => '说话时间', - 'description' => '说话时间', - 'type' => 'string', - 'example' => '2019-01-09 14:14:19', - ], - 'FromType' => [ - 'title' => '说话号码,其中0为AI,1-用户,2-坐席', - 'description' => '说话号码,其中0为AI,1-用户,2-坐席', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ChatId' => [ - 'title' => '聊天内容id', - 'description' => '聊天内容id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '79', - ], - ], - ], - 'example' => '', - ], - 'Code' => [ - 'description' => '状态码。返回 0 表示请求成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Timestamp' => [ - 'description' => '操作时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '81', - ], - 'Success' => [ - 'description' => '调用接口是否成功。取值:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'AgentCancelCall', + 'description' => '行业版-坐席取消外呼', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'aiccs:AgentCancelCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": [\\n {\\n \\"Content\\": \\"1\\",\\n \\"CreateTime\\": \\"2019-01-09 14:14:19\\",\\n \\"FromType\\": 0,\\n \\"ChatId\\": 79\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 81,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '行业版-获取聊天内容', - 'description' => '获取聊天内容', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'aiccs.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'aiccs.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
