tencentcloud-sdk-nodejs 4.0.967 → 4.0.969
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +357 -0
- package/SERVICE_CHANGELOG.md +361 -177
- package/package.json +1 -1
- package/products.md +43 -43
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +7 -7
- package/src/services/apm/v20210622/apm_models.ts +8 -0
- package/src/services/billing/v20180709/billing_models.ts +16 -16
- package/src/services/btoe/v20210514/btoe_models.ts +4 -4
- package/src/services/ccc/v20200210/ccc_client.ts +4 -2
- package/src/services/ccc/v20200210/ccc_models.ts +113 -50
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +22 -0
- package/src/services/cfs/v20190719/cfs_client.ts +4 -3
- package/src/services/cfs/v20190719/cfs_models.ts +71 -35
- package/src/services/cfw/v20190904/cfw_client.ts +4 -2
- package/src/services/cls/v20201016/cls_models.ts +14 -14
- package/src/services/dcdb/v20180411/dcdb_models.ts +7 -7
- package/src/services/dlc/v20210125/dlc_models.ts +13 -8
- package/src/services/dnspod/v20210323/dnspod_client.ts +108 -45
- package/src/services/dnspod/v20210323/dnspod_models.ts +321 -83
- package/src/services/ess/v20201111/ess_models.ts +2 -6
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +15 -11
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +182 -50
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +678 -35
- package/src/services/ioa/v20220601/ioa_models.ts +3 -21
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +16 -6
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +1 -1
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +1 -1
- package/src/services/iss/v20230517/iss_models.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +8 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +31 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +7 -7
- package/src/services/pts/v20210728/pts_models.ts +5 -0
- package/src/services/ssl/v20191205/ssl_models.ts +1 -1
- package/src/services/ssm/v20190923/ssm_models.ts +48 -78
- package/src/services/tdmq/v20200217/tdmq_models.ts +3 -4
- package/src/services/teo/v20220901/teo_client.ts +1 -0
- package/src/services/teo/v20220901/teo_models.ts +17 -3
- package/src/services/thpc/v20230321/thpc_models.ts +3 -3
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/tse/v20201207/tse_client.ts +18 -6
- package/src/services/tse/v20201207/tse_models.ts +28 -0
- package/src/services/vod/v20180717/vod_client.ts +33 -3
- package/src/services/vod/v20180717/vod_models.ts +234 -50
- package/src/services/waf/v20180125/waf_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +7 -7
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +8 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +16 -16
- package/tencentcloud/services/btoe/v20210514/btoe_models.d.ts +4 -4
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +3 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +3 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +113 -50
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +22 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +69 -34
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +3 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +3 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -14
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +7 -7
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +13 -8
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +34 -14
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +49 -19
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +308 -83
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +15 -11
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +75 -17
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +98 -24
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +651 -34
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +3 -21
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +16 -6
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +1 -1
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +8 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +30 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +7 -7
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +5 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +48 -78
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -4
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -3
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +3 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +7 -3
- package/tencentcloud/services/tse/v20201207/tse_client.js +9 -3
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +26 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +16 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +17 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +225 -50
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
- package/test/dnspod.v20210323.test.js +62 -12
- package/test/hunyuan.v20230901.test.js +94 -14
- package/test/tse.v20201207.test.js +12 -2
- package/test/vod.v20180717.test.js +10 -0
|
@@ -5,11 +5,11 @@ export interface GetDepositFileResponse {
|
|
|
5
5
|
/**
|
|
6
6
|
* 存证编号
|
|
7
7
|
*/
|
|
8
|
-
EvidenceId
|
|
8
|
+
EvidenceId?: string;
|
|
9
9
|
/**
|
|
10
10
|
* 存证文件临时链接
|
|
11
11
|
*/
|
|
12
|
-
EvidenceFile
|
|
12
|
+
EvidenceFile?: string;
|
|
13
13
|
/**
|
|
14
14
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15
15
|
*/
|
|
@@ -444,11 +444,11 @@ export interface GetDepositCertResponse {
|
|
|
444
444
|
/**
|
|
445
445
|
* 存证编码
|
|
446
446
|
*/
|
|
447
|
-
EvidenceId
|
|
447
|
+
EvidenceId?: string;
|
|
448
448
|
/**
|
|
449
449
|
* 存证证书文件临时链接
|
|
450
450
|
*/
|
|
451
|
-
EvidenceCert
|
|
451
|
+
EvidenceCert?: string;
|
|
452
452
|
/**
|
|
453
453
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
454
454
|
*/
|
|
@@ -20,7 +20,9 @@ export declare class Client extends AbstractClient {
|
|
|
20
20
|
*/
|
|
21
21
|
DescribeAutoCalloutTasks(req: DescribeAutoCalloutTasksRequest, cb?: (error: string, rep: DescribeAutoCalloutTasksResponse) => void): Promise<DescribeAutoCalloutTasksResponse>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* 用于调用AI模型发起外呼通话,仅限自有电话号码使用,目前开通高级版座席**限时**免费体验。
|
|
24
|
+
|
|
25
|
+
发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
|
|
24
26
|
*/
|
|
25
27
|
CreateAICall(req: CreateAICallRequest, cb?: (error: string, rep: CreateAICallResponse) => void): Promise<CreateAICallResponse>;
|
|
26
28
|
/**
|
|
@@ -46,7 +46,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
46
46
|
return this.request("DescribeAutoCalloutTasks", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 用于调用AI模型发起外呼通话,仅限自有电话号码使用,目前开通高级版座席**限时**免费体验。
|
|
50
|
+
|
|
51
|
+
发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
|
|
50
52
|
*/
|
|
51
53
|
async CreateAICall(req, cb) {
|
|
52
54
|
return this.request("CreateAICall", req, cb);
|
|
@@ -1971,35 +1971,97 @@ export interface CreateAICallRequest {
|
|
|
1971
1971
|
*/
|
|
1972
1972
|
SdkAppId: number;
|
|
1973
1973
|
/**
|
|
1974
|
-
*
|
|
1974
|
+
* 被叫号码
|
|
1975
1975
|
*/
|
|
1976
1976
|
Callee: string;
|
|
1977
1977
|
/**
|
|
1978
|
-
* 用于设定AI
|
|
1978
|
+
* 用于设定AI人设、说话规则、任务等的全局提示词。
|
|
1979
|
+
|
|
1980
|
+
示例:
|
|
1981
|
+
|
|
1982
|
+
## 人设
|
|
1983
|
+
你是人民医院友善、和蔼的的随访医生李医生,正在给患者小明的家长打电话,原因是医院要求小明2024-08-08回院复查手术恢复情况,但小明没有来。你需要按照任务流程对小明家长进行电话随访调查。
|
|
1984
|
+
|
|
1985
|
+
## 要求
|
|
1986
|
+
简洁回复:使用简练语言,每次最多询问一个问题,不要在一个回复中询问多个问题。
|
|
1987
|
+
富有变化:尽量使表达富有变化,表达机械重复。
|
|
1988
|
+
自然亲切:使用日常语言,尽量显得专业并亲切。提到时间时使用口语表述,如下周三、6月18日。
|
|
1989
|
+
积极主动:尝试引导对话,每个回复通常以问题或下一步建议来结尾。
|
|
1990
|
+
询问清楚:如果对方部分回答了你的问题,或者回答很模糊,请通过追问来确保回答的完整明确。
|
|
1991
|
+
遵循任务:当对方的回答偏离了你的任务时,及时引导对方回到任务中。不要从头开始重复,从偏离的的地方继续询问。
|
|
1992
|
+
诚实可靠:对于客户的提问,如果不确定请务必不要编造,礼貌告知对方不清楚。不要捏造患者未提及的症状史、用药史、治疗史。
|
|
1993
|
+
其他注意点:避免提到病情恶化、恢复不理想或疾病名称等使用会使患者感到紧张的表述。
|
|
1994
|
+
不要问患者已经直接或间接回答过的问题,比如患者已经说没有不适症状,那就不要再问手术部位是否有红肿疼痛症状的问题。
|
|
1995
|
+
|
|
1996
|
+
##任务:
|
|
1997
|
+
1.自我介绍你是人民医院负责随访的李医生,并说明致电的目的。
|
|
1998
|
+
2.询问被叫方是否是小明家长。
|
|
1999
|
+
- 如果不是小明家长,请礼貌表达歉意,并使用 call_end 挂断电话。
|
|
2000
|
+
- 如果小明家长没空,请礼貌告诉对方稍后会重新致电,并使用 end_call 挂断电话。
|
|
2001
|
+
3.询问小明出院后水肿情况如何,较出院时是否有变化。
|
|
2002
|
+
- 如果水肿变严重,直接跳转步骤7。
|
|
2003
|
+
4.询问出院后是否给小朋友量过体温,是否出现过发烧情况。
|
|
2004
|
+
- 如果没有量过体温,请礼貌告诉家长出院后三个月内需要每天观察体温。
|
|
2005
|
+
- 如果出现过发烧,请直接跳转步骤7。
|
|
2006
|
+
5.询问出院后是否给小朋友按时服药。
|
|
2007
|
+
- 如果没有按时服药,请友善提醒家长严格按医嘱服用药物,避免影响手术效果。
|
|
2008
|
+
6.询问小朋友在饮食上是否做到低盐低脂,适量吃优质蛋白如鸡蛋、牛奶、瘦肉等。
|
|
2009
|
+
- 如果没有做到,请友善提醒家长低盐低脂和优质蛋白有助小朋友尽快恢复。
|
|
2010
|
+
7.告知家长医生要求6月18日回院复查,但没看到有相关复诊记录。提醒家长尽快前往医院体检复查血化验、尿常规。
|
|
2011
|
+
8.询问家长是否有问题需要咨询,如果没有请礼貌道别并用call_end挂断电话。
|
|
2012
|
+
|
|
2013
|
+
|
|
1979
2014
|
*/
|
|
1980
2015
|
SystemPrompt: string;
|
|
1981
2016
|
/**
|
|
1982
|
-
*
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
azure
|
|
2017
|
+
* 模型接口协议类型,目前兼容三种协议类型:
|
|
2018
|
+
|
|
2019
|
+
- OpenAI协议(包括GPT、混元、DeepSeek等):"openai"
|
|
2020
|
+
- Azure协议:"azure"
|
|
2021
|
+
- Minimax协议:"minimax"
|
|
1986
2022
|
*/
|
|
1987
2023
|
LLMType: string;
|
|
1988
2024
|
/**
|
|
1989
|
-
*
|
|
2025
|
+
* 模型名称,如
|
|
2026
|
+
|
|
2027
|
+
- OpenAI协议
|
|
2028
|
+
"gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
|
|
2029
|
+
|
|
2030
|
+
- Azure协议
|
|
2031
|
+
"gpt-4o-mini", "gpt-4o";
|
|
2032
|
+
|
|
2033
|
+
- Minmax协议
|
|
2034
|
+
"deepseek-chat".
|
|
1990
2035
|
*/
|
|
1991
2036
|
Model: string;
|
|
1992
2037
|
/**
|
|
1993
|
-
* API
|
|
2038
|
+
* 模型API密钥,获取鉴权信息方式请参见各模型官网
|
|
2039
|
+
|
|
2040
|
+
- OpenAI协议:[GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key),[混元](https://cloud.tencent.com/document/product/1729/111008),[DeepSeek](https://api-docs.deepseek.com/zh-cn/);
|
|
2041
|
+
|
|
2042
|
+
- Azure协议:[Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
|
|
2043
|
+
|
|
2044
|
+
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
|
|
1994
2045
|
*/
|
|
1995
2046
|
APIKey: string;
|
|
1996
2047
|
/**
|
|
1997
|
-
*
|
|
1998
|
-
|
|
2048
|
+
* 模型接口地址
|
|
2049
|
+
|
|
2050
|
+
- OpenAI协议
|
|
2051
|
+
GPT:"https://api.openai.com/v1/"
|
|
2052
|
+
混元:"https://api.hunyuan.cloud.tencent.com/v1"
|
|
2053
|
+
Deepseek:"https://api.deepseek.com/v1"
|
|
2054
|
+
|
|
2055
|
+
- Azure协议
|
|
2056
|
+
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
|
|
2057
|
+
|
|
2058
|
+
- Minimax协议
|
|
2059
|
+
"https://api.minimax.chat/v1"
|
|
1999
2060
|
*/
|
|
2000
2061
|
APIUrl: string;
|
|
2001
2062
|
/**
|
|
2002
|
-
*
|
|
2063
|
+
* 默认提供以下音色参数值可选择,如需自定义音色VoiceType请留空并在参数CustomTTSConfig中配置
|
|
2064
|
+
|
|
2003
2065
|
汉语:
|
|
2004
2066
|
ZhiMei:智美,客服女声
|
|
2005
2067
|
ZhiXi: 智希 通用女声
|
|
@@ -2100,13 +2162,15 @@ export interface CreateAICallRequest {
|
|
|
2100
2162
|
*/
|
|
2101
2163
|
NotifyDuration?: number;
|
|
2102
2164
|
/**
|
|
2103
|
-
* 用户NotifyDuration没说话,
|
|
2165
|
+
* 用户NotifyDuration没说话,AI提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
|
|
2104
2166
|
*/
|
|
2105
2167
|
NotifyMessage?: string;
|
|
2106
2168
|
/**
|
|
2107
|
-
* 和
|
|
2169
|
+
* 和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色
|
|
2108
2170
|
|
|
2109
|
-
|
|
2171
|
+
- Tencent TTS
|
|
2172
|
+
配置请参考[腾讯云TTS文档链接](https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823)
|
|
2173
|
+
```
|
|
2110
2174
|
{
|
|
2111
2175
|
"TTSType": "tencent", // String TTS类型, 目前支持"tencent" 和 “minixmax”, 其他的厂商支持中
|
|
2112
2176
|
"AppId": "您的应用ID", // String 必填
|
|
@@ -2118,10 +2182,12 @@ export interface CreateAICallRequest {
|
|
|
2118
2182
|
"PrimaryLanguage": 1, // Integer 可选 主要语言 1-中文(默认) 2-英文 3-日文
|
|
2119
2183
|
"FastVoiceType": "xxxx" // 可选参数, 快速声音复刻的参数
|
|
2120
2184
|
}
|
|
2185
|
+
```
|
|
2121
2186
|
|
|
2122
|
-
参考:https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823
|
|
2123
2187
|
|
|
2124
|
-
|
|
2188
|
+
- Minimax TTS
|
|
2189
|
+
配置请参考[Minimax TTS文档链接](https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643 )。注意Minimax TTS存在频率限制,超频可能会导致回答卡顿,[Minimax TTS频率限制相关文档链接](https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572)。
|
|
2190
|
+
```
|
|
2125
2191
|
{
|
|
2126
2192
|
"TTSType": "minimax", // String TTS类型,
|
|
2127
2193
|
"Model": "speech-01-turbo",
|
|
@@ -2131,13 +2197,18 @@ export interface CreateAICallRequest {
|
|
|
2131
2197
|
"VoiceType":"female-tianmei-jingpin",
|
|
2132
2198
|
"Speed": 1.2
|
|
2133
2199
|
}
|
|
2200
|
+
```
|
|
2134
2201
|
|
|
2135
|
-
参考:https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643
|
|
2136
|
-
限频参考:https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572 可能会导致回答卡顿
|
|
2137
2202
|
|
|
2138
2203
|
|
|
2139
2204
|
|
|
2140
|
-
|
|
2205
|
+
|
|
2206
|
+
- 火山 TTS
|
|
2207
|
+
|
|
2208
|
+
配置音色类型参考[火山TTS文档链接](https://www.volcengine.com/docs/6561/162929 )
|
|
2209
|
+
语音合成音色列表--语音技术-火山引擎
|
|
2210
|
+
大模型语音合成音色列表--语音技术-火山引擎
|
|
2211
|
+
```
|
|
2141
2212
|
{
|
|
2142
2213
|
"TTSType": "volcengine", // 必填:String TTS类型
|
|
2143
2214
|
"AppId" : "xxxxxxxx", // 必填:String 火山引擎分配的Appid
|
|
@@ -2147,16 +2218,13 @@ export interface CreateAICallRequest {
|
|
|
2147
2218
|
"Cluster" : "volcano_tts", // 可选参数,业务集群, 默认是 volcano_tts
|
|
2148
2219
|
"VoiceType" : "zh_male_aojiaobazong_moon_bigtts" // 音色类型, 默认为大模型语音合成的音色。 如果使用普通语音合成,则需要填写对应的音色类型。 音色类型填写错误会导致没有声音。
|
|
2149
2220
|
}
|
|
2221
|
+
```
|
|
2150
2222
|
|
|
2151
2223
|
|
|
2152
2224
|
|
|
2153
|
-
|
|
2154
|
-
https://
|
|
2155
|
-
|
|
2156
|
-
大模型语音合成音色列表--语音技术-火山引擎
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
Azure TTS
|
|
2225
|
+
- Azure TTS
|
|
2226
|
+
配置请参考[AzureTTS文档链接](https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice)
|
|
2227
|
+
```
|
|
2160
2228
|
{
|
|
2161
2229
|
"TTSType": "azure", // 必填:String TTS类型
|
|
2162
2230
|
"SubscriptionKey": "xxxxxxxx", // 必填:String 订阅的Key
|
|
@@ -2165,12 +2233,16 @@ export interface CreateAICallRequest {
|
|
|
2165
2233
|
"Language": "zh-CN", // 必填:String 合成的语言
|
|
2166
2234
|
"Rate": 1 // 选填:float 语速 0.5~2 默认为 1
|
|
2167
2235
|
}
|
|
2236
|
+
```
|
|
2237
|
+
|
|
2168
2238
|
|
|
2169
|
-
参考:
|
|
2170
|
-
https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice
|
|
2171
2239
|
|
|
2172
2240
|
|
|
2173
|
-
自定义
|
|
2241
|
+
- 自定义
|
|
2242
|
+
|
|
2243
|
+
TTS
|
|
2244
|
+
具体协议规范请参考[腾讯文档](https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw )
|
|
2245
|
+
```
|
|
2174
2246
|
{
|
|
2175
2247
|
"TTSType": "custom", // String 必填
|
|
2176
2248
|
"APIKey": "ApiKey", // String 必填 用来鉴权
|
|
@@ -2179,11 +2251,7 @@ export interface CreateAICallRequest {
|
|
|
2179
2251
|
"SampleRate": 16000, // Integer,非必填,音频采样率,默认为16000(16k),推荐值为16000
|
|
2180
2252
|
"AudioChannel": 1, // Integer,非必填,音频通道数,取值:1 或 2 默认为1
|
|
2181
2253
|
}
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
具体协议规范:
|
|
2185
|
-
https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw
|
|
2186
|
-
|
|
2254
|
+
```
|
|
2187
2255
|
|
|
2188
2256
|
|
|
2189
2257
|
*/
|
|
@@ -2706,47 +2774,47 @@ export interface CallInMetrics {
|
|
|
2706
2774
|
/**
|
|
2707
2775
|
* IVR驻留数量
|
|
2708
2776
|
*/
|
|
2709
|
-
IvrCount
|
|
2777
|
+
IvrCount?: number;
|
|
2710
2778
|
/**
|
|
2711
2779
|
* 排队中数量
|
|
2712
2780
|
*/
|
|
2713
|
-
QueueCount
|
|
2781
|
+
QueueCount?: number;
|
|
2714
2782
|
/**
|
|
2715
2783
|
* 振铃中数量
|
|
2716
2784
|
*/
|
|
2717
|
-
RingCount
|
|
2785
|
+
RingCount?: number;
|
|
2718
2786
|
/**
|
|
2719
2787
|
* 接通中数量
|
|
2720
2788
|
*/
|
|
2721
|
-
AcceptCount
|
|
2789
|
+
AcceptCount?: number;
|
|
2722
2790
|
/**
|
|
2723
2791
|
* 客服转接外线中数量
|
|
2724
2792
|
*/
|
|
2725
|
-
TransferOuterCount
|
|
2793
|
+
TransferOuterCount?: number;
|
|
2726
2794
|
/**
|
|
2727
2795
|
* 最大排队时长
|
|
2728
2796
|
*/
|
|
2729
|
-
MaxQueueDuration
|
|
2797
|
+
MaxQueueDuration?: number;
|
|
2730
2798
|
/**
|
|
2731
2799
|
* 平均排队时长
|
|
2732
2800
|
*/
|
|
2733
|
-
AvgQueueDuration
|
|
2801
|
+
AvgQueueDuration?: number;
|
|
2734
2802
|
/**
|
|
2735
2803
|
* 最大振铃时长
|
|
2736
2804
|
*/
|
|
2737
|
-
MaxRingDuration
|
|
2805
|
+
MaxRingDuration?: number;
|
|
2738
2806
|
/**
|
|
2739
2807
|
* 平均振铃时长
|
|
2740
2808
|
*/
|
|
2741
|
-
AvgRingDuration
|
|
2809
|
+
AvgRingDuration?: number;
|
|
2742
2810
|
/**
|
|
2743
2811
|
* 最大接通时长
|
|
2744
2812
|
*/
|
|
2745
|
-
MaxAcceptDuration
|
|
2813
|
+
MaxAcceptDuration?: number;
|
|
2746
2814
|
/**
|
|
2747
2815
|
* 平均接通时长
|
|
2748
2816
|
*/
|
|
2749
|
-
AvgAcceptDuration
|
|
2817
|
+
AvgAcceptDuration?: number;
|
|
2750
2818
|
}
|
|
2751
2819
|
/**
|
|
2752
2820
|
* DescribeCCCBuyInfoList请求参数结构体
|
|
@@ -3260,12 +3328,10 @@ export interface DescribePSTNActiveSessionListRequest {
|
|
|
3260
3328
|
export interface UploadIvrAudioFailedInfo {
|
|
3261
3329
|
/**
|
|
3262
3330
|
* 文件名
|
|
3263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3264
3331
|
*/
|
|
3265
3332
|
FileName?: string;
|
|
3266
3333
|
/**
|
|
3267
3334
|
* 失败原因
|
|
3268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3269
3335
|
*/
|
|
3270
3336
|
FailedMsg?: string;
|
|
3271
3337
|
}
|
|
@@ -3283,12 +3349,10 @@ export interface DescribeCallInMetricsResponse {
|
|
|
3283
3349
|
TotalMetrics?: CallInMetrics;
|
|
3284
3350
|
/**
|
|
3285
3351
|
* 线路维度指标
|
|
3286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3287
3352
|
*/
|
|
3288
3353
|
NumberMetrics?: Array<CallInNumberMetrics>;
|
|
3289
3354
|
/**
|
|
3290
3355
|
* 技能组维度指标
|
|
3291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3292
3356
|
*/
|
|
3293
3357
|
SkillGroupMetrics?: Array<CallInSkillGroupMetrics>;
|
|
3294
3358
|
/**
|
|
@@ -3852,7 +3916,6 @@ export interface BindStaffSkillGroupListResponse {
|
|
|
3852
3916
|
export interface DescribeTelRecordAsrResponse {
|
|
3853
3917
|
/**
|
|
3854
3918
|
* 录音转文本信息
|
|
3855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3856
3919
|
*/
|
|
3857
3920
|
AsrDataList?: Array<AsrData>;
|
|
3858
3921
|
/**
|
|
@@ -1526,6 +1526,11 @@ export interface DataBaseAuditRecord {
|
|
|
1526
1526
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1527
1527
|
*/
|
|
1528
1528
|
Catalog?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* 状态
|
|
1531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1532
|
+
*/
|
|
1533
|
+
State?: string;
|
|
1529
1534
|
}
|
|
1530
1535
|
/**
|
|
1531
1536
|
* DescribeSlowQueryRecords返回参数结构体
|
|
@@ -1616,11 +1621,13 @@ export interface CreateBackUpScheduleRequest {
|
|
|
1616
1621
|
/**
|
|
1617
1622
|
* 选择的星期 逗号分隔
|
|
1618
1623
|
废弃:使用ScheduleInfo
|
|
1624
|
+
* @deprecated
|
|
1619
1625
|
*/
|
|
1620
1626
|
WeekDays?: string;
|
|
1621
1627
|
/**
|
|
1622
1628
|
* 执行小时
|
|
1623
1629
|
废弃:使用ScheduleInfo
|
|
1630
|
+
* @deprecated
|
|
1624
1631
|
*/
|
|
1625
1632
|
ExecuteHour?: number;
|
|
1626
1633
|
/**
|
|
@@ -2605,6 +2612,11 @@ export interface DescribeRestoreTaskDetailRequest {
|
|
|
2605
2612
|
* CreateBackUpSchedule返回参数结构体
|
|
2606
2613
|
*/
|
|
2607
2614
|
export interface CreateBackUpScheduleResponse {
|
|
2615
|
+
/**
|
|
2616
|
+
* 错误信息
|
|
2617
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2618
|
+
*/
|
|
2619
|
+
ErrorMsg?: string;
|
|
2608
2620
|
/**
|
|
2609
2621
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2610
2622
|
*/
|
|
@@ -2649,6 +2661,16 @@ export interface DescribeBackUpJobResponse {
|
|
|
2649
2661
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2650
2662
|
*/
|
|
2651
2663
|
BackUpJobs?: Array<BackUpJobDisplay>;
|
|
2664
|
+
/**
|
|
2665
|
+
* 错误信息
|
|
2666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2667
|
+
*/
|
|
2668
|
+
ErrorMsg?: string;
|
|
2669
|
+
/**
|
|
2670
|
+
* 总数
|
|
2671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2672
|
+
*/
|
|
2673
|
+
TotalCount?: number;
|
|
2652
2674
|
/**
|
|
2653
2675
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2654
2676
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse,
|
|
3
|
+
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, UpdateFileSystemBandwidthLimitResponse, DescribeSnapshotOperationLogsResponse, DeleteCfsFileSystemRequest, UpdateFileSystemBandwidthLimitRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, ModifyFileSystemAutoScaleUpRuleResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, DescribeUserQuotaRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, UpdateCfsFileSystemPGroupResponse, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, StopMigrationTaskResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
|
|
4
4
|
/**
|
|
5
5
|
* cfs client
|
|
6
6
|
* @class
|
|
@@ -434,6 +434,14 @@ export interface FileSystemInfo {
|
|
|
434
434
|
* 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
|
435
435
|
*/
|
|
436
436
|
BandwidthLimit?: number;
|
|
437
|
+
/**
|
|
438
|
+
* 文件系统关联的快照策略
|
|
439
|
+
*/
|
|
440
|
+
AutoSnapshotPolicyId?: string;
|
|
441
|
+
/**
|
|
442
|
+
* 文件系统处理快照状态
|
|
443
|
+
*/
|
|
444
|
+
SnapStatus?: string;
|
|
437
445
|
/**
|
|
438
446
|
* 文件系统容量规格上限
|
|
439
447
|
单位:GiB
|
|
@@ -454,6 +462,16 @@ export interface FileSystemInfo {
|
|
|
454
462
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
455
463
|
*/
|
|
456
464
|
TieringDetail?: TieringDetailInfo;
|
|
465
|
+
/**
|
|
466
|
+
* 文件系统自动扩容策略
|
|
467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
|
+
*/
|
|
469
|
+
AutoScaleUpRule?: AutoScaleUpRule;
|
|
470
|
+
/**
|
|
471
|
+
* 文件系统版本
|
|
472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
473
|
+
*/
|
|
474
|
+
Version?: string;
|
|
457
475
|
}
|
|
458
476
|
/**
|
|
459
477
|
* BindAutoSnapshotPolicy请求参数结构体
|
|
@@ -589,22 +607,9 @@ export interface BindAutoSnapshotPolicyResponse {
|
|
|
589
607
|
RequestId?: string;
|
|
590
608
|
}
|
|
591
609
|
/**
|
|
592
|
-
*
|
|
610
|
+
* SignUpCfsService请求参数结构体
|
|
593
611
|
*/
|
|
594
|
-
export
|
|
595
|
-
/**
|
|
596
|
-
* 迁移任务Id
|
|
597
|
-
*/
|
|
598
|
-
TaskId?: string;
|
|
599
|
-
/**
|
|
600
|
-
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
601
|
-
*/
|
|
602
|
-
Status?: number;
|
|
603
|
-
/**
|
|
604
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
605
|
-
*/
|
|
606
|
-
RequestId?: string;
|
|
607
|
-
}
|
|
612
|
+
export declare type SignUpCfsServiceRequest = null;
|
|
608
613
|
/**
|
|
609
614
|
* SignUpCfsService返回参数结构体
|
|
610
615
|
*/
|
|
@@ -982,23 +987,6 @@ export interface DescribeSnapshotOperationLogsResponse {
|
|
|
982
987
|
*/
|
|
983
988
|
RequestId?: string;
|
|
984
989
|
}
|
|
985
|
-
/**
|
|
986
|
-
* UpdateCfsFileSystemPGroup返回参数结构体
|
|
987
|
-
*/
|
|
988
|
-
export interface UpdateCfsFileSystemPGroupResponse {
|
|
989
|
-
/**
|
|
990
|
-
* 权限组 ID
|
|
991
|
-
*/
|
|
992
|
-
PGroupId: string;
|
|
993
|
-
/**
|
|
994
|
-
* 文件系统 ID
|
|
995
|
-
*/
|
|
996
|
-
FileSystemId: string;
|
|
997
|
-
/**
|
|
998
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
999
|
-
*/
|
|
1000
|
-
RequestId?: string;
|
|
1001
|
-
}
|
|
1002
990
|
/**
|
|
1003
991
|
* DeleteCfsFileSystem请求参数结构体
|
|
1004
992
|
*/
|
|
@@ -1391,6 +1379,23 @@ export interface DescribeCfsSnapshotOverviewResponse {
|
|
|
1391
1379
|
*/
|
|
1392
1380
|
RequestId?: string;
|
|
1393
1381
|
}
|
|
1382
|
+
/**
|
|
1383
|
+
* 自动扩容规则
|
|
1384
|
+
*/
|
|
1385
|
+
export interface AutoScaleUpRule {
|
|
1386
|
+
/**
|
|
1387
|
+
* 自动扩容策略开启,关闭
|
|
1388
|
+
*/
|
|
1389
|
+
Status?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
|
1392
|
+
*/
|
|
1393
|
+
ScaleThreshold?: number;
|
|
1394
|
+
/**
|
|
1395
|
+
* 扩容后使用量跟集群总量比例,范围[1-90]
|
|
1396
|
+
*/
|
|
1397
|
+
TargetThreshold?: number;
|
|
1398
|
+
}
|
|
1394
1399
|
/**
|
|
1395
1400
|
* DeleteCfsSnapshot请求参数结构体
|
|
1396
1401
|
*/
|
|
@@ -1812,9 +1817,22 @@ export interface DescribeCfsRulesResponse {
|
|
|
1812
1817
|
RequestId?: string;
|
|
1813
1818
|
}
|
|
1814
1819
|
/**
|
|
1815
|
-
*
|
|
1820
|
+
* UpdateCfsFileSystemPGroup返回参数结构体
|
|
1816
1821
|
*/
|
|
1817
|
-
export
|
|
1822
|
+
export interface UpdateCfsFileSystemPGroupResponse {
|
|
1823
|
+
/**
|
|
1824
|
+
* 权限组 ID
|
|
1825
|
+
*/
|
|
1826
|
+
PGroupId: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* 文件系统 ID
|
|
1829
|
+
*/
|
|
1830
|
+
FileSystemId: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1833
|
+
*/
|
|
1834
|
+
RequestId?: string;
|
|
1835
|
+
}
|
|
1818
1836
|
/**
|
|
1819
1837
|
* UpdateAutoSnapshotPolicy返回参数结构体
|
|
1820
1838
|
*/
|
|
@@ -2212,6 +2230,23 @@ export interface CreateCfsRuleResponse {
|
|
|
2212
2230
|
*/
|
|
2213
2231
|
RequestId?: string;
|
|
2214
2232
|
}
|
|
2233
|
+
/**
|
|
2234
|
+
* StopMigrationTask返回参数结构体
|
|
2235
|
+
*/
|
|
2236
|
+
export interface StopMigrationTaskResponse {
|
|
2237
|
+
/**
|
|
2238
|
+
* 迁移任务Id
|
|
2239
|
+
*/
|
|
2240
|
+
TaskId?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
2243
|
+
*/
|
|
2244
|
+
Status?: number;
|
|
2245
|
+
/**
|
|
2246
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2247
|
+
*/
|
|
2248
|
+
RequestId?: string;
|
|
2249
|
+
}
|
|
2215
2250
|
/**
|
|
2216
2251
|
* DescribeCfsSnapshots返回参数结构体
|
|
2217
2252
|
*/
|
|
@@ -272,7 +272,9 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
272
272
|
*/
|
|
273
273
|
ModifySequenceRules(req: ModifySequenceRulesRequest, cb?: (error: string, rep: ModifySequenceRulesResponse) => void): Promise<ModifySequenceRulesResponse>;
|
|
274
274
|
/**
|
|
275
|
-
*
|
|
275
|
+
* 接口不再使用,已有新接口AddAclRule
|
|
276
|
+
|
|
277
|
+
添加互联网边界规则
|
|
276
278
|
*/
|
|
277
279
|
AddAcRule(req: AddAcRuleRequest, cb?: (error: string, rep: AddAcRuleResponse) => void): Promise<AddAcRuleResponse>;
|
|
278
280
|
/**
|
|
@@ -422,7 +422,9 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
422
422
|
return this.request("ModifySequenceRules", req, cb);
|
|
423
423
|
}
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
425
|
+
* 接口不再使用,已有新接口AddAclRule
|
|
426
|
+
|
|
427
|
+
添加互联网边界规则
|
|
426
428
|
*/
|
|
427
429
|
async AddAcRule(req, cb) {
|
|
428
430
|
return this.request("AddAcRule", req, cb);
|