tencentcloud-sdk-nodejs 4.0.499 → 4.0.501
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 +144 -0
- package/SERVICE_CHANGELOG.md +149 -255
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/abstract_client.ts +11 -5
- package/src/common/interface.ts +45 -43
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +22 -1
- package/src/services/cat/v20180409/cat_models.ts +24 -4
- package/src/services/cpdp/v20190820/cpdp_models.ts +6 -4
- package/src/services/dts/v20211206/dts_client.ts +24 -0
- package/src/services/dts/v20211206/dts_models.ts +50 -0
- package/src/services/es/v20180416/es_models.ts +6 -0
- package/src/services/ess/v20201111/ess_client.ts +1 -113
- package/src/services/ess/v20201111/ess_models.ts +123 -13
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/ms/v20180408/ms_models.ts +19 -360
- package/src/services/ocr/v20181119/ocr_client.ts +4 -2
- package/src/services/ocr/v20181119/ocr_models.ts +10 -0
- package/src/services/tiia/v20190529/tiia_client.ts +57 -15
- package/src/services/tiia/v20190529/tiia_models.ts +16 -10
- package/src/services/tiw/v20190919/tiw_models.ts +10 -0
- package/src/services/vod/v20180717/vod_client.ts +14 -0
- package/src/services/vod/v20180717/vod_models.ts +50 -0
- package/src/services/vpc/v20170312/vpc_client.ts +21 -7
- package/src/services/vpc/v20170312/vpc_models.ts +21 -1
- package/tencentcloud/common/abstract_client.d.ts +2 -2
- package/tencentcloud/common/interface.d.ts +44 -43
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +18 -1
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +21 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +5 -3
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +9 -1
- package/tencentcloud/services/dts/v20211206/dts_client.js +12 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +44 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -113
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -113
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +121 -11
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +16 -357
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +48 -6
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +48 -6
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +15 -9
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +9 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +7 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +8 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +42 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +9 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +11 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +19 -1
- package/test/dts.v20211206.test.js +20 -0
- package/test/vod.v20180717.test.js +10 -0
- package/test/vpc.v20170312.test.js +12 -2
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-11-14 06:09:18 |
|
|
9
9
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
10
10
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-11-16 06:07:01 |
|
|
11
|
-
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-12-
|
|
11
|
+
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-12-12 01:06:27 |
|
|
12
12
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
13
13
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
14
14
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-11-22 06:12:35 |
|
|
37
37
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-11-18 06:12:01 |
|
|
38
38
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-10-31 06:12:52 |
|
|
39
|
-
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-
|
|
39
|
+
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-12-12 01:11:14 |
|
|
40
40
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-10-27 06:14:10 |
|
|
41
41
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-12-08 01:17:22 |
|
|
42
42
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-12-09 01:15:21 |
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-12-05 06:32:09 |
|
|
62
62
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-11-16 06:15:44 |
|
|
63
63
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
64
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-12-
|
|
64
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-12-12 01:17:00 |
|
|
65
65
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
66
66
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-12-07 06:29:50 |
|
|
67
67
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-11-17 06:19:07 |
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
81
81
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
|
|
82
82
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
83
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-
|
|
83
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-12 01:23:41 |
|
|
84
84
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
|
|
85
85
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
|
|
86
86
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
87
87
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-09-09 06:24:10 |
|
|
88
88
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
89
89
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
|
|
90
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-12-
|
|
91
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-
|
|
92
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-09
|
|
93
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-
|
|
90
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-12-12 01:25:33 |
|
|
91
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-12 01:25:49 |
|
|
92
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-09 15:06:24 |
|
|
93
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-09 15:06:08 |
|
|
94
94
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
95
95
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-12-07 06:39:49 |
|
|
96
96
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2022-09-29 06:34:25 |
|
|
112
112
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
|
|
113
113
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-08-16 06:27:22 |
|
|
114
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-12-
|
|
114
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-12-12 01:29:57 |
|
|
115
115
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
116
116
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-12-05 06:57:57 |
|
|
117
117
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-11-17 06:31:48 |
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-12-09 01:46:06 |
|
|
134
134
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2022-11-23 06:41:18 |
|
|
135
135
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-12-08 01:38:36 |
|
|
136
|
-
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-12-
|
|
136
|
+
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-12-09 15:05:58 |
|
|
137
137
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2022-04-04 07:00:13 |
|
|
138
138
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
139
139
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-12-09 01:49:39 |
|
|
140
140
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
141
141
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-11-24 06:45:29 |
|
|
142
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-12-
|
|
142
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-12-12 01:39:40 |
|
|
143
143
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2022-12-07 06:54:25 |
|
|
144
144
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-11-17 06:38:25 |
|
|
145
145
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
@@ -193,9 +193,9 @@
|
|
|
193
193
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
194
194
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
|
|
195
195
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
196
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-12-
|
|
196
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-12-12 01:52:02 |
|
|
197
197
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-12-08 01:49:46 |
|
|
198
|
-
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-12-
|
|
198
|
+
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-12-12 01:52:52 |
|
|
199
199
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-12-08 01:50:31 |
|
|
200
200
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
201
201
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-11-18 06:55:59 |
|
|
@@ -210,8 +210,8 @@
|
|
|
210
210
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
211
211
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
|
|
212
212
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
213
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-12-09
|
|
214
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-12-
|
|
213
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-12-09 10:06:16 |
|
|
214
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-12-12 01:57:43 |
|
|
215
215
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-12-09 02:16:48 |
|
|
216
216
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
|
|
217
217
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-12-07 07:21:53 |
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { sdkVersion } from "./sdk_version"
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
ClientProfile,
|
|
4
|
+
Credential,
|
|
5
|
+
ClientConfig,
|
|
6
|
+
SUPPORT_LANGUAGE_LIST,
|
|
7
|
+
HttpProfile,
|
|
8
|
+
} from "./interface"
|
|
3
9
|
import Sign from "./sign"
|
|
4
10
|
import { HttpConnection } from "./http/http_connection"
|
|
5
11
|
import TencentCloudSDKHttpException from "./exception/tencent_cloud_sdk_exception"
|
|
6
12
|
import { Response } from "node-fetch"
|
|
7
13
|
|
|
8
14
|
export type ResponseCallback<TReuslt = any> = (error: string, rep: TReuslt) => void
|
|
9
|
-
export interface RequestOptions extends Partial<Pick<
|
|
15
|
+
export interface RequestOptions extends Partial<Pick<HttpProfile, "headers">> {
|
|
10
16
|
multipart?: boolean
|
|
11
17
|
/**
|
|
12
18
|
* 中止请求信号
|
|
@@ -118,7 +124,7 @@ export class AbstractClient {
|
|
|
118
124
|
cb && cb(null, result)
|
|
119
125
|
return result
|
|
120
126
|
} catch (e) {
|
|
121
|
-
cb && cb(e, null)
|
|
127
|
+
cb && cb(e as any, null)
|
|
122
128
|
throw e
|
|
123
129
|
}
|
|
124
130
|
}
|
|
@@ -149,7 +155,7 @@ export class AbstractClient {
|
|
|
149
155
|
signal: options.signal,
|
|
150
156
|
})
|
|
151
157
|
} catch (error) {
|
|
152
|
-
throw new TencentCloudSDKHttpException(error.message)
|
|
158
|
+
throw new TencentCloudSDKHttpException((error as any).message)
|
|
153
159
|
}
|
|
154
160
|
return this.parseResponse(res)
|
|
155
161
|
}
|
|
@@ -185,7 +191,7 @@ export class AbstractClient {
|
|
|
185
191
|
signal: options.signal,
|
|
186
192
|
})
|
|
187
193
|
} catch (e) {
|
|
188
|
-
throw new TencentCloudSDKHttpException(e.message)
|
|
194
|
+
throw new TencentCloudSDKHttpException((e as any).message)
|
|
189
195
|
}
|
|
190
196
|
return this.parseResponse(res)
|
|
191
197
|
}
|
package/src/common/interface.ts
CHANGED
|
@@ -32,51 +32,10 @@ export interface ClientProfile {
|
|
|
32
32
|
signMethod?: "TC3-HMAC-SHA256" | "HmacSHA256" | "HmacSHA1"
|
|
33
33
|
/**
|
|
34
34
|
* http相关选项实例
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {HttpProfile}
|
|
36
36
|
* 非必选
|
|
37
37
|
*/
|
|
38
|
-
httpProfile?:
|
|
39
|
-
/**
|
|
40
|
-
* 请求方法
|
|
41
|
-
* @type {"POST" | "GET"}
|
|
42
|
-
* 非必选
|
|
43
|
-
*/
|
|
44
|
-
reqMethod?: "POST" | "GET"
|
|
45
|
-
/**
|
|
46
|
-
* 接入点域名,形如(cvm.ap-shanghai.tencentcloud.com)
|
|
47
|
-
* @type {string}
|
|
48
|
-
* 非必选
|
|
49
|
-
*/
|
|
50
|
-
endpoint?: string
|
|
51
|
-
/**
|
|
52
|
-
* 协议,目前支持(https://)
|
|
53
|
-
* @type {string}
|
|
54
|
-
* 非必选
|
|
55
|
-
*/
|
|
56
|
-
protocol?: string
|
|
57
|
-
/**
|
|
58
|
-
* 请求超时时间,默认60s
|
|
59
|
-
* @type {number}
|
|
60
|
-
* 非必选
|
|
61
|
-
*/
|
|
62
|
-
reqTimeout?: number
|
|
63
|
-
/**
|
|
64
|
-
* 自定义请求头,例如 { "X-TC-TraceId": "ffe0c072-8a5d-4e17-8887-a8a60252abca" }
|
|
65
|
-
* @type {Record<string, string>}
|
|
66
|
-
* 非必选
|
|
67
|
-
*/
|
|
68
|
-
headers?: Record<string, string>
|
|
69
|
-
/**
|
|
70
|
-
* 高级请求代理,例如 new HttpsProxyAgent("http://127.0.0.1:8899")
|
|
71
|
-
*
|
|
72
|
-
* 优先级高于 proxy 配置
|
|
73
|
-
*/
|
|
74
|
-
agent?: Agent
|
|
75
|
-
/**
|
|
76
|
-
* http请求代理,例如 "http://127.0.0.1:8899"
|
|
77
|
-
*/
|
|
78
|
-
proxy?: string
|
|
79
|
-
}
|
|
38
|
+
httpProfile?: HttpProfile
|
|
80
39
|
/**
|
|
81
40
|
* api请求时附带的 language 字段
|
|
82
41
|
* @type {"zh-CN" | "en-US"}
|
|
@@ -85,6 +44,49 @@ export interface ClientProfile {
|
|
|
85
44
|
language?: "zh-CN" | "en-US"
|
|
86
45
|
}
|
|
87
46
|
|
|
47
|
+
export interface HttpProfile {
|
|
48
|
+
/**
|
|
49
|
+
* 请求方法
|
|
50
|
+
* @type {"POST" | "GET"}
|
|
51
|
+
* 非必选
|
|
52
|
+
*/
|
|
53
|
+
reqMethod?: "POST" | "GET"
|
|
54
|
+
/**
|
|
55
|
+
* 接入点域名,形如(cvm.ap-shanghai.tencentcloud.com)
|
|
56
|
+
* @type {string}
|
|
57
|
+
* 非必选
|
|
58
|
+
*/
|
|
59
|
+
endpoint?: string
|
|
60
|
+
/**
|
|
61
|
+
* 协议,目前支持(https://)
|
|
62
|
+
* @type {string}
|
|
63
|
+
* 非必选
|
|
64
|
+
*/
|
|
65
|
+
protocol?: string
|
|
66
|
+
/**
|
|
67
|
+
* 请求超时时间,默认60s
|
|
68
|
+
* @type {number}
|
|
69
|
+
* 非必选
|
|
70
|
+
*/
|
|
71
|
+
reqTimeout?: number
|
|
72
|
+
/**
|
|
73
|
+
* 自定义请求头,例如 { "X-TC-TraceId": "ffe0c072-8a5d-4e17-8887-a8a60252abca" }
|
|
74
|
+
* @type {Record<string, string>}
|
|
75
|
+
* 非必选
|
|
76
|
+
*/
|
|
77
|
+
headers?: Record<string, string>
|
|
78
|
+
/**
|
|
79
|
+
* 高级请求代理,例如 new HttpsProxyAgent("http://127.0.0.1:8899")
|
|
80
|
+
*
|
|
81
|
+
* 优先级高于 proxy 配置
|
|
82
|
+
*/
|
|
83
|
+
agent?: Agent
|
|
84
|
+
/**
|
|
85
|
+
* http请求代理,例如 "http://127.0.0.1:8899"
|
|
86
|
+
*/
|
|
87
|
+
proxy?: string
|
|
88
|
+
}
|
|
89
|
+
|
|
88
90
|
/**
|
|
89
91
|
* ClientProfile.language 属性支持的取值列表
|
|
90
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.501"
|
|
@@ -700,6 +700,16 @@ export interface DescribeListBGPInstancesRequest {
|
|
|
700
700
|
* 标签搜索
|
|
701
701
|
*/
|
|
702
702
|
FilterTag?: TagFilter
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* 试用资源搜索,1: 应急防护资源;2:PLG试用资源
|
|
706
|
+
*/
|
|
707
|
+
FilterTrialFlag?: number
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* 重保护航搜索
|
|
711
|
+
*/
|
|
712
|
+
FilterConvoy?: number
|
|
703
713
|
}
|
|
704
714
|
|
|
705
715
|
/**
|
|
@@ -1301,7 +1311,7 @@ export interface DescribeListBGPIPInstancesRequest {
|
|
|
1301
1311
|
FilterDamDDoSStatus?: number
|
|
1302
1312
|
|
|
1303
1313
|
/**
|
|
1304
|
-
* 获取特定状态的资源,运行中填idle,攻击中填attacking,封堵中填blocking
|
|
1314
|
+
* 获取特定状态的资源,运行中填idle,攻击中填attacking,封堵中填blocking,试用资源填trial
|
|
1305
1315
|
*/
|
|
1306
1316
|
FilterStatus?: string
|
|
1307
1317
|
|
|
@@ -1324,6 +1334,11 @@ export interface DescribeListBGPIPInstancesRequest {
|
|
|
1324
1334
|
* 按照套餐类型进行过滤
|
|
1325
1335
|
*/
|
|
1326
1336
|
FilterPackType?: Array<string>
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* 重保护航搜索
|
|
1340
|
+
*/
|
|
1341
|
+
FilterConvoy?: number
|
|
1327
1342
|
}
|
|
1328
1343
|
|
|
1329
1344
|
/**
|
|
@@ -2830,6 +2845,12 @@ export interface BGPIPInstance {
|
|
|
2830
2845
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2831
2846
|
*/
|
|
2832
2847
|
InstanceVersion: number
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* 重保实例
|
|
2851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2852
|
+
*/
|
|
2853
|
+
ConvoyId: string
|
|
2833
2854
|
}
|
|
2834
2855
|
|
|
2835
2856
|
/**
|
|
@@ -553,8 +553,16 @@ export interface ProbeTask {
|
|
|
553
553
|
TaskId: string
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
|
-
|
|
557
|
-
|
|
556
|
+
* 拨测类型
|
|
557
|
+
<li>1 = 页面浏览</li>
|
|
558
|
+
<li> 2 =文件上传 </li>
|
|
559
|
+
<li> 3 = 文件下载</li>
|
|
560
|
+
<li> 4 = 端口性能 </li>
|
|
561
|
+
<li> 5 = 网络质量 </li>
|
|
562
|
+
<li> 6 =流媒体 </li>
|
|
563
|
+
|
|
564
|
+
即时拨测只支持页面浏览,网络质量,文件下载
|
|
565
|
+
*/
|
|
558
566
|
TaskType: number
|
|
559
567
|
|
|
560
568
|
/**
|
|
@@ -573,8 +581,18 @@ export interface ProbeTask {
|
|
|
573
581
|
Parameters: string
|
|
574
582
|
|
|
575
583
|
/**
|
|
576
|
-
|
|
577
|
-
|
|
584
|
+
* 任务状态
|
|
585
|
+
<li>1 = 创建中</li>
|
|
586
|
+
<li> 2 = 运行中 </li>
|
|
587
|
+
<li> 3 = 运行异常 </li>
|
|
588
|
+
<li> 4 = 暂停中 </li>
|
|
589
|
+
<li> 5 = 暂停异常 </li>
|
|
590
|
+
<li> 6 = 任务暂停 </li>
|
|
591
|
+
<li> 7 = 任务删除中 </li>
|
|
592
|
+
<li> 8 = 任务删除异常 </li>
|
|
593
|
+
<li> 9 = 任务删除</li>
|
|
594
|
+
<li> 10 = 定时任务暂停中 </li>
|
|
595
|
+
*/
|
|
578
596
|
Status: number
|
|
579
597
|
|
|
580
598
|
/**
|
|
@@ -616,6 +634,8 @@ export interface ProbeTask {
|
|
|
616
634
|
|
|
617
635
|
/**
|
|
618
636
|
* 定时任务启动状态
|
|
637
|
+
<li>1 = 定时任务表达式生效</li>
|
|
638
|
+
<li> 2 = 定时任务表达式未生效(一般为任务手动暂停)</li>
|
|
619
639
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
620
640
|
*/
|
|
621
641
|
CronState: number
|
|
@@ -3568,18 +3568,20 @@ export interface DistributeAddReceiverRequest {
|
|
|
3568
3568
|
*/
|
|
3569
3569
|
export interface QueryFinancialDataUrlRequest {
|
|
3570
3570
|
/**
|
|
3571
|
-
* 数据查询范围:结束时间
|
|
3571
|
+
* 数据查询范围:结束时间 yyyy-MM-dd HH:mm:ss
|
|
3572
3572
|
*/
|
|
3573
3573
|
EndTime: string
|
|
3574
3574
|
|
|
3575
3575
|
/**
|
|
3576
|
-
* 数据查询范围:开始时间
|
|
3576
|
+
* 数据查询范围:开始时间 yyyy-MM-dd HH:mm:ss
|
|
3577
3577
|
*/
|
|
3578
3578
|
StartTime: string
|
|
3579
3579
|
|
|
3580
3580
|
/**
|
|
3581
|
-
|
|
3582
|
-
|
|
3581
|
+
* 数据类型:ADDED_INVOICE_REPORT 增值税开票数据,NATURAL_FINANCE_REPORT 自然人金融数据,
|
|
3582
|
+
NATURAL_FINANCE_REPORT_BY_TIME 按次报税数据导出,
|
|
3583
|
+
NATURAL_FINANCE_REPORT_STAT_BY_DAY 按日累计报税数据导出
|
|
3584
|
+
*/
|
|
3583
3585
|
DataType: string
|
|
3584
3586
|
}
|
|
3585
3587
|
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
StartMigrateJobRequest,
|
|
26
26
|
StepTip,
|
|
27
27
|
DestroyMigrateJobRequest,
|
|
28
|
+
SkipCheckItemResponse,
|
|
28
29
|
ResizeSyncJobResponse,
|
|
29
30
|
ResumeMigrateJobResponse,
|
|
30
31
|
DifferenceItem,
|
|
@@ -71,6 +72,8 @@ import {
|
|
|
71
72
|
SkippedItem,
|
|
72
73
|
DestroyMigrateJobResponse,
|
|
73
74
|
ProcessProgress,
|
|
75
|
+
SkipSyncCheckItemRequest,
|
|
76
|
+
SkipSyncCheckItemResponse,
|
|
74
77
|
IsolateSyncJobResponse,
|
|
75
78
|
CreateMigrateCheckJobRequest,
|
|
76
79
|
DescribeMigrationJobsRequest,
|
|
@@ -104,6 +107,7 @@ import {
|
|
|
104
107
|
StartCompareResponse,
|
|
105
108
|
CreateCompareTaskResponse,
|
|
106
109
|
StopCompareResponse,
|
|
110
|
+
SkipCheckItemRequest,
|
|
107
111
|
CompareAbstractInfo,
|
|
108
112
|
CheckStep,
|
|
109
113
|
CompareTaskItem,
|
|
@@ -330,6 +334,16 @@ export class Client extends AbstractClient {
|
|
|
330
334
|
return this.request("DescribeMigrateDBInstances", req, cb)
|
|
331
335
|
}
|
|
332
336
|
|
|
337
|
+
/**
|
|
338
|
+
* 本接口用于校验检查项不通过后,可进行跳过此校验项操作,后端将不再校验该项。任何校验步骤都是不应该跳过的,通过校验是能正确执行的前置条件。支持跳过的产品及链路的校验项可 [参考文档](https://cloud.tencent.com/document/product/571/61639)。
|
|
339
|
+
*/
|
|
340
|
+
async SkipCheckItem(
|
|
341
|
+
req: SkipCheckItemRequest,
|
|
342
|
+
cb?: (error: string, rep: SkipCheckItemResponse) => void
|
|
343
|
+
): Promise<SkipCheckItemResponse> {
|
|
344
|
+
return this.request("SkipCheckItem", req, cb)
|
|
345
|
+
}
|
|
346
|
+
|
|
333
347
|
/**
|
|
334
348
|
* 校验迁移任务,
|
|
335
349
|
在开始迁移前, 必须调用本接口创建校验迁移任务, 且校验成功后才能开始迁移. 校验的结果可以通过DescribeMigrationCheckJob查看,
|
|
@@ -363,6 +377,16 @@ export class Client extends AbstractClient {
|
|
|
363
377
|
return this.request("DescribeCompareTasks", req, cb)
|
|
364
378
|
}
|
|
365
379
|
|
|
380
|
+
/**
|
|
381
|
+
* 本接口用于校验检查项不通过后,可进行跳过此校验项操作,后端将不再校验该项。任何校验步骤都是不应该跳过的,通过校验是能正确执行的前置条件。支持跳过的产品及链路的校验项可 [参考文档](https://cloud.tencent.com/document/product/571/61639)。
|
|
382
|
+
*/
|
|
383
|
+
async SkipSyncCheckItem(
|
|
384
|
+
req: SkipSyncCheckItemRequest,
|
|
385
|
+
cb?: (error: string, rep: SkipSyncCheckItemResponse) => void
|
|
386
|
+
): Promise<SkipSyncCheckItemResponse> {
|
|
387
|
+
return this.request("SkipSyncCheckItem", req, cb)
|
|
388
|
+
}
|
|
389
|
+
|
|
366
390
|
/**
|
|
367
391
|
* 查询数据迁移任务列表
|
|
368
392
|
*/
|
|
@@ -127,6 +127,16 @@ export interface DestroyMigrateJobRequest {
|
|
|
127
127
|
JobId?: string
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* SkipCheckItem返回参数结构体
|
|
132
|
+
*/
|
|
133
|
+
export interface SkipCheckItemResponse {
|
|
134
|
+
/**
|
|
135
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
136
|
+
*/
|
|
137
|
+
RequestId?: string
|
|
138
|
+
}
|
|
139
|
+
|
|
130
140
|
/**
|
|
131
141
|
* ResizeSyncJob返回参数结构体
|
|
132
142
|
*/
|
|
@@ -1076,6 +1086,31 @@ export interface ProcessProgress {
|
|
|
1076
1086
|
Steps: Array<StepDetailInfo>
|
|
1077
1087
|
}
|
|
1078
1088
|
|
|
1089
|
+
/**
|
|
1090
|
+
* SkipSyncCheckItem请求参数结构体
|
|
1091
|
+
*/
|
|
1092
|
+
export interface SkipSyncCheckItemRequest {
|
|
1093
|
+
/**
|
|
1094
|
+
* 任务id,如:sync-4ddgid2
|
|
1095
|
+
*/
|
|
1096
|
+
JobId: string
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* 需要跳过校验项的步骤id,需要通过`DescribeCheckSyncJobResult`接口返回StepInfos[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
1100
|
+
*/
|
|
1101
|
+
StepIds: Array<string>
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* SkipSyncCheckItem返回参数结构体
|
|
1106
|
+
*/
|
|
1107
|
+
export interface SkipSyncCheckItemResponse {
|
|
1108
|
+
/**
|
|
1109
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1110
|
+
*/
|
|
1111
|
+
RequestId?: string
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1079
1114
|
/**
|
|
1080
1115
|
* IsolateSyncJob返回参数结构体
|
|
1081
1116
|
*/
|
|
@@ -2288,6 +2323,21 @@ export interface StopCompareResponse {
|
|
|
2288
2323
|
RequestId?: string
|
|
2289
2324
|
}
|
|
2290
2325
|
|
|
2326
|
+
/**
|
|
2327
|
+
* SkipCheckItem请求参数结构体
|
|
2328
|
+
*/
|
|
2329
|
+
export interface SkipCheckItemRequest {
|
|
2330
|
+
/**
|
|
2331
|
+
* 数据迁移任务ID
|
|
2332
|
+
*/
|
|
2333
|
+
JobId: string
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* 需要跳过校验项的步骤id,需要通过DescribeMigrationCheckJob接口返回StepInfo[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
2337
|
+
*/
|
|
2338
|
+
StepIds: Array<string>
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2291
2341
|
/**
|
|
2292
2342
|
* 一致性校验摘要信息
|
|
2293
2343
|
*/
|
|
@@ -229,118 +229,6 @@ export class Client extends AbstractClient {
|
|
|
229
229
|
* 创建签署流程电子文档
|
|
230
230
|
适用场景:见创建签署流程接口。
|
|
231
231
|
注:该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。是“发起流程”接口的前置接口。
|
|
232
|
-
|
|
233
|
-
【动态表格传参说明】
|
|
234
|
-
当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
|
|
235
|
-
输入示例1:
|
|
236
|
-
|
|
237
|
-
```
|
|
238
|
-
{
|
|
239
|
-
"headers":[
|
|
240
|
-
{
|
|
241
|
-
"content":"head1"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"content":"head2"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"content":"head3"
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
|
-
"rowCount":3,
|
|
251
|
-
"body":{
|
|
252
|
-
"cells":[
|
|
253
|
-
{
|
|
254
|
-
"rowStart":1,
|
|
255
|
-
"rowEnd":1,
|
|
256
|
-
"columnStart":1,
|
|
257
|
-
"columnEnd":1,
|
|
258
|
-
"content":"123"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"rowStart":2,
|
|
262
|
-
"rowEnd":3,
|
|
263
|
-
"columnStart":1,
|
|
264
|
-
"columnEnd":2,
|
|
265
|
-
"content":"456"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"rowStart":3,
|
|
269
|
-
"rowEnd":3,
|
|
270
|
-
"columnStart":3,
|
|
271
|
-
"columnEnd":3,
|
|
272
|
-
"content":"789"
|
|
273
|
-
}
|
|
274
|
-
]
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
输入示例2(表格表头宽度比例配置):
|
|
281
|
-
|
|
282
|
-
```
|
|
283
|
-
{
|
|
284
|
-
"headers":[
|
|
285
|
-
{
|
|
286
|
-
"content":"head1",
|
|
287
|
-
"widthPercent": 30
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"content":"head2",
|
|
291
|
-
"widthPercent": 30
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"content":"head3",
|
|
295
|
-
"widthPercent": 40
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"rowCount":3,
|
|
299
|
-
"body":{
|
|
300
|
-
"cells":[
|
|
301
|
-
{
|
|
302
|
-
"rowStart":1,
|
|
303
|
-
"rowEnd":1,
|
|
304
|
-
"columnStart":1,
|
|
305
|
-
"columnEnd":1,
|
|
306
|
-
"content":"123"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"rowStart":2,
|
|
310
|
-
"rowEnd":3,
|
|
311
|
-
"columnStart":1,
|
|
312
|
-
"columnEnd":2,
|
|
313
|
-
"content":"456"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"rowStart":3,
|
|
317
|
-
"rowEnd":3,
|
|
318
|
-
"columnStart":3,
|
|
319
|
-
"columnEnd":3,
|
|
320
|
-
"content":"789"
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
```
|
|
327
|
-
表格参数说明
|
|
328
|
-
|
|
329
|
-
| 名称 | 类型 | 描述 |
|
|
330
|
-
| ------------------- | ------- | ------------------------------------------------- |
|
|
331
|
-
| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
|
332
|
-
| rowCount | Integer | 表格内容最大行数 |
|
|
333
|
-
| cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
|
334
|
-
| cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
|
335
|
-
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
336
|
-
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
337
|
-
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
338
|
-
|
|
339
|
-
表格参数headers说明
|
|
340
|
-
| 名称 | 类型 | 描述 |
|
|
341
|
-
| ------------------- | ------- | ------------------------------------------------- |
|
|
342
|
-
| widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
|
|
343
|
-
| content | String | 表头单元格内容,字数不超过100 |
|
|
344
232
|
*/
|
|
345
233
|
async CreateDocument(
|
|
346
234
|
req: CreateDocumentRequest,
|
|
@@ -472,7 +360,7 @@ export class Client extends AbstractClient {
|
|
|
472
360
|
/**
|
|
473
361
|
* 此接口(UploadFiles)用于文件上传。
|
|
474
362
|
适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
|
|
475
|
-
调用时需要设置Domain
|
|
363
|
+
调用时需要设置Domain/接口请求域名为 file.ess.tencent.cn,并设置参数Version/版本号为2020-12-22
|
|
476
364
|
*/
|
|
477
365
|
async UploadFiles(
|
|
478
366
|
req: UploadFilesRequest,
|