tencentcloud-sdk-nodejs 4.0.918 → 4.0.919

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +241 -0
  2. package/SERVICE_CHANGELOG.md +314 -64
  3. package/package.json +1 -1
  4. package/products.md +17 -17
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +8 -2
  7. package/src/services/asr/v20190614/asr_models.ts +2 -0
  8. package/src/services/ccc/v20200210/ccc_models.ts +4 -0
  9. package/src/services/cfg/v20210820/cfg_models.ts +5 -0
  10. package/src/services/cls/v20201016/cls_client.ts +5 -5
  11. package/src/services/cls/v20201016/cls_models.ts +71 -10
  12. package/src/services/cwp/v20180228/cwp_models.ts +24 -10
  13. package/src/services/facefusion/v20181201/facefusion_models.ts +9 -3
  14. package/src/services/facefusion/v20220927/facefusion_models.ts +19 -7
  15. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +5 -5
  16. package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -0
  17. package/src/services/mps/v20190612/mps_models.ts +32 -5
  18. package/src/services/ms/v20180408/ms_client.ts +42 -88
  19. package/src/services/ocr/v20181119/ocr_client.ts +950 -925
  20. package/src/services/ocr/v20181119/ocr_models.ts +386 -290
  21. package/src/services/tdmq/v20200217/tdmq_models.ts +15 -6
  22. package/src/services/tmt/v20180321/tmt_models.ts +1 -1
  23. package/src/services/vpc/v20170312/vpc_models.ts +40 -0
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +7 -1
  27. package/tencentcloud/services/asr/v20190614/asr_client.js +7 -1
  28. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -0
  29. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  30. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +5 -0
  31. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -5
  32. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  33. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +71 -10
  34. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +24 -10
  35. package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +9 -3
  36. package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +19 -7
  37. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -5
  38. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -0
  39. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +32 -5
  40. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +23 -69
  41. package/tencentcloud/services/ms/v20180408/ms_client.js +23 -69
  42. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +497 -489
  43. package/tencentcloud/services/ocr/v20181119/ocr_client.js +599 -587
  44. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +387 -296
  45. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +15 -6
  46. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +1 -1
  47. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +40 -0
  48. package/test/ocr.v20181119.test.js +184 -164
package/products.md CHANGED
@@ -17,7 +17,7 @@
17
17
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-06-17 01:08:48 |
18
18
  | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-07-31 01:04:59 |
19
19
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-08-13 01:05:49 |
20
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-07-16 01:08:08 |
20
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-08-16 01:06:08 |
21
21
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
22
22
  | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-06-25 01:07:59 |
@@ -39,7 +39,7 @@
39
39
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-08-01 01:15:22 |
42
- | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-25 01:15:18 |
42
+ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-08-16 01:11:55 |
43
43
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-08-02 01:11:12 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 |
@@ -48,7 +48,7 @@
48
48
  | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-01 01:19:02 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
50
50
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
51
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-26 14:53:06 |
51
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-08-16 01:16:30 |
52
52
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-08-05 01:14:34 |
53
53
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-30 01:19:22 |
54
54
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
@@ -62,7 +62,7 @@
62
62
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
63
63
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
64
64
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
65
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-08-12 01:23:51 |
65
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-08-16 01:20:46 |
66
66
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-07-29 01:23:21 |
67
67
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-06-21 01:24:31 |
68
68
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 |
@@ -72,7 +72,7 @@
72
72
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-08-02 01:20:09 |
73
73
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
74
74
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-08-07 01:23:06 |
75
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-08-13 01:26:39 |
75
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-08-16 01:24:30 |
76
76
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
77
77
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-08-09 01:26:13 |
78
78
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
@@ -98,9 +98,9 @@
98
98
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
99
99
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-08-12 01:41:17 |
100
100
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-08-14 01:44:38 |
101
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-15 01:41:24 |
101
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-16 01:41:26 |
102
102
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-15 01:42:34 |
103
- | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-07-16 01:16:45 |
103
+ | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-08-16 01:43:31 |
104
104
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-14 01:47:53 |
105
105
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
106
106
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
@@ -125,7 +125,7 @@
125
125
  | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-08-13 01:52:20 |
