tencentcloud-sdk-nodejs 4.0.819 → 4.0.821

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 (67) hide show
  1. package/CHANGELOG.md +364 -0
  2. package/SERVICE_CHANGELOG.md +397 -33
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_client.ts +30 -0
  7. package/src/services/aiart/v20221229/aiart_models.ts +103 -0
  8. package/src/services/cdb/v20170320/cdb_client.ts +2 -1
  9. package/src/services/cdb/v20170320/cdb_models.ts +43 -12
  10. package/src/services/ckafka/v20190819/ckafka_client.ts +1 -1
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +15 -15
  12. package/src/services/cls/v20201016/cls_client.ts +4 -3
  13. package/src/services/cls/v20201016/cls_models.ts +22 -22
  14. package/src/services/csip/v20221121/csip_models.ts +1 -1
  15. package/src/services/dlc/v20210125/dlc_client.ts +12 -0
  16. package/src/services/dlc/v20210125/dlc_models.ts +54 -0
  17. package/src/services/dts/v20211206/dts_models.ts +7 -2
  18. package/src/services/ess/v20201111/ess_client.ts +8 -3
  19. package/src/services/ess/v20201111/ess_models.ts +72 -12
  20. package/src/services/essbasic/v20210526/essbasic_client.ts +6 -1
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +64 -4
  22. package/src/services/faceid/v20180301/faceid_client.ts +39 -15
  23. package/src/services/faceid/v20180301/faceid_models.ts +187 -104
  24. package/src/services/live/v20180801/live_models.ts +1 -1
  25. package/src/services/oceanus/v20190422/oceanus_models.ts +1 -1
  26. package/src/services/pts/v20210728/pts_client.ts +57 -9
  27. package/src/services/pts/v20210728/pts_models.ts +169 -109
  28. package/src/services/wedata/v20210820/wedata_client.ts +1 -0
  29. package/src/services/wedata/v20210820/wedata_models.ts +182 -92
  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 +15 -1
  33. package/tencentcloud/services/aiart/v20221229/aiart_client.js +18 -0
  34. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +99 -0
  35. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  36. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  37. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +42 -12
  38. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
  39. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
  40. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +15 -15
  41. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +4 -3
  42. package/tencentcloud/services/cls/v20201016/cls_client.js +4 -3
  43. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +22 -22
  44. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1 -1
  45. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  46. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  47. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +52 -0
  48. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +7 -2
  49. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -3
  50. package/tencentcloud/services/ess/v20201111/ess_client.js +4 -2
  51. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +69 -12
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -1
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -1
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +61 -4
  55. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +13 -5
  56. package/tencentcloud/services/faceid/v20180301/faceid_client.js +18 -6
  57. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +183 -104
  58. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  59. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +1 -1
  60. package/tencentcloud/services/pts/v20210728/pts_client.d.ts +19 -3
  61. package/tencentcloud/services/pts/v20210728/pts_client.js +27 -3
  62. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +161 -109
  63. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +181 -92
  64. package/test/aiart.v20221229.test.js +20 -0
  65. package/test/dlc.v20210125.test.js +10 -0
  66. package/test/faceid.v20180301.test.js +24 -4
  67. package/test/pts.v20210728.test.js +42 -2
package/products.md CHANGED
@@ -5,8 +5,8 @@
5
5
  | acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2024-03-20 01:07:29 |
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
- | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-03-20 01:07:32 |
9
- | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-03-20 01:07:33 |
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-03-26 10:43:03 |
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 |
@@ -40,7 +40,7 @@
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-03-20 01:09:36 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-20 01:09:44 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-27 01:10:04 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-03-21 01:09:58 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-03-20 01:10:22 |
@@ -55,51 +55,51 @@
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-20 01:11:02 |
58
+ | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-03-27 01:11:34 |
59
59
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-03-25 01:11:07 |
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
62
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-03-20 01:11:33 |
63
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-03-20 01:11:35 |
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 |
66
66
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-03-20 01:12:16 |
67
67
  | config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2024-03-20 01:12:18 |
