tencentcloud-sdk-nodejs 4.0.819 → 4.0.820
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 +204 -0
- package/SERVICE_CHANGELOG.md +307 -29
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +30 -0
- package/src/services/aiart/v20221229/aiart_models.ts +103 -0
- package/src/services/cdb/v20170320/cdb_client.ts +1 -0
- package/src/services/cdb/v20170320/cdb_models.ts +42 -11
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +9 -9
- package/src/services/ess/v20201111/ess_client.ts +5 -2
- package/src/services/ess/v20201111/ess_models.ts +72 -12
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +64 -4
- package/src/services/faceid/v20180301/faceid_client.ts +39 -15
- package/src/services/faceid/v20180301/faceid_models.ts +172 -94
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +1 -1
- package/src/services/wedata/v20210820/wedata_models.ts +14 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +15 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +18 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +99 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +41 -11
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +9 -9
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +69 -12
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +61 -4
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +13 -5
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +18 -6
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +168 -94
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +1 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +14 -1
- package/test/aiart.v20221229.test.js +20 -0
- package/test/faceid.v20180301.test.js +24 -4
package/products.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
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-20 01:07:32 |
|
|
9
|
-
| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-03-
|
|
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-
|
|
43
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-26 01:09:47 |
|
|
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,7 +55,7 @@
|
|
|
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-
|
|
58
|
+
| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-03-26 01:11:10 |
|
|
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 |
|
|
@@ -96,10 +96,10 @@
|
|
|
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-20 01:16:19 |
|
|
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-
|
|
100
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-03-
|
|
99
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-03-26 01:16:22 |
|
|
100
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-03-26 01:16:43 |
|
|
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-
|
|
102
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-03-26 01:17:00 |
|
|
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-
|
|
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-
|
|
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 |
|
|
@@ -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-
|
|
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-
|
|
240
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-03-26 01:30:25 |
|
|
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.
|
|
1
|
+
export const sdkVersion = "4.0.820"
|
|
@@ -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
|
*/
|
|
@@ -22,19 +22,19 @@ export interface TaskDetail {
|
|
|
22
22
|
/**
|
|
23
23
|
* 错误码。
|
|
24
24
|
*/
|
|
25
|
-
Code
|
|
25
|
+
Code?: number
|
|
26
26
|
/**
|
|
27
27
|
* 错误信息。
|
|
28
28
|
*/
|
|
29
|
-
Message
|
|
29
|
+
Message?: string
|
|
30
30
|
/**
|
|
31
31
|
* 实例任务 ID。
|
|
32
32
|
*/
|
|
33
|
-
JobId
|
|
33
|
+
JobId?: number
|
|
34
34
|
/**
|
|
35
35
|
* 实例任务进度。
|
|
36
36
|
*/
|
|
37
|
-
Progress
|
|
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
|
|
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
|
|
66
|
+
TaskType?: string
|
|
67
67
|
/**
|
|
68
68
|
* 实例任务开始时间。
|
|
69
69
|
*/
|
|
70
|
-
StartTime
|
|
70
|
+
StartTime?: string
|
|
71
71
|
/**
|
|
72
72
|
* 实例任务结束时间。
|
|
73
73
|
*/
|
|
74
|
-
EndTime
|
|
74
|
+
EndTime?: string
|
|
75
75
|
/**
|
|
76
76
|
* 任务关联的实例 ID。
|
|
77
77
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
78
78
|
*/
|
|
79
|
-
InstanceIds
|
|
79
|
+
InstanceIds?: Array<string>
|
|
80
80
|
/**
|
|
81
81
|
* 异步任务的请求 ID。
|
|
82
82
|
*/
|
|
83
|
-
AsyncRequestId
|
|
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
|
|
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
|
/**
|
|
@@ -1676,9 +1676,9 @@ export interface ModifyAclRuleRequest {
|
|
|
1676
1676
|
*/
|
|
1677
1677
|
RuleName: string
|
|
1678
1678
|
/**
|
|
1679
|
-
*
|
|
1679
|
+
* 修改预设规则时传入,是否应用到新增的Topic
|
|
1680
1680
|
*/
|
|
1681
|
-
IsApplied
|
|
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
|
|
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
|
|
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
|
|
4644
|
+
State?: string
|
|
4645
4645
|
/**
|
|
4646
4646
|
* 消费分组选择的协议类型正常的消费者一般为 consumer 但有些系统采用了自己的协议如 kafka-connect 用的就是 connect。只有标准的 consumer 协议,本接口才知道具体的分配方式的格式,才能解析到具体的 partition 的分配情况
|
|
4647
4647
|
*/
|
|
4648
|
-
ProtocolType
|
|
4648
|
+
ProtocolType?: string
|
|
4649
4649
|
/**
|
|
4650
4650
|
* 消费者 partition 分配算法常见的有如下几种(Kafka 消费者 SDK 默认的选择项为 range):range、 roundrobin、 sticky
|
|
4651
4651
|
*/
|
|
4652
|
-
Protocol
|
|
4652
|
+
Protocol?: string
|
|
4653
4653
|
/**
|
|
4654
4654
|
* 仅当 state 为 Stable 且 protocol_type 为 consumer 时, 该数组才包含信息
|
|
4655
4655
|
*/
|
|
4656
|
-
Members
|
|
4656
|
+
Members?: Array<GroupInfoMember>
|
|
4657
4657
|
/**
|
|
4658
4658
|
* Kafka 消费分组
|
|
4659
4659
|
*/
|
|
4660
|
-
Group
|
|
4660
|
+
Group?: string
|
|
4661
4661
|
}
|
|
4662
4662
|
|
|
4663
4663
|
/**
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
DescribeCancelFlowsTaskResponse,
|
|
24
24
|
IntentionActionResult,
|
|
25
25
|
CreateSealRequest,
|
|
26
|
-
|
|
26
|
+
FlowGroupUrlInfo,
|
|
27
27
|
CancelFlowResponse,
|
|
28
28
|
DescribeExtendedServiceAuthDetailResponse,
|
|
29
29
|
UpdateIntegrationEmployeesResponse,
|
|
@@ -187,6 +187,7 @@ import {
|
|
|
187
187
|
CreateOrganizationBatchSignUrlRequest,
|
|
188
188
|
IntegrateRole,
|
|
189
189
|
CreatePrepareFlowResponse,
|
|
190
|
+
ModifyIntegrationDepartmentResponse,
|
|
190
191
|
GetTaskResultApiResponse,
|
|
191
192
|
CancelMultiFlowSignQRCodeRequest,
|
|
192
193
|
DeleteIntegrationDepartmentRequest,
|
|
@@ -200,6 +201,7 @@ import {
|
|
|
200
201
|
CreateEmbedWebUrlResponse,
|
|
201
202
|
ModifyExtendedServiceResponse,
|
|
202
203
|
CreateSealPolicyRequest,
|
|
204
|
+
FlowGroupApproverInfo,
|
|
203
205
|
DescribeOrganizationSealsRequest,
|
|
204
206
|
PermissionGroup,
|
|
205
207
|
CancelFlowRequest,
|
|
@@ -211,6 +213,7 @@ import {
|
|
|
211
213
|
CreateBatchSignUrlRequest,
|
|
212
214
|
CreateFlowRemindsRequest,
|
|
213
215
|
UpdateIntegrationEmployeesRequest,
|
|
216
|
+
FlowGroupApprovers,
|
|
214
217
|
DescribeFlowBriefsRequest,
|
|
215
218
|
CreateFlowGroupByTemplatesRequest,
|
|
216
219
|
DescribeBillUsageDetailResponse,
|
|
@@ -312,7 +315,7 @@ export class Client extends AbstractClient {
|
|
|
312
315
|
注:
|
|
313
316
|
1.<font color="red">合同发起后就会扣减合同的额度</font>, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(过期,拒签,签署完成,解除完成等状态不会返还额度)
|
|
314
317
|
|
|
315
|
-
2.<font color="red"
|
|
318
|
+
2.<font color="red">静默(自动)签署不支持非本企业合同签署方存在填写</font>功能
|
|
316
319
|
|
|
317
320
|
3.<font color="red">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/callback_types_file_resources)</font>,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。
|
|
318
321
|
*/
|
|
@@ -265,13 +265,13 @@ export interface CreateSealRequest {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
268
|
+
* 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
|
269
269
|
*/
|
|
270
|
-
export interface
|
|
270
|
+
export interface FlowGroupUrlInfo {
|
|
271
271
|
/**
|
|
272
|
-
*
|
|
272
|
+
* 合同组子合同和签署方的信息,用于补充动态签署人。
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
FlowGroupApproverInfos?: Array<FlowGroupApproverInfo>
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
/**
|
|
@@ -1757,6 +1757,10 @@ export interface CreateFlowGroupByTemplatesResponse {
|
|
|
1757
1757
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1758
1758
|
*/
|
|
1759
1759
|
FlowIds?: Array<string>
|
|
1760
|
+
/**
|
|
1761
|
+
* 合同组签署人信息。
|
|
1762
|
+
*/
|
|
1763
|
+
Approvers?: Array<FlowGroupApprovers>
|
|
1760
1764
|
/**
|
|
1761
1765
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1762
1766
|
*/
|
|
@@ -2233,6 +2237,10 @@ export interface CreateSchemeUrlRequest {
|
|
|
2233
2237
|
注:`生成动态签署人补充链接时必传。`
|
|
2234
2238
|
*/
|
|
2235
2239
|
RecipientId?: string
|
|
2240
|
+
/**
|
|
2241
|
+
* 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
|
2242
|
+
*/
|
|
2243
|
+
FlowGroupUrlInfo?: FlowGroupUrlInfo
|
|
2236
2244
|
}
|
|
2237
2245
|
|
|
2238
2246
|
/**
|
|
@@ -2849,6 +2857,10 @@ WEWORKAPP: 企业微信
|
|
|
2849
2857
|
注:`补充个人签署方时,若该用户已在电子签完成实名则可通过指定姓名和证件类型、证件号码完成补充。`
|
|
2850
2858
|
*/
|
|
2851
2859
|
ApproverIdCardNumber?: string
|
|
2860
|
+
/**
|
|
2861
|
+
* 合同流程ID,补充合同组子合同动态签署人时必传。
|
|
2862
|
+
*/
|
|
2863
|
+
FlowId?: string
|
|
2852
2864
|
}
|
|
2853
2865
|
|
|
2854
2866
|
/**
|
|
@@ -4047,12 +4059,6 @@ export interface CreateFlowApproversRequest {
|
|
|
4047
4059
|
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
4048
4060
|
*/
|
|
4049
4061
|
Operator: UserInfo
|
|
4050
|
-
/**
|
|
4051
|
-
* 合同流程ID,为32位字符串。
|
|
4052
|
-
建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
|
4053
|
-
可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
|
4054
|
-
*/
|
|
4055
|
-
FlowId: string
|
|
4056
4062
|
/**
|
|
4057
4063
|
* 补充企业签署人信息。
|
|
4058
4064
|
|
|
@@ -4061,6 +4067,12 @@ export interface CreateFlowApproversRequest {
|
|
|
4061
4067
|
- 如果不指定,则使用姓名和手机号进行补充。
|
|
4062
4068
|
*/
|
|
4063
4069
|
Approvers: Array<FillApproverInfo>
|
|
4070
|
+
/**
|
|
4071
|
+
* 合同流程ID,为32位字符串。
|
|
4072
|
+
建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
|
4073
|
+
可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
|
4074
|
+
*/
|
|
4075
|
+
FlowId?: string
|
|
4064
4076
|
/**
|
|
4065
4077
|
* 签署人信息补充方式
|
|
4066
4078
|
|
|
@@ -4078,6 +4090,10 @@ export interface CreateFlowApproversRequest {
|
|
|
4078
4090
|
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
4079
4091
|
*/
|
|
4080
4092
|
Agent?: Agent
|
|
4093
|
+
/**
|
|
4094
|
+
* 合同流程组的组ID, 在合同流程组场景下,生成合同流程组的签署链接时需要赋值
|
|
4095
|
+
*/
|
|
4096
|
+
FlowGroupId?: string
|
|
4081
4097
|
}
|
|
4082
4098
|
|
|
4083
4099
|
/**
|
|
@@ -5018,6 +5034,10 @@ export interface CreateFlowGroupByFilesResponse {
|
|
|
5018
5034
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5019
5035
|
*/
|
|
5020
5036
|
FlowIds?: Array<string>
|
|
5037
|
+
/**
|
|
5038
|
+
* 合同组签署方信息。
|
|
5039
|
+
*/
|
|
5040
|
+
Approvers?: Array<FlowGroupApprovers>
|
|
5021
5041
|
/**
|
|
5022
5042
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5023
5043
|
*/
|
|
@@ -5534,12 +5554,12 @@ export interface ApproverInfo {
|
|
|
5534
5554
|
* 签署方经办人的姓名。
|
|
5535
5555
|
经办人的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
|
|
5536
5556
|
*/
|
|
5537
|
-
ApproverName
|
|
5557
|
+
ApproverName?: string
|
|
5538
5558
|
/**
|
|
5539
5559
|
* 签署方经办人手机号码, 支持国内手机号11位数字(无需加+86前缀或其他字符)。
|
|
5540
5560
|
请确认手机号所有方为此合同签署方。
|
|
5541
5561
|
*/
|
|
5542
|
-
ApproverMobile
|
|
5562
|
+
ApproverMobile?: string
|
|
5543
5563
|
/**
|
|
5544
5564
|
* 组织机构名称。
|
|
5545
5565
|
请确认该名称与企业营业执照中注册的名称一致。
|
|
@@ -6107,6 +6127,16 @@ export interface CreatePrepareFlowResponse {
|
|
|
6107
6127
|
RequestId?: string
|
|
6108
6128
|
}
|
|
6109
6129
|
|
|
6130
|
+
/**
|
|
6131
|
+
* ModifyIntegrationDepartment返回参数结构体
|
|
6132
|
+
*/
|
|
6133
|
+
export interface ModifyIntegrationDepartmentResponse {
|
|
6134
|
+
/**
|
|
6135
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6136
|
+
*/
|
|
6137
|
+
RequestId?: string
|
|
6138
|
+
}
|
|
6139
|
+
|
|
6110
6140
|
/**
|
|
6111
6141
|
* GetTaskResultApi返回参数结构体
|
|
6112
6142
|
*/
|
|
@@ -6539,6 +6569,20 @@ export interface CreateSealPolicyRequest {
|
|
|
6539
6569
|
Agent?: Agent
|
|
6540
6570
|
}
|
|
6541
6571
|
|
|
6572
|
+
/**
|
|
6573
|
+
* 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
|
6574
|
+
*/
|
|
6575
|
+
export interface FlowGroupApproverInfo {
|
|
6576
|
+
/**
|
|
6577
|
+
* 合同流程ID。
|
|
6578
|
+
*/
|
|
6579
|
+
FlowId?: string
|
|
6580
|
+
/**
|
|
6581
|
+
* 签署节点ID,用于生成动态签署人链接完成领取。注:`生成动态签署人补充链接时必传。`
|
|
6582
|
+
*/
|
|
6583
|
+
RecipientId?: string
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6542
6586
|
/**
|
|
6543
6587
|
* DescribeOrganizationSeals请求参数结构体
|
|
6544
6588
|
*/
|
|
@@ -7163,6 +7207,22 @@ export interface UpdateIntegrationEmployeesRequest {
|
|
|
7163
7207
|
Endpoint?: string
|
|
7164
7208
|
}
|
|
7165
7209
|
|
|
7210
|
+
/**
|
|
7211
|
+
* 合同组签署方信息
|
|
7212
|
+
*/
|
|
7213
|
+
export interface FlowGroupApprovers {
|
|
7214
|
+
/**
|
|
7215
|
+
* 合同流程ID
|
|
7216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7217
|
+
*/
|
|
7218
|
+
FlowId?: string
|
|
7219
|
+
/**
|
|
7220
|
+
* 签署方信息,包含合同ID和角色ID用于定位RecipientId。
|
|
7221
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7222
|
+
*/
|
|
7223
|
+
Approvers?: Array<ApproverItem>
|
|
7224
|
+
}
|
|
7225
|
+
|
|
7166
7226
|
/**
|
|
7167
7227
|
* DescribeFlowBriefs请求参数结构体
|
|
7168
7228
|
*/
|