tencentcloud-sdk-nodejs 4.0.307 → 4.0.310
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 +454 -0
- package/SERVICE_CHANGELOG.md +416 -98
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +32 -4
- package/src/services/asr/v20190614/asr_models.ts +11 -6
- package/src/services/captcha/v20190722/captcha_models.ts +21 -6
- package/src/services/cdb/v20170320/cdb_models.ts +6 -6
- package/src/services/cdn/v20180606/cdn_models.ts +8 -0
- package/src/services/cfw/v20190904/cfw_client.ts +13 -0
- package/src/services/cfw/v20190904/cfw_models.ts +50 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +10 -0
- package/src/services/cls/v20201016/cls_models.ts +4 -4
- package/src/services/cpdp/v20190820/cpdp_models.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +11 -1
- package/src/services/dlc/v20210125/dlc_models.ts +97 -5
- package/src/services/ess/v20201111/ess_models.ts +24 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +21 -5
- package/src/services/gaap/v20180529/gaap_models.ts +1 -1
- package/src/services/iecp/v20210914/iecp_client.ts +560 -474
- package/src/services/iecp/v20210914/iecp_models.ts +491 -188
- package/src/services/monitor/v20180724/monitor_client.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +46 -0
- package/src/services/mps/v20190612/mps_client.ts +3 -3
- package/src/services/mps/v20190612/mps_models.ts +159 -159
- package/src/services/nlp/v20190408/nlp_client.ts +14 -0
- package/src/services/nlp/v20190408/nlp_models.ts +31 -0
- package/src/services/ocr/v20181119/ocr_models.ts +10 -0
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/scf/v20180416/scf_models.ts +12 -0
- package/src/services/ses/v20201002/ses_models.ts +5 -0
- package/src/services/smh/v20210712/smh_models.ts +35 -0
- package/src/services/tiia/v20190529/tiia_models.ts +7 -5
- package/src/services/tke/v20180525/tke_models.ts +27 -21
- package/src/services/vpc/v20170312/vpc_client.ts +108 -15
- package/src/services/vpc/v20170312/vpc_models.ts +119 -29
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +28 -4
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +10 -6
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +18 -6
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -6
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +43 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +8 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +9 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +81 -5
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +19 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +18 -5
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
- package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +183 -155
- package/tencentcloud/services/iecp/v20210914/iecp_client.js +273 -231
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +416 -157
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +38 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +3 -3
- package/tencentcloud/services/mps/v20190612/mps_client.js +3 -3
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +159 -159
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +7 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +8 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +27 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +10 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +4 -0
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +28 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +7 -5
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +26 -21
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +51 -6
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +64 -7
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +103 -25
- package/test/cfw.v20190904.test.js +10 -0
- package/test/iecp.v20210914.test.js +226 -156
- package/test/nlp.v20190408.test.js +10 -0
- package/test/vpc.v20170312.test.js +64 -4
|
@@ -248,6 +248,16 @@ it("nlp.v20190408.KeywordsExtraction", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("nlp.v20190408.TextCorrectionPro", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.TextCorrectionPro({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
251
261
|
it("nlp.v20190408.DeleteDict", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.DeleteDict({})
|
|
@@ -528,9 +528,9 @@ it("vpc.v20170312.DescribeVpcEndPointService", async function () {
|
|
|
528
528
|
}
|
|
529
529
|
})
|
|
530
530
|
|
|
531
|
-
it("vpc.v20170312.
|
|
531
|
+
it("vpc.v20170312.EnableRoutes", async function () {
|
|
532
532
|
try {
|
|
533
|
-
const data = await client.
|
|
533
|
+
const data = await client.EnableRoutes({})
|
|
534
534
|
expect(data).to.be.ok
|
|
535
535
|
} catch(error) {
|
|
536
536
|
expect(error.requestId).to.be.ok
|
|
@@ -728,6 +728,16 @@ it("vpc.v20170312.DeleteDhcpIp", async function () {
|
|
|
728
728
|
}
|
|
729
729
|
})
|
|
730
730
|
|
|
731
|
+
it("vpc.v20170312.LockCcnBandwidths", async function () {
|
|
732
|
+
try {
|
|
733
|
+
const data = await client.LockCcnBandwidths({})
|
|
734
|
+
expect(data).to.be.ok
|
|
735
|
+
} catch(error) {
|
|
736
|
+
expect(error.requestId).to.be.ok
|
|
737
|
+
expect(error.code).to.be.ok
|
|
738
|
+
}
|
|
739
|
+
})
|
|
740
|
+
|
|
731
741
|
it("vpc.v20170312.ModifyAddressTemplateAttribute", async function () {
|
|
732
742
|
try {
|
|
733
743
|
const data = await client.ModifyAddressTemplateAttribute({})
|
|
@@ -1008,6 +1018,16 @@ it("vpc.v20170312.DescribeLocalGateway", async function () {
|
|
|
1008
1018
|
}
|
|
1009
1019
|
})
|
|
1010
1020
|
|
|
1021
|
+
it("vpc.v20170312.RefreshDirectConnectGatewayRouteToNatGateway", async function () {
|
|
1022
|
+
try {
|
|
1023
|
+
const data = await client.RefreshDirectConnectGatewayRouteToNatGateway({})
|
|
1024
|
+
expect(data).to.be.ok
|
|
1025
|
+
} catch(error) {
|
|
1026
|
+
expect(error.requestId).to.be.ok
|
|
1027
|
+
expect(error.code).to.be.ok
|
|
1028
|
+
}
|
|
1029
|
+
})
|
|
1030
|
+
|
|
1011
1031
|
it("vpc.v20170312.MigratePrivateIpAddress", async function () {
|
|
1012
1032
|
try {
|
|
1013
1033
|
const data = await client.MigratePrivateIpAddress({})
|
|
@@ -1708,6 +1728,16 @@ it("vpc.v20170312.CreateAddressTemplateGroup", async function () {
|
|
|
1708
1728
|
}
|
|
1709
1729
|
})
|
|
1710
1730
|
|
|
1731
|
+
it("vpc.v20170312.UnlockCcnBandwidths", async function () {
|
|
1732
|
+
try {
|
|
1733
|
+
const data = await client.UnlockCcnBandwidths({})
|
|
1734
|
+
expect(data).to.be.ok
|
|
1735
|
+
} catch(error) {
|
|
1736
|
+
expect(error.requestId).to.be.ok
|
|
1737
|
+
expect(error.code).to.be.ok
|
|
1738
|
+
}
|
|
1739
|
+
})
|
|
1740
|
+
|
|
1711
1741
|
it("vpc.v20170312.CreateSecurityGroup", async function () {
|
|
1712
1742
|
try {
|
|
1713
1743
|
const data = await client.CreateSecurityGroup({})
|
|
@@ -1968,6 +1998,16 @@ it("vpc.v20170312.DescribeVpcLimits", async function () {
|
|
|
1968
1998
|
}
|
|
1969
1999
|
})
|
|
1970
2000
|
|
|
2001
|
+
it("vpc.v20170312.UnlockCcns", async function () {
|
|
2002
|
+
try {
|
|
2003
|
+
const data = await client.UnlockCcns({})
|
|
2004
|
+
expect(data).to.be.ok
|
|
2005
|
+
} catch(error) {
|
|
2006
|
+
expect(error.requestId).to.be.ok
|
|
2007
|
+
expect(error.code).to.be.ok
|
|
2008
|
+
}
|
|
2009
|
+
})
|
|
2010
|
+
|
|
1971
2011
|
it("vpc.v20170312.HaVipAssociateAddressIp", async function () {
|
|
1972
2012
|
try {
|
|
1973
2013
|
const data = await client.HaVipAssociateAddressIp({})
|
|
@@ -2278,9 +2318,9 @@ it("vpc.v20170312.TransformAddress", async function () {
|
|
|
2278
2318
|
}
|
|
2279
2319
|
})
|
|
2280
2320
|
|
|
2281
|
-
it("vpc.v20170312.
|
|
2321
|
+
it("vpc.v20170312.DescribeCrossBorderCcnRegionBandwidthLimits", async function () {
|
|
2282
2322
|
try {
|
|
2283
|
-
const data = await client.
|
|
2323
|
+
const data = await client.DescribeCrossBorderCcnRegionBandwidthLimits({})
|
|
2284
2324
|
expect(data).to.be.ok
|
|
2285
2325
|
} catch(error) {
|
|
2286
2326
|
expect(error.requestId).to.be.ok
|
|
@@ -2328,6 +2368,16 @@ it("vpc.v20170312.DeleteSecurityGroup", async function () {
|
|
|
2328
2368
|
}
|
|
2329
2369
|
})
|
|
2330
2370
|
|
|
2371
|
+
it("vpc.v20170312.DescribeTenantCcns", async function () {
|
|
2372
|
+
try {
|
|
2373
|
+
const data = await client.DescribeTenantCcns({})
|
|
2374
|
+
expect(data).to.be.ok
|
|
2375
|
+
} catch(error) {
|
|
2376
|
+
expect(error.requestId).to.be.ok
|
|
2377
|
+
expect(error.code).to.be.ok
|
|
2378
|
+
}
|
|
2379
|
+
})
|
|
2380
|
+
|
|
2331
2381
|
it("vpc.v20170312.DisassociateNetworkAclSubnets", async function () {
|
|
2332
2382
|
try {
|
|
2333
2383
|
const data = await client.DisassociateNetworkAclSubnets({})
|
|
@@ -2408,6 +2458,16 @@ it("vpc.v20170312.DeleteNatGatewayDestinationIpPortTranslationNatRule", async fu
|
|
|
2408
2458
|
}
|
|
2409
2459
|
})
|
|
2410
2460
|
|
|
2461
|
+
it("vpc.v20170312.LockCcns", async function () {
|
|
2462
|
+
try {
|
|
2463
|
+
const data = await client.LockCcns({})
|
|
2464
|
+
expect(data).to.be.ok
|
|
2465
|
+
} catch(error) {
|
|
2466
|
+
expect(error.requestId).to.be.ok
|
|
2467
|
+
expect(error.code).to.be.ok
|
|
2468
|
+
}
|
|
2469
|
+
})
|
|
2470
|
+
|
|
2411
2471
|
it("vpc.v20170312.CreateRoutes", async function () {
|
|
2412
2472
|
try {
|
|
2413
2473
|
const data = await client.CreateRoutes({})
|