tencentcloud-sdk-nodejs 4.0.256 → 4.0.257

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 (44) hide show
  1. package/CHANGELOG.md +334 -109
  2. package/package.json +1 -1
  3. package/products.md +12 -12
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/antiddos/v20200309/antiddos_models.ts +15 -0
  6. package/src/services/cam/v20190116/cam_models.ts +1 -1
  7. package/src/services/cii/v20210408/cii_models.ts +6 -6
  8. package/src/services/cls/v20201016/cls_client.ts +6 -6
  9. package/src/services/cls/v20201016/cls_models.ts +1 -1
  10. package/src/services/dbbrain/v20210527/dbbrain_client.ts +14 -2
  11. package/src/services/dbbrain/v20210527/dbbrain_models.ts +100 -45
  12. package/src/services/eiam/v20210420/eiam_client.ts +230 -65
  13. package/src/services/eiam/v20210420/eiam_models.ts +1582 -816
  14. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +374 -56
  15. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +1526 -397
  16. package/src/services/live/v20180801/live_models.ts +12 -1
  17. package/src/services/thpc/v20211109/thpc_client.ts +2 -1
  18. package/src/services/thpc/v20211109/thpc_models.ts +29 -4
  19. package/src/services/tiw/v20190919/tiw_models.ts +2 -6
  20. package/src/services/vpc/v20170312/vpc_models.ts +15 -1
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +12 -0
  24. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
  25. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +6 -6
  26. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +6 -6
  27. package/tencentcloud/services/cls/v20201016/cls_client.js +6 -6
  28. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  29. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  30. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  31. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +83 -37
  32. package/tencentcloud/services/eiam/v20210420/eiam_client.d.ts +57 -5
  33. package/tencentcloud/services/eiam/v20210420/eiam_client.js +84 -6
  34. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1348 -693
  35. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +119 -15
  36. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +177 -21
  37. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1191 -221
  38. package/tencentcloud/services/live/v20180801/live_models.d.ts +11 -1
  39. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +25 -4
  40. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -6
  41. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +14 -1
  42. package/test/dbbrain.v20210527.test.js +10 -0
  43. package/test/eiam.v20210420.test.js +134 -4
  44. package/test/iotvideoindustry.v20201201.test.js +274 -14
