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
|
@@ -48,9 +48,9 @@ it("dnspod.v20210323.ModifySubdomainStatus", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("dnspod.v20210323.
|
|
51
|
+
it("dnspod.v20210323.DescribeRecordType", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DescribeRecordType({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -88,6 +88,16 @@ it("dnspod.v20210323.ModifyRecordStatus", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("dnspod.v20210323.ModifyVasAutoRenewStatus", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyVasAutoRenewStatus({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
91
101
|
it("dnspod.v20210323.ModifyDomainStatus", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.ModifyDomainStatus({})
|
|
@@ -128,6 +138,16 @@ it("dnspod.v20210323.DescribeDomainShareInfo", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
141
|
+
it("dnspod.v20210323.CreateDeal", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateDeal({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
131
151
|
it("dnspod.v20210323.DeleteShareDomain", async function () {
|
|
132
152
|
try {
|
|
133
153
|
const data = await client.DeleteShareDomain({})
|
|
@@ -158,9 +178,9 @@ it("dnspod.v20210323.ModifyDynamicDNS", async function () {
|
|
|
158
178
|
}
|
|
159
179
|
})
|
|
160
180
|
|
|
161
|
-
it("dnspod.v20210323.
|
|
181
|
+
it("dnspod.v20210323.CreateRecordBatch", async function () {
|
|
162
182
|
try {
|
|
163
|
-
const data = await client.
|
|
183
|
+
const data = await client.CreateRecordBatch({})
|
|
164
184
|
expect(data).to.be.ok
|
|
165
185
|
} catch(error) {
|
|
166
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +198,9 @@ it("dnspod.v20210323.DescribeUserDetail", async function () {
|
|
|
178
198
|
}
|
|
179
199
|
})
|
|
180
200
|
|
|
181
|
-
it("dnspod.v20210323.
|
|
201
|
+
it("dnspod.v20210323.DeleteRecord", async function () {
|
|
182
202
|
try {
|
|
183
|
-
const data = await client.
|
|
203
|
+
const data = await client.DeleteRecord({})
|
|
184
204
|
expect(data).to.be.ok
|
|
185
205
|
} catch(error) {
|
|
186
206
|
expect(error.requestId).to.be.ok
|
|
@@ -218,6 +238,16 @@ it("dnspod.v20210323.DescribeDomainAnalytics", async function () {
|
|
|
218
238
|
}
|
|
219
239
|
})
|
|
220
240
|
|
|
241
|
+
it("dnspod.v20210323.ModifyPackageAutoRenew", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ModifyPackageAutoRenew({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
221
251
|
it("dnspod.v20210323.ModifyRecordRemark", async function () {
|
|
222
252
|
try {
|
|
223
253
|
const data = await client.ModifyRecordRemark({})
|
|
@@ -298,9 +328,19 @@ it("dnspod.v20210323.DescribeBatchTask", async function () {
|
|
|
298
328
|
}
|
|
299
329
|
})
|
|
300
330
|
|
|
301
|
-
it("dnspod.v20210323.
|
|
331
|
+
it("dnspod.v20210323.CreateDomain", async function () {
|
|
302
332
|
try {
|
|
303
|
-
const data = await client.
|
|
333
|
+
const data = await client.CreateDomain({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
it("dnspod.v20210323.PayOrderWithBalance", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.PayOrderWithBalance({})
|
|
304
344
|
expect(data).to.be.ok
|
|
305
345
|
} catch(error) {
|
|
306
346
|
expect(error.requestId).to.be.ok
|
|
@@ -98,6 +98,16 @@ it("waf.v20180125.CreateAccessExport", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("waf.v20180125.DescribeInstances", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeInstances({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DeleteIpAccessControl({})
|
|
@@ -138,9 +148,9 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
141
|
-
it("waf.v20180125.
|
|
151
|
+
it("waf.v20180125.DescribeUserClbWafRegions", async function () {
|
|
142
152
|
try {
|
|
143
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeUserClbWafRegions({})
|
|
144
154
|
expect(data).to.be.ok
|
|
145
155
|
} catch(error) {
|
|
146
156
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +238,9 @@ it("waf.v20180125.ModifyWafAutoDenyRules", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
231
|
-
it("waf.v20180125.
|
|
241
|
+
it("waf.v20180125.CreateAttackDownloadTask", async function () {
|
|
232
242
|
try {
|
|
233
|
-
const data = await client.
|
|
243
|
+
const data = await client.CreateAttackDownloadTask({})
|
|
234
244
|
expect(data).to.be.ok
|
|
235
245
|
} catch(error) {
|
|
236
246
|
expect(error.requestId).to.be.ok
|