tencentcloud-sdk-nodejs 4.0.238 → 4.0.242
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 +473 -197
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/af/v20200226/af_client.ts +20 -3
- package/src/services/af/v20200226/af_models.ts +375 -36
- package/src/services/afc/v20200226/afc_client.ts +22 -1
- package/src/services/afc/v20200226/afc_models.ts +359 -23
- package/src/services/antiddos/v20200309/antiddos_client.ts +13 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +171 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +18 -9
- package/src/services/billing/v20180709/billing_models.ts +13 -1
- package/src/services/cdb/v20170320/cdb_client.ts +6 -4
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +57 -0
- package/src/services/cfw/v20190904/cfw_client.ts +43 -6
- package/src/services/cfw/v20190904/cfw_models.ts +406 -153
- package/src/services/cii/v20210408/cii_client.ts +15 -0
- package/src/services/cii/v20210408/cii_models.ts +31 -0
- package/src/services/cvm/v20170312/cvm_models.ts +1 -0
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +143 -23
- package/src/services/ecm/v20190719/ecm_client.ts +38 -23
- package/src/services/ecm/v20190719/ecm_models.ts +199 -94
- package/src/services/faceid/v20180301/faceid_models.ts +45 -14
- package/src/services/iotvideo/v20201215/iotvideo_client.ts +30 -6
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +90 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +18 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +8 -8
- package/src/services/soe/v20180724/soe_models.ts +8 -5
- package/src/services/ssa/v20180608/ssa_client.ts +35 -5
- package/src/services/ssa/v20180608/ssa_models.ts +364 -35
- package/src/services/ssl/v20191205/ssl_models.ts +1 -1
- package/src/services/tcm/v20210413/tcm_client.ts +2 -1
- package/src/services/tcm/v20210413/tcm_models.ts +37 -8
- package/src/services/tiw/v20190919/tiw_models.ts +24 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/af/v20200226/af_client.d.ts +5 -1
- package/tencentcloud/services/af/v20200226/af_client.js +6 -0
- package/tencentcloud/services/af/v20200226/af_models.d.ts +323 -32
- package/tencentcloud/services/afc/v20200226/afc_client.d.ts +5 -1
- package/tencentcloud/services/afc/v20200226/afc_client.js +6 -0
- package/tencentcloud/services/afc/v20200226/afc_models.d.ts +306 -18
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +140 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +17 -8
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +11 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +49 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +13 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +18 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +346 -128
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +27 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +122 -22
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +11 -7
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +14 -8
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +170 -81
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +42 -14
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.d.ts +11 -3
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.js +15 -3
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +76 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +15 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -8
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +6 -3
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +9 -1
- package/tencentcloud/services/ssa/v20180608/ssa_client.js +12 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +312 -32
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +31 -6
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +21 -1
- package/test/af.v20200226.test.js +10 -0
- package/test/afc.v20200226.test.js +10 -0
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/cfw.v20190904.test.js +30 -0
- package/test/cii.v20210408.test.js +10 -0
- package/test/ecm.v20190719.test.js +14 -4
- package/test/iotvideo.v20201215.test.js +22 -2
- package/test/ssa.v20180608.test.js +20 -0
|
@@ -28,6 +28,16 @@ it("af.v20200226.QueryAntiFraud", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("af.v20200226.GetAntiFraud", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.GetAntiFraud({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
it("af.v20200226.DescribeAntiFraud", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeAntiFraud({})
|
|
@@ -28,4 +28,14 @@ it("afc.v20200226.QueryAntiFraudVip", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("afc.v20200226.GetAntiFraudVip", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.GetAntiFraudVip({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
})
|
|
@@ -148,6 +148,16 @@ it("antiddos.v20200309.DescribeListBlackWhiteIpList", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
+
it("antiddos.v20200309.ModifyNewDomainRules", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyNewDomainRules({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
151
161
|
it("antiddos.v20200309.DescribeListDDoSGeoIPBlockConfig", async function () {
|
|
152
162
|
try {
|
|
153
163
|
const data = await client.DescribeListDDoSGeoIPBlockConfig({})
|
|
@@ -258,6 +258,16 @@ it("cfw.v20190904.AddAcRule", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("cfw.v20190904.AddEnterpriseSecurityGroupRules", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.AddEnterpriseSecurityGroupRules({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
261
271
|
it("cfw.v20190904.CreateAcRules", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.CreateAcRules({})
|
|
@@ -298,6 +308,16 @@ it("cfw.v20190904.CreateSecurityGroupRules", async function () {
|
|
|
298
308
|
}
|
|
299
309
|
})
|
|
300
310
|
|
|
311
|
+
it("cfw.v20190904.RemoveEnterpriseSecurityGroupRule", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.RemoveEnterpriseSecurityGroupRule({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
301
321
|
it("cfw.v20190904.DescribeRuleOverview", async function () {
|
|
302
322
|
try {
|
|
303
323
|
const data = await client.DescribeRuleOverview({})
|
|
@@ -348,6 +368,16 @@ it("cfw.v20190904.ModifyAllVPCSwitchStatus", async function () {
|
|
|
348
368
|
}
|
|
349
369
|
})
|
|
350
370
|
|
|
371
|
+
it("cfw.v20190904.DescribeEnterpriseSecurityGroupRule", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeEnterpriseSecurityGroupRule({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
351
381
|
it("cfw.v20190904.ModifyBlockIgnoreList", async function () {
|
|
352
382
|
try {
|
|
353
383
|
const data = await client.ModifyBlockIgnoreList({})
|
|
@@ -38,6 +38,16 @@ it("cii.v20210408.DescribeStructureTaskResult", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("cii.v20210408.UploadMedicalFile", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.UploadMedicalFile({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("cii.v20210408.CreateUnderwriteTaskById", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CreateUnderwriteTaskById({})
|
|
@@ -268,9 +268,9 @@ it("ecm.v20190719.DisassociateSecurityGroups", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
-
it("ecm.v20190719.
|
|
271
|
+
it("ecm.v20190719.MigrateNetworkInterface", async function () {
|
|
272
272
|
try {
|
|
273
|
-
const data = await client.
|
|
273
|
+
const data = await client.MigrateNetworkInterface({})
|
|
274
274
|
expect(data).to.be.ok
|
|
275
275
|
} catch(error) {
|
|
276
276
|
expect(error.requestId).to.be.ok
|
|
@@ -628,6 +628,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
|
|
|
628
628
|
}
|
|
629
629
|
})
|
|
630
630
|
|
|
631
|
+
it("ecm.v20190719.DescribePriceRunInstance", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.DescribePriceRunInstance({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
631
641
|
it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
|
|
632
642
|
try {
|
|
633
643
|
const data = await client.ModifyIpv6AddressesAttribute({})
|
|
@@ -1128,9 +1138,9 @@ it("ecm.v20190719.DescribeDisks", async function () {
|
|
|
1128
1138
|
}
|
|
1129
1139
|
})
|
|
1130
1140
|
|
|
1131
|
-
it("ecm.v20190719.
|
|
1141
|
+
it("ecm.v20190719.DeleteSecurityGroup", async function () {
|
|
1132
1142
|
try {
|
|
1133
|
-
const data = await client.
|
|
1143
|
+
const data = await client.DeleteSecurityGroup({})
|
|
1134
1144
|
expect(data).to.be.ok
|
|
1135
1145
|
} catch(error) {
|
|
1136
1146
|
expect(error.requestId).to.be.ok
|
|
@@ -58,6 +58,16 @@ it("iotvideo.v20201215.DescribeDeviceData", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("iotvideo.v20201215.DescribeSDKLog", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeSDKLog({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("iotvideo.v20201215.ModifyProduct", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyProduct({})
|
|
@@ -348,6 +358,16 @@ it("iotvideo.v20201215.DescribeFirmwareTaskStatistics", async function () {
|
|
|
348
358
|
}
|
|
349
359
|
})
|
|
350
360
|
|
|
361
|
+
it("iotvideo.v20201215.ModifyProductDynamicRegister", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyProductDynamicRegister({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
351
371
|
it("iotvideo.v20201215.DescribeDeviceDataHistory", async function () {
|
|
352
372
|
try {
|
|
353
373
|
const data = await client.DescribeDeviceDataHistory({})
|
|
@@ -488,9 +508,9 @@ it("iotvideo.v20201215.DeleteProduct", async function () {
|
|
|
488
508
|
}
|
|
489
509
|
})
|
|
490
510
|
|
|
491
|
-
it("iotvideo.v20201215.
|
|
511
|
+
it("iotvideo.v20201215.DescribeProductDynamicRegister", async function () {
|
|
492
512
|
try {
|
|
493
|
-
const data = await client.
|
|
513
|
+
const data = await client.DescribeProductDynamicRegister({})
|
|
494
514
|
expect(data).to.be.ok
|
|
495
515
|
} catch(error) {
|
|
496
516
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +168,26 @@ it("ssa.v20180608.DescribeSafetyEventList", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("ssa.v20180608.DescribeSocAlertDetails", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeSocAlertDetails({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("ssa.v20180608.DescribeSocAlertList", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeSocAlertList({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
171
191
|
it("ssa.v20180608.DescribeVulDetail", async function () {
|
|
172
192
|
try {
|
|
173
193
|
const data = await client.DescribeVulDetail({})
|