tencentcloud-sdk-nodejs-iotexplorer 4.0.813 → 4.0.822

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.
@@ -17,6 +17,41 @@ export interface UpdateDevicesEnableStateResponse {
17
17
  */
18
18
  RequestId?: string;
19
19
  }
20
+ /**
21
+ * DescribeCloudStorageDate请求参数结构体
22
+ */
23
+ export interface DescribeCloudStorageDateRequest {
24
+ /**
25
+ * 产品ID
26
+ */
27
+ ProductId: string;
28
+ /**
29
+ * 设备名称
30
+ */
31
+ DeviceName: string;
32
+ /**
33
+ * 用户ID
34
+ */
35
+ UserId?: string;
36
+ /**
37
+ * 通道ID
38
+ */
39
+ ChannelId?: number;
40
+ }
41
+ /**
42
+ * 云存时间轴接口返回数据
43
+ */
44
+ export interface CloudStorageTimeData {
45
+ /**
46
+ * 云存时间轴信息列表
47
+ */
48
+ TimeList?: Array<CloudStorageTimeInfo>;
49
+ /**
50
+ * 播放地址
51
+ 注意:此字段可能返回 null,表示取不到有效值。
52
+ */
53
+ VideoURL?: string;
54
+ }
20
55
  /**
21
56
  * DescribeDeviceLocationSolve请求参数结构体
22
57
  */
@@ -51,6 +86,87 @@ export interface DeleteProjectRequest {
51
86
  */
52
87
  ProjectId: string;
53
88
  }
89
+ /**
90
+ * ListEventHistory返回参数结构体
91
+ */
92
+ export interface ListEventHistoryResponse {
93
+ /**
94
+ * 搜索上下文, 用作查询游标
95
+ 注意:此字段可能返回 null,表示取不到有效值。
96
+ */
97
+ Context: string;
98
+ /**
99
+ * 搜索结果数量
100
+ 注意:此字段可能返回 null,表示取不到有效值。
101
+ */
102
+ Total: number;
103
+ /**
104
+ * 搜索结果是否已经结束
105
+ 注意:此字段可能返回 null,表示取不到有效值。
106
+ */
107
+ Listover: boolean;
108
+ /**
109
+ * 搜集结果集
110
+ 注意:此字段可能返回 null,表示取不到有效值。
111
+ */
112
+ EventHistory: Array<EventHistoryItem>;
113
+ /**
114
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
115
+ */
116
+ RequestId?: string;
117
+ }
118
+ /**
119
+ * ModifyLoRaGateway请求参数结构体
120
+ */
121
+ export interface ModifyLoRaGatewayRequest {
122
+ /**
123
+ * 描述信息
124
+ */
125
+ Description: string;
126
+ /**
127
+ * LoRa网关Id
128
+ */
129
+ GatewayId: string;
130
+ /**
131
+ * LoRa网关位置坐标
132
+ */
133
+ Location: LoRaGatewayLocation;
134
+ /**
135
+ * LoRa网关名称
136
+ */
137
+ Name: string;
138
+ /**
139
+ * 是否公开可见
140
+ */
141
+ IsPublic?: boolean;
142
+ /**
143
+ * 位置信息
144
+ */
145
+ Position?: string;
146
+ /**
147
+ * 位置详情
148
+ */
149
+ PositionDetails?: string;
150
+ /**
151
+ * 频点ID
152
+ */
153
+ FrequencyId?: string;
154
+ }
155
+ /**
156
+ * 缩略图信息
157
+ */
158
+ export interface ThumbnailURLInfoList {
159
+ /**
160
+ * 缩略图访问地址
161
+ 注意:此字段可能返回 null,表示取不到有效值。
162
+ */
163
+ ThumbnailURL?: string;
164
+ /**
165
+ * 缩略图访问地址的过期时间
166
+ 注意:此字段可能返回 null,表示取不到有效值。
167
+ */
168
+ ExpireTime?: number;
169
+ }
54
170
  /**
55
171
  * ProductId -> DeviceName
56
172
  */
@@ -111,6 +227,27 @@ export interface UnbindDevicesRequest {
111
227
  */
112
228
  DeviceNames: Array<string>;
113
229
  }
230
+ /**
231
+ * PublishBroadcastMessage请求参数结构体
232
+ */
233
+ export interface PublishBroadcastMessageRequest {
234
+ /**
235
+ * 产品ID
236
+ */
237
+ ProductId: string;
238
+ /**
239
+ * 消息内容
240
+ */
241
+ Payload: string;
242
+ /**
243
+ * 消息质量等级
244
+ */
245
+ Qos: number;
246
+ /**
247
+ * ayload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
248
+ */
249
+ PayloadEncoding?: string;
250
+ }
114
251
  /**
115
252
  * DeleteDevices返回参数结构体
116
253
  */
@@ -131,13 +268,22 @@ export interface DeleteDevicesResponse {
131
268
  RequestId?: string;
132
269
  }
133
270
  /**
134
- * ModifyStudioProduct返回参数结构体
271
+ * DeleteCloudStorageEvent返回参数结构体
135
272
  */
