tencentcloud-sdk-nodejs-iotexplorer 4.0.267 → 4.0.271

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