tencentcloud-sdk-nodejs 4.0.367 → 4.0.368
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 +176 -0
- package/SERVICE_CHANGELOG.md +251 -45
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +12 -0
- package/src/services/cwp/v20180228/cwp_client.ts +1 -0
- package/src/services/cwp/v20180228/cwp_models.ts +38 -2
- package/src/services/dnspod/v20210323/dnspod_client.ts +75 -26
- package/src/services/dnspod/v20210323/dnspod_models.ts +184 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
- package/src/services/monitor/v20180724/monitor_models.ts +9 -4
- package/src/services/tcbr/v20220217/tcbr_models.ts +1 -1
- package/src/services/teo/v20220106/teo_models.ts +3 -3
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +16 -15
- package/src/services/vpc/v20170312/vpc_client.ts +2 -0
- package/src/services/vpc/v20170312/vpc_models.ts +106 -1
- package/src/services/waf/v20180125/waf_client.ts +37 -20
- package/src/services/waf/v20180125/waf_models.ts +435 -129
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -2
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +26 -10
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +37 -13
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +159 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +8 -4
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -12
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +87 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +363 -108
- package/test/dnspod.v20210323.test.js +48 -8
- package/test/waf.v20180125.test.js +14 -4
package/products.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
|
|
9
9
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
10
|
-
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-06-
|
|
10
|
+
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-06-23 06:06:13 |
|
|
11
11
|
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-06-16 06:00:42 |
|
|
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 |
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-06-14 06:05:10 |
|
|
16
16
|
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-06-21 06:01:15 |
|
|
17
17
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-06-02 06:02:22 |
|
|
18
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-06-
|
|
18
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-06-23 06:06:50 |
|
|
19
19
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
20
20
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
21
21
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-05-31 06:04:46 |
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-06-20 06:03:42 |
|
|
40
40
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-06-15 06:04:37 |
|
|
41
41
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-05-16 17:18:07 |
|
|
42
|
-
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-06-
|
|
42
|
+
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-06-23 06:08:11 |
|
|
43
43
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
44
44
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-05-24 06:08:29 |
|
|
45
45
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-22 06:05:01 |
|
|
61
61
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
62
62
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-16 06:04:38 |
|
|
63
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-
|
|
63
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-23 06:10:09 |
|
|
64
64
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
65
65
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-06-15 06:07:21 |
|
|
66
66
|
| dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-06-01 20:56:43 |
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
|
|
71
71
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-05-31 06:09:47 |
|
|
72
72
|
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-21 06:06:29 |
|
|
73
|
-
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-06-
|
|
73
|
+
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-06-23 06:11:27 |
|
|
74
74
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
|
|
75
75
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
76
76
|
| ds | [电子合同服务](https://cloud.tencent.com/document/product/869) | 2022-04-04 06:38:52 |
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-09 06:11:36 |
|
|
86
86
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-06-20 06:08:20 |
|
|
87
87
|
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-15 06:09:03 |
|
|
88
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-
|
|
88
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-23 06:12:30 |
|
|
89
89
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
90
90
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-06-02 06:08:18 |
|
|
91
91
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-14 11:16:30 |
|
|
124
124
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
125
125
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
|
|
126
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-06-
|
|
126
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-06-23 06:15:13 |
|
|
127
127
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-05-25 06:12:20 |
|
|
128
128
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-08 06:12:58 |
|
|
129
129
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
|
|
167
167
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2022-04-08 06:12:54 |
|
|
168
168
|
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-04-26 06:16:06 |
|
|
169
|
-
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-06-
|
|
169
|
+
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-06-23 06:18:22 |
|
|
170
170
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-04-04 07:10:49 |
|
|
171
171
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
172
172
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-06-08 06:15:21 |
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
|
|
177
177
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-06-13 06:18:15 |
|
|
178
178
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-20 06:14:36 |
|
|
179
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-
|
|
179
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-23 06:19:17 |
|
|
180
180
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
|
|
181
181
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
182
182
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
|
|
@@ -186,22 +186,22 @@
|
|
|
186
186
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-15 06:15:49 |
|
|
187
187
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-06-07 22:05:59 |
|
|
188
188
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
|
|
189
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-
|
|
189
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-23 06:19:48 |
|
|
190
190
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
191
191
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
192
192
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
193
193
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-06-07 16:18:00 |
|
|
194
194
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-21 06:15:46 |
|
|
195
|
-
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-
|
|
195
|
+
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-23 06:20:18 |
|
|
196
196
|
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-06-21 06:15:54 |
|
|
197
197
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
198
198
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
|
|
199
199
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
200
|
-
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-
|
|
200
|
+
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-23 06:20:49 |
|
|
201
201
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
202
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-
|
|
203
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-
|
|
204
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-
|
|
202
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-23 06:20:52 |
|
|
203
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-23 06:21:17 |
|
|
204
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-06-23 06:22:00 |
|
|
205
205
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
206
206
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
207
207
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.368"
|
|
@@ -275,7 +275,7 @@ export class Client extends AbstractClient {
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
|
-
* 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac
|
|
278
|
+
* 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
|
|
279
279
|
*/
|
|
280
280
|
async SentenceRecognition(
|
|
281
281
|
req: SentenceRecognitionRequest,
|
|
@@ -7443,6 +7443,18 @@ export interface CreateVerifyRecordResponse {
|
|
|
7443
7443
|
*/
|
|
7444
7444
|
FileVerifyUrl: string
|
|
7445
7445
|
|
|
7446
|
+
/**
|
|
7447
|
+
* 文件校验域名列表
|
|
7448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7449
|
+
*/
|
|
7450
|
+
FileVerifyDomains: Array<string>
|
|
7451
|
+
|
|
7452
|
+
/**
|
|
7453
|
+
* 文件校验文件名
|
|
7454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7455
|
+
*/
|
|
7456
|
+
FileVerifyName: string
|
|
7457
|
+
|
|
7446
7458
|
/**
|
|
7447
7459
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7448
7460
|
*/
|
|
@@ -888,6 +888,36 @@ export interface TrustMalwaresRequest {
|
|
|
888
888
|
Ids: Array<number>
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
+
/**
|
|
892
|
+
* 授权订单对象内容
|
|
893
|
+
*/
|
|
894
|
+
export interface LicenseOrder {
|
|
895
|
+
/**
|
|
896
|
+
* 授权ID
|
|
897
|
+
*/
|
|
898
|
+
LicenseId: number
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* 授权类型
|
|
902
|
+
*/
|
|
903
|
+
LicenseType: number
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* 授权订单资源状态
|
|
907
|
+
*/
|
|
908
|
+
Status: number
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* 订单类型
|
|
912
|
+
*/
|
|
913
|
+
SourceType: number
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* 资源ID
|
|
917
|
+
*/
|
|
918
|
+
ResourceId: string
|
|
919
|
+
}
|
|
920
|
+
|
|
891
921
|
/**
|
|
892
922
|
* ExportVulEffectHostList请求参数结构体
|
|
893
923
|
*/
|
|
@@ -5524,6 +5554,12 @@ export interface EffectiveMachineInfo {
|
|
|
5524
5554
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5525
5555
|
*/
|
|
5526
5556
|
MachineStatus: string
|
|
5557
|
+
|
|
5558
|
+
/**
|
|
5559
|
+
* 授权订单对象
|
|
5560
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5561
|
+
*/
|
|
5562
|
+
LicenseOrder: LicenseOrder
|
|
5527
5563
|
}
|
|
5528
5564
|
|
|
5529
5565
|
/**
|
|
@@ -8249,8 +8285,8 @@ export interface DescribeImportMachineInfoRequest {
|
|
|
8249
8285
|
IsQueryProMachine?: boolean
|
|
8250
8286
|
|
|
8251
8287
|
/**
|
|
8252
|
-
*
|
|
8253
|
-
<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship
|
|
8288
|
+
* 过滤条件:
|
|
8289
|
+
<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship:旗舰版 | ProtectedMachines:专业版+旗舰版) | BASIC_PROPOST_GENERAL_DISCOUNT:普惠版+专业版按量计费+基础版主机 | UnFlagship:专业版预付费+专业版后付费+基础版+普惠版</li>
|
|
8254
8290
|
*/
|
|
8255
8291
|
Filters?: Array<Filters>
|
|
8256
8292
|
}
|
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
CreateRecordRequest,
|
|
22
22
|
DescribeBatchTaskDetail,
|
|
23
|
+
ModifyVasAutoRenewStatusResponse,
|
|
23
24
|
DeleteDomainAliasResponse,
|
|
24
25
|
ModifySubdomainStatusRequest,
|
|
25
26
|
CreateRecordBatchResponse,
|
|
@@ -27,6 +28,7 @@ import {
|
|
|
27
28
|
DomainAnalyticsInfo,
|
|
28
29
|
DescribeBatchTaskRequest,
|
|
29
30
|
DomainAnalyticsDetail,
|
|
31
|
+
PayOrderWithBalanceResponse,
|
|
30
32
|
DescribeDomainResponse,
|
|
31
33
|
DescribeRecordLineListResponse,
|
|
32
34
|
DomainInfo,
|
|
@@ -43,12 +45,14 @@ import {
|
|
|
43
45
|
LineGroupInfo,
|
|
44
46
|
DeleteDomainRequest,
|
|
45
47
|
ModifyDomainOwnerRequest,
|
|
48
|
+
ModifyPackageAutoRenewRequest,
|
|
46
49
|
DomainShareInfo,
|
|
47
50
|
DescribeRecordLineListRequest,
|
|
48
51
|
DescribeRecordListResponse,
|
|
49
52
|
CreateRecordBatchRequest,
|
|
50
53
|
DeleteDomainAliasRequest,
|
|
51
54
|
DomainAliasInfo,
|
|
55
|
+
CreateDealRequest,
|
|
52
56
|
ModifyDomainLockRequest,
|
|
53
57
|
ModifyDomainStatusRequest,
|
|
54
58
|
SubdomainAliasAnalyticsItem,
|
|
@@ -85,12 +89,15 @@ import {
|
|
|
85
89
|
ModifyRecordBatchDetail,
|
|
86
90
|
DescribeUserDetailResponse,
|
|
87
91
|
CreateDomainRequest,
|
|
92
|
+
ModifyPackageAutoRenewResponse,
|
|
88
93
|
DomainAliasAnalyticsItem,
|
|
89
94
|
DescribeDomainShareInfoResponse,
|
|
90
95
|
ModifyDomainRemarkRequest,
|
|
91
96
|
CreateDomainAliasResponse,
|
|
92
97
|
DescribeRecordListRequest,
|
|
98
|
+
PayOrderWithBalanceRequest,
|
|
93
99
|
DescribeDomainPurviewResponse,
|
|
100
|
+
Deals,
|
|
94
101
|
ModifySubdomainStatusResponse,
|
|
95
102
|
DescribeDomainAnalyticsResponse,
|
|
96
103
|
ModifyRecordStatusResponse,
|
|
@@ -111,6 +118,8 @@ import {
|
|
|
111
118
|
CreateDomainBatchDetail,
|
|
112
119
|
ModifyDomainUnlockRequest,
|
|
113
120
|
ModifyDomainLockResponse,
|
|
121
|
+
CreateDealResponse,
|
|
122
|
+
ModifyVasAutoRenewStatusRequest,
|
|
114
123
|
LockInfo,
|
|
115
124
|
DescribeBatchTaskResponse,
|
|
116
125
|
DescribeDomainAnalyticsRequest,
|
|
@@ -157,13 +166,13 @@ export class Client extends AbstractClient {
|
|
|
157
166
|
}
|
|
158
167
|
|
|
159
168
|
/**
|
|
160
|
-
*
|
|
169
|
+
* 获取等级允许的记录类型
|
|
161
170
|
*/
|
|
162
|
-
async
|
|
163
|
-
req:
|
|
164
|
-
cb?: (error: string, rep:
|
|
165
|
-
): Promise<
|
|
166
|
-
return this.request("
|
|
171
|
+
async DescribeRecordType(
|
|
172
|
+
req: DescribeRecordTypeRequest,
|
|
173
|
+
cb?: (error: string, rep: DescribeRecordTypeResponse) => void
|
|
174
|
+
): Promise<DescribeRecordTypeResponse> {
|
|
175
|
+
return this.request("DescribeRecordType", req, cb)
|
|
167
176
|
}
|
|
168
177
|
|
|
169
178
|
/**
|
|
@@ -196,6 +205,16 @@ export class Client extends AbstractClient {
|
|
|
196
205
|
return this.request("ModifyRecordStatus", req, cb)
|
|
197
206
|
}
|
|
198
207
|
|
|
208
|
+
/**
|
|
209
|
+
* 增值服务自动续费设置
|
|
210
|
+
*/
|
|
211
|
+
async ModifyVasAutoRenewStatus(
|
|
212
|
+
req: ModifyVasAutoRenewStatusRequest,
|
|
213
|
+
cb?: (error: string, rep: ModifyVasAutoRenewStatusResponse) => void
|
|
214
|
+
): Promise<ModifyVasAutoRenewStatusResponse> {
|
|
215
|
+
return this.request("ModifyVasAutoRenewStatus", req, cb)
|
|
216
|
+
}
|
|
217
|
+
|
|
199
218
|
/**
|
|
200
219
|
* 修改域名状态
|
|
201
220
|
*/
|
|
@@ -236,6 +255,16 @@ export class Client extends AbstractClient {
|
|
|
236
255
|
return this.request("DescribeDomainShareInfo", req, cb)
|
|
237
256
|
}
|
|
238
257
|
|
|
258
|
+
/**
|
|
259
|
+
* DNSPod商品下单
|
|
260
|
+
*/
|
|
261
|
+
async CreateDeal(
|
|
262
|
+
req: CreateDealRequest,
|
|
263
|
+
cb?: (error: string, rep: CreateDealResponse) => void
|
|
264
|
+
): Promise<CreateDealResponse> {
|
|
265
|
+
return this.request("CreateDeal", req, cb)
|
|
266
|
+
}
|
|
267
|
+
|
|
239
268
|
/**
|
|
240
269
|
* 删除域名共享
|
|
241
270
|
*/
|
|
@@ -268,14 +297,13 @@ export class Client extends AbstractClient {
|
|
|
268
297
|
}
|
|
269
298
|
|
|
270
299
|
/**
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
return this.request("CreateDomain", req, cb)
|
|
300
|
+
* 批量添加记录
|
|
301
|
+
*/
|
|
302
|
+
async CreateRecordBatch(
|
|
303
|
+
req: CreateRecordBatchRequest,
|
|
304
|
+
cb?: (error: string, rep: CreateRecordBatchResponse) => void
|
|
305
|
+
): Promise<CreateRecordBatchResponse> {
|
|
306
|
+
return this.request("CreateRecordBatch", req, cb)
|
|
279
307
|
}
|
|
280
308
|
|
|
281
309
|
/**
|
|
@@ -289,13 +317,13 @@ export class Client extends AbstractClient {
|
|
|
289
317
|
}
|
|
290
318
|
|
|
291
319
|
/**
|
|
292
|
-
*
|
|
320
|
+
* 删除记录
|
|
293
321
|
*/
|
|
294
|
-
async
|
|
295
|
-
req:
|
|
296
|
-
cb?: (error: string, rep:
|
|
297
|
-
): Promise<
|
|
298
|
-
return this.request("
|
|
322
|
+
async DeleteRecord(
|
|
323
|
+
req: DeleteRecordRequest,
|
|
324
|
+
cb?: (error: string, rep: DeleteRecordResponse) => void
|
|
325
|
+
): Promise<DeleteRecordResponse> {
|
|
326
|
+
return this.request("DeleteRecord", req, cb)
|
|
299
327
|
}
|
|
300
328
|
|
|
301
329
|
/**
|
|
@@ -328,6 +356,16 @@ export class Client extends AbstractClient {
|
|
|
328
356
|
return this.request("DescribeDomainAnalytics", req, cb)
|
|
329
357
|
}
|
|
330
358
|
|
|
359
|
+
/**
|
|
360
|
+
* DNS 解析套餐自动续费设置
|
|
361
|
+
*/
|
|
362
|
+
async ModifyPackageAutoRenew(
|
|
363
|
+
req: ModifyPackageAutoRenewRequest,
|
|
364
|
+
cb?: (error: string, rep: ModifyPackageAutoRenewResponse) => void
|
|
365
|
+
): Promise<ModifyPackageAutoRenewResponse> {
|
|
366
|
+
return this.request("ModifyPackageAutoRenew", req, cb)
|
|
367
|
+
}
|
|
368
|
+
|
|
331
369
|
/**
|
|
332
370
|
* 设置记录备注
|
|
333
371
|
*/
|
|
@@ -410,13 +448,24 @@ export class Client extends AbstractClient {
|
|
|
410
448
|
}
|
|
411
449
|
|
|
412
450
|
/**
|
|
413
|
-
|
|
451
|
+
* 添加域名
|
|
452
|
+
|
|
453
|
+
*/
|
|
454
|
+
async CreateDomain(
|
|
455
|
+
req: CreateDomainRequest,
|
|
456
|
+
cb?: (error: string, rep: CreateDomainResponse) => void
|
|
457
|
+
): Promise<CreateDomainResponse> {
|
|
458
|
+
return this.request("CreateDomain", req, cb)
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* DNSPod商品余额支付
|
|
414
463
|
*/
|
|
415
|
-
async
|
|
416
|
-
req:
|
|
417
|
-
cb?: (error: string, rep:
|
|
418
|
-
): Promise<
|
|
419
|
-
return this.request("
|
|
464
|
+
async PayOrderWithBalance(
|
|
465
|
+
req: PayOrderWithBalanceRequest,
|
|
466
|
+
cb?: (error: string, rep: PayOrderWithBalanceResponse) => void
|
|
467
|
+
): Promise<PayOrderWithBalanceResponse> {
|
|
468
|
+
return this.request("PayOrderWithBalance", req, cb)
|
|
420
469
|
}
|
|
421
470
|
|
|
422
471
|
/**
|
|
@@ -127,6 +127,16 @@ export interface DescribeBatchTaskDetail {
|
|
|
127
127
|
DomainId: number
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* ModifyVasAutoRenewStatus返回参数结构体
|
|
132
|
+
*/
|
|
133
|
+
export interface ModifyVasAutoRenewStatusResponse {
|
|
134
|
+
/**
|
|
135
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
136
|
+
*/
|
|
137
|
+
RequestId?: string
|
|
138
|
+
}
|
|
139
|
+
|
|
130
140
|
/**
|
|
131
141
|
* DeleteDomainAlias返回参数结构体
|
|
132
142
|
*/
|
|
@@ -306,6 +316,31 @@ export interface DomainAnalyticsDetail {
|
|
|
306
316
|
HourKey: number
|
|
307
317
|
}
|
|
308
318
|
|
|
319
|
+
/**
|
|
320
|
+
* PayOrderWithBalance返回参数结构体
|
|
321
|
+
*/
|
|
322
|
+
export interface PayOrderWithBalanceResponse {
|
|
323
|
+
/**
|
|
324
|
+
* 此次操作支付成功的订单id数组
|
|
325
|
+
*/
|
|
326
|
+
DealIdList: Array<string>
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* 此次操作支付成功的大订单号数组
|
|
330
|
+
*/
|
|
331
|
+
BigDealIdList: Array<string>
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* 此次操作支付成功的订单号数组
|
|
335
|
+
*/
|
|
336
|
+
DealNameList: Array<string>
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
340
|
+
*/
|
|
341
|
+
RequestId?: string
|
|
342
|
+
}
|
|
343
|
+
|
|
309
344
|
/**
|
|
310
345
|
* DescribeDomain返回参数结构体
|
|
311
346
|
*/
|
|
@@ -880,6 +915,21 @@ export interface ModifyDomainOwnerRequest {
|
|
|
880
915
|
DomainId?: number
|
|
881
916
|
}
|
|
882
917
|
|
|
918
|
+
/**
|
|
919
|
+
* ModifyPackageAutoRenew请求参数结构体
|
|
920
|
+
*/
|
|
921
|
+
export interface ModifyPackageAutoRenewRequest {
|
|
922
|
+
/**
|
|
923
|
+
* 资源ID
|
|
924
|
+
*/
|
|
925
|
+
ResourceId: string
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* enable 开启自动续费;disable 关闭自动续费
|
|
929
|
+
*/
|
|
930
|
+
Status: string
|
|
931
|
+
}
|
|
932
|
+
|
|
883
933
|
/**
|
|
884
934
|
* 域名共享信息
|
|
885
935
|
*/
|
|
@@ -992,6 +1042,65 @@ export interface DomainAliasInfo {
|
|
|
992
1042
|
DomainAlias: string
|
|
993
1043
|
}
|
|
994
1044
|
|
|
1045
|
+
/**
|
|
1046
|
+
* CreateDeal请求参数结构体
|
|
1047
|
+
*/
|
|
1048
|
+
export interface CreateDealRequest {
|
|
1049
|
+
/**
|
|
1050
|
+
* 询价类型,1 新购,2 续费,3 套餐升级(增值服务暂时只支持新购)
|
|
1051
|
+
*/
|
|
1052
|
+
DealType: number
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* 商品类型,1 域名套餐 2 增值服务
|
|
1056
|
+
*/
|
|
1057
|
+
GoodsType: number
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* 套餐类型:
|
|
1061
|
+
DP_PLUS:专业版
|
|
1062
|
+
DP_EXPERT:企业版
|
|
1063
|
+
DP_ULTRA:尊享版
|
|
1064
|
+
|
|
1065
|
+
增值服务类型
|
|
1066
|
+
LB:负载均衡
|
|
1067
|
+
URL:URL转发
|
|
1068
|
+
DMONITOR_TASKS:D监控任务数
|
|
1069
|
+
DMONITOR_IP:D监控备用 IP 数
|
|
1070
|
+
CUSTOMLINE:自定义线路数
|
|
1071
|
+
*/
|
|
1072
|
+
GoodsChildType: string
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* 增值服务购买数量,如果是域名套餐固定为1,如果是增值服务则按以下规则:
|
|
1076
|
+
负载均衡、D监控任务数、D监控备用 IP 数、自定义线路数、URL 转发(必须是5的正整数倍,如 5、10、15 等)
|
|
1077
|
+
*/
|
|
1078
|
+
GoodsNum: number
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* 是否开启自动续费,1 开启,2 不开启(增值服务暂不支持自动续费),默认值为 2 不开启
|
|
1082
|
+
*/
|
|
1083
|
+
AutoRenew: number
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* 需要绑定套餐的域名,如 dnspod.cn,如果是续费或升级,domain 参数必须要传,新购可不传。
|
|
1087
|
+
*/
|
|
1088
|
+
Domain?: string
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* 套餐时长:
|
|
1092
|
+
1. 套餐以月为单位(按月只能是 3、6 还有 12 的倍数),套餐例如购买一年则传12,最大120 。(续费最低一年)
|
|
1093
|
+
2. 升级套餐时不需要传。
|
|
1094
|
+
3. 增值服务的时长单位为年,买一年传1(增值服务新购按年只能是 1,增值服务续费最大为 10)
|
|
1095
|
+
*/
|
|
1096
|
+
TimeSpan?: number
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* 套餐类型,需要升级到的套餐类型,只有升级时需要。
|
|
1100
|
+
*/
|
|
1101
|
+
NewPackageType?: string
|
|
1102
|
+
}
|
|
1103
|
+
|
|
995
1104
|
/**
|
|
996
1105
|
* ModifyDomainLock请求参数结构体
|
|
997
1106
|
*/
|
|
@@ -2027,6 +2136,16 @@ export interface CreateDomainRequest {
|
|
|
2027
2136
|
IsMark?: string
|
|
2028
2137
|
}
|
|
2029
2138
|
|
|
2139
|
+
/**
|
|
2140
|
+
* ModifyPackageAutoRenew返回参数结构体
|
|
2141
|
+
*/
|
|
2142
|
+
export interface ModifyPackageAutoRenewResponse {
|
|
2143
|
+
/**
|
|
2144
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2145
|
+
*/
|
|
2146
|
+
RequestId?: string
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2030
2149
|
/**
|
|
2031
2150
|
* 域名别名解析量统计信息
|
|
2032
2151
|
*/
|
|
@@ -2162,6 +2281,21 @@ export interface DescribeRecordListRequest {
|
|
|
2162
2281
|
Limit?: number
|
|
2163
2282
|
}
|
|
2164
2283
|
|
|
2284
|
+
/**
|
|
2285
|
+
* PayOrderWithBalance请求参数结构体
|
|
2286
|
+
*/
|
|
2287
|
+
export interface PayOrderWithBalanceRequest {
|
|
2288
|
+
/**
|
|
2289
|
+
* 需要支付的大订单号数组
|
|
2290
|
+
*/
|
|
2291
|
+
BigDealIdList: Array<string>
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* 代金券ID数组
|
|
2295
|
+
*/
|
|
2296
|
+
VoucherIdList?: Array<string>
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2165
2299
|
/**
|
|
2166
2300
|
* DescribeDomainPurview返回参数结构体
|
|
2167
2301
|
*/
|
|
@@ -2177,6 +2311,21 @@ export interface DescribeDomainPurviewResponse {
|
|
|
2177
2311
|
RequestId?: string
|
|
2178
2312
|
}
|
|
2179
2313
|
|
|
2314
|
+
/**
|
|
2315
|
+
* 子订单号列表
|
|
2316
|
+
*/
|
|
2317
|
+
export interface Deals {
|
|
2318
|
+
/**
|
|
2319
|
+
* 子订单ID
|
|
2320
|
+
*/
|
|
2321
|
+
DealId: string
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* 子订单号
|
|
2325
|
+
*/
|
|
2326
|
+
DealName: string
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2180
2329
|
/**
|
|
2181
2330
|
* ModifySubdomainStatus返回参数结构体
|
|
2182
2331
|
*/
|
|
@@ -2568,6 +2717,41 @@ export interface ModifyDomainLockResponse {
|
|
|
2568
2717
|
RequestId?: string
|
|
2569
2718
|
}
|
|
2570
2719
|
|
|
2720
|
+
/**
|
|
2721
|
+
* CreateDeal返回参数结构体
|
|
2722
|
+
*/
|
|
2723
|
+
export interface CreateDealResponse {
|
|
2724
|
+
/**
|
|
2725
|
+
* 大订单号,一个大订单号下可以有多个子订单,说明是同一次下单
|
|
2726
|
+
*/
|
|
2727
|
+
BigDealId: string
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* 子订单列表
|
|
2731
|
+
*/
|
|
2732
|
+
DealList: Array<Deals>
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2736
|
+
*/
|
|
2737
|
+
RequestId?: string
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* ModifyVasAutoRenewStatus请求参数结构体
|
|
2742
|
+
*/
|
|
2743
|
+
export interface ModifyVasAutoRenewStatusRequest {
|
|
2744
|
+
/**
|
|
2745
|
+
* 资源ID
|
|
2746
|
+
*/
|
|
2747
|
+
ResourceId: string
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* enable 开启自动续费;disable 关闭自动续费
|
|
2751
|
+
*/
|
|
2752
|
+
Status: string
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2571
2755
|
/**
|
|
2572
2756
|
* 域名锁定信息
|
|
2573
2757
|
*/
|