68
68
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
69
69
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
70
- | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-03-20 01:12:19 |
70
+ | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-03-27 01:12:37 |
71
71
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
72
72
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-03-20 01:12:26 |
73
73
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-03-25 01:12:24 |
74
74
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
75
75
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-03-20 01:13:46 |
76
- | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-03-20 01:14:04 |
76
+ | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-03-27 01:14:18 |
77
77
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
78
78
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
79
79
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-03-20 01:14:16 |
80
80
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-03-20 01:14:24 |
81
81
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-03-20 01:14:27 |
82
82
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-03-20 01:14:30 |
83
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-03-21 01:14:28 |
83
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-03-27 01:14:55 |
84
84
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-03-20 01:14:57 |
85
85
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-03-20 01:15:06 |
86
86
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-03-20 01:15:11 |
87
87
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
88
88
  | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-03-20 01:15:15 |
89
89
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
90
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-03-20 01:15:37 |
90
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-03-27 01:15:59 |
91
91
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-03-20 01:15:46 |
92
92
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-03-20 01:15:51 |
93
93
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-03-20 01:15:52 |
94
94
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-03-20 01:15:56 |
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
- | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-03-20 01:16:19 |
97
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-03-27 01:16:55 |
98
98
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-03-20 01:16:27 |
99
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-03-25 01:16:14 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-03-20 01:16:49 |
99
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-03-27 01:17:05 |
100
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-03-27 01:17:22 |
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-03-25 01:16:50 |
102
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-03-27 01:17:36 |
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-03-25 01:16:59 |
@@ -134,7 +134,7 @@
134
134
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-03-20 01:19:25 |
135
135
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-03-21 01:19:23 |
136
136
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-03-20 01:19:40 |
137
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-03-21 01:19:47 |
137
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-03-26 01:19:46 |
138
138
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
139
139
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
140
140
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -153,7 +153,7 @@
153
153
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
154
154
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-03-20 01:21:33 |
155
155
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
156
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-03-20 01:21:36 |
156
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-03-26 01:21:37 |
157
157
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-03-25 01:21:34 |
158
158
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-03-20 01:22:11 |
159
159
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-03-20 01:22:17 |
@@ -161,7 +161,7 @@
161
161
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
162
162
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-03-20 01:22:26 |
163
163
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-03-20 01:22:42 |
164
- | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-03-20 01:22:46 |
164
+ | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-03-27 01:23:10 |
165
165
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-03-20 01:22:53 |
166
166
  | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-03-20 01:22:54 |
167
167
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-03-20 01:23:06 |
@@ -222,7 +222,7 @@
222
222
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
223
223
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
224
224
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-03-20 01:29:00 |
225
- | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-20 01:29:06 |
225
+ | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-26 01:27:42 |
226
226
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 |
227
227
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-03-22 01:25:05 |
228
228
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-03-21 01:28:04 |
@@ -237,7 +237,7 @@
237
237
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-03-20 01:31:26 |
238
238
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-03-20 01:31:28 |
239
239
  | 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-03-20 01:32:15 |
240
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-03-27 01:31:32 |
241
241
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-03-20 01:33:01 |
242
242
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
243
243
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-03-20 01:33:11 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.819"
1
+ export const sdkVersion = "4.0.821"
@@ -19,10 +19,14 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  ImageToImageResponse,
22
+ SubmitTextToImageProJobRequest,
22
23
  LogoParam,
23
24
  ImageToImageRequest,
24
25
  LogoRect,
26
+ QueryTextToImageProJobResponse,
27
+ QueryTextToImageProJobRequest,
25
28
  ResultConfig,
29
+ SubmitTextToImageProJobResponse,
26
30
  TextToImageRequest,
27
31
  TextToImageResponse,
28
32
  } from "./aiart_models"
@@ -36,6 +40,32 @@ export class Client extends AbstractClient {
36
40
  super("aiart.tencentcloudapi.com", "2022-12-29", clientConfig)
37
41
  }
38
42
 
