tencentcloud-sdk-nodejs 4.0.727 → 4.0.729

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 +363 -0
  2. package/SERVICE_CHANGELOG.md +331 -127
  3. package/package.json +1 -1
  4. package/products.md +25 -24
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/v20201229/ams_client.ts +1 -1
  7. package/src/services/ams/v20201229/ams_models.ts +4 -1
  8. package/src/services/as/v20180419/as_client.ts +1 -0
  9. package/src/services/as/v20180419/as_models.ts +60 -31
  10. package/src/services/cfg/v20210820/cfg_models.ts +30 -7
  11. package/src/services/cfs/v20190719/cfs_client.ts +3 -2
  12. package/src/services/cfs/v20190719/cfs_models.ts +3 -2
  13. package/src/services/cls/v20201016/cls_models.ts +11 -8
  14. package/src/services/csip/v20221121/csip_models.ts +2 -2
  15. package/src/services/dlc/v20210125/dlc_client.ts +17 -4
  16. package/src/services/dlc/v20210125/dlc_models.ts +128 -54
  17. package/src/services/drm/v20181115/drm_client.ts +12 -0
  18. package/src/services/drm/v20181115/drm_models.ts +40 -0
  19. package/src/services/dts/v20211206/dts_models.ts +1 -1
  20. package/src/services/ess/v20201111/ess_client.ts +28 -24
  21. package/src/services/ess/v20201111/ess_models.ts +53 -58
  22. package/src/services/essbasic/v20210526/essbasic_client.ts +97 -45
  23. package/src/services/essbasic/v20210526/essbasic_models.ts +378 -149
  24. package/src/services/faceid/v20180301/faceid_models.ts +38 -38
  25. package/src/services/hai/index.ts +5 -0
  26. package/src/services/hai/v20230812/hai_client.ts +40 -0
  27. package/src/services/hai/v20230812/hai_models.ts +80 -0
  28. package/src/services/hai/v20230812/index.ts +6 -0
  29. package/src/services/index.ts +1 -0
  30. package/src/services/live/v20180801/live_models.ts +23 -23
  31. package/src/services/ocr/v20181119/ocr_client.ts +10 -7
  32. package/src/services/ocr/v20181119/ocr_models.ts +403 -129
  33. package/src/services/trocket/v20230308/trocket_client.ts +18 -2
  34. package/src/services/trocket/v20230308/trocket_models.ts +91 -15
  35. package/src/services/vm/v20201229/vm_models.ts +14 -14
  36. package/src/services/vm/v20210922/vm_client.ts +43 -9
  37. package/src/services/vm/v20210922/vm_models.ts +84 -37
  38. package/src/services/wedata/v20210820/wedata_client.ts +3 -3
  39. package/src/services/wedata/v20210820/wedata_models.ts +13 -13
  40. package/src/services/weilingwith/v20230427/weilingwith_client.ts +652 -24
  41. package/src/services/weilingwith/v20230427/weilingwith_models.ts +1031 -30
  42. package/tencentcloud/common/sdk_version.d.ts +1 -1
  43. package/tencentcloud/common/sdk_version.js +1 -1
  44. package/tencentcloud/services/ams/v20201229/ams_client.d.ts +1 -1
  45. package/tencentcloud/services/ams/v20201229/ams_client.js +1 -1
  46. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +4 -1
  47. package/tencentcloud/services/as/v20180419/as_models.d.ts +59 -31
  48. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +30 -7
  49. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -0
  50. package/tencentcloud/services/cfs/v20190719/cfs_client.js +1 -0
  51. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +3 -2
  52. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +11 -8
  53. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +2 -2
  54. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  55. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  56. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +125 -54
  57. package/tencentcloud/services/drm/v20181115/drm_client.d.ts +5 -1
  58. package/tencentcloud/services/drm/v20181115/drm_client.js +6 -0
  59. package/tencentcloud/services/drm/v20181115/drm_models.d.ts +38 -0
  60. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
  61. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +28 -24
  62. package/tencentcloud/services/ess/v20201111/ess_client.js +28 -24
  63. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +53 -58
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +81 -38
  65. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +82 -37
  66. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +372 -146
  67. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +38 -38
  68. package/tencentcloud/services/hai/index.d.ts +6 -0
  69. package/tencentcloud/services/hai/index.js +7 -0
  70. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +14 -0
  71. package/tencentcloud/services/hai/v20230812/hai_client.js +37 -0
  72. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +61 -0
  73. package/tencentcloud/services/hai/v20230812/hai_models.js +18 -0
  74. package/tencentcloud/services/hai/v20230812/index.d.ts +6 -0
  75. package/tencentcloud/services/hai/v20230812/index.js +9 -0
  76. package/tencentcloud/services/index.d.ts +1 -0
  77. package/tencentcloud/services/index.js +2 -0
  78. package/tencentcloud/services/live/v20180801/live_models.d.ts +23 -23
  79. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  80. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +399 -128
  81. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +8 -1
  82. package/tencentcloud/services/trocket/v20230308/trocket_client.js +9 -0
  83. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +88 -15
  84. package/tencentcloud/services/vm/v20201229/vm_models.d.ts +14 -14
  85. package/tencentcloud/services/vm/v20210922/vm_client.d.ts +41 -8
  86. package/tencentcloud/services/vm/v20210922/vm_client.js +41 -8
  87. package/tencentcloud/services/vm/v20210922/vm_models.d.ts +83 -37
  88. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +3 -3
  89. package/tencentcloud/services/wedata/v20210820/wedata_client.js +3 -3
  90. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +13 -13
  91. package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.d.ts +215 -7
  92. package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.js +321 -9
  93. package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +921 -28
  94. package/test/dlc.v20210125.test.js +10 -0
  95. package/test/drm.v20181115.test.js +10 -0
  96. package/test/essbasic.v20210526.test.js +10 -0
  97. package/test/hai.v20230812.test.js +31 -0
  98. package/test/trocket.v20230308.test.js +10 -0
  99. package/test/weilingwith.v20230427.test.js +526 -6
