tencentcloud-sdk-nodejs 4.0.740 → 4.0.742
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 +220 -0
- package/SERVICE_CHANGELOG.md +240 -240
- package/package.json +1 -1
- package/products.md +15 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/billing/v20180709/billing_models.ts +4 -0
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +6 -2
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/es/v20180416/es_models.ts +41 -9
- package/src/services/ess/v20201111/ess_models.ts +20 -4
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +20 -4
- package/src/services/hunyuan/index.ts +5 -0
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +72 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +255 -0
- package/src/services/hunyuan/v20230901/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/organization/index.ts +2 -2
- package/src/services/tbaas/v20180416/tbaas_models.ts +12 -2
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tcr/v20190924/tcr_client.ts +16 -8
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/index.ts +2 -2
- package/src/services/teo/v20220901/teo_models.ts +4 -5
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/tse/v20201207/tse_client.ts +42 -2
- package/src/services/tse/v20201207/tse_models.ts +205 -10
- package/src/services/vm/index.ts +2 -2
- package/src/services/wedata/v20210820/wedata_client.ts +21 -7
- package/src/services/wedata/v20210820/wedata_models.ts +115 -6
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -0
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -2
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/es/v20180416/es_models.d.ts +41 -9
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +20 -4
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +20 -4
- package/tencentcloud/services/hunyuan/index.d.ts +6 -0
- package/tencentcloud/services/hunyuan/index.js +7 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +22 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +49 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +228 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.js +18 -0
- package/tencentcloud/services/hunyuan/v20230901/index.d.ts +6 -0
- package/tencentcloud/services/hunyuan/v20230901/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +12 -2
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +12 -4
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +12 -4
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -5
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +13 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +18 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +195 -10
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +7 -3
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +9 -3
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +111 -6
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/hunyuan.v20230901.test.js +51 -0
- package/test/tse.v20201207.test.js +30 -0
- package/test/wedata.v20210820.test.js +12 -2
package/products.md
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-10-27 01:11:09 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-10-11 01:10:01 |
|
|
25
25
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-10-20 01:06:54 |
|
|
26
|
-
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-11-
|
|
26
|
+
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-11-22 16:06:06 |
|
|
27
27
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
28
28
|
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-10-18 01:14:30 |
|
|
29
29
|
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-08-31 01:07:17 |
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2023-08-17 01:22:35 |
|
|
35
35
|
| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2023-10-24 01:07:40 |
|
|
36
36
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-05-18 01:06:44 |
|
|
37
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-
|
|
37
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-11-23 01:07:49 |
|
|
38
38
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2023-11-07 01:13:48 |
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-11-08 01:13:35 |
|
|
40
40
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-10-25 01:08:41 |
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
69
69
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-11-17 01:10:47 |
|
|
70
70
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
71
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-11-
|
|
71
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-11-23 01:14:32 |
|
|
72
72
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-11-21 01:12:55 |
|
|
73
73
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
74
74
|
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-11-21 01:14:05 |
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
|
95
95
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
96
96
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-10-16 01:15:50 |
|
|
97
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-
|
|
98
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-11-
|
|
99
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-11-
|
|
97
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-11-23 01:18:36 |
|
|
98
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-11-23 01:18:49 |
|
|
99
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-11-23 01:19:06 |
|
|
100
100
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
|
101
101
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-11-14 01:16:39 |
|
|
102
102
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
@@ -108,9 +108,10 @@
|
|
|
108
108
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-18 01:29:42 |
|
|
109
109
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
|
110
110
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
111
|
-
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2023-11-
|
|
111
|
+
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2023-11-23 01:19:50 |
|
|
112
112
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
113
113
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-11-01 01:14:52 |
|
|
114
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2023-11-23 11:16:03 |
|
|
114
115
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-10-24 01:16:21 |
|
|
115
116
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
116
117
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2023-05-18 01:30:40 |
|
|
@@ -184,7 +185,7 @@
|
|
|
184
185
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
|
185
186
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-10-25 01:24:40 |
|
|
186
187
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
187
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-11-
|
|
188
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-11-23 01:26:18 |
|
|
188
189
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
189
190
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-08-17 04:48:55 |
|
|
190
191
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-09-25 01:25:42 |
|
|
@@ -194,14 +195,14 @@
|
|
|
194
195
|
| tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2023-11-21 01:32:54 |
|
|
195
196
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
196
197
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-10-09 01:23:14 |
|
|
197
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-
|
|
198
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-11-23 01:27:00 |
|
|
198
199
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-11-21 01:33:13 |
|
|
199
200
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
|
200
201
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
|
201
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-11-
|
|
202
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-11-23 01:28:12 |
|
|
202
203
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
|
|
203
204
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
204
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-11-
|
|
205
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-11-23 01:28:43 |
|
|
205
206
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-06 00:21:33 |
|
|
206
207
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
207
208
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -221,7 +222,7 @@
|
|
|
221
222
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-10-26 14:46:10 |
|
|
222
223
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
223
224
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-11-16 01:34:14 |
|
|
224
|
-
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-11-
|
|
225
|
+
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-11-23 01:30:34 |
|
|
225
226
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-11-09 01:27:51 |
|
|
226
227
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
227
228
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-09-19 01:29:02 |
|
|
@@ -229,11 +230,11 @@
|
|
|
229
230
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-11-15 02:36:58 |
|
|
230
231
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
|
|
231
232
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-11-22 07:26:03 |
|
|
232
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-11-
|
|
233
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-11-23 01:32:13 |
|
|
233
234
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-11-21 01:41:45 |
|
|
234
235
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-11-22 08:16:17 |
|
|
235
236
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-11-15 02:42:49 |
|
|
236
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-11-
|
|
237
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-11-23 01:33:33 |
|
|
237
238
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-11-21 01:44:19 |
|
|
238
239
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
239
240
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-08-10 01:50:27 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.742"
|
|
@@ -1132,6 +1132,7 @@ https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F
|
|
|
1132
1132
|
* 修改密钥对ID所指定的密钥对的名称和描述信息。
|
|
1133
1133
|
* 密钥对名称不能和已经存在的密钥对的名称重复。
|
|
1134
1134
|
* 密钥对ID是密钥对的唯一标识,不可修改。
|
|
1135
|
+
* 密钥对名称和描述信息必须指定其中之一,也支持同时指定。
|
|
1135
1136
|
*/
|
|
1136
1137
|
async ModifyKeyPairAttribute(
|
|
1137
1138
|
req: ModifyKeyPairAttributeRequest,
|
|
@@ -1726,6 +1726,10 @@ export interface ModifyInstancesAttributeRequest {
|
|
|
1726
1726
|
<dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
|
1727
1727
|
*/
|
|
1728
1728
|
InstanceName?: string
|
|
1729
|
+
/**
|
|
1730
|
+
* 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16 KB。关于获取此参数的详细介绍,请参阅 [Windows](https://cloud.tencent.com/document/product/213/17526) 和 [Linux](https://cloud.tencent.com/document/product/213/17525) 启动时运行命令。
|
|
1731
|
+
*/
|
|
1732
|
+
UserData?: string
|
|
1729
1733
|
/**
|
|
1730
1734
|
* 指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。<dx-alert infotype="explain" title="">必须指定SecurityGroups与InstanceName的其中一个,但不能同时设置</dx-alert>
|
|
1731
1735
|
*/
|
|
@@ -1735,11 +1739,11 @@ export interface ModifyInstancesAttributeRequest {
|
|
|
1735
1739
|
*/
|
|
1736
1740
|
CamRoleName?: string
|
|
1737
1741
|
/**
|
|
1738
|
-
* 修改后实例的主机名。<
|
|
1742
|
+
* 修改后实例的主机名。<li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><li>Windows 实例:主机名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><li>其他类型(Linux 等)实例:主机名字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>注意点:修改主机名后实例会立即重启,重启后新的主机名生效。
|
|
1739
1743
|
*/
|
|
1740
1744
|
HostName?: string
|
|
1741
1745
|
/**
|
|
1742
|
-
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<
|
|
1746
|
+
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<li>true:表示开启实例保护,不允许通过api接口删除实例</li><li>false:表示关闭实例保护,允许通过api接口删除实例</li>默认取值:false。
|
|
1743
1747
|
*/
|
|
1744
1748
|
DisableApiTermination?: boolean
|
|
1745
1749
|
/**
|
|
@@ -2371,7 +2371,7 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
2371
2371
|
*/
|
|
2372
2372
|
MultiZoneInfo?: Array<ZoneDetail>
|
|
2373
2373
|
/**
|
|
2374
|
-
* 部署模式<li>0:单可用区</li><li>1
|
|
2374
|
+
* 部署模式<li>0:单可用区</li><li>1:多可用区,北京、上海、上海金融、广州、南京、香港、新加坡、法兰克福(白名单控制)</li>
|
|
2375
2375
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2376
2376
|
*/
|
|
2377
2377
|
DeployMode?: number
|
|
@@ -2545,7 +2545,7 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
2545
2545
|
*/
|
|
2546
2546
|
ProcessPercent?: number
|
|
2547
2547
|
/**
|
|
2548
|
-
* Kibana的
|
|
2548
|
+
* Kibana的alerting外网告警策略<li>OPEN:开启</li><li>CLOSE:关闭
|
|
2549
2549
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2550
2550
|
*/
|
|
2551
2551
|
KibanaAlteringPublicAccess?: string
|
|
@@ -2559,6 +2559,16 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
2559
2559
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2560
2560
|
*/
|
|
2561
2561
|
CdcId?: string
|
|
2562
|
+
/**
|
|
2563
|
+
* kibana内网vip
|
|
2564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2565
|
+
*/
|
|
2566
|
+
KibanaPrivateVip?: string
|
|
2567
|
+
/**
|
|
2568
|
+
* 自定义kibana内网url
|
|
2569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2570
|
+
*/
|
|
2571
|
+
CustomKibanaPrivateUrl?: string
|
|
2562
2572
|
}
|
|
2563
2573
|
|
|
2564
2574
|
/**
|
|
@@ -3419,6 +3429,14 @@ OPEN 开启
|
|
|
3419
3429
|
CLOSE 关闭
|
|
3420
3430
|
*/
|
|
3421
3431
|
KibanaAlteringPublicAccess?: string
|
|
3432
|
+
/**
|
|
3433
|
+
* kibana内网自定义域名
|
|
3434
|
+
*/
|
|
3435
|
+
KibanaPrivateDomain?: string
|
|
3436
|
+
/**
|
|
3437
|
+
* cerebro内网自定义域名
|
|
3438
|
+
*/
|
|
3439
|
+
CerebroPrivateDomain?: string
|
|
3422
3440
|
}
|
|
3423
3441
|
|
|
3424
3442
|
/**
|
|
@@ -3516,6 +3534,10 @@ export interface RestartInstanceRequest {
|
|
|
3516
3534
|
* 重启模式:0 滚动重启; 1 全量重启
|
|
3517
3535
|
*/
|
|
3518
3536
|
RestartMode?: number
|
|
3537
|
+
/**
|
|
3538
|
+
* 重启时选择是否升级内核patch版本
|
|
3539
|
+
*/
|
|
3540
|
+
UpgradeKernel?: boolean
|
|
3519
3541
|
}
|
|
3520
3542
|
|
|
3521
3543
|
/**
|
|
@@ -3737,35 +3759,45 @@ export interface OptionalWebServiceInfo {
|
|
|
3737
3759
|
* 类型
|
|
3738
3760
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3739
3761
|
*/
|
|
3740
|
-
Type
|
|
3762
|
+
Type?: string
|
|
3741
3763
|
/**
|
|
3742
3764
|
* 状态
|
|
3743
3765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3744
3766
|
*/
|
|
3745
|
-
Status
|
|
3767
|
+
Status?: number
|
|
3746
3768
|
/**
|
|
3747
3769
|
* 公网url
|
|
3748
3770
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3749
3771
|
*/
|
|
3750
|
-
PublicUrl
|
|
3772
|
+
PublicUrl?: string
|
|
3751
3773
|
/**
|
|
3752
3774
|
* 内网url
|
|
3753
3775
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3754
3776
|
*/
|
|
3755
|
-
PrivateUrl
|
|
3777
|
+
PrivateUrl?: string
|
|
3756
3778
|
/**
|
|
3757
3779
|
* 公网访问权限
|
|
3758
3780
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3759
3781
|
*/
|
|
3760
|
-
PublicAccess
|
|
3782
|
+
PublicAccess?: string
|
|
3761
3783
|
/**
|
|
3762
3784
|
* 内网访问权限
|
|
3763
3785
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3764
3786
|
*/
|
|
3765
|
-
PrivateAccess
|
|
3787
|
+
PrivateAccess?: string
|
|
3766
3788
|
/**
|
|
3767
3789
|
* 版本号
|
|
3768
3790
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3769
3791
|
*/
|
|
3770
|
-
Version
|
|
3792
|
+
Version?: string
|
|
3793
|
+
/**
|
|
3794
|
+
* web服务内网vip
|
|
3795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3796
|
+
*/
|
|
3797
|
+
PrivateVip?: string
|
|
3798
|
+
/**
|
|
3799
|
+
* 自定义cerebro内网url
|
|
3800
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3801
|
+
*/
|
|
3802
|
+
CustomPrivateUrl?: string
|
|
3771
3803
|
}
|
|
@@ -1735,6 +1735,20 @@ export interface CreateSchemeUrlRequest {
|
|
|
1735
1735
|
* 合同流程里边签署方经办人手机号码, 支持国内手机号11位数字(无需加+86前缀或其他字符)。
|
|
1736
1736
|
*/
|
|
1737
1737
|
Mobile?: string
|
|
1738
|
+
/**
|
|
1739
|
+
* 证件类型,支持以下类型
|
|
1740
|
+
<ul><li>ID_CARD : 居民身份证(默认值)</li>
|
|
1741
|
+
<li>HONGKONG_AND_MACAO : 港澳居民来往内地通行证</li>
|
|
1742
|
+
<li>HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)</li></ul>
|
|
1743
|
+
*/
|
|
1744
|
+
IdCardType?: string
|
|
1745
|
+
/**
|
|
1746
|
+
* 证件号码,应符合以下规则
|
|
1747
|
+
<ul><li>居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>
|
|
1748
|
+
<li>港澳居民来往内地通行证号码应为9位字符串,第1位为“C”,第2位为英文字母(但“I”、“O”除外),后7位为阿拉伯数字。</li>
|
|
1749
|
+
<li>港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
1750
|
+
*/
|
|
1751
|
+
IdCardNumber?: string
|
|
1738
1752
|
/**
|
|
1739
1753
|
* 要跳转的链接类型
|
|
1740
1754
|
|
|
@@ -4694,7 +4708,7 @@ export interface FailedCreateRoleData {
|
|
|
4694
4708
|
}
|
|
4695
4709
|
|
|
4696
4710
|
/**
|
|
4697
|
-
*
|
|
4711
|
+
* 合同参与者信息。
|
|
4698
4712
|
*/
|
|
4699
4713
|
export interface ApproverInfo {
|
|
4700
4714
|
/**
|
|
@@ -4821,9 +4835,11 @@ export interface ApproverInfo {
|
|
|
4821
4835
|
<ul><li>**1**:人脸认证,需进行人脸识别成功后才能签署合同;</li>
|
|
4822
4836
|
<li>**2**:签署密码,需输入与用户在腾讯电子签设置的密码一致才能校验成功进行合同签署;</li>
|
|
4823
4837
|
<li>**3**:运营商三要素,需到运营商处比对手机号实名信息(名字、手机号、证件号)校验一致才能成功进行合同签署。</li></ul>
|
|
4838
|
+
|
|
4824
4839
|
注:
|
|
4825
|
-
|
|
4826
|
-
|
|
4840
|
+
1. 默认情况下,认证校验方式为人脸认证和签署密码两种形式
|
|
4841
|
+
2. 您可以传递多种值,表示可用多种认证校验方式
|
|
4842
|
+
3. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/company/mobile_support)得到具体的支持说明
|
|
4827
4843
|
*/
|
|
4828
4844
|
ApproverSignTypes?: Array<number | bigint>
|
|
4829
4845
|
/**
|
|
@@ -5547,7 +5563,7 @@ export interface ApproverOption {
|
|
|
5547
5563
|
/**
|
|
5548
5564
|
* 签署人信息补充类型,默认无需补充。
|
|
5549
5565
|
|
|
5550
|
-
<ul><li> **1** : (
|
|
5566
|
+
<ul><li> **1** : ( 动态签署人(可发起合同后再补充签署人信息)注:`企业自动签不支持动态补充`</li>
|
|
5551
5567
|
</ul>
|
|
5552
5568
|
*/
|
|
5553
5569
|
FillType?: number
|
|
@@ -3055,9 +3055,9 @@ export interface FillApproverInfo {
|
|
|
3055
3055
|
*/
|
|
3056
3056
|
OrganizationOpenId?: string
|
|
3057
3057
|
/**
|
|
3058
|
-
* 签署企业非渠道子客,默认为false,即表示同一渠道下的企业;如果为true,则目前表示接收方企业为SaaS企业, 为渠道子客时,
|
|
3058
|
+
* 签署企业非渠道子客,默认为false,即表示同一渠道下的企业;如果为true,则目前表示接收方企业为SaaS企业, 为渠道子客时,OrganizationOpenId 必传
|
|
3059
3059
|
*/
|
|
3060
|
-
NotChannelOrganization?:
|
|
3060
|
+
NotChannelOrganization?: boolean
|
|
3061
3061
|
}
|
|
3062
3062
|
|
|
3063
3063
|
/**
|
|
@@ -4223,6 +4223,20 @@ export interface CreateSignUrlsRequest {
|
|
|
4223
4223
|
注: `GenerateType为"PERSON"或"FOLLOWER"时必填`
|
|
4224
4224
|
*/
|
|
4225
4225
|
Mobile?: string
|
|
4226
|
+
/**
|
|
4227
|
+
* 证件类型,支持以下类型
|
|
4228
|
+
<ul><li>ID_CARD : 居民身份证(默认值)</li>
|
|
4229
|
+
<li>HONGKONG_AND_MACAO : 港澳居民来往内地通行证</li>
|
|
4230
|
+
<li>HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)</li></ul>
|
|
4231
|
+
*/
|
|
4232
|
+
IdCardType?: string
|
|
4233
|
+
/**
|
|
4234
|
+
* 证件号码,应符合以下规则
|
|
4235
|
+
<ul><li>居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>
|
|
4236
|
+
<li>港澳居民来往内地通行证号码应为9位字符串,第1位为“C”,第2位为英文字母(但“I”、“O”除外),后7位为阿拉伯数字。</li>
|
|
4237
|
+
<li>港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
4238
|
+
*/
|
|
4239
|
+
IdCardNumber?: string
|
|
4226
4240
|
/**
|
|
4227
4241
|
* 第三方平台子客企业的企业的标识, 即OrganizationOpenId
|
|
4228
4242
|
注: `GenerateType为"CHANNEL"时必填`
|
|
@@ -4544,7 +4558,9 @@ export interface FlowApproverInfo {
|
|
|
4544
4558
|
|
|
4545
4559
|
默认为1(人脸认证 ),2(签署密码)
|
|
4546
4560
|
|
|
4547
|
-
注:
|
|
4561
|
+
注:
|
|
4562
|
+
1. 用<font color='red'>模版创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>
|
|
4563
|
+
2. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/partner/mobile_support)得到具体的支持说明
|
|
4548
4564
|
*/
|
|
4549
4565
|
ApproverSignTypes?: Array<number | bigint>
|
|
4550
4566
|
/**
|
|
@@ -5498,7 +5514,7 @@ export interface ApproverOption {
|
|
|
5498
5514
|
/**
|
|
5499
5515
|
* 签署人信息补充类型,默认无需补充。
|
|
5500
5516
|
|
|
5501
|
-
<ul><li> **1** : (
|
|
5517
|
+
<ul><li> **1** : ( 动态签署人(可发起合同后再补充签署人信息)注:`企业自动签不支持动态补充`</li>
|
|
5502
5518
|
</ul>
|
|
5503
5519
|
*/
|
|
5504
5520
|
FillType?: number
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
GetTokenCountResponse,
|
|
22
|
+
ErrorMsg,
|
|
23
|
+
ChatStdResponse,
|
|
24
|
+
ChatProResponse,
|
|
25
|
+
Choice,
|
|
26
|
+
ChatProRequest,
|
|
27
|
+
Delta,
|
|
28
|
+
Usage,
|
|
29
|
+
Message,
|
|
30
|
+
GetTokenCountRequest,
|
|
31
|
+
ChatStdRequest,
|
|
32
|
+
} from "./hunyuan_models"
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* hunyuan client
|
|
36
|
+
* @class
|
|
37
|
+
*/
|
|
38
|
+
export class Client extends AbstractClient {
|
|
39
|
+
constructor(clientConfig: ClientConfig) {
|
|
40
|
+
super("hunyuan.tencentcloudapi.com", "2023-09-01", clientConfig)
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。
|
|
45
|
+
*/
|
|
46
|
+
async ChatPro(
|
|
47
|
+
req: ChatProRequest,
|
|
48
|
+
cb?: (error: string, rep: ChatProResponse) => void
|
|
49
|
+
): Promise<ChatProResponse> {
|
|
50
|
+
return this.request("ChatPro", req, cb)
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。
|
|
55
|
+
*/
|
|
56
|
+
async ChatStd(
|
|
57
|
+
req: ChatStdRequest,
|
|
58
|
+
cb?: (error: string, rep: ChatStdResponse) => void
|
|
59
|
+
): Promise<ChatStdResponse> {
|
|
60
|
+
return this.request("ChatStd", req, cb)
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 该接口用于计算文本对应Token数、字符数。
|
|
65
|
+
*/
|
|
66
|
+
async GetTokenCount(
|
|
67
|
+
req: GetTokenCountRequest,
|
|
68
|
+
cb?: (error: string, rep: GetTokenCountResponse) => void
|
|
69
|
+
): Promise<GetTokenCountResponse> {
|
|
70
|
+
return this.request("GetTokenCount", req, cb)
|
|
71
|
+
}
|
|
72
|
+
}
|