43
+ /**
44
+ * 文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
45
+ 提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。
46
+ 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
47
+ 并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
48
+ */
49
+ async QueryTextToImageProJob(
50
+ req: QueryTextToImageProJobRequest,
51
+ cb?: (error: string, rep: QueryTextToImageProJobResponse) => void
52
+ ): Promise<QueryTextToImageProJobResponse> {
53
+ return this.request("QueryTextToImageProJob", req, cb)
54
+ }
55
+
56
+ /**
57
+ * 文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
58
+ 提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。
59
+ 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
60
+ 并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
61
+ */
62
+ async SubmitTextToImageProJob(
63
+ req: SubmitTextToImageProJobRequest,
64
+ cb?: (error: string, rep: SubmitTextToImageProJobResponse) => void
65
+ ): Promise<SubmitTextToImageProJobResponse> {
66
+ return this.request("SubmitTextToImageProJob", req, cb)
67
+ }
68
+
39
69
  /**
40
70
  * 智能文生图接口将根据输入的描述文本,智能生成与之相关的结果图。
41
71
  输入:256个字符以内的描述性文本,推荐使用中文。
@@ -31,6 +31,44 @@ export interface ImageToImageResponse {
31
31
  RequestId?: string
32
32
  }
33
33
 
34
+ /**
35
+ * SubmitTextToImageProJob请求参数结构体
36
+ */
37
+ export interface SubmitTextToImageProJobRequest {
38
+ /**
39
+ * 文本描述。
40
+ 算法将根据输入的文本智能生成与之相关的图像。
41
+ 不能为空,推荐使用中文。最多可传100个 utf-8 字符。
42
+ */
43
+ Prompt: string
44
+ /**
45
+ * 绘画风格。
46
+ 请在 [文生图(高级版)风格列表](https://cloud.tencent.com/document/product/1668/104567) 中选择期望的风格,传入风格编号。
47
+ 不传默认不指定风格。
48
+ */
49
+ Style?: string
50
+ /**
51
+ * 生成图分辨率。
52
+ 支持生成以下分辨率的图片: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),不传默认使用1024:1024。
53
+ */
54
+ Resolution?: string
55
+ /**
56
+ * 为生成结果图添加显式水印标识的开关,默认为1。
57
+ 1:添加。
58
+ 0:不添加。
59
+ 其他数值:默认按1处理。
60
+ 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
61
+ */
62
+ LogoAdd?: number
63
+ /**
64
+ * 文生图引擎,默认使用engine1。
65
+ 取值:
66
+ engine1
67
+ engine2
68
+ */
69
+ Engine?: string
70
+ }
71
+
34
72
  /**
35
73
  * logo参数
36
74
  */
@@ -137,6 +175,57 @@ export interface LogoRect {
137
175
  Height?: number
138
176
  }
139
177
 
178
+ /**
179
+ * QueryTextToImageProJob返回参数结构体
180
+ */
181
+ export interface QueryTextToImageProJobResponse {
182
+ /**
183
+ * 当前任务状态码:
184
+ 1:排队中、3:处理中、5:处理失败、7:处理完成。
185
+
186
+ */
187
+ JobStatusCode?: string
188
+ /**
189
+ * 当前任务状态:排队中、处理中、处理失败或者处理完成。
190
+
191
+ */
192
+ JobStatusMsg?: string
193
+ /**
194
+ * 任务处理失败错误码。
195
+
196
+ */
197
+ JobErrorCode?: string
198
+ /**
199
+ * 任务处理失败错误信息。
200
+
201
+ */
202
+ JobErrorMsg?: string
203
+ /**
204
+ * 生成图 URL 列表,有效期1小时,请及时保存。
205
+
206
+ */
207
+ ResultImage?: Array<string>
208
+ /**
209
+ * 结果 detail 数组,Success 代表成功。
210
+
211
+ */
212
+ ResultDetails?: Array<string>
213
+ /**
214
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
215
+ */
216
+ RequestId?: string
217
+ }
218
+
219
+ /**
220
+ * QueryTextToImageProJob请求参数结构体
221
+ */
222
+ export interface QueryTextToImageProJobRequest {
223
+ /**
224
+ * 任务 ID。
225
+ */
226
+ JobId: string
227
+ }
228
+
140
229
  /**
141
230
  * 返回结果配置
142
231
  */
@@ -151,6 +240,20 @@ export interface ResultConfig {
151
240
  Resolution?: string
152
241
  }
153
242
 
243
+ /**
244
+ * SubmitTextToImageProJob返回参数结构体
245
+ */
246
+ export interface SubmitTextToImageProJobResponse {
247
+ /**
248
+ * 任务 ID。
249
+ */
250
+ JobId?: string
251
+ /**
252
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
253
+ */
254
+ RequestId?: string
255
+ }
256
+
154
257
  /**
155
258
  * TextToImage请求参数结构体
156
259
  */
