tencentcloud-sdk-nodejs 4.0.337 → 4.0.340

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 (93) hide show
  1. package/CHANGELOG.md +414 -0
  2. package/SERVICE_CHANGELOG.md +399 -33
  3. package/package.json +1 -1
  4. package/products.md +23 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_client.ts +13 -0
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +153 -0
  8. package/src/services/bi/index.ts +5 -0
  9. package/src/services/bi/v20220105/bi_client.ts +57 -0
  10. package/src/services/bi/v20220105/bi_models.ts +214 -0
  11. package/src/services/bi/v20220105/index.ts +6 -0
  12. package/src/services/cfw/v20190904/cfw_models.ts +5 -0
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +41 -1
  15. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  16. package/src/services/dlc/v20210125/dlc_models.ts +35 -0
  17. package/src/services/emr/v20190103/emr_client.ts +67 -63
  18. package/src/services/emr/v20190103/emr_models.ts +2011 -1833
  19. package/src/services/ess/v20201111/ess_models.ts +26 -8
  20. package/src/services/faceid/v20180301/faceid_client.ts +1 -1
  21. package/src/services/faceid/v20180301/faceid_models.ts +5 -4
  22. package/src/services/gaap/v20180529/gaap_client.ts +68 -28
  23. package/src/services/gaap/v20180529/gaap_models.ts +280 -68
  24. package/src/services/index.ts +1 -0
  25. package/src/services/iotcloud/v20210408/iotcloud_client.ts +608 -68
  26. package/src/services/iotcloud/v20210408/iotcloud_models.ts +2835 -667
  27. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +2 -2
  28. package/src/services/monitor/v20180724/monitor_models.ts +5 -0
  29. package/src/services/ocr/v20181119/ocr_client.ts +14 -1
  30. package/src/services/ocr/v20181119/ocr_models.ts +103 -15
  31. package/src/services/redis/v20180412/redis_models.ts +1 -1
  32. package/src/services/ses/v20201002/ses_client.ts +2 -2
  33. package/src/services/ses/v20201002/ses_models.ts +2 -2
  34. package/src/services/tiia/v20190529/tiia_models.ts +2 -2
  35. package/src/services/tke/v20180525/tke_models.ts +15 -0
  36. package/src/services/trtc/v20190722/trtc_models.ts +6 -6
  37. package/src/services/tsf/v20180326/tsf_models.ts +6 -0
  38. package/src/services/vod/v20180717/vod_client.ts +1 -0
  39. package/src/services/vod/v20180717/vod_models.ts +22 -1
  40. package/tencentcloud/common/sdk_version.d.ts +1 -1
  41. package/tencentcloud/common/sdk_version.js +1 -1
  42. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
  43. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
  44. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +126 -0
  45. package/tencentcloud/services/bi/index.d.ts +6 -0
  46. package/tencentcloud/services/bi/index.js +7 -0
  47. package/tencentcloud/services/bi/v20220105/bi_client.d.ts +18 -0
  48. package/tencentcloud/services/bi/v20220105/bi_client.js +43 -0
  49. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +168 -0
  50. package/tencentcloud/services/bi/v20220105/bi_models.js +18 -0
  51. package/tencentcloud/services/bi/v20220105/index.d.ts +6 -0
  52. package/tencentcloud/services/bi/v20220105/index.js +9 -0
  53. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -0
  54. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
  55. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
  56. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +35 -1
  57. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  58. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +29 -0
  59. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
  60. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1757 -1607
  61. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +23 -7
  62. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
  63. package/tencentcloud/services/faceid/v20180301/faceid_client.js +1 -1
  64. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -4
  65. package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +21 -9
  66. package/tencentcloud/services/gaap/v20180529/gaap_client.js +30 -12
  67. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +245 -60
  68. package/tencentcloud/services/index.d.ts +1 -0
  69. package/tencentcloud/services/index.js +2 -0
  70. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +187 -11
  71. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +279 -15
  72. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +2515 -663
  73. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +2 -2
  74. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +2 -2
  75. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
  76. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -2
  77. package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -1
  78. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +87 -15
  79. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
  80. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +2 -2
  81. package/tencentcloud/services/ses/v20201002/ses_client.js +2 -2
  82. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -2
  83. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +2 -2
  84. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +12 -0
  85. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
  86. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -0
  87. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +19 -1
  88. package/test/antiddos.v20200309.test.js +10 -0
  89. package/test/bi.v20220105.test.js +41 -0
  90. package/test/ckafka.v20190819.test.js +10 -0
  91. package/test/gaap.v20180529.test.js +44 -14
  92. package/test/iotcloud.v20210408.test.js +450 -10
  93. package/test/ocr.v20181119.test.js +10 -0
@@ -18,6 +18,36 @@ const client = new tencentcloud.iotcloud.v20210408.Client({
18
18
  })
