tencentcloud-sdk-nodejs 4.0.383 → 4.0.384

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 (45) hide show
  1. package/CHANGELOG.md +311 -0
  2. package/SERVICE_CHANGELOG.md +498 -40
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +1 -1
  7. package/src/services/asr/v20190614/asr_models.ts +1 -1
  8. package/src/services/cfg/v20210820/cfg_models.ts +18 -0
  9. package/src/services/ciam/v20220331/ciam_client.ts +13 -0
  10. package/src/services/ciam/v20220331/ciam_models.ts +91 -0
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +5 -0
  12. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -2
  14. package/src/services/iotvideo/v20211125/iotvideo_client.ts +1099 -28
  15. package/src/services/iotvideo/v20211125/iotvideo_models.ts +4769 -204
  16. package/src/services/ssl/v20191205/ssl_models.ts +12 -0
  17. package/src/services/vpc/v20170312/vpc_models.ts +10 -0
  18. package/src/services/waf/v20180125/waf_client.ts +13 -0
  19. package/src/services/waf/v20180125/waf_models.ts +115 -0
  20. package/src/services/yinsuda/v20220527/yinsuda_models.ts +7 -0
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  24. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  25. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  26. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +15 -0
  27. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +5 -1
  28. package/tencentcloud/services/ciam/v20220331/ciam_client.js +6 -0
  29. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +77 -0
  30. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +4 -0
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  32. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  33. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +3 -1
  34. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +355 -7
  35. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +531 -9
  36. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +4031 -161
  37. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -0
  38. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -0
  39. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  40. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  41. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +95 -0
  42. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +6 -0
  43. package/test/ciam.v20220331.test.js +10 -0
  44. package/test/iotvideo.v20211125.test.js +878 -8
  45. package/test/waf.v20180125.test.js +10 -0
@@ -18,9 +18,579 @@ const client = new tencentcloud.iotvideo.v20211125.Client({
18
18
  })
