tencentcloud-sdk-nodejs-iotexplorer 4.0.213 → 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.
@@ -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
  */
@@ -229,6 +264,56 @@ export interface DeleteLoRaFrequencyResponse {
229
264
  RequestId?: string
230
265
  }
231
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
+
232
317
  /**
233
318
  * DeleteTopicRule返回参数结构体
234
319
  */
@@ -239,6 +324,26 @@ export interface DeleteTopicRuleResponse {
239
324
  RequestId?: string
240
325
  }
241
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
+
242
347
  /**
243
348
  * ModifyModelDefinition请求参数结构体
244
349
  */
@@ -295,9 +400,19 @@ export interface CallDeviceActionSyncRequest {
295
400
  }
296
401
 
297
402
  /**
298
- * EnableTopicRule返回参数结构体
403
+ * DescribeDevicePositionList请求参数结构体
299
404
  */
300
- 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
+
301
416
  /**
302
417
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
303
418
  */
@@ -314,6 +429,16 @@ export interface UpdateFirmwareResponse {
314
429
  RequestId?: string
315
430
  }
316
431
 
432
+ /**
433
+ * ModifyPositionFence返回参数结构体
434
+ */
435
+ export interface ModifyPositionFenceResponse {
436
+ /**
437
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
438
+ */
439
+ RequestId?: string
440
+ }
441
+
317
442
  /**
318
443
  * ModifyStudioProduct请求参数结构体
319
444
  */
@@ -344,6 +469,16 @@ export interface ModifyStudioProductRequest {
344
469
  EnableProductScript?: string
345
470
  }
346
471
 
472
+ /**
473
+ * ModifyPositionSpace返回参数结构体
474
+ */
475
+ export interface ModifyPositionSpaceResponse {
476
+ /**
477
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
478
+ */
479
+ RequestId?: string
480
+ }
481
+
347
482
  /**
348
483
  * CreateStudioProduct请求参数结构体
349
484
  */
@@ -427,18 +562,83 @@ export interface ProductModelDefinition {
427
562
  }
428
563
 
429
564
  /**
430
- * ReleaseStudioProduct请求参数结构体
565
+ * ModifyFenceBind返回参数结构体
431
566
  */
432
- 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 {
433
608
  /**
434
609
  * 产品ID
435
610
  */
436
- ProductId: string
611
+ ProductID: string
437
612
 
438
613
  /**
439
- * 产品DevStatus
614
+ * 固件版本号
440
615
  */
441
- 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
442
642
  }
443
643
 
444
644
  /**
@@ -517,28 +717,28 @@ export interface DescribeDeviceDataRequest {
517
717
  }
518
718
 
519
719
  /**
520
- * DescribeStudioProduct返回参数结构体
720
+ * 围栏绑定的产品信息
521
721
  */
