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.
- package/CHANGELOG.md +868 -0
- package/SERVICE_CHANGELOG.md +855 -169
- package/package.json +1 -1
- package/products.md +41 -40
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +542 -431
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +538 -64
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +179 -143
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +267 -213
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +464 -61
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
146
|
+
DescribeTopicRuleResponse,
|
|
136
147
|
CreatePositionFenceResponse,
|
|
137
148
|
TopicItem,
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
263
|
-
req:
|
|
264
|
-
cb?: (error: string, rep:
|
|
265
|
-
): Promise<
|
|
266
|
-
return this.request("
|
|
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
|
|
273
|
-
req:
|
|
274
|
-
cb?: (error: string, rep:
|
|
275
|
-
): Promise<
|
|
276
|
-
return this.request("
|
|
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
|
|
283
|
-
req:
|
|
284
|
-
cb?: (error: string, rep:
|
|
285
|
-
): Promise<
|
|
286
|
-
return this.request("
|
|
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
|
|
293
|
-
req:
|
|
294
|
-
cb?: (error: string, rep:
|
|
295
|
-
): Promise<
|
|
296
|
-
return this.request("
|
|
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
|
|
313
|
-
req:
|
|
314
|
-
cb?: (error: string, rep:
|
|
315
|
-
): Promise<
|
|
316
|
-
return this.request("
|
|
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
|
-
*
|
|
321
|
+
* 获取设备历史位置
|
|
321
322
|
*/
|
|
322
|
-
async
|
|
323
|
-
req:
|
|
324
|
-
cb?: (error: string, rep:
|
|
325
|
-
): Promise<
|
|
326
|
-
return this.request("
|
|
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
|
|
333
|
-
req:
|
|
334
|
-
cb?: (error: string, rep:
|
|
335
|
-
): Promise<
|
|
336
|
-
return this.request("
|
|
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
|
|
343
|
-
req:
|
|
344
|
-
cb?: (error: string, rep:
|
|
345
|
-
): Promise<
|
|
346
|
-
return this.request("
|
|
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
|
-
*
|
|
351
|
+
* 获取 LoRa 网关列表接口
|
|
351
352
|
*/
|
|
352
|
-
async
|
|
353
|
-
req:
|
|
354
|
-
cb?: (error: string, rep:
|
|
355
|
-
): Promise<
|
|
356
|
-
return this.request("
|
|
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
|
|
363
|
-
req:
|
|
364
|
-
cb?: (error: string, rep:
|
|
365
|
-
): Promise<
|
|
366
|
-
return this.request("
|
|
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
|
|
373
|
-
req:
|
|
374
|
-
cb?: (error: string, rep:
|
|
375
|
-
): Promise<
|
|
376
|
-
return this.request("
|
|
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
|
-
*
|
|
381
|
+
* 删除位置空间
|
|
381
382
|
*/
|
|
382
|
-
async
|
|
383
|
-
req:
|
|
384
|
-
cb?: (error: string, rep:
|
|
385
|
-
): Promise<
|
|
386
|
-
return this.request("
|
|
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
|
|
393
|
-
req:
|
|
394
|
-
cb?: (error: string, rep:
|
|
395
|
-
): Promise<
|
|
396
|
-
return this.request("
|
|
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
|
-
*
|
|
401
|
+
* 修改 LoRa 网关信息
|
|
401
402
|
*/
|
|
402
|
-
async
|
|
403
|
-
req:
|
|
404
|
-
cb?: (error: string, rep:
|
|
405
|
-
): Promise<
|
|
406
|
-
return this.request("
|
|
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
|
-
*
|
|
411
|
+
* 用于查看某个设备的详细信息
|
|
411
412
|
*/
|
|
412
|
-
async
|
|
413
|
-
req:
|
|
414
|
-
cb?: (error: string, rep:
|
|
415
|
-
): Promise<
|
|
416
|
-
return this.request("
|
|
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
|
|
423
|
-
req:
|
|
424
|
-
cb?: (error: string, rep:
|
|
425
|
-
): Promise<
|
|
426
|
-
return this.request("
|
|
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
|
|
433
|
-
req:
|
|
434
|
-
cb?: (error: string, rep:
|
|
435
|
-
): Promise<
|
|
436
|
-
return this.request("
|
|
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
|
-
*
|
|
451
|
+
* 搜索位置空间
|
|
451
452
|
*/
|
|
452
|
-
async
|
|
453
|
-
req:
|
|
454
|
-
cb?: (error: string, rep:
|
|
455
|
-
): Promise<
|
|
456
|
-
return this.request("
|
|
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
|
|
463
|
-
req:
|
|
464
|
-
cb?: (error: string, rep:
|
|
465
|
-
): Promise<
|
|
466
|
-
return this.request("
|
|
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
|
-
*
|
|
471
|
+
* 为用户提供新建产品的能力,用于管理用户的设备
|
|
471
472
|
*/
|
|
472
|
-
async
|
|
473
|
-
req:
|
|
474
|
-
cb?: (error: string, rep:
|
|
475
|
-
): Promise<
|
|
476
|
-
return this.request("
|
|
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
|
-
*
|
|
481
|
+
* 启用规则
|
|
481
482
|
*/
|
|
482
|
-
async
|
|
483
|
-
req:
|
|
484
|
-
cb?: (error: string, rep:
|
|
485
|
-
): Promise<
|
|
486
|
-
return this.request("
|
|
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
|
-
*
|
|
511
|
+
* 本接口(ListFirmwares)用于获取固件列表
|
|
511
512
|
*/
|
|
512
|
-
async
|
|
513
|
-
req:
|
|
514
|
-
cb?: (error: string, rep:
|
|
515
|
-
): Promise<
|
|
516
|
-
return this.request("
|
|
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
|
-
*
|
|
521
|
+
* 创建设备
|
|
521
522
|
*/
|
|
522
|
-
async
|
|
523
|
-
req:
|
|
524
|
-
cb?: (error: string, rep:
|
|
525
|
-
): Promise<
|
|
526
|
-
return this.request("
|
|
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
|
|
533
|
-
req:
|
|
534
|
-
cb?: (error: string, rep:
|
|
535
|
-
): Promise<
|
|
536
|
-
return this.request("
|
|
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
|
|
543
|
-
req:
|
|
544
|
-
cb?: (error: string, rep:
|
|
545
|
-
): Promise<
|
|
546
|
-
return this.request("
|
|
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
|
|
553
|
-
req:
|
|
554
|
-
cb?: (error: string, rep:
|
|
555
|
-
): Promise<
|
|
556
|
-
return this.request("
|
|
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
|
|
563
|
-
req:
|
|
564
|
-
cb?: (error: string, rep:
|
|
565
|
-
): Promise<
|
|
566
|
-
return this.request("
|
|
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
|
|
573
|
-
req:
|
|
574
|
-
cb?: (error: string, rep:
|
|
575
|
-
): Promise<
|
|
576
|
-
return this.request("
|
|
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
|
|
583
|
-
req:
|
|
584
|
-
cb?: (error: string, rep:
|
|
585
|
-
): Promise<
|
|
586
|
-
return this.request("
|
|
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
|
|
593
|
-
req:
|
|
594
|
-
cb?: (error: string, rep:
|
|
595
|
-
): Promise<
|
|
596
|
-
return this.request("
|
|
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
|
-
*
|
|
601
|
+
* 为用户提供新建项目的能力,用于集中管理产品和应用。
|
|
601
602
|
*/
|
|
602
|
-
async
|
|
603
|
-
req:
|
|
604
|
-
cb?: (error: string, rep:
|
|
605
|
-
): Promise<
|
|
606
|
-
return this.request("
|
|
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
|
-
*
|
|
611
|
+
* 提供给用户异步调用设备行为的能力
|
|
611
612
|
*/
|
|
612
|
-
async
|
|
613
|
-
req:
|
|
614
|
-
cb?: (error: string, rep:
|
|
615
|
-
): Promise<
|
|
616
|
-
return this.request("
|
|
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
|
|
623
|
-
req:
|
|
624
|
-
cb?: (error: string, rep:
|
|
625
|
-
): Promise<
|
|
626
|
-
return this.request("
|
|
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
|
-
*
|
|
631
|
+
* 获取规则信息
|
|
631
632
|
*/
|
|
632
|
-
async
|
|
633
|
-
req:
|
|
634
|
-
cb?: (error: string, rep:
|
|
635
|
-
): Promise<
|
|
636
|
-
return this.request("
|
|
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
|
-
*
|
|
641
|
+
* 批量解绑子产品
|
|
641
642
|
*/
|
|
642
|
-
async
|
|
643
|
-
req:
|
|
644
|
-
cb?: (error: string, rep:
|
|
645
|
-
): Promise<
|
|
646
|
-
return this.request("
|
|
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
|
|
653
|
-
req:
|
|
654
|
-
cb?: (error: string, rep:
|
|
655
|
-
): Promise<
|
|
656
|
-
return this.request("
|
|
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
|
|
663
|
-
req:
|
|
664
|
-
cb?: (error: string, rep:
|
|
665
|
-
): Promise<
|
|
666
|
-
return this.request("
|
|
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
|
|
673
|
-
req:
|
|
674
|
-
cb?: (error: string, rep:
|
|
675
|
-
): Promise<
|
|
676
|
-
return this.request("
|
|
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
|
|
683
|
-
req:
|
|
684
|
-
cb?: (error: string, rep:
|
|
685
|
-
): Promise<
|
|
686
|
-
return this.request("
|
|
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
|
-
*
|
|
691
|
+
* 创建新 LoRa 网关设备接口
|
|
691
692
|
*/
|
|
692
|
-
async
|
|
693
|
-
req:
|
|
694
|
-
cb?: (error: string, rep:
|
|
695
|
-
): Promise<
|
|
696
|
-
return this.request("
|
|
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
|
-
*
|
|
701
|
+
* 创建规则
|
|
701
702
|
*/
|
|
702
|
-
async
|
|
703
|
-
req:
|
|
704
|
-
cb?: (error: string, rep:
|
|
705
|
-
): Promise<
|
|
706
|
-
return this.request("
|
|
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
|
-
*
|
|
711
|
+
* 创建 LoRa 自定义频点
|
|
711
712
|
*/
|
|
712
|
-
async
|
|
713
|
-
req:
|
|
714
|
-
cb?: (error: string, rep:
|
|
715
|
-
): Promise<
|
|
716
|
-
return this.request("
|
|
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
|
|
723
|
-
req:
|
|
724
|
-
cb?: (error: string, rep:
|
|
725
|
-
): Promise<
|
|
726
|
-
return this.request("
|
|
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
|
-
*
|
|
731
|
+
* 本接口(UploadFirmware)用于上传设备固件至平台
|
|
731
732
|
*/
|
|
732
|
-
async
|
|
733
|
-
req:
|
|
734
|
-
cb?: (error: string, rep:
|
|
735
|
-
): Promise<
|
|
736
|
-
return this.request("
|
|
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
|
|
743
|
-
req:
|
|
744
|
-
cb?: (error: string, rep:
|
|
745
|
-
): Promise<
|
|
746
|
-
return this.request("
|
|
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
|
|
753
|
-
req:
|
|
754
|
-
cb?: (error: string, rep:
|
|
755
|
-
): Promise<
|
|
756
|
-
return this.request("
|
|
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
|
|
763
|
-
req:
|
|
764
|
-
cb?: (error: string, rep:
|
|
765
|
-
): Promise<
|
|
766
|
-
return this.request("
|
|
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
|
|
773
|
-
req:
|
|
774
|
-
cb?: (error: string, rep:
|
|
775
|
-
): Promise<
|
|
776
|
-
return this.request("
|
|
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
|
|
783
|
-
req:
|
|
784
|
-
cb?: (error: string, rep:
|
|
785
|
-
): Promise<
|
|
786
|
-
return this.request("
|
|
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
|
|
793
|
-
req
|
|
794
|
-
cb?: (error: string, rep:
|
|
795
|
-
): Promise<
|
|
796
|
-
return this.request("
|
|
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
|
|
813
|
-
req:
|
|
814
|
-
cb?: (error: string, rep:
|
|
815
|
-
): Promise<
|
|
816
|
-
return this.request("
|
|
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
|
|
823
|
-
req:
|
|
824
|
-
cb?: (error: string, rep:
|
|
825
|
-
): Promise<
|
|
826
|
-
return this.request("
|
|
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
|
|
843
|
-
req:
|
|
844
|
-
cb?: (error: string, rep:
|
|
845
|
-
): Promise<
|
|
846
|
-
return this.request("
|
|
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
|
|
853
|
-
req:
|
|
854
|
-
cb?: (error: string, rep:
|
|
855
|
-
): Promise<
|
|
856
|
-
return this.request("
|
|
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
|
|
863
|
-
req:
|
|
864
|
-
cb?: (error: string, rep:
|
|
865
|
-
): Promise<
|
|
866
|
-
return this.request("
|
|
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
|
|
873
|
-
req:
|
|
874
|
-
cb?: (error: string, rep:
|
|
875
|
-
): Promise<
|
|
876
|
-
return this.request("
|
|
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
|
|
883
|
-
req:
|
|
884
|
-
cb?: (error: string, rep:
|
|
885
|
-
): Promise<
|
|
886
|
-
return this.request("
|
|
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
|
|
893
|
-
req
|
|
894
|
-
cb?: (error: string, rep:
|
|
895
|
-
): Promise<
|
|
896
|
-
return this.request("
|
|
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
|
|
903
|
-
req:
|
|
904
|
-
cb?: (error: string, rep:
|
|
905
|
-
): Promise<
|
|
906
|
-
return this.request("
|
|
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
|
|
913
|
-
req:
|
|
914
|
-
cb?: (error: string, rep:
|
|
915
|
-
): Promise<
|
|
916
|
-
return this.request("
|
|
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
|
|
923
|
-
req:
|
|
924
|
-
cb?: (error: string, rep:
|
|
925
|
-
): Promise<
|
|
926
|
-
return this.request("
|
|
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
|
|
933
|
-
req:
|
|
934
|
-
cb?: (error: string, rep:
|
|
935
|
-
): Promise<
|
|
936
|
-
return this.request("
|
|
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
|
|
943
|
-
req:
|
|
944
|
-
cb?: (error: string, rep:
|
|
945
|
-
): Promise<
|
|
946
|
-
return this.request("
|
|
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
|
|
953
|
-
req:
|
|
954
|
-
cb?: (error: string, rep:
|
|
955
|
-
): Promise<
|
|
956
|
-
return this.request("
|
|
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
|
-
*
|
|
1081
|
+
* 查询产品配置的数据模板信息
|
|
971
1082
|
*/
|
|
972
|
-
async
|
|
973
|
-
req:
|
|
974
|
-
cb?: (error: string, rep:
|
|
975
|
-
): Promise<
|
|
976
|
-
return this.request("
|
|
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
|
|
983
|
-
req:
|
|
984
|
-
cb?: (error: string, rep:
|
|
985
|
-
): Promise<
|
|
986
|
-
return this.request("
|
|
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
|
|
993
|
-
req:
|
|
994
|
-
cb?: (error: string, rep:
|
|
995
|
-
): Promise<
|
|
996
|
-
return this.request("
|
|
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
|
}
|