126
126
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
127
127
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
128
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-08-15 01:48:42 |
128
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-08-16 01:48:38 |
129
129
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
130
130
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-07-08 01:16:48 |
131
131
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
@@ -135,7 +135,7 @@
135
135
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
136
136
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
137
137
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-08-01 01:53:15 |
138
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-26 01:52:51 |
138
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-08-16 01:55:21 |
139
139
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-08-14 02:01:47 |
140
140
  | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-08-09 01:52:09 |
141
141
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
@@ -149,17 +149,17 @@
149
149
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-15 02:00:04 |
150
150
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-14 02:06:02 |
151
151
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-08-05 01:52:14 |
152
- | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-08-02 01:54:19 |
152
+ | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-08-16 02:02:11 |
153
153
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 |
154
- | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-08-14 02:10:26 |
154
+ | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-08-16 02:04:04 |
155
155
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
156
156
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
157
157
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
158
158
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
159
159
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
160
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-14 02:11:42 |
160
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-16 02:05:12 |
161
161
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
162
- | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-14 02:13:26 |
162
+ | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-16 02:06:49 |
163
163
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
164
164
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
165
165
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-08-15 02:08:21 |
@@ -181,7 +181,7 @@
181
181
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
182
182
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-12 02:10:23 |
183
183
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
184
- | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-08-08 02:09:39 |
184
+ | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-08-16 02:14:20 |
185
185
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
186
186
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
187
187
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-03-20 01:24:08 |
@@ -205,7 +205,7 @@
205
205
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-08-09 02:10:59 |
206
206
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
207
207
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
208
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-17 01:25:48 |
208
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-08-16 02:22:44 |
209
209
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 |
210
210
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 |
211
211
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-08-15 02:25:29 |
@@ -221,7 +221,7 @@
221
221
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-07-24 02:19:34 |
222
222
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
223
223
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-04-29 01:26:41 |
224
- | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-08-02 02:17:43 |
224
+ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-08-16 02:29:34 |
225
225
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
226
226
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
227
227
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-08-14 02:39:09 |
@@ -240,7 +240,7 @@
240
240
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
241
241
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
242
242
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-12 02:30:46 |
243
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-13 02:46:47 |
243
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-16 02:37:46 |
244
244
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-08-07 02:38:54 |
245
245
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-07-31 02:26:05 |
246
246
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-08-09 02:30:19 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.918"
1
+ export const sdkVersion = "4.0.919"
@@ -227,8 +227,14 @@ export class Client extends AbstractClient {
227
227
  }
228
228
 
