tencentcloud-sdk-nodejs-iotexplorer 4.0.210 → 4.0.217
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 +846 -224
- package/package.json +2 -2
- package/products.md +32 -32
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +341 -56
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +1277 -253
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +107 -15
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +159 -21
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1079 -205
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DescribeModelDefinitionResponse, DeleteDevicesResponse, ModifyStudioProductResponse, DeleteStudioProductResponse, GetDeviceListResponse, DeleteLoRaFrequencyResponse, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, CreateStudioProductResponse, CallDeviceActionSyncRequest,
|
|
2
|
+
import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, DeleteDevicesResponse, ModifyStudioProductResponse, DeleteStudioProductResponse, GetPositionSpaceListRequest, GetDeviceListResponse, DeleteLoRaFrequencyResponse, DescribeTopicPolicyRequest, ModifyPositionFenceRequest, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, CreateStudioProductResponse, CallDeviceActionSyncRequest, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, ModifyFenceBindResponse, DeletePositionFenceResponse, UploadFirmwareRequest, ListEventHistoryRequest, SearchTopicRuleRequest, DescribeDeviceDataRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse, GetDeviceLocationHistoryRequest, DescribeDevicePositionListResponse, GetProjectListResponse, DescribeStudioProductResponse, DescribeProjectResponse, SearchStudioProductResponse, GetTopicRuleListRequest, ListTopicPolicyRequest, DescribeLoRaFrequencyRequest, DeleteDeviceRequest, DeleteLoRaFrequencyRequest, ControlDeviceDataRequest, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeSpaceFenceEventListResponse, DeleteLoRaGatewayRequest, DescribeTopicPolicyResponse, SearchPositionSpaceRequest, ModifyTopicPolicyResponse, SearchTopicRuleResponse, DescribeFenceEventListResponse, UpdateDevicesEnableStateRequest, DescribeTopicRuleRequest, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ReleaseStudioProductRequest, CreateProjectResponse, DescribeDeviceDataHistoryResponse, DeleteProjectResponse, CreateTopicPolicyResponse, CreateDeviceResponse, CreateDeviceRequest, DeletePositionSpaceRequest, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DisableTopicRuleResponse, GetCOSURLRequest, CreateProjectRequest, CreateFenceBindRequest, DescribeDeviceResponse, ListFirmwaresRequest, GetStudioProductListResponse, PublishMessageRequest, ModifyTopicRuleRequest, GetDeviceListRequest, ModifySpacePropertyRequest, GetPositionSpaceListResponse, GetCOSURLResponse, ModifyFenceBindRequest, GetTopicRuleListResponse, DescribeFenceEventListRequest, ModifyPositionSpaceRequest, GetLoRaGatewayListResponse, DirectBindDeviceInFamilyResponse, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, DeleteFenceBindResponse, DeleteTopicPolicyRequest, CreateFenceBindResponse, DescribeFenceBindListRequest, CreatePositionFenceResponse, DescribeTopicRuleResponse, UpdateFirmwareRequest, DescribeDeviceRequest, DescribePositionFenceListRequest, ModifyTopicRuleResponse, CreateTopicPolicyRequest, DirectBindDeviceInFamilyRequest, DescribeLoRaFrequencyResponse, DescribeSpaceFenceEventListRequest, GetLoRaGatewayListRequest, DescribeProjectRequest, UploadFirmwareResponse, ModifyTopicPolicyRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, DeleteTopicPolicyResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, ControlDeviceDataResponse, DescribeDeviceDataHistoryRequest, DescribeStudioProductRequest, CreatePositionSpaceResponse, ModifyLoRaFrequencyRequest, ModifyModelDefinitionResponse, DeletePositionFenceRequest, GetProjectListRequest, DeletePositionSpaceResponse, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, SearchStudioProductRequest, DeleteDevicesRequest, ModifyProjectResponse, DeleteStudioProductRequest, ModifyProjectRequest, ModifySpacePropertyResponse, PublishMessageResponse, ModifyLoRaGatewayResponse, DescribeFenceBindListResponse, CreatePositionFenceRequest, DescribeModelDefinitionRequest, DisableTopicRuleRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, CreateTopicRuleRequest, DeleteDeviceResponse, ModifyLoRaFrequencyResponse, ModifyLoRaGatewayRequest, ListEventHistoryResponse, EnableTopicRuleRequest, DescribeFirmwareTaskRequest, CreatePositionSpaceRequest } from "./iotexplorer_models";
|
|
3
3
|
/**
|
|
4
4
|
* iotexplorer client
|
|
5
5
|
* @class
|
|
@@ -7,9 +7,9 @@ import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DescribeModelDe
|
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 提供查询LoRa自定义频点详情的能力
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
DescribeLoRaFrequency(req: DescribeLoRaFrequencyRequest, cb?: (error: string, rep: DescribeLoRaFrequencyResponse) => void): Promise<DescribeLoRaFrequencyResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* 本接口(GetCOSURL)用于获取固件存储在COS的URL
|
|
15
15
|
*/
|
|
@@ -22,6 +22,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
22
22
|
* 提供删除某个项目下产品的能力
|
|
23
23
|
*/
|
|
24
24
|
DeleteStudioProduct(req: DeleteStudioProductRequest, cb?: (error: string, rep: DeleteStudioProductResponse) => void): Promise<DeleteStudioProductResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* 搜索位置空间
|
|
27
|
+
*/
|
|
28
|
+
SearchPositionSpace(req: SearchPositionSpaceRequest, cb?: (error: string, rep: SearchPositionSpaceResponse) => void): Promise<SearchPositionSpaceResponse>;
|
|
25
29
|
/**
|
|
26
30
|
* 根据设备产品ID、设备名称,获取设备上报的属性数据。
|
|
27
31
|
*/
|
|
@@ -30,6 +34,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
34
|
* 直接绑定设备和家庭
|
|
31
35
|
*/
|
|
32
36
|
DirectBindDeviceInFamily(req: DirectBindDeviceInFamilyRequest, cb?: (error: string, rep: DirectBindDeviceInFamilyResponse) => void): Promise<DirectBindDeviceInFamilyResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 获取围栏绑定信息列表
|
|
39
|
+
*/
|
|
40
|
+
DescribeFenceBindList(req: DescribeFenceBindListRequest, cb?: (error: string, rep: DescribeFenceBindListResponse) => void): Promise<DescribeFenceBindListResponse>;
|
|
33
41
|
/**
|
|
34
42
|
* 删除 LoRa 网关的接口
|
|
35
43
|
*/
|
|
@@ -47,9 +55,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
47
55
|
*/
|
|
48
56
|
ModifyLoRaFrequency(req: ModifyLoRaFrequencyRequest, cb?: (error: string, rep: ModifyLoRaFrequencyResponse) => void): Promise<ModifyLoRaFrequencyResponse>;
|
|
49
57
|
/**
|
|
50
|
-
*
|
|
58
|
+
* 创建围栏
|
|
51
59
|
*/
|
|
52
|
-
|
|
60
|
+
CreatePositionFence(req: CreatePositionFenceRequest, cb?: (error: string, rep: CreatePositionFenceResponse) => void): Promise<CreatePositionFenceResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* 更新位置空间产品属性
|
|
63
|
+
*/
|
|
64
|
+
ModifySpaceProperty(req: ModifySpacePropertyRequest, cb?: (error: string, rep: ModifySpacePropertyResponse) => void): Promise<ModifySpacePropertyResponse>;
|
|
53
65
|
/**
|
|
54
66
|
* 创建新 LoRa 网关设备接口
|
|
55
67
|
*/
|
|
@@ -62,10 +74,26 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
62
74
|
* 创建 LoRa 自定义频点
|
|
63
75
|
*/
|
|
64
76
|
CreateLoRaFrequency(req: CreateLoRaFrequencyRequest, cb?: (error: string, rep: CreateLoRaFrequencyResponse) => void): Promise<CreateLoRaFrequencyResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* 本接口(CreateTopicPolicy)用于创建一个Topic
|
|
79
|
+
*/
|
|
80
|
+
CreateTopicPolicy(req: CreateTopicPolicyRequest, cb?: (error: string, rep: CreateTopicPolicyResponse) => void): Promise<CreateTopicPolicyResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* 获取设备历史位置
|
|
83
|
+
*/
|
|
84
|
+
GetDeviceLocationHistory(req: GetDeviceLocationHistoryRequest, cb?: (error: string, rep: GetDeviceLocationHistoryResponse) => void): Promise<GetDeviceLocationHistoryResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* 获取规则列表
|
|
87
|
+
*/
|
|
88
|
+
GetTopicRuleList(req: GetTopicRuleListRequest, cb?: (error: string, rep: GetTopicRuleListResponse) => void): Promise<GetTopicRuleListResponse>;
|
|
65
89
|
/**
|
|
66
90
|
* 本接口(UpdateFirmware)用于对指定设备发起固件升级请求
|
|
67
91
|
*/
|
|
68
92
|
UpdateFirmware(req: UpdateFirmwareRequest, cb?: (error: string, rep: UpdateFirmwareResponse) => void): Promise<UpdateFirmwareResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* 搜索规则
|
|
95
|
+
*/
|
|
96
|
+
SearchTopicRule(req: SearchTopicRuleRequest, cb?: (error: string, rep: SearchTopicRuleResponse) => void): Promise<SearchTopicRuleResponse>;
|
|
69
97
|
/**
|
|
70
98
|
* 本接口(UploadFirmware)用于上传设备固件至平台
|
|
71
99
|
*/
|
|
@@ -82,6 +110,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
82
110
|
* 修改规则
|
|
83
111
|
*/
|
|
84
112
|
ModifyTopicRule(req: ModifyTopicRuleRequest, cb?: (error: string, rep: ModifyTopicRuleResponse) => void): Promise<ModifyTopicRuleResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* 本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
|
115
|
+
*/
|
|
116
|
+
DescribeTopicPolicy(req: DescribeTopicPolicyRequest, cb?: (error: string, rep: DescribeTopicPolicyResponse) => void): Promise<DescribeTopicPolicyResponse>;
|
|
85
117
|
/**
|
|
86
118
|
* 提供查询用户所创建的项目列表查询功能。
|
|
87
119
|
*/
|
|
@@ -107,13 +139,25 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
107
139
|
*/
|
|
108
140
|
ModifyProject(req: ModifyProjectRequest, cb?: (error: string, rep: ModifyProjectResponse) => void): Promise<ModifyProjectResponse>;
|
|
109
141
|
/**
|
|
110
|
-
*
|
|
142
|
+
* 获取围栏列表
|
|
111
143
|
*/
|
|
112
|
-
|
|
144
|
+
DescribePositionFenceList(req: DescribePositionFenceListRequest, cb?: (error: string, rep: DescribePositionFenceListResponse) => void): Promise<DescribePositionFenceListResponse>;
|
|
113
145
|
/**
|
|
114
146
|
* 本接口(ListFirmwares)用于获取固件列表
|
|
115
147
|
*/
|
|
116
148
|
ListFirmwares(req: ListFirmwaresRequest, cb?: (error: string, rep: ListFirmwaresResponse) => void): Promise<ListFirmwaresResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* 提供删除LoRa自定义频点的能力
|
|
151
|
+
*/
|
|
152
|
+
DeleteLoRaFrequency(req: DeleteLoRaFrequencyRequest, cb?: (error: string, rep: DeleteLoRaFrequencyResponse) => void): Promise<DeleteLoRaFrequencyResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* 创建围栏绑定信息
|
|
155
|
+
*/
|
|
156
|
+
CreateFenceBind(req: CreateFenceBindRequest, cb?: (error: string, rep: CreateFenceBindResponse) => void): Promise<CreateFenceBindResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* 本接口(UpdateTopicPolicy)用于更新Topic信息
|
|
159
|
+
*/
|
|
160
|
+
ModifyTopicPolicy(req: ModifyTopicPolicyRequest, cb?: (error: string, rep: ModifyTopicPolicyResponse) => void): Promise<ModifyTopicPolicyResponse>;
|
|
117
161
|
/**
|
|
118
162
|
* 本接口(PublishMessage)用于使用自定义透传协议进行设备远控
|
|
119
163
|
*/
|
|
@@ -122,6 +166,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
122
166
|
* 用于查询某个产品下的设备列表
|
|
123
167
|
*/
|
|
124
168
|
GetDeviceList(req: GetDeviceListRequest, cb?: (error: string, rep: GetDeviceListResponse) => void): Promise<GetDeviceListResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* 获取位置空间中围栏告警事件列表
|
|
171
|
+
*/
|
|
172
|
+
DescribeSpaceFenceEventList(req: DescribeSpaceFenceEventListRequest, cb?: (error: string, rep: DescribeSpaceFenceEventListResponse) => void): Promise<DescribeSpaceFenceEventListResponse>;
|
|
125
173
|
/**
|
|
126
174
|
* 创建设备
|
|
127
175
|
*/
|
|
@@ -130,14 +178,30 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
130
178
|
* 获取设备的历史事件
|
|
131
179
|
*/
|
|
132
180
|
ListEventHistory(req: ListEventHistoryRequest, cb?: (error: string, rep: ListEventHistoryResponse) => void): Promise<ListEventHistoryResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* 本接口(DeleteTopicPolicy)用于删除Topic
|
|
183
|
+
*/
|
|
184
|
+
DeleteTopicPolicy(req: DeleteTopicPolicyRequest, cb?: (error: string, rep: DeleteTopicPolicyResponse) => void): Promise<DeleteTopicPolicyResponse>;
|
|
133
185
|
/**
|
|
134
186
|
* 提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数
|
|
135
187
|
*/
|
|
136
188
|
DescribeStudioProduct(req: DescribeStudioProductRequest, cb?: (error: string, rep: DescribeStudioProductResponse) => void): Promise<DescribeStudioProductResponse>;
|
|
189
|
+
/**
|
|
190
|
+
* 本接口(ListTopicPolicy)用于获取Topic列表
|
|
191
|
+
*/
|
|
192
|
+
ListTopicPolicy(req: ListTopicPolicyRequest, cb?: (error: string, rep: ListTopicPolicyResponse) => void): Promise<ListTopicPolicyResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* 删除围栏绑定信息
|
|
195
|
+
*/
|
|
196
|
+
DeleteFenceBind(req: DeleteFenceBindRequest, cb?: (error: string, rep: DeleteFenceBindResponse) => void): Promise<DeleteFenceBindResponse>;
|
|
137
197
|
/**
|
|
138
198
|
* 获取 LoRa 网关列表接口
|
|
139
199
|
*/
|
|
140
200
|
GetLoRaGatewayList(req: GetLoRaGatewayListRequest, cb?: (error: string, rep: GetLoRaGatewayListResponse) => void): Promise<GetLoRaGatewayListResponse>;
|
|
201
|
+
/**
|
|
202
|
+
* 获取围栏告警事件列表
|
|
203
|
+
*/
|
|
204
|
+
DescribeFenceEventList(req: DescribeFenceEventListRequest, cb?: (error: string, rep: DescribeFenceEventListResponse) => void): Promise<DescribeFenceEventListResponse>;
|
|
141
205
|
/**
|
|
142
206
|
* 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
|
|
143
207
|
*/
|
|
@@ -147,25 +211,45 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
147
211
|
*/
|
|
148
212
|
DescribeFirmwareTask(req: DescribeFirmwareTaskRequest, cb?: (error: string, rep: DescribeFirmwareTaskResponse) => void): Promise<DescribeFirmwareTaskResponse>;
|
|
149
213
|
/**
|
|
150
|
-
*
|
|
214
|
+
* 获取位置空间列表
|
|
151
215
|
*/
|
|
152
|
-
|
|
216
|
+
GetPositionSpaceList(req: GetPositionSpaceListRequest, cb?: (error: string, rep: GetPositionSpaceListResponse) => void): Promise<GetPositionSpaceListResponse>;
|
|
153
217
|
/**
|
|
154
|
-
*
|
|
218
|
+
* 删除围栏
|
|
155
219
|
*/
|
|
156
|
-
|
|
220
|
+
DeletePositionFence(req: DeletePositionFenceRequest, cb?: (error: string, rep: DeletePositionFenceResponse) => void): Promise<DeletePositionFenceResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* 更新围栏
|
|
223
|
+
*/
|
|
224
|
+
ModifyPositionFence(req?: ModifyPositionFenceRequest, cb?: (error: string, rep: ModifyPositionFenceResponse) => void): Promise<ModifyPositionFenceResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* 获取设备位置列表
|
|
227
|
+
*/
|
|
228
|
+
DescribeDevicePositionList(req?: DescribeDevicePositionListRequest, cb?: (error: string, rep: DescribeDevicePositionListResponse) => void): Promise<DescribeDevicePositionListResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* 更新围栏绑定信息
|
|
231
|
+
*/
|
|
232
|
+
ModifyFenceBind(req: ModifyFenceBindRequest, cb?: (error: string, rep: ModifyFenceBindResponse) => void): Promise<ModifyFenceBindResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* 更新位置空间
|
|
235
|
+
*/
|
|
236
|
+
ModifyPositionSpace(req: ModifyPositionSpaceRequest, cb?: (error: string, rep: ModifyPositionSpaceResponse) => void): Promise<ModifyPositionSpaceResponse>;
|
|
157
237
|
/**
|
|
158
238
|
* 提供查询某个项目下所有产品信息的能力。
|
|
159
239
|
*/
|
|
160
240
|
GetStudioProductList(req: GetStudioProductListRequest, cb?: (error: string, rep: GetStudioProductListResponse) => void): Promise<GetStudioProductListResponse>;
|
|
241
|
+
/**
|
|
242
|
+
* 启用规则
|
|
243
|
+
*/
|
|
244
|
+
EnableTopicRule(req: EnableTopicRuleRequest, cb?: (error: string, rep: EnableTopicRuleResponse) => void): Promise<EnableTopicRuleResponse>;
|
|
161
245
|
/**
|
|
162
246
|
* 提供修改产品的数据模板的能力
|
|
163
247
|
*/
|
|
164
248
|
ModifyModelDefinition(req: ModifyModelDefinitionRequest, cb?: (error: string, rep: ModifyModelDefinitionResponse) => void): Promise<ModifyModelDefinitionResponse>;
|
|
165
249
|
/**
|
|
166
|
-
*
|
|
250
|
+
* 删除位置空间
|
|
167
251
|
*/
|
|
168
|
-
|
|
252
|
+
DeletePositionSpace(req: DeletePositionSpaceRequest, cb?: (error: string, rep: DeletePositionSpaceResponse) => void): Promise<DeletePositionSpaceResponse>;
|
|
169
253
|
/**
|
|
170
254
|
* 查询产品配置的数据模板信息
|
|
171
255
|
*/
|
|
@@ -183,13 +267,21 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
183
267
|
*/
|
|
184
268
|
CallDeviceActionAsync(req: CallDeviceActionAsyncRequest, cb?: (error: string, rep: CallDeviceActionAsyncResponse) => void): Promise<CallDeviceActionAsyncResponse>;
|
|
185
269
|
/**
|
|
186
|
-
*
|
|
270
|
+
* 创建位置空间
|
|
187
271
|
*/
|
|
188
|
-
|
|
272
|
+
CreatePositionSpace(req: CreatePositionSpaceRequest, cb?: (error: string, rep: CreatePositionSpaceResponse) => void): Promise<CreatePositionSpaceResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* 用于查看某个设备的详细信息
|
|
275
|
+
*/
|
|
276
|
+
DescribeDevice(req: DescribeDeviceRequest, cb?: (error: string, rep: DescribeDeviceResponse) => void): Promise<DescribeDeviceResponse>;
|
|
189
277
|
/**
|
|
190
278
|
* 提供删除某个项目的能力
|
|
191
279
|
*/
|
|
192
280
|
DeleteProject(req: DeleteProjectRequest, cb?: (error: string, rep: DeleteProjectResponse) => void): Promise<DeleteProjectResponse>;
|
|
281
|
+
/**
|
|
282
|
+
* 查询项目详情
|
|
283
|
+
*/
|
|
284
|
+
DescribeProject(req: DescribeProjectRequest, cb?: (error: string, rep: DescribeProjectResponse) => void): Promise<DescribeProjectResponse>;
|
|
193
285
|
/**
|
|
194
286
|
* 根据设备产品ID、设备名称,设置控制设备的属性数据。
|
|
195
287
|
*/
|
|
@@ -28,10 +28,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
super("iotexplorer.tencentcloudapi.com", "2019-04-23", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 提供查询LoRa自定义频点详情的能力
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async DescribeLoRaFrequency(req, cb) {
|
|
34
|
+
return this.request("DescribeLoRaFrequency", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* 本接口(GetCOSURL)用于获取固件存储在COS的URL
|
|
@@ -51,6 +51,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
51
51
|
async DeleteStudioProduct(req, cb) {
|
|
52
52
|
return this.request("DeleteStudioProduct", req, cb);
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 搜索位置空间
|
|
56
|
+
*/
|
|
57
|
+
async SearchPositionSpace(req, cb) {
|
|
58
|
+
return this.request("SearchPositionSpace", req, cb);
|
|
59
|
+
}
|
|
54
60
|
/**
|
|
55
61
|
* 根据设备产品ID、设备名称,获取设备上报的属性数据。
|
|
56
62
|
*/
|
|
@@ -63,6 +69,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
69
|
async DirectBindDeviceInFamily(req, cb) {
|
|
64
70
|
return this.request("DirectBindDeviceInFamily", req, cb);
|
|
65
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* 获取围栏绑定信息列表
|
|
74
|
+
*/
|
|
75
|
+
async DescribeFenceBindList(req, cb) {
|
|
76
|
+
return this.request("DescribeFenceBindList", req, cb);
|
|
77
|
+
}
|
|
66
78
|
/**
|
|
67
79
|
* 删除 LoRa 网关的接口
|
|
68
80
|
*/
|
|
@@ -88,10 +100,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
88
100
|
return this.request("ModifyLoRaFrequency", req, cb);
|
|
89
101
|
}
|
|
90
102
|
/**
|
|
91
|
-
*
|
|
103
|
+
* 创建围栏
|
|
92
104
|
*/
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
105
|
+
async CreatePositionFence(req, cb) {
|
|
106
|
+
return this.request("CreatePositionFence", req, cb);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* 更新位置空间产品属性
|
|
110
|
+
*/
|
|
111
|
+
async ModifySpaceProperty(req, cb) {
|
|
112
|
+
return this.request("ModifySpaceProperty", req, cb);
|
|
95
113
|
}
|
|
96
114
|
/**
|
|
97
115
|
* 创建新 LoRa 网关设备接口
|
|
@@ -111,12 +129,36 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
111
129
|
async CreateLoRaFrequency(req, cb) {
|
|
112
130
|
return this.request("CreateLoRaFrequency", req, cb);
|
|
113
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* 本接口(CreateTopicPolicy)用于创建一个Topic
|
|
134
|
+
*/
|
|
135
|
+
async CreateTopicPolicy(req, cb) {
|
|
136
|
+
return this.request("CreateTopicPolicy", req, cb);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* 获取设备历史位置
|
|
140
|
+
*/
|
|
141
|
+
async GetDeviceLocationHistory(req, cb) {
|
|
142
|
+
return this.request("GetDeviceLocationHistory", req, cb);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* 获取规则列表
|
|
146
|
+
*/
|
|
147
|
+
async GetTopicRuleList(req, cb) {
|
|
148
|
+
return this.request("GetTopicRuleList", req, cb);
|
|
149
|
+
}
|
|
114
150
|
/**
|
|
115
151
|
* 本接口(UpdateFirmware)用于对指定设备发起固件升级请求
|
|
116
152
|
*/
|
|
117
153
|
async UpdateFirmware(req, cb) {
|
|
118
154
|
return this.request("UpdateFirmware", req, cb);
|
|
119
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* 搜索规则
|
|
158
|
+
*/
|
|
159
|
+
async SearchTopicRule(req, cb) {
|
|
160
|
+
return this.request("SearchTopicRule", req, cb);
|
|
161
|
+
}
|
|
120
162
|
/**
|
|
121
163
|
* 本接口(UploadFirmware)用于上传设备固件至平台
|
|
122
164
|
*/
|
|
@@ -141,6 +183,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
183
|
async ModifyTopicRule(req, cb) {
|
|
142
184
|
return this.request("ModifyTopicRule", req, cb);
|
|
143
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* 本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
|
188
|
+
*/
|
|
189
|
+
async DescribeTopicPolicy(req, cb) {
|
|
190
|
+
return this.request("DescribeTopicPolicy", req, cb);
|
|
191
|
+
}
|
|
144
192
|
/**
|
|
145
193
|
* 提供查询用户所创建的项目列表查询功能。
|
|
146
194
|
*/
|
|
@@ -178,10 +226,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
178
226
|
return this.request("ModifyProject", req, cb);
|
|
179
227
|
}
|
|
180
228
|
/**
|
|
181
|
-
*
|
|
229
|
+
* 获取围栏列表
|
|
182
230
|
*/
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
231
|
+
async DescribePositionFenceList(req, cb) {
|
|
232
|
+
return this.request("DescribePositionFenceList", req, cb);
|
|
185
233
|
}
|
|
186
234
|
/**
|
|
187
235
|
* 本接口(ListFirmwares)用于获取固件列表
|
|
@@ -189,6 +237,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
189
237
|
async ListFirmwares(req, cb) {
|
|
190
238
|
return this.request("ListFirmwares", req, cb);
|
|
191
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* 提供删除LoRa自定义频点的能力
|
|
242
|
+
*/
|
|
243
|
+
async DeleteLoRaFrequency(req, cb) {
|
|
244
|
+
return this.request("DeleteLoRaFrequency", req, cb);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* 创建围栏绑定信息
|
|
248
|
+
*/
|
|
249
|
+
async CreateFenceBind(req, cb) {
|
|
250
|
+
return this.request("CreateFenceBind", req, cb);
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* 本接口(UpdateTopicPolicy)用于更新Topic信息
|
|
254
|
+
*/
|
|
255
|
+
async ModifyTopicPolicy(req, cb) {
|
|
256
|
+
return this.request("ModifyTopicPolicy", req, cb);
|
|
257
|
+
}
|
|
192
258
|
/**
|
|
193
259
|
* 本接口(PublishMessage)用于使用自定义透传协议进行设备远控
|
|
194
260
|
*/
|
|
@@ -201,6 +267,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
201
267
|
async GetDeviceList(req, cb) {
|
|
202
268
|
return this.request("GetDeviceList", req, cb);
|
|
203
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* 获取位置空间中围栏告警事件列表
|
|
272
|
+
*/
|
|
273
|
+
async DescribeSpaceFenceEventList(req, cb) {
|
|
274
|
+
return this.request("DescribeSpaceFenceEventList", req, cb);
|
|
275
|
+
}
|
|
204
276
|
/**
|
|
205
277
|
* 创建设备
|
|
206
278
|
*/
|
|
@@ -213,18 +285,42 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
213
285
|
async ListEventHistory(req, cb) {
|
|
214
286
|
return this.request("ListEventHistory", req, cb);
|
|
215
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* 本接口(DeleteTopicPolicy)用于删除Topic
|
|
290
|
+
*/
|
|
291
|
+
async DeleteTopicPolicy(req, cb) {
|
|
292
|
+
return this.request("DeleteTopicPolicy", req, cb);
|
|
293
|
+
}
|
|
216
294
|
/**
|
|
217
295
|
* 提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数
|
|
218
296
|
*/
|
|
219
297
|
async DescribeStudioProduct(req, cb) {
|
|
220
298
|
return this.request("DescribeStudioProduct", req, cb);
|
|
221
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* 本接口(ListTopicPolicy)用于获取Topic列表
|
|
302
|
+
*/
|
|
303
|
+
async ListTopicPolicy(req, cb) {
|
|
304
|
+
return this.request("ListTopicPolicy", req, cb);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* 删除围栏绑定信息
|
|
308
|
+
*/
|
|
309
|
+
async DeleteFenceBind(req, cb) {
|
|
310
|
+
return this.request("DeleteFenceBind", req, cb);
|
|
311
|
+
}
|
|
222
312
|
/**
|
|
223
313
|
* 获取 LoRa 网关列表接口
|
|
224
314
|
*/
|
|
225
315
|
async GetLoRaGatewayList(req, cb) {
|
|
226
316
|
return this.request("GetLoRaGatewayList", req, cb);
|
|
227
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* 获取围栏告警事件列表
|
|
320
|
+
*/
|
|
321
|
+
async DescribeFenceEventList(req, cb) {
|
|
322
|
+
return this.request("DescribeFenceEventList", req, cb);
|
|
323
|
+
}
|
|
228
324
|
/**
|
|
229
325
|
* 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
|
|
230
326
|
*/
|
|
@@ -238,16 +334,40 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
238
334
|
return this.request("DescribeFirmwareTask", req, cb);
|
|
239
335
|
}
|
|
240
336
|
/**
|
|
241
|
-
*
|
|
337
|
+
* 获取位置空间列表
|
|
242
338
|
*/
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
339
|
+
async GetPositionSpaceList(req, cb) {
|
|
340
|
+
return this.request("GetPositionSpaceList", req, cb);
|
|
245
341
|
}
|
|
246
342
|
/**
|
|
247
|
-
*
|
|
343
|
+
* 删除围栏
|
|
248
344
|
*/
|
|
249
|
-
async
|
|
250
|
-
return this.request("
|
|
345
|
+
async DeletePositionFence(req, cb) {
|
|
346
|
+
return this.request("DeletePositionFence", req, cb);
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* 更新围栏
|
|
350
|
+
*/
|
|
351
|
+
async ModifyPositionFence(req, cb) {
|
|
352
|
+
return this.request("ModifyPositionFence", req, cb);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* 获取设备位置列表
|
|
356
|
+
*/
|
|
357
|
+
async DescribeDevicePositionList(req, cb) {
|
|
358
|
+
return this.request("DescribeDevicePositionList", req, cb);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* 更新围栏绑定信息
|
|
362
|
+
*/
|
|
363
|
+
async ModifyFenceBind(req, cb) {
|
|
364
|
+
return this.request("ModifyFenceBind", req, cb);
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* 更新位置空间
|
|
368
|
+
*/
|
|
369
|
+
async ModifyPositionSpace(req, cb) {
|
|
370
|
+
return this.request("ModifyPositionSpace", req, cb);
|
|
251
371
|
}
|
|
252
372
|
/**
|
|
253
373
|
* 提供查询某个项目下所有产品信息的能力。
|
|
@@ -255,6 +375,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
255
375
|
async GetStudioProductList(req, cb) {
|
|
256
376
|
return this.request("GetStudioProductList", req, cb);
|
|
257
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* 启用规则
|
|
380
|
+
*/
|
|
381
|
+
async EnableTopicRule(req, cb) {
|
|
382
|
+
return this.request("EnableTopicRule", req, cb);
|
|
383
|
+
}
|
|
258
384
|
/**
|
|
259
385
|
* 提供修改产品的数据模板的能力
|
|
260
386
|
*/
|
|
@@ -262,10 +388,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
262
388
|
return this.request("ModifyModelDefinition", req, cb);
|
|
263
389
|
}
|
|
264
390
|
/**
|
|
265
|
-
*
|
|
391
|
+
* 删除位置空间
|
|
266
392
|
*/
|
|
267
|
-
async
|
|
268
|
-
return this.request("
|
|
393
|
+
async DeletePositionSpace(req, cb) {
|
|
394
|
+
return this.request("DeletePositionSpace", req, cb);
|
|
269
395
|
}
|
|
270
396
|
/**
|
|
271
397
|
* 查询产品配置的数据模板信息
|
|
@@ -292,10 +418,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
292
418
|
return this.request("CallDeviceActionAsync", req, cb);
|
|
293
419
|
}
|
|
294
420
|
/**
|
|
295
|
-
*
|
|
421
|
+
* 创建位置空间
|
|
296
422
|
*/
|
|
297
|
-
async
|
|
298
|
-
return this.request("
|
|
423
|
+
async CreatePositionSpace(req, cb) {
|
|
424
|
+
return this.request("CreatePositionSpace", req, cb);
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* 用于查看某个设备的详细信息
|
|
428
|
+
*/
|
|
429
|
+
async DescribeDevice(req, cb) {
|
|
430
|
+
return this.request("DescribeDevice", req, cb);
|
|
299
431
|
}
|
|
300
432
|
/**
|
|
301
433
|
* 提供删除某个项目的能力
|
|
@@ -303,6 +435,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
303
435
|
async DeleteProject(req, cb) {
|
|
304
436
|
return this.request("DeleteProject", req, cb);
|
|
305
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* 查询项目详情
|
|
440
|
+
*/
|
|
441
|
+
async DescribeProject(req, cb) {
|
|
442
|
+
return this.request("DescribeProject", req, cb);
|
|
443
|
+
}
|
|
306
444
|
/**
|
|
307
445
|
* 根据设备产品ID、设备名称,设置控制设备的属性数据。
|
|
308
446
|
*/
|