tencentcloud-sdk-nodejs-iotexplorer 4.0.211 → 4.0.218

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.
@@ -62,6 +62,21 @@ export interface DevicesItem {
62
62
  DeviceName: string
63
63
  }
64
64
 
65
+ /**
66
+ * DeleteFenceBind请求参数结构体
67
+ */
68
+ export interface DeleteFenceBindRequest {
69
+ /**
70
+ * 围栏Id
71
+ */
72
+ FenceId: number
73
+
74
+ /**
75
+ * 围栏绑定的产品信息
76
+ */
77
+ Items: Array<FenceBindProductItem>
78
+ }
79
+
65
80
  /**
66
81
  * DescribeModelDefinition返回参数结构体
67
82
  */
@@ -124,6 +139,26 @@ export interface DeleteStudioProductResponse {
124
139
  RequestId?: string
125
140
  }
126
141
 
142
+ /**
143
+ * GetPositionSpaceList请求参数结构体
144
+ */
145
+ export interface GetPositionSpaceListRequest {
146
+ /**
147
+ * 项目Id
148
+ */
149
+ ProjectId: string
150
+
151
+ /**
152
+ * 翻页偏移量,0起始
153
+ */
154
+ Offset: number
155
+
156
+ /**
157
+ * 最大返回结果数
158
+ */
159
+ Limit: number
160
+ }
161
+
127
162
  /**
128
163
  * GetDeviceList返回参数结构体
129
164
  */
@@ -146,6 +181,79 @@ export interface GetDeviceListResponse {
146
181
  RequestId?: string
147
182
  }
148
183
 
184
+ /**
185
+ * TopicRulePayload结构
186
+ */
187
+ export interface TopicRulePayload {
188
+ /**
189
+ * 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
190
+ */
191
+ Sql: string
192
+
193
+ /**
194
+ * 行为的JSON字符串,大部分种类举例如下:
195
+ [
196
+ {
197
+ "republish": {
198
+ "topic": "TEST/test"
199
+ }
200
+ },
201
+ {
202
+ "forward": {
203
+ "api": "http://test.com:8080"
204
+ }
205
+ },
206
+ {
207
+ "ckafka": {
208
+ "instance": {
209
+ "id": "ckafka-test",
210
+ "name": ""
211
+ },
212
+ "topic": {
213
+ "id": "topic-test",
214
+ "name": "test"
215
+ },
216
+ "region": "gz"
217
+ }
218
+ },
219
+ {
220
+ "cmqqueue": {
221
+ "queuename": "queue-test-TEST",
222
+ "region": "gz"
223
+ }
224
+ },
225
+ {
226
+ "mysql": {
227
+ "instanceid": "cdb-test",
228
+ "region": "gz",
229
+ "username": "test",
230
+ "userpwd": "*****",
231
+ "dbname": "d_mqtt",
232
+ "tablename": "t_test",
233
+ "fieldpairs": [
234
+ {
235
+ "field": "test",
236
+ "value": "test"
237
+ }
238
+ ],
239
+ "devicetype": "CUSTOM"
240
+ }
241
+ }
242
+ ]
243
+ */
244
+ Actions?: string
245
+
246
+ /**
247
+ * 规则描述
248
+ */
249
+ Description?: string
250
+
251
+ /**
252
+ * 是否禁用规则
253
+ */
254
+ RuleDisabled?: boolean
255
+ }
256
+
149
257
  /**
150
258
  * DeleteLoRaFrequency返回参数结构体
151
259
  */
@@ -156,6 +264,56 @@ export interface DeleteLoRaFrequencyResponse {
156
264
  RequestId?: string
157
265
  }
158
266
 
267
+ /**
268
+ * DescribeTopicPolicy请求参数结构体
269
+ */
270
+ export interface DescribeTopicPolicyRequest {
271
+ /**
272
+ * 产品ID
273
+ */
274
+ ProductId: string
275
+
276
+ /**
277
+ * Topic名字
278
+ */
279
+ TopicName: string
280
+ }
281
+
282
+ /**
283
+ * ModifyPositionFence请求参数结构体
284
+ */
285
+ export type ModifyPositionFenceRequest = null
286
+
287
+ /**
288
+ * 围栏信息
289
+ */
290
+ export interface PositionFenceItem {
291
+ /**
292
+ * 围栏Id
293
+ */
294
+ FenceId: number
295
+
296
+ /**
297
+ * 位置空间Id
298
+ */
299
+ SpaceId: string
300
+
301
+ /**
302
+ * 围栏名称
303
+ */
304
+ FenceName: string
305
+
306
+ /**
307
+ * 围栏描述
308
+ */
309
+ FenceDesc: string
310
+
311
+ /**
312
+ * 围栏区域信息,采用 GeoJSON 格式
313
+ */
314
+ FenceArea: string
315
+ }
316
+
159
317
  /**
160
318
  * DeleteTopicRule返回参数结构体
161
319
  */
@@ -166,6 +324,26 @@ export interface DeleteTopicRuleResponse {
166
324
  RequestId?: string
167
325
  }
168
326
 
327
+ /**
328
+ * 位置点
329
+ */
330
+ export interface PositionItem {
331
+ /**
332
+ * 位置点的时间
333
+ */
334
+ CreateTime: number
335
+
336
+ /**
337
+ * 位置点的经度
338
+ */
339
+ Longitude: number
340
+
341
+ /**
342
+ * 位置点的纬度
343
+ */
344
+ Latitude: number
345
+ }
346
+
169
347
  /**
170
348
  * ModifyModelDefinition请求参数结构体
171
349
  */
@@ -222,9 +400,19 @@ export interface CallDeviceActionSyncRequest {
222
400
  }
223
401
 
224
402
  /**
225
- * EnableTopicRule返回参数结构体
403
+ * DescribeDevicePositionList请求参数结构体
226
404
  */
