tencentcloud-sdk-nodejs 4.0.362 → 4.0.365

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 (94) hide show
  1. package/CHANGELOG.md +443 -0
  2. package/SERVICE_CHANGELOG.md +431 -339
  3. package/package.json +1 -1
  4. package/products.md +20 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/v20201229/ams_models.ts +7 -1
  7. package/src/services/apm/v20210622/apm_models.ts +6 -1
  8. package/src/services/asr/v20190614/asr_models.ts +0 -1
  9. package/src/services/cat/v20180409/cat_models.ts +1 -1
  10. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  11. package/src/services/ccc/v20200210/ccc_models.ts +48 -7
  12. package/src/services/ciam/v20220331/ciam_client.ts +49 -5
  13. package/src/services/ciam/v20220331/ciam_models.ts +454 -46
  14. package/src/services/cloudhsm/v20191112/cloudhsm_client.ts +1 -1
  15. package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +22 -6
  16. package/src/services/cpdp/v20190820/cpdp_models.ts +40 -0
  17. package/src/services/cwp/v20180228/cwp_models.ts +13 -1
  18. package/src/services/dlc/v20210125/dlc_models.ts +1 -1
  19. package/src/services/dnspod/v20210323/dnspod_client.ts +29 -0
  20. package/src/services/dnspod/v20210323/dnspod_models.ts +231 -0
  21. package/src/services/es/v20180416/es_models.ts +6 -0
  22. package/src/services/index.ts +1 -0
  23. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  24. package/src/services/ocr/v20181119/ocr_models.ts +8 -1
  25. package/src/services/ssl/v20191205/ssl_models.ts +6 -0
  26. package/src/services/tbaas/v20180416/tbaas_client.ts +111 -63
  27. package/src/services/tbaas/v20180416/tbaas_models.ts +1199 -1014
  28. package/src/services/tcbr/index.ts +5 -0
  29. package/src/services/tcbr/v20220217/index.ts +6 -0
  30. package/src/services/tcbr/v20220217/tcbr_client.ts +130 -0
  31. package/src/services/tcbr/v20220217/tcbr_models.ts +876 -0
  32. package/src/services/tem/v20210701/tem_client.ts +20 -7
  33. package/src/services/tem/v20210701/tem_models.ts +125 -11
  34. package/src/services/teo/v20220106/teo_client.ts +25 -1
  35. package/src/services/teo/v20220106/teo_models.ts +143 -14
  36. package/src/services/vm/v20201229/vm_models.ts +7 -1
  37. package/src/services/vod/v20180717/vod_client.ts +27 -0
  38. package/src/services/vod/v20180717/vod_models.ts +232 -158
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +6 -1
  42. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +5 -1
  43. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +0 -1
  44. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -1
  45. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  46. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  47. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +42 -7
  48. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +13 -1
  49. package/tencentcloud/services/ciam/v20220331/ciam_client.js +18 -0
  50. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +388 -39
  51. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_client.d.ts +1 -1
  52. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +18 -4
  53. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +35 -0
  54. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +11 -1
  55. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1 -1
  56. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -1
  57. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -0
  58. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +194 -0
  59. package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
  60. package/tencentcloud/services/index.d.ts +1 -0
  61. package/tencentcloud/services/index.js +2 -0
  62. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  63. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  64. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -1
  65. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
  66. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +17 -1
  67. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +24 -0
  68. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1160 -1003
  69. package/tencentcloud/services/tcbr/index.d.ts +6 -0
  70. package/tencentcloud/services/tcbr/index.js +7 -0
  71. package/tencentcloud/services/tcbr/v20220217/index.d.ts +6 -0
  72. package/tencentcloud/services/tcbr/v20220217/index.js +9 -0
  73. package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +38 -0
  74. package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +73 -0
  75. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +723 -0
  76. package/tencentcloud/services/tcbr/v20220217/tcbr_models.js +18 -0
  77. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +7 -3
  78. package/tencentcloud/services/tem/v20210701/tem_client.js +9 -3
  79. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +106 -10
  80. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -1
  81. package/tencentcloud/services/teo/v20220106/teo_client.js +12 -0
  82. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +120 -12
  83. package/tencentcloud/services/vm/v20201229/vm_models.d.ts +6 -1
  84. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +12 -1
  85. package/tencentcloud/services/vod/v20180717/vod_client.js +15 -0
  86. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +200 -136
  87. package/test/ccc.v20200210.test.js +10 -0
  88. package/test/ciam.v20220331.test.js +30 -0
  89. package/test/dnspod.v20210323.test.js +20 -0
  90. package/test/tbaas.v20180416.test.js +40 -0
  91. package/test/tcbr.v20220217.test.js +91 -0
  92. package/test/tem.v20210701.test.js +12 -2
  93. package/test/teo.v20220106.test.js +20 -0
  94. package/test/vod.v20180717.test.js +20 -0
