tencentcloud-sdk-nodejs 4.0.833 → 4.0.834

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 (66) hide show
  1. package/CHANGELOG.md +408 -0
  2. package/SERVICE_CHANGELOG.md +712 -40
  3. package/package.json +1 -1
  4. package/products.md +17 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_client.ts +4 -11
  7. package/src/services/aiart/v20221229/aiart_models.ts +6 -5
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
  9. package/src/services/cdb/v20170320/cdb_client.ts +30 -4
  10. package/src/services/cdb/v20170320/cdb_models.ts +148 -28
  11. package/src/services/es/v20180416/es_models.ts +7 -7
  12. package/src/services/faceid/v20180301/faceid_client.ts +1 -1
  13. package/src/services/faceid/v20180301/faceid_models.ts +4 -0
  14. package/src/services/hunyuan/v20230901/hunyuan_client.ts +8 -8
  15. package/src/services/hunyuan/v20230901/hunyuan_models.ts +79 -30
  16. package/src/services/index.ts +1 -0
  17. package/src/services/lke/index.ts +5 -0
  18. package/src/services/lke/v20231130/index.ts +6 -0
  19. package/src/services/lke/v20231130/lke_client.ts +974 -0
  20. package/src/services/lke/v20231130/lke_models.ts +4560 -0
  21. package/src/services/mna/v20210119/mna_models.ts +127 -7
  22. package/src/services/redis/v20180412/redis_models.ts +1 -1
  23. package/src/services/sms/v20210111/sms_models.ts +1 -0
  24. package/src/services/tione/v20211111/tione_client.ts +1 -0
  25. package/src/services/tione/v20211111/tione_models.ts +15 -1
  26. package/src/services/trtc/v20190722/trtc_client.ts +1 -0
  27. package/src/services/trtc/v20190722/trtc_models.ts +23 -1
  28. package/src/services/wedata/v20210820/wedata_client.ts +61 -198
  29. package/src/services/wedata/v20210820/wedata_models.ts +652 -1237
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +4 -11
  33. package/tencentcloud/services/aiart/v20221229/aiart_client.js +4 -11
  34. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +6 -5
  35. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +5 -0
  36. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +9 -1
  37. package/tencentcloud/services/cdb/v20170320/cdb_client.js +12 -0
  38. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +142 -28
  39. package/tencentcloud/services/es/v20180416/es_models.d.ts +7 -7
  40. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
  41. package/tencentcloud/services/faceid/v20180301/faceid_client.js +1 -1
  42. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +4 -0
  43. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +8 -8
  44. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +8 -8
  45. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +79 -30
  46. package/tencentcloud/services/index.d.ts +1 -0
  47. package/tencentcloud/services/index.js +2 -0
  48. package/tencentcloud/services/lke/index.d.ts +6 -0
  49. package/tencentcloud/services/lke/index.js +7 -0
  50. package/tencentcloud/services/lke/v20231130/index.d.ts +6 -0
  51. package/tencentcloud/services/lke/v20231130/index.js +9 -0
  52. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +310 -0
  53. package/tencentcloud/services/lke/v20231130/lke_client.js +481 -0
  54. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +4351 -0
  55. package/tencentcloud/services/lke/v20231130/lke_models.js +18 -0
  56. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +127 -7
  57. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
  58. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +1 -0
  59. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +14 -1
  60. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +22 -1
  61. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +17 -61
  62. package/tencentcloud/services/wedata/v20210820/wedata_client.js +22 -88
  63. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +660 -1218
  64. package/test/cdb.v20170320.test.js +20 -0
  65. package/test/lke.v20231130.test.js +771 -0
  66. package/test/wedata.v20210820.test.js +12 -122
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.833",
3
+ "version": "4.0.834",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -6,11 +6,11 @@
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 |
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-03-20 01:07:31 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-03-27 01:07:50 |
9
- | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-04-10 01:07:40 |
9
+ | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-04-12 01:07:15 |
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
11
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-03-20 01:07:34 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
13
- | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-03-20 01:07:36 |
13
+ | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-04-12 01:07:18 |
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 |
@@ -40,9 +40,9 @@
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-03-20 01:09:28 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-04-10 01:09:30 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-27 01:10:04 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-04-12 01:09:15 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
45
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-03-21 01:09:58 |
45
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-04-12 01:09:42 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-03-20 01:10:22 |
47
47
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-04-04 01:10:06 |
48
48
  | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-04-09 01:09:52 |
