tencentcloud-sdk-nodejs 4.0.633 → 4.0.634

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 (87) hide show
  1. package/CHANGELOG.md +78 -0
  2. package/SERVICE_CHANGELOG.md +107 -112
  3. package/package.json +1 -1
  4. package/products.md +7 -7
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/bma/index.ts +2 -2
  8. package/src/services/btoe/index.ts +2 -2
  9. package/src/services/chdfs/index.ts +2 -2
  10. package/src/services/ciam/v20220331/ciam_client.ts +156 -56
  11. package/src/services/ciam/v20220331/ciam_models.ts +403 -36
  12. package/src/services/clb/v20180317/clb_models.ts +1 -1
  13. package/src/services/cloudstudio/index.ts +2 -2
  14. package/src/services/cls/v20201016/cls_client.ts +115 -39
  15. package/src/services/cls/v20201016/cls_models.ts +566 -56
  16. package/src/services/dbbrain/index.ts +2 -2
  17. package/src/services/dts/index.ts +2 -2
  18. package/src/services/eis/index.ts +2 -2
  19. package/src/services/ess/v20201111/ess_models.ts +2 -2
  20. package/src/services/essbasic/index.ts +2 -2
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  22. package/src/services/iai/index.ts +2 -2
  23. package/src/services/iotcloud/index.ts +2 -2
  24. package/src/services/iotvideo/index.ts +2 -2
  25. package/src/services/mgobe/index.ts +2 -2
  26. package/src/services/mongodb/index.ts +2 -2
  27. package/src/services/nlp/v20190408/nlp_models.ts +1 -1
  28. package/src/services/tbp/index.ts +2 -2
  29. package/src/services/teo/index.ts +2 -2
  30. package/src/services/thpc/index.ts +4 -4
  31. package/src/services/tsw/index.ts +2 -2
  32. package/src/services/vm/index.ts +2 -2
  33. package/src/services/yunsou/index.ts +2 -2
  34. package/tencentcloud/common/sdk_version.d.ts +1 -1
  35. package/tencentcloud/common/sdk_version.js +1 -1
  36. package/tencentcloud/services/ams/index.d.ts +4 -4
  37. package/tencentcloud/services/ams/index.js +2 -2
  38. package/tencentcloud/services/bma/index.d.ts +4 -4
  39. package/tencentcloud/services/bma/index.js +2 -2
  40. package/tencentcloud/services/btoe/index.d.ts +4 -4
  41. package/tencentcloud/services/btoe/index.js +2 -2
  42. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  43. package/tencentcloud/services/chdfs/index.js +2 -2
  44. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +51 -19
  45. package/tencentcloud/services/ciam/v20220331/ciam_client.js +75 -27
  46. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +383 -36
  47. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  48. package/tencentcloud/services/cloudstudio/index.d.ts +4 -4
  49. package/tencentcloud/services/cloudstudio/index.js +2 -2
  50. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +37 -13
  51. package/tencentcloud/services/cls/v20201016/cls_client.js +54 -18
  52. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +550 -56
  53. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  54. package/tencentcloud/services/dbbrain/index.js +2 -2
  55. package/tencentcloud/services/dts/index.d.ts +4 -4
  56. package/tencentcloud/services/dts/index.js +2 -2
  57. package/tencentcloud/services/eis/index.d.ts +4 -4
  58. package/tencentcloud/services/eis/index.js +2 -2
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  60. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  61. package/tencentcloud/services/essbasic/index.js +2 -2
  62. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  63. package/tencentcloud/services/iai/index.d.ts +4 -4
  64. package/tencentcloud/services/iai/index.js +2 -2
  65. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  66. package/tencentcloud/services/iotcloud/index.js +2 -2
  67. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  68. package/tencentcloud/services/iotvideo/index.js +2 -2
  69. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  70. package/tencentcloud/services/mgobe/index.js +2 -2
  71. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  72. package/tencentcloud/services/mongodb/index.js +2 -2
  73. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +1 -1
  74. package/tencentcloud/services/tbp/index.d.ts +4 -4
  75. package/tencentcloud/services/tbp/index.js +2 -2
  76. package/tencentcloud/services/teo/index.d.ts +4 -4
  77. package/tencentcloud/services/teo/index.js +2 -2
  78. package/tencentcloud/services/thpc/index.d.ts +6 -6
  79. package/tencentcloud/services/thpc/index.js +4 -4
  80. package/tencentcloud/services/tsw/index.d.ts +4 -4
  81. package/tencentcloud/services/tsw/index.js +2 -2
  82. package/tencentcloud/services/vm/index.d.ts +4 -4
  83. package/tencentcloud/services/vm/index.js +2 -2
  84. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  85. package/tencentcloud/services/yunsou/index.js +2 -2
  86. package/test/ciam.v20220331.test.js +98 -18
  87. package/test/cls.v20201016.test.js +72 -12