136
- export interface ModifyStudioProductResponse {
273
+ export interface DeleteCloudStorageEventResponse {
137
274
  /**
138
- * 产品描述
275
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
139
276
  */
140
- Product?: ProductEntry;
277
+ RequestId?: string;
278
+ }
279
+ /**
280
+ * DescribeCloudStorageTime返回参数结构体
281
+ */
282
+ export interface DescribeCloudStorageTimeResponse {
283
+ /**
284
+ * 接口返回数据
285
+ */
286
+ Data?: CloudStorageTimeData;
141
287
  /**
142
288
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
143
289
  */
@@ -162,6 +308,23 @@ export interface GetGatewaySubDeviceListResponse {
162
308
  */
163
309
  RequestId?: string;
164
310
  }
311
+ /**
312
+ * DescribeCloudStorageThumbnailList请求参数结构体
313
+ */
314
+ export interface DescribeCloudStorageThumbnailListRequest {
315
+ /**
316
+ * 产品ID
317
+ */
318
+ ProductId: string;
319
+ /**
320
+ * 设备名称
321
+ */
322
+ DeviceName: string;
323
+ /**
324
+ * 缩略图文件名列表
325
+ */
326
+ ThumbnailList: Array<string>;
327
+ }
165
328
  /**
166
329
  * DeleteStudioProduct返回参数结构体
167
330
  */
@@ -193,21 +356,33 @@ export interface BindDevicesRequest {
193
356
  DeviceNames: Array<string>;
194
357
  }
195
358
  /**
196
- * DescribeGatewaySubProducts返回参数结构体
359
+ * DescribeDevicePackages请求参数结构体
197
360
  */
198
- export interface DescribeGatewaySubProductsResponse {
361
+ export interface DescribeDevicePackagesRequest {
199
362
  /**
200
- * 当前分页的可绑定或解绑的产品信息。
363
+ * 产品ID
201
364
  */
202
- Products: Array<BindProductInfo>;
365
+ ProductId: string;
203
366
  /**
204
- * 可绑定或解绑的产品总数
367
+ * 设备名称
205
368
  */
206
- Total: number;
369
+ DeviceName: string;
207
370
  /**
208
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
371
+ * 分页拉取数量
209
372
  */
210
- RequestId?: string;
373
+ Limit: number;
374
+ /**
375
+ * 分页拉取偏移
376
+ */
377
+ Offset: number;
378
+ /**
379
+ * 用户id
380
+ */
381
+ CSUserId?: string;
382
+ /**
383
+ * 通道id
384
+ */
385
+ ChannelId?: number;
211
386
  }
212
387
  /**
213
388
  * GetDeviceList返回参数结构体
@@ -228,6 +403,23 @@ export interface GetDeviceListResponse {
228
403
  */
229
404
  RequestId?: string;
230
405
  }
406
+ /**
407
+ * GenerateSignedVideoURL请求参数结构体
408
+ */
409
+ export interface GenerateSignedVideoURLRequest {
410
+ /**
411
+ * 视频播放原始URL地址
412
+ */
413
+ VideoURL: string;
414
+ /**
415
+ * 播放链接过期时间
416
+ */
417
+ ExpireTime: number;
418
+ /**
419
+ * 通道ID 非NVR设备不填 NVR设备必填 默认为无
420
+ */
421
+ ChannelId?: number;
422
+ }
231
423
  /**
232
424
  * TopicRulePayload结构
233
425
  */
@@ -307,17 +499,13 @@ export interface DeleteLoRaFrequencyResponse {
307
499
  RequestId?: string;
308
500
  }
309
501
  /**
310
- * DescribeTopicPolicy请求参数结构体
502
+ * DescribeCloudStoragePackageConsumeDetails返回参数结构体
311
503
  */
312
- export interface DescribeTopicPolicyRequest {
313
- /**
314
- * 产品ID
315
- */
316
- ProductId: string;
504
+ export interface DescribeCloudStoragePackageConsumeDetailsResponse {
317
505
  /**
318
- * Topic名字
506
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
319
507
  */
320
- TopicName: string;
508
+ RequestId?: string;
321
509
  }
322
510
  /**
323
511
  * 绑定、未绑定产品详细信息
@@ -433,17 +621,34 @@ export interface PositionItem {
433
621
  Accuracy: number;
434
622
  }
435
623
  /**
436
- * ModifyModelDefinition请求参数结构体
624
+ * InheritCloudStorageUser请求参数结构体
437
625
  */
438
- export interface ModifyModelDefinitionRequest {
626
+ export interface InheritCloudStorageUserRequest {
439
627
  /**
440
628
  * 产品ID
441
629
  */
442
630
  ProductId: string;
443
631
  /**
444
- * 数据模板定义
632
+ * 设备名称
445
633
  */
446
- ModelSchema: string;
634
+ DeviceName: string;
635
+ /**
636
+ * 原始用户ID
637
+ */
638
+ UserId: string;
639
+ /**
640
+ * 目标用户ID
641
+ */
642
+ ToUserId: string;
643
+ }
644
+ /**
645
+ * TransferCloudStorage返回参数结构体
646
+ */
647
+ export interface TransferCloudStorageResponse {
648
+ /**
649
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
650
+ */
651
+ RequestId?: string;
447
652
  }
448
653
  /**
449
654
  * CreateStudioProduct返回参数结构体
@@ -496,6 +701,25 @@ export interface ProductDevicesPositionItem {
496
701
  */
497
702
  Total: number;
498
703
  }
704
+ /**
705
+ * GetProjectList返回参数结构体
706
+ */
707
+ export interface GetProjectListResponse {
708
+ /**
709
+ * 项目列表
710
+ 注意:此字段可能返回 null,表示取不到有效值。
711
+ */
712
+ Projects?: Array<ProjectEntryEx>;
713
+ /**
714
+ * 列表项个数
715
+ 注意:此字段可能返回 null,表示取不到有效值。
716
+ */
717
+ Total?: number;
718
+ /**
719
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
720
+ */
721
+ RequestId?: string;
722
+ }
499
723
  /**
500
724
  * DescribeDevicePositionList请求参数结构体
501
725
  */
@@ -655,13 +879,13 @@ export interface ProductModelDefinition {
655
879
  NetTypeModel: string;
656
880
  }
657
881
  /**
658
- * ModifyFenceBind返回参数结构体
882
+ * DisableTopicRule请求参数结构体
659
883
  */
660
- export interface ModifyFenceBindResponse {
884
+ export interface DisableTopicRuleRequest {
661
885
  /**
662
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
886
+ * 规则名称
663
887
  */
664
- RequestId?: string;
888
+ RuleName: string;
665
889
  }
666
890
  /**
667
891
  * CreateBatchProduction请求参数结构体
@@ -706,65 +930,69 @@ export interface DeletePositionFenceResponse {
706
930
  RequestId?: string;
707
931
  }
708
932
  /**
709
- * 围栏告警位置点
933
+ * ModifyLoRaFrequency请求参数结构体
710
934
  */
711
- export interface FenceAlarmPoint {
935
+ export interface ModifyLoRaFrequencyRequest {
712
936
  /**
713
- * 围栏告警时间
937
+ * 频点唯一ID
714
938
  */
715
- AlarmTime: number;
939
+ FreqId?: string;
716
940
  /**
717
- * 围栏告警位置的经度
941
+ * 频点名称
718
942
  */
719
- Longitude: number;
943
+ FreqName?: string;
720
944
  /**
721
- * 围栏告警位置的纬度
945
+ * 频点描述
722
946
  */
723
- Latitude: number;
724
- }
725
- /**
726
- * UploadFirmware请求参数结构体
727
- */
728
- export interface UploadFirmwareRequest {
947
+ Description?: string;
729
948
  /**
730
- * 产品ID
949
+ * 数据上行信道
731
950
  */
732
- ProductID: string;
951
+ ChannelsDataUp?: Array<number | bigint>;
733
952
  /**
734
- * 固件版本号
953
+ * 数据下行信道RX1
735
954
  */
736
- FirmwareVersion: string;
955
+ ChannelsDataRX1?: Array<number | bigint>;
737
956
  /**
738
- * 固件的MD5值
957
+ * 数据下行信道RX2
739
958
  */
740
- Md5sum: string;
959
+ ChannelsDataRX2?: Array<number | bigint>;
741
960
  /**
742
- * 固件的大小
961
+ * 入网上行信道
743
962
  */
744
- FileSize: number;
963
+ ChannelsJoinUp?: Array<number | bigint>;
745
964
  /**
746
- * 固件名称
965
+ * 入网下行信道RX1
747
966
  */
748
- FirmwareName?: string;
967
+ ChannelsJoinRX1?: Array<number | bigint>;
749
968
  /**
750
- * 固件描述
969
+ * 入网下行信道RX2
751
970
  */
752
- FirmwareDescription?: string;
971
+ ChannelsJoinRX2?: Array<number | bigint>;
972
+ }
973
+ /**
974
+ * 围栏告警位置点
975
+ */
976
+ export interface FenceAlarmPoint {
753
977
  /**
754
- * 固件升级模块;可选值 mcu|moudule
978
+ * 围栏告警时间
755
979
  */
756
- FwType?: string;
980
+ AlarmTime: number;
757
981
  /**
758
- * 固件用户自定义配置信息
982
+ * 围栏告警位置的经度
759
983
  */
760
- FirmwareUserDefined?: string;
984
+ Longitude: number;
985
+ /**
986
+ * 围栏告警位置的纬度
987
+ */
988
+ Latitude: number;
761
989
  }
762
990
  /**
763
- * ListEventHistory请求参数结构体
991
+ * 子设备详情
764
992
  */
765
- export interface ListEventHistoryRequest {
993
+ export interface FamilySubDevice {
766
994
  /**
767
- * 产品ID
995
+ * 产品Id
768
996
  */
769
997
  ProductId: string;
770
998
  /**
@@ -772,29 +1000,122 @@ export interface ListEventHistoryRequest {
772
1000
  */
773
1001
  DeviceName: string;
774
1002
  /**
775
- * 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
1003
+ * 设备ID
776
1004
  */
777
- Type?: string;
1005
+ DeviceId: string;
778
1006
  /**
779
- * 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
1007
+ * 设备别名
1008
+ 注意:此字段可能返回 null,表示取不到有效值。
780
1009
  */
781
- StartTime?: number;
1010
+ AliasName: string;
782
1011
  /**
783
- * 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
1012
+ * 设备绑定的家庭ID
784
1013
  */
785
- EndTime?: number;
1014
+ FamilyId: string;
786
1015
  /**
787
- * 搜索上下文, 用作查询游标
1016
+ * 设备所在的房间ID,默认"0"
1017
+ 注意:此字段可能返回 null,表示取不到有效值。
788
1018
  */
789
- Context?: string;
1019
+ RoomId: string;
790
1020
  /**
791
- * 单次获取的历史数据项目的最大数量, 缺省10
1021
+ * 图标
1022
+ 注意:此字段可能返回 null,表示取不到有效值。
792
1023
  */
793
- Size?: number;
1024
+ IconUrl: string;
794
1025
  /**
795
- * 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
1026
+ * grid图标
1027
+ 注意:此字段可能返回 null,表示取不到有效值。
796
1028
  */
797
- EventId?: string;
1029
+ IconUrlGrid: string;
1030
+ /**
1031
+ * 设备绑定时间戳
1032
+ */
1033
+ CreateTime: number;
1034
+ /**
1035
+ * 设备更新时间戳
1036
+ */
1037
+ UpdateTime: number;
1038
+ }
1039
+ /**
1040
+ * DescribeCloudStoragePackageConsumeStats返回参数结构体
1041
+ */
1042
+ export interface DescribeCloudStoragePackageConsumeStatsResponse {
1043
+ /**
1044
+ * 统计列表详情
1045
+ */
1046
+ Stats?: Array<PackageConsumeStat>;
1047
+ /**
1048
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1049
+ */
1050
+ RequestId?: string;
1051
+ }
1052
+ /**
1053
+ * 结构体(PackageInfo)记录了设备拥有的有效套餐信息,包括云存开启状态、云存类型、云存回看时长、云存套餐过期时间
1054
+ */
1055
+ export interface PackageInfo {
1056
+ /**
1057
+ * 云存开启状态,0为未开启,2为正在生效,1为已过期
1058
+ 注:这里只返回状态为0的数据
1059
+ */
1060
+ Status?: number;
1061
+ /**
1062
+ * 云存类型,1为全时云存,2为事件云存
1063
+ */
1064
+ CSType?: number;
1065
+ /**
1066
+ * 云存回看时长
1067
+ */
1068
+ CSShiftDuration?: number;
1069
+ /**
1070
+ * 云存套餐过期时间
1071
+ */
1072
+ CSExpiredTime?: number;
1073
+ /**
1074
+ * 云存套餐创建时间
1075
+ 注意:此字段可能返回 null,表示取不到有效值。
1076
+ */
1077
+ CreatedAt?: number;
1078
+ /**
1079
+ * 云存套餐更新时间
1080
+ 注意:此字段可能返回 null,表示取不到有效值。
1081
+ */
1082
+ UpdatedAt?: number;
1083
+ /**
1084
+ * 套餐id
1085
+ 注意:此字段可能返回 null,表示取不到有效值。
1086
+ */
1087
+ PackageId?: string;
1088
+ /**
1089
+ * 订单id
1090
+ 注意:此字段可能返回 null,表示取不到有效值。
1091
+ */
1092
+ OrderId?: string;
1093
+ /**
1094
+ * 通道id
1095
+ */
1096
+ ChannelId?: number;
1097
+ /**
1098
+ * 用户id
1099
+ 注意:此字段可能返回 null,表示取不到有效值。
1100
+ */
1101
+ CSUserId?: string;
1102
+ }
1103
+ /**
1104
+ * DescribeCloudStorageUsers返回参数结构体
1105
+ */
1106
+ export interface DescribeCloudStorageUsersResponse {
1107
+ /**
1108
+ * 用户总数
1109
+ */
1110
+ TotalCount?: number;
1111
+ /**
1112
+ * 用户信息
1113
+ */
1114
+ Users?: Array<CloudStorageUserInfo>;
1115
+ /**
1116
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1117
+ */
1118
+ RequestId?: string;
798
1119
  }
799
1120
  /**
800
1121
  * SearchTopicRule请求参数结构体
@@ -836,21 +1157,45 @@ export interface FenceBindProductItem {
836
1157
  ProductId: string;
837
1158
  }
838
1159
  /**
839
- * PublishRRPCMessage请求参数结构体
1160
+ * GetDeviceSumStatistics返回参数结构体
840
1161
  */
841
- export interface PublishRRPCMessageRequest {
1162
+ export interface GetDeviceSumStatisticsResponse {
842
1163
  /**
843
- * 产品ID
1164
+ * 激活设备总数
844
1165
  */
845
- ProductId: string;
1166
+ ActivationCount?: number;
846
1167
  /**
847
- * 设备名称
1168
+ * 在线设备总数
848
1169
  */
849
- DeviceName: string;
1170
+ OnlineCount?: number;
850
1171
  /**
851
- * 消息内容,utf8编码
1172
+ * 前一天激活设备数
852
1173
  */
853
- Payload: string;
1174
+ ActivationBeforeDay?: number;
1175
+ /**
1176
+ * 前一天活跃设备数
1177
+ */
1178
+ ActiveBeforeDay?: number;
1179
+ /**
1180
+ * 前一周激活设备数
1181
+ */
1182
+ ActivationWeekDayCount?: number;
1183
+ /**
1184
+ * 前一周活跃设备数
1185
+ */
1186
+ ActiveWeekDayCount?: number;
1187
+ /**
1188
+ * 上一周激活设备数
1189
+ */
1190
+ ActivationBeforeWeekDayCount?: number;
1191
+ /**
1192
+ * 上一周活跃设备数
1193
+ */
1194
+ ActiveBeforeWeekDayCount?: number;
1195
+ /**
1196
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1197
+ */
1198
+ RequestId?: string;
854
1199
  }
855
1200
  /**
856
1201
  * 设备位置详情
@@ -925,53 +1270,56 @@ export interface DescribePositionFenceListResponse {
925
1270
  RequestId?: string;
926
1271
  }
927
1272
  /**
928
- * GenSingleDeviceSignatureOfPublic返回参数结构体
1273
+ * DescribeCloudStorageMultiThumbnail请求参数结构体
929
1274
  */
930
- export interface GenSingleDeviceSignatureOfPublicResponse {
1275
+ export interface DescribeCloudStorageMultiThumbnailRequest {
931
1276
  /**
932
- * 设备签名
1277
+ * 产品ID
933
1278
  */
934
- DeviceSignature: DeviceSignatureInfo;
1279
+ ProductId: string;
935
1280
  /**
936
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1281
+ * 设备名称
937
1282
  */
938
- RequestId?: string;
1283
+ DeviceName: string;
1284
+ /**
1285
+ * 多个缩略图文件名根据 | 分割
1286
+ */
1287
+ MultiThumbnail: string;
939
1288
  }
940
1289
  /**
941
- * DescribeDevicePositionList返回参数结构体
1290
+ * GenSingleDeviceSignatureOfPublic返回参数结构体
942
1291
  */
943
- export interface DescribeDevicePositionListResponse {
944
- /**
945
- * 产品设备位置信息列表
946
- */
947
- Positions: Array<ProductDevicesPositionItem>;
1292
+ export interface GenSingleDeviceSignatureOfPublicResponse {
948
1293
  /**
949
- * 产品设备位置信息的数目
1294
+ * 设备签名
950
1295
  */
951
- Total: number;
1296
+ DeviceSignature: DeviceSignatureInfo;
952
1297
  /**
953
1298
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
954
1299
  */
955
1300
  RequestId?: string;
956
1301
  }
957
1302
  /**
958
- * GetProjectList返回参数结构体
1303
+ * DeletePositionSpace请求参数结构体
959
1304
  */
960
- export interface GetProjectListResponse {
1305
+ export interface DeletePositionSpaceRequest {
961
1306
  /**
962
- * 项目列表
963
- 注意:此字段可能返回 null,表示取不到有效值。
1307
+ * 位置空间Id
964
1308
  */
965
- Projects?: Array<ProjectEntryEx>;
1309
+ SpaceId: string;
1310
+ }
1311
+ /**
1312
+ * DescribePackageConsumeTasks请求参数结构体
1313
+ */
1314
+ export interface DescribePackageConsumeTasksRequest {
966
1315
  /**
967
- * 列表项个数
968
- 注意:此字段可能返回 null,表示取不到有效值。
1316
+ * 分页单页量
969
1317
  */
970
- Total?: number;
1318
+ Limit: number;
971
1319
  /**
972
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1320
+ * 分页的偏移量,第一页为0
973
1321
  */
974
- RequestId?: string;
1322
+ Offset: number;
975
1323
  }
976
1324
  /**
977
1325
  * CreateProject请求参数结构体
@@ -1145,6 +1493,15 @@ export interface BindDeviceInfo {
1145
1493
  */
1146
1494
  DeviceName: string;
1147
1495
  }
1496
+ /**
1497
+ * DescribeCloudStorageOrder请求参数结构体
1498
+ */
1499
+ export interface DescribeCloudStorageOrderRequest {
1500
+ /**
1501
+ * 订单id
1502
+ */
1503
+ OrderId: string;
1504
+ }
1148
1505
  /**
1149
1506
  * ModifyProject请求参数结构体
1150
1507
  */
@@ -1195,6 +1552,23 @@ export interface DescribeBatchProductionResponse {
1195
1552
  */
1196
1553
  RequestId?: string;
1197
1554
  }
1555
+ /**
1556
+ * PublishRRPCMessage请求参数结构体
1557
+ */
1558
+ export interface PublishRRPCMessageRequest {
1559
+ /**
1560
+ * 产品ID
1561
+ */
1562
+ ProductId: string;
1563
+ /**
1564
+ * 设备名称
1565
+ */
1566
+ DeviceName: string;
1567
+ /**
1568
+ * 消息内容,utf8编码
1569
+ */
1570
+ Payload: string;
1571
+ }
1198
1572
  /**
1199
1573
  * ListTopicPolicy请求参数结构体
1200
1574
  */
@@ -1255,6 +1629,19 @@ export interface DeleteLoRaFrequencyRequest {
1255
1629
  */
1256
1630
  FreqId?: string;
1257
1631
  }
1632
+ /**
1633
+ * ModifyStudioProduct返回参数结构体
1634
+ */
1635
+ export interface ModifyStudioProductResponse {
1636
+ /**
1637
+ * 产品描述
1638
+ */
1639
+ Product?: ProductEntry;
1640
+ /**
1641
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1642
+ */
1643
+ RequestId?: string;
1644
+ }
1258
1645
  /**
1259
1646
  * ControlDeviceData请求参数结构体
1260
1647
  */
@@ -1329,21 +1716,21 @@ export interface DescribeSpaceFenceEventListResponse {
1329
1716
  RequestId?: string;
1330
1717
  }
1331
1718
  /**
1332
- * 围栏详细信息(包含创建时间及更新时间)
1719
+ * DescribePackageConsumeTasks返回参数结构体
1333
1720
  */
1334
- export interface PositionFenceInfo {
1721
+ export interface DescribePackageConsumeTasksResponse {
1335
1722
  /**
1336
- * 围栏信息
1723
+ * 总数
1337
1724
  */
1338
- GeoFence: PositionFenceItem;
1725
+ TotalCount?: number;
1339
1726
  /**
1340
- * 围栏创建时间
1727
+ * 任务列表
1341
1728
  */
1342
- CreateTime: number;
1729
+ List?: Array<PackageConsumeTask>;
1343
1730
  /**
1344
- * 围栏更新时间
1731
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1345
1732
  */
1346
- UpdateTime: number;
1733
+ RequestId?: string;
1347
1734
  }
1348
1735
  /**
1349
1736
  * DeleteLoRaGateway请求参数结构体
@@ -1464,7 +1851,24 @@ export interface ModifyTopicPolicyResponse {
1464
1851
  RequestId?: string;
1465
1852
  }
1466
1853
  /**
1467
- * GetPositionSpaceList请求参数结构体
1854
+ * DescribeCloudStorageStreamData返回参数结构体
1855
+ */
1856
+ export interface DescribeCloudStorageStreamDataResponse {
1857
+ /**
1858
+ * 图片流视频地址
1859
+ */
1860
+ VideoStream?: string;
1861
+ /**
1862
+ * 图片流音频地址
1863
+ */
1864
+ AudioStream?: string;
1865
+ /**
1866
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1867
+ */
1868
+ RequestId?: string;
1869
+ }
1870
+ /**
1871
+ * GetPositionSpaceList请求参数结构体
1468
1872
  */
1469
1873
  export interface GetPositionSpaceListRequest {
1470
1874
  /**
@@ -1640,6 +2044,23 @@ export interface UpdateDevicesEnableStateRequest {
1640
2044
  */
1641
2045
  Status: number;
1642
2046
  }
2047
+ /**
2048
+ * BindCloudStorageUser请求参数结构体
2049
+ */
2050
+ export interface BindCloudStorageUserRequest {
2051
+ /**
2052
+ * 产品ID
2053
+ */
2054
+ ProductId: string;
2055
+ /**
2056
+ * 设备名称
2057
+ */
2058
+ DeviceName: string;
2059
+ /**
2060
+ * 用户ID
2061
+ */
2062
+ UserId: string;
2063
+ }
1643
2064
  /**
1644
2065
  * DescribeTopicRule请求参数结构体
1645
2066
  */
@@ -1857,13 +2278,30 @@ export interface CreateDeviceRequest {
1857
2278
  DefinedPsk?: string;
1858
2279
  }
1859
2280
  /**
1860
- * DeletePositionSpace请求参数结构体
2281
+ * DescribeDevicePositionList返回参数结构体
1861
2282
  */
1862
- export interface DeletePositionSpaceRequest {
2283
+ export interface DescribeDevicePositionListResponse {
1863
2284
  /**
1864
- * 位置空间Id
2285
+ * 产品设备位置信息列表
1865
2286
  */
1866
- SpaceId: string;
2287
+ Positions: Array<ProductDevicesPositionItem>;
2288
+ /**
2289
+ * 产品设备位置信息的数目
2290
+ */
2291
+ Total: number;
2292
+ /**
2293
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2294
+ */
2295
+ RequestId?: string;
2296
+ }
2297
+ /**
2298
+ * InheritCloudStorageUser返回参数结构体
2299
+ */
2300
+ export interface InheritCloudStorageUserResponse {
2301
+ /**
2302
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2303
+ */
2304
+ RequestId?: string;
1867
2305
  }
1868
2306
  /**
1869
2307
  * GetStudioProductList请求参数结构体
@@ -1997,6 +2435,19 @@ export interface FirmwareInfo {
1997
2435
  */
1998
2436
  CreatorNickName: string;
1999
2437
  }
2438
+ /**
2439
+ * DescribeTopicPolicy请求参数结构体
2440
+ */
2441
+ export interface DescribeTopicPolicyRequest {
2442
+ /**
2443
+ * 产品ID
2444
+ */
2445
+ ProductId: string;
2446
+ /**
2447
+ * Topic名字
2448
+ */
2449
+ TopicName: string;
2450
+ }
2000
2451
  /**
2001
2452
  * DisableTopicRule返回参数结构体
2002
2453
  */
@@ -2027,6 +2478,23 @@ export interface TopicRuleInfo {
2027
2478
  */
2028
2479
  RuleDisabled: boolean;
2029
2480
  }
2481
+ /**
2482
+ * 围栏详细信息(包含创建时间及更新时间)
2483
+ */
2484
+ export interface PositionFenceInfo {
2485
+ /**
2486
+ * 围栏信息
2487
+ */
2488
+ GeoFence: PositionFenceItem;
2489
+ /**
2490
+ * 围栏创建时间
2491
+ */
2492
+ CreateTime: number;
2493
+ /**
2494
+ * 围栏更新时间
2495
+ */
2496
+ UpdateTime: number;
2497
+ }
2030
2498
  /**
2031
2499
  * DescribeDeviceLocationSolve返回参数结构体
2032
2500
  */
@@ -2079,6 +2547,28 @@ export interface CreateFenceBindRequest {
2079
2547
  */
2080
2548
  Items: Array<FenceBindProductItem>;
2081
2549
  }
2550
+ /**
2551
+ * CreateIotVideoCloudStorage返回参数结构体
2552
+ */
2553
+ export interface CreateIotVideoCloudStorageResponse {
2554
+ /**
2555
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2556
+ */
2557
+ RequestId?: string;
2558
+ }
2559
+ /**
2560
+ * DescribePackageConsumeTask返回参数结构体
2561
+ */
2562
+ export interface DescribePackageConsumeTaskResponse {
2563
+ /**
2564
+ * 文件下载的url,文件详情是套餐包消耗详情
2565
+ */
2566
+ URL?: string;
2567
+ /**
2568
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2569
+ */
2570
+ RequestId?: string;
2571
+ }
2082
2572
  /**
2083
2573
  * DescribeDevice返回参数结构体
2084
2574
  */
@@ -2093,25 +2583,45 @@ export interface DescribeDeviceResponse {
2093
2583
  RequestId?: string;
2094
2584
  }
2095
2585
  /**
2096
- * PublishBroadcastMessage请求参数结构体
2586
+ * DescribeCloudStorageEvents请求参数结构体
2097
2587
  */
2098
- export interface PublishBroadcastMessageRequest {
2588
+ export interface DescribeCloudStorageEventsRequest {
2099
2589
  /**
2100
2590
  * 产品ID
2101
2591
  */
2102
2592
  ProductId: string;
2103
2593
  /**
2104
- * 消息内容
2594
+ * 设备名称
2105
2595
  */
2106
- Payload: string;
2596
+ DeviceName: string;
2107
2597
  /**
2108
- * 消息质量等级
2598
+ * 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
2109
2599
  */
2110
- Qos: number;
2600
+ StartTime?: number;
2111
2601
  /**
2112
- * ayload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
2602
+ * 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
2113
2603
  */
2114
- PayloadEncoding?: string;
2604
+ EndTime?: number;
2605
+ /**
2606
+ * 请求上下文, 用作查询游标
2607
+ */
2608
+ Context?: string;
2609
+ /**
2610
+ * 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
2611
+ */
2612
+ Size?: number;
2613
+ /**
2614
+ * 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
2615
+ */
2616
+ EventId?: string;
2617
+ /**
2618
+ * 用户ID
2619
+ */
2620
+ UserId?: string;
2621
+ /**
2622
+ * 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
2623
+ */
2624
+ ChannelId?: number;
2115
2625
  }
2116
2626
  /**
2117
2627
  * ListFirmwares请求参数结构体
@@ -2181,66 +2691,67 @@ export interface PublishMessageRequest {
2181
2691
  PayloadEncoding?: string;
2182
2692
  }
2183
2693
  /**
2184
- * 子设备详情
2694
+ * DescribeCloudStorageMultiThumbnail返回参数结构体
2185
2695
  */
2186
- export interface FamilySubDevice {
2696
+ export interface DescribeCloudStorageMultiThumbnailResponse {
2187
2697
  /**
2188
- * 产品Id
2698
+ * 缩略图访问地址
2189
2699
  */
2190
- ProductId: string;
2700
+ ThumbnailURLInfoList?: Array<ThumbnailURLInfoList>;
2191
2701
  /**
2192
- * 设备名称
2702
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2193
2703
  */
2194
- DeviceName: string;
2704
+ RequestId?: string;
2705
+ }
2706
+ /**
2707
+ * ModifyTopicRule请求参数结构体
2708
+ */
2709
+ export interface ModifyTopicRuleRequest {
2195
2710
  /**
2196
- * 设备ID
2711
+ * 规则名称
2197
2712
  */
2198
- DeviceId: string;
2713
+ RuleName: string;
2199
2714
  /**
2200
- * 设备别名
2201
- 注意:此字段可能返回 null,表示取不到有效值。
2715
+ * 替换的规则包体
2202
2716
  */
2203
- AliasName: string;
2717
+ TopicRulePayload: TopicRulePayload;
2718
+ }
2719
+ /**
2720
+ * UploadFirmware请求参数结构体
2721
+ */
2722
+ export interface UploadFirmwareRequest {
2204
2723
  /**
2205
- * 设备绑定的家庭ID
2724
+ * 产品ID
2206
2725
  */
2207
- FamilyId: string;
2726
+ ProductID: string;
2208
2727
  /**
2209
- * 设备所在的房间ID,默认"0"
2210
- 注意:此字段可能返回 null,表示取不到有效值。
2728
+ * 固件版本号
2211
2729
  */
2212
- RoomId: string;
2730
+ FirmwareVersion: string;
2213
2731
  /**
2214
- * 图标
2215
- 注意:此字段可能返回 null,表示取不到有效值。
2732
+ * 固件的MD5值
2216
2733
  */
2217
- IconUrl: string;
2734
+ Md5sum: string;
2218
2735
  /**
2219
- * grid图标
2220
- 注意:此字段可能返回 null,表示取不到有效值。
2736
+ * 固件的大小
2221
2737
  */
2222
- IconUrlGrid: string;
2738
+ FileSize: number;
2223
2739
  /**
2224
- * 设备绑定时间戳
2740
+ * 固件名称
2225
2741
  */
2226
- CreateTime: number;
2742
+ FirmwareName?: string;
2227
2743
  /**
2228
- * 设备更新时间戳
2744
+ * 固件描述
2229
2745
  */
2230
- UpdateTime: number;
2231
- }
2232
- /**
2233
- * ModifyTopicRule请求参数结构体
2234
- */
2235
- export interface ModifyTopicRuleRequest {
2746
+ FirmwareDescription?: string;
2236
2747
  /**
2237
- * 规则名称
2748
+ * 固件升级模块;可选值 mcu|moudule
2238
2749
  */
2239
- RuleName: string;
2750
+ FwType?: string;
2240
2751
  /**
2241
- * 替换的规则包体
2752
+ * 固件用户自定义配置信息
2242
2753
  */
2243
- TopicRulePayload: TopicRulePayload;
2754
+ FirmwareUserDefined?: string;
2244
2755
  }
2245
2756
  /**
2246
2757
  * GetDeviceList请求参数结构体
@@ -2307,6 +2818,15 @@ export interface GetPositionSpaceListResponse {
2307
2818
  */
2308
2819
  RequestId?: string;
2309
2820
  }
2821
+ /**
2822
+ * 云存用户信息
2823
+ */
2824
+ export interface CloudStorageUserInfo {
2825
+ /**
2826
+ * 用户ID
2827
+ */
2828
+ UserId?: string;
2829
+ }
2310
2830
  /**
2311
2831
  * GetCOSURL返回参数结构体
2312
2832
  */
@@ -2350,6 +2870,27 @@ export interface GetTopicRuleListResponse {
2350
2870
  */
2351
2871
  RequestId?: string;
2352
2872
  }
2873
+ /**
2874
+ * ResetCloudStorageEvent请求参数结构体
2875
+ */
2876
+ export interface ResetCloudStorageEventRequest {
2877
+ /**
2878
+ * 产品ID
2879
+ */
2880
+ ProductId: string;
2881
+ /**
2882
+ * 设备名称
2883
+ */
2884
+ DeviceName: string;
2885
+ /**
2886
+ * 用户ID
2887
+ */
2888
+ UserId?: string;
2889
+ /**
2890
+ * 通道ID
2891
+ */
2892
+ ChannelId?: number;
2893
+ }
2353
2894
  /**
2354
2895
  * DescribeFenceEventList请求参数结构体
2355
2896
  */
@@ -2383,6 +2924,24 @@ export interface DescribeFenceEventListRequest {
2383
2924
  */
2384
2925
  DeviceName?: string;
2385
2926
  }
2927
+ /**
2928
+ * GetLoRaGatewayList返回参数结构体
2929
+ */
2930
+ export interface GetLoRaGatewayListResponse {
2931
+ /**
2932
+ * 返回总数
2933
+ */
2934
+ Total: number;
2935
+ /**
2936
+ * 返回详情项
2937
+ 注意:此字段可能返回 null,表示取不到有效值。
2938
+ */
2939
+ Gateways: Array<LoRaGatewayItem>;
2940
+ /**
2941
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2942
+ */
2943
+ RequestId?: string;
2944
+ }
2386
2945
  /**
2387
2946
  * ModifyPositionSpace请求参数结构体
2388
2947
  */
@@ -2413,18 +2972,17 @@ export interface ModifyPositionSpaceRequest {
2413
2972
  Icon?: string;
2414
2973
  }
2415
2974
  /**
2416
- * GetLoRaGatewayList返回参数结构体
2975
+ * DescribeGatewaySubProducts返回参数结构体
2417
2976
  */
2418
- export interface GetLoRaGatewayListResponse {
2977
+ export interface DescribeGatewaySubProductsResponse {
2419
2978
  /**
2420
- * 返回总数
2979
+ * 当前分页的可绑定或解绑的产品信息。
2421
2980
  */
2422
- Total: number;
2981
+ Products: Array<BindProductInfo>;
2423
2982
  /**
2424
- * 返回详情项
2425
- 注意:此字段可能返回 null,表示取不到有效值。
2983
+ * 可绑定或解绑的产品总数
2426
2984
  */
2427
- Gateways: Array<LoRaGatewayItem>;
2985
+ Total: number;
2428
2986
  /**
2429
2987
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2430
2988
  */
@@ -2583,24 +3141,74 @@ export interface CallDeviceActionAsyncResponse {
2583
3141
  RequestId?: string;
2584
3142
  }
2585
3143
  /**
2586
- * DeleteFenceBind返回参数结构体
3144
+ * DescribeCloudStoragePackageConsumeStats请求参数结构体
2587
3145
  */
2588
- export interface DeleteFenceBindResponse {
3146
+ export interface DescribeCloudStoragePackageConsumeStatsRequest {
2589
3147
  /**
2590
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3148
+ * 开始日期
2591
3149
  */
2592
- RequestId?: string;
3150
+ StartDate: string;
3151
+ /**
3152
+ * 结束日期,开始与结束日期间隔不可超过一年
3153
+ */
3154
+ EndDate: string;
2593
3155
  }
2594
3156
  /**
2595
- * DeleteTopicPolicy请求参数结构体
3157
+ * ListEventHistory请求参数结构体
2596
3158
  */
2597
- export interface DeleteTopicPolicyRequest {
3159
+ export interface ListEventHistoryRequest {
2598
3160
  /**
2599
3161
  * 产品ID
2600
3162
  */
2601
3163
  ProductId: string;
2602
3164
  /**
2603
- * Topic名称
3165
+ * 设备名称
3166
+ */
3167
+ DeviceName: string;
3168
+ /**
3169
+ * 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
3170
+ */
3171
+ Type?: string;
3172
+ /**
3173
+ * 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
3174
+ */
3175
+ StartTime?: number;
3176
+ /**
3177
+ * 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
3178
+ */
3179
+ EndTime?: number;
3180
+ /**
3181
+ * 搜索上下文, 用作查询游标
3182
+ */
3183
+ Context?: string;
3184
+ /**
3185
+ * 单次获取的历史数据项目的最大数量, 缺省10
3186
+ */
3187
+ Size?: number;
3188
+ /**
3189
+ * 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
3190
+ */
3191
+ EventId?: string;
3192
+ }
3193
+ /**
3194
+ * DeleteFenceBind返回参数结构体
3195
+ */
3196
+ export interface DeleteFenceBindResponse {
3197
+ /**
3198
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3199
+ */
3200
+ RequestId?: string;
3201
+ }
3202
+ /**
3203
+ * DeleteTopicPolicy请求参数结构体
3204
+ */
3205
+ export interface DeleteTopicPolicyRequest {
3206
+ /**
3207
+ * 产品ID
3208
+ */
3209
+ ProductId: string;
3210
+ /**
3211
+ * Topic名称
2604
3212
  */
2605
3213
  TopicName: string;
2606
3214
  }
@@ -2636,6 +3244,23 @@ export interface CreatePositionFenceResponse {
2636
3244
  */
2637
3245
  RequestId?: string;
2638
3246
  }
3247
+ /**
3248
+ * DescribeCloudStorageThumbnail请求参数结构体
3249
+ */
3250
+ export interface DescribeCloudStorageThumbnailRequest {
3251
+ /**
3252
+ * 产品ID
3253
+ */
3254
+ ProductId: string;
3255
+ /**
3256
+ * 设备名称
3257
+ */
3258
+ DeviceName: string;
3259
+ /**
3260
+ * 缩略图文件名
3261
+ */
3262
+ Thumbnail: string;
3263
+ }
2639
3264
  /**
2640
3265
  * PublishBroadcastMessage返回参数结构体
2641
3266
  */
@@ -2666,6 +3291,27 @@ export interface DescribeFenceBindListRequest {
2666
3291
  */
2667
3292
  Limit?: number;
2668
3293
  }
3294
+ /**
3295
+ * TransferCloudStorage请求参数结构体
3296
+ */
3297
+ export interface TransferCloudStorageRequest {
3298
+ /**
3299
+ * 产品ID
3300
+ */
3301
+ ProductId: string;
3302
+ /**
3303
+ * 已开通云存的设备名称
3304
+ */
3305
+ DeviceName: string;
3306
+ /**
3307
+ * 未开通云存的设备名称
3308
+ */
3309
+ ToDeviceName: string;
3310
+ /**
3311
+ * 未开通云存的设备产品ID
3312
+ */
3313
+ ToProductId?: string;
3314
+ }
2669
3315
  /**
2670
3316
  * DescribeBindedProducts返回参数结构体
2671
3317
  */
@@ -2780,6 +3426,19 @@ export interface DescribeDeviceRequest {
2780
3426
  */
2781
3427
  DeviceId?: string;
2782
3428
  }
3429
+ /**
3430
+ * ModifyModelDefinition请求参数结构体
3431
+ */
3432
+ export interface ModifyModelDefinitionRequest {
3433
+ /**
3434
+ * 产品ID
3435
+ */
3436
+ ProductId: string;
3437
+ /**
3438
+ * 数据模板定义
3439
+ */
3440
+ ModelSchema: string;
3441
+ }
2783
3442
  /**
2784
3443
  * DescribePositionFenceList请求参数结构体
2785
3444
  */
@@ -2866,17 +3525,33 @@ export interface DirectBindDeviceInFamilyRequest {
2866
3525
  RoomId?: string;
2867
3526
  }
2868
3527
  /**
2869
- * Topic信息, 包括Topic名字和权限
3528
+ * DescribeCloudStorageEvents返回参数结构体
2870
3529
  */
2871
- export interface TopicItem {
3530
+ export interface DescribeCloudStorageEventsResponse {
2872
3531
  /**
2873
- * Topic名称
3532
+ * 云存事件列表
2874
3533
  */
2875
- TopicName: string;
3534
+ Events?: Array<CloudStorageEvent>;
2876
3535
  /**
2877
- * Topic权限 , 1上报 2下发
3536
+ * 请求上下文, 用作查询游标
2878
3537
  */
2879
- Privilege: number;
3538
+ Context?: string;
3539
+ /**
3540
+ * 拉取结果是否已经结束
3541
+ */
3542
+ Listover?: boolean;
3543
+ /**
3544
+ * 内部结果数量,并不等同于事件总数。
3545
+ */
3546
+ Total?: number;
3547
+ /**
3548
+ * 视频播放URL
3549
+ */
3550
+ VideoURL?: string;
3551
+ /**
3552
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3553
+ */
3554
+ RequestId?: string;
2880
3555
  }
2881
3556
  /**
2882
3557
  * GetFamilyDeviceUserList请求参数结构体
@@ -2913,14 +3588,34 @@ export interface DescribeBindedProductsRequest {
2913
3588
  ProductSource?: number;
2914
3589
  }
2915
3590
  /**
2916
- * DescribeLoRaFrequency返回参数结构体
3591
+ * 云存事件
2917
3592
  */
2918
- export interface DescribeLoRaFrequencyResponse {
3593
+ export interface CloudStorageEvent {
2919
3594
  /**
2920
- * 返回详情项
2921
- 注意:此字段可能返回 null,表示取不到有效值。
3595
+ * 事件起始时间(Unix 时间戳,秒级
2922
3596
  */
2923
- Data: LoRaFrequencyEntry;
3597
+ StartTime: number;
3598
+ /**
3599
+ * 事件结束时间(Unix 时间戳,秒级
3600
+ */
3601
+ EndTime: number;
3602
+ /**
3603
+ * 事件缩略图
3604
+ */
3605
+ Thumbnail: string;
3606
+ /**
3607
+ * 事件ID
3608
+ */
3609
+ EventId: string;
3610
+ }
3611
+ /**
3612
+ * DescribeCloudStorageDate返回参数结构体
3613
+ */
3614
+ export interface DescribeCloudStorageDateResponse {
3615
+ /**
3616
+ * 云存日期数组,["2021-01-05","2021-01-06"]
3617
+ */
3618
+ Data?: Array<string>;
2924
3619
  /**
2925
3620
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2926
3621
  */
@@ -2959,6 +3654,19 @@ export interface DescribeGatewaySubDeviceListResponse {
2959
3654
  */
2960
3655
  RequestId?: string;
2961
3656
  }
3657
+ /**
3658
+ * Topic信息, 包括Topic名字和权限
3659
+ */
3660
+ export interface TopicItem {
3661
+ /**
3662
+ * Topic名称
3663
+ */
3664
+ TopicName: string;
3665
+ /**
3666
+ * Topic权限 , 1上报 2下发
3667
+ */
3668
+ Privilege: number;
3669
+ }
2962
3670
  /**
2963
3671
  * DescribeSpaceFenceEventList请求参数结构体
2964
3672
  */
@@ -3001,6 +3709,19 @@ export interface GetLoRaGatewayListRequest {
3001
3709
  */
3002
3710
  Limit?: number;
3003
3711
  }
3712
+ /**
3713
+ * 云存时间轴信息
3714
+ */
3715
+ export interface CloudStorageTimeInfo {
3716
+ /**
3717
+ * 开始时间
3718
+ */
3719
+ StartTime?: number;
3720
+ /**
3721
+ * 结束时间
3722
+ */
3723
+ EndTime?: number;
3724
+ }
3004
3725
  /**
3005
3726
  * 围栏事件详情
3006
3727
  */
@@ -3045,45 +3766,61 @@ export interface UnbindDevicesResponse {
3045
3766
  RequestId?: string;
3046
3767
  }
3047
3768
  /**
3048
- * ModifyLoRaFrequency请求参数结构体
3769
+ * CreateIotVideoCloudStorage请求参数结构体
3049
3770
  */
3050
- export interface ModifyLoRaFrequencyRequest {
3051
- /**
3052
- * 频点唯一ID
3053
- */
3054
- FreqId?: string;
3771
+ export interface CreateIotVideoCloudStorageRequest {
3055
3772
  /**
3056
- * 频点名称
3773
+ * 产品ID
3057
3774
  */
3058
- FreqName?: string;
3775
+ ProductId: string;
3059
3776
  /**
3060
- * 频点描述
3777
+ * 设备名称
3061
3778
  */
3062
- Description?: string;
3779
+ DeviceName: string;
3063
3780
  /**
3064
- * 数据上行信道
3781
+ * 云存套餐ID:
3782
+ yc1m3d : 全时3天存储月套餐。
3783
+ yc1m7d : 全时7天存储月套餐。
3784
+ yc1m30d :全时30天存储月套餐。
3785
+ yc1y3d :全时3天存储年套餐。
3786
+ yc1y7d :全时7天存储年套餐。
3787
+ yc1y30d :全时30天存储年套餐。
3788
+ ye1m3d :事件3天存储月套餐。
3789
+ ye1m7d :事件7天存储月套餐。
3790
+ ye1m30d :事件30天存储月套餐 。
3791
+ ye1y3d :事件3天存储年套餐。
3792
+ ye1y7d :事件7天存储年套餐。
3793
+ ye1y30d :事件30天存储年套餐。
3794
+ yc1w7d : 全时7天存储周套餐。
3795
+ ye1w7d : 事件7天存储周套餐。
3796
+ lye1m3d:低功耗事件3天月套餐。
3797
+ lye1m7d:低功耗事件7天月套餐。
3798
+ lye1m30d:低功耗事件30天月套餐。
3799
+ lye1y3d:低功耗事件3天年套餐。
3800
+ lye1y7d:低功耗事件7天年套餐。
3801
+ lye1y30d:低功耗事件30天年套餐。
3065
3802
  */
3066
- ChannelsDataUp?: Array<number | bigint>;
3803
+ PackageId: string;
3067
3804
  /**
3068
- * 数据下行信道RX1
3805
+ * 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
3069
3806
  */
3070
- ChannelsDataRX1?: Array<number | bigint>;
3807
+ Override?: number;
3071
3808
  /**
3072
- * 数据下行信道RX2
3809
+ * 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
3073
3810
  */
3074
- ChannelsDataRX2?: Array<number | bigint>;
3811
+ PackageQueue?: string;
3075
3812
  /**
3076
- * 入网上行信道
3813
+ * 订单id
3077
3814
  */
3078
- ChannelsJoinUp?: Array<number | bigint>;
3815
+ OrderId?: string;
3079
3816
  /**
3080
- * 入网下行信道RX1
3817
+ * 通道ID
3081
3818
  */
3082
- ChannelsJoinRX1?: Array<number | bigint>;
3819
+ ChannelId?: number;
3083
3820
  /**
3084
- * 入网下行信道RX2
3821
+ * 云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。
3085
3822
  */
3086
- ChannelsJoinRX2?: Array<number | bigint>;
3823
+ StorageRegion?: string;
3087
3824
  }
3088
3825
  /**
3089
3826
  * ModifyModelDefinition返回参数结构体
@@ -3094,6 +3831,19 @@ export interface ModifyModelDefinitionResponse {
3094
3831
  */
3095
3832
  RequestId?: string;
3096
3833
  }
3834
+ /**
3835
+ * DescribeCloudStoragePackageConsumeDetails请求参数结构体
3836
+ */
3837
+ export interface DescribeCloudStoragePackageConsumeDetailsRequest {
3838
+ /**
3839
+ * 开始日期
3840
+ */
3841
+ StartDate: string;
3842
+ /**
3843
+ * 结束日期
3844
+ */
3845
+ EndDate: string;
3846
+ }
3097
3847
  /**
3098
3848
  * UploadFirmware返回参数结构体
3099
3849
  */
@@ -3104,25 +3854,13 @@ export interface UploadFirmwareResponse {
3104
3854
  RequestId?: string;
3105
3855
  }
3106
3856
  /**
3107
- * ModifyTopicPolicy请求参数结构体
3857
+ * DescribePackageConsumeTask请求参数结构体
3108
3858
  */
3109
- export interface ModifyTopicPolicyRequest {
3110
- /**
3111
- * 产品ID
3112
- */
3113
- ProductId: string;
3114
- /**
3115
- * 更新前Topic名
3116
- */
3117
- TopicName: string;
3118
- /**
3119
- * 更新后Topic名
3120
- */
3121
- NewTopicName: string;
3859
+ export interface DescribePackageConsumeTaskRequest {
3122
3860
  /**
3123
- * Topic权限
3861
+ * 任务id
3124
3862
  */
3125
- Privilege: number;
3863
+ TaskId: number;
3126
3864
  }
3127
3865
  /**
3128
3866
  * DeleteTopicRule请求参数结构体
@@ -3146,6 +3884,15 @@ export interface CreateLoRaGatewayResponse {
3146
3884
  */
3147
3885
  RequestId?: string;
3148
3886
  }
3887
+ /**
3888
+ * BindCloudStorageUser返回参数结构体
3889
+ */
3890
+ export interface BindCloudStorageUserResponse {
3891
+ /**
3892
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3893
+ */
3894
+ RequestId?: string;
3895
+ }
3149
3896
  /**
3150
3897
  * DeleteTopicPolicy返回参数结构体
3151
3898
  */
@@ -3392,6 +4139,48 @@ export interface DescribeStudioProductRequest {
3392
4139
  */
3393
4140
  ProductId: string;
3394
4141
  }
4142
+ /**
4143
+ * 套餐包消耗任务列表
4144
+ */
4145
+ export interface PackageConsumeTask {
4146
+ /**
4147
+ * 任务id
4148
+ */
4149
+ TaskId?: number;
4150
+ /**
4151
+ * 任务创始时间
4152
+ */
4153
+ CreateTime?: string;
4154
+ /**
4155
+ * 任务状态,1待处理,2处理中,3已完成
4156
+ */
4157
+ State?: number;
4158
+ }
4159
+ /**
4160
+ * 云存套餐包消耗统计
4161
+ */
4162
+ export interface PackageConsumeStat {
4163
+ /**
4164
+ * 云存套餐包id
4165
+ */
4166
+ PackageId?: string;
4167
+ /**
4168
+ * 云存套餐包名称
4169
+ */
4170
+ PackageName?: string;
4171
+ /**
4172
+ * 消耗个数
4173
+ */
4174
+ Cnt?: number;
4175
+ /**
4176
+ * 套餐包单价,单位分
4177
+ */
4178
+ Price?: number;
4179
+ /**
4180
+ * 消耗来源,1预付费
4181
+ */
4182
+ Source?: number;
4183
+ }
3395
4184
  /**
3396
4185
  * CreatePositionSpace返回参数结构体
3397
4186
  */
@@ -3497,6 +4286,36 @@ export interface ModifyLoRaFrequencyResponse {
3497
4286
  */
3498
4287
  RequestId?: string;
3499
4288
  }
4289
+ /**
4290
+ * DescribeFenceBindList返回参数结构体
4291
+ */
4292
+ export interface DescribeFenceBindListResponse {
4293
+ /**
4294
+ * 围栏绑定的产品设备列表
4295
+ */
4296
+ List: Array<FenceBindProductItem>;
4297
+ /**
4298
+ * 围栏绑定的设备总数
4299
+ */
4300
+ Total: number;
4301
+ /**
4302
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4303
+ */
4304
+ RequestId?: string;
4305
+ }
4306
+ /**
4307
+ * DescribeCloudStorageThumbnailList返回参数结构体
4308
+ */
4309
+ export interface DescribeCloudStorageThumbnailListResponse {
4310
+ /**
4311
+ * 缩略图访问地址
4312
+ */
4313
+ ThumbnailURLInfoList?: Array<ThumbnailURLInfoList>;
4314
+ /**
4315
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4316
+ */
4317
+ RequestId?: string;
4318
+ }
3500
4319
  /**
3501
4320
  * DeletePositionFence请求参数结构体
3502
4321
  */
@@ -3511,11 +4330,29 @@ export interface DeletePositionFenceRequest {
3511
4330
  FenceId: number;
3512
4331
  }
3513
4332
  /**
3514
- * GetProjectList请求参数结构体
4333
+ * ResetCloudStorage返回参数结构体
3515
4334
  */
3516
- export interface GetProjectListRequest {
4335
+ export interface ResetCloudStorageResponse {
3517
4336
  /**
3518
- * 偏移量
4337
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4338
+ */
4339
+ RequestId?: string;
4340
+ }
4341
+ /**
4342
+ * ResetCloudStorageEvent返回参数结构体
4343
+ */
4344
+ export interface ResetCloudStorageEventResponse {
4345
+ /**
4346
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4347
+ */
4348
+ RequestId?: string;
4349
+ }
4350
+ /**
4351
+ * GetProjectList请求参数结构体
4352
+ */
4353
+ export interface GetProjectListRequest {
4354
+ /**
4355
+ * 偏移量
3519
4356
  */
3520
4357
  Offset?: number;
3521
4358
  /**
@@ -3730,6 +4567,39 @@ export interface ModifyProjectResponse {
3730
4567
  */
3731
4568
  RequestId?: string;
3732
4569
  }
4570
+ /**
4571
+ * DeleteCloudStorageEvent请求参数结构体
4572
+ */
4573
+ export interface DeleteCloudStorageEventRequest {
4574
+ /**
4575
+ * 产品ID
4576
+ */
4577
+ ProductId: string;
4578
+ /**
4579
+ * 设备名称
4580
+ */
4581
+ DeviceName: string;
4582
+ /**
4583
+ * 事件id
4584
+ */
4585
+ EventId: string;
4586
+ /**
4587
+ * 开始时间,unix时间
4588
+ */
4589
+ StartTime: number;
4590
+ /**
4591
+ * 结束时间,unix时间
4592
+ */
4593
+ EndTime: number;
4594
+ /**
4595
+ * 用户ID
4596
+ */
4597
+ UserId?: string;
4598
+ /**
4599
+ * 通道ID
4600
+ */
4601
+ ChannelId?: number;
4602
+ }
3733
4603
  /**
3734
4604
  * GetCOSURL请求参数结构体
3735
4605
  */
@@ -3757,70 +4627,97 @@ export interface DescribeLoRaFrequencyRequest {
3757
4627
  FreqId?: string;
3758
4628
  }
3759
4629
  /**
3760
- * DescribeGatewayBindDevices请求参数结构体
4630
+ * DescribeCloudStorage返回参数结构体
3761
4631
  */
3762
- export interface DescribeGatewayBindDevicesRequest {
4632
+ export interface DescribeCloudStorageResponse {
3763
4633
  /**
3764
- * 网关设备的产品ID
4634
+ * 云存开启状态,1为开启,0为未开启或已过期
3765
4635
  */
3766
- GatewayProductId: string;
4636
+ Status?: number;
3767
4637
  /**
3768
- * 网关设备的设备名
4638
+ * 云存类型,1为全时云存,2为事件云存
3769
4639
  */
3770
- GatewayDeviceName: string;
4640
+ Type?: number;
3771
4641
  /**
3772
- * 子产品的ID
4642
+ * 云存套餐过期时间
3773
4643
  */
3774
- ProductId: string;
4644
+ ExpireTime?: number;
3775
4645
  /**
3776
- * 分页的偏移
4646
+ * 云存回看时长
3777
4647
  */
3778
- Offset: number;
4648
+ ShiftDuration?: number;
3779
4649
  /**
3780
- * 分页的页大小
4650
+ * 云存用户ID
4651
+ 注意:此字段可能返回 null,表示取不到有效值。
3781
4652
  */
3782
- Limit: number;
4653
+ UserId?: string;
4654
+ /**
4655
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4656
+ */
4657
+ RequestId?: string;
3783
4658
  }
3784
4659
  /**
3785
- * GetDeviceSumStatistics返回参数结构体
4660
+ * ResetCloudStorage请求参数结构体
3786
4661
  */
3787
- export interface GetDeviceSumStatisticsResponse {
4662
+ export interface ResetCloudStorageRequest {
3788
4663
  /**
3789
- * 激活设备总数
4664
+ * 产品ID
3790
4665
  */
3791
- ActivationCount?: number;
4666
+ ProductId: string;
3792
4667
  /**
3793
- * 在线设备总数
4668
+ * 设备名称
3794
4669
  */
3795
- OnlineCount?: number;
4670
+ DeviceName: string;
3796
4671
  /**
3797
- * 前一天激活设备数
4672
+ * 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
3798
4673
  */
3799
- ActivationBeforeDay?: number;
4674
+ ChannelId?: number;
3800
4675
  /**
3801
- * 前一天活跃设备数
4676
+ * 云存用户Id,为空则为默认云存空间。
3802
4677
  */
3803
- ActiveBeforeDay?: number;
4678
+ UserId?: string;
4679
+ }
4680
+ /**
4681
+ * DescribeGatewayBindDevices请求参数结构体
4682
+ */
4683
+ export interface DescribeGatewayBindDevicesRequest {
3804
4684
  /**
3805
- * 前一周激活设备数
4685
+ * 网关设备的产品ID
3806
4686
  */
3807
- ActivationWeekDayCount?: number;
4687
+ GatewayProductId: string;
3808
4688
  /**
3809
- * 前一周活跃设备数
4689
+ * 网关设备的设备名
3810
4690
  */
3811
- ActiveWeekDayCount?: number;
4691
+ GatewayDeviceName: string;
3812
4692
  /**
3813
- * 上一周激活设备数
4693
+ * 子产品的ID
3814
4694
  */
3815
- ActivationBeforeWeekDayCount?: number;
4695
+ ProductId: string;
3816
4696
  /**
3817
- * 上一周活跃设备数
4697
+ * 分页的偏移
3818
4698
  */
3819
- ActiveBeforeWeekDayCount?: number;
4699
+ Offset: number;
3820
4700
  /**
3821
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4701
+ * 分页的页大小
3822
4702
  */
3823
- RequestId?: string;
4703
+ Limit: number;
4704
+ }
4705
+ /**
4706
+ * DescribeCloudStorageStreamData请求参数结构体
4707
+ */
4708
+ export interface DescribeCloudStorageStreamDataRequest {
4709
+ /**
4710
+ * 产品ID
4711
+ */
4712
+ ProductId: string;
4713
+ /**
4714
+ * 设备名称
4715
+ */
4716
+ DeviceName: string;
4717
+ /**
4718
+ * 图片流事件开始时间
4719
+ */
4720
+ StartTime: number;
3824
4721
  }
3825
4722
  /**
3826
4723
  * DescribeGatewaySubProducts请求参数结构体
@@ -3900,6 +4797,48 @@ export interface PublishMessageResponse {
3900
4797
  */
3901
4798
  RequestId?: string;
3902
4799
  }
4800
+ /**
4801
+ * ModifyTopicPolicy请求参数结构体
4802
+ */
4803
+ export interface ModifyTopicPolicyRequest {
4804
+ /**
4805
+ * 产品ID
4806
+ */
4807
+ ProductId: string;
4808
+ /**
4809
+ * 更新前Topic名
4810
+ */
4811
+ TopicName: string;
4812
+ /**
4813
+ * 更新后Topic名
4814
+ */
4815
+ NewTopicName: string;
4816
+ /**
4817
+ * Topic权限
4818
+ */
4819
+ Privilege: number;
4820
+ }
4821
+ /**
4822
+ * DescribeCloudStorage请求参数结构体
4823
+ */
4824
+ export interface DescribeCloudStorageRequest {
4825
+ /**
4826
+ * 产品ID
4827
+ */
4828
+ ProductId: string;
4829
+ /**
4830
+ * 设备名称
4831
+ */
4832
+ DeviceName: string;
4833
+ /**
4834
+ * 云存用户ID
4835
+ */
4836
+ UserId?: string;
4837
+ /**
4838
+ * 通道ID 非NVR设备不填 NVR设备必填 默认为无
4839
+ */
4840
+ ChannelId?: number;
4841
+ }
3903
4842
  /**
3904
4843
  * BindDevices返回参数结构体
3905
4844
  */
@@ -3910,17 +4849,30 @@ export interface BindDevicesResponse {
3910
4849
  RequestId?: string;
3911
4850
  }
3912
4851
  /**
3913
- * DescribeFenceBindList返回参数结构体
4852
+ * GenerateSignedVideoURL返回参数结构体
3914
4853
  */
3915
- export interface DescribeFenceBindListResponse {
4854
+ export interface GenerateSignedVideoURLResponse {
3916
4855
  /**
3917
- * 围栏绑定的产品设备列表
4856
+ * 视频防盗链播放URL
3918
4857
  */
3919
- List: Array<FenceBindProductItem>;
4858
+ SignedVideoURL?: string;
3920
4859
  /**
3921
- * 围栏绑定的设备总数
4860
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3922
4861
  */
3923
- Total: number;
4862
+ RequestId?: string;
4863
+ }
4864
+ /**
4865
+ * DescribeCloudStorageThumbnail返回参数结构体
4866
+ */
4867
+ export interface DescribeCloudStorageThumbnailResponse {
4868
+ /**
4869
+ * 缩略图访问地址
4870
+ */
4871
+ ThumbnailURL?: string;
4872
+ /**
4873
+ * 缩略图访问地址的过期时间
4874
+ */
4875
+ ExpireTime?: number;
3924
4876
  /**
3925
4877
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3926
4878
  */
@@ -3979,13 +4931,25 @@ export interface EnableTopicRuleRequest {
3979
4931
  RuleName: string;
3980
4932
  }
3981
4933
  /**
3982
- * DisableTopicRule请求参数结构体
4934
+ * DescribeCloudStorageUsers请求参数结构体
3983
4935
  */
3984
- export interface DisableTopicRuleRequest {
4936
+ export interface DescribeCloudStorageUsersRequest {
3985
4937
  /**
3986
- * 规则名称
4938
+ * 产品ID
3987
4939
  */
3988
- RuleName: string;
4940
+ ProductId: string;
4941
+ /**
4942
+ * 设备名称
4943
+ */
4944
+ DeviceName: string;
4945
+ /**
4946
+ * 分页拉取数量
4947
+ */
4948
+ Limit: number;
4949
+ /**
4950
+ * 分页拉取偏移
4951
+ */
4952
+ Offset: number;
3989
4953
  }
3990
4954
  /**
3991
4955
  * CreateTopicRule返回参数结构体
@@ -4009,6 +4973,41 @@ export interface DescribeDeviceDataResponse {
4009
4973
  */
4010
4974
  RequestId?: string;
4011
4975
  }
4976
+ /**
4977
+ * DescribeCloudStorageOrder返回参数结构体
4978
+ */
4979
+ export interface DescribeCloudStorageOrderResponse {
4980
+ /**
4981
+ * 云存套餐开始时间
4982
+ 注意:此字段可能返回 null,表示取不到有效值。
4983
+ */
4984
+ StartTime?: number;
4985
+ /**
4986
+ * 云存套餐过期时间
4987
+ 注意:此字段可能返回 null,表示取不到有效值。
4988
+ */
4989
+ ExpireTime?: number;
4990
+ /**
4991
+ * 套餐id
4992
+ 注意:此字段可能返回 null,表示取不到有效值。
4993
+ */
4994
+ PackageId?: string;
4995
+ /**
4996
+ * 套餐状态
4997
+ 0:等待生效
4998
+ 1: 已过期
4999
+ 2:生效
5000
+ */
5001
+ Status?: number;
5002
+ /**
5003
+ * 通道id
5004
+ */
5005
+ ChannelId?: number;
5006
+ /**
5007
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5008
+ */
5009
+ RequestId?: string;
5010
+ }
4012
5011
  /**
4013
5012
  * CreateTopicRule请求参数结构体
4014
5013
  */
@@ -4064,6 +5063,24 @@ export interface DeviceUser {
4064
5063
  */
4065
5064
  FamilyName?: string;
4066
5065
  }
5066
+ /**
5067
+ * DescribeDevicePackages返回参数结构体
5068
+ */
5069
+ export interface DescribeDevicePackagesResponse {
5070
+ /**
5071
+ * 有效云存套餐数量
5072
+ */
5073
+ TotalCount?: number;
5074
+ /**
5075
+ * 有效云存套餐列表
5076
+ 注意:此字段可能返回 null,表示取不到有效值。
5077
+ */
5078
+ Packages?: Array<PackageInfo>;
5079
+ /**
5080
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5081
+ */
5082
+ RequestId?: string;
5083
+ }
4067
5084
  /**
4068
5085
  * GetBatchProductionsList请求参数结构体
4069
5086
  */
@@ -4208,6 +5225,15 @@ export interface DeviceInfo {
4208
5225
  */
4209
5226
  IsLora: boolean;
4210
5227
  }
5228
+ /**
5229
+ * ModifyFenceBind返回参数结构体
5230
+ */
5231
+ export interface ModifyFenceBindResponse {
5232
+ /**
5233
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5234
+ */
5235
+ RequestId?: string;
5236
+ }
4211
5237
  /**
4212
5238
  * DescribeInstance请求参数结构体
4213
5239
  */
@@ -4340,70 +5366,51 @@ export interface InstanceDetail {
4340
5366
  MaxDeviceOnlineCount?: number;
4341
5367
  }
4342
5368
  /**
4343
- * ModifyLoRaGateway请求参数结构体
5369
+ * DescribeLoRaFrequency返回参数结构体
4344
5370
  */
4345
- export interface ModifyLoRaGatewayRequest {
4346
- /**
4347
- * 描述信息
4348
- */
4349
- Description: string;
4350
- /**
4351
- * LoRa网关Id
4352
- */
4353
- GatewayId: string;
4354
- /**
4355
- * LoRa网关位置坐标
4356
- */
4357
- Location: LoRaGatewayLocation;
4358
- /**
4359
- * LoRa网关名称
4360
- */
4361
- Name: string;
5371
+ export interface DescribeLoRaFrequencyResponse {
4362
5372
  /**
4363
- * 是否公开可见
5373
+ * 返回详情项
5374
+ 注意:此字段可能返回 null,表示取不到有效值。
4364
5375
  */
4365
- IsPublic?: boolean;
5376
+ Data: LoRaFrequencyEntry;
4366
5377
  /**
4367
- * 位置信息
5378
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4368
5379
  */
4369
- Position?: string;
5380
+ RequestId?: string;
5381
+ }
5382
+ /**
5383
+ * DescribeCloudStorageTime请求参数结构体
5384
+ */
5385
+ export interface DescribeCloudStorageTimeRequest {
4370
5386
  /**
4371
- * 位置详情
5387
+ * 产品ID
4372
5388
  */
4373
- PositionDetails?: string;
5389
+ ProductId: string;
4374
5390
  /**
4375
- * 频点ID
5391
+ * 设备名称
4376
5392
  */
4377
- FrequencyId?: string;
4378
- }
4379
- /**
4380
- * ListEventHistory返回参数结构体
4381
- */
4382
- export interface ListEventHistoryResponse {
5393
+ DeviceName: string;
4383
5394
  /**
4384
- * 搜索上下文, 用作查询游标
4385
- 注意:此字段可能返回 null,表示取不到有效值。
5395
+ * 云存日期,例如"2020-01-05"
4386
5396
  */
4387
- Context: string;
5397
+ Date: string;
4388
5398
  /**
4389
- * 搜索结果数量
4390
- 注意:此字段可能返回 null,表示取不到有效值。
5399
+ * 开始时间,unix时间
4391
5400
  */
4392
- Total: number;
5401
+ StartTime?: number;
4393
5402
  /**
4394
- * 搜索结果是否已经结束
4395
- 注意:此字段可能返回 null,表示取不到有效值。
5403
+ * 结束时间,unix时间
4396
5404
  */
4397
- Listover: boolean;
5405
+ EndTime?: number;
4398
5406
  /**
4399
- * 搜集结果集
4400
- 注意:此字段可能返回 null,表示取不到有效值。
5407
+ * 用户ID
4401
5408
  */
4402
- EventHistory: Array<EventHistoryItem>;
5409
+ UserId?: string;
4403
5410
  /**
4404
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5411
+ * 通道ID
4405
5412
  */
4406
- RequestId?: string;
5413
+ ChannelId?: number;
4407
5414
  }
4408
5415
  /**
4409
5416
  * GetBatchProductionsList返回参数结构体