522
- export interface DescribeStudioProductResponse {
722
+ export interface FenceBindProductItem {
523
723
  /**
524
- * 产品详情
724
+ * 围栏绑定的设备信息
525
725
  */
526
- Product?: ProductEntry
726
+ Devices: Array<FenceBindDeviceItem>
527
727
 
528
728
  /**
529
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
729
+ * 围栏绑定的产品Id
530
730
  */
531
- RequestId?: string
731
+ ProductId: string
532
732
  }
533
733
 
534
734
  /**
535
- * DescribeProject返回参数结构体
735
+ * ListTopicPolicy返回参数结构体
536
736
  */
537
- export interface DescribeProjectResponse {
737
+ export interface ListTopicPolicyResponse {
538
738
  /**
539
- * 返回信息
739
+ * Topic列表
540
740
  */
541
- Project?: ProjectEntryEx
741
+ Topics?: Array<TopicItem>
542
742
 
543
743
  /**
544
744
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -547,102 +747,298 @@ export interface DescribeProjectResponse {
547
747
  }
548
748
 
549
749
  /**
550
- * DeviceData
750
+ * SearchPositionSpace返回参数结构体
551
751
  */
552
- export interface DeviceData {
752
+ export interface SearchPositionSpaceResponse {
553
753
  /**
554
- * 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。
754
+ * 位置空间列表
555
755
  注意:此字段可能返回 null,表示取不到有效值。
556
756
  */
557
- DeviceCert: string
757
+ List: Array<PositionSpaceInfo>
558
758
 
559
759
  /**
560
- * 设备名称。
760
+ * 符合条件的位置空间个数
561
761
  注意:此字段可能返回 null,表示取不到有效值。
562
762
  */
563
- DeviceName: string
763
+ Total: number
564
764
 
565
765
  /**
566
- * 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数。
567
- 注意:此字段可能返回 null,表示取不到有效值。
568
- */
569
- DevicePrivateKey: string
766
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
767
+ */
768
+ RequestId?: string
769
+ }
570
770
 
771
+ /**
772
+ * DescribePositionFenceList返回参数结构体
773
+ */
774
+ export interface DescribePositionFenceListResponse {
571
775
  /**
572
- * 对称加密密钥,base64编码。采用对称加密时返回该参数。
776
+ * 围栏列表
573
777
  注意:此字段可能返回 null,表示取不到有效值。
574
778
  */
575
- DevicePsk: string
576
- }
779
+ List: Array<PositionFenceInfo>
577
780
 
578
- /**
579
- * 设备历史数据结构
580
- */
581
- export interface DeviceDataHistoryItem {
582
781
  /**
583
- * 时间点,毫秒时间戳
584
- */
585
- Time: string
782
+ * 围栏数量
783
+ 注意:此字段可能返回 null,表示取不到有效值。
784
+ */
785
+ Total: number
586
786
 
587
787
  /**
588
- * 字段取值
788
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
589
789
  */
590
- Value: string
790
+ RequestId?: string
591
791
  }
592
792
 
593
793
  /**
594
- * 产品详情
794
+ * GetDeviceLocationHistory请求参数结构体
595
795
  */
596
- export interface ProductEntry {
796
+ export interface GetDeviceLocationHistoryRequest {
597
797
  /**
598
- * 产品ID
798
+ * 产品Id
599
799
  */
600
800
  ProductId: string
601
801
 
602
802
  /**
603
- * 产品名称
803
+ * 设备名
604
804
  */
605
- ProductName: string
805
+ DeviceName: string
606
806
 
607
807
  /**
608
- * 产品分组模板ID
808
+ * 查询起始时间,Unix时间,单位为毫秒
609
809
  */
610
- CategoryId: number
810
+ StartTime: number
611
811
 
612
812
  /**
613
- * 加密类型
813
+ * 查询结束时间,Unix时间,单位为毫秒
614
814
  */
615
- EncryptionType: string
815
+ EndTime: number
616
816
 
617
817
  /**
618
- * 连接类型
818
+ * 坐标类型
619
819
  */
620
- NetType: string
820
+ CoordinateType?: number
821
+ }
621
822
 
823
+ /**
824
+ * DescribeDevicePositionList返回参数结构体
825
+ */
826
+ export interface DescribeDevicePositionListResponse {
622
827
  /**
623
- * 数据协议
828
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
624
829
  */
625
- DataProtocol: number
830
+ RequestId?: string
831
+ }
626
832
 
833
+ /**
834
+ * GetProjectList返回参数结构体
835
+ */
836
+ export interface GetProjectListResponse {
627
837
  /**
628
- * 产品描述
629
- */
630
- ProductDesc: string
838
+ * 项目列表
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ */
841
+ Projects: Array<ProjectEntryEx>
631
842
 
632
843
  /**
633
- * 状态
634
- */
635
- DevStatus: string
844
+ * 列表项个数
845
+ 注意:此字段可能返回 null,表示取不到有效值。
846
+ */
847
+ Total: number
636
848
 
637
849
  /**
638
- * 创建时间
850
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
639
851
  */
640
- CreateTime: number
852
+ RequestId?: string
853
+ }
641
854
 
855
+ /**
856
+ * DescribeStudioProduct返回参数结构体
857
+ */
858
+ export interface DescribeStudioProductResponse {
642
859
  /**
643
- * 更新时间
860
+ * 产品详情
644
861
  */
645
- UpdateTime: number
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编码。采用对称加密时返回该参数。
929
+ 注意:此字段可能返回 null,表示取不到有效值。
930
+ */
931
+ DevicePsk: string
932
+ }
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
+
974
+ /**
975
+ * 设备历史数据结构
976
+ */
977
+ export interface DeviceDataHistoryItem {
978
+ /**
979
+ * 时间点,毫秒时间戳
980
+ */
981
+ Time: string
982
+
983
+ /**
984
+ * 字段取值
985
+ */
986
+ Value: string
987
+ }
988
+
989
+ /**
990
+ * 产品详情
991
+ */
992
+ export interface ProductEntry {
993
+ /**
994
+ * 产品ID
995
+ */
996
+ ProductId: string
997
+
998
+ /**
999
+ * 产品名称
1000
+ */
1001
+ ProductName: string
1002
+
1003
+ /**
1004
+ * 产品分组模板ID
1005
+ */
1006
+ CategoryId: number
1007
+
1008
+ /**
1009
+ * 加密类型
1010
+ */
1011
+ EncryptionType: string
1012
+
1013
+ /**
1014
+ * 连接类型
1015
+ */
1016
+ NetType: string
1017
+
1018
+ /**
1019
+ * 数据协议
1020
+ */
1021
+ DataProtocol: number
1022
+
1023
+ /**
1024
+ * 产品描述
1025
+ */
1026
+ ProductDesc: string
1027
+
1028
+ /**
1029
+ * 状态
1030
+ */
1031
+ DevStatus: string
1032
+
1033
+ /**
1034
+ * 创建时间
1035
+ */
1036
+ CreateTime: number
1037
+
1038
+ /**
1039
+ * 更新时间
1040
+ */
1041
+ UpdateTime: number
646
1042
 
647
1043
  /**
648
1044
  * 区域
@@ -746,6 +1142,16 @@ export interface ProjectEntryEx {
746
1142
  DeviceCount: number
747
1143
  }
748
1144
 
1145
+ /**
1146
+ * ListTopicPolicy请求参数结构体
1147
+ */
1148
+ export interface ListTopicPolicyRequest {
1149
+ /**
1150
+ * 产品ID
1151
+ */
1152
+ ProductId: string
1153
+ }
1154
+
749
1155
  /**
750
1156
  * DescribeLoRaFrequency请求参数结构体
751
1157
  */
@@ -851,6 +1257,27 @@ export interface ReleaseStudioProductResponse {
851
1257
  RequestId?: string
852
1258
  }
853
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
+
854
1281
  /**
855
1282
  * DeleteLoRaGateway请求参数结构体
856
1283
  */
@@ -861,6 +1288,56 @@ export interface DeleteLoRaGatewayRequest {
861
1288
  GatewayId: string
862
1289
  }
863
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
+
864
1341
  /**
865
1342
  * LoRa自定义频点信息
866
1343
  */
@@ -916,6 +1393,16 @@ export interface LoRaFrequencyEntry {
916
1393
  CreateTime: number
917
1394
  }
918
1395
 
1396
+ /**
1397
+ * ModifyTopicPolicy返回参数结构体
1398
+ */
1399
+ export interface ModifyTopicPolicyResponse {
1400
+ /**
1401
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1402
+ */
1403
+ RequestId?: string
1404
+ }
1405
+
919
1406
  /**
920
1407
  * SearchTopicRule返回参数结构体
921
1408
  */
@@ -937,29 +1424,64 @@ export interface SearchTopicRuleResponse {
937
1424
  }
938
1425
 
939
1426
  /**
940
- * DescribeTopicRule请求参数结构体
1427
+ * DescribeFenceEventList返回参数结构体
941
1428
  */
942
- export interface DescribeTopicRuleRequest {
1429
+ export interface DescribeFenceEventListResponse {
943
1430
  /**
944
- * 规则名称。
1431
+ * 围栏告警事件列表
945
1432
  */
946
- RuleName: string
947
- }
1433
+ List: Array<FenceEventItem>
948
1434
 
949
- /**
950
- * CallDeviceActionSync返回参数结构体
951
- */
952
- export interface CallDeviceActionSyncResponse {
953
1435
  /**
954
- * 调用Id
1436
+ * 围栏告警事件总数
955
1437
  */
956
- ClientToken?: string
1438
+ Total: number
957
1439
 
958
1440
  /**
959
- * 输出参数
960
- 注意:此字段可能返回 null,表示取不到有效值。
961
- */
962
- OutputParams?: string
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 {
1475
+ /**
1476
+ * 调用Id
1477
+ */
1478
+ ClientToken?: string
1479
+
1480
+ /**
1481
+ * 输出参数
1482
+ 注意:此字段可能返回 null,表示取不到有效值。
1483
+ */
1484
+ OutputParams?: string
963
1485
 
964
1486
  /**
965
1487
  * 返回状态
@@ -1017,6 +1539,21 @@ export interface CreateLoRaGatewayRequest {
1017
1539
  FrequencyId?: string
1018
1540
  }
1019
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
+
1020
1557
  /**
1021
1558
  * CreateProject返回参数结构体
1022
1559
  */
@@ -1033,24 +1570,33 @@ export interface CreateProjectResponse {
1033
1570
  }
1034
1571
 
1035
1572
  /**
1036
- * ModifyTopicRule请求参数结构体
1573
+ * DescribeDeviceDataHistory返回参数结构体
1037
1574
  */
1038
- export interface ModifyTopicRuleRequest {
1575
+ export interface DescribeDeviceDataHistoryResponse {
1039
1576
  /**
1040
- * 规则名称
1041
- */
1042
- RuleName: string
1577
+ * 属性字段名称,对应数据模板中功能属性的标识符
1578
+ 注意:此字段可能返回 null,表示取不到有效值。
1579
+ */
1580
+ FieldName?: string
1043
1581
 
1044
1582
  /**
1045
- * 替换的规则包体
1046
- */
1047
- TopicRulePayload: TopicRulePayload
1048
- }
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>
1049
1599
 
1050
- /**
1051
- * DeleteProject返回参数结构体
1052
- */
1053
- export interface DeleteProjectResponse {
1054
1600
  /**
1055
1601
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1056
1602
  */
@@ -1058,38 +1604,23 @@ export interface DeleteProjectResponse {
1058
1604
  }
1059
1605
 
1060
1606
  /**
1061
- * DeleteDevices请求参数结构体
1607
+ * DeleteProject返回参数结构体
1062
1608
  */
1063
- export interface DeleteDevicesRequest {
1609
+ export interface DeleteProjectResponse {
1064
1610
  /**
1065
- * 多个设备标识
1611
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1066
1612
  */
1067
- DevicesItems: Array<DevicesItem>
1613
+ RequestId?: string
1068
1614
  }
1069
1615
 
1070
1616
  /**
1071
- * CallDeviceActionAsync请求参数结构体
1617
+ * CreateTopicPolicy返回参数结构体
1072
1618
  */
1073
- export interface CallDeviceActionAsyncRequest {
1074
- /**
1075
- * 产品Id
1076
- */
1077
- ProductId: string
1078
-
1079
- /**
1080
- * 设备名称
1081
- */
1082
- DeviceName: string
1083
-
1084
- /**
1085
- * 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
1086
- */
1087
- ActionId: string
1088
-
1619
+ export interface CreateTopicPolicyResponse {
1089
1620
  /**
1090
- * 输入参数
1621
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1091
1622
  */
1092
- InputParams?: string
1623
+ RequestId?: string
1093
1624
  }
1094
1625
 
1095
1626
  /**
@@ -1153,25 +1684,13 @@ export interface CreateDeviceRequest {
1153
1684
  }
1154
1685
 
1155
1686
  /**
1156
- * GetProjectList返回参数结构体
1687
+ * DeletePositionSpace请求参数结构体
1157
1688
  */
1158
- export interface GetProjectListResponse {
1159
- /**
1160
- * 项目列表
1161
- 注意:此字段可能返回 null,表示取不到有效值。
1162
- */
1163
- Projects: Array<ProjectEntryEx>
1164
-
1165
- /**
1166
- * 列表项个数
1167
- 注意:此字段可能返回 null,表示取不到有效值。
1168
- */
1169
- Total: number
1170
-
1689
+ export interface DeletePositionSpaceRequest {
1171
1690
  /**
1172
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1691
+ * 位置空间Id
1173
1692
  */
1174
- RequestId?: string
1693
+ SpaceId: string
1175
1694
  }
1176
1695
 
1177
1696
  /**
@@ -1394,6 +1913,21 @@ export interface CreateProjectRequest {
1394
1913
  InstanceId?: string
1395
1914
  }
1396
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
+
1397
1931
  /**
1398
1932
  * DescribeDevice返回参数结构体
1399
1933
  */
@@ -1490,43 +2024,18 @@ export interface PublishMessageRequest {
1490
2024
  }
1491
2025
 
1492
2026
  /**
1493
- * UploadFirmware请求参数结构体
2027
+ * ModifyTopicRule请求参数结构体
1494
2028
  */
1495
- export interface UploadFirmwareRequest {
1496
- /**
1497
- * 产品ID
1498
- */
1499
- ProductID: string
1500
-
1501
- /**
1502
- * 固件版本号
1503
- */
1504
- FirmwareVersion: string
1505
-
1506
- /**
1507
- * 固件的MD5值
1508
- */
1509
- Md5sum: string
1510
-
1511
- /**
1512
- * 固件的大小
1513
- */
1514
- FileSize: number
1515
-
1516
- /**
1517
- * 固件名称
1518
- */
1519
- FirmwareName?: string
1520
-
2029
+ export interface ModifyTopicRuleRequest {
1521
2030
  /**
1522
- * 固件描述
2031
+ * 规则名称
1523
2032
  */
1524
- FirmwareDescription?: string
2033
+ RuleName: string
1525
2034
 
1526
2035
  /**
1527
- * 固件升级模块;可选值 mcu|moudule
2036
+ * 替换的规则包体
1528
2037
  */
1529
- FwType?: string
2038
+ TopicRulePayload: TopicRulePayload
1530
2039
  }
1531
2040
 
1532
2041
  /**
@@ -1564,6 +2073,48 @@ export interface GetDeviceListRequest {
1564
2073
  ProjectId?: string
1565
2074
  }
1566
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
+
1567
2118
  /**
1568
2119
  * GetCOSURL返回参数结构体
1569
2120
  */
@@ -1579,6 +2130,21 @@ export interface GetCOSURLResponse {
1579
2130
  RequestId?: string
1580
2131
  }
1581
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
+
1582
2148
  /**
1583
2149
  * GetTopicRuleList返回参数结构体
1584
2150
  */
@@ -1600,13 +2166,99 @@ export interface GetTopicRuleListResponse {
1600
2166
  }
1601
2167
 
1602
2168
  /**
1603
- * DisableTopicRule请求参数结构体
2169
+ * DescribeFenceEventList请求参数结构体
1604
2170
  */
1605
- export interface DisableTopicRuleRequest {
2171
+ export interface DescribeFenceEventListRequest {
1606
2172
  /**
1607
- * 规则名称
2173
+ * 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
1608
2174
  */
1609
- 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
1610
2262
  }
1611
2263
 
1612
2264
  /**
@@ -1729,13 +2381,28 @@ export interface TopicRule {
1729
2381
  }
1730
2382
 
1731
2383
  /**
1732
- * CreateTopicPolicy返回参数结构体
2384
+ * CallDeviceActionAsync请求参数结构体
1733
2385
  */
1734
- export interface CreateTopicPolicyResponse {
2386
+ export interface CallDeviceActionAsyncRequest {
1735
2387
  /**
1736
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2388
+ * 产品Id
1737
2389
  */
1738
- RequestId?: string
2390
+ ProductId: string
2391
+
2392
+ /**
2393
+ * 设备名称
2394
+ */
2395
+ DeviceName: string
2396
+
2397
+ /**
2398
+ * 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
2399
+ */
2400
+ ActionId: string
2401
+
2402
+ /**
2403
+ * 输入参数
2404
+ */
2405
+ InputParams?: string
1739
2406
  }
1740
2407
 
1741
2408
  /**
@@ -1758,6 +2425,86 @@ export interface CallDeviceActionAsyncResponse {
1758
2425
  RequestId?: string
1759
2426
  }
1760
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
+
1761
2508
  /**
1762
2509
  * DescribeTopicRule返回参数结构体
1763
2510
  */
@@ -1774,34 +2521,90 @@ export interface DescribeTopicRuleResponse {
1774
2521
  RequestId?: string
1775
2522
  }
1776
2523
 
1777
- /**
1778
- * UpdateFirmware请求参数结构体
1779
- */
1780
- export interface UpdateFirmwareRequest {
2524
+ /**
2525
+ * UpdateFirmware请求参数结构体
2526
+ */
2527
+ export interface UpdateFirmwareRequest {
2528
+ /**
2529
+ * 产品ID
2530
+ */
2531
+ ProductID: string
2532
+
2533
+ /**
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
+
1781
2578
  /**
1782
- * 产品ID
2579
+ * 描述备注
2580
+ 注意:此字段可能返回 null,表示取不到有效值。
2581
+ */
2582
+ Description: string
2583
+
2584
+ /**
2585
+ * 产品列表
1783
2586
  */
1784
- ProductID: string
2587
+ ProductIdList: Array<string>
1785
2588
 
1786
2589
  /**
1787
- * 设备名
2590
+ * 缩略图
1788
2591
  */
1789
- DeviceName: string
2592
+ Icon: string
1790
2593
 
1791
2594
  /**
1792
- * 固件新的版本号
2595
+ * 创建时间
1793
2596
  */
1794
- FirmwareVersion: string
2597
+ CreateTime: number
1795
2598
 
1796
2599
  /**
1797
- * 固件原版本号
2600
+ * 更新时间
1798
2601
  */
1799
- FirmwareOriVersion: string
2602
+ UpdateTime: number
1800
2603
 
1801
2604
  /**
1802
- * 固件升级方式;0 静默升级 1 用户确认升级 不填默认静默升级
2605
+ * 用户自定义地图缩放
1803
2606
  */
1804
- UpgradeMethod?: number
2607
+ Zoom: number
1805
2608
  }
1806
2609
 
1807
2610
  /**
@@ -1850,18 +2653,23 @@ export interface DescribeDeviceRequest {
1850
2653
  }
1851
2654
 
1852
2655
  /**
1853
- * UpdateDevicesEnableState请求参数结构体
2656
+ * DescribePositionFenceList请求参数结构体
1854
2657
  */
1855
- export interface UpdateDevicesEnableStateRequest {
2658
+ export interface DescribePositionFenceListRequest {
1856
2659
  /**
1857
- * 多个设备标识
2660
+ * 位置空间Id
1858
2661
  */
1859
- DevicesItems: Array<DevicesItem>
2662
+ SpaceId: string
1860
2663
 
1861
2664
  /**
1862
- * 1:启用;0:禁用
2665
+ * 翻页偏移量,0起始
1863
2666
  */
1864
- Status: number
2667
+ Offset?: number
2668
+
2669
+ /**
2670
+ * 最大返回结果数
2671
+ */
2672
+ Limit?: number
1865
2673
  }
1866
2674
 
1867
2675
  /**
@@ -1946,23 +2754,33 @@ export interface DescribeLoRaFrequencyResponse {
1946
2754
  }
1947
2755
 
1948
2756
  /**
1949
- * SearchStudioProduct返回参数结构体
2757
+ * DescribeSpaceFenceEventList请求参数结构体
1950
2758
  */
1951
- export interface SearchStudioProductResponse {
2759
+ export interface DescribeSpaceFenceEventListRequest {
1952
2760
  /**
1953
- * 产品列表
2761
+ * 位置空间Id
1954
2762
  */
1955
- Products: Array<ProductEntry>
2763
+ SpaceId: string
1956
2764
 
1957
2765
  /**
1958
- * 产品数量
2766
+ * 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
1959
2767
  */
1960
- Total: number
2768
+ StartTime: number
1961
2769
 
1962
2770
  /**
1963
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2771
+ * 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
1964
2772
  */
1965
- RequestId?: string
2773
+ EndTime: number
2774
+
2775
+ /**
2776
+ * 翻页偏移量,0起始
2777
+ */
2778
+ Offset?: number
2779
+
2780
+ /**
2781
+ * 最大返回结果数
2782
+ */
2783
+ Limit?: number
1966
2784
  }
1967
2785
 
1968
2786
  /**
@@ -1985,6 +2803,36 @@ export interface GetLoRaGatewayListRequest {
1985
2803
  Limit?: number
1986
2804
  }
1987
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
+
1988
2836
  /**
1989
2837
  * DescribeProject请求参数结构体
1990
2838
  */
@@ -2005,6 +2853,31 @@ export interface UploadFirmwareResponse {
2005
2853
  RequestId?: string
2006
2854
  }
2007
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
+
2008
2881
  /**
2009
2882
  * DeleteTopicRule请求参数结构体
2010
2883
  */
@@ -2030,6 +2903,16 @@ export interface CreateLoRaGatewayResponse {
2030
2903
  RequestId?: string
2031
2904
  }
2032
2905
 
2906
+ /**
2907
+ * DeleteTopicPolicy返回参数结构体
2908
+ */
2909
+ export interface DeleteTopicPolicyResponse {
2910
+ /**
2911
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2912
+ */
2913
+ RequestId?: string
2914
+ }
2915
+
2033
2916
  /**
2034
2917
  * DeleteLoRaGateway返回参数结构体
2035
2918
  */
@@ -2217,6 +3100,22 @@ export interface DescribeStudioProductRequest {
2217
3100
  ProductId: string
2218
3101
  }
2219
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
+
2220
3119
  /**
2221
3120
  * ModifyLoRaFrequency请求参数结构体
2222
3121
  */
@@ -2277,6 +3176,21 @@ export interface ModifyModelDefinitionResponse {
2277
3176
  RequestId?: string
2278
3177
  }
2279
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
+
2280
3194
  /**
2281
3195
  * GetProjectList请求参数结构体
2282
3196
  */
@@ -2317,6 +3231,16 @@ export interface GetProjectListRequest {
2317
3231
  ProjectName?: string
2318
3232
  }
2319
3233
 
3234
+ /**
3235
+ * DeletePositionSpace返回参数结构体
3236
+ */
3237
+ export interface DeletePositionSpaceResponse {
3238
+ /**
3239
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3240
+ */
3241
+ RequestId?: string
3242
+ }
3243
+
2320
3244
  /**
2321
3245
  * CreateLoRaFrequency返回参数结构体
2322
3246
  */
@@ -2332,6 +3256,16 @@ export interface CreateLoRaFrequencyResponse {
2332
3256
  RequestId?: string
2333
3257
  }
2334
3258
 
3259
+ /**
3260
+ * EnableTopicRule返回参数结构体
3261
+ */
3262
+ export interface EnableTopicRuleResponse {
3263
+ /**
3264
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3265
+ */
3266
+ RequestId?: string
3267
+ }
3268
+
2335
3269
  /**
2336
3270
  * SearchStudioProduct请求参数结构体
2337
3271
  */
@@ -2368,18 +3302,13 @@ export interface SearchStudioProductRequest {
2368
3302
  }
2369
3303
 
2370
3304
  /**
2371
- * GetTopicRuleList请求参数结构体
3305
+ * DeleteDevices请求参数结构体
2372
3306
  */
2373
- export interface GetTopicRuleListRequest {
2374
- /**
2375
- * 请求的页数
2376
- */
2377
- PageNum: number
2378
-
3307
+ export interface DeleteDevicesRequest {
2379
3308
  /**
2380
- * 分页的大小
3309
+ * 多个设备标识
2381
3310
  */
2382
- PageSize: number
3311
+ DevicesItems: Array<DevicesItem>
2383
3312
  }
2384
3313
 
2385
3314
  /**
@@ -2482,6 +3411,16 @@ export interface ModifyProjectRequest {
2482
3411
  ProjectDesc: string
2483
3412
  }
2484
3413
 
3414
+ /**
3415
+ * ModifySpaceProperty返回参数结构体
3416
+ */
3417
+ export interface ModifySpacePropertyResponse {
3418
+ /**
3419
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3420
+ */
3421
+ RequestId?: string
3422
+ }
3423
+
2485
3424
  /**
2486
3425
  * PublishMessage返回参数结构体
2487
3426
  */
@@ -2508,32 +3447,18 @@ export interface ModifyLoRaGatewayResponse {
2508
3447
  }
2509
3448
 
2510
3449
  /**
2511
- * DescribeDeviceDataHistory返回参数结构体
3450
+ * DescribeFenceBindList返回参数结构体
2512
3451
  */
2513
- export interface DescribeDeviceDataHistoryResponse {
3452
+ export interface DescribeFenceBindListResponse {
2514
3453
  /**
2515
- * 属性字段名称,对应数据模板中功能属性的标识符
2516
- 注意:此字段可能返回 null,表示取不到有效值。
2517
- */
2518
- FieldName?: string
2519
-
2520
- /**
2521
- * 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
2522
- 注意:此字段可能返回 null,表示取不到有效值。
2523
- */
2524
- Listover?: boolean
2525
-
2526
- /**
2527
- * 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
2528
- 注意:此字段可能返回 null,表示取不到有效值。
2529
- */
2530
- Context?: string
3454
+ * 围栏绑定的产品设备列表
3455
+ */
3456
+ List: Array<FenceBindProductItem>
2531
3457
 
2532
3458
  /**
2533
- * 历史数据结果数组,返回对应时间点及取值。
2534
- 注意:此字段可能返回 null,表示取不到有效值。
2535
- */
2536
- Results?: Array<DeviceDataHistoryItem>
3459
+ * 围栏绑定的设备总数
3460
+ */
3461
+ Total: number
2537
3462
 
2538
3463
  /**
2539
3464
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2556,6 +3481,31 @@ export interface SearchKeyword {
2556
3481
  Value?: string
2557
3482
  }
2558
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
+
2559
3509
  /**
2560
3510
  * DescribeModelDefinition请求参数结构体
2561
3511
  */
@@ -2567,24 +3517,13 @@ export interface DescribeModelDefinitionRequest {
2567
3517
  }
2568
3518
 
2569
3519
  /**
2570
- * GetLoRaGatewayList返回参数结构体
3520
+ * DisableTopicRule请求参数结构体
2571
3521
  */
2572
- export interface GetLoRaGatewayListResponse {
2573
- /**
2574
- * 返回总数
2575
- */
2576
- Total?: number
2577
-
2578
- /**
2579
- * 返回详情项
2580
- 注意:此字段可能返回 null,表示取不到有效值。
2581
- */
2582
- Gateways?: Array<LoRaGatewayItem>
2583
-
3522
+ export interface DisableTopicRuleRequest {
2584
3523
  /**
2585
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3524
+ * 规则名称
2586
3525
  */
2587
- RequestId?: string
3526
+ RuleName: string
2588
3527
  }
2589
3528
 
2590
3529
  /**
@@ -2627,6 +3566,26 @@ export interface CreateTopicRuleRequest {
2627
3566
  TopicRulePayload: TopicRulePayload
2628
3567
  }
2629
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
+
2630
3589
  /**
2631
3590
  * DeleteDevice返回参数结构体
2632
3591
  */
@@ -2871,3 +3830,38 @@ export interface DescribeFirmwareTaskRequest {
2871
3830
  */
2872
3831
  TaskId: number
2873
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
+ }