tencentcloud-sdk-nodejs 4.0.1018 → 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 +107 -0
- package/SERVICE_CHANGELOG.md +194 -390
- package/package.json +1 -1
- package/products.md +8 -7
- 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 +18 -18
- package/src/services/cmq/v20190304/cmq_models.ts +48 -48
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +4 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +1251 -1234
- package/src/services/essbasic/v20210526/essbasic_models.ts +60 -0
- package/src/services/index.ts +1 -0
- 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/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 +18 -18
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +48 -48
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- 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/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- 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/test/essbasic.v20210526.test.js +176 -166
- package/test/ssl.v20191205.test.js +18 -8
- package/test/tccatalog.v20241024.test.js +61 -0
|
@@ -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
|
+
})
|