227
- export interface EnableTopicRuleResponse {
405
+ export type DescribeDevicePositionListRequest = null
406
+
407
+ /**
408
+ * GetDeviceLocationHistory返回参数结构体
409
+ */
410
+ export interface GetDeviceLocationHistoryResponse {
411
+ /**
412
+ * 历史位置列表
413
+ */
414
+ Positions: Array<PositionItem>
415
+
228
416
  /**
229
417
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
230
418
  */
@@ -241,6 +429,16 @@ export interface UpdateFirmwareResponse {
241
429
  RequestId?: string
242
430
  }
243
431
 
432
+ /**
433
+ * ModifyPositionFence返回参数结构体
434
+ */
435
+ export interface ModifyPositionFenceResponse {
436
+ /**
437
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
438
+ */
439
+ RequestId?: string
440
+ }
441
+
244
442
  /**
245
443
  * ModifyStudioProduct请求参数结构体
246
444
  */
@@ -271,6 +469,16 @@ export interface ModifyStudioProductRequest {
271
469
  EnableProductScript?: string
272
470
  }
273
471
 
472
+ /**
473
+ * ModifyPositionSpace返回参数结构体
474
+ */
475
+ export interface ModifyPositionSpaceResponse {
476
+ /**
477
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
478
+ */
479
+ RequestId?: string
480
+ }
481
+
274
482
  /**
275
483
  * CreateStudioProduct请求参数结构体
276
484
  */
@@ -354,18 +562,83 @@ export interface ProductModelDefinition {
354
562
  }
355
563
 
356
564
  /**
357
- * ReleaseStudioProduct请求参数结构体
565
+ * ModifyFenceBind返回参数结构体
358
566
  */
359
- export interface ReleaseStudioProductRequest {
567
+ export interface ModifyFenceBindResponse {
568
+ /**
569
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
570
+ */
571
+ RequestId?: string
572
+ }
573
+
574
+ /**
575
+ * DeletePositionFence返回参数结构体
576
+ */
577
+ export interface DeletePositionFenceResponse {
578
+ /**
579
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
580
+ */
581
+ RequestId?: string
582
+ }
583
+
584
+ /**
585
+ * 围栏告警位置点
586
+ */
587
+ export interface FenceAlarmPoint {
588
+ /**
589
+ * 围栏告警时间
590
+ */
591
+ AlarmTime: number
592
+
593
+ /**
594
+ * 围栏告警位置的经度
595
+ */
596
+ Longitude: number
597
+
598
+ /**
599
+ * 围栏告警位置的纬度
600
+ */
601
+ Latitude: number
602
+ }
603
+
604
+ /**
605
+ * UploadFirmware请求参数结构体
606
+ */
607
+ export interface UploadFirmwareRequest {
360
608
  /**
361
609
  * 产品ID
362
610
  */
363
- ProductId: string
611
+ ProductID: string
364
612
 
365
613
  /**
366
- * 产品DevStatus
614
+ * 固件版本号
367
615
  */
368
- DevStatus: string
616
+ FirmwareVersion: string
617
+
618
+ /**
619
+ * 固件的MD5值
620
+ */
621
+ Md5sum: string
622
+
623
+ /**
624
+ * 固件的大小
625
+ */
626
+ FileSize: number
627
+
628
+ /**
629
+ * 固件名称
630
+ */
631
+ FirmwareName?: string
632
+
633
+ /**
634
+ * 固件描述
635
+ */
636
+ FirmwareDescription?: string
637
+
638
+ /**
639
+ * 固件升级模块;可选值 mcu|moudule
640
+ */
641
+ FwType?: string
369
642
  }
370
643
 
371
644
  /**
@@ -444,28 +717,28 @@ export interface DescribeDeviceDataRequest {
444
717
  }
445
718
 
446
719
  /**
447
- * DescribeStudioProduct返回参数结构体
720
+ * 围栏绑定的产品信息
448
721
  */
449
- export interface DescribeStudioProductResponse {
722
+ export interface FenceBindProductItem {
450
723
  /**
451
- * 产品详情
724
+ * 围栏绑定的设备信息
452
725
  */
453
- Product?: ProductEntry
726
+ Devices: Array<FenceBindDeviceItem>
454
727
 
455
728
  /**
456
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
729
+ * 围栏绑定的产品Id
457
730
  */
458
- RequestId?: string
731
+ ProductId: string
459
732
  }
460
733
 
461
734
  /**
462
- * DescribeProject返回参数结构体
735
+ * ListTopicPolicy返回参数结构体
463
736
  */
464
- export interface DescribeProjectResponse {
737
+ export interface ListTopicPolicyResponse {
465
738
  /**
466
- * 返回信息
739
+ * Topic列表
467
740
  */
468
- Project?: ProjectEntryEx
741
+ Topics?: Array<TopicItem>
469
742
 
470
743
  /**
471
744
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -474,34 +747,230 @@ export interface DescribeProjectResponse {
474
747
  }
475
748
 
476
749
  /**
477
- * DeviceData
750
+ * SearchPositionSpace返回参数结构体
478
751
  */
479
- export interface DeviceData {
480
- /**
481
- * 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。
482
- 注意:此字段可能返回 null,表示取不到有效值。
483
- */
484
- DeviceCert: string
485
-
752
+ export interface SearchPositionSpaceResponse {
486
753
  /**
487
- * 设备名称。
754
+ * 位置空间列表
488
755
  注意:此字段可能返回 null,表示取不到有效值。
489
756
  */
490
- DeviceName: string
757
+ List: Array<PositionSpaceInfo>
491
758
 
492
759
  /**
493
- * 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数。
760
+ * 符合条件的位置空间个数
494
761
  注意:此字段可能返回 null,表示取不到有效值。
495
762
  */
496
- DevicePrivateKey: string
763
+ Total: number
497
764
 
498
765
  /**
499
- * 对称加密密钥,base64编码。采用对称加密时返回该参数。
766
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
767
+ */
768
+ RequestId?: string
769
+ }
770
+
771
+ /**
772
+ * DescribePositionFenceList返回参数结构体
773
+ */
774
+ export interface DescribePositionFenceListResponse {
775
+ /**
776
+ * 围栏列表
777
+ 注意:此字段可能返回 null,表示取不到有效值。
778
+ */
779
+ List: Array<PositionFenceInfo>
780
+
781
+ /**
782
+ * 围栏数量
783
+ 注意:此字段可能返回 null,表示取不到有效值。
784
+ */
785
+ Total: number
786
+
787
+ /**
788
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
789
+ */
790
+ RequestId?: string
791
+ }
792
+
793
+ /**
794
+ * GetDeviceLocationHistory请求参数结构体
795
+ */
796
+ export interface GetDeviceLocationHistoryRequest {
797
+ /**
798
+ * 产品Id
799
+ */
800
+ ProductId: string
801
+
802
+ /**
803
+ * 设备名
804
+ */
805
+ DeviceName: string
806
+
807
+ /**
808
+ * 查询起始时间,Unix时间,单位为毫秒
809
+ */
810
+ StartTime: number
811
+
812
+ /**
813
+ * 查询结束时间,Unix时间,单位为毫秒
814
+ */
815
+ EndTime: number
816
+
817
+ /**
818
+ * 坐标类型
819
+ */
820
+ CoordinateType?: number
821
+ }
822
+
823
+ /**
824
+ * DescribeDevicePositionList返回参数结构体
825
+ */
826
+ export interface DescribeDevicePositionListResponse {
827
+ /**
828
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
829
+ */
830
+ RequestId?: string
831
+ }
832
+
833
+ /**
834
+ * GetProjectList返回参数结构体
835
+ */
836
+ export interface GetProjectListResponse {
837
+ /**
838
+ * 项目列表
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ */
841
+ Projects: Array<ProjectEntryEx>
842
+
843
+ /**
844
+ * 列表项个数
845
+ 注意:此字段可能返回 null,表示取不到有效值。
846
+ */
847
+ Total: number
848
+
849
+ /**
850
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
851
+ */
852
+ RequestId?: string
853
+ }
854
+
855
+ /**
856
+ * DescribeStudioProduct返回参数结构体
857
+ */
858
+ export interface DescribeStudioProductResponse {
859
+ /**
860
+ * 产品详情
861
+ */
862
+ Product?: ProductEntry
863
+
864
+ /**
865
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
866
+ */
867
+ RequestId?: string
868
+ }
869
+
870
+ /**
871
+ * DescribeProject返回参数结构体
872
+ */
873
+ export interface DescribeProjectResponse {
874
+ /**
875
+ * 返回信息
876
+ */
877
+ Project?: ProjectEntryEx
878
+
879
+ /**
880
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
881
+ */
882
+ RequestId?: string
883
+ }
884
+
885
+ /**
886
+ * SearchStudioProduct返回参数结构体
887
+ */
888
+ export interface SearchStudioProductResponse {
889
+ /**
890
+ * 产品列表
891
+ */
892
+ Products: Array<ProductEntry>
893
+
894
+ /**
895
+ * 产品数量
896
+ */
897
+ Total: number
898
+
899
+ /**
900
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
901
+ */
902
+ RequestId?: string
903
+ }
904
+
905
+ /**
906
+ * DeviceData
907
+ */
908
+ export interface DeviceData {
909
+ /**
910
+ * 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。
911
+ 注意:此字段可能返回 null,表示取不到有效值。
912
+ */
913
+ DeviceCert: string
914
+
915
+ /**
916
+ * 设备名称。
917
+ 注意:此字段可能返回 null,表示取不到有效值。
918
+ */
919
+ DeviceName: string
920
+
921
+ /**
922
+ * 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数。
923
+ 注意:此字段可能返回 null,表示取不到有效值。
924
+ */
925
+ DevicePrivateKey: string
926
+
927
+ /**
928
+ * 对称加密密钥,base64编码。采用对称加密时返回该参数。
500
929
  注意:此字段可能返回 null,表示取不到有效值。
501
930
  */
502
931
  DevicePsk: string
503
932
  }
504
933
 
934
+ /**
935
+ * GetTopicRuleList请求参数结构体
936
+ */
937
+ export interface GetTopicRuleListRequest {
938
+ /**
939
+ * 请求的页数
940
+ */
941
+ PageNum: number
942
+
943
+ /**
944
+ * 分页的大小
945
+ */
946
+ PageSize: number
947
+ }
948
+
949
+ /**
950
+ * 围栏绑定的设备信息
951
+ */
952
+ export interface FenceBindDeviceItem {
953
+ /**
954
+ * 设备名称
955
+ */
956
+ DeviceName: string
957
+
958
+ /**
959
+ * 告警条件(In,进围栏报警;Out,出围栏报警;InOrOut,进围栏或者出围栏均报警)
960
+ */
961
+ AlertCondition: string
962
+
963
+ /**
964
+ * 是否使能围栏(true,使能;false,禁用)
965
+ */
966
+ FenceEnable: boolean
967
+
968
+ /**
969
+ * 告警处理方法
970
+ */
971
+ Method: string
972
+ }
973
+
505
974
  /**
506
975
  * 设备历史数据结构
507
976
  */
@@ -673,6 +1142,16 @@ export interface ProjectEntryEx {
673
1142
  DeviceCount: number
674
1143
  }
675
1144
 
1145
+ /**
1146
+ * ListTopicPolicy请求参数结构体
1147
+ */
1148
+ export interface ListTopicPolicyRequest {
1149
+ /**
1150
+ * 产品ID
1151
+ */
1152
+ ProductId: string
1153
+ }
1154
+
676
1155
  /**
677
1156
  * DescribeLoRaFrequency请求参数结构体
678
1157
  */
@@ -778,6 +1257,27 @@ export interface ReleaseStudioProductResponse {
778
1257
  RequestId?: string
779
1258
  }
780
1259
 
1260
+ /**
1261
+ * DescribeSpaceFenceEventList返回参数结构体
1262
+ */
1263
+ export interface DescribeSpaceFenceEventListResponse {
1264
+ /**
1265
+ * 围栏告警事件列表
1266
+ 注意:此字段可能返回 null,表示取不到有效值。
1267
+ */
1268
+ List: Array<FenceEventItem>
1269
+
1270
+ /**
1271
+ * 围栏告警事件总数
1272
+ */
1273
+ Total: number
1274
+
1275
+ /**
1276
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1277
+ */
1278
+ RequestId?: string
1279
+ }
1280
+
781
1281
  /**
782
1282
  * DeleteLoRaGateway请求参数结构体
783
1283
  */
@@ -788,6 +1288,56 @@ export interface DeleteLoRaGatewayRequest {
788
1288
  GatewayId: string
789
1289
  }
790
1290
 
1291
+ /**
1292
+ * DescribeTopicPolicy返回参数结构体
1293
+ */
1294
+ export interface DescribeTopicPolicyResponse {
1295
+ /**
1296
+ * 产品ID
1297
+ */
1298
+ ProductId?: string
1299
+
1300
+ /**
1301
+ * Topic名称
1302
+ */
1303
+ TopicName?: string
1304
+
1305
+ /**
1306
+ * Topic权限
1307
+ */
1308
+ Privilege?: number
1309
+
1310
+ /**
1311
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1312
+ */
1313
+ RequestId?: string
1314
+ }
1315
+
1316
+ /**
1317
+ * SearchPositionSpace请求参数结构体
1318
+ */
1319
+ export interface SearchPositionSpaceRequest {
1320
+ /**
1321
+ * 项目Id
1322
+ */
1323
+ ProjectId: string
1324
+
1325
+ /**
1326
+ * 位置空间名字
1327
+ */
1328
+ SpaceName: string
1329
+
1330
+ /**
1331
+ * 偏移量,从0开始
1332
+ */
1333
+ Offset: number
1334
+
1335
+ /**
1336
+ * 最大获取数量
1337
+ */
1338
+ Limit: number
1339
+ }
1340
+
791
1341
  /**
792
1342
  * LoRa自定义频点信息
793
1343
  */
@@ -843,6 +1393,16 @@ export interface LoRaFrequencyEntry {
843
1393
  CreateTime: number
844
1394
  }
845
1395
 
1396
+ /**
1397
+ * ModifyTopicPolicy返回参数结构体
1398
+ */
1399
+ export interface ModifyTopicPolicyResponse {
1400
+ /**
1401
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1402
+ */
1403
+ RequestId?: string
1404
+ }
1405
+
846
1406
  /**
847
1407
  * SearchTopicRule返回参数结构体
848
1408
  */
@@ -864,19 +1424,54 @@ export interface SearchTopicRuleResponse {
864
1424
  }
865
1425
 
866
1426
  /**
867
- * DescribeTopicRule请求参数结构体
1427
+ * DescribeFenceEventList返回参数结构体
868
1428
  */
869
- export interface DescribeTopicRuleRequest {
1429
+ export interface DescribeFenceEventListResponse {
870
1430
  /**
871
- * 规则名称。
1431
+ * 围栏告警事件列表
872
1432
  */
873
- RuleName: string
874
- }
1433
+ List: Array<FenceEventItem>
875
1434
 
876
- /**
877
- * CallDeviceActionSync返回参数结构体
878
- */
879
- export interface CallDeviceActionSyncResponse {
1435
+ /**
1436
+ * 围栏告警事件总数
1437
+ */
1438
+ Total: number
1439
+
1440
+ /**
1441
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1442
+ */
1443
+ RequestId?: string
1444
+ }
1445
+
1446
+ /**
1447
+ * UpdateDevicesEnableState请求参数结构体
1448
+ */
1449
+ export interface UpdateDevicesEnableStateRequest {
1450
+ /**
1451
+ * 多个设备标识
1452
+ */
1453
+ DevicesItems: Array<DevicesItem>
1454
+
1455
+ /**
1456
+ * 1:启用;0:禁用
1457
+ */
1458
+ Status: number
1459
+ }
1460
+
1461
+ /**
1462
+ * DescribeTopicRule请求参数结构体
1463
+ */
1464
+ export interface DescribeTopicRuleRequest {
1465
+ /**
1466
+ * 规则名称。
1467
+ */
1468
+ RuleName: string
1469
+ }
1470
+
1471
+ /**
1472
+ * CallDeviceActionSync返回参数结构体
1473
+ */
1474
+ export interface CallDeviceActionSyncResponse {
880
1475
  /**
881
1476
  * 调用Id
882
1477
  */
@@ -944,6 +1539,21 @@ export interface CreateLoRaGatewayRequest {
944
1539
  FrequencyId?: string
945
1540
  }
946
1541
 
1542
+ /**
1543
+ * ReleaseStudioProduct请求参数结构体
1544
+ */
1545
+ export interface ReleaseStudioProductRequest {
1546
+ /**
1547
+ * 产品ID
1548
+ */
1549
+ ProductId: string
1550
+
1551
+ /**
1552
+ * 产品DevStatus
1553
+ */
1554
+ DevStatus: string
1555
+ }
1556
+
947
1557
  /**
948
1558
  * CreateProject返回参数结构体
949
1559
  */
@@ -960,24 +1570,33 @@ export interface CreateProjectResponse {
960
1570
  }
961
1571
 
962
1572
  /**
963
- * ModifyTopicRule请求参数结构体
1573
+ * DescribeDeviceDataHistory返回参数结构体
964
1574
  */
965
- export interface ModifyTopicRuleRequest {
1575
+ export interface DescribeDeviceDataHistoryResponse {
966
1576
  /**
967
- * 规则名称
968
- */
969
- RuleName: string
1577
+ * 属性字段名称,对应数据模板中功能属性的标识符
1578
+ 注意:此字段可能返回 null,表示取不到有效值。
1579
+ */
1580
+ FieldName?: string
970
1581
 
971
1582
  /**
972
- * 替换的规则包体
973
- */
974
- TopicRulePayload: TopicRulePayload
975
- }
1583
+ * 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
1584
+ 注意:此字段可能返回 null,表示取不到有效值。
1585
+ */
1586
+ Listover?: boolean
1587
+
1588
+ /**
1589
+ * 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
1590
+ 注意:此字段可能返回 null,表示取不到有效值。
1591
+ */
1592
+ Context?: string
1593
+
1594
+ /**
1595
+ * 历史数据结果数组,返回对应时间点及取值。
1596
+ 注意:此字段可能返回 null,表示取不到有效值。
1597
+ */
1598
+ Results?: Array<DeviceDataHistoryItem>
976
1599
 
977
- /**
978
- * DeleteProject返回参数结构体
979
- */
980
- export interface DeleteProjectResponse {
981
1600
  /**
982
1601
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
983
1602
  */
@@ -985,38 +1604,23 @@ export interface DeleteProjectResponse {
985
1604
  }
986
1605
 
987
1606
  /**
988
- * DeleteDevices请求参数结构体
1607
+ * DeleteProject返回参数结构体
989
1608
  */
990
- export interface DeleteDevicesRequest {
1609
+ export interface DeleteProjectResponse {
991
1610
  /**
992
- * 多个设备标识
1611
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
993
1612
  */
994
- DevicesItems: Array<DevicesItem>
1613
+ RequestId?: string
995
1614
  }
996
1615
 
997
1616
  /**
998
- * CallDeviceActionAsync请求参数结构体
1617
+ * CreateTopicPolicy返回参数结构体
999
1618
  */
1000
- export interface CallDeviceActionAsyncRequest {
1619
+ export interface CreateTopicPolicyResponse {
1001
1620
  /**
1002
- * 产品Id
1003
- */
1004
- ProductId: string
1005
-
1006
- /**
1007
- * 设备名称
1008
- */
1009
- DeviceName: string
1010
-
1011
- /**
1012
- * 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
1013
- */
1014
- ActionId: string
1015
-
1016
- /**
1017
- * 输入参数
1621
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1018
1622
  */
1019
- InputParams?: string
1623
+ RequestId?: string
1020
1624
  }
1021
1625
 
1022
1626
  /**
@@ -1080,25 +1684,13 @@ export interface CreateDeviceRequest {
1080
1684
  }
1081
1685
 
1082
1686
  /**
1083
- * GetProjectList返回参数结构体
1687
+ * DeletePositionSpace请求参数结构体
1084
1688
  */
1085
- export interface GetProjectListResponse {
1689
+ export interface DeletePositionSpaceRequest {
1086
1690
  /**
1087
- * 项目列表
1088
- 注意:此字段可能返回 null,表示取不到有效值。
1089
- */
1090
- Projects: Array<ProjectEntryEx>
1091
-
1092
- /**
1093
- * 列表项个数
1094
- 注意:此字段可能返回 null,表示取不到有效值。
1095
- */
1096
- Total: number
1097
-
1098
- /**
1099
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1691
+ * 位置空间Id
1100
1692
  */
1101
- RequestId?: string
1693
+ SpaceId: string
1102
1694
  }
1103
1695
 
1104
1696
  /**
@@ -1321,6 +1913,21 @@ export interface CreateProjectRequest {
1321
1913
  InstanceId?: string
1322
1914
  }
1323
1915
 
1916
+ /**
1917
+ * CreateFenceBind请求参数结构体
1918
+ */
1919
+ export interface CreateFenceBindRequest {
1920
+ /**
1921
+ * 围栏Id
1922
+ */
1923
+ FenceId: number
1924
+
1925
+ /**
1926
+ * 围栏绑定的产品列表
1927
+ */
1928
+ Items: Array<FenceBindProductItem>
1929
+ }
1930
+
1324
1931
  /**
1325
1932
  * DescribeDevice返回参数结构体
1326
1933
  */
@@ -1417,43 +2024,18 @@ export interface PublishMessageRequest {
1417
2024
  }
1418
2025
 
1419
2026
  /**
1420
- * UploadFirmware请求参数结构体
2027
+ * ModifyTopicRule请求参数结构体
1421
2028
  */
1422
- export interface UploadFirmwareRequest {
1423
- /**
1424
- * 产品ID
1425
- */
1426
- ProductID: string
1427
-
1428
- /**
1429
- * 固件版本号
1430
- */
1431
- FirmwareVersion: string
1432
-
1433
- /**
1434
- * 固件的MD5值
1435
- */
1436
- Md5sum: string
1437
-
1438
- /**
1439
- * 固件的大小
1440
- */
1441
- FileSize: number
1442
-
1443
- /**
1444
- * 固件名称
1445
- */
1446
- FirmwareName?: string
1447
-
2029
+ export interface ModifyTopicRuleRequest {
1448
2030
  /**
1449
- * 固件描述
2031
+ * 规则名称
1450
2032
  */
1451
- FirmwareDescription?: string
2033
+ RuleName: string
1452
2034
 
1453
2035
  /**
1454
- * 固件升级模块;可选值 mcu|moudule
2036
+ * 替换的规则包体
1455
2037
  */
1456
- FwType?: string
2038
+ TopicRulePayload: TopicRulePayload
1457
2039
  }
1458
2040
 
1459
2041
  /**
@@ -1491,6 +2073,48 @@ export interface GetDeviceListRequest {
1491
2073
  ProjectId?: string
1492
2074
  }
1493
2075
 
2076
+ /**
2077
+ * ModifySpaceProperty请求参数结构体
2078
+ */
2079
+ export interface ModifySpacePropertyRequest {
2080
+ /**
2081
+ * 位置空间Id
2082
+ */
2083
+ SpaceId: string
2084
+
2085
+ /**
2086
+ * 产品Id
2087
+ */
2088
+ ProductId: string
2089
+
2090
+ /**
2091
+ * 产品属性
2092
+ */
2093
+ Data: string
2094
+ }
2095
+
2096
+ /**
2097
+ * GetPositionSpaceList返回参数结构体
2098
+ */
2099
+ export interface GetPositionSpaceListResponse {
2100
+ /**
2101
+ * 位置空间列表
2102
+ 注意:此字段可能返回 null,表示取不到有效值。
2103
+ */
2104
+ List: Array<PositionSpaceInfo>
2105
+
2106
+ /**
2107
+ * 位置空间数量
2108
+ 注意:此字段可能返回 null,表示取不到有效值。
2109
+ */
2110
+ Total: number
2111
+
2112
+ /**
2113
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2114
+ */
2115
+ RequestId?: string
2116
+ }
2117
+
1494
2118
  /**
1495
2119
  * GetCOSURL返回参数结构体
1496
2120
  */
@@ -1506,6 +2130,21 @@ export interface GetCOSURLResponse {
1506
2130
  RequestId?: string
1507
2131
  }
1508
2132
 
2133
+ /**
2134
+ * ModifyFenceBind请求参数结构体
2135
+ */
2136
+ export interface ModifyFenceBindRequest {
2137
+ /**
2138
+ * 围栏Id
2139
+ */
2140
+ FenceId: number
2141
+
2142
+ /**
2143
+ * 围栏绑定的产品列表
2144
+ */
2145
+ Items: Array<FenceBindProductItem>
2146
+ }
2147
+
1509
2148
  /**
1510
2149
  * GetTopicRuleList返回参数结构体
1511
2150
  */
@@ -1527,13 +2166,99 @@ export interface GetTopicRuleListResponse {
1527
2166
  }
1528
2167
 
1529
2168
  /**
1530
- * DisableTopicRule请求参数结构体
2169
+ * DescribeFenceEventList请求参数结构体
1531
2170
  */
1532
- export interface DisableTopicRuleRequest {
2171
+ export interface DescribeFenceEventListRequest {
1533
2172
  /**
1534
- * 规则名称
2173
+ * 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
1535
2174
  */
1536
- RuleName: string
2175
+ StartTime: number
2176
+
2177
+ /**
2178
+ * 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
2179
+ */
2180
+ EndTime: number
2181
+
2182
+ /**
2183
+ * 围栏Id
2184
+ */
2185
+ FenceId?: number
2186
+
2187
+ /**
2188
+ * 翻页偏移量,0起始
2189
+ */
2190
+ Offset?: number
2191
+
2192
+ /**
2193
+ * 最大返回结果数
2194
+ */
2195
+ Limit?: number
2196
+
2197
+ /**
2198
+ * 告警对应的产品Id
2199
+ */
2200
+ ProductId?: string
2201
+
2202
+ /**
2203
+ * 告警对应的设备名称
2204
+ */
2205
+ DeviceName?: string
2206
+ }
2207
+
2208
+ /**
2209
+ * ModifyPositionSpace请求参数结构体
2210
+ */
2211
+ export interface ModifyPositionSpaceRequest {
2212
+ /**
2213
+ * 位置空间Id
2214
+ */
2215
+ SpaceId: string
2216
+
2217
+ /**
2218
+ * 位置空间名称
2219
+ */
2220
+ SpaceName: string
2221
+
2222
+ /**
2223
+ * 授权类型
2224
+ */
2225
+ AuthorizeType: number
2226
+
2227
+ /**
2228
+ * 产品列表
2229
+ */
2230
+ ProductIdList: Array<string>
2231
+
2232
+ /**
2233
+ * 位置空间描述
2234
+ */
2235
+ Description?: string
2236
+
2237
+ /**
2238
+ * 缩略图
2239
+ */
2240
+ Icon?: string
2241
+ }
2242
+
2243
+ /**
2244
+ * GetLoRaGatewayList返回参数结构体
2245
+ */
2246
+ export interface GetLoRaGatewayListResponse {
2247
+ /**
2248
+ * 返回总数
2249
+ */
2250
+ Total?: number
2251
+
2252
+ /**
2253
+ * 返回详情项
2254
+ 注意:此字段可能返回 null,表示取不到有效值。
2255
+ */
2256
+ Gateways?: Array<LoRaGatewayItem>
2257
+
2258
+ /**
2259
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2260
+ */
2261
+ RequestId?: string
1537
2262
  }
1538
2263
 
1539
2264
  /**
@@ -1656,76 +2381,28 @@ export interface TopicRule {
1656
2381
  }
1657
2382
 
1658
2383
  /**
1659
- * TopicRulePayload结构
2384
+ * CallDeviceActionAsync请求参数结构体
1660
2385
  */
1661
- export interface TopicRulePayload {
2386
+ export interface CallDeviceActionAsyncRequest {
1662
2387
  /**
1663
- * 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
2388
+ * 产品Id
1664
2389
  */
1665
- Sql: string
2390
+ ProductId: string
1666
2391
 
1667
2392
  /**
1668
- * 行为的JSON字符串,大部分种类举例如下:
1669
- [
1670
- {
1671
- "republish": {
1672
- "topic": "TEST/test"
1673
- }
1674
- },
1675
- {
1676
- "forward": {
1677
- "api": "http://test.com:8080"
1678
- }
1679
- },
1680
- {
1681
- "ckafka": {
1682
- "instance": {
1683
- "id": "ckafka-test",
1684
- "name": ""
1685
- },
1686
- "topic": {
1687
- "id": "topic-test",
1688
- "name": "test"
1689
- },
1690
- "region": "gz"
1691
- }
1692
- },
1693
- {
1694
- "cmqqueue": {
1695
- "queuename": "queue-test-TEST",
1696
- "region": "gz"
1697
- }
1698
- },
1699
- {
1700
- "mysql": {
1701
- "instanceid": "cdb-test",
1702
- "region": "gz",
1703
- "username": "test",
1704
- "userpwd": "*****",
1705
- "dbname": "d_mqtt",
1706
- "tablename": "t_test",
1707
- "fieldpairs": [
1708
- {
1709
- "field": "test",
1710
- "value": "test"
1711
- }
1712
- ],
1713
- "devicetype": "CUSTOM"
1714
- }
1715
- }
1716
- ]
1717
- */
1718
- Actions?: string
2393
+ * 设备名称
2394
+ */
2395
+ DeviceName: string
1719
2396
 
1720
2397
  /**
1721
- * 规则描述
2398
+ * 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
1722
2399
  */
1723
- Description?: string
2400
+ ActionId: string
1724
2401
 
1725
2402
  /**
1726
- * 是否禁用规则
2403
+ * 输入参数
1727
2404
  */
1728
- RuleDisabled?: boolean
2405
+ InputParams?: string
1729
2406
  }
1730
2407
 
1731
2408
  /**
@@ -1748,6 +2425,86 @@ export interface CallDeviceActionAsyncResponse {
1748
2425
  RequestId?: string
1749
2426
  }
1750
2427
 
2428
+ /**
2429
+ * DeleteFenceBind返回参数结构体
2430
+ */
2431
+ export interface DeleteFenceBindResponse {
2432
+ /**
2433
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2434
+ */
2435
+ RequestId?: string
2436
+ }
2437
+
2438
+ /**
2439
+ * DeleteTopicPolicy请求参数结构体
2440
+ */
2441
+ export interface DeleteTopicPolicyRequest {
2442
+ /**
2443
+ * 产品ID
2444
+ */
2445
+ ProductId: string
2446
+
2447
+ /**
2448
+ * Topic名称
2449
+ */
2450
+ TopicName: string
2451
+ }
2452
+
2453
+ /**
2454
+ * CreateFenceBind返回参数结构体
2455
+ */
2456
+ export interface CreateFenceBindResponse {
2457
+ /**
2458
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2459
+ */
2460
+ RequestId?: string
2461
+ }
2462
+
2463
+ /**
2464
+ * DescribeFenceBindList请求参数结构体
2465
+ */
2466
+ export interface DescribeFenceBindListRequest {
2467
+ /**
2468
+ * 围栏Id
2469
+ */
2470
+ FenceId: number
2471
+
2472
+ /**
2473
+ * 翻页偏移量,0起始
2474
+ */
2475
+ Offset?: number
2476
+
2477
+ /**
2478
+ * 最大返回结果数
2479
+ */
2480
+ Limit?: number
2481
+ }
2482
+
2483
+ /**
2484
+ * CreatePositionFence返回参数结构体
2485
+ */
2486
+ export interface CreatePositionFenceResponse {
2487
+ /**
2488
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2489
+ */
2490
+ RequestId?: string
2491
+ }
2492
+
2493
+ /**
2494
+ * Topic信息, 包括Topic名字和权限
2495
+ */
2496
+ export interface TopicItem {
2497
+ /**
2498
+ * Topic名称
2499
+ */
2500
+ TopicName: string
2501
+
2502
+ /**
2503
+ * Topic权限 , 1上报 2下发
2504
+ */
2505
+ Privilege: number
2506
+ }
2507
+
1751
2508
  /**
1752
2509
  * DescribeTopicRule返回参数结构体
1753
2510
  */
@@ -1774,24 +2531,80 @@ export interface UpdateFirmwareRequest {
1774
2531
  ProductID: string
1775
2532
 
1776
2533
  /**
1777
- * 设备名
2534
+ * 设备名
2535
+ */
2536
+ DeviceName: string
2537
+
2538
+ /**
2539
+ * 固件新的版本号
2540
+ */
2541
+ FirmwareVersion: string
2542
+
2543
+ /**
2544
+ * 固件原版本号
2545
+ */
2546
+ FirmwareOriVersion: string
2547
+
2548
+ /**
2549
+ * 固件升级方式;0 静默升级 1 用户确认升级 不填默认静默升级
2550
+ */
2551
+ UpgradeMethod?: number
2552
+ }
2553
+
2554
+ /**
2555
+ * 位置空间详情
2556
+ */
2557
+ export interface PositionSpaceInfo {
2558
+ /**
2559
+ * 项目Id
2560
+ */
2561
+ ProjectId: string
2562
+
2563
+ /**
2564
+ * 位置空间Id
2565
+ */
2566
+ SpaceId: string
2567
+
2568
+ /**
2569
+ * 位置空间名称
2570
+ */
2571
+ SpaceName: string
2572
+
2573
+ /**
2574
+ * 授权类型
2575
+ */
2576
+ AuthorizeType: number
2577
+
2578
+ /**
2579
+ * 描述备注
2580
+ 注意:此字段可能返回 null,表示取不到有效值。
2581
+ */
2582
+ Description: string
2583
+
2584
+ /**
2585
+ * 产品列表
2586
+ */
2587
+ ProductIdList: Array<string>
2588
+
2589
+ /**
2590
+ * 缩略图
1778
2591
  */
1779
- DeviceName: string
2592
+ Icon: string
1780
2593
 
1781
2594
  /**
1782
- * 固件新的版本号
2595
+ * 创建时间
1783
2596
  */
1784
- FirmwareVersion: string
2597
+ CreateTime: number
1785
2598
 
1786
2599
  /**
1787
- * 固件原版本号
2600
+ * 更新时间
1788
2601
  */
1789
- FirmwareOriVersion: string
2602
+ UpdateTime: number
1790
2603
 
1791
2604
  /**
1792
- * 固件升级方式;0 静默升级 1 用户确认升级 不填默认静默升级
2605
+ * 用户自定义地图缩放
1793
2606
  */
1794
- UpgradeMethod?: number
2607
+ Zoom: number
1795
2608
  }
1796
2609
 
1797
2610
  /**
@@ -1840,18 +2653,23 @@ export interface DescribeDeviceRequest {
1840
2653
  }
1841
2654
 
1842
2655
  /**
1843
- * UpdateDevicesEnableState请求参数结构体
2656
+ * DescribePositionFenceList请求参数结构体
1844
2657
  */
1845
- export interface UpdateDevicesEnableStateRequest {
2658
+ export interface DescribePositionFenceListRequest {
1846
2659
  /**
1847
- * 多个设备标识
2660
+ * 位置空间Id
1848
2661
  */
1849
- DevicesItems: Array<DevicesItem>
2662
+ SpaceId: string
1850
2663
 
1851
2664
  /**
1852
- * 1:启用;0:禁用
2665
+ * 翻页偏移量,0起始
1853
2666
  */
1854
- Status: number
2667
+ Offset?: number
2668
+
2669
+ /**
2670
+ * 最大返回结果数
2671
+ */
2672
+ Limit?: number
1855
2673
  }
1856
2674
 
1857
2675
  /**
@@ -1864,6 +2682,26 @@ export interface ModifyTopicRuleResponse {
1864
2682
  RequestId?: string
1865
2683
  }
1866
2684
 
2685
+ /**
2686
+ * CreateTopicPolicy请求参数结构体
2687
+ */
2688
+ export interface CreateTopicPolicyRequest {
2689
+ /**
2690
+ * 产品ID
2691
+ */
2692
+ ProductId: string
2693
+
2694
+ /**
2695
+ * Topic名称
2696
+ */
2697
+ TopicName: string
2698
+
2699
+ /**
2700
+ * Topic权限,1发布,2订阅,3订阅和发布
2701
+ */
2702
+ Privilege: number
2703
+ }
2704
+
1867
2705
  /**
1868
2706
  * DirectBindDeviceInFamily请求参数结构体
1869
2707
  */
@@ -1916,23 +2754,33 @@ export interface DescribeLoRaFrequencyResponse {
1916
2754
  }
1917
2755
 
1918
2756
  /**
1919
- * SearchStudioProduct返回参数结构体
2757
+ * DescribeSpaceFenceEventList请求参数结构体
1920
2758
  */
1921
- export interface SearchStudioProductResponse {
2759
+ export interface DescribeSpaceFenceEventListRequest {
1922
2760
  /**
1923
- * 产品列表
2761
+ * 位置空间Id
1924
2762
  */
1925
- Products: Array<ProductEntry>
2763
+ SpaceId: string
1926
2764
 
1927
2765
  /**
1928
- * 产品数量
2766
+ * 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
1929
2767
  */
1930
- Total: number
2768
+ StartTime: number
1931
2769
 
1932
2770
  /**
1933
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2771
+ * 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
1934
2772
  */
1935
- RequestId?: string
2773
+ EndTime: number
2774
+
2775
+ /**
2776
+ * 翻页偏移量,0起始
2777
+ */
2778
+ Offset?: number
2779
+
2780
+ /**
2781
+ * 最大返回结果数
2782
+ */
2783
+ Limit?: number
1936
2784
  }
1937
2785
 
1938
2786
  /**
@@ -1955,6 +2803,36 @@ export interface GetLoRaGatewayListRequest {
1955
2803
  Limit?: number
1956
2804
  }
1957
2805
 
2806
+ /**
2807
+ * 围栏事件详情
2808
+ */
2809
+ export interface FenceEventItem {
2810
+ /**
2811
+ * 围栏事件的产品Id
2812
+ */
2813
+ ProductId: string
2814
+
2815
+ /**
2816
+ * 围栏事件的设备名称
2817
+ */
2818
+ DeviceName: string
2819
+
2820
+ /**
2821
+ * 围栏Id
2822
+ */
2823
+ FenceId: number
2824
+
2825
+ /**
2826
+ * 围栏事件的告警类型(In,进围栏报警;Out,出围栏报警;InOrOut,进围栏或者出围栏均报警)
2827
+ */
2828
+ AlertType: string
2829
+
2830
+ /**
2831
+ * 围栏事件的设备位置信息
2832
+ */
2833
+ Data: FenceAlarmPoint
2834
+ }
2835
+
1958
2836
  /**
1959
2837
  * DescribeProject请求参数结构体
1960
2838
  */
@@ -1975,6 +2853,31 @@ export interface UploadFirmwareResponse {
1975
2853
  RequestId?: string
1976
2854
  }
1977
2855
 
2856
+ /**
2857
+ * ModifyTopicPolicy请求参数结构体
2858
+ */
2859
+ export interface ModifyTopicPolicyRequest {
2860
+ /**
2861
+ * 产品ID
2862
+ */
2863
+ ProductId: string
2864
+
2865
+ /**
2866
+ * 更新前Topic名
2867
+ */
2868
+ TopicName: string
2869
+
2870
+ /**
2871
+ * 更新后Topic名
2872
+ */
2873
+ NewTopicName: string
2874
+
2875
+ /**
2876
+ * Topic权限
2877
+ */
2878
+ Privilege: number
2879
+ }
2880
+
1978
2881
  /**
1979
2882
  * DeleteTopicRule请求参数结构体
1980
2883
  */
@@ -2000,6 +2903,16 @@ export interface CreateLoRaGatewayResponse {
2000
2903
  RequestId?: string
2001
2904
  }
2002
2905
 
2906
+ /**
2907
+ * DeleteTopicPolicy返回参数结构体
2908
+ */
2909
+ export interface DeleteTopicPolicyResponse {
2910
+ /**
2911
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2912
+ */
2913
+ RequestId?: string
2914
+ }
2915
+
2003
2916
  /**
2004
2917
  * DeleteLoRaGateway返回参数结构体
2005
2918
  */
@@ -2187,6 +3100,22 @@ export interface DescribeStudioProductRequest {
2187
3100
  ProductId: string
2188
3101
  }
2189
3102
 
3103
+ /**
3104
+ * CreatePositionSpace返回参数结构体
3105
+ */
3106
+ export interface CreatePositionSpaceResponse {
3107
+ /**
3108
+ * 空间Id
3109
+ 注意:此字段可能返回 null,表示取不到有效值。
3110
+ */
3111
+ SpaceId: string
3112
+
3113
+ /**
3114
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3115
+ */
3116
+ RequestId?: string
3117
+ }
3118
+
2190
3119
  /**
2191
3120
  * ModifyLoRaFrequency请求参数结构体
2192
3121
  */
@@ -2247,6 +3176,21 @@ export interface ModifyModelDefinitionResponse {
2247
3176
  RequestId?: string
2248
3177
  }
2249
3178
 
3179
+ /**
3180
+ * DeletePositionFence请求参数结构体
3181
+ */
3182
+ export interface DeletePositionFenceRequest {
3183
+ /**
3184
+ * 位置空间Id
3185
+ */
3186
+ SpaceId: string
3187
+
3188
+ /**
3189
+ * 围栏Id
3190
+ */
3191
+ FenceId: number
3192
+ }
3193
+
2250
3194
  /**
2251
3195
  * GetProjectList请求参数结构体
2252
3196
  */
@@ -2287,6 +3231,16 @@ export interface GetProjectListRequest {
2287
3231
  ProjectName?: string
2288
3232
  }
2289
3233
 
3234
+ /**
3235
+ * DeletePositionSpace返回参数结构体
3236
+ */
3237
+ export interface DeletePositionSpaceResponse {
3238
+ /**
3239
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3240
+ */
3241
+ RequestId?: string
3242
+ }
3243
+
2290
3244
  /**
2291
3245
  * CreateLoRaFrequency返回参数结构体
2292
3246
  */
@@ -2302,6 +3256,16 @@ export interface CreateLoRaFrequencyResponse {
2302
3256
  RequestId?: string
2303
3257
  }
2304
3258
 
3259
+ /**
3260
+ * EnableTopicRule返回参数结构体
3261
+ */
3262
+ export interface EnableTopicRuleResponse {
3263
+ /**
3264
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3265
+ */
3266
+ RequestId?: string
3267
+ }
3268
+
2305
3269
  /**
2306
3270
  * SearchStudioProduct请求参数结构体
2307
3271
  */
@@ -2338,18 +3302,13 @@ export interface SearchStudioProductRequest {
2338
3302
  }
2339
3303
 
2340
3304
  /**
2341
- * GetTopicRuleList请求参数结构体
3305
+ * DeleteDevices请求参数结构体
2342
3306
  */
2343
- export interface GetTopicRuleListRequest {
2344
- /**
2345
- * 请求的页数
2346
- */
2347
- PageNum: number
2348
-
3307
+ export interface DeleteDevicesRequest {
2349
3308
  /**
2350
- * 分页的大小
3309
+ * 多个设备标识
2351
3310
  */
2352
- PageSize: number
3311
+ DevicesItems: Array<DevicesItem>
2353
3312
  }
2354
3313
 
2355
3314
  /**
@@ -2452,6 +3411,16 @@ export interface ModifyProjectRequest {
2452
3411
  ProjectDesc: string
2453
3412
  }
2454
3413
 
3414
+ /**
3415
+ * ModifySpaceProperty返回参数结构体
3416
+ */
3417
+ export interface ModifySpacePropertyResponse {
3418
+ /**
3419
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3420
+ */
3421
+ RequestId?: string
3422
+ }
3423
+
2455
3424
  /**
2456
3425
  * PublishMessage返回参数结构体
2457
3426
  */
@@ -2478,32 +3447,18 @@ export interface ModifyLoRaGatewayResponse {
2478
3447
  }
2479
3448
 
2480
3449
  /**
2481
- * DescribeDeviceDataHistory返回参数结构体
3450
+ * DescribeFenceBindList返回参数结构体
2482
3451
  */
2483
- export interface DescribeDeviceDataHistoryResponse {
3452
+ export interface DescribeFenceBindListResponse {
2484
3453
  /**
2485
- * 属性字段名称,对应数据模板中功能属性的标识符
2486
- 注意:此字段可能返回 null,表示取不到有效值。
2487
- */
2488
- FieldName?: string
2489
-
2490
- /**
2491
- * 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
2492
- 注意:此字段可能返回 null,表示取不到有效值。
2493
- */
2494
- Listover?: boolean
2495
-
2496
- /**
2497
- * 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
2498
- 注意:此字段可能返回 null,表示取不到有效值。
2499
- */
2500
- Context?: string
3454
+ * 围栏绑定的产品设备列表
3455
+ */
3456
+ List: Array<FenceBindProductItem>
2501
3457
 
2502
3458
  /**
2503
- * 历史数据结果数组,返回对应时间点及取值。
2504
- 注意:此字段可能返回 null,表示取不到有效值。
2505
- */
2506
- Results?: Array<DeviceDataHistoryItem>
3459
+ * 围栏绑定的设备总数
3460
+ */
3461
+ Total: number
2507
3462
 
2508
3463
  /**
2509
3464
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2526,6 +3481,31 @@ export interface SearchKeyword {
2526
3481
  Value?: string
2527
3482
  }
2528
3483
 
3484
+ /**
3485
+ * CreatePositionFence请求参数结构体
3486
+ */
3487
+ export interface CreatePositionFenceRequest {
3488
+ /**
3489
+ * 位置空间Id
3490
+ */
3491
+ SpaceId: string
3492
+
3493
+ /**
3494
+ * 围栏名称
3495
+ */
3496
+ FenceName: string
3497
+
3498
+ /**
3499
+ * 围栏区域信息,采用 GeoJSON 格式
3500
+ */
3501
+ FenceArea: string
3502
+
3503
+ /**
3504
+ * 围栏描述
3505
+ */
3506
+ FenceDesc?: string
3507
+ }
3508
+
2529
3509
  /**
2530
3510
  * DescribeModelDefinition请求参数结构体
2531
3511
  */
@@ -2537,24 +3517,13 @@ export interface DescribeModelDefinitionRequest {
2537
3517
  }
2538
3518
 
2539
3519
  /**
2540
- * GetLoRaGatewayList返回参数结构体
3520
+ * DisableTopicRule请求参数结构体
2541
3521
  */
2542
- export interface GetLoRaGatewayListResponse {
2543
- /**
2544
- * 返回总数
2545
- */
2546
- Total?: number
2547
-
2548
- /**
2549
- * 返回详情项
2550
- 注意:此字段可能返回 null,表示取不到有效值。
2551
- */
2552
- Gateways?: Array<LoRaGatewayItem>
2553
-
3522
+ export interface DisableTopicRuleRequest {
2554
3523
  /**
2555
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3524
+ * 规则名称
2556
3525
  */
2557
- RequestId?: string
3526
+ RuleName: string
2558
3527
  }
2559
3528
 
2560
3529
  /**
@@ -2597,6 +3566,26 @@ export interface CreateTopicRuleRequest {
2597
3566
  TopicRulePayload: TopicRulePayload
2598
3567
  }
2599
3568
 
3569
+ /**
3570
+ * 围栏详细信息(包含创建时间及更新时间)
3571
+ */
3572
+ export interface PositionFenceInfo {
3573
+ /**
3574
+ * 围栏信息
3575
+ */
3576
+ GeoFence: PositionFenceItem
3577
+
3578
+ /**
3579
+ * 围栏创建时间
3580
+ */
3581
+ CreateTime: number
3582
+
3583
+ /**
3584
+ * 围栏更新时间
3585
+ */
3586
+ UpdateTime: number
3587
+ }
3588
+
2600
3589
  /**
2601
3590
  * DeleteDevice返回参数结构体
2602
3591
  */
@@ -2841,3 +3830,38 @@ export interface DescribeFirmwareTaskRequest {
2841
3830
  */
2842
3831
  TaskId: number
2843
3832
  }
3833
+
3834
+ /**
3835
+ * CreatePositionSpace请求参数结构体
3836
+ */
3837
+ export interface CreatePositionSpaceRequest {
3838
+ /**
3839
+ * 项目ID
3840
+ */
3841
+ ProjectId: string
3842
+
3843
+ /**
3844
+ * 空间名称
3845
+ */
3846
+ SpaceName: string
3847
+
3848
+ /**
3849
+ * 授权类型,0:只读 1:读写
3850
+ */
3851
+ AuthorizeType: number
3852
+
3853
+ /**
3854
+ * 产品列表
3855
+ */
3856
+ ProductIdList: Array<string>
3857
+
3858
+ /**
3859
+ * 描述
3860
+ */
3861
+ Description?: string
3862
+
3863
+ /**
3864
+ * 缩略图
3865
+ */
3866
+ Icon?: string
3867
+ }