@@ -55,11 +55,11 @@
55
55
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
56
56
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
57
57
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
58
- | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-03-28 01:11:33 |
58
+ | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-04-12 01:10:35 |
59
59
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-03-28 01:11:53 |
60
60
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
61
61
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
62
- | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-03-29 01:12:12 |
62
+ | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-04-12 01:11:02 |
63
63
  | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-03-27 01:12:06 |
64
64
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 |
65
65
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-03-20 01:12:14 |
@@ -95,11 +95,11 @@
95
95
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-03-20 01:16:13 |
96
96
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
97
97
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-03-27 01:16:55 |
98
- | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-03-28 10:47:55 |
98
+ | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-04-11 16:23:06 |
99
99
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-04-10 01:15:19 |
100
100
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-04-10 01:15:33 |
101
101
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-03-20 01:17:05 |
102
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-04-10 01:15:48 |
102
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-04-12 01:15:49 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-03-20 01:17:11 |
104
104
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
105
105
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-04-04 01:15:50 |
@@ -112,7 +112,7 @@
112
112
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-03-22 01:16:13 |
113
113
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
114
114
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-03-20 01:17:36 |
115
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-03-20 01:17:37 |
115
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-04-11 20:52:21 |
116
116
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
117
117
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
118
118
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-03-20 01:17:48 |
@@ -135,6 +135,7 @@
135
135
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-04-09 01:17:28 |
136
136
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-04-09 01:17:37 |
137
137
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-04-11 01:17:46 |
138
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-04-11 17:23:26 |
138
139
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
139
140
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
140
141
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -143,7 +144,7 @@
143
144
  | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-03-20 01:20:22 |
144
145
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
145
146
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-03-20 01:20:23 |
146
- | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-03-20 01:20:25 |
147
+ | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-04-12 01:19:07 |
147
148
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-04-09 01:18:23 |
148
149
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-04-11 01:18:27 |
149
150
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-04-02 01:19:24 |
@@ -163,7 +164,7 @@
163
164
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-03-20 01:22:42 |
164
165
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-03-27 01:23:10 |
165
166
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-03-20 01:22:53 |
166
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-04-02 01:20:49 |
167
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-04-12 01:21:07 |
167
168
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-03-20 01:23:06 |
168
169
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
169
170
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
@@ -173,7 +174,7 @@
173
174
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-03-20 01:23:27 |
174
175
  | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-04-11 01:20:38 |
175
176
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-03-20 01:23:29 |
176
- | sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-03-20 01:23:30 |
177
+ | sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-04-12 01:21:45 |
177
178
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 |
178
179
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
179
180
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-04-10 01:21:30 |
@@ -205,7 +206,7 @@
205
206
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-04-02 01:23:41 |
206
207
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-03-20 01:26:12 |
207
208
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-03-20 01:26:14 |
208
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-04-10 01:23:57 |
209
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-04-12 01:24:21 |
209
210
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-03-20 01:27:05 |
210
211
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
211
212
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -213,7 +214,7 @@
213
214
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2024-03-20 01:27:08 |
214
215
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
215
216
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-03-20 01:27:09 |
216
- | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-04-10 01:24:24 |
217
+ | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-04-12 01:25:11 |
217
218
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 |
218
219
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-03-20 01:28:56 |
219
220
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
@@ -224,7 +225,7 @@
224
225
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-04-04 01:25:24 |
225
226
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-26 01:27:42 |
226
227
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 |
227
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-04-11 01:24:46 |
228
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-04-12 01:26:18 |
228
229
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-04-02 01:25:46 |
229
230
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-03-20 01:29:39 |
230
231
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
@@ -237,7 +238,7 @@
237
238
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
238
239
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-03-20 01:31:28 |
239
240
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
240
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-04-01 01:31:06 |
241
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-04-12 01:28:34 |
241
242
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-04-03 11:34:07 |
242
243
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
243
244
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-03-20 01:33:11 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.833"
1
+ export const sdkVersion = "4.0.834"
@@ -67,12 +67,9 @@ export class Client extends AbstractClient {
67
67
  }