@@ -908,6 +908,16 @@ it("dlc.v20210125.DetachUserPolicy", async function () {
908
908
  }
909
909
  })
910
910
 
911
+ it("dlc.v20210125.DescribeDataEngineEvents", async function () {
912
+ try {
913
+ const data = await client.DescribeDataEngineEvents({})
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
+
911
921
  it("dlc.v20210125.DetachWorkGroupPolicy", async function () {
912
922
  try {
913
923
  const data = await client.DetachWorkGroupPolicy({})
@@ -118,4 +118,14 @@ it("drm.v20181115.DescribeFairPlayPem", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("drm.v20181115.GenerateTDRMKey", async function () {
122
+ try {
123
+ const data = await client.GenerateTDRMKey({})
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
+
121
131
  })
@@ -618,6 +618,16 @@ it("essbasic.v20210526.DescribeFlowDetailInfo", async function () {
618
618
  }
619
619
  })
620
620
 
621
+ it("essbasic.v20210526.ChannelDescribeBillUsageDetail", async function () {
622
+ try {
623
+ const data = await client.ChannelDescribeBillUsageDetail({})
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
+
621
631
  it("essbasic.v20210526.ChannelCreateUserAutoSignEnableUrl", async function () {
622
632
  try {
623
633
  const data = await client.ChannelCreateUserAutoSignEnableUrl({})
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.hai.v20230812.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("hai.v20230812.test.js", function () {
20
+
21
+ it("hai.v20230812.RunInstances", async function () {
22
+ try {
23
+ const data = await client.RunInstances({})
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
+ })
@@ -208,4 +208,14 @@ it("trocket.v20230308.ModifyInstance", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("trocket.v20230308.DescribeConsumerGroupList", async function () {
212
+ try {
213
+ const data = await client.DescribeConsumerGroupList({})
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
  })
@@ -18,9 +18,9 @@ const client = new tencentcloud.weilingwith.v20230427.Client({
18
18
  })
19
19
  describe("weilingwith.v20230427.test.js", function () {
20
20
 
21
- it("weilingwith.v20230427.DescribeApplicationList", async function () {
21
+ it("weilingwith.v20230427.DescribeVideoCloudRecord", async function () {
22
22
  try {
23
- const data = await client.DescribeApplicationList({})
23
+ const data = await client.DescribeVideoCloudRecord({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,289 @@ it("weilingwith.v20230427.DescribeApplicationList", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("weilingwith.v20230427.DescribeInterfaceList", async function () {
31
+ it("weilingwith.v20230427.DescribeBuildingProfile", async function () {
32
32
  try {
33
- const data = await client.DescribeInterfaceList({})
33
+ const data = await client.DescribeBuildingProfile({})
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("weilingwith.v20230427.ChangeAlarmStatus", async function () {
42
+ try {
43
+ const data = await client.ChangeAlarmStatus({})
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("weilingwith.v20230427.DescribeLinkRuleList", async function () {
52
+ try {
53
+ const data = await client.DescribeLinkRuleList({})
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("weilingwith.v20230427.DescribeElementProfileTree", async function () {
62
+ try {
63
+ const data = await client.DescribeElementProfileTree({})
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("weilingwith.v20230427.DescribeAlarmStatusList", async function () {
72
+ try {
73
+ const data = await client.DescribeAlarmStatusList({})
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("weilingwith.v20230427.DescribeDeviceStatusStat", async function () {
82
+ try {
83
+ const data = await client.DescribeDeviceStatusStat({})
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("weilingwith.v20230427.DescribeSpaceDeviceIdList", async function () {
92
+ try {
93
+ const data = await client.DescribeSpaceDeviceIdList({})
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("weilingwith.v20230427.DescribeVideoLiveStream", async function () {
102
+ try {
103
+ const data = await client.DescribeVideoLiveStream({})
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("weilingwith.v20230427.DescribeTenantDepartmentList", async function () {
112
+ try {
113
+ const data = await client.DescribeTenantDepartmentList({})
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("weilingwith.v20230427.ReportAppMessage", async function () {
122
+ try {
123
+ const data = await client.ReportAppMessage({})
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("weilingwith.v20230427.DescribeTenantBuildingCountAndArea", async function () {
132
+ try {
133
+ const data = await client.DescribeTenantBuildingCountAndArea({})
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("weilingwith.v20230427.DescribeWorkSpaceBuildingCountAndArea", async function () {
142
+ try {
143
+ const data = await client.DescribeWorkSpaceBuildingCountAndArea({})
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("weilingwith.v20230427.DescribeDeviceShadowList", async function () {
152
+ try {
153
+ const data = await client.DescribeDeviceShadowList({})
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("weilingwith.v20230427.DescribeDeviceTagList", async function () {
162
+ try {
163
+ const data = await client.DescribeDeviceTagList({})
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("weilingwith.v20230427.DescribeAlarmTypeList", async function () {
172
+ try {
173
+ const data = await client.DescribeAlarmTypeList({})
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("weilingwith.v20230427.DescribeSpaceTypeList", async function () {
182
+ try {
183
+ const data = await client.DescribeSpaceTypeList({})
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("weilingwith.v20230427.DescribeDeviceTypeList", async function () {
192
+ try {
193
+ const data = await client.DescribeDeviceTypeList({})
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("weilingwith.v20230427.DescribeSpaceInfoByDeviceId", async function () {
202
+ try {
203
+ const data = await client.DescribeSpaceInfoByDeviceId({})
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("weilingwith.v20230427.DescribeWorkspaceList", async function () {
212
+ try {
213
+ const data = await client.DescribeWorkspaceList({})
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("weilingwith.v20230427.DescribeRuleDetail", async function () {
222
+ try {
223
+ const data = await client.DescribeRuleDetail({})
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("weilingwith.v20230427.UpdateWorkspaceParkAttributes", async function () {
232
+ try {
233
+ const data = await client.UpdateWorkspaceParkAttributes({})
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("weilingwith.v20230427.DescribeModelList", async function () {
242
+ try {
243
+ const data = await client.DescribeModelList({})
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("weilingwith.v20230427.DescribePropertyList", async function () {
252
+ try {
253
+ const data = await client.DescribePropertyList({})
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("weilingwith.v20230427.DescribeProductList", async function () {
262
+ try {
263
+ const data = await client.DescribeProductList({})
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("weilingwith.v20230427.DescribeActionList", async function () {
272
+ try {
273
+ const data = await client.DescribeActionList({})
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("weilingwith.v20230427.DescribeSceneList", async function () {
282
+ try {
283
+ const data = await client.DescribeSceneList({})
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("weilingwith.v20230427.DescribeSpaceRelationByDeviceId", async function () {
292
+ try {
293
+ const data = await client.DescribeSpaceRelationByDeviceId({})
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("weilingwith.v20230427.DescribeDeviceList", async function () {
302
+ try {
303
+ const data = await client.DescribeDeviceList({})
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("weilingwith.v20230427.BatchKillAlarm", async function () {
312
+ try {
313
+ const data = await client.BatchKillAlarm({})
34
314
  expect(data).to.be.ok
35
315
  } catch(error) {
36
316
  expect(error.requestId).to.be.ok
@@ -48,6 +328,106 @@ it("weilingwith.v20230427.DescribeWorkspaceUserList", async function () {
48
328
  }
49
329
  })
50
330
 
331
+ it("weilingwith.v20230427.ControlDevice", async function () {
332
+ try {
333
+ const data = await client.ControlDevice({})
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("weilingwith.v20230427.BatchReportAppMessage", async function () {
342
+ try {
343
+ const data = await client.BatchReportAppMessage({})
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("weilingwith.v20230427.DescribeElementProfilePage", async function () {
352
+ try {
353
+ const data = await client.DescribeElementProfilePage({})
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("weilingwith.v20230427.ModifyDeviceName", async function () {
362
+ try {
363
+ const data = await client.ModifyDeviceName({})
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("weilingwith.v20230427.DescribeEventList", async function () {
372
+ try {
373
+ const data = await client.DescribeEventList({})
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("weilingwith.v20230427.DescribeAdministrationByTag", async function () {
382
+ try {
383
+ const data = await client.DescribeAdministrationByTag({})
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("weilingwith.v20230427.BatchCreateDevice", async function () {
392
+ try {
393
+ const data = await client.BatchCreateDevice({})
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("weilingwith.v20230427.DescribeCameraExtendInfo", async function () {
402
+ try {
403
+ const data = await client.DescribeCameraExtendInfo({})
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("weilingwith.v20230427.DescribeFileDownloadURL", async function () {
412
+ try {
413
+ const data = await client.DescribeFileDownloadURL({})
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("weilingwith.v20230427.DescribeCityWorkspaceList", async function () {
422
+ try {
423
+ const data = await client.DescribeCityWorkspaceList({})
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
+
51
431
  it("weilingwith.v20230427.DescribeEdgeApplicationToken", async function () {
52
432
  try {
53
433
  const data = await client.DescribeEdgeApplicationToken({})
@@ -58,9 +438,149 @@ it("weilingwith.v20230427.DescribeEdgeApplicationToken", async function () {
58
438
  }
59
439
  })
60
440
 
61
- it("weilingwith.v20230427.DescribeWorkspaceList", async function () {
441
+ it("weilingwith.v20230427.DescribeBuildingModel", async function () {
62
442
  try {
63
- const data = await client.DescribeWorkspaceList({})
443
+ const data = await client.DescribeBuildingModel({})
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("weilingwith.v20230427.DescribeSpaceDeviceRelationList", async function () {
452
+ try {
453
+ const data = await client.DescribeSpaceDeviceRelationList({})
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("weilingwith.v20230427.DescribeBuildingList", async function () {
462
+ try {
463
+ const data = await client.DescribeBuildingList({})
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("weilingwith.v20230427.ControlCameraPTZ", async function () {
472
+ try {
473
+ const data = await client.ControlCameraPTZ({})
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("weilingwith.v20230427.DescribeInterfaceList", async function () {
482
+ try {
483
+ const data = await client.DescribeInterfaceList({})
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("weilingwith.v20230427.DescribeVideoRecordStream", async function () {
492
+ try {
493
+ const data = await client.DescribeVideoRecordStream({})
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("weilingwith.v20230427.DescribeAlarmList", async function () {
502
+ try {
503
+ const data = await client.DescribeAlarmList({})
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("weilingwith.v20230427.DescribeApplicationList", async function () {
512
+ try {
513
+ const data = await client.DescribeApplicationList({})
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("weilingwith.v20230427.AddAlarmProcessRecord", async function () {
522
+ try {
523
+ const data = await client.AddAlarmProcessRecord({})
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("weilingwith.v20230427.DescribeFileUploadURL", async function () {
532
+ try {
533
+ const data = await client.DescribeFileUploadURL({})
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("weilingwith.v20230427.DescribeTenantUserList", async function () {
542
+ try {
543
+ const data = await client.DescribeTenantUserList({})
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("weilingwith.v20230427.DescribeAlarmLevelList", async function () {
552
+ try {
553
+ const data = await client.DescribeAlarmLevelList({})
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("weilingwith.v20230427.CreateApplicationToken", async function () {
562
+ try {
563
+ const data = await client.CreateApplicationToken({})
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("weilingwith.v20230427.DescribeDeviceStatusList", async function () {
572
+ try {
573
+ const data = await client.DescribeDeviceStatusList({})
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("weilingwith.v20230427.StopVideoStreaming", async function () {
582
+ try {
583
+ const data = await client.StopVideoStreaming({})
64
584
  expect(data).to.be.ok
65
585
  } catch(error) {
66
586
  expect(error.requestId).to.be.ok