@@ -28,9 +28,9 @@ it("iotvideoindustry.v20201201.DescribeIPCChannels", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("iotvideoindustry.v20201201.UpdateRecordPlan", async function () {
31
+ it("iotvideoindustry.v20201201.ModifyVideoInfo", async function () {
32
32
  try {
33
- const data = await client.UpdateRecordPlan({})
33
+ const data = await client.ModifyVideoInfo({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -58,6 +58,26 @@ it("iotvideoindustry.v20201201.UpdateDeviceGroup", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("iotvideoindustry.v20201201.DescribeDeviceStreams", async function () {
62
+ try {
63
+ const data = await client.DescribeDeviceStreams({})
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("iotvideoindustry.v20201201.DeleteVideoList", async function () {
72
+ try {
73
+ const data = await client.DeleteVideoList({})
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
+
61
81
  it("iotvideoindustry.v20201201.CreateDeviceGroup", async function () {
62
82
  try {
63
83
  const data = await client.CreateDeviceGroup({})
@@ -78,9 +98,19 @@ it("iotvideoindustry.v20201201.DescribeRecordStream", async function () {
78
98
  }
79
99
  })
80
100
 
81
- it("iotvideoindustry.v20201201.DescribeStatisticSummary", async function () {
101
+ it("iotvideoindustry.v20201201.DescribeLiveVideoList", async function () {
82
102
  try {
83
- const data = await client.DescribeStatisticSummary({})
103
+ const data = await client.DescribeLiveVideoList({})
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("iotvideoindustry.v20201201.CreateScene", async function () {
112
+ try {
113
+ const data = await client.CreateScene({})
84
114
  expect(data).to.be.ok
85
115
  } catch(error) {
86
116
  expect(error.requestId).to.be.ok
@@ -118,6 +148,16 @@ it("iotvideoindustry.v20201201.UpdateDevicePassWord", async function () {
118
148
  }
119
149
  })
120
150
 
151
+ it("iotvideoindustry.v20201201.DescribeSubscriptionStatus", async function () {
152
+ try {
153
+ const data = await client.DescribeSubscriptionStatus({})
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
+
121
161
  it("iotvideoindustry.v20201201.ControlRecordStream", async function () {
122
162
  try {
123
163
  const data = await client.ControlRecordStream({})
@@ -128,6 +168,16 @@ it("iotvideoindustry.v20201201.ControlRecordStream", async function () {
128
168
  }
129
169
  })
130
170
 
171
+ it("iotvideoindustry.v20201201.ModifyBindPlanLiveChannel", async function () {
172
+ try {
173
+ const data = await client.ModifyBindPlanLiveChannel({})
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
+
131
181
  it("iotvideoindustry.v20201201.GetTimeTemplateById", async function () {
132
182
  try {
133
183
  const data = await client.GetTimeTemplateById({})
@@ -138,6 +188,36 @@ it("iotvideoindustry.v20201201.GetTimeTemplateById", async function () {
138
188
  }
139
189
  })
140
190
 
191
+ it("iotvideoindustry.v20201201.DeleteLiveVideoList", async function () {
192
+ try {
193
+ const data = await client.DeleteLiveVideoList({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
201
+ it("iotvideoindustry.v20201201.ModifyLiveRecordPlan", async function () {
202
+ try {
203
+ const data = await client.ModifyLiveRecordPlan({})
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
+
211
+ it("iotvideoindustry.v20201201.DeleteChannel", async function () {
212
+ try {
213
+ const data = await client.DeleteChannel({})
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
+
141
221
  it("iotvideoindustry.v20201201.DescribeDevicePassWord", async function () {
142
222
  try {
143
223
  const data = await client.DescribeDevicePassWord({})
@@ -158,6 +238,16 @@ it("iotvideoindustry.v20201201.DescribeGroupDevices", async function () {
158
238
  }
159
239
  })
160
240
 
241
+ it("iotvideoindustry.v20201201.GetRecordPlanByDev", async function () {
242
+ try {
243
+ const data = await client.GetRecordPlanByDev({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
161
251
  it("iotvideoindustry.v20201201.GetRecordPlans", async function () {
162
252
  try {
163
253
  const data = await client.GetRecordPlans({})
@@ -178,9 +268,9 @@ it("iotvideoindustry.v20201201.DeleteDevice", async function () {
178
268
  }
179
269
  })
180
270
 
181
- it("iotvideoindustry.v20201201.ModifyDeviceData", async function () {
271
+ it("iotvideoindustry.v20201201.CreateLiveRecordPlan", async function () {
182
272
  try {
183
- const data = await client.ModifyDeviceData({})
273
+ const data = await client.CreateLiveRecordPlan({})
184
274
  expect(data).to.be.ok
185
275
  } catch(error) {
186
276
  expect(error.requestId).to.be.ok
@@ -198,6 +288,16 @@ it("iotvideoindustry.v20201201.DescribeGroupByPath", async function () {
198
288
  }
199
289
  })
200
290
 
291
+ it("iotvideoindustry.v20201201.DescribeRecordDatesByLive", async function () {
292
+ try {
293
+ const data = await client.DescribeRecordDatesByLive({})
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
+
201
301
  it("iotvideoindustry.v20201201.GetRecordDatesByDev", async function () {
202
302
  try {
203
303
  const data = await client.GetRecordDatesByDev({})
@@ -218,9 +318,9 @@ it("iotvideoindustry.v20201201.GetTimeTemplates", async function () {
218
318
  }
219
319
  })
220
320
 
221
- it("iotvideoindustry.v20201201.DescribeDeviceStreams", async function () {
321
+ it("iotvideoindustry.v20201201.DeleteLiveChannel", async function () {
222
322
  try {
223
- const data = await client.DescribeDeviceStreams({})
323
+ const data = await client.DeleteLiveChannel({})
224
324
  expect(data).to.be.ok
225
325
  } catch(error) {
226
326
  expect(error.requestId).to.be.ok
@@ -238,6 +338,16 @@ it("iotvideoindustry.v20201201.DescribeStatisticDetails", async function () {
238
338
  }
239
339
  })
240
340
 
341
+ it("iotvideoindustry.v20201201.DescribeScenes", async function () {
342
+ try {
343
+ const data = await client.DescribeScenes({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
241
351
  it("iotvideoindustry.v20201201.CreateDevice", async function () {
242
352
  try {
243
353
  const data = await client.CreateDevice({})
@@ -258,9 +368,9 @@ it("iotvideoindustry.v20201201.GetRecordPlanById", async function () {
258
368
  }
259
369
  })
260
370
 
261
- it("iotvideoindustry.v20201201.GetRecordPlanByDev", async function () {
371
+ it("iotvideoindustry.v20201201.DescribeChannelsByLiveRecordPlan", async function () {
262
372
  try {
263
- const data = await client.GetRecordPlanByDev({})
373
+ const data = await client.DescribeChannelsByLiveRecordPlan({})
264
374
  expect(data).to.be.ok
265
375
  } catch(error) {
266
376
  expect(error.requestId).to.be.ok
@@ -288,9 +398,19 @@ it("iotvideoindustry.v20201201.DeleteRecordPlan", async function () {
288
398
  }
289
399
  })
290
400
 
291
- it("iotvideoindustry.v20201201.DescribeGroups", async function () {
401
+ it("iotvideoindustry.v20201201.DescribeStatisticSummary", async function () {
292
402
  try {
293
- const data = await client.DescribeGroups({})
403
+ const data = await client.DescribeStatisticSummary({})
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
+
411
+ it("iotvideoindustry.v20201201.DeleteLiveRecordPlan", async function () {
412
+ try {
413
+ const data = await client.DeleteLiveRecordPlan({})
294
414
  expect(data).to.be.ok
295
415
  } catch(error) {
296
416
  expect(error.requestId).to.be.ok
@@ -308,9 +428,39 @@ it("iotvideoindustry.v20201201.DeleteTimeTemplate", async function () {
308
428
  }
309
429
  })
310
430
 
311
- it("iotvideoindustry.v20201201.DescribeSIPServer", async function () {
431
+ it("iotvideoindustry.v20201201.DescribeGroups", async function () {
312
432
  try {
313
- const data = await client.DescribeSIPServer({})
433
+ const data = await client.DescribeGroups({})
434
+ expect(data).to.be.ok
435
+ } catch(error) {
436
+ expect(error.requestId).to.be.ok
437
+ expect(error.code).to.be.ok
438
+ }
439
+ })
440
+
441
+ it("iotvideoindustry.v20201201.ModifyDeviceData", async function () {
442
+ try {
443
+ const data = await client.ModifyDeviceData({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
451
+ it("iotvideoindustry.v20201201.DescribeLiveStream", async function () {
452
+ try {
453
+ const data = await client.DescribeLiveStream({})
454
+ expect(data).to.be.ok
455
+ } catch(error) {
456
+ expect(error.requestId).to.be.ok
457
+ expect(error.code).to.be.ok
458
+ }
459
+ })
460
+
461
+ it("iotvideoindustry.v20201201.ModifyLiveChannel", async function () {
462
+ try {
463
+ const data = await client.ModifyLiveChannel({})
314
464
  expect(data).to.be.ok
315
465
  } catch(error) {
316
466
  expect(error.requestId).to.be.ok
@@ -328,6 +478,16 @@ it("iotvideoindustry.v20201201.DeleteDeviceGroup", async function () {
328
478
  }
329
479
  })
330
480
 
481
+ it("iotvideoindustry.v20201201.DescribeBindSceneDevices", async function () {
482
+ try {
483
+ const data = await client.DescribeBindSceneDevices({})
484
+ expect(data).to.be.ok
485
+ } catch(error) {
486
+ expect(error.requestId).to.be.ok
487
+ expect(error.code).to.be.ok
488
+ }
489
+ })
490
+
331
491
  it("iotvideoindustry.v20201201.ControlDevicePTZ", async function () {
332
492
  try {
333
493
  const data = await client.ControlDevicePTZ({})
@@ -338,6 +498,16 @@ it("iotvideoindustry.v20201201.ControlDevicePTZ", async function () {
338
498
  }
339
499
  })
340
500
 
501
+ it("iotvideoindustry.v20201201.DescribeLiveRecordPlanIds", async function () {
502
+ try {
503
+ const data = await client.DescribeLiveRecordPlanIds({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
341
511
  it("iotvideoindustry.v20201201.DescribeVideoList", async function () {
342
512
  try {
343
513
  const data = await client.DescribeVideoList({})
@@ -348,6 +518,26 @@ it("iotvideoindustry.v20201201.DescribeVideoList", async function () {
348
518
  }
349
519
  })
350
520
 
521
+ it("iotvideoindustry.v20201201.ModifyLiveVideo", async function () {
522
+ try {
523
+ const data = await client.ModifyLiveVideo({})
524
+ expect(data).to.be.ok
525
+ } catch(error) {
526
+ expect(error.requestId).to.be.ok
527
+ expect(error.code).to.be.ok
528
+ }
529
+ })
530
+
531
+ it("iotvideoindustry.v20201201.DescribeLiveChannel", async function () {
532
+ try {
533
+ const data = await client.DescribeLiveChannel({})
534
+ expect(data).to.be.ok
535
+ } catch(error) {
536
+ expect(error.requestId).to.be.ok
537
+ expect(error.code).to.be.ok
538
+ }
539
+ })
540
+
351
541
  it("iotvideoindustry.v20201201.DescribeAllDeviceList", async function () {
352
542
  try {
353
543
  const data = await client.DescribeAllDeviceList({})
@@ -358,6 +548,56 @@ it("iotvideoindustry.v20201201.DescribeAllDeviceList", async function () {
358
548
  }
359
549
  })
360
550
 
551
+ it("iotvideoindustry.v20201201.DeleteScene", async function () {
552
+ try {
553
+ const data = await client.DeleteScene({})
554
+ expect(data).to.be.ok
555
+ } catch(error) {
556
+ expect(error.requestId).to.be.ok
557
+ expect(error.code).to.be.ok
558
+ }
559
+ })
560
+
561
+ it("iotvideoindustry.v20201201.DescribeSIPServer", async function () {
562
+ try {
563
+ const data = await client.DescribeSIPServer({})
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
+
571
+ it("iotvideoindustry.v20201201.ModifySubscriptionStatus", async function () {
572
+ try {
573
+ const data = await client.ModifySubscriptionStatus({})
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
+
581
+ it("iotvideoindustry.v20201201.UpdateRecordPlan", async function () {
582
+ try {
583
+ const data = await client.UpdateRecordPlan({})
584
+ expect(data).to.be.ok
585
+ } catch(error) {
586
+ expect(error.requestId).to.be.ok
587
+ expect(error.code).to.be.ok
588
+ }
589
+ })
590
+
591
+ it("iotvideoindustry.v20201201.CreateLiveChannel", async function () {
592
+ try {
593
+ const data = await client.CreateLiveChannel({})
594
+ expect(data).to.be.ok
595
+ } catch(error) {
596
+ expect(error.requestId).to.be.ok
597
+ expect(error.code).to.be.ok
598
+ }
599
+ })
600
+
361
601
  it("iotvideoindustry.v20201201.BindGroupDevices", async function () {
362
602
  try {
363
603
  const data = await client.BindGroupDevices({})
@@ -368,6 +608,16 @@ it("iotvideoindustry.v20201201.BindGroupDevices", async function () {
368
608
  }
369
609
  })
370
610
 
611
+ it("iotvideoindustry.v20201201.DescribeLiveRecordPlanById", async function () {
612
+ try {
613
+ const data = await client.DescribeLiveRecordPlanById({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
371
621
  it("iotvideoindustry.v20201201.DescribeGroupById", async function () {
372
622
  try {
373
623
  const data = await client.DescribeGroupById({})
@@ -398,4 +648,14 @@ it("iotvideoindustry.v20201201.CreateTimeTemplate", async function () {
398
648
  }
399
649
  })
400
650
 
651
+ it("iotvideoindustry.v20201201.DescribeLiveChannelList", async function () {
652
+ try {
653
+ const data = await client.DescribeLiveChannelList({})
654
+ expect(data).to.be.ok
655
+ } catch(error) {
656
+ expect(error.requestId).to.be.ok
657
+ expect(error.code).to.be.ok
658
+ }
659
+ })
660
+
401
661
  })