@@ -297,6 +297,7 @@ import {
297
297
  DescribeAuditPoliciesRequest,
298
298
  AdjustCdbProxyAddressRequest,
299
299
  DescribeDatabasesResponse,
300
+ TaskAttachInfo,
300
301
  DescribeRoGroupsResponse,
301
302
  CloseCdbProxyAddressResponse,
302
303
  DescribeAuditRulesResponse,
@@ -886,7 +887,7 @@ export class Client extends AbstractClient {
886
887
  }
887
888
 
888
889
  /**
889
- * 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。
890
+ * 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。仅用于按量计费实例的解隔离,包年包月实例的解隔离请使用 RenewDBInstance 。
890
891
  */
891
892
  async ReleaseIsolatedDBInstances(
892
893
  req: ReleaseIsolatedDBInstancesRequest,
@@ -22,19 +22,19 @@ export interface TaskDetail {
22
22
  /**
23
23
  * 错误码。
24
24
  */
25
- Code: number
25
+ Code?: number
26
26
  /**
27
27
  * 错误信息。
28
28
  */
29
- Message: string
29
+ Message?: string
30
30
  /**
31
31
  * 实例任务 ID。
32
32
  */
33
- JobId: number
33
+ JobId?: number
34
34
  /**
35
35
  * 实例任务进度。
36
36
  */
37
- Progress: number
37
+ Progress?: number
38
38
  /**
39
39
  * 实例任务状态,可能的值包括:
40
40
  "UNDEFINED" - 未定义;
@@ -47,7 +47,7 @@ export interface TaskDetail {
47
47
  "PAUSED" - 已暂停。
48
48
  "WAITING" - 等待中(可撤销)
49
49
  */
50
- TaskStatus: string
50
+ TaskStatus?: string
51
51
  /**
52
52
  * 实例任务类型,可能的值包括:
53
53
  "ROLLBACK" - 数据库回档;
@@ -63,24 +63,29 @@ export interface TaskDetail {
63
63
  "DROP TABLES" - 删除云数据库库表;
64
64
  "SWITCH DR TO MASTER" - 灾备实例提升为主。
65
65
  */
66
- TaskType: string
66
+ TaskType?: string
67
67
  /**
68
68
  * 实例任务开始时间。
69
69
  */
70
- StartTime: string
70
+ StartTime?: string
71
71
  /**
72
72
  * 实例任务结束时间。
73
73
  */
74
- EndTime: string
74
+ EndTime?: string
75
75
  /**
76
76
  * 任务关联的实例 ID。
77
77
  注意:此字段可能返回 null,表示取不到有效值。
78
78
  */
79
- InstanceIds: Array<string>
79
+ InstanceIds?: Array<string>
80
80
  /**
81
81
  * 异步任务的请求 ID。
82
82
  */
83
- AsyncRequestId: string
83
+ AsyncRequestId?: string
84
+ /**
85
+ * 任务的附加信息。
86
+ 注意:此字段可能返回 null,表示取不到有效值。
87
+ */
88
+ TaskAttachInfo?: Array<TaskAttachInfo>
84
89
  }
85
90
 
86
91
  /**
@@ -3653,7 +3658,7 @@ export interface CreateCloneInstanceResponse {
3653
3658
  /**
3654
3659
  * 异步任务的请求ID,可使用此 ID 查询异步任务的执行结果。
3655
3660
  */
3656
- AsyncRequestId: string
3661
+ AsyncRequestId?: string
3657
3662
  /**
3658
3663
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3659
3664
  */
@@ -6791,6 +6796,24 @@ export interface DescribeDatabasesResponse {
6791
6796
  RequestId?: string
6792
6797
  }
6793
6798
 
6799
+ /**
6800
+ * 任务列表中的部分任务支持特定的附加信息
6801
+ */
6802
+ export interface TaskAttachInfo {
6803
+ /**
6804
+ * 升级任务:
6805
+ ”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。
6806
+ 注意:此字段可能返回 null,表示取不到有效值。
6807
+ */
6808
+ AttachKey?: string
6809
+ /**
6810
+ * 升级任务:
6811
+ ”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。
6812
+ 注意:此字段可能返回 null,表示取不到有效值。
6813
+ */
6814
+ AttachValue?: string
6815
+ }
6816
+
6794
6817
  /**
6795
6818
  * DescribeRoGroups返回参数结构体
6796
6819
  */
@@ -8599,6 +8622,14 @@ export interface CreateCloneInstanceRequest {
8599
8622
  * 项目ID,默认项目ID0
8600
8623
  */
8601
8624
  ProjectId?: number
8625
+ /**
8626
+ * 付费类型,PRE_PAID:包年包月,USED_PAID:按量计费。默认为按量计费
8627
+ */
8628
+ PayType?: string
8629
+ /**
8630
+ * 实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
8631
+ */
8632
+ Period?: number
8602
8633
  }
8603
8634
 
8604
8635
  /**
@@ -9591,7 +9622,7 @@ export interface ReleaseIsolatedDBInstancesResponse {
9591
9622
  /**
9592
9623
  * 解隔离操作的结果集。
9593
9624
  */
9594
- Items: Array<ReleaseResult>
9625
+ Items?: Array<ReleaseResult>
9595
9626
  /**
9596
9627
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9597
9628
  */
@@ -800,7 +800,7 @@ export class Client extends AbstractClient {
800
800
  }
801
801
 
802
802
  /**
803
- * 修改AC策略,目前只支持预设规则的是否应用到新增topic这一项的修改
803
+ * 修改ACL策略,目前只支持预设规则的是否应用到新增topic这一项的修改
804
804
  */
805
805
  async ModifyAclRule(
806
806
  req: ModifyAclRuleRequest,
@@ -1676,9 +1676,9 @@ export interface ModifyAclRuleRequest {
1676
1676
  */
1677
1677
  RuleName: string
1678
1678
  /**
1679
- * 是否应用到新增的Topic
1679
+ * 修改预设规则时传入,是否应用到新增的Topic
1680
1680
  */
1681
- IsApplied: number
1681
+ IsApplied?: number
1682
1682
  }
1683
1683
 
1684
1684
  /**
@@ -2223,7 +2223,7 @@ export interface ModifyAclRuleResponse {
2223
2223
  /**
2224
2224
  * 规则的唯一表示Key
2225
2225
  */
2226
- Result: number
2226
+ Result?: number
2227
2227
  /**
2228
2228
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2229
2229
  */
@@ -4632,7 +4632,7 @@ export interface GroupInfoResponse {
4632
4632
  /**
4633
4633
  * 错误码,正常为0
4634
4634
  */
4635
- ErrorCode: string
4635
+ ErrorCode?: string
4636
4636
  /**
4637
4637
  * group 状态描述(常见的为 Empty、Stable、Dead 三种状态):
4638
4638
  Dead:消费分组不存在
@@ -4641,23 +4641,23 @@ PreparingRebalance:消费分组处于 rebalance 状态
4641
4641
  CompletingRebalance:消费分组处于 rebalance 状态
4642
4642
  Stable:消费分组中各个消费者已经加入,处于稳定状态
4643
4643
  */
4644
- State: string
4644
+ State?: string
4645
4645
  /**
4646
4646
  * 消费分组选择的协议类型正常的消费者一般为 consumer 但有些系统采用了自己的协议如 kafka-connect 用的就是 connect。只有标准的 consumer 协议,本接口才知道具体的分配方式的格式,才能解析到具体的 partition 的分配情况
4647
4647
  */
4648
- ProtocolType: string
4648
+ ProtocolType?: string
4649
4649
  /**
4650
4650
  * 消费者 partition 分配算法常见的有如下几种(Kafka 消费者 SDK 默认的选择项为 range):range、 roundrobin、 sticky
4651
4651
  */
4652
- Protocol: string
4652
+ Protocol?: string
4653
4653
  /**
4654
4654
  * 仅当 state 为 Stable 且 protocol_type 为 consumer 时, 该数组才包含信息
4655
4655
  */
4656
- Members: Array<GroupInfoMember>
4656
+ Members?: Array<GroupInfoMember>
4657
4657
  /**
4658
4658
  * Kafka 消费分组
4659
4659
  */
4660
- Group: string
4660
+ Group?: string
4661
4661
  }
4662
4662
 
4663
4663
  /**
@@ -5724,18 +5724,18 @@ export interface CreateInstancePostRequest {
5724
5724
  * 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
5725
5725
  */
5726
5726
  InstanceName: string
5727
- /**
5728
- * 实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。
5729
- */
5730
- BandWidth: number
5731
5727
  /**
5732
5728
  * 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填
5733
5729
  */
5734
- VpcId?: string
5730
+ VpcId: string
5735
5731
  /**
5736
5732
  * 子网id。创建实例默认接入点所在的子网对应的子网 id
5737
5733
  */
5738
- SubnetId?: string
5734
+ SubnetId: string
5735
+ /**
5736
+ * 实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。
5737
+ */
5738
+ BandWidth: number
5739
5739
  /**
5740
5740
  * 国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。
5741
5741
  */
@@ -907,9 +907,10 @@ export class Client extends AbstractClient {
907
907
  }
908
908
 
909
909
  /**
910
- * 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
911
-
912
- API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
910
+ * 本接口用于检索分析日志,使用该接口时请注意如下事项:
911
+ 1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
912
+ 2. 检索语法建议使用CQL语法规则,请使用SyntaxRule参数,将值设置为1。
913
+ 3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
913
914
  */
914
915
  async SearchLog(
915
916
  req: SearchLogRequest,
@@ -6086,11 +6086,23 @@ export interface SearchLogRequest {
6086
6086
  使用*或空字符串可查询所有日志
6087
6087
  */
6088
6088
  Query: string
6089
+ /**
6090
+ * 检索语法规则,默认值为0,推荐使用1 (CQL语法)。
6091
+ 0:Lucene语法,1:CQL语法。
6092
+ 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
6093
+ */
6094
+ SyntaxRule?: number
6089
6095
  /**
6090
6096
  * - 要检索分析的日志主题ID,仅能指定一个日志主题。
6091
6097
  - 如需同时检索多个日志主题,请使用Topics参数。
6092
6098
  */
6093
6099
  TopicId?: string
6100
+ /**
6101
+ * - 要检索分析的日志主题列表,最大支持20个日志主题。
6102
+ - 检索单个日志主题时请使用TopicId。
6103
+ - 不能同时使用TopicId和Topics。
6104
+ */
6105
+ Topics?: Array<MultiTopicSearchInformation>
6094
6106
  /**
6095
6107
  * 表示单次查询返回的原始日志条数,默认为100,最大值为1000,获取后续日志需使用Context参数
6096
6108
  注意:
@@ -6098,14 +6110,6 @@ export interface SearchLogRequest {
6098
6110
  * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
6099
6111
  */
6100
6112
  Limit?: number
6101
- /**
6102
- * 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
6103
- 注意:
6104
- * 透传该参数时,请勿修改除该参数外的其它参数
6105
- * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
6106
- * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
6107
- */
6108
- Context?: string
6109
6113
  /**
6110
6114
  * 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
6111
6115
  注意:
@@ -6114,11 +6118,13 @@ export interface SearchLogRequest {
6114
6118
  */
6115
6119
  Sort?: string
6116
6120
  /**
6117
- * 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
6118
- 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
6119
- 两种返回方式在编码格式上有少量区别,建议使用true
6121
+ * 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
6122
+ 注意:
6123
+ * 透传该参数时,请勿修改除该参数外的其它参数
6124
+ * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
6125
+ * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
6120
6126
  */
6121
- UseNewAnalysis?: boolean
6127
+ Context?: string
6122
6128
  /**
6123
6129
  * 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。
6124
6130
  0:自动采样;
@@ -6128,17 +6134,11 @@ export interface SearchLogRequest {
6128
6134
  */
6129
6135
  SamplingRate?: number
6130
6136
  /**
6131
- * 检索语法规则,默认值为0。
6132
- 0:Lucene语法,1:CQL语法。
6133
- 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
6134
- */
6135
- SyntaxRule?: number
6136
- /**
6137
- * - 要检索分析的日志主题列表,最大支持20个日志主题。
6138
- - 检索单个日志主题时请使用TopicId。
6139
- - 不能同时使用TopicId和Topics。
6137
+ * 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
6138
+ 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
6139
+ 两种返回方式在编码格式上有少量区别,建议使用true
6140
6140
  */
6141
- Topics?: Array<MultiTopicSearchInformation>
6141
+ UseNewAnalysis?: boolean
6142
6142
  }
6143
6143
 
6144
6144
  /**
@@ -3869,7 +3869,7 @@ export interface ServerRisk {
3869
3869
  */
3870
3870
  InstanceType?: string
3871
3871
  /**
3872
- * 风险等级
3872
+ * 风险等级 low:低危 high:高危 middle:中危 info:提示 extreme:严重
3873
3873
  */
3874
3874
  Level?: string
3875
3875
  /**