tencentcloud-sdk-nodejs 4.0.569 → 4.0.571

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 (99) hide show
  1. package/CHANGELOG.md +508 -0
  2. package/SERVICE_CHANGELOG.md +602 -73
  3. package/package.json +1 -1
  4. package/products.md +190 -190
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_models.ts +13 -11
  7. package/src/services/bma/v20221115/bma_models.ts +5 -0
  8. package/src/services/car/v20220110/car_client.ts +24 -0
  9. package/src/services/car/v20220110/car_models.ts +40 -0
  10. package/src/services/cbs/v20170312/cbs_models.ts +1 -1
  11. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  12. package/src/services/cdn/v20180606/cdn_client.ts +1 -0
  13. package/src/services/cdn/v20180606/cdn_models.ts +52 -2
  14. package/src/services/cdwch/v20200915/cdwch_client.ts +13 -1
  15. package/src/services/cdwch/v20200915/cdwch_models.ts +79 -19
  16. package/src/services/cls/v20201016/cls_models.ts +2 -2
  17. package/src/services/cwp/v20180228/cwp_client.ts +46 -20
  18. package/src/services/cwp/v20180228/cwp_models.ts +378 -8
  19. package/src/services/dnspod/v20210323/dnspod_models.ts +1 -1
  20. package/src/services/ess/v20201111/ess_models.ts +8 -3
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +5 -0
  22. package/src/services/lcic/v20220817/lcic_client.ts +55 -16
  23. package/src/services/lcic/v20220817/lcic_models.ts +325 -111
  24. package/src/services/lighthouse/v20200324/lighthouse_models.ts +3 -3
  25. package/src/services/mongodb/v20190725/mongodb_client.ts +1 -1
  26. package/src/services/mongodb/v20190725/mongodb_models.ts +24 -24
  27. package/src/services/ocr/v20181119/ocr_client.ts +4 -2
  28. package/src/services/ocr/v20181119/ocr_models.ts +37 -17
  29. package/src/services/redis/v20180412/redis_models.ts +35 -12
  30. package/src/services/smop/v20201203/smop_models.ts +8 -2
  31. package/src/services/ssl/v20191205/ssl_models.ts +3 -3
  32. package/src/services/tcss/v20201101/tcss_models.ts +44 -34
  33. package/src/services/thpc/index.ts +2 -0
  34. package/src/services/thpc/v20230321/index.ts +6 -0
  35. package/src/services/thpc/v20230321/thpc_client.ts +250 -0
  36. package/src/services/thpc/v20230321/thpc_models.ts +1558 -0
  37. package/src/services/trtc/v20190722/trtc_client.ts +3 -3
  38. package/src/services/tse/v20201207/tse_models.ts +30 -0
  39. package/src/services/tts/v20190823/tts_models.ts +4 -4
  40. package/src/services/vod/v20180717/vod_models.ts +5 -0
  41. package/src/services/vpc/v20170312/vpc_client.ts +11 -10
  42. package/src/services/vpc/v20170312/vpc_models.ts +191 -72
  43. package/src/services/wedata/v20210820/wedata_models.ts +11 -5
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +13 -11
  47. package/tencentcloud/services/bma/v20221115/bma_models.d.ts +4 -0
  48. package/tencentcloud/services/car/v20220110/car_client.d.ts +9 -1
  49. package/tencentcloud/services/car/v20220110/car_client.js +12 -0
  50. package/tencentcloud/services/car/v20220110/car_models.d.ts +36 -0
  51. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
  52. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  53. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +44 -2
  54. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +5 -1
  55. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +6 -0
  56. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +67 -16
  57. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
  58. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +15 -7
  59. package/tencentcloud/services/cwp/v20180228/cwp_client.js +21 -9
  60. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +315 -8
  61. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1 -1
  62. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +7 -3
  63. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
  64. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +17 -5
  65. package/tencentcloud/services/lcic/v20220817/lcic_client.js +24 -6
  66. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +274 -93
  67. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +3 -3
  68. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -1
  69. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +1 -1
  70. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +24 -24
  71. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
  72. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
  73. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +34 -17
  74. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +33 -10
  75. package/tencentcloud/services/smop/v20201203/smop_models.d.ts +7 -2
  76. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +3 -3
  77. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +42 -34
  78. package/tencentcloud/services/thpc/index.d.ts +4 -0
  79. package/tencentcloud/services/thpc/index.js +2 -0
  80. package/tencentcloud/services/thpc/v20230321/index.d.ts +6 -0
  81. package/tencentcloud/services/thpc/v20230321/index.js +9 -0
  82. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +77 -0
  83. package/tencentcloud/services/thpc/v20230321/thpc_client.js +128 -0
  84. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1314 -0
  85. package/tencentcloud/services/thpc/v20230321/thpc_models.js +18 -0
  86. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -3
  87. package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -3
  88. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +25 -0
  89. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -4
  90. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -0
  91. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +8 -9
  92. package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -7
  93. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +170 -70
  94. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +10 -5
  95. package/test/car.v20220110.test.js +20 -0
  96. package/test/cdwch.v20200915.test.js +10 -0
  97. package/test/cwp.v20180228.test.js +26 -6
  98. package/test/lcic.v20220817.test.js +34 -4
  99. package/test/thpc.v20230321.test.js +171 -0
