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.
Files changed (91) hide show
  1. package/CHANGELOG.md +436 -0
  2. package/SERVICE_CHANGELOG.md +405 -167
  3. package/package.json +1 -1
  4. package/products.md +23 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_client.ts +13 -0
  7. package/src/services/aiart/v20221229/aiart_models.ts +67 -0
  8. package/src/services/cbs/v20170312/cbs_models.ts +2 -2
  9. package/src/services/cls/v20201016/cls_models.ts +13 -0
  10. package/src/services/cwp/v20180228/cwp_client.ts +1 -15
  11. package/src/services/cwp/v20180228/cwp_models.ts +32 -75
  12. package/src/services/emr/v20190103/emr_client.ts +7 -2
  13. package/src/services/emr/v20190103/emr_models.ts +361 -106
  14. package/src/services/ess/v20201111/ess_client.ts +10 -3
  15. package/src/services/ess/v20201111/ess_models.ts +33 -29
  16. package/src/services/essbasic/v20210526/essbasic_client.ts +14 -7
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +17 -14
  18. package/src/services/ims/v20201229/ims_client.ts +2 -2
  19. package/src/services/index.ts +1 -0
  20. package/src/services/ioa/v20220601/ioa_models.ts +55 -45
  21. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +1 -0
  22. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +26 -0
  23. package/src/services/iss/v20230517/iss_client.ts +29 -2
  24. package/src/services/iss/v20230517/iss_models.ts +154 -36
  25. package/src/services/mps/v20190612/mps_models.ts +87 -66
  26. package/src/services/ocr/v20181119/ocr_models.ts +8 -0
  27. package/src/services/ses/v20201002/ses_client.ts +70 -21
  28. package/src/services/ses/v20201002/ses_models.ts +278 -135
  29. package/src/services/ssl/v20191205/ssl_client.ts +28 -15
  30. package/src/services/ssl/v20191205/ssl_models.ts +395 -347
  31. package/src/services/tcr/v20190924/tcr_models.ts +4 -0
  32. package/src/services/tdmq/v20200217/tdmq_models.ts +70 -6
  33. package/src/services/vclm/index.ts +5 -0
  34. package/src/services/vclm/v20240523/index.ts +6 -0
  35. package/src/services/vclm/v20240523/vclm_client.ts +117 -0
  36. package/src/services/vclm/v20240523/vclm_models.ts +363 -0
  37. package/src/services/vdb/v20230616/vdb_models.ts +10 -0
  38. package/src/services/vpc/v20170312/vpc_client.ts +2 -3
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
  42. package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
  43. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +65 -0
  44. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +2 -2
  45. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +13 -0
  46. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -7
  47. package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -8
  48. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -73
  49. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +356 -106
  50. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +10 -3
  51. package/tencentcloud/services/ess/v20201111/ess_client.js +10 -3
  52. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +33 -29
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -6
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +13 -6
  55. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +17 -14
  56. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -2
  57. package/tencentcloud/services/ims/v20201229/ims_client.js +2 -2
  58. package/tencentcloud/services/index.d.ts +1 -0
  59. package/tencentcloud/services/index.js +2 -0
  60. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +55 -45
  61. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +25 -0
  62. package/tencentcloud/services/iss/v20230517/iss_client.d.ts +9 -1
  63. package/tencentcloud/services/iss/v20230517/iss_client.js +12 -0
  64. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +147 -36
  65. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +87 -66
  66. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  67. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +21 -5
  68. package/tencentcloud/services/ses/v20201002/ses_client.js +30 -6
  69. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +267 -133
  70. package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +9 -5
  71. package/tencentcloud/services/ssl/v20191205/ssl_client.js +11 -5
  72. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +390 -345
  73. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +4 -0
  74. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +70 -6
  75. package/tencentcloud/services/vclm/index.d.ts +6 -0
  76. package/tencentcloud/services/vclm/index.js +7 -0
  77. package/tencentcloud/services/vclm/v20240523/index.d.ts +6 -0
  78. package/tencentcloud/services/vclm/v20240523/index.js +9 -0
  79. package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +38 -0
  80. package/tencentcloud/services/vclm/v20240523/vclm_client.js +73 -0
  81. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +331 -0
  82. package/tencentcloud/services/vclm/v20240523/vclm_models.js +18 -0
  83. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +10 -0
  84. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +0 -1
  85. package/tencentcloud/services/vpc/v20170312/vpc_client.js +0 -1
  86. package/test/aiart.v20221229.test.js +10 -0
  87. package/test/cwp.v20180228.test.js +0 -10
  88. package/test/iss.v20230517.test.js +20 -0
  89. package/test/ses.v20201002.test.js +44 -4
  90. package/test/ssl.v20191205.test.js +12 -2
  91. 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.GetStatisticsReport", async function () {
101
+ it("ses.v20201002.UpdateCustomBlackList", async function () {
102
102
  try {
103
- const data = await client.GetStatisticsReport({})
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.ListBlackEmailAddress", async function () {
281
+ it("ses.v20201002.ListCustomBlacklist", async function () {
252
282
  try {
253
- const data = await client.ListBlackEmailAddress({})
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.UpdateCertificateRecordRetry", async function () {
401
+ it("ssl.v20191205.DeleteCertificates", async function () {
392
402
  try {
393
- const data = await client.UpdateCertificateRecordRetry({})
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
+ })