@@ -18,9 +18,9 @@ const client = new tencentcloud.ciam.v20220331.Client({
18
18
  })
19
19
  describe("ciam.v20220331.test.js", function () {
20
20
 
21
- it("ciam.v20220331.DeleteUsers", async function () {
21
+ it("ciam.v20220331.UpdateUserStatus", async function () {
22
22
  try {
23
- const data = await client.DeleteUsers({})
23
+ const data = await client.UpdateUserStatus({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -38,6 +38,66 @@ it("ciam.v20220331.ListJobs", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("ciam.v20220331.DeleteUserStore", async function () {
42
+ try {
43
+ const data = await client.DeleteUserStore({})
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("ciam.v20220331.DeleteUserGroups", async function () {
52
+ try {
53
+ const data = await client.DeleteUserGroups({})
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("ciam.v20220331.UpdateUserStore", async function () {
62
+ try {
63
+ const data = await client.UpdateUserStore({})
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("ciam.v20220331.CreateApiImportUserJob", async function () {
72
+ try {
73
+ const data = await client.CreateApiImportUserJob({})
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("ciam.v20220331.LinkAccount", async function () {
82
+ try {
83
+ const data = await client.LinkAccount({})
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("ciam.v20220331.ResetPassword", async function () {
92
+ try {
93
+ const data = await client.ResetPassword({})
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
+
41
101
  it("ciam.v20220331.UpdateUser", async function () {
42
102
  try {
43
103
  const data = await client.UpdateUser({})
@@ -58,6 +118,16 @@ it("ciam.v20220331.DescribeUser", async function () {
58
118
  }
59
119
  })
60
120
 
121
+ it("ciam.v20220331.ListUserGroups", async function () {
122
+ try {
123
+ const data = await client.ListUserGroups({})
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
+
61
131
  it("ciam.v20220331.ListUser", async function () {
62
132
  try {
63
133
  const data = await client.ListUser({})
@@ -68,9 +138,9 @@ it("ciam.v20220331.ListUser", async function () {
68
138
  }
69
139
  })
70
140
 
71
- it("ciam.v20220331.UpdateUserStatus", async function () {
141
+ it("ciam.v20220331.UpdateUserGroup", async function () {
72
142
  try {
73
- const data = await client.UpdateUserStatus({})
143
+ const data = await client.UpdateUserGroup({})
74
144
  expect(data).to.be.ok
75
145
  } catch(error) {
76
146
  expect(error.requestId).to.be.ok
@@ -78,9 +148,9 @@ it("ciam.v20220331.UpdateUserStatus", async function () {
78
148
  }
79
149
  })
80
150
 
81
- it("ciam.v20220331.ListUserByProperty", async function () {
151
+ it("ciam.v20220331.CreateUserStore", async function () {
82
152
  try {
83
- const data = await client.ListUserByProperty({})
153
+ const data = await client.CreateUserStore({})
84
154
  expect(data).to.be.ok
85
155
  } catch(error) {
86
156
  expect(error.requestId).to.be.ok
@@ -88,9 +158,9 @@ it("ciam.v20220331.ListUserByProperty", async function () {
88
158
  }
89
159
  })
90
160
 
91
- it("ciam.v20220331.ListLogMessageByCondition", async function () {
161
+ it("ciam.v20220331.DeleteUsers", async function () {
92
162
  try {
93
- const data = await client.ListLogMessageByCondition({})
163
+ const data = await client.DeleteUsers({})
94
164
  expect(data).to.be.ok
95
165
  } catch(error) {
96
166
  expect(error.requestId).to.be.ok
@@ -98,9 +168,9 @@ it("ciam.v20220331.ListLogMessageByCondition", async function () {
98
168
  }
99
169
  })
100
170
 
101
- it("ciam.v20220331.DescribeUserById", async function () {
171
+ it("ciam.v20220331.ListUserByProperty", async function () {
102
172
  try {
103
- const data = await client.DescribeUserById({})
173
+ const data = await client.ListUserByProperty({})
104
174
  expect(data).to.be.ok
105
175
  } catch(error) {
106
176
  expect(error.requestId).to.be.ok
@@ -108,9 +178,9 @@ it("ciam.v20220331.DescribeUserById", async function () {
108
178
  }
109
179
  })
110
180
 
111
- it("ciam.v20220331.CreateUser", async function () {
181
+ it("ciam.v20220331.DescribeUserById", async function () {
112
182
  try {
113
- const data = await client.CreateUser({})
183
+ const data = await client.DescribeUserById({})
114
184
  expect(data).to.be.ok
115
185
  } catch(error) {
116
186
  expect(error.requestId).to.be.ok
@@ -138,9 +208,9 @@ it("ciam.v20220331.CreateFileExportUserJob", async function () {
138
208
  }
139
209
  })
140
210
 
141
- it("ciam.v20220331.CreateApiImportUserJob", async function () {
211
+ it("ciam.v20220331.ListUserStore", async function () {
142
212
  try {
143
- const data = await client.CreateApiImportUserJob({})
213
+ const data = await client.ListUserStore({})
144
214
  expect(data).to.be.ok
145
215
  } catch(error) {
146
216
  expect(error.requestId).to.be.ok
@@ -148,9 +218,9 @@ it("ciam.v20220331.CreateApiImportUserJob", async function () {
148
218
  }
149
219
  })
150
220
 
151
- it("ciam.v20220331.LinkAccount", async function () {
221
+ it("ciam.v20220331.CreateUserGroup", async function () {
152
222
  try {
153
- const data = await client.LinkAccount({})
223
+ const data = await client.CreateUserGroup({})
154
224
  expect(data).to.be.ok
155
225
  } catch(error) {
156
226
  expect(error.requestId).to.be.ok
@@ -158,9 +228,19 @@ it("ciam.v20220331.LinkAccount", async function () {
158
228
  }
159
229
  })
160
230
 
161
- it("ciam.v20220331.ResetPassword", async function () {
231
+ it("ciam.v20220331.CreateUser", async function () {
162
232
  try {
163
- const data = await client.ResetPassword({})
233
+ const data = await client.CreateUser({})
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
+
241
+ it("ciam.v20220331.ListLogMessageByCondition", async function () {
242
+ try {
243
+ const data = await client.ListLogMessageByCondition({})
164
244
  expect(data).to.be.ok
165
245
  } catch(error) {
166
246
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("cls.v20201016.DescribeLogsets", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("cls.v20201016.ModifyLogset", async function () {
101
+ it("cls.v20201016.ModifyKafkaRecharge", async function () {
102
102
  try {
103
- const data = await client.ModifyLogset({})
103
+ const data = await client.ModifyKafkaRecharge({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("cls.v20201016.ModifyIndex", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("cls.v20201016.ModifyConfigExtra", async function () {
131
+ it("cls.v20201016.CreateShipper", async function () {
132
132
  try {
133
- const data = await client.ModifyConfigExtra({})
133
+ const data = await client.CreateShipper({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("cls.v20201016.DescribeConfigExtras", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("cls.v20201016.CreateShipper", async function () {
191
+ it("cls.v20201016.CheckRechargeKafkaServer", async function () {
192
192
  try {
193
- const data = await client.CreateShipper({})
193
+ const data = await client.CheckRechargeKafkaServer({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -208,6 +208,16 @@ it("cls.v20201016.ModifyConsumer", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("cls.v20201016.CreateKafkaRecharge", async function () {
212
+ try {
213
+ const data = await client.CreateKafkaRecharge({})
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
+
211
221
  it("cls.v20201016.CreateAlarmNotice", async function () {
212
222
  try {
213
223
  const data = await client.CreateAlarmNotice({})
@@ -248,6 +258,16 @@ it("cls.v20201016.DeleteMachineGroup", async function () {
248
258
  }
249
259
  })
250
260
 
261
+ it("cls.v20201016.RetryShipperTask", async function () {
262
+ try {
263
+ const data = await client.RetryShipperTask({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
251
271
  it("cls.v20201016.DescribeTopics", async function () {
252
272
  try {
253
273
  const data = await client.DescribeTopics({})
@@ -308,6 +328,16 @@ it("cls.v20201016.DeleteConfigExtra", async function () {
308
328
  }
309
329
  })
310
330
 
331
+ it("cls.v20201016.DescribeKafkaRecharges", async function () {
332
+ try {
333
+ const data = await client.DescribeKafkaRecharges({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
311
341
  it("cls.v20201016.DescribeAlarms", async function () {
312
342
  try {
313
343
  const data = await client.DescribeAlarms({})
@@ -368,6 +398,16 @@ it("cls.v20201016.CreateLogset", async function () {
368
398
  }
369
399
  })
370
400
 
401
+ it("cls.v20201016.ModifyCosRecharge", async function () {
402
+ try {
403
+ const data = await client.ModifyCosRecharge({})
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("cls.v20201016.SplitPartition", async function () {
372
412
  try {
373
413
  const data = await client.SplitPartition({})
@@ -468,9 +508,9 @@ it("cls.v20201016.DescribeShipperTasks", async function () {
468
508
  }
469
509
  })
470
510
 
471
- it("cls.v20201016.ModifyShipper", async function () {
511
+ it("cls.v20201016.DeleteKafkaRecharge", async function () {
472
512
  try {
473
- const data = await client.ModifyShipper({})
513
+ const data = await client.DeleteKafkaRecharge({})
474
514
  expect(data).to.be.ok
475
515
  } catch(error) {
476
516
  expect(error.requestId).to.be.ok
@@ -518,6 +558,16 @@ it("cls.v20201016.DeleteIndex", async function () {
518
558
  }
519
559
  })
520
560
 
561
+ it("cls.v20201016.ModifyShipper", async function () {
562
+ try {
563
+ const data = await client.ModifyShipper({})
564
+ expect(data).to.be.ok
565
+ } catch(error) {
566
+ expect(error.requestId).to.be.ok
567
+ expect(error.code).to.be.ok
568
+ }
569
+ })
570
+
521
571
  it("cls.v20201016.DeleteAlarm", async function () {
522
572
  try {
523
573
  const data = await client.DeleteAlarm({})
@@ -598,9 +648,9 @@ it("cls.v20201016.CreateConfigExtra", async function () {
598
648
  }
599
649
  })
600
650
 
601
- it("cls.v20201016.RetryShipperTask", async function () {
651
+ it("cls.v20201016.PreviewKafkaRecharge", async function () {
602
652
  try {
603
- const data = await client.RetryShipperTask({})
653
+ const data = await client.PreviewKafkaRecharge({})
604
654
  expect(data).to.be.ok
605
655
  } catch(error) {
606
656
  expect(error.requestId).to.be.ok
@@ -618,9 +668,19 @@ it("cls.v20201016.DescribeConfigMachineGroups", async function () {
618
668
  }
619
669
  })
620
670
 
621
- it("cls.v20201016.ModifyCosRecharge", async function () {
671
+ it("cls.v20201016.ModifyConfigExtra", async function () {
622
672
  try {
623
- const data = await client.ModifyCosRecharge({})
673
+ const data = await client.ModifyConfigExtra({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
681
+ it("cls.v20201016.ModifyLogset", async function () {
682
+ try {
683
+ const data = await client.ModifyLogset({})
624
684
  expect(data).to.be.ok
625
685
  } catch(error) {
626
686
  expect(error.requestId).to.be.ok