tencentcloud-sdk-nodejs 4.0.269 → 4.0.270

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 (58) hide show
  1. package/CHANGELOG.md +312 -0
  2. package/SERVICE_CHANGELOG.md +457 -62
  3. package/package.json +1 -1
  4. package/products.md +16 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +3 -3
  7. package/src/services/billing/v20180709/billing_models.ts +18 -0
  8. package/src/services/cbs/v20170312/cbs_models.ts +6 -1
  9. package/src/services/dcdb/v20180411/dcdb_models.ts +21 -5
  10. package/src/services/essbasic/v20210526/essbasic_client.ts +12 -19
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -5
  12. package/src/services/gaap/v20180529/gaap_models.ts +115 -1
  13. package/src/services/gs/v20191118/gs_client.ts +24 -0
  14. package/src/services/gs/v20191118/gs_models.ts +45 -0
  15. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +542 -431
  16. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +538 -64
  17. package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
  18. package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -0
  19. package/src/services/live/v20180801/live_models.ts +1 -0
  20. package/src/services/mariadb/v20170312/mariadb_client.ts +13 -1
  21. package/src/services/mariadb/v20170312/mariadb_models.ts +158 -26
  22. package/src/services/scf/v20180416/scf_models.ts +3 -3
  23. package/src/services/ssm/v20190923/ssm_client.ts +3 -2
  24. package/src/services/ssm/v20190923/ssm_models.ts +36 -14
  25. package/src/services/tcss/v20201101/tcss_models.ts +9 -4
  26. package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
  27. package/src/services/vod/v20180717/vod_models.ts +18 -1
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/as/v20180419/as_models.d.ts +3 -3
  31. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +17 -0
  32. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +5 -1
  33. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +18 -5
  34. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -17
  35. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -17
  36. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -5
  37. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +102 -1
  38. package/tencentcloud/services/gs/v20191118/gs_client.d.ts +9 -1
  39. package/tencentcloud/services/gs/v20191118/gs_client.js +12 -0
  40. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +40 -0
  41. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +179 -143
  42. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +267 -213
  43. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +462 -59
  44. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +17 -0
  45. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
  46. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
  47. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
  48. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +130 -21
  49. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +3 -3
  50. package/tencentcloud/services/ssm/v20190923/ssm_client.d.ts +2 -1
  51. package/tencentcloud/services/ssm/v20190923/ssm_client.js +2 -1
  52. package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +33 -14
  53. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +7 -2
  54. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
  55. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -1
  56. package/test/gs.v20191118.test.js +20 -0
  57. package/test/iotexplorer.v20190423.test.js +240 -150
  58. package/test/mariadb.v20170312.test.js +10 -0