@@ -148,6 +148,16 @@ it("lcic.v20220817.CreateDocument", async function () {
148
148
  }
149
149
  })
150
150
 
151
+ it("lcic.v20220817.DescribeSupervisors", async function () {
152
+ try {
153
+ const data = await client.DescribeSupervisors({})
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("lcic.v20220817.DeleteGroup", async function () {
152
162
  try {
153
163
  const data = await client.DeleteGroup({})
@@ -208,9 +218,9 @@ it("lcic.v20220817.BatchAddGroupMember", async function () {
208
218
  }
209
219
  })
210
220
 
211
- it("lcic.v20220817.DescribeDeveloper", async function () {
221
+ it("lcic.v20220817.BatchDeleteGroupMember", async function () {
212
222
  try {
213
- const data = await client.DescribeDeveloper({})
223
+ const data = await client.BatchDeleteGroupMember({})
214
224
  expect(data).to.be.ok
215
225
  } catch(error) {
216
226
  expect(error.requestId).to.be.ok
@@ -348,6 +358,16 @@ it("lcic.v20220817.CreateSupervisor", async function () {
348
358
  }
349
359
  })
350
360
 
361
+ it("lcic.v20220817.DescribeQuestionList", async function () {
362
+ try {
363
+ const data = await client.DescribeQuestionList({})
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
+
351
371
  it("lcic.v20220817.SetAppCustomContent", async function () {
352
372
  try {
353
373
  const data = await client.SetAppCustomContent({})
@@ -358,9 +378,9 @@ it("lcic.v20220817.SetAppCustomContent", async function () {
358
378
  }
359
379
  })
360
380
 
361
- it("lcic.v20220817.BatchDeleteGroupMember", async function () {
381
+ it("lcic.v20220817.DescribeDeveloper", async function () {
362
382
  try {
363
- const data = await client.BatchDeleteGroupMember({})
383
+ const data = await client.DescribeDeveloper({})
364
384
  expect(data).to.be.ok
365
385
  } catch(error) {
366
386
  expect(error.requestId).to.be.ok
@@ -388,6 +408,16 @@ it("lcic.v20220817.BatchCreateRoom", async function () {
388
408
  }
389
409
  })
390
410
 
411
+ it("lcic.v20220817.DescribeAnswerList", async function () {
412
+ try {
413
+ const data = await client.DescribeAnswerList({})
414
+ expect(data).to.be.ok
415
+ } catch(error) {
416
+ expect(error.requestId).to.be.ok
417
+ expect(error.code).to.be.ok
418
+ }
419
+ })
420
+
391
421
  it("lcic.v20220817.DeleteDocument", async function () {
392
422
  try {
393
423
  const data = await client.DeleteDocument({})
@@ -0,0 +1,171 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.thpc.v20230321.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("thpc.v20230321.test.js", function () {
20
+
21
+ it("thpc.v20230321.DescribeClusterStorageOption", async function () {
22
+ try {
23
+ const data = await client.DescribeClusterStorageOption({})
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("thpc.v20230321.DeleteNodes", async function () {
32
+ try {
33
+ const data = await client.DeleteNodes({})
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("thpc.v20230321.CreateCluster", async function () {
42
+ try {
43
+ const data = await client.CreateCluster({})
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("thpc.v20230321.AddClusterStorageOption", async function () {
52
+ try {
53
+ const data = await client.AddClusterStorageOption({})
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("thpc.v20230321.SetAutoScalingConfiguration", async function () {
62
+ try {
63
+ const data = await client.SetAutoScalingConfiguration({})
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("thpc.v20230321.AddQueue", async function () {
72
+ try {
73
+ const data = await client.AddQueue({})
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("thpc.v20230321.DescribeNodes", async function () {
82
+ try {
83
+ const data = await client.DescribeNodes({})
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
+ it("thpc.v20230321.DeleteQueue", async function () {
92
+ try {
93
+ const data = await client.DeleteQueue({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
101
+ it("thpc.v20230321.DeleteClusterStorageOption", async function () {
102
+ try {
103
+ const data = await client.DeleteClusterStorageOption({})
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("thpc.v20230321.AddNodes", async function () {
112
+ try {
113
+ const data = await client.AddNodes({})
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("thpc.v20230321.DescribeAutoScalingConfiguration", async function () {
122
+ try {
123
+ const data = await client.DescribeAutoScalingConfiguration({})
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
+
131
+ it("thpc.v20230321.DescribeClusters", async function () {
132
+ try {
133
+ const data = await client.DescribeClusters({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
141
+ it("thpc.v20230321.DeleteCluster", async function () {
142
+ try {
143
+ const data = await client.DeleteCluster({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
151
+ it("thpc.v20230321.DescribeClusterActivities", async function () {
152
+ try {
153
+ const data = await client.DescribeClusterActivities({})
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
+
161
+ it("thpc.v20230321.DescribeQueues", async function () {
162
+ try {
163
+ const data = await client.DescribeQueues({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
171
+ })