@@ -168,6 +168,16 @@ it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("ccc.v20200210.CreateCCCSkillGroup", async function () {
172
+ try {
173
+ const data = await client.CreateCCCSkillGroup({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
171
181
  it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
172
182
  try {
173
183
  const data = await client.UnbindStaffSkillGroupList({})
@@ -28,6 +28,16 @@ it("ciam.v20220331.DeleteUsers", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("ciam.v20220331.ListJobs", async function () {
32
+ try {
33
+ const data = await client.ListJobs({})
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
+
31
41
  it("ciam.v20220331.UpdateUser", async function () {
32
42
  try {
33
43
  const data = await client.UpdateUser({})
@@ -98,6 +108,26 @@ it("ciam.v20220331.SetPassword", async function () {
98
108
  }
99
109
  })
100
110
 
111
+ it("ciam.v20220331.CreateFileExportUserJob", async function () {
112
+ try {
113
+ const data = await client.CreateFileExportUserJob({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ it("ciam.v20220331.CreateApiImportUserJob", async function () {
122
+ try {
123
+ const data = await client.CreateApiImportUserJob({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
101
131
  it("ciam.v20220331.LinkAccount", async function () {
102
132
  try {
103
133
  const data = await client.LinkAccount({})
@@ -68,6 +68,16 @@ it("dnspod.v20210323.DescribeDomainAliasList", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
72
+ try {
73
+ const data = await client.DescribeSubdomainAnalytics({})
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
+
71
81
  it("dnspod.v20210323.ModifyRecordStatus", async function () {
72
82
  try {
73
83
  const data = await client.ModifyRecordStatus({})
@@ -198,6 +208,16 @@ it("dnspod.v20210323.DescribeRecordLineList", async function () {
198
208
  }
199
209
  })
200
210
 
211
+ it("dnspod.v20210323.DescribeDomainAnalytics", async function () {
212
+ try {
213
+ const data = await client.DescribeDomainAnalytics({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
201
221
  it("dnspod.v20210323.ModifyRecordRemark", async function () {
202
222
  try {
203
223
  const data = await client.ModifyRecordRemark({})
@@ -228,6 +228,16 @@ it("tbaas.v20180416.BlockByNumberHandler", async function () {
228
228
  }
229
229
  })
230
230
 
231
+ it("tbaas.v20180416.QueryChainMakerDemoTransaction", async function () {
232
+ try {
233
+ const data = await client.QueryChainMakerDemoTransaction({})
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
+
231
241
  it("tbaas.v20180416.GetInvokeTx", async function () {
232
242
  try {
233
243
  const data = await client.GetInvokeTx({})
@@ -278,6 +288,16 @@ it("tbaas.v20180416.InitializeChaincodeForUser", async function () {
278
288
  }
279
289
  })
280
290
 
291
+ it("tbaas.v20180416.QueryChainMakerDemoContract", async function () {
292
+ try {
293
+ const data = await client.QueryChainMakerDemoContract({})
294
+ expect(data).to.be.ok
295
+ } catch(error) {
296
+ expect(error.requestId).to.be.ok
297
+ expect(error.code).to.be.ok
298
+ }
299
+ })
300
+
281
301
  it("tbaas.v20180416.DeployDynamicContractHandler", async function () {
282
302
  try {
283
303
  const data = await client.DeployDynamicContractHandler({})
@@ -328,6 +348,16 @@ it("tbaas.v20180416.SendTransactionHandler", async function () {
328
348
  }
329
349
  })
330
350
 
351
+ it("tbaas.v20180416.InvokeChainMakerDemoContract", async function () {
352
+ try {
353
+ const data = await client.InvokeChainMakerDemoContract({})
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
+
331
361
  it("tbaas.v20180416.GetChaincodeCompileLogForUser", async function () {
332
362
  try {
333
363
  const data = await client.GetChaincodeCompileLogForUser({})
@@ -368,6 +398,16 @@ it("tbaas.v20180416.Query", async function () {
368
398
  }
369
399
  })
370
400
 
401
+ it("tbaas.v20180416.QueryChainMakerDemoBlockTransaction", async function () {
402
+ try {
403
+ const data = await client.QueryChainMakerDemoBlockTransaction({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
371
411
  it("tbaas.v20180416.GetBlockListHandler", async function () {
372
412
  try {
373
413
  const data = await client.GetBlockListHandler({})
@@ -0,0 +1,91 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.tcbr.v20220217.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("tcbr.v20220217.test.js", function () {
20
+
21
+ it("tcbr.v20220217.CreateCloudRunServer", async function () {
22
+ try {
23
+ const data = await client.CreateCloudRunServer({})
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("tcbr.v20220217.UpdateCloudRunServer", async function () {
32
+ try {
33
+ const data = await client.UpdateCloudRunServer({})
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("tcbr.v20220217.DescribeEnvBaseInfo", async function () {
42
+ try {
43
+ const data = await client.DescribeEnvBaseInfo({})
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("tcbr.v20220217.DescribeCloudRunServers", async function () {
52
+ try {
53
+ const data = await client.DescribeCloudRunServers({})
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("tcbr.v20220217.CreateCloudRunEnv", async function () {
62
+ try {
63
+ const data = await client.CreateCloudRunEnv({})
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("tcbr.v20220217.DescribeCloudRunEnvs", async function () {
72
+ try {
73
+ const data = await client.DescribeCloudRunEnvs({})
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("tcbr.v20220217.DescribeCloudRunServerDetail", async function () {
82
+ try {
83
+ const data = await client.DescribeCloudRunServerDetail({})
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
+ })
@@ -18,9 +18,9 @@ const client = new tencentcloud.tem.v20210701.Client({
18
18
  })
19
19
  describe("tem.v20210701.test.js", function () {
20
20
 
21
- it("tem.v20210701.ModifyApplicationReplicas", async function () {
21
+ it("tem.v20210701.DescribeApplicationsStatus", async function () {
22
22
  try {
23
- const data = await client.ModifyApplicationReplicas({})
23
+ const data = await client.DescribeApplicationsStatus({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -38,6 +38,16 @@ it("tem.v20210701.ModifyIngress", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("tem.v20210701.ModifyApplicationReplicas", async function () {
42
+ try {
43
+ const data = await client.ModifyApplicationReplicas({})
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
+
41
51
  it("tem.v20210701.DeleteApplication", async function () {
42
52
  try {
43
53
  const data = await client.DeleteApplication({})
@@ -358,6 +358,16 @@ it("teo.v20220106.DescribeDDosAttackEventDetail", async function () {
358
358
  }
359
359
  })
360
360
 
361
+ it("teo.v20220106.DescribeTimingL7CacheData", async function () {
362
+ try {
363
+ const data = await client.DescribeTimingL7CacheData({})
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
+
361
371
  it("teo.v20220106.DescribeLoadBalancing", async function () {
362
372
  try {
363
373
  const data = await client.DescribeLoadBalancing({})
@@ -388,6 +398,16 @@ it("teo.v20220106.DescribeTimingL4Data", async function () {
388
398
  }
389
399
  })
390
400
 
401
+ it("teo.v20220106.DescribeTopL7CacheData", async function () {
402
+ try {
403
+ const data = await client.DescribeTopL7CacheData({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
391
411
  it("teo.v20220106.ScanDnsRecords", async function () {
392
412
  try {
393
413
  const data = await client.ScanDnsRecords({})
@@ -658,6 +658,16 @@ it("vod.v20180717.DescribeStorageRegions", async function () {
658
658
  }
659
659
  })
660
660
 
661
+ it("vod.v20180717.RefreshUrlCache", async function () {
662
+ try {
663
+ const data = await client.RefreshUrlCache({})
664
+ expect(data).to.be.ok
665
+ } catch(error) {
666
+ expect(error.requestId).to.be.ok
667
+ expect(error.code).to.be.ok
668
+ }
669
+ })
670
+
661
671
  it("vod.v20180717.DescribeEventsState", async function () {
662
672
  try {
663
673
  const data = await client.DescribeEventsState({})
@@ -1278,4 +1288,14 @@ it("vod.v20180717.DeleteImageSpriteTemplate", async function () {
1278
1288
  }
1279
1289
  })
1280
1290
 
1291
+ it("vod.v20180717.RestoreMedia", async function () {
1292
+ try {
1293
+ const data = await client.RestoreMedia({})
1294
+ expect(data).to.be.ok
1295
+ } catch(error) {
1296
+ expect(error.requestId).to.be.ok
1297
+ expect(error.code).to.be.ok
1298
+ }
1299
+ })
1300
+
1281
1301
  })