tencentcloud-sdk-nodejs 4.0.1017 → 4.0.1019
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 +492 -0
- package/SERVICE_CHANGELOG.md +489 -18
- package/package.json +1 -1
- package/products.md +19 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +2 -0
- package/src/services/bi/v20220105/bi_models.ts +51 -18
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +27 -47
- package/src/services/cfg/v20210820/cfg_models.ts +12 -0
- package/src/services/cmq/v20190304/cmq_models.ts +48 -48
- package/src/services/cwp/v20180228/cwp_client.ts +12 -44
- package/src/services/cwp/v20180228/cwp_models.ts +260 -456
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +4 -0
- package/src/services/dlc/v20210125/dlc_models.ts +47 -47
- package/src/services/essbasic/v20210526/essbasic_client.ts +1251 -1234
- package/src/services/essbasic/v20210526/essbasic_models.ts +60 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +5 -0
- package/src/services/index.ts +1 -0
- package/src/services/lke/v20231130/lke_client.ts +10 -2
- package/src/services/lke/v20231130/lke_models.ts +408 -31
- package/src/services/ocr/v20181119/ocr_client.ts +958 -945
- package/src/services/ocr/v20181119/ocr_models.ts +152 -50
- package/src/services/rum/v20210622/rum_client.ts +2 -1
- package/src/services/rum/v20210622/rum_models.ts +95 -64
- package/src/services/scf/v20180416/scf_models.ts +2 -2
- package/src/services/ssl/v20191205/ssl_client.ts +36 -24
- package/src/services/ssl/v20191205/ssl_models.ts +25 -0
- package/src/services/tccatalog/index.ts +5 -0
- package/src/services/tccatalog/v20241024/index.ts +6 -0
- package/src/services/tccatalog/v20241024/tccatalog_client.ts +84 -0
- package/src/services/tccatalog/v20241024/tccatalog_models.ts +266 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/teo/v20220901/teo_client.ts +166 -34
- package/src/services/teo/v20220901/teo_models.ts +1796 -180
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +51 -18
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +26 -46
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +12 -0
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +48 -48
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -13
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -16
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +264 -452
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +47 -47
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +769 -760
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +946 -935
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +58 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +400 -31
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +535 -531
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +718 -712
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +149 -50
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +94 -64
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +2 -2
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +13 -9
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +18 -12
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +23 -0
- package/tencentcloud/services/tccatalog/index.d.ts +6 -0
- package/tencentcloud/services/tccatalog/index.js +7 -0
- package/tencentcloud/services/tccatalog/v20241024/index.d.ts +6 -0
- package/tencentcloud/services/tccatalog/v20241024/index.js +9 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_client.d.ts +26 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_client.js +55 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_models.d.ts +237 -0
- package/tencentcloud/services/tccatalog/v20241024/tccatalog_models.js +18 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +35 -11
- package/tencentcloud/services/teo/v20220901/teo_client.js +48 -12
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1710 -166
- package/test/cwp.v20180228.test.js +0 -20
- package/test/essbasic.v20210526.test.js +176 -166
- package/test/ocr.v20181119.test.js +174 -164
- package/test/ssl.v20191205.test.js +18 -8
- package/test/tccatalog.v20241024.test.js +61 -0
- package/test/teo.v20220901.test.js +64 -4
|
@@ -78,9 +78,9 @@ it("ssl.v20191205.DescribeHostUpdateRecord", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("ssl.v20191205.
|
|
81
|
+
it("ssl.v20191205.DescribeHostDeployRecord", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeHostDeployRecord({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -348,6 +348,16 @@ it("ssl.v20191205.DescribeManagerDetail", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
+
it("ssl.v20191205.UploadRevokeLetter", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.UploadRevokeLetter({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
351
361
|
it("ssl.v20191205.DescribeHostDeployRecordDetail", async function () {
|
|
352
362
|
try {
|
|
353
363
|
const data = await client.DescribeHostDeployRecordDetail({})
|
|
@@ -398,9 +408,9 @@ it("ssl.v20191205.CancelAuditCertificate", async function () {
|
|
|
398
408
|
}
|
|
399
409
|
})
|
|
400
410
|
|
|
401
|
-
it("ssl.v20191205.
|
|
411
|
+
it("ssl.v20191205.CheckCertificateExist", async function () {
|
|
402
412
|
try {
|
|
403
|
-
const data = await client.
|
|
413
|
+
const data = await client.CheckCertificateExist({})
|
|
404
414
|
expect(data).to.be.ok
|
|
405
415
|
} catch(error) {
|
|
406
416
|
expect(error.requestId).to.be.ok
|
|
@@ -458,9 +468,9 @@ it("ssl.v20191205.DescribeDeployedResources", async function () {
|
|
|
458
468
|
}
|
|
459
469
|
})
|
|
460
470
|
|
|
461
|
-
it("ssl.v20191205.
|
|
471
|
+
it("ssl.v20191205.CreateCertificateByPackage", async function () {
|
|
462
472
|
try {
|
|
463
|
-
const data = await client.
|
|
473
|
+
const data = await client.CreateCertificateByPackage({})
|
|
464
474
|
expect(data).to.be.ok
|
|
465
475
|
} catch(error) {
|
|
466
476
|
expect(error.requestId).to.be.ok
|
|
@@ -528,9 +538,9 @@ it("ssl.v20191205.DescribeHostApiGatewayInstanceList", async function () {
|
|
|
528
538
|
}
|
|
529
539
|
})
|
|
530
540
|
|
|
531
|
-
it("ssl.v20191205.
|
|
541
|
+
it("ssl.v20191205.CreateCertificate", async function () {
|
|
532
542
|
try {
|
|
533
|
-
const data = await client.
|
|
543
|
+
const data = await client.CreateCertificate({})
|
|
534
544
|
expect(data).to.be.ok
|
|
535
545
|
} catch(error) {
|
|
536
546
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.tccatalog.v20241024.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("tccatalog.v20241024.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("tccatalog.v20241024.DescribeTccCatalogs", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeTccCatalogs({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("tccatalog.v20241024.DescribeTccCatalog", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeTccCatalog({})
|
|
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
|
+
|
|
41
|
+
it("tccatalog.v20241024.BindTccVpcEndPointServiceWhiteList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.BindTccVpcEndPointServiceWhiteList({})
|
|
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
|
+
|
|
51
|
+
it("tccatalog.v20241024.AcceptTccVpcEndPointConnect", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.AcceptTccVpcEndPointConnect({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
})
|
|
@@ -178,6 +178,16 @@ it("teo.v20220901.DescribeDefaultCertificates", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("teo.v20220901.ModifyL7AccRule", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ModifyL7AccRule({})
|
|
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
|
+
|
|
181
191
|
it("teo.v20220901.DescribeAccelerationDomains", async function () {
|
|
182
192
|
try {
|
|
183
193
|
const data = await client.DescribeAccelerationDomains({})
|
|
@@ -218,6 +228,16 @@ it("teo.v20220901.DeleteApplicationProxy", async function () {
|
|
|
218
228
|
}
|
|
219
229
|
})
|
|
220
230
|
|
|
231
|
+
it("teo.v20220901.ModifyL7AccSetting", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyL7AccSetting({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
221
241
|
it("teo.v20220901.ModifyL4ProxyStatus", async function () {
|
|
222
242
|
try {
|
|
223
243
|
const data = await client.ModifyL4ProxyStatus({})
|
|
@@ -338,6 +358,16 @@ it("teo.v20220901.DescribeConfigGroupVersionDetail", async function () {
|
|
|
338
358
|
}
|
|
339
359
|
})
|
|
340
360
|
|
|
361
|
+
it("teo.v20220901.DescribeL7AccRules", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeL7AccRules({})
|
|
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
|
+
|
|
341
371
|
it("teo.v20220901.BindSecurityTemplateToEntity", async function () {
|
|
342
372
|
try {
|
|
343
373
|
const data = await client.BindSecurityTemplateToEntity({})
|
|
@@ -518,9 +548,9 @@ it("teo.v20220901.ModifyAliasDomainStatus", async function () {
|
|
|
518
548
|
}
|
|
519
549
|
})
|
|
520
550
|
|
|
521
|
-
it("teo.v20220901.
|
|
551
|
+
it("teo.v20220901.DescribeSecurityIPGroup", async function () {
|
|
522
552
|
try {
|
|
523
|
-
const data = await client.
|
|
553
|
+
const data = await client.DescribeSecurityIPGroup({})
|
|
524
554
|
expect(data).to.be.ok
|
|
525
555
|
} catch(error) {
|
|
526
556
|
expect(error.requestId).to.be.ok
|
|
@@ -608,6 +638,16 @@ it("teo.v20220901.ModifyPlan", async function () {
|
|
|
608
638
|
}
|
|
609
639
|
})
|
|
610
640
|
|
|
641
|
+
it("teo.v20220901.DeleteL7AccRules", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.DeleteL7AccRules({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
611
651
|
it("teo.v20220901.BindZoneToPlan", async function () {
|
|
612
652
|
try {
|
|
613
653
|
const data = await client.BindZoneToPlan({})
|
|
@@ -898,6 +938,16 @@ it("teo.v20220901.ModifyZoneStatus", async function () {
|
|
|
898
938
|
}
|
|
899
939
|
})
|
|
900
940
|
|
|
941
|
+
it("teo.v20220901.CreateL7AccRules", async function () {
|
|
942
|
+
try {
|
|
943
|
+
const data = await client.CreateL7AccRules({})
|
|
944
|
+
expect(data).to.be.ok
|
|
945
|
+
} catch(error) {
|
|
946
|
+
expect(error.requestId).to.be.ok
|
|
947
|
+
expect(error.code).to.be.ok
|
|
948
|
+
}
|
|
949
|
+
})
|
|
950
|
+
|
|
901
951
|
it("teo.v20220901.DescribePurgeTasks", async function () {
|
|
902
952
|
try {
|
|
903
953
|
const data = await client.DescribePurgeTasks({})
|
|
@@ -1068,6 +1118,16 @@ it("teo.v20220901.ModifyApplicationProxyRule", async function () {
|
|
|
1068
1118
|
}
|
|
1069
1119
|
})
|
|
1070
1120
|
|
|
1121
|
+
it("teo.v20220901.DescribeL7AccSetting", async function () {
|
|
1122
|
+
try {
|
|
1123
|
+
const data = await client.DescribeL7AccSetting({})
|
|
1124
|
+
expect(data).to.be.ok
|
|
1125
|
+
} catch(error) {
|
|
1126
|
+
expect(error.requestId).to.be.ok
|
|
1127
|
+
expect(error.code).to.be.ok
|
|
1128
|
+
}
|
|
1129
|
+
})
|
|
1130
|
+
|
|
1071
1131
|
it("teo.v20220901.CreateOriginGroup", async function () {
|
|
1072
1132
|
try {
|
|
1073
1133
|
const data = await client.CreateOriginGroup({})
|
|
@@ -1278,9 +1338,9 @@ it("teo.v20220901.DescribeSecurityIPGroupInfo", async function () {
|
|
|
1278
1338
|
}
|
|
1279
1339
|
})
|
|
1280
1340
|
|
|
1281
|
-
it("teo.v20220901.
|
|
1341
|
+
it("teo.v20220901.DescribeDnsRecords", async function () {
|
|
1282
1342
|
try {
|
|
1283
|
-
const data = await client.
|
|
1343
|
+
const data = await client.DescribeDnsRecords({})
|
|
1284
1344
|
expect(data).to.be.ok
|
|
1285
1345
|
} catch(error) {
|
|
1286
1346
|
expect(error.requestId).to.be.ok
|