19
19
  describe("iotcloud.v20210408.test.js", function () {
20
20
 
21
+ it("iotcloud.v20210408.GetCOSURL", async function () {
22
+ try {
23
+ const data = await client.GetCOSURL({})
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("iotcloud.v20210408.ReplaceTopicRule", async function () {
32
+ try {
33
+ const data = await client.ReplaceTopicRule({})
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("iotcloud.v20210408.PublishRRPCMessage", async function () {
42
+ try {
43
+ const data = await client.PublishRRPCMessage({})
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
+
21
51
  it("iotcloud.v20210408.UpdateDeviceLogLevel", async function () {
22
52
  try {
23
53
  const data = await client.UpdateDeviceLogLevel({})
@@ -28,9 +58,9 @@ it("iotcloud.v20210408.UpdateDeviceLogLevel", async function () {
28
58
  }
29
59
  })
30
60
 
31
- it("iotcloud.v20210408.DescribePrivateCAs", async function () {
61
+ it("iotcloud.v20210408.DescribeGatewayBindDevices", async function () {
32
62
  try {
33
- const data = await client.DescribePrivateCAs({})
63
+ const data = await client.DescribeGatewayBindDevices({})
34
64
  expect(data).to.be.ok
35
65
  } catch(error) {
36
66
  expect(error.requestId).to.be.ok
@@ -48,6 +78,36 @@ it("iotcloud.v20210408.ListLogPayload", async function () {
48
78
  }
49
79
  })
50
80
 
81
+ it("iotcloud.v20210408.UpdateTopicPolicy", async function () {
82
+ try {
83
+ const data = await client.UpdateTopicPolicy({})
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("iotcloud.v20210408.DescribeFirmware", async function () {
92
+ try {
93
+ const data = await client.DescribeFirmware({})
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("iotcloud.v20210408.DescribeDeviceShadow", async function () {
102
+ try {
103
+ const data = await client.DescribeDeviceShadow({})
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
+
51
111
  it("iotcloud.v20210408.DescribeDevice", async function () {
52
112
  try {
53
113
  const data = await client.DescribeDevice({})
@@ -58,6 +118,26 @@ it("iotcloud.v20210408.DescribeDevice", async function () {
58
118
  }
59
119
  })
60
120
 
121
+ it("iotcloud.v20210408.PublishBroadcastMessage", async function () {
122
+ try {
123
+ const data = await client.PublishBroadcastMessage({})
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("iotcloud.v20210408.UpdateDeviceAvailableState", async function () {
132
+ try {
133
+ const data = await client.UpdateDeviceAvailableState({})
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
+
61
141
  it("iotcloud.v20210408.DescribeProduct", async function () {
62
142
  try {
63
143
  const data = await client.DescribeProduct({})
@@ -68,6 +148,36 @@ it("iotcloud.v20210408.DescribeProduct", async function () {
68
148
  }
69
149
  })
70
150
 
151
+ it("iotcloud.v20210408.CreateTopicRule", async function () {
152
+ try {
153
+ const data = await client.CreateTopicRule({})
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("iotcloud.v20210408.RetryDeviceFirmwareTask", async function () {
162
+ try {
163
+ const data = await client.RetryDeviceFirmwareTask({})
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("iotcloud.v20210408.CreateTopicPolicy", async function () {
172
+ try {
173
+ const data = await client.CreateTopicPolicy({})
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
+
71
181
  it("iotcloud.v20210408.UpdateProductPrivateCA", async function () {
72
182
  try {
73
183
  const data = await client.UpdateProductPrivateCA({})
@@ -78,6 +188,56 @@ it("iotcloud.v20210408.UpdateProductPrivateCA", async function () {
78
188
  }
79
189
  })
80
190
 
191
+ it("iotcloud.v20210408.DescribePrivateCABindedProducts", async function () {
192
+ try {
193
+ const data = await client.DescribePrivateCABindedProducts({})
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("iotcloud.v20210408.BatchUpdateFirmware", async function () {
202
+ try {
203
+ const data = await client.BatchUpdateFirmware({})
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("iotcloud.v20210408.CreateProduct", async function () {
212
+ try {
213
+ const data = await client.CreateProduct({})
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("iotcloud.v20210408.GetUserResourceInfo", async function () {
222
+ try {
223
+ const data = await client.GetUserResourceInfo({})
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("iotcloud.v20210408.SetProductsForbiddenStatus", async function () {
232
+ try {
233
+ const data = await client.SetProductsForbiddenStatus({})
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
+
81
241
  it("iotcloud.v20210408.DescribeProductCA", async function () {
82
242
  try {
83
243
  const data = await client.DescribeProductCA({})
@@ -88,6 +248,56 @@ it("iotcloud.v20210408.DescribeProductCA", async function () {
88
248
  }
89
249
  })
90
250
 
251
+ it("iotcloud.v20210408.DescribeDeviceClientKey", async function () {
252
+ try {
253
+ const data = await client.DescribeDeviceClientKey({})
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("iotcloud.v20210408.DescribeProducts", async function () {
262
+ try {
263
+ const data = await client.DescribeProducts({})
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("iotcloud.v20210408.CreateMultiDevicesTask", async function () {
272
+ try {
273
+ const data = await client.CreateMultiDevicesTask({})
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("iotcloud.v20210408.DescribeResourceTasks", async function () {
282
+ try {
283
+ const data = await client.DescribeResourceTasks({})
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("iotcloud.v20210408.DescribeFirmwareTaskStatistics", async function () {
292
+ try {
293
+ const data = await client.DescribeFirmwareTaskStatistics({})
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
+
91
301
  it("iotcloud.v20210408.DeleteProductPrivateCA", async function () {
92
302
  try {
93
303
  const data = await client.DeleteProductPrivateCA({})
@@ -98,9 +308,19 @@ it("iotcloud.v20210408.DeleteProductPrivateCA", async function () {
98
308
  }
99
309
  })
100
310
 
101
- it("iotcloud.v20210408.UpdateDevicesEnableState", async function () {
311
+ it("iotcloud.v20210408.DescribePushResourceTaskStatistics", async function () {
102
312
  try {
103
- const data = await client.UpdateDevicesEnableState({})
313
+ const data = await client.DescribePushResourceTaskStatistics({})
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("iotcloud.v20210408.DescribeProductTask", async function () {
322
+ try {
323
+ const data = await client.DescribeProductTask({})
104
324
  expect(data).to.be.ok
105
325
  } catch(error) {
106
326
  expect(error.requestId).to.be.ok
@@ -118,6 +338,16 @@ it("iotcloud.v20210408.DeleteDevice", async function () {
118
338
  }
119
339
  })
120
340
 
341
+ it("iotcloud.v20210408.UpdateDevicesEnableState", async function () {
342
+ try {
343
+ const data = await client.UpdateDevicesEnableState({})
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
+
121
351
  it("iotcloud.v20210408.ListSDKLog", async function () {
122
352
  try {
123
353
  const data = await client.ListSDKLog({})
@@ -128,6 +358,26 @@ it("iotcloud.v20210408.ListSDKLog", async function () {
128
358
  }
129
359
  })
130
360
 
361
+ it("iotcloud.v20210408.DescribeProductResource", async function () {
362
+ try {
363
+ const data = await client.DescribeProductResource({})
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("iotcloud.v20210408.EditFirmware", async function () {
372
+ try {
373
+ const data = await client.EditFirmware({})
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
+
131
381
  it("iotcloud.v20210408.CreateDevice", async function () {
132
382
  try {
133
383
  const data = await client.CreateDevice({})
@@ -138,9 +388,29 @@ it("iotcloud.v20210408.CreateDevice", async function () {
138
388
  }
139
389
  })
140
390
 
141
- it("iotcloud.v20210408.DescribePrivateCABindedProducts", async function () {
391
+ it("iotcloud.v20210408.DescribeDeviceResource", async function () {
142
392
  try {
143
- const data = await client.DescribePrivateCABindedProducts({})
393
+ const data = await client.DescribeDeviceResource({})
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("iotcloud.v20210408.PublishMessage", async function () {
402
+ try {
403
+ const data = await client.PublishMessage({})
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("iotcloud.v20210408.DescribeFirmwareTaskDistribution", async function () {
412
+ try {
413
+ const data = await client.DescribeFirmwareTaskDistribution({})
144
414
  expect(data).to.be.ok
145
415
  } catch(error) {
146
416
  expect(error.requestId).to.be.ok
@@ -178,6 +448,16 @@ it("iotcloud.v20210408.UpdatePrivateCA", async function () {
178
448
  }
179
449
  })
180
450
 
451
+ it("iotcloud.v20210408.DownloadDeviceResource", async function () {
452
+ try {
453
+ const data = await client.DownloadDeviceResource({})
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
+
181
461
  it("iotcloud.v20210408.DeletePrivateCA", async function () {
182
462
  try {
183
463
  const data = await client.DeletePrivateCA({})
@@ -188,6 +468,46 @@ it("iotcloud.v20210408.DeletePrivateCA", async function () {
188
468
  }
189
469
  })
190
470
 
471
+ it("iotcloud.v20210408.ResetDeviceState", async function () {
472
+ try {
473
+ const data = await client.ResetDeviceState({})
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("iotcloud.v20210408.DescribeFirmwareTask", async function () {
482
+ try {
483
+ const data = await client.DescribeFirmwareTask({})
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("iotcloud.v20210408.UploadFirmware", async function () {
492
+ try {
493
+ const data = await client.UploadFirmware({})
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("iotcloud.v20210408.DescribeDeviceResources", async function () {
502
+ try {
503
+ const data = await client.DescribeDeviceResources({})
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
+
191
511
  it("iotcloud.v20210408.UpdateProductDynamicRegister", async function () {
192
512
  try {
193
513
  const data = await client.UpdateProductDynamicRegister({})
@@ -208,6 +528,66 @@ it("iotcloud.v20210408.ListLog", async function () {
208
528
  }
209
529
  })
210
530
 
531
+ it("iotcloud.v20210408.DescribeFirmwareTaskDevices", async function () {
532
+ try {
533
+ const data = await client.DescribeFirmwareTaskDevices({})
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("iotcloud.v20210408.CancelDeviceFirmwareTask", async function () {
542
+ try {
543
+ const data = await client.CancelDeviceFirmwareTask({})
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("iotcloud.v20210408.EnableTopicRule", async function () {
552
+ try {
553
+ const data = await client.EnableTopicRule({})
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("iotcloud.v20210408.BindDevices", async function () {
562
+ try {
563
+ const data = await client.BindDevices({})
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("iotcloud.v20210408.CreateTaskFileUrl", async function () {
572
+ try {
573
+ const data = await client.CreateTaskFileUrl({})
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("iotcloud.v20210408.UnbindDevices", async function () {
582
+ try {
583
+ const data = await client.UnbindDevices({})
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
+
211
591
  it("iotcloud.v20210408.DescribePrivateCA", async function () {
212
592
  try {
213
593
  const data = await client.DescribePrivateCA({})
@@ -218,6 +598,16 @@ it("iotcloud.v20210408.DescribePrivateCA", async function () {
218
598
  }
219
599
  })
220
600
 
601
+ it("iotcloud.v20210408.DescribeProductTasks", async function () {
602
+ try {
603
+ const data = await client.DescribeProductTasks({})
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
+
221
611
  it("iotcloud.v20210408.DescribeDevices", async function () {
222
612
  try {
223
613
  const data = await client.DescribeDevices({})
@@ -228,9 +618,9 @@ it("iotcloud.v20210408.DescribeDevices", async function () {
228
618
  }
229
619
  })
230
620
 
231
- it("iotcloud.v20210408.SetProductsForbiddenStatus", async function () {
621
+ it("iotcloud.v20210408.DisableTopicRule", async function () {
232
622
  try {
233
- const data = await client.SetProductsForbiddenStatus({})
623
+ const data = await client.DisableTopicRule({})
234
624
  expect(data).to.be.ok
235
625
  } catch(error) {
236
626
  expect(error.requestId).to.be.ok
@@ -238,9 +628,49 @@ it("iotcloud.v20210408.SetProductsForbiddenStatus", async function () {
238
628
  }
239
629
  })
240
630
 
241
- it("iotcloud.v20210408.PublishBroadcastMessage", async function () {
631
+ it("iotcloud.v20210408.UpdateDeviceShadow", async function () {
242
632
  try {
243
- const data = await client.PublishBroadcastMessage({})
633
+ const data = await client.UpdateDeviceShadow({})
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("iotcloud.v20210408.DescribeFirmwareTasks", async function () {
642
+ try {
643
+ const data = await client.DescribeFirmwareTasks({})
644
+ expect(data).to.be.ok
645
+ } catch(error) {
646
+ expect(error.requestId).to.be.ok
647
+ expect(error.code).to.be.ok
648
+ }
649
+ })
650
+
651
+ it("iotcloud.v20210408.DescribeProductResources", async function () {
652
+ try {
653
+ const data = await client.DescribeProductResources({})
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
+
661
+ it("iotcloud.v20210408.DeleteDeviceResource", async function () {
662
+ try {
663
+ const data = await client.DeleteDeviceResource({})
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("iotcloud.v20210408.DescribePrivateCAs", async function () {
672
+ try {
673
+ const data = await client.DescribePrivateCAs({})
244
674
  expect(data).to.be.ok
245
675
  } catch(error) {
246
676
  expect(error.requestId).to.be.ok
@@ -258,4 +688,14 @@ it("iotcloud.v20210408.UpdateDevicePSK", async function () {
258
688
  }
259
689
  })
260
690
 
691
+ it("iotcloud.v20210408.DeleteTopicRule", async function () {
692
+ try {
693
+ const data = await client.DeleteTopicRule({})
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
+
261
701
  })
@@ -108,6 +108,16 @@ it("ocr.v20181119.MLIDCardOCR", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("ocr.v20181119.VatInvoiceVerifyNew", async function () {
112
+ try {
113
+ const data = await client.VatInvoiceVerifyNew({})
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
+
111
121
  it("ocr.v20181119.QrcodeOCR", async function () {
112
122
  try {
113
123
  const data = await client.QrcodeOCR({})