19
19
  describe("iotvideo.v20211125.test.js", function () {
20
20
 
21
- it("iotvideo.v20211125.DescribeMessageDataStats", async function () {
21
+ it("iotvideo.v20211125.CreateAIDetection", async function () {
22
+ try {
23
+ const data = await client.CreateAIDetection({})
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("iotvideo.v20211125.DescribeAIModels", async function () {
32
+ try {
33
+ const data = await client.DescribeAIModels({})
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("iotvideo.v20211125.DescribeAIModelApplications", async function () {
42
+ try {
43
+ const data = await client.DescribeAIModelApplications({})
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("iotvideo.v20211125.DescribeProduct", async function () {
52
+ try {
53
+ const data = await client.DescribeProduct({})
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("iotvideo.v20211125.GetAllFirmwareVersion", async function () {
62
+ try {
63
+ const data = await client.GetAllFirmwareVersion({})
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("iotvideo.v20211125.DescribeProducts", async function () {
72
+ try {
73
+ const data = await client.DescribeProducts({})
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("iotvideo.v20211125.DescribeUser", async function () {
82
+ try {
83
+ const data = await client.DescribeUser({})
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("iotvideo.v20211125.DescribeFirmwareTaskStatistics", async function () {
92
+ try {
93
+ const data = await client.DescribeFirmwareTaskStatistics({})
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("iotvideo.v20211125.CallDeviceActionSync", async function () {
102
+ try {
103
+ const data = await client.CallDeviceActionSync({})
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("iotvideo.v20211125.ModifyPushChannel", async function () {
112
+ try {
113
+ const data = await client.ModifyPushChannel({})
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("iotvideo.v20211125.GenerateSignedVideoURL", async function () {
122
+ try {
123
+ const data = await client.GenerateSignedVideoURL({})
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("iotvideo.v20211125.EditFirmware", async function () {
132
+ try {
133
+ const data = await client.EditFirmware({})
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("iotvideo.v20211125.PublishMessage", async function () {
142
+ try {
143
+ const data = await client.PublishMessage({})
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("iotvideo.v20211125.DescribeDeviceEventHistory", async function () {
152
+ try {
153
+ const data = await client.DescribeDeviceEventHistory({})
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("iotvideo.v20211125.ImportModelDefinition", async function () {
162
+ try {
163
+ const data = await client.ImportModelDefinition({})
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
+ it("iotvideo.v20211125.CancelDeviceFirmwareTask", async function () {
172
+ try {
173
+ const data = await client.CancelDeviceFirmwareTask({})
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
+
181
+ it("iotvideo.v20211125.ReportAliveDevice", async function () {
182
+ try {
183
+ const data = await client.ReportAliveDevice({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
191
+ it("iotvideo.v20211125.DescribeForwardRule", async function () {
192
+ try {
193
+ const data = await client.DescribeForwardRule({})
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("iotvideo.v20211125.DescribePackageConsumeTasks", async function () {
202
+ try {
203
+ const data = await client.DescribePackageConsumeTasks({})
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("iotvideo.v20211125.DescribeAccount", async function () {
212
+ try {
213
+ const data = await client.DescribeAccount({})
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
+
221
+ it("iotvideo.v20211125.DescribeCloudStoragePackageConsumeStats", async function () {
222
+ try {
223
+ const data = await client.DescribeCloudStoragePackageConsumeStats({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("iotvideo.v20211125.DescribeFirmwareTasks", async function () {
232
+ try {
233
+ const data = await client.DescribeFirmwareTasks({})
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("iotvideo.v20211125.ControlDeviceData", async function () {
242
+ try {
243
+ const data = await client.ControlDeviceData({})
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
+
251
+ it("iotvideo.v20211125.DescribeDeviceCommLog", async function () {
252
+ try {
253
+ const data = await client.DescribeDeviceCommLog({})
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
+
261
+ it("iotvideo.v20211125.DescribeFirmware", async function () {
262
+ try {
263
+ const data = await client.DescribeFirmware({})
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
+
271
+ it("iotvideo.v20211125.DescribeCloudStorageDate", async function () {
272
+ try {
273
+ const data = await client.DescribeCloudStorageDate({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
281
+ it("iotvideo.v20211125.DescribeCloudStorageUsers", async function () {
282
+ try {
283
+ const data = await client.DescribeCloudStorageUsers({})
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("iotvideo.v20211125.DescribeAIModelUsage", async function () {
292
+ try {
293
+ const data = await client.DescribeAIModelUsage({})
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
+
301
+ it("iotvideo.v20211125.RetryDeviceFirmwareTask", async function () {
302
+ try {
303
+ const data = await client.RetryDeviceFirmwareTask({})
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
+
311
+ it("iotvideo.v20211125.ModifyDevice", async function () {
312
+ try {
313
+ const data = await client.ModifyDevice({})
314
+ expect(data).to.be.ok
315
+ } catch(error) {
316
+ expect(error.requestId).to.be.ok
317
+ expect(error.code).to.be.ok
318
+ }
319
+ })
320
+
321
+ it("iotvideo.v20211125.ModifyDataForward", async function () {
322
+ try {
323
+ const data = await client.ModifyDataForward({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
331
+ it("iotvideo.v20211125.BatchUpdateFirmware", async function () {
332
+ try {
333
+ const data = await client.BatchUpdateFirmware({})
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
+
341
+ it("iotvideo.v20211125.CreateProduct", async function () {
342
+ try {
343
+ const data = await client.CreateProduct({})
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
+
351
+ it("iotvideo.v20211125.InheritCloudStorageUser", async function () {
352
+ try {
353
+ const data = await client.InheritCloudStorageUser({})
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
+
361
+ it("iotvideo.v20211125.GetFirmwareURL", async function () {
362
+ try {
363
+ const data = await client.GetFirmwareURL({})
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
+
371
+ it("iotvideo.v20211125.DescribeBatch", async function () {
372
+ try {
373
+ const data = await client.DescribeBatch({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
381
+ it("iotvideo.v20211125.ListFirmwares", async function () {
382
+ try {
383
+ const data = await client.ListFirmwares({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
391
+ it("iotvideo.v20211125.DescribeCategory", async function () {
392
+ try {
393
+ const data = await client.DescribeCategory({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
401
+ it("iotvideo.v20211125.DeleteProduct", async function () {
402
+ try {
403
+ const data = await client.DeleteProduct({})
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("iotvideo.v20211125.ModifyDataForwardStatus", async function () {
412
+ try {
413
+ const data = await client.ModifyDataForwardStatus({})
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
+
421
+ it("iotvideo.v20211125.DescribeFirmwareTask", async function () {
422
+ try {
423
+ const data = await client.DescribeFirmwareTask({})
424
+ expect(data).to.be.ok
425
+ } catch(error) {
426
+ expect(error.requestId).to.be.ok
427
+ expect(error.code).to.be.ok
428
+ }
429
+ })
430
+
431
+ it("iotvideo.v20211125.ResetCloudStorage", async function () {
432
+ try {
433
+ const data = await client.ResetCloudStorage({})
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("iotvideo.v20211125.DescribeFirmwareTaskDevices", async function () {
442
+ try {
443
+ const data = await client.DescribeFirmwareTaskDevices({})
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("iotvideo.v20211125.DescribeDataForwardList", async function () {
452
+ try {
453
+ const data = await client.DescribeDataForwardList({})
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("iotvideo.v20211125.DescribeProductDynamicRegister", async function () {
462
+ try {
463
+ const data = await client.DescribeProductDynamicRegister({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
471
+ it("iotvideo.v20211125.UpdateAIModelChannel", async function () {
472
+ try {
473
+ const data = await client.UpdateAIModelChannel({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
481
+ it("iotvideo.v20211125.DescribeCloudStorageThumbnail", async function () {
482
+ try {
483
+ const data = await client.DescribeCloudStorageThumbnail({})
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
+
491
+ it("iotvideo.v20211125.DeleteFirmware", async function () {
492
+ try {
493
+ const data = await client.DeleteFirmware({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
501
+ it("iotvideo.v20211125.CallDeviceActionAsync", async function () {
502
+ try {
503
+ const data = await client.CallDeviceActionAsync({})
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
+
511
+ it("iotvideo.v20211125.CheckForwardAuth", async function () {
512
+ try {
513
+ const data = await client.CheckForwardAuth({})
514
+ expect(data).to.be.ok
515
+ } catch(error) {
516
+ expect(error.requestId).to.be.ok
517
+ expect(error.code).to.be.ok
518
+ }
519
+ })
520
+
521
+ it("iotvideo.v20211125.DescribeDeviceData", async function () {
522
+ try {
523
+ const data = await client.DescribeDeviceData({})
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("iotvideo.v20211125.ModifyProduct", async function () {
532
+ try {
533
+ const data = await client.ModifyProduct({})
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
+
541
+ it("iotvideo.v20211125.ModifyDeviceLogLevel", async function () {
542
+ try {
543
+ const data = await client.ModifyDeviceLogLevel({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
551
+ it("iotvideo.v20211125.ModifyForwardRule", async function () {
552
+ try {
553
+ const data = await client.ModifyForwardRule({})
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("iotvideo.v20211125.CancelAIModelApplication", async function () {
562
+ try {
563
+ const data = await client.CancelAIModelApplication({})
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("iotvideo.v20211125.DescribeCloudStorage", async function () {
572
+ try {
573
+ const data = await client.DescribeCloudStorage({})
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("iotvideo.v20211125.DescribeBatchs", async function () {
582
+ try {
583
+ const data = await client.DescribeBatchs({})
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("iotvideo.v20211125.DescribeDeviceActionHistory", async function () {
22
592
  try {
23
- const data = await client.DescribeMessageDataStats({})
593
+ const data = await client.DescribeDeviceActionHistory({})
24
594
  expect(data).to.be.ok
25
595
  } catch(error) {
26
596
  expect(error.requestId).to.be.ok
@@ -28,9 +598,49 @@ it("iotvideo.v20211125.DescribeMessageDataStats", async function () {
28
598
  }
29
599
  })
30
600
 
31
- it("iotvideo.v20211125.CreateProduct", async function () {
601
+ it("iotvideo.v20211125.CreateCOSCredentials", async function () {
32
602
  try {
33
- const data = await client.CreateProduct({})
603
+ const data = await client.CreateCOSCredentials({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
611
+ it("iotvideo.v20211125.CreateBatch", async function () {
612
+ try {
613
+ const data = await client.CreateBatch({})
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
+
621
+ it("iotvideo.v20211125.DescribePushChannel", async function () {
622
+ try {
623
+ const data = await client.DescribePushChannel({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
631
+ it("iotvideo.v20211125.CreateCloudStorage", async function () {
632
+ try {
633
+ const data = await client.CreateCloudStorage({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
641
+ it("iotvideo.v20211125.DescribeCloudStorageTime", async function () {
642
+ try {
643
+ const data = await client.DescribeCloudStorageTime({})
34
644
  expect(data).to.be.ok
35
645
  } catch(error) {
36
646
  expect(error.requestId).to.be.ok
@@ -48,6 +658,186 @@ it("iotvideo.v20211125.DescribeDeviceDataStats", async function () {
48
658
  }
49
659
  })
50
660
 
661
+ it("iotvideo.v20211125.WakeUpDevice", async function () {
662
+ try {
663
+ const data = await client.WakeUpDevice({})
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
+
671
+ it("iotvideo.v20211125.DescribeDeviceStatusLog", async function () {
672
+ try {
673
+ const data = await client.DescribeDeviceStatusLog({})
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("iotvideo.v20211125.CreateForwardRule", async function () {
682
+ try {
683
+ const data = await client.CreateForwardRule({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
691
+ it("iotvideo.v20211125.DescribeAIModelChannel", async function () {
692
+ try {
693
+ const data = await client.DescribeAIModelChannel({})
694
+ expect(data).to.be.ok
695
+ } catch(error) {
696
+ expect(error.requestId).to.be.ok
697
+ expect(error.code).to.be.ok
698
+ }
699
+ })
700
+
701
+ it("iotvideo.v20211125.DescribeBalance", async function () {
702
+ try {
703
+ const data = await client.DescribeBalance({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
711
+ it("iotvideo.v20211125.DescribeSDKLog", async function () {
712
+ try {
713
+ const data = await client.DescribeSDKLog({})
714
+ expect(data).to.be.ok
715
+ } catch(error) {
716
+ expect(error.requestId).to.be.ok
717
+ expect(error.code).to.be.ok
718
+ }
719
+ })
720
+
721
+ it("iotvideo.v20211125.BindCloudStorageUser", async function () {
722
+ try {
723
+ const data = await client.BindCloudStorageUser({})
724
+ expect(data).to.be.ok
725
+ } catch(error) {
726
+ expect(error.requestId).to.be.ok
727
+ expect(error.code).to.be.ok
728
+ }
729
+ })
730
+
731
+ it("iotvideo.v20211125.DescribeDevice", async function () {
732
+ try {
733
+ const data = await client.DescribeDevice({})
734
+ expect(data).to.be.ok
735
+ } catch(error) {
736
+ expect(error.requestId).to.be.ok
737
+ expect(error.code).to.be.ok
738
+ }
739
+ })
740
+
741
+ it("iotvideo.v20211125.DescribeMessageDataStats", async function () {
742
+ try {
743
+ const data = await client.DescribeMessageDataStats({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
751
+ it("iotvideo.v20211125.TransferCloudStorage", async function () {
752
+ try {
753
+ const data = await client.TransferCloudStorage({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
761
+ it("iotvideo.v20211125.DescribeBalanceTransactions", async function () {
762
+ try {
763
+ const data = await client.DescribeBalanceTransactions({})
764
+ expect(data).to.be.ok
765
+ } catch(error) {
766
+ expect(error.requestId).to.be.ok
767
+ expect(error.code).to.be.ok
768
+ }
769
+ })
770
+
771
+ it("iotvideo.v20211125.DeleteForwardRule", async function () {
772
+ try {
773
+ const data = await client.DeleteForwardRule({})
774
+ expect(data).to.be.ok
775
+ } catch(error) {
776
+ expect(error.requestId).to.be.ok
777
+ expect(error.code).to.be.ok
778
+ }
779
+ })
780
+
781
+ it("iotvideo.v20211125.ModifyProductDynamicRegister", async function () {
782
+ try {
783
+ const data = await client.ModifyProductDynamicRegister({})
784
+ expect(data).to.be.ok
785
+ } catch(error) {
786
+ expect(error.requestId).to.be.ok
787
+ expect(error.code).to.be.ok
788
+ }
789
+ })
790
+
791
+ it("iotvideo.v20211125.DescribeDeviceDataHistory", async function () {
792
+ try {
793
+ const data = await client.DescribeDeviceDataHistory({})
794
+ expect(data).to.be.ok
795
+ } catch(error) {
796
+ expect(error.requestId).to.be.ok
797
+ expect(error.code).to.be.ok
798
+ }
799
+ })
800
+
801
+ it("iotvideo.v20211125.DeleteDevice", async function () {
802
+ try {
803
+ const data = await client.DeleteDevice({})
804
+ expect(data).to.be.ok
805
+ } catch(error) {
806
+ expect(error.requestId).to.be.ok
807
+ expect(error.code).to.be.ok
808
+ }
809
+ })
810
+
811
+ it("iotvideo.v20211125.DescribePackageConsumeTask", async function () {
812
+ try {
813
+ const data = await client.DescribePackageConsumeTask({})
814
+ expect(data).to.be.ok
815
+ } catch(error) {
816
+ expect(error.requestId).to.be.ok
817
+ expect(error.code).to.be.ok
818
+ }
819
+ })
820
+
821
+ it("iotvideo.v20211125.SetForwardAuth", async function () {
822
+ try {
823
+ const data = await client.SetForwardAuth({})
824
+ expect(data).to.be.ok
825
+ } catch(error) {
826
+ expect(error.requestId).to.be.ok
827
+ expect(error.code).to.be.ok
828
+ }
829
+ })
830
+
831
+ it("iotvideo.v20211125.DescribeFirmwareTaskDistribution", async function () {
832
+ try {
833
+ const data = await client.DescribeFirmwareTaskDistribution({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
51
841
  it("iotvideo.v20211125.GenSingleDeviceSignatureOfPublic", async function () {
52
842
  try {
53
843
  const data = await client.GenSingleDeviceSignatureOfPublic({})
@@ -58,9 +848,9 @@ it("iotvideo.v20211125.GenSingleDeviceSignatureOfPublic", async function () {
58
848
  }
59
849
  })
60
850
 
61
- it("iotvideo.v20211125.CallDeviceActionAsync", async function () {
851
+ it("iotvideo.v20211125.CreateTaskFileUrl", async function () {
62
852
  try {
63
- const data = await client.CallDeviceActionAsync({})
853
+ const data = await client.CreateTaskFileUrl({})
64
854
  expect(data).to.be.ok
65
855
  } catch(error) {
66
856
  expect(error.requestId).to.be.ok
@@ -68,9 +858,89 @@ it("iotvideo.v20211125.CallDeviceActionAsync", async function () {
68
858
  }
69
859
  })
70
860
 
71
- it("iotvideo.v20211125.CallDeviceActionSync", async function () {
861
+ it("iotvideo.v20211125.UploadFirmware", async function () {
72
862
  try {
73
- const data = await client.CallDeviceActionSync({})
863
+ const data = await client.UploadFirmware({})
864
+ expect(data).to.be.ok
865
+ } catch(error) {
866
+ expect(error.requestId).to.be.ok
867
+ expect(error.code).to.be.ok
868
+ }
869
+ })
870
+
871
+ it("iotvideo.v20211125.CreateDataForward", async function () {
872
+ try {
873
+ const data = await client.CreateDataForward({})
874
+ expect(data).to.be.ok
875
+ } catch(error) {
876
+ expect(error.requestId).to.be.ok
877
+ expect(error.code).to.be.ok
878
+ }
879
+ })
880
+
881
+ it("iotvideo.v20211125.DescribeBonuses", async function () {
882
+ try {
883
+ const data = await client.DescribeBonuses({})
884
+ expect(data).to.be.ok
885
+ } catch(error) {
886
+ expect(error.requestId).to.be.ok
887
+ expect(error.code).to.be.ok
888
+ }
889
+ })
890
+
891
+ it("iotvideo.v20211125.DescribeCloudStorageEvents", async function () {
892
+ try {
893
+ const data = await client.DescribeCloudStorageEvents({})
894
+ expect(data).to.be.ok
895
+ } catch(error) {
896
+ expect(error.requestId).to.be.ok
897
+ expect(error.code).to.be.ok
898
+ }
899
+ })
900
+
901
+ it("iotvideo.v20211125.ModifyModelDefinition", async function () {
902
+ try {
903
+ const data = await client.ModifyModelDefinition({})
904
+ expect(data).to.be.ok
905
+ } catch(error) {
906
+ expect(error.requestId).to.be.ok
907
+ expect(error.code).to.be.ok
908
+ }
909
+ })
910
+
911
+ it("iotvideo.v20211125.ApplyAIModel", async function () {
912
+ try {
913
+ const data = await client.ApplyAIModel({})
914
+ expect(data).to.be.ok
915
+ } catch(error) {
916
+ expect(error.requestId).to.be.ok
917
+ expect(error.code).to.be.ok
918
+ }
919
+ })
920
+
921
+ it("iotvideo.v20211125.DescribeModelDefinition", async function () {
922
+ try {
923
+ const data = await client.DescribeModelDefinition({})
924
+ expect(data).to.be.ok
925
+ } catch(error) {
926
+ expect(error.requestId).to.be.ok
927
+ expect(error.code).to.be.ok
928
+ }
929
+ })
930
+
931
+ it("iotvideo.v20211125.DescribeDevices", async function () {
932
+ try {
933
+ const data = await client.DescribeDevices({})
934
+ expect(data).to.be.ok
935
+ } catch(error) {
936
+ expect(error.requestId).to.be.ok
937
+ expect(error.code).to.be.ok
938
+ }
939
+ })
940
+
941
+ it("iotvideo.v20211125.DescribeCloudStoragePackageConsumeDetails", async function () {
942
+ try {
943
+ const data = await client.DescribeCloudStoragePackageConsumeDetails({})
74
944
  expect(data).to.be.ok
75
945
  } catch(error) {
76
946
  expect(error.requestId).to.be.ok