tencentcloud-sdk-nodejs 4.0.595 → 4.0.596
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 +159 -0
- package/SERVICE_CHANGELOG.md +189 -112
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +2 -2
- package/src/services/asr/v20190614/asr_models.ts +34 -23
- package/src/services/cbs/v20170312/cbs_client.ts +2 -5
- package/src/services/cbs/v20170312/cbs_models.ts +10 -9
- package/src/services/ckafka/v20190819/ckafka_client.ts +14 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +55 -11
- package/src/services/cls/v20201016/cls_models.ts +6 -0
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +40 -14
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +199 -10
- package/src/services/es/v20180416/es_models.ts +10 -0
- package/src/services/gs/v20191118/gs_models.ts +1 -1
- package/src/services/omics/v20221128/omics_models.ts +12 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +7 -7
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/tsf/v20180326/tsf_client.ts +13 -1
- package/src/services/tsf/v20180326/tsf_models.ts +61 -31
- package/src/services/vpc/v20170312/vpc_models.ts +8 -7
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
- package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +33 -23
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +2 -5
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +2 -5
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +7 -6
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +49 -10
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +13 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +18 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +168 -9
- package/tencentcloud/services/es/v20180416/es_models.d.ts +8 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +1 -1
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +10 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +6 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +52 -26
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -5
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +24 -4
- package/test/tsf.v20180326.test.js +10 -0
package/products.md
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-03-30 01:01:22 |
|
|
11
11
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2023-03-30 01:01:58 |
|
|
12
12
|
| anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-03-31 01:02:09 |
|
|
13
|
-
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2023-
|
|
13
|
+
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2023-05-11 01:01:43 |
|
|
14
14
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
15
15
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-03-30 01:02:33 |
|
|
18
18
|
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2023-05-08 01:07:20 |
|
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-03-30 01:03:04 |
|
|
20
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-05-
|
|
20
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-05-11 01:03:26 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-03-30 01:03:34 |
|
|
22
22
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-04-20 01:03:43 |
|
|
23
23
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-05-09 01:03:13 |
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-05-08 01:10:15 |
|
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-04-24 01:05:46 |
|
|
42
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-05-
|
|
42
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-05-11 01:07:04 |
|
|
43
43
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-05-08 01:11:11 |
|
|
44
44
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-05-08 01:11:27 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-05-09 01:06:58 |
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-03-30 01:09:33 |
|
|
55
55
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
56
56
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
57
|
-
| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-
|
|
57
|
+
| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-05-11 01:11:12 |
|
|
58
58
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-05-10 01:12:15 |
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-04-05 01:18:15 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-03-30 01:10:35 |
|
|
61
61
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-05-09 01:09:45 |
|
|
62
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-05-
|
|
62
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-05-11 01:12:58 |
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-03-30 01:11:29 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-03-30 01:11:46 |
|
|
65
65
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-05-09 01:11:50 |
|
|
70
70
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-05-09 01:12:29 |
|
|
71
71
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
72
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-05-
|
|
72
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-05-11 01:17:45 |
|
|
73
73
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-04-28 01:18:09 |
|
|
74
74
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
75
75
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-03-30 01:33:58 |
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-04-24 01:17:53 |
|
|
91
91
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-03-30 01:37:29 |
|
|
92
92
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-04-20 01:20:51 |
|
|
93
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-05-
|
|
94
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-05-
|
|
93
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-05-11 01:24:03 |
|
|
94
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-05-11 01:24:36 |
|
|
95
95
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-05-08 01:23:59 |
|
|
96
96
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-05-10 01:25:25 |
|
|
97
97
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-04-20 16:06:06 |
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-04-21 01:25:14 |
|
|
103
103
|
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-04-20 01:23:06 |
|
|
104
104
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
105
|
-
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-
|
|
105
|
+
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-11 01:27:03 |
|
|
106
106
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
|
107
107
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
108
108
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-03-30 01:39:51 |
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-05-09 01:32:09 |
|
|
146
146
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
147
147
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-05-10 01:38:48 |
|
|
148
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-05-
|
|
149
|
-
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-05-
|
|
148
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-05-11 01:38:16 |
|
|
149
|
+
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-05-11 01:38:54 |
|
|
150
150
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-03-30 01:50:22 |
|
|
151
151
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-03-30 01:50:28 |
|
|
152
152
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-03-30 01:50:40 |
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-04-19 01:50:55 |
|
|
192
192
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-03-30 02:27:00 |
|
|
193
193
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-03-30 02:27:07 |
|
|
194
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-05-
|
|
194
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-05-11 01:48:28 |
|
|
195
195
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-03-30 02:27:47 |
|
|
196
196
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-04-20 01:41:18 |
|
|
197
197
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-05-08 01:55:39 |
|
|
@@ -212,20 +212,20 @@
|
|
|
212
212
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-03-30 02:45:33 |
|
|
213
213
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-04-26 02:00:05 |
|
|
214
214
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-04-12 02:06:17 |
|
|
215
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-05-
|
|
215
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-05-11 01:54:38 |
|
|
216
216
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-04-20 01:48:06 |
|
|
217
|
-
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-
|
|
217
|
+
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-05-11 01:55:10 |
|
|
218
218
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-03-30 02:47:12 |
|
|
219
219
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-05-10 01:58:33 |
|
|
220
220
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-03-30 02:47:18 |
|
|
221
221
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-03-30 02:47:27 |
|
|
222
222
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-03-30 02:47:30 |
|
|
223
223
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-05-10 01:59:01 |
|
|
224
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-05-
|
|
224
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-05-11 01:58:28 |
|
|
225
225
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-04-14 02:04:14 |
|
|
226
226
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-05-08 02:03:46 |
|
|
227
227
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-05-09 01:55:56 |
|
|
228
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-05-
|
|
228
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-05-11 02:02:05 |
|
|
229
229
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
230
230
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-04-28 01:49:51 |
|
|
231
231
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.596"
|
|
@@ -121,7 +121,7 @@ export class Client extends AbstractClient {
|
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* 本接口服务对时长5小时以内的录音文件进行识别,异步返回识别全部结果。
|
|
124
|
-
•
|
|
124
|
+
• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、葡萄牙语、土耳其语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
|
|
125
125
|
• 支持wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac格式。
|
|
126
126
|
• 支持语音 URL 和本地语音文件两种请求方式。语音 URL 的音频时长不能长于5小时,文件大小不超过1GB。本地语音文件调用不能大于5MB。
|
|
127
127
|
• 提交录音文件识别请求后,在3小时内完成识别(大多数情况下1小时音频约3分钟以内完成识别,半小时内发送超过1000小时录音或者2万条识别任务的除外),识别结果在服务端可保存7天。
|
|
@@ -286,7 +286,7 @@ export class Client extends AbstractClient {
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
* 本接口用于对60秒之内的短音频文件进行识别。<br>•
|
|
289
|
+
* 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
|
290
290
|
*/
|
|
291
291
|
async SentenceRecognition(
|
|
292
292
|
req: SentenceRecognitionRequest,
|
|
@@ -116,12 +116,14 @@ export interface GetAsrVocabResponse {
|
|
|
116
116
|
export interface CreateAsyncRecognitionTaskRequest {
|
|
117
117
|
/**
|
|
118
118
|
* 引擎模型类型。
|
|
119
|
-
• 16k_zh
|
|
120
|
-
•
|
|
121
|
-
•
|
|
122
|
-
•
|
|
123
|
-
•
|
|
124
|
-
•
|
|
119
|
+
• 16k_zh:中文普通话通用;
|
|
120
|
+
• 16k_en:英语;
|
|
121
|
+
• 16k_ca:粤语;
|
|
122
|
+
• 16k_id:印度尼西亚语;
|
|
123
|
+
• 16k_fil:菲律宾语;
|
|
124
|
+
• 16k_th:泰语;
|
|
125
|
+
• 16k_pt:葡萄牙语;
|
|
126
|
+
• 16k_tr:土耳其语;
|
|
125
127
|
*/
|
|
126
128
|
EngineType: string
|
|
127
129
|
|
|
@@ -228,7 +230,7 @@ export interface SentenceRecognitionRequest {
|
|
|
228
230
|
|
|
229
231
|
非电话场景:
|
|
230
232
|
• 16k_zh:中文通用;
|
|
231
|
-
• 16k_zh-PY
|
|
233
|
+
• 16k_zh-PY:中英粤;
|
|
232
234
|
• 16k_zh_medical:中文医疗;
|
|
233
235
|
• 16k_en:英语;
|
|
234
236
|
• 16k_ca:粤语;
|
|
@@ -239,6 +241,8 @@ export interface SentenceRecognitionRequest {
|
|
|
239
241
|
• 16k_id:印度尼西亚语;
|
|
240
242
|
• 16k_fil:菲律宾语;
|
|
241
243
|
• 16k_th:泰语;
|
|
244
|
+
• 16k_pt:葡萄牙语;
|
|
245
|
+
• 16k_tr:土耳其语;
|
|
242
246
|
• 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
243
247
|
*/
|
|
244
248
|
EngSerViceType: string
|
|
@@ -322,6 +326,12 @@ export interface SentenceRecognitionRequest {
|
|
|
322
326
|
* 热词增强功能。1:开启后(仅支持8k_zh,16k_zh),将开启同音替换功能,同音字、词在热词中配置。举例:热词配置“蜜制”并开启增强功能后,与“蜜制”同拼音(mizhi)的“秘制”、“蜜汁”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。
|
|
323
327
|
*/
|
|
324
328
|
ReinforceHotword?: number
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* 临时热词:用于提升识别准确率,临时热词规则:“热词|权重”,热词不超过30个字符(最多10个汉字),权重1-10,最多传入128个热词。举例:"腾讯云|10,语音识别|5,ASR|10"。
|
|
332
|
+
“临时热词”和“热词id”的区别:热词id需要先在控制台或通过接口创建热词表,得到热词表id后才可以使用热词功能,本字段可以在每次请求时直接传入热词使用,但每次请求后云端不会保留相关的热词数据,需要客户自行维护相关数据
|
|
333
|
+
*/
|
|
334
|
+
HotwordList?: string
|
|
325
335
|
}
|
|
326
336
|
|
|
327
337
|
/**
|
|
@@ -532,23 +542,24 @@ export interface CreateRecTaskRequest {
|
|
|
532
542
|
/**
|
|
533
543
|
* 引擎模型类型。注意:非电话场景请务必使用16k的引擎。
|
|
534
544
|
电话场景:
|
|
535
|
-
•
|
|
536
|
-
•
|
|
545
|
+
• 8k_zh:中文电话通用;
|
|
546
|
+
• 8k_en:英文电话通用;
|
|
547
|
+
|
|
537
548
|
非电话场景:
|
|
538
|
-
• 16k_zh
|
|
539
|
-
•
|
|
540
|
-
•
|
|
541
|
-
•
|
|
542
|
-
•
|
|
543
|
-
•
|
|
544
|
-
•
|
|
545
|
-
•
|
|
546
|
-
•
|
|
547
|
-
•
|
|
548
|
-
•
|
|
549
|
-
•
|
|
550
|
-
•
|
|
551
|
-
•
|
|
549
|
+
• 16k_zh:中文通用;
|
|
550
|
+
• 16k_zh-PY:中英粤;
|
|
551
|
+
• 16k_zh_medical:中文医疗;
|
|
552
|
+
• 16k_en:英语;
|
|
553
|
+
• 16k_ca:粤语;
|
|
554
|
+
• 16k_ja:日语;
|
|
555
|
+
• 16k_ko:韩语;
|
|
556
|
+
• 16k_vi:越南语;
|
|
557
|
+
• 16k_ms:马来语;
|
|
558
|
+
• 16k_id:印度尼西亚语;
|
|
559
|
+
• 16k_fil:菲律宾语;
|
|
560
|
+
• 16k_th:泰语;
|
|
561
|
+
• 16k_pt:葡萄牙语;
|
|
562
|
+
• 16k_tr:土耳其语;
|
|
552
563
|
• 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
553
564
|
*/
|
|
554
565
|
EngineModelType: string
|
|
@@ -489,13 +489,10 @@ export class Client extends AbstractClient {
|
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
|
-
*
|
|
492
|
+
* 本接口 (ModifyDisksChargeType) 用于切换云硬盘的计费模式。
|
|
493
493
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
非弹性云盘不支持此接口,请通过修改实例计费模式接口将实例连同非弹性云盘一起转换。
|
|
494
|
+
非弹性云硬盘不支持此接口,请通过修改实例计费模式接口将实例连同非弹性云硬盘一起转换。
|
|
497
495
|
默认接口请求频率限制:10次/秒。
|
|
498
|
-
|
|
499
496
|
*/
|
|
500
497
|
async ModifyDisksChargeType(
|
|
501
498
|
req: ModifyDisksChargeTypeRequest,
|
|
@@ -321,6 +321,11 @@ export interface DescribeSnapshotOperationLogsRequest {
|
|
|
321
321
|
* ModifySnapshotsSharePermission请求参数结构体
|
|
322
322
|
*/
|
|
323
323
|
export interface ModifySnapshotsSharePermissionRequest {
|
|
324
|
+
/**
|
|
325
|
+
* 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
|
|
326
|
+
*/
|
|
327
|
+
SnapshotIds: Array<string>
|
|
328
|
+
|
|
324
329
|
/**
|
|
325
330
|
* 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。
|
|
326
331
|
*/
|
|
@@ -330,11 +335,6 @@ export interface ModifySnapshotsSharePermissionRequest {
|
|
|
330
335
|
* 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
|
|
331
336
|
*/
|
|
332
337
|
Permission: string
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
|
|
336
|
-
*/
|
|
337
|
-
SnapshotIds: Array<string>
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
/**
|
|
@@ -573,7 +573,7 @@ export interface SnapshotCopyResult {
|
|
|
573
573
|
*/
|
|
574
574
|
export interface RenewDiskRequest {
|
|
575
575
|
/**
|
|
576
|
-
*
|
|
576
|
+
* 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月云硬盘的续费时长。<br>在云硬盘与挂载的实例一起续费的场景下,可以指定参数CurInstanceDeadline,此时云硬盘会按对齐到实例续费后的到期时间来续费。
|
|
577
577
|
*/
|
|
578
578
|
DiskChargePrepaid: DiskChargePrepaid
|
|
579
579
|
|
|
@@ -1574,7 +1574,7 @@ export interface ApplyDiskBackupRequest {
|
|
|
1574
1574
|
*/
|
|
1575
1575
|
export interface ModifyDisksChargeTypeRequest {
|
|
1576
1576
|
/**
|
|
1577
|
-
* 一个或多个待操作的云硬盘ID
|
|
1577
|
+
* 一个或多个待操作的云硬盘ID。每次请求批量云硬盘上限为100。
|
|
1578
1578
|
*/
|
|
1579
1579
|
DiskIds: Array<string>
|
|
1580
1580
|
|
|
@@ -1979,8 +1979,9 @@ export interface Snapshot {
|
|
|
1979
1979
|
*/
|
|
1980
1980
|
export interface CreateDisksResponse {
|
|
1981
1981
|
/**
|
|
1982
|
-
|
|
1983
|
-
|
|
1982
|
+
* 创建的云硬盘ID列表。
|
|
1983
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1984
|
+
*/
|
|
1984
1985
|
DiskIdSet?: Array<string>
|
|
1985
1986
|
|
|
1986
1987
|
/**
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
CdcClusterResponse,
|
|
113
113
|
ModifyPasswordResponse,
|
|
114
114
|
ModifyInstanceAttributesConfig,
|
|
115
|
-
|
|
115
|
+
DescribeTaskStatusResponse,
|
|
116
116
|
AuthorizeTokenRequest,
|
|
117
117
|
OperateResponseData,
|
|
118
118
|
RenewCkafkaInstanceResponse,
|
|
@@ -247,6 +247,7 @@ import {
|
|
|
247
247
|
CreateDatahubTopicResponse,
|
|
248
248
|
InquireCkafkaPriceRequest,
|
|
249
249
|
DateParam,
|
|
250
|
+
FetchDatahubMessageByOffsetRequest,
|
|
250
251
|
ValueParam,
|
|
251
252
|
DescribeDatahubTasksResponse,
|
|
252
253
|
InquiryDiskParam,
|
|
@@ -307,8 +308,10 @@ import {
|
|
|
307
308
|
SaleInfo,
|
|
308
309
|
DeleteTopicResponse,
|
|
309
310
|
ScfParam,
|
|
311
|
+
TaskStatusResponse,
|
|
310
312
|
CreateDatahubTaskResponse,
|
|
311
313
|
ClickHouseConnectParam,
|
|
314
|
+
DescribeTaskStatusRequest,
|
|
312
315
|
DescribeUserRequest,
|
|
313
316
|
DescribeDatahubTopicsResp,
|
|
314
317
|
DescribeTopicSyncReplicaRequest,
|
|
@@ -774,6 +777,16 @@ export class Client extends AbstractClient {
|
|
|
774
777
|
return this.request("FetchLatestDatahubMessageList", req, cb)
|
|
775
778
|
}
|
|
776
779
|
|
|
780
|
+
/**
|
|
781
|
+
* 查询任务状态
|
|
782
|
+
*/
|
|
783
|
+
async DescribeTaskStatus(
|
|
784
|
+
req: DescribeTaskStatusRequest,
|
|
785
|
+
cb?: (error: string, rep: DescribeTaskStatusResponse) => void
|
|
786
|
+
): Promise<DescribeTaskStatusResponse> {
|
|
787
|
+
return this.request("DescribeTaskStatus", req, cb)
|
|
788
|
+
}
|
|
789
|
+
|
|
777
790
|
/**
|
|
778
791
|
* 删除用户
|
|
779
792
|
*/
|
|
@@ -2861,23 +2861,18 @@ export interface ModifyInstanceAttributesConfig {
|
|
|
2861
2861
|
}
|
|
2862
2862
|
|
|
2863
2863
|
/**
|
|
2864
|
-
*
|
|
2864
|
+
* DescribeTaskStatus返回参数结构体
|
|
2865
2865
|
*/
|
|
2866
|
-
export interface
|
|
2867
|
-
/**
|
|
2868
|
-
* 主题名
|
|
2869
|
-
*/
|
|
2870
|
-
Name: string
|
|
2871
|
-
|
|
2866
|
+
export interface DescribeTaskStatusResponse {
|
|
2872
2867
|
/**
|
|
2873
|
-
*
|
|
2868
|
+
* 返回结果
|
|
2874
2869
|
*/
|
|
2875
|
-
|
|
2870
|
+
Result?: TaskStatusResponse
|
|
2876
2871
|
|
|
2877
2872
|
/**
|
|
2878
|
-
*
|
|
2873
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2879
2874
|
*/
|
|
2880
|
-
|
|
2875
|
+
RequestId?: string
|
|
2881
2876
|
}
|
|
2882
2877
|
|
|
2883
2878
|
/**
|
|
@@ -6646,6 +6641,26 @@ export interface DateParam {
|
|
|
6646
6641
|
TimeZone?: string
|
|
6647
6642
|
}
|
|
6648
6643
|
|
|
6644
|
+
/**
|
|
6645
|
+
* FetchDatahubMessageByOffset请求参数结构体
|
|
6646
|
+
*/
|
|
6647
|
+
export interface FetchDatahubMessageByOffsetRequest {
|
|
6648
|
+
/**
|
|
6649
|
+
* 主题名
|
|
6650
|
+
*/
|
|
6651
|
+
Name: string
|
|
6652
|
+
|
|
6653
|
+
/**
|
|
6654
|
+
* 分区id
|
|
6655
|
+
*/
|
|
6656
|
+
Partition: number
|
|
6657
|
+
|
|
6658
|
+
/**
|
|
6659
|
+
* 位点信息,必填
|
|
6660
|
+
*/
|
|
6661
|
+
Offset?: number
|
|
6662
|
+
}
|
|
6663
|
+
|
|
6649
6664
|
/**
|
|
6650
6665
|
* 数据处理——Value处理参数
|
|
6651
6666
|
*/
|
|
@@ -8606,6 +8621,25 @@ export interface ScfParam {
|
|
|
8606
8621
|
MaxRetries?: number
|
|
8607
8622
|
}
|
|
8608
8623
|
|
|
8624
|
+
/**
|
|
8625
|
+
* 任务状态返回对象
|
|
8626
|
+
*/
|
|
8627
|
+
export interface TaskStatusResponse {
|
|
8628
|
+
/**
|
|
8629
|
+
* 任务状态:
|
|
8630
|
+
0 成功
|
|
8631
|
+
1 失败
|
|
8632
|
+
2 进行中
|
|
8633
|
+
*/
|
|
8634
|
+
Status: number
|
|
8635
|
+
|
|
8636
|
+
/**
|
|
8637
|
+
* 输出信息
|
|
8638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8639
|
+
*/
|
|
8640
|
+
Output: string
|
|
8641
|
+
}
|
|
8642
|
+
|
|
8609
8643
|
/**
|
|
8610
8644
|
* CreateDatahubTask返回参数结构体
|
|
8611
8645
|
*/
|
|
@@ -8674,6 +8708,16 @@ export interface ClickHouseConnectParam {
|
|
|
8674
8708
|
IsUpdate?: boolean
|
|
8675
8709
|
}
|
|
8676
8710
|
|
|
8711
|
+
/**
|
|
8712
|
+
* DescribeTaskStatus请求参数结构体
|
|
8713
|
+
*/
|
|
8714
|
+
export interface DescribeTaskStatusRequest {
|
|
8715
|
+
/**
|
|
8716
|
+
* 任务唯一标记
|
|
8717
|
+
*/
|
|
8718
|
+
FlowId: number
|
|
8719
|
+
}
|
|
8720
|
+
|
|
8677
8721
|
/**
|
|
8678
8722
|
* DescribeUser请求参数结构体
|
|
8679
8723
|
*/
|
|
@@ -60,6 +60,7 @@ import {
|
|
|
60
60
|
ModifiableInfo,
|
|
61
61
|
DescribeFlowResponse,
|
|
62
62
|
SetRenewFlagResponse,
|
|
63
|
+
ExportInstanceErrorLogsRequest,
|
|
63
64
|
RevokeAccountPrivilegesResponse,
|
|
64
65
|
CreateClustersResponse,
|
|
65
66
|
SetRenewFlagRequest,
|
|
@@ -68,6 +69,7 @@ import {
|
|
|
68
69
|
ActivateInstanceRequest,
|
|
69
70
|
DatabaseTables,
|
|
70
71
|
AddClusterSlaveZoneRequest,
|
|
72
|
+
CynosdbErrorLogItem,
|
|
71
73
|
DescribeAccountAllGrantPrivilegesResponse,
|
|
72
74
|
RollbackDatabase,
|
|
73
75
|
ModifyVipVportRequest,
|
|
@@ -112,6 +114,7 @@ import {
|
|
|
112
114
|
SwitchClusterVpcRequest,
|
|
113
115
|
CynosdbInstance,
|
|
114
116
|
DescribeAuditRuleWithInstanceIdsRequest,
|
|
117
|
+
ExportInstanceErrorLogsResponse,
|
|
115
118
|
DbTable,
|
|
116
119
|
ModifyClusterSlaveZoneResponse,
|
|
117
120
|
GrantAccountPrivilegesRequest,
|
|
@@ -134,6 +137,7 @@ import {
|
|
|
134
137
|
ModifyClusterParamResponse,
|
|
135
138
|
SecurityGroup,
|
|
136
139
|
DescribeBackupDownloadUrlRequest,
|
|
140
|
+
SearchClusterDatabasesResponse,
|
|
137
141
|
RollbackTimeRange,
|
|
138
142
|
OfflineInstanceRequest,
|
|
139
143
|
OpenAuditServiceRequest,
|
|
@@ -152,6 +156,7 @@ import {
|
|
|
152
156
|
ResumeServerlessRequest,
|
|
153
157
|
InquirePriceCreateRequest,
|
|
154
158
|
CreateAuditRuleTemplateRequest,
|
|
159
|
+
GrantAccountPrivilegesResponse,
|
|
155
160
|
ModifyBackupConfigResponse,
|
|
156
161
|
DescribeInstanceSpecsRequest,
|
|
157
162
|
ExportInstanceSlowQueriesRequest,
|
|
@@ -193,7 +198,7 @@ import {
|
|
|
193
198
|
AddInstancesRequest,
|
|
194
199
|
InquirePriceCreateResponse,
|
|
195
200
|
ModifyClusterSlaveZoneRequest,
|
|
196
|
-
|
|
201
|
+
DescribeInstanceErrorLogsResponse,
|
|
197
202
|
ClusterParamModifyLog,
|
|
198
203
|
DescribeInstanceSlowQueriesRequest,
|
|
199
204
|
CynosdbInstanceDetail,
|
|
@@ -201,7 +206,7 @@ import {
|
|
|
201
206
|
ExportInstanceSlowQueriesResponse,
|
|
202
207
|
CynosdbClusterDetail,
|
|
203
208
|
ResetAccountPasswordRequest,
|
|
204
|
-
|
|
209
|
+
DescribeInstanceErrorLogsRequest,
|
|
205
210
|
DescribeInstanceDetailRequest,
|
|
206
211
|
ModifyMaintainPeriodConfigResponse,
|
|
207
212
|
OpenReadOnlyInstanceExclusiveAccessResponse,
|
|
@@ -219,6 +224,7 @@ import {
|
|
|
219
224
|
AuditLog,
|
|
220
225
|
DescribeInstanceSpecsResponse,
|
|
221
226
|
DescribeDBSecurityGroupsRequest,
|
|
227
|
+
ErrorLogItemExport,
|
|
222
228
|
DescribeAccountAllGrantPrivilegesRequest,
|
|
223
229
|
OfflineInstanceResponse,
|
|
224
230
|
ModifyAuditServiceResponse,
|
|
@@ -294,6 +300,16 @@ export class Client extends AbstractClient {
|
|
|
294
300
|
return this.request("RollBackCluster", req, cb)
|
|
295
301
|
}
|
|
296
302
|
|
|
303
|
+
/**
|
|
304
|
+
* 本接口(IsolateInstance)用于隔离实例。
|
|
305
|
+
*/
|
|
306
|
+
async IsolateInstance(
|
|
307
|
+
req: IsolateInstanceRequest,
|
|
308
|
+
cb?: (error: string, rep: IsolateInstanceResponse) => void
|
|
309
|
+
): Promise<IsolateInstanceResponse> {
|
|
310
|
+
return this.request("IsolateInstance", req, cb)
|
|
311
|
+
}
|
|
312
|
+
|
|
297
313
|
/**
|
|
298
314
|
* 查询项目安全组信息
|
|
299
315
|
*/
|
|
@@ -344,6 +360,16 @@ export class Client extends AbstractClient {
|
|
|
344
360
|
return this.request("DescribeParamTemplates", req, cb)
|
|
345
361
|
}
|
|
346
362
|
|
|
363
|
+
/**
|
|
364
|
+
* 本接口(SearchClusterTables)搜索集群数据表列表
|
|
365
|
+
*/
|
|
366
|
+
async SearchClusterTables(
|
|
367
|
+
req: SearchClusterTablesRequest,
|
|
368
|
+
cb?: (error: string, rep: SearchClusterTablesResponse) => void
|
|
369
|
+
): Promise<SearchClusterTablesResponse> {
|
|
370
|
+
return this.request("SearchClusterTables", req, cb)
|
|
371
|
+
}
|
|
372
|
+
|
|
347
373
|
/**
|
|
348
374
|
* 为集群删除手动备份,无法删除自动备份
|
|
349
375
|
*/
|
|
@@ -735,13 +761,13 @@ export class Client extends AbstractClient {
|
|
|
735
761
|
}
|
|
736
762
|
|
|
737
763
|
/**
|
|
738
|
-
*
|
|
764
|
+
* 此接口(ExportInstanceErrorLogs)用于导出实例错误日志。
|
|
739
765
|
*/
|
|
740
|
-
async
|
|
741
|
-
req:
|
|
742
|
-
cb?: (error: string, rep:
|
|
743
|
-
): Promise<
|
|
744
|
-
return this.request("
|
|
766
|
+
async ExportInstanceErrorLogs(
|
|
767
|
+
req: ExportInstanceErrorLogsRequest,
|
|
768
|
+
cb?: (error: string, rep: ExportInstanceErrorLogsResponse) => void
|
|
769
|
+
): Promise<ExportInstanceErrorLogsResponse> {
|
|
770
|
+
return this.request("ExportInstanceErrorLogs", req, cb)
|
|
745
771
|
}
|
|
746
772
|
|
|
747
773
|
/**
|
|
@@ -975,13 +1001,13 @@ export class Client extends AbstractClient {
|
|
|
975
1001
|
}
|
|
976
1002
|
|
|
977
1003
|
/**
|
|
978
|
-
*
|
|
1004
|
+
* 查询实例错误日志列表
|
|
979
1005
|
*/
|
|
980
|
-
async
|
|
981
|
-
req:
|
|
982
|
-
cb?: (error: string, rep:
|
|
983
|
-
): Promise<
|
|
984
|
-
return this.request("
|
|
1006
|
+
async DescribeInstanceErrorLogs(
|
|
1007
|
+
req: DescribeInstanceErrorLogsRequest,
|
|
1008
|
+
cb?: (error: string, rep: DescribeInstanceErrorLogsResponse) => void
|
|
1009
|
+
): Promise<DescribeInstanceErrorLogsResponse> {
|
|
1010
|
+
return this.request("DescribeInstanceErrorLogs", req, cb)
|
|
985
1011
|
}
|
|
986
1012
|
|
|
987
1013
|
/**
|