tencentcloud-sdk-nodejs 4.0.884 → 4.0.886
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 +436 -0
- package/SERVICE_CHANGELOG.md +405 -167
- package/package.json +1 -1
- package/products.md +23 -22
- 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 +361 -106
- package/src/services/ess/v20201111/ess_client.ts +10 -3
- package/src/services/ess/v20201111/ess_models.ts +33 -29
- package/src/services/essbasic/v20210526/essbasic_client.ts +14 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +17 -14
- 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/iotexplorer/v20190423/iotexplorer_client.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +26 -0
- package/src/services/iss/v20230517/iss_client.ts +29 -2
- package/src/services/iss/v20230517/iss_models.ts +154 -36
- package/src/services/mps/v20190612/mps_models.ts +87 -66
- package/src/services/ocr/v20181119/ocr_models.ts +8 -0
- package/src/services/ses/v20201002/ses_client.ts +70 -21
- package/src/services/ses/v20201002/ses_models.ts +278 -135
- package/src/services/ssl/v20191205/ssl_client.ts +28 -15
- package/src/services/ssl/v20191205/ssl_models.ts +395 -347
- package/src/services/tcr/v20190924/tcr_models.ts +4 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +70 -6
- 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/src/services/vpc/v20170312/vpc_client.ts +2 -3
- 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 +356 -106
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +10 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +10 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +33 -29
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +13 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +17 -14
- 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/iotexplorer/v20190423/iotexplorer_models.d.ts +25 -0
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +9 -1
- package/tencentcloud/services/iss/v20230517/iss_client.js +12 -0
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +147 -36
- 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/ses/v20201002/ses_client.d.ts +21 -5
- package/tencentcloud/services/ses/v20201002/ses_client.js +30 -6
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +267 -133
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +9 -5
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +11 -5
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +390 -345
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +4 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +70 -6
- 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/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +0 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +0 -1
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cwp.v20180228.test.js +0 -10
- package/test/iss.v20230517.test.js +20 -0
- package/test/ses.v20201002.test.js +44 -4
- package/test/ssl.v20191205.test.js +12 -2
- package/test/vclm.v20240523.test.js +91 -0
|
@@ -48,6 +48,16 @@ it("aiart.v20221229.QueryTextToImageProJob", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("aiart.v20221229.GenerateAvatar", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.GenerateAvatar({})
|
|
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
|
+
|
|
51
61
|
it("aiart.v20221229.QueryTrainPortraitModelJob", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.QueryTrainPortraitModelJob({})
|
|
@@ -2848,16 +2848,6 @@ it("cwp.v20180228.DescribeTrialReport", async function () {
|
|
|
2848
2848
|
}
|
|
2849
2849
|
})
|
|
2850
2850
|
|
|
2851
|
-
it("cwp.v20180228.ExportAttackLogs", async function () {
|
|
2852
|
-
try {
|
|
2853
|
-
const data = await client.ExportAttackLogs({})
|
|
2854
|
-
expect(data).to.be.ok
|
|
2855
|
-
} catch(error) {
|
|
2856
|
-
expect(error.requestId).to.be.ok
|
|
2857
|
-
expect(error.code).to.be.ok
|
|
2858
|
-
}
|
|
2859
|
-
})
|
|
2860
|
-
|
|
2861
2851
|
it("cwp.v20180228.DescribeUsualLoginPlaces", async function () {
|
|
2862
2852
|
try {
|
|
2863
2853
|
const data = await client.DescribeUsualLoginPlaces({})
|
|
@@ -298,6 +298,16 @@ it("iss.v20230517.DescribeUserDevice", async function () {
|
|
|
298
298
|
}
|
|
299
299
|
})
|
|
300
300
|
|
|
301
|
+
it("iss.v20230517.QueryForbidPlayChannelList", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.QueryForbidPlayChannelList({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
301
311
|
it("iss.v20230517.DescribeAITaskResult", async function () {
|
|
302
312
|
try {
|
|
303
313
|
const data = await client.DescribeAITaskResult({})
|
|
@@ -558,6 +568,16 @@ it("iss.v20230517.AddRecordPlan", async function () {
|
|
|
558
568
|
}
|
|
559
569
|
})
|
|
560
570
|
|
|
571
|
+
it("iss.v20230517.SetForbidPlayChannels", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.SetForbidPlayChannels({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
561
581
|
it("iss.v20230517.ListOrganizationChannelNumbers", async function () {
|
|
562
582
|
try {
|
|
563
583
|
const data = await client.ListOrganizationChannelNumbers({})
|
|
@@ -98,9 +98,19 @@ it("ses.v20201002.GetEmailTemplate", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("ses.v20201002.
|
|
101
|
+
it("ses.v20201002.UpdateCustomBlackList", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.UpdateCustomBlackList({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("ses.v20201002.ListBlackEmailAddress", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ListBlackEmailAddress({})
|
|
104
114
|
expect(data).to.be.ok
|
|
105
115
|
} catch(error) {
|
|
106
116
|
expect(error.requestId).to.be.ok
|
|
@@ -188,6 +198,16 @@ it("ses.v20201002.UpdateEmailSmtpPassWord", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
201
|
+
it("ses.v20201002.CreateCustomBlacklist", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.CreateCustomBlacklist({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
191
211
|
it("ses.v20201002.DeleteEmailTemplate", async function () {
|
|
192
212
|
try {
|
|
193
213
|
const data = await client.DeleteEmailTemplate({})
|
|
@@ -228,6 +248,16 @@ it("ses.v20201002.CreateEmailIdentity", async function () {
|
|
|
228
248
|
}
|
|
229
249
|
})
|
|
230
250
|
|
|
251
|
+
it("ses.v20201002.DeleteCustomBlackList", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DeleteCustomBlackList({})
|
|
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
|
+
|
|
231
261
|
it("ses.v20201002.DeleteBlackList", async function () {
|
|
232
262
|
try {
|
|
233
263
|
const data = await client.DeleteBlackList({})
|
|
@@ -248,9 +278,19 @@ it("ses.v20201002.SendEmail", async function () {
|
|
|
248
278
|
}
|
|
249
279
|
})
|
|
250
280
|
|
|
251
|
-
it("ses.v20201002.
|
|
281
|
+
it("ses.v20201002.ListCustomBlacklist", async function () {
|
|
252
282
|
try {
|
|
253
|
-
const data = await client.
|
|
283
|
+
const data = await client.ListCustomBlacklist({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("ses.v20201002.GetStatisticsReport", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.GetStatisticsReport({})
|
|
254
294
|
expect(data).to.be.ok
|
|
255
295
|
} catch(error) {
|
|
256
296
|
expect(error.requestId).to.be.ok
|
|
@@ -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
|
+
})
|