68
68
 
69
69
  /**
70
- * 智能文生图接口将根据输入的描述文本,智能生成与之相关的结果图。
71
- 输入:256个字符以内的描述性文本,推荐使用中文。
72
- 输出:对应风格及分辨率的 AI 生成图。
73
- 可支持的风格详见 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。
70
+ * 智能文生图接口提供基础版文生图能力,将根据输入的文本描述,智能生成与之相关的结果图。
74
71
 
75
- 请求频率限制为1次/秒。
72
+ 智能文生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
76
73
  */
77
74
  async TextToImage(
78
75
  req: TextToImageRequest,
@@ -82,12 +79,8 @@ export class Client extends AbstractClient {
82
79
  }
83
80
 
84
81
  /**
85
- * 智能图生图接口将根据输入的图片及辅助描述文本,智能生成与之相关的结果图。
86
- 输入:单边分辨率小于2000、转成 Base64 字符串后小于 5MB 的图片,建议同时输入描述文本。
87
- 输出:对应风格及分辨率的 AI 生成图。
88
- 可支持的风格详见 [智能图生图风格列表](https://cloud.tencent.com/document/product/1668/86250),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。
89
-
90
- 请求频率限制为1次/秒。
82
+ * 智能图生图接口提供基础版图生图能力,将根据输入的图像及文本描述,智能生成风格转化后的图像。建议避免输入人像过小、姿势复杂、人数较多的人像图片。
83
+ 智能图生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
91
84
  */
92
85
  async ImageToImage(
93
86
  req: ImageToImageRequest,
@@ -95,14 +95,14 @@ export interface ImageToImageRequest {
95
95
  * 输入图 Base64 数据。
96
96
  算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
97
97
  Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
98
- 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB
98
+ 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB
99
99
  */
100
100
  InputImage?: string
101
101
  /**
102
102
  * 输入图 Url。
103
103
  算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
104
104
  Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
105
- 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB
105
+ 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于8MB
106
106
  */
107
107
  InputUrl?: string
108
108
  /**
@@ -125,7 +125,8 @@ Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
125
125
  Styles?: Array<string>
126
126
  /**
127
127
  * 生成图结果的配置,包括输出图片分辨率和尺寸等。
128
- 支持生成以下分辨率的图片:origin(与输入图分辨率一致)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin。
128
+ 支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3)。
129
+ 不传默认使用origin。
129
130
  */
130
131
  ResultConfig?: ResultConfig
131
132
  /**
@@ -232,9 +233,9 @@ export interface ResultConfig {
232
233
  /**
233
234
  * 生成图分辨率
234
235
 
235
- 智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768
236
+ 智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768
236
237
 
237
- 智能图生图支持生成以下分辨率的图片:origin(与输入图分辨率一致)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪
238
+ 智能图生图支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪。
238
239
  */
239
240
  Resolution?: string
240
241
  }
@@ -5464,6 +5464,11 @@ export interface BGPInstance {
5464
5464
  注意:此字段可能返回 null,表示取不到有效值。
5465
5465
  */
5466
5466
  PlanCntFlag?: number
5467
+ /**
5468
+ * 是否为超级高防包
5469
+ 注意:此字段可能返回 null,表示取不到有效值。
5470
+ */
5471
+ SuperPackFlag?: number
5467
5472
  }
5468
5473
 
5469
5474
  /**
@@ -138,11 +138,12 @@ import {
138
138
  ReleaseIsolatedDBInstancesRequest,
139
139
  BinlogInfo,
140
140
  CreateDatabaseResponse,
141
+ CheckMigrateClusterResponse,
141
142
  DescribeErrorLogDataResponse,
142
143
  AddTimeWindowRequest,
143
144
  ImportRecord,
144
145
  DeleteAuditLogFileResponse,
145
- Parameter,
146
+ DescribeSlowLogsResponse,
146
147
  SlaveInfo,
147
148
  DescribeDBSecurityGroupsRequest,
148
149
  DescribeDBSwitchRecordsResponse,
@@ -173,7 +174,7 @@ import {
173
174
  StartCpuExpandResponse,
174
175
  CreateCloneInstanceResponse,
175
176
  DescribeCdbZoneConfigRequest,
176
- DeviceCpuInfo,
177
+ OpenDBInstanceGTIDRequest,
177
178
  DescribeAsyncRequestInfoRequest,
178
179
  BalanceRoGroupLoadRequest,
179
180
  DescribeBackupOverviewResponse,
@@ -188,6 +189,7 @@ import {
188
189
  LogToCLSConfig,
189
190
  ResetRootAccountRequest,
190
191
  DescribeDBInstanceConfigRequest,
192
+ ClusterNodeInfo,
191
193
  ModifyAuditServiceRequest,
192
194
  DescribeProxyCustomConfResponse,
193
195
  ModifyAuditConfigResponse,
@@ -239,6 +241,7 @@ import {
239
241
  ResetRootAccountResponse,
240
242
  Account,
241
243
  ModifyNameOrDescByDpIdResponse,
244
+ DescribeClusterInfoRequest,
242
245
  DescribeDBPriceResponse,
243
246
  AuditLogFilter,
244
247
  OpenDBInstanceGTIDResponse,
@@ -333,6 +336,7 @@ import {
333
336
  ModifyAuditServiceResponse,
334
337
  ModifyInstancePasswordComplexityRequest,
335
338
  OpenWanServiceResponse,
339
+ CheckMigrateClusterRequest,
336
340
  DescribeDBInstanceGTIDRequest,
337
341
  DescribeBackupEncryptionStatusResponse,
338
342
  DescribeCdbProxyInfoResponse,
@@ -388,6 +392,7 @@ import {
388
392
  AutoStrategy,
389
393
  ModifyAccountMaxUserConnectionsResponse,
390
394
  Outbound,
395
+ DescribeClusterInfoResponse,
391
396
  AuditInstanceFilters,
392
397
  ParamInfo,
393
398
  DescribeBackupDecryptionKeyResponse,
@@ -399,7 +404,7 @@ import {
399
404
  DescribeUploadedFilesResponse,
400
405
  InitDBInstancesRequest,
401
406
  CreateBackupResponse,
402
- OpenDBInstanceGTIDRequest,
407
+ DeviceCpuInfo,
403
408
  OpenDBInstanceEncryptionResponse,
404
409
  CdbZoneDataResult,
405
410
  SqlFileInfo,
@@ -423,7 +428,7 @@ import {
423
428
  DescribeSlowLogDataRequest,
424
429
  ReleaseIsolatedDBInstancesResponse,
425
430
  DeleteAuditLogFileRequest,
426
- DescribeSlowLogsResponse,
431
+ Parameter,
427
432
  DeleteTimeWindowRequest,
428
433
  SwitchCDBProxyResponse,
429
434
  RestartDBInstancesRequest,
@@ -435,6 +440,7 @@ import {
435
440
  UpgradeCDBProxyVersionRequest,
436
441
  DeleteAuditRuleTemplatesResponse,
437
442
  DescribeDeviceMonitorInfoResponse,
443
+ AddressInfo,
438
444
  ModifyAuditRuleTemplatesResponse,
439
445
  } from "./cdb_models"
440
446
 
@@ -685,6 +691,16 @@ export class Client extends AbstractClient {
685
691
  return this.request("DescribeRollbackTaskDetail", req, cb)
686
692
  }
687
693
 
694
+ /**
695
+ * 高可用实例一键迁移到集群版校验
696
+ */
697
+ async CheckMigrateCluster(
698
+ req?: CheckMigrateClusterRequest,
699
+ cb?: (error: string, rep: CheckMigrateClusterResponse) => void
700
+ ): Promise<CheckMigrateClusterResponse> {
701
+ return this.request("CheckMigrateCluster", req, cb)
702
+ }
703
+
688
704
  /**
689
705
  * 该接口用于修改用户当前地域的备份文件限制下载来源,可以设置内外网均可下载、仅内网可下载,或内网指定的vpc、ip可以下载。
690
706
  */
@@ -1343,6 +1359,16 @@ export class Client extends AbstractClient {
1343
1359
  return this.request("DescribeDBInstanceInfo", req, cb)
1344
1360
  }
1345
1361
 
1362
+ /**
1363
+ * 本接口(DescribeClusterInfo)用于查询集群版实例信息。
1364
+ */
1365
+ async DescribeClusterInfo(
1366
+ req: DescribeClusterInfoRequest,
1367
+ cb?: (error: string, rep: DescribeClusterInfoResponse) => void
1368
+ ): Promise<DescribeClusterInfoResponse> {
1369
+ return this.request("DescribeClusterInfo", req, cb)
1370
+ }
1371
+
1346
1372
  /**
1347
1373
  * 本接口(DescribeRollbackRangeTime)用于查询云数据库实例可回档的时间范围。
1348
1374
  */
@@ -2943,6 +2943,16 @@ export interface CreateDatabaseResponse {
2943
2943
  RequestId?: string
2944
2944
  }
2945
2945
 
2946
+ /**
2947
+ * CheckMigrateCluster返回参数结构体
2948
+ */
2949
+ export interface CheckMigrateClusterResponse {
2950
+ /**
2951
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2952
+ */
2953
+ RequestId?: string
2954
+ }
2955
+
2946
2956
  /**
2947
2957
  * DescribeErrorLogData返回参数结构体
2948
2958
  */
@@ -3073,17 +3083,21 @@ export interface DeleteAuditLogFileResponse {
3073
3083
  }
3074
3084
 
3075
3085
  /**
3076
- * 数据库实例参数
3086
+ * DescribeSlowLogs返回参数结构体
3077
3087
  */
3078
- export interface Parameter {
3088
+ export interface DescribeSlowLogsResponse {
3079
3089
  /**
3080
- * 参数名称
3090
+ * 符合查询条件的慢查询日志总数。
3081
3091
  */
3082
- Name?: string
3092
+ TotalCount?: number
3083
3093
  /**
3084
- * 参数值
3094
+ * 符合查询条件的慢查询日志详情。
3085
3095
  */
3086
- CurrentValue?: string
3096
+ Items?: Array<SlowLogInfo>
3097
+ /**
3098
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3099
+ */
3100
+ RequestId?: string
3087
3101
  }
3088
3102
 
3089
3103
  /**
@@ -3671,17 +3685,13 @@ export interface CreateCloneInstanceResponse {
3671
3685
  export type DescribeCdbZoneConfigRequest = null
3672
3686
 
3673
3687
  /**
3674
- * CPU负载
3688
+ * OpenDBInstanceGTID请求参数结构体
3675
3689
  */
3676
- export interface DeviceCpuInfo {
3677
- /**
3678
- * 实例CPU平均使用率
3679
- */
3680
- Rate: Array<DeviceCpuRateInfo>
3690
+ export interface OpenDBInstanceGTIDRequest {
3681
3691
  /**
3682
- * 实例CPU监控数据
3692
+ * 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
3683
3693
  */
3684
- Load: Array<number | bigint>
3694
+ InstanceId: string
3685
3695
  }
3686
3696
 
3687
3697
  /**
@@ -3935,6 +3945,33 @@ export interface DescribeDBInstanceConfigRequest {
3935
3945
  InstanceId: string
3936
3946
  }
3937
3947
 
3948
+ /**
3949
+ * 集群版实例节点信息
3950
+ */
3951
+ export interface ClusterNodeInfo {
3952
+ /**
3953
+ * 节点id。
3954
+ */
3955
+ NodeId?: string
3956
+ /**
3957
+ * 节点的角色。
3958
+ */
3959
+ Role?: string
3960
+ /**
3961
+ * 节点所在可用区。
3962
+ */
3963
+ Zone?: string
3964
+ /**
3965
+ * 节点的权重
3966
+ */
3967
+ Weight?: number
3968
+ /**
3969
+ * 节点状态。
3970
+ 注意:此字段可能返回 null,表示取不到有效值。
3971
+ */
3972
+ Status?: string
3973
+ }
3974
+
3938
3975
  /**
3939
3976
  * ModifyAuditService请求参数结构体
3940
3977
  */
@@ -5217,6 +5254,16 @@ export interface ModifyNameOrDescByDpIdResponse {
5217
5254
  RequestId?: string
5218
5255
  }
5219
5256
 
5257
+ /**
5258
+ * DescribeClusterInfo请求参数结构体
5259
+ */
5260
+ export interface DescribeClusterInfoRequest {
5261
+ /**
5262
+ * 实例id。
5263
+ */
5264
+ InstanceId: string
5265
+ }
5266
+
5220
5267
  /**
5221
5268
  * DescribeDBPrice返回参数结构体
5222
5269
  */
@@ -7590,6 +7637,11 @@ export interface OpenWanServiceResponse {
7590
7637
  RequestId?: string
7591
7638
  }
7592
7639
 
7640
+ /**
7641
+ * CheckMigrateCluster请求参数结构体
7642
+ */
7643
+ export type CheckMigrateClusterRequest = null
7644
+
7593
7645
  /**
7594
7646
  * DescribeDBInstanceGTID请求参数结构体
7595
7647
  */
@@ -8931,6 +8983,40 @@ export interface Outbound {
8931
8983
  Desc: string
8932
8984
  }
8933
8985
 
8986
+ /**
8987
+ * DescribeClusterInfo返回参数结构体
8988
+ */
8989
+ export interface DescribeClusterInfoResponse {
8990
+ /**
8991
+ * 实例名称。
8992
+ */
8993
+ ClusterName?: string
8994
+ /**
8995
+ * 集群读写地址信息。
8996
+ */
8997
+ ReadWriteAddress?: AddressInfo
8998
+ /**
8999
+ * 集群只读地址信息。
9000
+ */
9001
+ ReadOnlyAddress?: Array<AddressInfo>
9002
+ /**
9003
+ * 集群节点列表信息。
9004
+ */
9005
+ NodeList?: Array<ClusterNodeInfo>
9006
+ /**
9007
+ * 只读空间保护阈值,单位GB
9008
+ */
9009
+ ReadonlyLimit?: number
9010
+ /**
9011
+ * 实例节点数。
9012
+ */
9013
+ NodeCount?: number
9014
+ /**
9015
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9016
+ */
9017
+ RequestId?: string
9018
+ }
9019
+
8934
9020
  /**
8935
9021
  * 查询审计实例的过滤条件
8936
9022
  */
@@ -9146,13 +9232,17 @@ export interface CreateBackupResponse {
9146
9232
  }
9147
9233
 
9148
9234
  /**
9149
- * OpenDBInstanceGTID请求参数结构体
9235
+ * CPU负载
9150
9236
  */
9151
- export interface OpenDBInstanceGTIDRequest {
9237
+ export interface DeviceCpuInfo {
9152
9238
  /**
9153
- * 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
9239
+ * 实例CPU平均使用率
9154
9240
  */
9155
- InstanceId: string
9241
+ Rate: Array<DeviceCpuRateInfo>
9242
+ /**
9243
+ * 实例CPU监控数据
9244
+ */
9245
+ Load: Array<number | bigint>
9156
9246
  }
9157
9247
 
9158
9248
  /**
@@ -9644,21 +9734,17 @@ export interface DeleteAuditLogFileRequest {
9644
9734
  }
9645
9735
 
9646
9736
  /**
9647
- * DescribeSlowLogs返回参数结构体
9737
+ * 数据库实例参数
9648
9738
  */
9649
- export interface DescribeSlowLogsResponse {
9650
- /**
9651
- * 符合查询条件的慢查询日志总数。
9652
- */
9653
- TotalCount?: number
9739
+ export interface Parameter {
9654
9740
  /**
9655
- * 符合查询条件的慢查询日志详情。
9741
+ * 参数名称
9656
9742
  */
9657
- Items?: Array<SlowLogInfo>
9743
+ Name?: string
9658
9744
  /**
9659
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9745
+ * 参数值
9660
9746
  */
9661
- RequestId?: string
9747
+ CurrentValue?: string
9662
9748
  }
9663
9749
 
9664
9750
  /**
@@ -9847,6 +9933,40 @@ export interface DescribeDeviceMonitorInfoResponse {
9847
9933
  RequestId?: string
9848
9934
  }
9849
9935
 
9936
+ /**
9937
+ * 实例地址信息
9938
+ */
9939
+ export interface AddressInfo {
9940
+ /**
9941
+ * 地址的资源id标识。
9942
+ */
9943
+ ResourceId?: string
9944
+ /**
9945
+ * 地址所在的vpc。
9946
+ */
9947
+ UniqVpcId?: string
9948
+ /**
9949
+ * 地址所在的子网。
9950
+ */
9951
+ UniqSubnetId?: string
9952
+ /**
9953
+ * 地址的vip。
9954
+ */
9955
+ Vip?: string
9956
+ /**
9957
+ * 地址的端口。
9958
+ */
9959
+ VPort?: number
9960
+ /**
9961
+ * 外网地址域名。
9962
+ */
9963
+ WanDomain?: string
9964
+ /**
9965
+ * 外网地址端口。
9966
+ */
9967
+ WanPort?: number
9968
+ }
9969
+
9850
9970
  /**
9851
9971
  * ModifyAuditRuleTemplates返回参数结构体
9852
9972
  */
@@ -1385,22 +1385,22 @@ export interface GetDiagnoseSettingsResponse {
1385
1385
  * CreateServerlessInstance请求参数结构体
1386
1386
  */
1387
1387
  export interface CreateServerlessInstanceRequest {
1388
+ /**
1389
+ * 索引名,需以-AppId结尾
1390
+ */
1391
+ IndexName: string
1388
1392
  /**
1389
1393
  * 可用区
1390
1394
  */
1391
- Zone: string
1395
+ Zone?: string
1392
1396
  /**
1393
1397
  * 私有网络ID
1394
1398
  */
1395
- VpcId: string
1399
+ VpcId?: string
1396
1400
  /**
1397
1401
  * 子网ID
1398
1402
  */
1399
- SubnetId: string
1400
- /**
1401
- * 索引名,需以-AppId结尾
1402
- */
1403
- IndexName: string
1403
+ SubnetId?: string
1404
1404
  /**
1405
1405
  * 创建的索引元数据JSON,如mappings、settings
1406
1406
  */
@@ -284,7 +284,7 @@ export class Client extends AbstractClient {
284
284
  }
285
285
 
286
286
  /**
287
- * 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人。
287
+ * 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人(该接口已停止接入,新客户请使用<a href="https://cloud.tencent.com/document/product/1007/102203">照片人脸核身(V2.0)</a>接口)。
288
288
  */
289
289
  async ImageRecognition(
290
290
  req: ImageRecognitionRequest,
@@ -264,6 +264,10 @@ export interface RuleIdConfig {
264
264
  1:点头模式,DetectAuth接口需要传入IntentionActions字段;
265
265
  */
266
266
  IntentionType?: number
267
+ /**
268
+ * 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
269
+ */
270
+ MouthOpenRecognition?: boolean
267
271
  }
268
272
 
269
273
  /**