tencentcloud-sdk-nodejs 4.0.884 → 4.0.885
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 +327 -0
- package/SERVICE_CHANGELOG.md +455 -86
- package/package.json +1 -1
- package/products.md +19 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +13 -0
- package/src/services/aiart/v20221229/aiart_models.ts +67 -0
- package/src/services/cbs/v20170312/cbs_models.ts +2 -2
- package/src/services/cls/v20201016/cls_models.ts +13 -0
- package/src/services/cwp/v20180228/cwp_client.ts +1 -15
- package/src/services/cwp/v20180228/cwp_models.ts +32 -75
- package/src/services/emr/v20190103/emr_client.ts +7 -2
- package/src/services/emr/v20190103/emr_models.ts +357 -106
- package/src/services/ess/v20201111/ess_models.ts +9 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -1
- package/src/services/ims/v20201229/ims_client.ts +2 -2
- package/src/services/index.ts +1 -0
- package/src/services/ioa/v20220601/ioa_models.ts +55 -45
- package/src/services/mps/v20190612/mps_models.ts +87 -66
- package/src/services/ocr/v20181119/ocr_models.ts +8 -0
- package/src/services/ssl/v20191205/ssl_client.ts +26 -13
- package/src/services/ssl/v20191205/ssl_models.ts +391 -348
- package/src/services/tdmq/v20200217/tdmq_models.ts +69 -5
- package/src/services/vclm/index.ts +5 -0
- package/src/services/vclm/v20240523/index.ts +6 -0
- package/src/services/vclm/v20240523/vclm_client.ts +117 -0
- package/src/services/vclm/v20240523/vclm_models.ts +363 -0
- package/src/services/vdb/v20230616/vdb_models.ts +10 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +65 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +13 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -7
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -8
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -73
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +352 -106
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -2
- package/tencentcloud/services/ims/v20201229/ims_client.js +2 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +55 -45
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +87 -66
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +7 -3
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +9 -3
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +386 -346
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +69 -5
- package/tencentcloud/services/vclm/index.d.ts +6 -0
- package/tencentcloud/services/vclm/index.js +7 -0
- package/tencentcloud/services/vclm/v20240523/index.d.ts +6 -0
- package/tencentcloud/services/vclm/v20240523/index.js +9 -0
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +38 -0
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +73 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +331 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.js +18 -0
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +10 -0
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cwp.v20180228.test.js +0 -10
- package/test/ssl.v20191205.test.js +12 -2
- package/test/vclm.v20240523.test.js +91 -0
|
@@ -148,6 +148,16 @@ it("ssl.v20191205.UpdateCertificateRecordRollback", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
+
it("ssl.v20191205.UpdateCertificateRecordRetry", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.UpdateCertificateRecordRetry({})
|
|
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("ssl.v20191205.DescribeHostDdosInstanceList", async function () {
|
|
152
162
|
try {
|
|
153
163
|
const data = await client.DescribeHostDdosInstanceList({})
|
|
@@ -388,9 +398,9 @@ it("ssl.v20191205.DescribeHostDeployRecord", async function () {
|
|
|
388
398
|
}
|
|
389
399
|
})
|
|
390
400
|
|
|
391
|
-
it("ssl.v20191205.
|
|
401
|
+
it("ssl.v20191205.DeleteCertificates", async function () {
|
|
392
402
|
try {
|
|
393
|
-
const data = await client.
|
|
403
|
+
const data = await client.DeleteCertificates({})
|
|
394
404
|
expect(data).to.be.ok
|
|
395
405
|
} catch(error) {
|
|
396
406
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.vclm.v20240523.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("vclm.v20240523.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("vclm.v20240523.SubmitVideoTranslateJob", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.SubmitVideoTranslateJob({})
|
|
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("vclm.v20240523.DescribeVideoTranslateJob", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeVideoTranslateJob({})
|
|
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("vclm.v20240523.SubmitVideoStylizationJob", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.SubmitVideoStylizationJob({})
|
|
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("vclm.v20240523.ConfirmVideoTranslateJob", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ConfirmVideoTranslateJob({})
|
|
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
|
+
it("vclm.v20240523.DescribeImageAnimateJob", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeImageAnimateJob({})
|
|
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
|
+
|
|
71
|
+
it("vclm.v20240523.SubmitImageAnimateJob", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.SubmitImageAnimateJob({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("vclm.v20240523.DescribeVideoStylizationJob", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeVideoStylizationJob({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
})
|