229
229
  /**
230
- * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<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)。
231
- */
230
+ * 本接口用于对60秒之内的短音频文件进行识别。
231
+ 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
232
+ • 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
233
+ • 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
234
+ • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
235
+ • 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
236
+ • 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
237
+ */
232
238
  async SentenceRecognition(
233
239
  req: SentenceRecognitionRequest,
234
240
  cb?: (error: string, rep: SentenceRecognitionResponse) => void
@@ -339,6 +339,8 @@ export interface SentenceRecognitionRequest {
339
339
  SubServiceType?: number
340
340
  /**
341
341
  * 语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
342
+
343
+ 注意:推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
342
344
  */
343
345
  Url?: string
344
346
  /**
@@ -240,6 +240,10 @@ export interface ModifyStaffRequest {
240
240
  * 座席昵称
241
241
  */
242
242
  Nick?: string
243
+ /**
244
+ * 座席工号
245
+ */
246
+ StaffNo?: string
243
247
  /**
244
248
  * 绑定技能组ID列表
245
249
  */
@@ -493,6 +493,11 @@ export interface TemplateGroupAction {
493
493
  注意:此字段可能返回 null,表示取不到有效值。
494
494
  */
495
495
  ActionType?: string
496
+ /**
497
+ * 动作风险等级,1:低风险 2:中风险 3:高风险
498
+ 注意:此字段可能返回 null,表示取不到有效值。
499
+ */
500
+ ActionRisk?: string
496
501
  }
497
502
 
498
503
  /**
@@ -736,7 +736,7 @@ export class Client extends AbstractClient {
736
736
  * 此接口用于修改仪表盘订阅
737
737
  */
738
738
  async ModifyDashboardSubscribe(
739
- req?: ModifyDashboardSubscribeRequest,
739
+ req: ModifyDashboardSubscribeRequest,
740
740
  cb?: (error: string, rep: ModifyDashboardSubscribeResponse) => void
741
741
  ): Promise<ModifyDashboardSubscribeResponse> {
742
742
  return this.request("ModifyDashboardSubscribe", req, cb)
@@ -886,7 +886,7 @@ export class Client extends AbstractClient {
886
886
  * 此接口用于创建仪表盘订阅
887
887
  */
888
888
  async CreateDashboardSubscribe(
889
- req?: CreateDashboardSubscribeRequest,
889
+ req: CreateDashboardSubscribeRequest,
890
890
  cb?: (error: string, rep: CreateDashboardSubscribeResponse) => void
891
891
  ): Promise<CreateDashboardSubscribeResponse> {
892
892
  return this.request("CreateDashboardSubscribe", req, cb)
@@ -926,7 +926,7 @@ export class Client extends AbstractClient {
926
926
  * 此接口用于删除仪表盘订阅
927
927
  */
928
928
  async DeleteDashboardSubscribe(
929
- req?: DeleteDashboardSubscribeRequest,
929
+ req: DeleteDashboardSubscribeRequest,
930
930
  cb?: (error: string, rep: DeleteDashboardSubscribeResponse) => void
931
931
  ): Promise<DeleteDashboardSubscribeResponse> {
932
932
  return this.request("DeleteDashboardSubscribe", req, cb)
@@ -1106,10 +1106,10 @@ export class Client extends AbstractClient {
1106
1106
  }
1107
1107
 
1108
1108
  /**
1109
- * 本接口用于获取仪表盘订阅列表,支持分页
1109
+ * 本接口用于获取仪表盘订阅列表,支持分页
1110
1110
  */
1111
1111
  async DescribeDashboardSubscribes(
1112
- req?: DescribeDashboardSubscribesRequest,
1112
+ req: DescribeDashboardSubscribesRequest,
1113
1113
  cb?: (error: string, rep: DescribeDashboardSubscribesResponse) => void
1114
1114
  ): Promise<DescribeDashboardSubscribesResponse> {
1115
1115
  return this.request("DescribeDashboardSubscribes", req, cb)
@@ -633,31 +633,36 @@ export interface ConsoleSharingConfig {
633
633
  */
634
634
  VerifyCode?: string
635
635
  /**
636
- * 开始时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
636
+ * 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
637
637
  */
638
638
  StartTime?: string
639
639
  /**
640
- * 结束时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
640
+ * 默认查询范围的结束时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式。注意,结束时间点要大于开始时间点
641
641
  */
642
642
  EndTime?: string
643
643
  /**
644
- * StartTime/EndTime为相对时间时,基于NowTime计算绝对时间,默认为创建时间
644
+ * 仅当StartTime/EndTime为相对时间时使用,基于NowTime计算绝对时间,默认为创建时间
645
645
  注意:此字段可能返回 null,表示取不到有效值。
646
646
  */
647
647
  NowTime?: number
648
648
  /**
649
- * params参数列表,当Type为2时支持
649
+ * 默认的检索分析语句,仅当Type为2时使用
650
650
  注意:此字段可能返回 null,表示取不到有效值。
651
651
  */
652
652
  Params?: Array<ConsoleSharingParam>
653
653
  /**
654
- * 是否允许访问者自行修改检索分析时间范围,默认不锁定
654
+ * 是否允许访问者自行修改检索分析时间范围。默认不锁定(false)
655
655
  */
656
656
  IsLockTimeRange?: boolean
657
657
  /**
658
- * 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态
658
+ * 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态。默认不锁定(false)
659
659
  */
660
660
  IsLockQuery?: boolean
661
+ /**
662
+ * 检索页分享是否允许访问者下载日志,默认不允许(false)
663
+ 注意:此字段可能返回 null,表示取不到有效值。
664
+ */
665
+ IsSupportLogExport?: boolean
661
666
  }
662
667
 
663
668
  /**
@@ -2146,7 +2151,28 @@ export interface DeleteConfigFromMachineGroupResponse {
2146
2151
  /**
2147
2152
  * ModifyDashboardSubscribe请求参数结构体
2148
2153
  */
2149
- export type ModifyDashboardSubscribeRequest = null
2154
+ export interface ModifyDashboardSubscribeRequest {
2155
+ /**
2156
+ * 仪表盘订阅id。
2157
+ */
2158
+ Id: number
2159
+ /**
2160
+ * 仪表盘id。
2161
+ */
2162
+ DashboardId?: string
2163
+ /**
2164
+ * 仪表盘订阅名称。
2165
+ */
2166
+ Name?: string
2167
+ /**
2168
+ * 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。
2169
+ */
2170
+ Cron?: string
2171
+ /**
2172
+ * 仪表盘订阅数据。
2173
+ */
2174
+ SubscribeData?: DashboardSubscribeData
2175
+ }
2150
2176
 
2151
2177
  /**
2152
2178
  * CreateConsumer返回参数结构体
@@ -2213,7 +2239,24 @@ export interface DataTransformResouceInfo {
2213
2239
  /**
2214
2240
  * CreateDashboardSubscribe请求参数结构体
2215
2241
  */
2216
- export type CreateDashboardSubscribeRequest = null
2242
+ export interface CreateDashboardSubscribeRequest {
2243
+ /**
2244
+ * 仪表盘订阅名称。
2245
+ */
2246
+ Name: string
2247
+ /**
2248
+ * 仪表盘id。
2249
+ */
2250
+ DashboardId: string
2251
+ /**
2252
+ * 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。<br><li/>{秒数} 取值范围: 0 ~ 59 <br><li/>{分钟} 取值范围: 0 ~ 59 <br><li/>{小时} 取值范围: 0 ~ 23 <br><li/>{日期} 取值范围: 1 ~ 31 AND (dayOfMonth最后一天: L) <br><li/>{月份} 取值范围: 1 ~ 12 <br><li/>{星期} 取值范围: 0 ~ 6 【0:星期日, 6星期六】
2253
+ */
2254
+ Cron: string
2255
+ /**
2256
+ * 仪表盘订阅数据。
2257
+ */
2258
+ SubscribeData: DashboardSubscribeData
2259
+ }
2217
2260
 
2218
2261
  /**
2219
2262
  * DeleteMachineGroup请求参数结构体
@@ -2681,7 +2724,20 @@ export interface DeleteExportResponse {
2681
2724
  /**
2682
2725
  * DescribeDashboardSubscribes请求参数结构体
2683
2726
  */
2684
- export type DescribeDashboardSubscribesRequest = null
2727
+ export interface DescribeDashboardSubscribesRequest {
2728
+ /**
2729
+ * <br><li/> dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否<br><br><li/> 每次请求的Filters的上限为10,Filter.Values的上限为100。
2730
+ */
2731
+ Filters?: Array<Filter>
2732
+ /**
2733
+ * 分页的偏移量,默认值为0。
2734
+ */
2735
+ Offset?: number
2736
+ /**
2737
+ * 分页单页限制数目,默认值为20,最大值100。
2738
+ */
2739
+ Limit?: number
2740
+ }
2685
2741
 
2686
2742
  /**
2687
2743
  * 多日志主题检索topic信息
@@ -6389,7 +6445,12 @@ export interface ModifyMachineGroupRequest {
6389
6445
  /**
6390
6446
  * DeleteDashboardSubscribe请求参数结构体
6391
6447
  */
6392
- export type DeleteDashboardSubscribeRequest = null
6448
+ export interface DeleteDashboardSubscribeRequest {
6449
+ /**
6450
+ * 仪表盘订阅记录id。
6451
+ */
6452
+ Id: number
6453
+ }
6393
6454
 
6394
6455
  /**
6395
6456
  * DescribeConsumer返回参数结构体
@@ -8974,22 +8974,27 @@ export interface CanFixVulInfo {
8974
8974
  * 漏洞id
8975
8975
  注意:此字段可能返回 null,表示取不到有效值。
8976
8976
  */
8977
- VulId: number
8977
+ VulId?: number
8978
8978
  /**
8979
8979
  * 漏洞名称
8980
8980
  注意:此字段可能返回 null,表示取不到有效值。
8981
8981
  */
8982
- VulName: string
8982
+ VulName?: string
8983
8983
  /**
8984
8984
  * 该漏洞可修复的主机信息
8985
8985
  注意:此字段可能返回 null,表示取不到有效值。
8986
8986
  */
8987
- HostList: Array<VulInfoHostInfo>
8987
+ HostList?: Array<VulInfoHostInfo>
8988
8988
  /**
8989
8989
  * 修复提示tag
8990
8990
  注意:此字段可能返回 null,表示取不到有效值。
8991
8991
  */
8992
- FixTag: Array<string>
8992
+ FixTag?: Array<string>
8993
+ /**
8994
+ * 漏洞分类1 web cms漏洞,2应用漏洞,4linux软件漏洞,5windows系统漏洞
8995
+ 注意:此字段可能返回 null,表示取不到有效值。
8996
+ */
8997
+ VulCategory?: number
8993
8998
  }
8994
8999
 
8995
9000
  /**
@@ -11592,6 +11597,10 @@ export interface CreateVulFixTaskQuuids {
11592
11597
  * 需要修复漏洞的主机,所有主机必须有VulId的这个漏洞且是待修复状态。
11593
11598
  */
11594
11599
  Quuids: Array<string>
11600
+ /**
11601
+ * 修复方式 0组件更新或者安装补丁,1禁用服务
11602
+ */
11603
+ FixMethod?: number
11595
11604
  }
11596
11605
 
11597
11606
  /**
@@ -16900,31 +16909,36 @@ export interface VulFixStatusInfo {
16900
16909
  * 漏洞id
16901
16910
  注意:此字段可能返回 null,表示取不到有效值。
16902
16911
  */
16903
- VulId: number
16912
+ VulId?: number
16904
16913
  /**
16905
16914
  * 漏洞名称
16906
16915
  注意:此字段可能返回 null,表示取不到有效值。
16907
16916
  */
16908
- VulName: string
16917
+ VulName?: string
16909
16918
  /**
16910
16919
  * 漏洞修复进度 1-100;
16911
16920
  */
16912
- Progress: number
16921
+ Progress?: number
16913
16922
  /**
16914
16923
  * 漏洞对应主机修复状态
16915
16924
  注意:此字段可能返回 null,表示取不到有效值。
16916
16925
  */
16917
- HostList: Array<VulFixStatusHostInfo>
16926
+ HostList?: Array<VulFixStatusHostInfo>
16918
16927
  /**
16919
16928
  * 漏洞修复失败主机数量
16920
16929
  注意:此字段可能返回 null,表示取不到有效值。
16921
16930
  */
16922
- FailCnt: number
16931
+ FailCnt?: number
16923
16932
  /**
16924
16933
  * 修复成功的数量
16925
16934
  注意:此字段可能返回 null,表示取不到有效值。
16926
16935
  */
16927
- FixSuccessCnt: number
16936
+ FixSuccessCnt?: number
16937
+ /**
16938
+ * 修复方式 0组件更新或者安装补丁,1禁用服务
16939
+ 注意:此字段可能返回 null,表示取不到有效值。
16940
+ */
16941
+ FixMethod?: number
16928
16942
  }
16929
16943
 
16930
16944
  /**
@@ -178,15 +178,21 @@ export interface FaceInfo {
178
178
  export interface MergeInfo {
179
179
  /**
180
180
  * 输入图片base64。
181
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
182
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
183
+ ●支持图片格式:支持jpg或png。
181
184
  */
182
185
  Image?: string
183
186
  /**
184
187
  * 输入图片url。
185
- Url、Image必须提供一个,如果都提供,只使用 Url。
188
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
189
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
190
+ ●支持图片格式:支持jpg或png。
186
191
  */
187
192
  Url?: string
188
193
  /**
189
194
  * 输入图片人脸位置信息(人脸框)。不填默认取输入图中最大人脸。
195
+ Width、Height >= 30。
190
196
  */
191
197
  InputImageFaceRect?: FaceRect
192
198
  /**
@@ -382,11 +388,11 @@ export interface DescribeMaterialListRequest {
382
388
  */
383
389
  export interface MetaData {
384
390
  /**
385
- * MetaData的Key
391
+ * MetaData的Key,长度不能超过32。
386
392
  */
387
393
  MetaKey: string
388
394
  /**
389
- * MetaData的Value
395
+ * MetaData的Value,长度不能超过256。
390
396
  */
391
397
  MetaValue: string
392
398
  }
@@ -190,7 +190,7 @@ export interface FuseParam {
190
190
  */
191
191
  export interface ImageCodecParam {
192
192
  /**
193
- * 元数据
193
+ * 元数据,个数不能大于1。
194
194
  */
195
195
  MetaData?: Array<MetaData>
196
196
  }
@@ -238,15 +238,22 @@ export interface FusionUltraParam {
238
238
  */
239
239
  export interface MergeInfo {
240
240
  /**
241
- * 输入图片base64
241
+ * 输入图片base64
242
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
243
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
244
+ ●支持图片格式:支持jpg或png
242
245
  */
243
246
  Image?: string
244
247
  /**
245
- * 输入图片url
248
+ * 输入图片url
249
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
250
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
251
+ ●支持图片格式:支持jpg或png
246
252
  */
247
253
  Url?: string
248
254
  /**
249
255
  * 上传的图片人脸位置信息(人脸框)
256
+ Width、Height >= 30。
250
257
  */
251
258
  InputImageFaceRect?: FaceRect
252
259
  /**
@@ -255,6 +262,7 @@ export interface MergeInfo {
255
262
  TemplateFaceID?: string
256
263
  /**
257
264
  * 模板中人脸位置信息(人脸框),不填默认取最大人脸。此字段仅适用于图片融合自定义模板素材场景。
265
+ Width、Height >= 30。
258
266
  */
259
267
  TemplateFaceRect?: FaceRect
260
268
  }
@@ -278,7 +286,7 @@ export interface FuseFaceUltraResponse {
278
286
  */
279
287
  export interface FuseFaceResponse {
280
288
  /**
281
- * RspImgType 为 url 时,返回结果的 url RspImgType 为 base64 时返回 base64 数据。
289
+ * RspImgType 为 url 时,返回结果的 url(有效期7天), RspImgType 为 base64 时返回 base64 数据。
282
290
  */
283
291
  FusedImage?: string
284
292
  /**
@@ -304,7 +312,7 @@ export interface FuseFaceRequest {
304
312
  */
305
313
  RspImgType: string
306
314
  /**
307
- * 用户人脸图片、素材模板图的人脸位置信息。
315
+ * 用户人脸图片、素材模板图的人脸位置信息。不能超过6个。
308
316
  */
309
317
  MergeInfos: Array<MergeInfo>
310
318
  /**
@@ -399,15 +407,19 @@ export interface DescribeMaterialListRequest {
399
407
  */
400
408
  export interface LogoParam {
401
409
  /**
402
- * 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
410
+ * 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配。
403
411
  */
404
412
  LogoRect: FaceRect
405
413
  /**
406
- * 标识图片Url地址
414
+ * 标识图片Url地址。
415
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
416
+ ●支持图片格式:支持jpg或png。
407
417
  */
408
418
  LogoUrl?: string
409
419
  /**
410
420
  * 标识图片base64
421
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
422
+ ●支持图片格式:支持jpg或png。
411
423
  */
412
424
  LogoImage?: string
413
425
  }
@@ -3250,7 +3250,6 @@ export interface DescribeCloudStorageAIServiceResponse {
3250
3250
  - `1`:全时套餐
3251
3251
  - `2`:事件套餐
3252
3252
  - `3`:低功耗套餐
3253
- 注意:此字段可能返回 null,表示取不到有效值。
3254
3253
  */
3255
3254
  Type?: number
3256
3255
  /**
@@ -3258,17 +3257,14 @@ export interface DescribeCloudStorageAIServiceResponse {
3258
3257
 
3259
3258
  - `0`:未开通或已过期
3260
3259
  - `1`:生效中
3261
- 注意:此字段可能返回 null,表示取不到有效值。
3262
3260
  */
3263
3261
  Status?: number
3264
3262
  /**
3265
3263
  * 云存 AI 套餐过期时间 UNIX 时间戳
3266
- 注意:此字段可能返回 null,表示取不到有效值。
3267
3264
  */
3268
3265
  ExpireTime?: number
3269
3266
  /**
3270
3267
  * 用户 ID
3271
- 注意:此字段可能返回 null,表示取不到有效值。
3272
3268
  */
3273
3269
  UserId?: string
3274
3270
  /**
@@ -5904,7 +5900,7 @@ export interface CloudStorageAIServiceTask {
5904
5900
  /**
5905
5901
  * 云存 AI 服务类型。可能取值:
5906
5902
 
5907
- - `PackageDetect`:包裹检测
5903
+ - `RealtimeObjectDetect`:目标检测
5908
5904
  - `Highlight`:视频浓缩
5909
5905
  */
5910
5906
  ServiceType?: string
@@ -5936,6 +5932,10 @@ export interface CloudStorageAIServiceTask {
5936
5932
  * 最后更新时间
5937
5933
  */
5938
5934
  UpdateTime?: number
5935
+ /**
5936
+ * 自定义任务 ID
5937
+ */
5938
+ CustomId?: string
5939
5939
  }
5940
5940
 
5941
5941
  /**
@@ -3469,6 +3469,18 @@ export interface DescribeInstancesRequest {
3469
3469
  * 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
3470
3470
  */
3471
3471
  Limit?: number
3472
+ /**
3473
+ * 指定排序字段 。取值范围: "EXPIRED_TIME":依据实例的到期时间排序。
3474
+ 不传入此字段时, 优先返回实例状态为“待回收”的实例, 其余实例以“创建时间”倒序返回。
3475
+ */
3476
+ OrderField?: string
3477
+ /**
3478
+ * 输出实例列表的排列顺序。取值范围:
3479
+ "ASC":升序排列。
3480
+ "DESC":降序排列。
3481
+ 默认按升序排序。当传入该字段时,必须指定OrderField。
3482
+ */
3483
+ Order?: string
3472
3484
  }
3473
3485
 
3474
3486
  /**