@@ -23,14 +23,18 @@ import {
23
23
  DevicesItem,
24
24
  DeleteFenceBindRequest,
25
25
  DescribeModelDefinitionResponse,
26
+ UnbindDevicesRequest,
26
27
  DeleteDevicesResponse,
27
28
  ModifyStudioProductResponse,
29
+ GetGatewaySubDeviceListResponse,
28
30
  DeleteStudioProductResponse,
29
- GetPositionSpaceListRequest,
31
+ BindDevicesRequest,
32
+ DescribeGatewaySubProductsResponse,
30
33
  GetDeviceListResponse,
31
34
  TopicRulePayload,
32
35
  DeleteLoRaFrequencyResponse,
33
36
  DescribeTopicPolicyRequest,
37
+ BindProductInfo,
34
38
  ModifyPositionFenceRequest,
35
39
  PositionFenceItem,
36
40
  DeleteTopicRuleResponse,
@@ -64,14 +68,16 @@ import {
64
68
  GenSingleDeviceSignatureOfPublicResponse,
65
69
  DescribeDevicePositionListResponse,
66
70
  GetProjectListResponse,
67
- DescribeStudioProductResponse,
71
+ CreateProjectRequest,
68
72
  DescribeProjectResponse,
73
+ UnbindProductsRequest,
69
74
  SearchStudioProductResponse,
70
75
  DeviceData,
71
76
  GetTopicRuleListRequest,
72
77
  FenceBindDeviceItem,
73
78
  DeviceDataHistoryItem,
74
79
  GetFamilyDeviceUserListResponse,
80
+ BindDeviceInfo,
75
81
  ProjectEntryEx,
76
82
  DescribeBatchProductionResponse,
77
83
  ListTopicPolicyRequest,
@@ -82,11 +88,14 @@ import {
82
88
  ListFirmwaresResponse,
83
89
  ReleaseStudioProductResponse,
84
90
  DescribeSpaceFenceEventListResponse,
91
+ PositionFenceInfo,
85
92
  DeleteLoRaGatewayRequest,
93
+ UnbindProductsResponse,
86
94
  DescribeTopicPolicyResponse,
87
95
  SearchPositionSpaceRequest,
88
96
  LoRaFrequencyEntry,
89
97
  ModifyTopicPolicyResponse,
98
+ GetPositionSpaceListRequest,
90
99
  SearchTopicRuleResponse,
91
100
  DescribeFenceEventListResponse,
92
101
  UpdateDevicesEnableStateRequest,
@@ -108,12 +117,13 @@ import {
108
117
  DisableTopicRuleResponse,
109
118
  TopicRuleInfo,
110
119
  GetCOSURLRequest,
111
- CreateProjectRequest,
120
+ DescribeStudioProductResponse,
112
121
  CreateFenceBindRequest,
113
122
  DescribeDeviceResponse,
114
123
  ListFirmwaresRequest,
115
124
  GetStudioProductListResponse,
116
125
  PublishMessageRequest,
126
+ FamilySubDevice,
117
127
  ModifyTopicRuleRequest,
118
128
  GetDeviceListRequest,
119
129
  ModifySpacePropertyRequest,
@@ -125,6 +135,7 @@ import {
125
135
  ModifyPositionSpaceRequest,
126
136
  GetLoRaGatewayListResponse,
127
137
  ProjectEntry,
138
+ ModifyLoRaGatewayResponse,
128
139
  EventHistoryItem,
129
140
  DirectBindDeviceInFamilyResponse,
130
141
  TopicRule,
@@ -133,11 +144,11 @@ import {
133
144
  DeleteFenceBindResponse,
134
145
  DeleteTopicPolicyRequest,
135
146
  CreateFenceBindResponse,
136
- DescribeFenceBindListRequest,
147
+ DescribeTopicRuleResponse,
137
148
  CreatePositionFenceResponse,
138
149
  TopicItem,
139
- DescribeTopicRuleResponse,
140
- PositionFenceInfo,
150
+ DescribeFenceBindListRequest,
151
+ DescribeBindedProductsResponse,
141
152
  DeviceSignatureInfo,
142
153
  PositionSpaceInfo,
143
154
  LoRaGatewayLocation,
@@ -148,12 +159,14 @@ import {
148
159
  CreateTopicPolicyRequest,
149
160
  DirectBindDeviceInFamilyRequest,
150
161
  GetFamilyDeviceUserListRequest,
162
+ DescribeBindedProductsRequest,
151
163
  DescribeLoRaFrequencyResponse,
152
164
  ProductEntry,
153
165
  DescribeSpaceFenceEventListRequest,
154
166
  GetLoRaGatewayListRequest,
155
167
  FenceEventItem,
156
168
  DescribeProjectRequest,
169
+ UnbindDevicesResponse,
157
170
  ModifyLoRaFrequencyRequest,
158
171
  UploadFirmwareResponse,
159
172
  ModifyTopicPolicyRequest,
@@ -163,6 +176,7 @@ import {
163
176
  DeleteLoRaGatewayResponse,
164
177
  CreateLoRaFrequencyRequest,
165
178
  LoRaGatewayItem,
179
+ DescribeDeviceBindGatewayResponse,
166
180
  ControlDeviceDataResponse,
167
181
  DescribeDeviceDataHistoryRequest,
168
182
  UpdateFirmwareRequest,
@@ -173,23 +187,30 @@ import {
173
187
  DeletePositionFenceRequest,
174
188
  GetProjectListRequest,
175
189
  DeletePositionSpaceResponse,
190
+ DescribeDeviceBindGatewayRequest,
176
191
  CreateLoRaFrequencyResponse,
177
192
  EnableTopicRuleResponse,
193
+ GetGatewaySubDeviceListRequest,
178
194
  SearchStudioProductRequest,
179
195
  GenSingleDeviceSignatureOfPublicRequest,
180
196
  DeleteDevicesRequest,
181
197
  AppDeviceInfo,
198
+ BindProductsResponse,
182
199
  ModifyProjectResponse,
183
200
  BatchProductionInfo,
201
+ DescribeGatewayBindDevicesRequest,
202
+ DescribeGatewaySubProductsRequest,
184
203
  DeleteStudioProductRequest,
204
+ BindProductsRequest,
185
205
  ModifyProjectRequest,
186
206
  ModifySpacePropertyResponse,
187
207
  PublishMessageResponse,
188
- ModifyLoRaGatewayResponse,
208
+ BindDevicesResponse,
189
209
  DescribeFenceBindListResponse,
190
210
  SearchKeyword,
191
211
  CreatePositionFenceRequest,
192
212
  DescribeModelDefinitionRequest,
213
+ EnableTopicRuleRequest,
193
214
  DisableTopicRuleRequest,
194
215
  CreateTopicRuleResponse,
195
216
  DescribeDeviceDataResponse,
@@ -203,7 +224,7 @@ import {
203
224
  ModifyLoRaGatewayRequest,
204
225
  ListEventHistoryResponse,
205
226
  GetBatchProductionsListResponse,
206
- EnableTopicRuleRequest,
227
+ DescribeGatewayBindDevicesResponse,
207
228
  DescribeFirmwareTaskRequest,
208
229
  CreatePositionSpaceRequest,
209
230
  } from "./iotexplorer_models"
@@ -217,16 +238,6 @@ export class Client extends AbstractClient {
217
238
  super("iotexplorer.tencentcloudapi.com", "2019-04-23", clientConfig)
218
239
  }
219
240
 
220
- /**
221
- * 提供查询LoRa自定义频点详情的能力
222
- */
223
- async DescribeLoRaFrequency(
224
- req: DescribeLoRaFrequencyRequest,
225
- cb?: (error: string, rep: DescribeLoRaFrequencyResponse) => void
226
- ): Promise<DescribeLoRaFrequencyResponse> {
227
- return this.request("DescribeLoRaFrequency", req, cb)
228
- }
229
-
230
241
  /**
231
242
  * 本接口(GetCOSURL)用于获取固件存储在COS的URL
232
243
  */
@@ -248,53 +259,43 @@ export class Client extends AbstractClient {
248
259
  }
249
260
 
250
261
  /**
251
- * 提供删除某个项目下产品的能力
252
- */
253
- async DeleteStudioProduct(
254
- req: DeleteStudioProductRequest,
255
- cb?: (error: string, rep: DeleteStudioProductResponse) => void
256
- ): Promise<DeleteStudioProductResponse> {
257
- return this.request("DeleteStudioProduct", req, cb)
258
- }
259
-
260
- /**
261
- * 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
262
+ * 列出量产数据列表信息。
262
263
  */
263
- async ReleaseStudioProduct(
264
- req: ReleaseStudioProductRequest,
265
- cb?: (error: string, rep: ReleaseStudioProductResponse) => void
266
- ): Promise<ReleaseStudioProductResponse> {
267
- return this.request("ReleaseStudioProduct", req, cb)
264
+ async GetBatchProductionsList(
265
+ req: GetBatchProductionsListRequest,
266
+ cb?: (error: string, rep: GetBatchProductionsListResponse) => void
267
+ ): Promise<GetBatchProductionsListResponse> {
268
+ return this.request("GetBatchProductionsList", req, cb)
268
269
  }
269
270
 
270
271
  /**
271
- * 用于获取设备绑定的用户列表
272
+ * 本接口(DescribeTopicPolicy)用于查看Topic详细信息
272
273
  */
273
- async GetFamilyDeviceUserList(
274
- req: GetFamilyDeviceUserListRequest,
275
- cb?: (error: string, rep: GetFamilyDeviceUserListResponse) => void
276
- ): Promise<GetFamilyDeviceUserListResponse> {
277
- return this.request("GetFamilyDeviceUserList", req, cb)
274
+ async DescribeTopicPolicy(
275
+ req: DescribeTopicPolicyRequest,
276
+ cb?: (error: string, rep: DescribeTopicPolicyResponse) => void
277
+ ): Promise<DescribeTopicPolicyResponse> {
278
+ return this.request("DescribeTopicPolicy", req, cb)
278
279
  }
279
280
 
280
281
  /**
281
- * 搜索位置空间
282
+ * 提供查询用户所创建的项目列表查询功能。
282
283
  */
283
- async SearchPositionSpace(
284
- req: SearchPositionSpaceRequest,
285
- cb?: (error: string, rep: SearchPositionSpaceResponse) => void
286
- ): Promise<SearchPositionSpaceResponse> {
287
- return this.request("SearchPositionSpace", req, cb)
284
+ async GetProjectList(
285
+ req: GetProjectListRequest,
286
+ cb?: (error: string, rep: GetProjectListResponse) => void
287
+ ): Promise<GetProjectListResponse> {
288
+ return this.request("GetProjectList", req, cb)
288
289
  }
289
290
 
290
291
  /**
291
- * 获取量产详情信息。
292
+ * 为用户提供同步调用设备行为的能力。
292
293
  */
293
- async DescribeBatchProduction(
294
- req: DescribeBatchProductionRequest,
295
- cb?: (error: string, rep: DescribeBatchProductionResponse) => void
296
- ): Promise<DescribeBatchProductionResponse> {
297
- return this.request("DescribeBatchProduction", req, cb)
294
+ async CallDeviceActionSync(
295
+ req: CallDeviceActionSyncRequest,
296
+ cb?: (error: string, rep: CallDeviceActionSyncResponse) => void
297
+ ): Promise<CallDeviceActionSyncResponse> {
298
+ return this.request("CallDeviceActionSync", req, cb)
298
299
  }
299
300
 
300
301
  /**
@@ -308,133 +309,133 @@ export class Client extends AbstractClient {
308
309
  }
309
310
 
310
311
  /**
311
- * 获取围栏绑定信息列表
312
+ * 查询设备绑定的网关设备
312
313
  */
313
- async DescribeFenceBindList(
314
- req: DescribeFenceBindListRequest,
315
- cb?: (error: string, rep: DescribeFenceBindListResponse) => void
316
- ): Promise<DescribeFenceBindListResponse> {
317
- return this.request("DescribeFenceBindList", req, cb)
314
+ async DescribeDeviceBindGateway(
315
+ req: DescribeDeviceBindGatewayRequest,
316
+ cb?: (error: string, rep: DescribeDeviceBindGatewayResponse) => void
317
+ ): Promise<DescribeDeviceBindGatewayResponse> {
318
+ return this.request("DescribeDeviceBindGateway", req, cb)
318
319
  }
319
320
 
320
321
  /**
321
- * 删除 LoRa 网关的接口
322
+ * 获取设备历史位置
322
323
  */
323
- async DeleteLoRaGateway(
324
- req: DeleteLoRaGatewayRequest,
325
- cb?: (error: string, rep: DeleteLoRaGatewayResponse) => void
326
- ): Promise<DeleteLoRaGatewayResponse> {
327
- return this.request("DeleteLoRaGateway", req, cb)
324
+ async GetDeviceLocationHistory(
325
+ req: GetDeviceLocationHistoryRequest,
326
+ cb?: (error: string, rep: GetDeviceLocationHistoryResponse) => void
327
+ ): Promise<GetDeviceLocationHistoryResponse> {
328
+ return this.request("GetDeviceLocationHistory", req, cb)
328
329
  }
329
330
 
330
331
  /**
331
- * 批量删除设备
332
+ * 本接口(PublishMessage)用于使用自定义透传协议进行设备远控
332
333
  */
333
- async DeleteDevices(
334
- req: DeleteDevicesRequest,
335
- cb?: (error: string, rep: DeleteDevicesResponse) => void
336
- ): Promise<DeleteDevicesResponse> {
337
- return this.request("DeleteDevices", req, cb)
334
+ async PublishMessage(
335
+ req: PublishMessageRequest,
336
+ cb?: (error: string, rep: PublishMessageResponse) => void
337
+ ): Promise<PublishMessageResponse> {
338
+ return this.request("PublishMessage", req, cb)
338
339
  }
339
340
 
340
341
  /**
341
- * 为用户提供新建产品的能力,用于管理用户的设备
342
+ * 提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数
342
343
  */
343
- async CreateStudioProduct(
344
- req: CreateStudioProductRequest,
345
- cb?: (error: string, rep: CreateStudioProductResponse) => void
346
- ): Promise<CreateStudioProductResponse> {
347
- return this.request("CreateStudioProduct", req, cb)
344
+ async DescribeStudioProduct(
345
+ req: DescribeStudioProductRequest,
346
+ cb?: (error: string, rep: DescribeStudioProductResponse) => void
347
+ ): Promise<DescribeStudioProductResponse> {
348
+ return this.request("DescribeStudioProduct", req, cb)
348
349
  }
349
350
 
350
351
  /**
351
- * 修改LoRa自定义频点
352
+ * 获取 LoRa 网关列表接口
352
353
  */
353
- async ModifyLoRaFrequency(
354
- req: ModifyLoRaFrequencyRequest,
355
- cb?: (error: string, rep: ModifyLoRaFrequencyResponse) => void
356
- ): Promise<ModifyLoRaFrequencyResponse> {
357
- return this.request("ModifyLoRaFrequency", req, cb)
354
+ async GetLoRaGatewayList(
355
+ req: GetLoRaGatewayListRequest,
356
+ cb?: (error: string, rep: GetLoRaGatewayListResponse) => void
357
+ ): Promise<GetLoRaGatewayListResponse> {
358
+ return this.request("GetLoRaGatewayList", req, cb)
358
359
  }
359
360
 
360
361
  /**
361
- * 创建围栏
362
+ * 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
362
363
  */
363
- async CreatePositionFence(
364
- req: CreatePositionFenceRequest,
365
- cb?: (error: string, rep: CreatePositionFenceResponse) => void
366
- ): Promise<CreatePositionFenceResponse> {
367
- return this.request("CreatePositionFence", req, cb)
364
+ async ReleaseStudioProduct(
365
+ req: ReleaseStudioProductRequest,
366
+ cb?: (error: string, rep: ReleaseStudioProductResponse) => void
367
+ ): Promise<ReleaseStudioProductResponse> {
368
+ return this.request("ReleaseStudioProduct", req, cb)
368
369
  }
369
370
 
370
371
  /**
371
- * 更新位置空间产品属性
372
+ * 更新围栏绑定信息
372
373
  */
373
- async ModifySpaceProperty(
374
- req: ModifySpacePropertyRequest,
375
- cb?: (error: string, rep: ModifySpacePropertyResponse) => void
376
- ): Promise<ModifySpacePropertyResponse> {
377
- return this.request("ModifySpaceProperty", req, cb)
374
+ async ModifyFenceBind(
375
+ req: ModifyFenceBindRequest,
376
+ cb?: (error: string, rep: ModifyFenceBindResponse) => void
377
+ ): Promise<ModifyFenceBindResponse> {
378
+ return this.request("ModifyFenceBind", req, cb)
378
379
  }
379
380
 
380
381
  /**
381
- * 创建新 LoRa 网关设备接口
382
+ * 删除位置空间
382
383
  */
383
- async CreateLoRaGateway(
384
- req: CreateLoRaGatewayRequest,
385
- cb?: (error: string, rep: CreateLoRaGatewayResponse) => void
386
- ): Promise<CreateLoRaGatewayResponse> {
387
- return this.request("CreateLoRaGateway", req, cb)
384
+ async DeletePositionSpace(
385
+ req: DeletePositionSpaceRequest,
386
+ cb?: (error: string, rep: DeletePositionSpaceResponse) => void
387
+ ): Promise<DeletePositionSpaceResponse> {
388
+ return this.request("DeletePositionSpace", req, cb)
388
389
  }
389
390
 
390
391
  /**
391
- * 创建规则
392
+ * 获取网关产品已经绑定的子产品
392
393
  */
393
- async CreateTopicRule(
394
- req: CreateTopicRuleRequest,
395
- cb?: (error: string, rep: CreateTopicRuleResponse) => void
396
- ): Promise<CreateTopicRuleResponse> {
397
- return this.request("CreateTopicRule", req, cb)
394
+ async DescribeBindedProducts(
395
+ req: DescribeBindedProductsRequest,
396
+ cb?: (error: string, rep: DescribeBindedProductsResponse) => void
397
+ ): Promise<DescribeBindedProductsResponse> {
398
+ return this.request("DescribeBindedProducts", req, cb)
398
399
  }
399
400
 
400
401
  /**
401
- * 创建 LoRa 自定义频点
402
+ * 修改 LoRa 网关信息
402
403
  */
403
- async CreateLoRaFrequency(
404
- req: CreateLoRaFrequencyRequest,
405
- cb?: (error: string, rep: CreateLoRaFrequencyResponse) => void
406
- ): Promise<CreateLoRaFrequencyResponse> {
407
- return this.request("CreateLoRaFrequency", req, cb)
404
+ async ModifyLoRaGateway(
405
+ req: ModifyLoRaGatewayRequest,
406
+ cb?: (error: string, rep: ModifyLoRaGatewayResponse) => void
407
+ ): Promise<ModifyLoRaGatewayResponse> {
408
+ return this.request("ModifyLoRaGateway", req, cb)
408
409
  }
409
410
 
410
411
  /**
411
- * 本接口(CreateTopicPolicy)用于创建一个Topic
412
+ * 用于查看某个设备的详细信息
412
413
  */
413
- async CreateTopicPolicy(
414
- req: CreateTopicPolicyRequest,
415
- cb?: (error: string, rep: CreateTopicPolicyResponse) => void
416
- ): Promise<CreateTopicPolicyResponse> {
417
- return this.request("CreateTopicPolicy", req, cb)
414
+ async DescribeDevice(
415
+ req: DescribeDeviceRequest,
416
+ cb?: (error: string, rep: DescribeDeviceResponse) => void
417
+ ): Promise<DescribeDeviceResponse> {
418
+ return this.request("DescribeDevice", req, cb)
418
419
  }
419
420
 
420
421
  /**
421
- * 获取设备历史位置
422
+ * 获取围栏告警事件列表
422
423
  */
423
- async GetDeviceLocationHistory(
424
- req: GetDeviceLocationHistoryRequest,
425
- cb?: (error: string, rep: GetDeviceLocationHistoryResponse) => void
426
- ): Promise<GetDeviceLocationHistoryResponse> {
427
- return this.request("GetDeviceLocationHistory", req, cb)
424
+ async DescribeFenceEventList(
425
+ req: DescribeFenceEventListRequest,
426
+ cb?: (error: string, rep: DescribeFenceEventListResponse) => void
427
+ ): Promise<DescribeFenceEventListResponse> {
428
+ return this.request("DescribeFenceEventList", req, cb)
428
429
  }
429
430
 
430
431
  /**
431
- * 获取规则列表
432
+ * 删除规则
432
433
  */
433
- async GetTopicRuleList(
434
- req: GetTopicRuleListRequest,
435
- cb?: (error: string, rep: GetTopicRuleListResponse) => void
436
- ): Promise<GetTopicRuleListResponse> {
437
- return this.request("GetTopicRuleList", req, cb)
434
+ async DeleteTopicRule(
435
+ req: DeleteTopicRuleRequest,
436
+ cb?: (error: string, rep: DeleteTopicRuleResponse) => void
437
+ ): Promise<DeleteTopicRuleResponse> {
438
+ return this.request("DeleteTopicRule", req, cb)
438
439
  }
439
440
 
440
441
  /**
@@ -448,43 +449,43 @@ export class Client extends AbstractClient {
448
449
  }
449
450
 
450
451
  /**
451
- * 本接口(UpdateFirmware)用于对指定设备发起固件升级请求
452
+ * 搜索位置空间
452
453
  */
453
- async UpdateFirmware(
454
- req: UpdateFirmwareRequest,
455
- cb?: (error: string, rep: UpdateFirmwareResponse) => void
456
- ): Promise<UpdateFirmwareResponse> {
457
- return this.request("UpdateFirmware", req, cb)
454
+ async SearchPositionSpace(
455
+ req: SearchPositionSpaceRequest,
456
+ cb?: (error: string, rep: SearchPositionSpaceResponse) => void
457
+ ): Promise<SearchPositionSpaceResponse> {
458
+ return this.request("SearchPositionSpace", req, cb)
458
459
  }
459
460
 
460
461
  /**
461
- * 搜索规则
462
+ * 删除 LoRa 网关的接口
462
463
  */
463
- async SearchTopicRule(
464
- req: SearchTopicRuleRequest,
465
- cb?: (error: string, rep: SearchTopicRuleResponse) => void
466
- ): Promise<SearchTopicRuleResponse> {
467
- return this.request("SearchTopicRule", req, cb)
464
+ async DeleteLoRaGateway(
465
+ req: DeleteLoRaGatewayRequest,
466
+ cb?: (error: string, rep: DeleteLoRaGatewayResponse) => void
467
+ ): Promise<DeleteLoRaGatewayResponse> {
468
+ return this.request("DeleteLoRaGateway", req, cb)
468
469
  }
469
470
 
470
471
  /**
471
- * 本接口(UploadFirmware)用于上传设备固件至平台
472
+ * 为用户提供新建产品的能力,用于管理用户的设备
472
473
  */
473
- async UploadFirmware(
474
- req: UploadFirmwareRequest,
475
- cb?: (error: string, rep: UploadFirmwareResponse) => void
476
- ): Promise<UploadFirmwareResponse> {
477
- return this.request("UploadFirmware", req, cb)
474
+ async CreateStudioProduct(
475
+ req: CreateStudioProductRequest,
476
+ cb?: (error: string, rep: CreateStudioProductResponse) => void
477
+ ): Promise<CreateStudioProductResponse> {
478
+ return this.request("CreateStudioProduct", req, cb)
478
479
  }
479
480
 
480
481
  /**
481
- * 修改 LoRa 网关信息
482
+ * 启用规则
482
483
  */
483
- async ModifyLoRaGateway(
484
- req: ModifyLoRaGatewayRequest,
485
- cb?: (error: string, rep: ModifyLoRaGatewayResponse) => void
486
- ): Promise<ModifyLoRaGatewayResponse> {
487
- return this.request("ModifyLoRaGateway", req, cb)
484
+ async EnableTopicRule(
485
+ req: EnableTopicRuleRequest,
486
+ cb?: (error: string, rep: EnableTopicRuleResponse) => void
487
+ ): Promise<EnableTopicRuleResponse> {
488
+ return this.request("EnableTopicRule", req, cb)
488
489
  }
489
490
 
490
491
  /**
@@ -508,293 +509,313 @@ export class Client extends AbstractClient {
508
509
  }
509
510
 
510
511
  /**
511
- * 根据设备产品ID、设备名称,获取设备上报的属性数据。
512
+ * 本接口(ListFirmwares)用于获取固件列表
512
513
  */
513
- async DescribeDeviceData(
514
- req: DescribeDeviceDataRequest,
515
- cb?: (error: string, rep: DescribeDeviceDataResponse) => void
516
- ): Promise<DescribeDeviceDataResponse> {
517
- return this.request("DescribeDeviceData", req, cb)
514
+ async ListFirmwares(
515
+ req: ListFirmwaresRequest,
516
+ cb?: (error: string, rep: ListFirmwaresResponse) => void
517
+ ): Promise<ListFirmwaresResponse> {
518
+ return this.request("ListFirmwares", req, cb)
518
519
  }
519
520
 
520
521
  /**
521
- * 本接口(DescribeTopicPolicy)用于查看Topic详细信息
522
+ * 创建设备
522
523
  */
523
- async DescribeTopicPolicy(
524
- req: DescribeTopicPolicyRequest,
525
- cb?: (error: string, rep: DescribeTopicPolicyResponse) => void
526
- ): Promise<DescribeTopicPolicyResponse> {
527
- return this.request("DescribeTopicPolicy", req, cb)
524
+ async CreateDevice(
525
+ req: CreateDeviceRequest,
526
+ cb?: (error: string, rep: CreateDeviceResponse) => void
527
+ ): Promise<CreateDeviceResponse> {
528
+ return this.request("CreateDevice", req, cb)
528
529
  }
529
530
 
530
531
  /**
531
- * 提供查询用户所创建的项目列表查询功能。
532
+ * 删除围栏绑定信息
532
533
  */
533
- async GetProjectList(
534
- req: GetProjectListRequest,
535
- cb?: (error: string, rep: GetProjectListResponse) => void
536
- ): Promise<GetProjectListResponse> {
537
- return this.request("GetProjectList", req, cb)
534
+ async DeleteFenceBind(
535
+ req: DeleteFenceBindRequest,
536
+ cb?: (error: string, rep: DeleteFenceBindResponse) => void
537
+ ): Promise<DeleteFenceBindResponse> {
538
+ return this.request("DeleteFenceBind", req, cb)
538
539
  }
539
540
 
540
541
  /**
541
- * 获取设备在指定时间范围内上报的历史数据。
542
+ * 根据设备产品ID、设备名称,设置控制设备的属性数据。
542
543
  */
543
- async DescribeDeviceDataHistory(
544
- req: DescribeDeviceDataHistoryRequest,
545
- cb?: (error: string, rep: DescribeDeviceDataHistoryResponse) => void
546
- ): Promise<DescribeDeviceDataHistoryResponse> {
547
- return this.request("DescribeDeviceDataHistory", req, cb)
544
+ async ControlDeviceData(
545
+ req: ControlDeviceDataRequest,
546
+ cb?: (error: string, rep: ControlDeviceDataResponse) => void
547
+ ): Promise<ControlDeviceDataResponse> {
548
+ return this.request("ControlDeviceData", req, cb)
548
549
  }
549
550
 
550
551
  /**
551
- * 批量禁用启用设备
552
+ * 查询固件升级任务列表
552
553
  */
553
- async UpdateDevicesEnableState(
554
- req: UpdateDevicesEnableStateRequest,
555
- cb?: (error: string, rep: UpdateDevicesEnableStateResponse) => void
556
- ): Promise<UpdateDevicesEnableStateResponse> {
557
- return this.request("UpdateDevicesEnableState", req, cb)
554
+ async DescribeFirmwareTask(
555
+ req: DescribeFirmwareTaskRequest,
556
+ cb?: (error: string, rep: DescribeFirmwareTaskResponse) => void
557
+ ): Promise<DescribeFirmwareTaskResponse> {
558
+ return this.request("DescribeFirmwareTask", req, cb)
558
559
  }
559
560
 
560
561
  /**
561
- * 为用户提供同步调用设备行为的能力。
562
+ * 获取位置空间列表
562
563
  */
563
- async CallDeviceActionSync(
564
- req: CallDeviceActionSyncRequest,
565
- cb?: (error: string, rep: CallDeviceActionSyncResponse) => void
566
- ): Promise<CallDeviceActionSyncResponse> {
567
- return this.request("CallDeviceActionSync", req, cb)
564
+ async GetPositionSpaceList(
565
+ req: GetPositionSpaceListRequest,
566
+ cb?: (error: string, rep: GetPositionSpaceListResponse) => void
567
+ ): Promise<GetPositionSpaceListResponse> {
568
+ return this.request("GetPositionSpaceList", req, cb)
568
569
  }
569
570
 
570
571
  /**
571
- * 删除设备
572
+ * 提供查询LoRa自定义频点详情的能力
572
573
  */
573
- async DeleteDevice(
574
- req: DeleteDeviceRequest,
575
- cb?: (error: string, rep: DeleteDeviceResponse) => void
576
- ): Promise<DeleteDeviceResponse> {
577
- return this.request("DeleteDevice", req, cb)
574
+ async DescribeLoRaFrequency(
575
+ req: DescribeLoRaFrequencyRequest,
576
+ cb?: (error: string, rep: DescribeLoRaFrequencyResponse) => void
577
+ ): Promise<DescribeLoRaFrequencyResponse> {
578
+ return this.request("DescribeLoRaFrequency", req, cb)
578
579
  }
579
580
 
580
581
  /**
581
- * 修改项目
582
+ * 本接口(UpdateTopicPolicy)用于更新Topic信息
582
583
  */
583
- async ModifyProject(
584
- req: ModifyProjectRequest,
585
- cb?: (error: string, rep: ModifyProjectResponse) => void
586
- ): Promise<ModifyProjectResponse> {
587
- return this.request("ModifyProject", req, cb)
584
+ async ModifyTopicPolicy(
585
+ req: ModifyTopicPolicyRequest,
586
+ cb?: (error: string, rep: ModifyTopicPolicyResponse) => void
587
+ ): Promise<ModifyTopicPolicyResponse> {
588
+ return this.request("ModifyTopicPolicy", req, cb)
588
589
  }
589
590
 
590
591
  /**
591
- * 获取围栏列表
592
+ * 获取规则列表
592
593
  */
593
- async DescribePositionFenceList(
594
- req: DescribePositionFenceListRequest,
595
- cb?: (error: string, rep: DescribePositionFenceListResponse) => void
596
- ): Promise<DescribePositionFenceListResponse> {
597
- return this.request("DescribePositionFenceList", req, cb)
594
+ async GetTopicRuleList(
595
+ req: GetTopicRuleListRequest,
596
+ cb?: (error: string, rep: GetTopicRuleListResponse) => void
597
+ ): Promise<GetTopicRuleListResponse> {
598
+ return this.request("GetTopicRuleList", req, cb)
598
599
  }
599
600
 
600
601
  /**
601
- * 本接口(ListFirmwares)用于获取固件列表
602
+ * 为用户提供新建项目的能力,用于集中管理产品和应用。
602
603
  */
603
- async ListFirmwares(
604
- req: ListFirmwaresRequest,
605
- cb?: (error: string, rep: ListFirmwaresResponse) => void
606
- ): Promise<ListFirmwaresResponse> {
607
- return this.request("ListFirmwares", req, cb)
604
+ async CreateProject(
605
+ req: CreateProjectRequest,
606
+ cb?: (error: string, rep: CreateProjectResponse) => void
607
+ ): Promise<CreateProjectResponse> {
608
+ return this.request("CreateProject", req, cb)
608
609
  }
609
610
 
610
611
  /**
611
- * 提供删除LoRa自定义频点的能力
612
+ * 提供给用户异步调用设备行为的能力
612
613
  */
613
- async DeleteLoRaFrequency(
614
- req: DeleteLoRaFrequencyRequest,
615
- cb?: (error: string, rep: DeleteLoRaFrequencyResponse) => void
616
- ): Promise<DeleteLoRaFrequencyResponse> {
617
- return this.request("DeleteLoRaFrequency", req, cb)
614
+ async CallDeviceActionAsync(
615
+ req: CallDeviceActionAsyncRequest,
616
+ cb?: (error: string, rep: CallDeviceActionAsyncResponse) => void
617
+ ): Promise<CallDeviceActionAsyncResponse> {
618
+ return this.request("CallDeviceActionAsync", req, cb)
618
619
  }
619
620
 
620
621
  /**
621
- * 创建围栏绑定信息
622
+ * 提供删除某个项目的能力
622
623
  */
623
- async CreateFenceBind(
624
- req: CreateFenceBindRequest,
625
- cb?: (error: string, rep: CreateFenceBindResponse) => void
626
- ): Promise<CreateFenceBindResponse> {
627
- return this.request("CreateFenceBind", req, cb)
624
+ async DeleteProject(
625
+ req: DeleteProjectRequest,
626
+ cb?: (error: string, rep: DeleteProjectResponse) => void
627
+ ): Promise<DeleteProjectResponse> {
628
+ return this.request("DeleteProject", req, cb)
628
629
  }
629
630
 
630
631
  /**
631
- * 本接口(UpdateTopicPolicy)用于更新Topic信息
632
+ * 获取规则信息
632
633
  */
633
- async ModifyTopicPolicy(
634
- req: ModifyTopicPolicyRequest,
635
- cb?: (error: string, rep: ModifyTopicPolicyResponse) => void
636
- ): Promise<ModifyTopicPolicyResponse> {
637
- return this.request("ModifyTopicPolicy", req, cb)
634
+ async DescribeTopicRule(
635
+ req: DescribeTopicRuleRequest,
636
+ cb?: (error: string, rep: DescribeTopicRuleResponse) => void
637
+ ): Promise<DescribeTopicRuleResponse> {
638
+ return this.request("DescribeTopicRule", req, cb)
638
639
  }
639
640
 
640
641
  /**
641
- * 本接口(PublishMessage)用于使用自定义透传协议进行设备远控
642
+ * 批量解绑子产品
642
643
  */
643
- async PublishMessage(
644
- req: PublishMessageRequest,
645
- cb?: (error: string, rep: PublishMessageResponse) => void
646
- ): Promise<PublishMessageResponse> {
647
- return this.request("PublishMessage", req, cb)
644
+ async UnbindProducts(
645
+ req: UnbindProductsRequest,
646
+ cb?: (error: string, rep: UnbindProductsResponse) => void
647
+ ): Promise<UnbindProductsResponse> {
648
+ return this.request("UnbindProducts", req, cb)
648
649
  }
649
650
 
650
651
  /**
651
- * 用于查询某个产品下的设备列表
652
+ * 提供删除某个项目下产品的能力
652
653
  */
653
- async GetDeviceList(
654
- req: GetDeviceListRequest,
655
- cb?: (error: string, rep: GetDeviceListResponse) => void
656
- ): Promise<GetDeviceListResponse> {
657
- return this.request("GetDeviceList", req, cb)
654
+ async DeleteStudioProduct(
655
+ req: DeleteStudioProductRequest,
656
+ cb?: (error: string, rep: DeleteStudioProductResponse) => void
657
+ ): Promise<DeleteStudioProductResponse> {
658
+ return this.request("DeleteStudioProduct", req, cb)
658
659
  }
659
660
 
660
661
  /**
661
- * 获取位置空间中围栏告警事件列表
662
+ * 根据设备产品ID、设备名称,获取设备上报的属性数据。
662
663
  */
663
- async DescribeSpaceFenceEventList(
664
- req: DescribeSpaceFenceEventListRequest,
665
- cb?: (error: string, rep: DescribeSpaceFenceEventListResponse) => void
666
- ): Promise<DescribeSpaceFenceEventListResponse> {
667
- return this.request("DescribeSpaceFenceEventList", req, cb)
664
+ async DescribeDeviceData(
665
+ req: DescribeDeviceDataRequest,
666
+ cb?: (error: string, rep: DescribeDeviceDataResponse) => void
667
+ ): Promise<DescribeDeviceDataResponse> {
668
+ return this.request("DescribeDeviceData", req, cb)
668
669
  }
669
670
 
670
671
  /**
671
- * 创建设备
672
+ * 获取网关绑定的子设备列表
672
673
  */
673
- async CreateDevice(
674
- req: CreateDeviceRequest,
675
- cb?: (error: string, rep: CreateDeviceResponse) => void
676
- ): Promise<CreateDeviceResponse> {
677
- return this.request("CreateDevice", req, cb)
674
+ async DescribeGatewayBindDevices(
675
+ req: DescribeGatewayBindDevicesRequest,
676
+ cb?: (error: string, rep: DescribeGatewayBindDevicesResponse) => void
677
+ ): Promise<DescribeGatewayBindDevicesResponse> {
678
+ return this.request("DescribeGatewayBindDevices", req, cb)
678
679
  }
679
680
 
680
681
  /**
681
- * 获取设备的历史事件
682
+ * 创建围栏
682
683
  */
683
- async ListEventHistory(
684
- req: ListEventHistoryRequest,
685
- cb?: (error: string, rep: ListEventHistoryResponse) => void
686
- ): Promise<ListEventHistoryResponse> {
687
- return this.request("ListEventHistory", req, cb)
684
+ async CreatePositionFence(
685
+ req: CreatePositionFenceRequest,
686
+ cb?: (error: string, rep: CreatePositionFenceResponse) => void
687
+ ): Promise<CreatePositionFenceResponse> {
688
+ return this.request("CreatePositionFence", req, cb)
688
689
  }
689
690
 
690
691
  /**
691
- * 本接口(DeleteTopicPolicy)用于删除Topic
692
+ * 创建新 LoRa 网关设备接口
692
693
  */
693
- async DeleteTopicPolicy(
694
- req: DeleteTopicPolicyRequest,
695
- cb?: (error: string, rep: DeleteTopicPolicyResponse) => void
696
- ): Promise<DeleteTopicPolicyResponse> {
697
- return this.request("DeleteTopicPolicy", req, cb)
694
+ async CreateLoRaGateway(
695
+ req: CreateLoRaGatewayRequest,
696
+ cb?: (error: string, rep: CreateLoRaGatewayResponse) => void
697
+ ): Promise<CreateLoRaGatewayResponse> {
698
+ return this.request("CreateLoRaGateway", req, cb)
698
699
  }
699
700
 
700
701
  /**
701
- * 提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数
702
+ * 创建规则
702
703
  */
703
- async DescribeStudioProduct(
704
- req: DescribeStudioProductRequest,
705
- cb?: (error: string, rep: DescribeStudioProductResponse) => void
706
- ): Promise<DescribeStudioProductResponse> {
707
- return this.request("DescribeStudioProduct", req, cb)
704
+ async CreateTopicRule(
705
+ req: CreateTopicRuleRequest,
706
+ cb?: (error: string, rep: CreateTopicRuleResponse) => void
707
+ ): Promise<CreateTopicRuleResponse> {
708
+ return this.request("CreateTopicRule", req, cb)
708
709
  }
709
710
 
710
711
  /**
711
- * 本接口(ListTopicPolicy)用于获取Topic列表
712
+ * 创建 LoRa 自定义频点
712
713
  */
713
- async ListTopicPolicy(
714
- req: ListTopicPolicyRequest,
715
- cb?: (error: string, rep: ListTopicPolicyResponse) => void
716
- ): Promise<ListTopicPolicyResponse> {
717
- return this.request("ListTopicPolicy", req, cb)
718
- }
714
+ async CreateLoRaFrequency(
715
+ req: CreateLoRaFrequencyRequest,
716
+ cb?: (error: string, rep: CreateLoRaFrequencyResponse) => void
717
+ ): Promise<CreateLoRaFrequencyResponse> {
718
+ return this.request("CreateLoRaFrequency", req, cb)
719
+ }
719
720
 
720
721
  /**
721
- * 删除围栏绑定信息
722
+ * 本接口(CreateTopicPolicy)用于创建一个Topic
722
723
  */
723
- async DeleteFenceBind(
724
- req: DeleteFenceBindRequest,
725
- cb?: (error: string, rep: DeleteFenceBindResponse) => void
726
- ): Promise<DeleteFenceBindResponse> {
727
- return this.request("DeleteFenceBind", req, cb)
724
+ async CreateTopicPolicy(
725
+ req: CreateTopicPolicyRequest,
726
+ cb?: (error: string, rep: CreateTopicPolicyResponse) => void
727
+ ): Promise<CreateTopicPolicyResponse> {
728
+ return this.request("CreateTopicPolicy", req, cb)
728
729
  }
729
730
 
730
731
  /**
731
- * 获取 LoRa 网关列表接口
732
+ * 本接口(UploadFirmware)用于上传设备固件至平台
732
733
  */
733
- async GetLoRaGatewayList(
734
- req: GetLoRaGatewayListRequest,
735
- cb?: (error: string, rep: GetLoRaGatewayListResponse) => void
736
- ): Promise<GetLoRaGatewayListResponse> {
737
- return this.request("GetLoRaGatewayList", req, cb)
734
+ async UploadFirmware(
735
+ req: UploadFirmwareRequest,
736
+ cb?: (error: string, rep: UploadFirmwareResponse) => void
737
+ ): Promise<UploadFirmwareResponse> {
738
+ return this.request("UploadFirmware", req, cb)
738
739
  }
739
740
 
740
741
  /**
741
- * 获取围栏告警事件列表
742
+ * 批量禁用启用设备
742
743
  */
743
- async DescribeFenceEventList(
744
- req: DescribeFenceEventListRequest,
745
- cb?: (error: string, rep: DescribeFenceEventListResponse) => void
746
- ): Promise<DescribeFenceEventListResponse> {
747
- return this.request("DescribeFenceEventList", req, cb)
744
+ async UpdateDevicesEnableState(
745
+ req: UpdateDevicesEnableStateRequest,
746
+ cb?: (error: string, rep: UpdateDevicesEnableStateResponse) => void
747
+ ): Promise<UpdateDevicesEnableStateResponse> {
748
+ return this.request("UpdateDevicesEnableState", req, cb)
748
749
  }
749
750
 
750
751
  /**
751
- * 获取位置空间列表
752
+ * 修改项目
752
753
  */
753
- async GetPositionSpaceList(
754
- req: GetPositionSpaceListRequest,
755
- cb?: (error: string, rep: GetPositionSpaceListResponse) => void
756
- ): Promise<GetPositionSpaceListResponse> {
757
- return this.request("GetPositionSpaceList", req, cb)
754
+ async ModifyProject(
755
+ req: ModifyProjectRequest,
756
+ cb?: (error: string, rep: ModifyProjectResponse) => void
757
+ ): Promise<ModifyProjectResponse> {
758
+ return this.request("ModifyProject", req, cb)
758
759
  }
759
760
 
760
761
  /**
761
- * 查询固件升级任务列表
762
+ * 批量绑定子产品
762
763
  */
763
- async DescribeFirmwareTask(
764
- req: DescribeFirmwareTaskRequest,
765
- cb?: (error: string, rep: DescribeFirmwareTaskResponse) => void
766
- ): Promise<DescribeFirmwareTaskResponse> {
767
- return this.request("DescribeFirmwareTask", req, cb)
764
+ async BindProducts(
765
+ req: BindProductsRequest,
766
+ cb?: (error: string, rep: BindProductsResponse) => void
767
+ ): Promise<BindProductsResponse> {
768
+ return this.request("BindProducts", req, cb)
768
769
  }
769
770
 
770
771
  /**
771
- *
772
+ * 获取围栏绑定信息列表
772
773
  */
773
- async GenSingleDeviceSignatureOfPublic(
774
- req: GenSingleDeviceSignatureOfPublicRequest,
775
- cb?: (error: string, rep: GenSingleDeviceSignatureOfPublicResponse) => void
776
- ): Promise<GenSingleDeviceSignatureOfPublicResponse> {
777
- return this.request("GenSingleDeviceSignatureOfPublic", req, cb)
774
+ async DescribeFenceBindList(
775
+ req: DescribeFenceBindListRequest,
776
+ cb?: (error: string, rep: DescribeFenceBindListResponse) => void
777
+ ): Promise<DescribeFenceBindListResponse> {
778
+ return this.request("DescribeFenceBindList", req, cb)
778
779
  }
779
780
 
780
781
  /**
781
- * 删除围栏
782
+ * 更新位置空间
782
783
  */
783
- async DeletePositionFence(
784
- req: DeletePositionFenceRequest,
785
- cb?: (error: string, rep: DeletePositionFenceResponse) => void
786
- ): Promise<DeletePositionFenceResponse> {
787
- return this.request("DeletePositionFence", req, cb)
784
+ async ModifyPositionSpace(
785
+ req: ModifyPositionSpaceRequest,
786
+ cb?: (error: string, rep: ModifyPositionSpaceResponse) => void
787
+ ): Promise<ModifyPositionSpaceResponse> {
788
+ return this.request("ModifyPositionSpace", req, cb)
788
789
  }
789
790
 
790
791
  /**
791
- * 更新围栏
792
+ * 获取位置空间中围栏告警事件列表
792
793
  */
793
- async ModifyPositionFence(
794
- req?: ModifyPositionFenceRequest,
795
- cb?: (error: string, rep: ModifyPositionFenceResponse) => void
796
- ): Promise<ModifyPositionFenceResponse> {
797
- return this.request("ModifyPositionFence", req, cb)
794
+ async DescribeSpaceFenceEventList(
795
+ req: DescribeSpaceFenceEventListRequest,
796
+ cb?: (error: string, rep: DescribeSpaceFenceEventListResponse) => void
797
+ ): Promise<DescribeSpaceFenceEventListResponse> {
798
+ return this.request("DescribeSpaceFenceEventList", req, cb)
799
+ }
800
+
801
+ /**
802
+ * 本接口(UpdateFirmware)用于对指定设备发起固件升级请求
803
+ */
804
+ async UpdateFirmware(
805
+ req: UpdateFirmwareRequest,
806
+ cb?: (error: string, rep: UpdateFirmwareResponse) => void
807
+ ): Promise<UpdateFirmwareResponse> {
808
+ return this.request("UpdateFirmware", req, cb)
809
+ }
810
+
811
+ /**
812
+ * 用于获取网关可绑定或解绑的子产品
813
+ */
814
+ async DescribeGatewaySubProducts(
815
+ req: DescribeGatewaySubProductsRequest,
816
+ cb?: (error: string, rep: DescribeGatewaySubProductsResponse) => void
817
+ ): Promise<DescribeGatewaySubProductsResponse> {
818
+ return this.request("DescribeGatewaySubProducts", req, cb)
798
819
  }
799
820
 
800
821
  /**
@@ -808,23 +829,43 @@ export class Client extends AbstractClient {
808
829
  }
809
830
 
810
831
  /**
811
- * 更新围栏绑定信息
832
+ * 批量绑定子设备
812
833
  */
813
- async ModifyFenceBind(
814
- req: ModifyFenceBindRequest,
815
- cb?: (error: string, rep: ModifyFenceBindResponse) => void
816
- ): Promise<ModifyFenceBindResponse> {
817
- return this.request("ModifyFenceBind", req, cb)
834
+ async BindDevices(
835
+ req: BindDevicesRequest,
836
+ cb?: (error: string, rep: BindDevicesResponse) => void
837
+ ): Promise<BindDevicesResponse> {
838
+ return this.request("BindDevices", req, cb)
818
839
  }
819
840
 
820
841
  /**
821
- * 更新位置空间
842
+ * 用于新建批量生产设备
822
843
  */
823
- async ModifyPositionSpace(
824
- req: ModifyPositionSpaceRequest,
825
- cb?: (error: string, rep: ModifyPositionSpaceResponse) => void
826
- ): Promise<ModifyPositionSpaceResponse> {
827
- return this.request("ModifyPositionSpace", req, cb)
844
+ async CreateBatchProduction(
845
+ req: CreateBatchProductionRequest,
846
+ cb?: (error: string, rep: CreateBatchProductionResponse) => void
847
+ ): Promise<CreateBatchProductionResponse> {
848
+ return this.request("CreateBatchProduction", req, cb)
849
+ }
850
+
851
+ /**
852
+ * 禁用规则
853
+ */
854
+ async DisableTopicRule(
855
+ req: DisableTopicRuleRequest,
856
+ cb?: (error: string, rep: DisableTopicRuleResponse) => void
857
+ ): Promise<DisableTopicRuleResponse> {
858
+ return this.request("DisableTopicRule", req, cb)
859
+ }
860
+
861
+ /**
862
+ * 批量解绑子设备
863
+ */
864
+ async UnbindDevices(
865
+ req: UnbindDevicesRequest,
866
+ cb?: (error: string, rep: UnbindDevicesResponse) => void
867
+ ): Promise<UnbindDevicesResponse> {
868
+ return this.request("UnbindDevices", req, cb)
828
869
  }
829
870
 
830
871
  /**
@@ -838,123 +879,193 @@ export class Client extends AbstractClient {
838
879
  }
839
880
 
840
881
  /**
841
- * 启用规则
882
+ * 获取量产详情信息。
842
883
  */
843
- async EnableTopicRule(
844
- req: EnableTopicRuleRequest,
845
- cb?: (error: string, rep: EnableTopicRuleResponse) => void
846
- ): Promise<EnableTopicRuleResponse> {
847
- return this.request("EnableTopicRule", req, cb)
884
+ async DescribeBatchProduction(
885
+ req: DescribeBatchProductionRequest,
886
+ cb?: (error: string, rep: DescribeBatchProductionResponse) => void
887
+ ): Promise<DescribeBatchProductionResponse> {
888
+ return this.request("DescribeBatchProduction", req, cb)
848
889
  }
849
890
 
850
891
  /**
851
- * 提供修改产品的数据模板的能力
892
+ * 批量删除设备
852
893
  */
853
- async ModifyModelDefinition(
854
- req: ModifyModelDefinitionRequest,
855
- cb?: (error: string, rep: ModifyModelDefinitionResponse) => void
856
- ): Promise<ModifyModelDefinitionResponse> {
857
- return this.request("ModifyModelDefinition", req, cb)
894
+ async DeleteDevices(
895
+ req: DeleteDevicesRequest,
896
+ cb?: (error: string, rep: DeleteDevicesResponse) => void
897
+ ): Promise<DeleteDevicesResponse> {
898
+ return this.request("DeleteDevices", req, cb)
858
899
  }
859
900
 
860
901
  /**
861
- * 用于新建批量生产设备
902
+ * 获取指定网关设备的子设备列表
862
903
  */
863
- async CreateBatchProduction(
864
- req: CreateBatchProductionRequest,
865
- cb?: (error: string, rep: CreateBatchProductionResponse) => void
866
- ): Promise<CreateBatchProductionResponse> {
867
- return this.request("CreateBatchProduction", req, cb)
904
+ async GetGatewaySubDeviceList(
905
+ req: GetGatewaySubDeviceListRequest,
906
+ cb?: (error: string, rep: GetGatewaySubDeviceListResponse) => void
907
+ ): Promise<GetGatewaySubDeviceListResponse> {
908
+ return this.request("GetGatewaySubDeviceList", req, cb)
868
909
  }
869
910
 
870
911
  /**
871
- * 删除位置空间
912
+ * 获取设备的历史事件
872
913
  */
873
- async DeletePositionSpace(
874
- req: DeletePositionSpaceRequest,
875
- cb?: (error: string, rep: DeletePositionSpaceResponse) => void
876
- ): Promise<DeletePositionSpaceResponse> {
877
- return this.request("DeletePositionSpace", req, cb)
914
+ async ListEventHistory(
915
+ req: ListEventHistoryRequest,
916
+ cb?: (error: string, rep: ListEventHistoryResponse) => void
917
+ ): Promise<ListEventHistoryResponse> {
918
+ return this.request("ListEventHistory", req, cb)
878
919
  }
879
920
 
880
921
  /**
881
- * 查询产品配置的数据模板信息
922
+ * 获取设备在指定时间范围内上报的历史数据。
882
923
  */
883
- async DescribeModelDefinition(
884
- req: DescribeModelDefinitionRequest,
885
- cb?: (error: string, rep: DescribeModelDefinitionResponse) => void
886
- ): Promise<DescribeModelDefinitionResponse> {
887
- return this.request("DescribeModelDefinition", req, cb)
924
+ async DescribeDeviceDataHistory(
925
+ req: DescribeDeviceDataHistoryRequest,
926
+ cb?: (error: string, rep: DescribeDeviceDataHistoryResponse) => void
927
+ ): Promise<DescribeDeviceDataHistoryResponse> {
928
+ return this.request("DescribeDeviceDataHistory", req, cb)
888
929
  }
889
930
 
890
931
  /**
891
- * 列出量产数据列表信息。
932
+ * 更新围栏
892
933
  */
893
- async GetBatchProductionsList(
894
- req: GetBatchProductionsListRequest,
895
- cb?: (error: string, rep: GetBatchProductionsListResponse) => void
896
- ): Promise<GetBatchProductionsListResponse> {
897
- return this.request("GetBatchProductionsList", req, cb)
934
+ async ModifyPositionFence(
935
+ req?: ModifyPositionFenceRequest,
936
+ cb?: (error: string, rep: ModifyPositionFenceResponse) => void
937
+ ): Promise<ModifyPositionFenceResponse> {
938
+ return this.request("ModifyPositionFence", req, cb)
898
939
  }
899
940
 
900
941
  /**
901
- * 为用户提供新建项目的能力,用于集中管理产品和应用。
942
+ * 删除设备
902
943
  */
903
- async CreateProject(
904
- req: CreateProjectRequest,
905
- cb?: (error: string, rep: CreateProjectResponse) => void
906
- ): Promise<CreateProjectResponse> {
907
- return this.request("CreateProject", req, cb)
944
+ async DeleteDevice(
945
+ req: DeleteDeviceRequest,
946
+ cb?: (error: string, rep: DeleteDeviceResponse) => void
947
+ ): Promise<DeleteDeviceResponse> {
948
+ return this.request("DeleteDevice", req, cb)
908
949
  }
909
950
 
910
951
  /**
911
- * 禁用规则
952
+ * 获取围栏列表
912
953
  */
913
- async DisableTopicRule(
914
- req: DisableTopicRuleRequest,
915
- cb?: (error: string, rep: DisableTopicRuleResponse) => void
916
- ): Promise<DisableTopicRuleResponse> {
917
- return this.request("DisableTopicRule", req, cb)
954
+ async DescribePositionFenceList(
955
+ req: DescribePositionFenceListRequest,
956
+ cb?: (error: string, rep: DescribePositionFenceListResponse) => void
957
+ ): Promise<DescribePositionFenceListResponse> {
958
+ return this.request("DescribePositionFenceList", req, cb)
918
959
  }
919
960
 
920
961
  /**
921
- * 提供给用户异步调用设备行为的能力
962
+ * 提供删除LoRa自定义频点的能力
922
963
  */
923
- async CallDeviceActionAsync(
924
- req: CallDeviceActionAsyncRequest,
925
- cb?: (error: string, rep: CallDeviceActionAsyncResponse) => void
926
- ): Promise<CallDeviceActionAsyncResponse> {
927
- return this.request("CallDeviceActionAsync", req, cb)
964
+ async DeleteLoRaFrequency(
965
+ req: DeleteLoRaFrequencyRequest,
966
+ cb?: (error: string, rep: DeleteLoRaFrequencyResponse) => void
967
+ ): Promise<DeleteLoRaFrequencyResponse> {
968
+ return this.request("DeleteLoRaFrequency", req, cb)
928
969
  }
929
970
 
930
971
  /**
931
- * 创建位置空间
972
+ * 更新位置空间产品属性
932
973
  */
933
- async CreatePositionSpace(
934
- req: CreatePositionSpaceRequest,
935
- cb?: (error: string, rep: CreatePositionSpaceResponse) => void
936
- ): Promise<CreatePositionSpaceResponse> {
937
- return this.request("CreatePositionSpace", req, cb)
974
+ async ModifySpaceProperty(
975
+ req: ModifySpacePropertyRequest,
976
+ cb?: (error: string, rep: ModifySpacePropertyResponse) => void
977
+ ): Promise<ModifySpacePropertyResponse> {
978
+ return this.request("ModifySpaceProperty", req, cb)
938
979
  }
939
980
 
940
981
  /**
941
- * 用于查看某个设备的详细信息
982
+ * 本接口(DeleteTopicPolicy)用于删除Topic
942
983
  */
943
- async DescribeDevice(
944
- req: DescribeDeviceRequest,
945
- cb?: (error: string, rep: DescribeDeviceResponse) => void
946
- ): Promise<DescribeDeviceResponse> {
947
- return this.request("DescribeDevice", req, cb)
984
+ async DeleteTopicPolicy(
985
+ req: DeleteTopicPolicyRequest,
986
+ cb?: (error: string, rep: DeleteTopicPolicyResponse) => void
987
+ ): Promise<DeleteTopicPolicyResponse> {
988
+ return this.request("DeleteTopicPolicy", req, cb)
948
989
  }
949
990
 
950
991
  /**
951
- * 提供删除某个项目的能力
992
+ * 用于查询某个产品下的设备列表
952
993
  */
953
- async DeleteProject(
954
- req: DeleteProjectRequest,
955
- cb?: (error: string, rep: DeleteProjectResponse) => void
956
- ): Promise<DeleteProjectResponse> {
957
- return this.request("DeleteProject", req, cb)
994
+ async GetDeviceList(
995
+ req: GetDeviceListRequest,
996
+ cb?: (error: string, rep: GetDeviceListResponse) => void
997
+ ): Promise<GetDeviceListResponse> {
998
+ return this.request("GetDeviceList", req, cb)
999
+ }
1000
+
1001
+ /**
1002
+ * 本接口(ListTopicPolicy)用于获取Topic列表
1003
+ */
1004
+ async ListTopicPolicy(
1005
+ req: ListTopicPolicyRequest,
1006
+ cb?: (error: string, rep: ListTopicPolicyResponse) => void
1007
+ ): Promise<ListTopicPolicyResponse> {
1008
+ return this.request("ListTopicPolicy", req, cb)
1009
+ }
1010
+
1011
+ /**
1012
+ * 无
1013
+ */
1014
+ async GenSingleDeviceSignatureOfPublic(
1015
+ req: GenSingleDeviceSignatureOfPublicRequest,
1016
+ cb?: (error: string, rep: GenSingleDeviceSignatureOfPublicResponse) => void
1017
+ ): Promise<GenSingleDeviceSignatureOfPublicResponse> {
1018
+ return this.request("GenSingleDeviceSignatureOfPublic", req, cb)
1019
+ }
1020
+
1021
+ /**
1022
+ * 修改LoRa自定义频点
1023
+ */
1024
+ async ModifyLoRaFrequency(
1025
+ req: ModifyLoRaFrequencyRequest,
1026
+ cb?: (error: string, rep: ModifyLoRaFrequencyResponse) => void
1027
+ ): Promise<ModifyLoRaFrequencyResponse> {
1028
+ return this.request("ModifyLoRaFrequency", req, cb)
1029
+ }
1030
+
1031
+ /**
1032
+ * 删除围栏
1033
+ */
1034
+ async DeletePositionFence(
1035
+ req: DeletePositionFenceRequest,
1036
+ cb?: (error: string, rep: DeletePositionFenceResponse) => void
1037
+ ): Promise<DeletePositionFenceResponse> {
1038
+ return this.request("DeletePositionFence", req, cb)
1039
+ }
1040
+
1041
+ /**
1042
+ * 搜索规则
1043
+ */
1044
+ async SearchTopicRule(
1045
+ req: SearchTopicRuleRequest,
1046
+ cb?: (error: string, rep: SearchTopicRuleResponse) => void
1047
+ ): Promise<SearchTopicRuleResponse> {
1048
+ return this.request("SearchTopicRule", req, cb)
1049
+ }
1050
+
1051
+ /**
1052
+ * 提供修改产品的数据模板的能力
1053
+ */
1054
+ async ModifyModelDefinition(
1055
+ req: ModifyModelDefinitionRequest,
1056
+ cb?: (error: string, rep: ModifyModelDefinitionResponse) => void
1057
+ ): Promise<ModifyModelDefinitionResponse> {
1058
+ return this.request("ModifyModelDefinition", req, cb)
1059
+ }
1060
+
1061
+ /**
1062
+ * 用于获取设备绑定的用户列表
1063
+ */
1064
+ async GetFamilyDeviceUserList(
1065
+ req: GetFamilyDeviceUserListRequest,
1066
+ cb?: (error: string, rep: GetFamilyDeviceUserListResponse) => void
1067
+ ): Promise<GetFamilyDeviceUserListResponse> {
1068
+ return this.request("GetFamilyDeviceUserList", req, cb)
958
1069
  }
959
1070
 
960
1071
  /**
@@ -968,32 +1079,32 @@ export class Client extends AbstractClient {
968
1079
  }
969
1080
 
970
1081
  /**
971
- * 根据设备产品ID、设备名称,设置控制设备的属性数据。
1082
+ * 查询产品配置的数据模板信息
972
1083
  */
973
- async ControlDeviceData(
974
- req: ControlDeviceDataRequest,
975
- cb?: (error: string, rep: ControlDeviceDataResponse) => void
976
- ): Promise<ControlDeviceDataResponse> {
977
- return this.request("ControlDeviceData", req, cb)
1084
+ async DescribeModelDefinition(
1085
+ req: DescribeModelDefinitionRequest,
1086
+ cb?: (error: string, rep: DescribeModelDefinitionResponse) => void
1087
+ ): Promise<DescribeModelDefinitionResponse> {
1088
+ return this.request("DescribeModelDefinition", req, cb)
978
1089
  }
979
1090
 
980
1091
  /**
981
- * 获取规则信息
1092
+ * 创建位置空间
982
1093
  */
983
- async DescribeTopicRule(
984
- req: DescribeTopicRuleRequest,
985
- cb?: (error: string, rep: DescribeTopicRuleResponse) => void
986
- ): Promise<DescribeTopicRuleResponse> {
987
- return this.request("DescribeTopicRule", req, cb)
1094
+ async CreatePositionSpace(
1095
+ req: CreatePositionSpaceRequest,
1096
+ cb?: (error: string, rep: CreatePositionSpaceResponse) => void
1097
+ ): Promise<CreatePositionSpaceResponse> {
1098
+ return this.request("CreatePositionSpace", req, cb)
988
1099
  }
989
1100
 
990
1101
  /**
991
- * 删除规则
1102
+ * 创建围栏绑定信息
992
1103
  */
993
- async DeleteTopicRule(
994
- req: DeleteTopicRuleRequest,
995
- cb?: (error: string, rep: DeleteTopicRuleResponse) => void
996
- ): Promise<DeleteTopicRuleResponse> {
997
- return this.request("DeleteTopicRule", req, cb)
1104
+ async CreateFenceBind(
1105
+ req: CreateFenceBindRequest,
1106
+ cb?: (error: string, rep: CreateFenceBindResponse) => void
1107
+ ): Promise<CreateFenceBindResponse> {
1108
+ return this.request("CreateFenceBind", req, cb)
998
1109
  }
999
1110
  }