@ray-js/api 0.20.0-beta.0 → 0.20.0-beta.1

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.
@@ -0,0 +1,960 @@
1
+ export interface Scene {
2
+ dpId: number;
3
+ bindType: number;
4
+ /**
5
+ * 按键ID
6
+ */
7
+ btnId: number;
8
+ devId: string;
9
+ /**
10
+ * 触发条件
11
+ */
12
+ dpValue: string;
13
+ /**
14
+ * 规则ID
15
+ */
16
+ ruleId: string;
17
+ gwId?: string;
18
+ localSid?: string;
19
+ ruleBackground?: string;
20
+ actionExcutor?: string[];
21
+ condRuleId?: string;
22
+ ruleName?: string;
23
+ }
24
+ export interface Bill {
25
+ devId: string;
26
+ unit: string;
27
+ notificationStatus: boolean;
28
+ price: number;
29
+ billType: number;
30
+ threshold: number;
31
+ position: string;
32
+ cycle: string;
33
+ }
34
+ export interface Automation {
35
+ attribute: number;
36
+ auditStatus: number;
37
+ background: string;
38
+ boundForPanel: boolean;
39
+ boundForWiFiPanel: boolean;
40
+ code: string;
41
+ commonField: string;
42
+ coverIcon: string;
43
+ disableTime: number;
44
+ displayColor: string;
45
+ enabled: boolean;
46
+ gmtCreate: number;
47
+ gmtModified: number;
48
+ id: string;
49
+ iotAutoAlarm: boolean;
50
+ localLinkage: boolean;
51
+ logicRule: boolean;
52
+ matchType: number;
53
+ name: string;
54
+ newLocalScene: boolean;
55
+ ownerId: string;
56
+ ruleSource: number;
57
+ ruleType: number;
58
+ scenarioRule: boolean;
59
+ stickyOnTop: boolean;
60
+ uid: string;
61
+ }
62
+ export interface AlarmList {
63
+ auditStatus: number;
64
+ boundForPanel: boolean;
65
+ boundForWiFiPanel: boolean;
66
+ enabled: boolean;
67
+ i18nData: {
68
+ name: {
69
+ en: string;
70
+ zh: string;
71
+ };
72
+ content: {
73
+ en: string;
74
+ zh: string;
75
+ };
76
+ };
77
+ id: string;
78
+ iotAutoAlarm: boolean;
79
+ isLogicRule: boolean;
80
+ localLinkage: boolean;
81
+ name: string;
82
+ newLocalScene: boolean;
83
+ stickyOnTop: boolean;
84
+ }
85
+ export interface ISelectedScene {
86
+ devId: string;
87
+ dpId: string | number;
88
+ dpValue: string | number | boolean;
89
+ btnId: string;
90
+ ruleId: string;
91
+ }
92
+ export interface IBindScene {
93
+ devId: string;
94
+ btnId: string;
95
+ }
96
+ export interface IAndSingleTime {
97
+ bizId: string;
98
+ bizType: string;
99
+ actions: any;
100
+ loops?: string;
101
+ category?: string;
102
+ status?: number;
103
+ isAppPush?: boolean;
104
+ aliasName?: string;
105
+ }
106
+ export interface IQueryTimerTasks {
107
+ bizId: string;
108
+ bizType: string;
109
+ category: string;
110
+ }
111
+ export declare type Timers = Array<{
112
+ /**
113
+ * 初始化状态,0:关闭;1:开启。
114
+ */
115
+ status: number;
116
+ /**
117
+ * 在0000000基础上,把所选择日期对应位置的 0 改成 1,第一位表示周日。
118
+ */
119
+ loops: string;
120
+ /**
121
+ * 定时时间。
122
+ */
123
+ time: string;
124
+ /**
125
+ * 定时任务主键。
126
+ */
127
+ id: number;
128
+ /**
129
+ * 是否发送执行通知。
130
+ */
131
+ isAppPush: boolean;
132
+ /**
133
+ * DP 值。
134
+ */
135
+ dps: string;
136
+ /**
137
+ * 分组定时排序。
138
+ */
139
+ groupOrder: number;
140
+ /**
141
+ * 分组定时 ID。
142
+ */
143
+ groupId: string;
144
+ /**
145
+ * 分组定时定时备注。
146
+ */
147
+ aliasName: string;
148
+ }>;
149
+ export interface IQueryTimerTasksResponse {
150
+ /**
151
+ * 定时分类状态
152
+ */
153
+ categoryStatus: number;
154
+ /**
155
+ * 定时任务 ID
156
+ */
157
+ id: string;
158
+ /**
159
+ * 定时分类
160
+ */
161
+ category: string;
162
+ /**
163
+ * 见Timers
164
+ */
165
+ timers: Timers[];
166
+ }
167
+ export interface IModifySingleTimer {
168
+ bizId: string;
169
+ bizType: string;
170
+ id: string | number;
171
+ actions: any;
172
+ loops?: string;
173
+ status?: number;
174
+ isAppPush?: boolean;
175
+ aliasName?: string;
176
+ }
177
+ export interface IAndGroupTimer {
178
+ bizId: string;
179
+ bizType: string;
180
+ actionsArray: any;
181
+ loops?: string;
182
+ category?: string;
183
+ status?: number;
184
+ isAppPush?: boolean;
185
+ aliasName?: string;
186
+ }
187
+ export interface IModifyGroupTimer {
188
+ bizId: string;
189
+ bizType: string;
190
+ actionsArray: any;
191
+ loops?: string;
192
+ status?: number;
193
+ isAppPush?: boolean;
194
+ aliasName?: string;
195
+ }
196
+ export interface IModDeleteTaskByIds {
197
+ bizId: string;
198
+ bizType: string;
199
+ ids: string;
200
+ status: number;
201
+ }
202
+ export interface IModDeleteTaskByCategory {
203
+ bizId: string;
204
+ bizType: string;
205
+ category: string;
206
+ status: number;
207
+ }
208
+ export interface IGetDpLastTimer {
209
+ bizId: string;
210
+ type: string;
211
+ instruct?: string;
212
+ }
213
+ export interface IGetDpLastTimerResponse {
214
+ /**
215
+ * 定时时间
216
+ */
217
+ time: string;
218
+ /**
219
+ * 定时任务状态,0:关闭,1:开启,2:无效/已删除
220
+ */
221
+ status: number;
222
+ /**
223
+ * 定制类项目标识
224
+ */
225
+ project: number;
226
+ /**
227
+ * 定时动作
228
+ */
229
+ actionStr: string;
230
+ /**
231
+ * 分组定时排序
232
+ */
233
+ groupOrder: number;
234
+ /**
235
+ * 修改时间
236
+ */
237
+ gmtModified: number;
238
+ /**
239
+ * 创建时间
240
+ */
241
+ gmtCreate: number;
242
+ /**
243
+ * 设备 UUID
244
+ */
245
+ uuid: string;
246
+ /**
247
+ * 定时运行模式,0:云端定时,1:本地定时
248
+ */
249
+ runMode: number;
250
+ /**
251
+ * 设备 ID
252
+ */
253
+ devId: string;
254
+ /**
255
+ * 定时任务 ID
256
+ */
257
+ id: number;
258
+ /**
259
+ * 日期
260
+ */
261
+ date: string;
262
+ /**
263
+ * 时区
264
+ */
265
+ timeZone: string;
266
+ /**
267
+ * UID
268
+ */
269
+ uid: string;
270
+ /**
271
+ * 时区 ID
272
+ */
273
+ timezoneId: string;
274
+ /**
275
+ * 资源类型。0:单设备;1:群组设备。
276
+ */
277
+ bizType: any;
278
+ /**
279
+ * action中的value
280
+ */
281
+ value: any;
282
+ /**
283
+ * 分组定时 ID
284
+ */
285
+ groupId: string;
286
+ /**
287
+ * 周循环
288
+ */
289
+ loops: string;
290
+ /**
291
+ * 定时类型,0:普通定时,5:天文定时
292
+ */
293
+ timerType: number;
294
+ /**
295
+ * 定时业务分类,不同业务方使用不同的 categoryId 做区分
296
+ */
297
+ categoryId: string;
298
+ }
299
+ export interface IGetLastTimerPeriod {
300
+ devId: string;
301
+ instruct?: string;
302
+ }
303
+ export interface IGetLastTimerPeriodResponse {
304
+ /**
305
+ * 定时分类状态。
306
+ */
307
+ categoryStatus: number;
308
+ /**
309
+ * 定时任务 ID。
310
+ */
311
+ id: string;
312
+ /**
313
+ * 定时分类。
314
+ */
315
+ category: string;
316
+ /**
317
+ * 见Timers。
318
+ */
319
+ timers: Timers[];
320
+ }
321
+ export interface IGetAstronomicalList {
322
+ bizId: string;
323
+ }
324
+ export interface IGetAstronomicalListResponse {
325
+ categoryStatus: number;
326
+ id: string;
327
+ category: string;
328
+ timers: Array<{
329
+ status: number;
330
+ loops: string;
331
+ time: string;
332
+ id: number;
333
+ isAppPush: boolean;
334
+ dps: string;
335
+ groupOrder: number;
336
+ groupId: string;
337
+ aliasName: string;
338
+ }>;
339
+ }
340
+ export interface IAstronomical {
341
+ bizId: string;
342
+ bizType: number;
343
+ loops: string;
344
+ dps: any;
345
+ astronomicalType: number;
346
+ timezone: string;
347
+ date: string;
348
+ time: string;
349
+ offsetType: number;
350
+ lat: number;
351
+ lon: number;
352
+ }
353
+ export interface IUpdateAstronomicalStatus {
354
+ id: string;
355
+ status: number;
356
+ }
357
+ export interface IUpdateBillConfigure {
358
+ devId: string;
359
+ unit: number;
360
+ notificationStatus: boolean;
361
+ threshold: number;
362
+ cycle: string;
363
+ position: string;
364
+ price: number;
365
+ billType: number;
366
+ }
367
+ export interface IGetDpsInfos {
368
+ gwId: string;
369
+ devId: string;
370
+ }
371
+ export interface IGetDpsInfosResponse {
372
+ /**
373
+ * DP Code
374
+ */
375
+ code: string;
376
+ /**
377
+ * DP ID
378
+ */
379
+ dpId: number;
380
+ /**
381
+ * DP 值
382
+ */
383
+ value: string;
384
+ /**
385
+ * DP 名称
386
+ */
387
+ name: string;
388
+ /**
389
+ * DP 最近上报时间
390
+ */
391
+ time: number;
392
+ /**
393
+ * DP 类型
394
+ */
395
+ type: string;
396
+ }
397
+ export interface IUpdateDpName {
398
+ gwId: string;
399
+ devId: string;
400
+ dpId: string;
401
+ name: string;
402
+ }
403
+ export interface IGetGroupDpsInfosResponse {
404
+ /**
405
+ * DP Code
406
+ */
407
+ code: string;
408
+ /**
409
+ * DP ID
410
+ */
411
+ dpId: number;
412
+ /**
413
+ * DP 值
414
+ */
415
+ value: string;
416
+ /**
417
+ * DP 名称
418
+ */
419
+ name: string;
420
+ /**
421
+ * DP 最近上报时间
422
+ */
423
+ time: number;
424
+ /**
425
+ * DP 类型
426
+ */
427
+ type: string;
428
+ }
429
+ export interface IUpdateGroupDpName {
430
+ group: string;
431
+ dpId: string;
432
+ name: string;
433
+ }
434
+ export interface IGetWeatherQuality {
435
+ devId: string;
436
+ isLocal: boolean;
437
+ }
438
+ export interface IGetWeatherQualityResponse {
439
+ c: Array<{
440
+ /**
441
+ * 城市名称
442
+ */
443
+ name: string;
444
+ /**
445
+ * 城市 ID
446
+ */
447
+ id: number;
448
+ }>;
449
+ w: Array<{
450
+ /**
451
+ * 风向
452
+ */
453
+ windDir: string;
454
+ /**
455
+ * 概述
456
+ */
457
+ tips: string;
458
+ /**
459
+ * 体感温度
460
+ */
461
+ realFeel: number;
462
+ /**
463
+ * 二氧化氮
464
+ */
465
+ no2: number;
466
+ /**
467
+ * 二氧化硫
468
+ */
469
+ so2: number;
470
+ /**
471
+ * 时区
472
+ */
473
+ zoneId: string;
474
+ /**
475
+ * 空气湿度
476
+ */
477
+ humidity: number;
478
+ /**
479
+ * 风速,国内外都是 m/s
480
+ */
481
+ windSpeed: string;
482
+ /**
483
+ * 温度 ,国内外都是单位摄氏度
484
+ */
485
+ temp: number;
486
+ /**
487
+ * 臭氧
488
+ */
489
+ o3: number;
490
+ /**
491
+ * PM10
492
+ */
493
+ pm10: number;
494
+ /**
495
+ * 大气气压
496
+ */
497
+ pressure: number;
498
+ /**
499
+ * 一氧化碳
500
+ */
501
+ co: number;
502
+ /**
503
+ * 空气质量评分等级
504
+ */
505
+ qualityLevel: number;
506
+ /**
507
+ * 空气质量评分
508
+ */
509
+ quality: string;
510
+ /**
511
+ * 天气文本描述
512
+ */
513
+ condition: string;
514
+ /**
515
+ * PM25
516
+ */
517
+ pm25: number;
518
+ /**
519
+ * 天气图标地址
520
+ */
521
+ condIconUrl: string;
522
+ /**
523
+ * 空气质量
524
+ */
525
+ aqi: number;
526
+ /**
527
+ * 天气文本编号
528
+ */
529
+ conditionNum: string;
530
+ /**
531
+ * 日出时间文本
532
+ */
533
+ sunRise: string;
534
+ /**
535
+ * 日落时间文本
536
+ */
537
+ sunSet: string;
538
+ /**
539
+ * 日落时间戳
540
+ */
541
+ sunSetTimestamp: number;
542
+ /**
543
+ * 日出时间戳
544
+ */
545
+ sunRiseTimestamp: number;
546
+ }>;
547
+ }
548
+ export interface IGetWeathers {
549
+ devId: string;
550
+ dataRange?: number;
551
+ }
552
+ export interface IGetWeathersResponse {
553
+ c: Array<{
554
+ /**
555
+ * 城市名称
556
+ */
557
+ name: string;
558
+ /**
559
+ * 城市 ID
560
+ */
561
+ id: number;
562
+ }>;
563
+ weathers: Array<{
564
+ /**
565
+ * 风向
566
+ */
567
+ temp: number;
568
+ /**
569
+ * 日落文本
570
+ */
571
+ thigh: number;
572
+ /**
573
+ * 概述
574
+ */
575
+ pressure: number;
576
+ /**
577
+ * 体感温度
578
+ */
579
+ condition: string;
580
+ /**
581
+ * 二氧化氮
582
+ */
583
+ tlow: number;
584
+ /**
585
+ * 日落时间戳
586
+ */
587
+ condIconUrl: string;
588
+ /**
589
+ * 空气湿度
590
+ */
591
+ humidity: number;
592
+ /**
593
+ * 天气文本编号
594
+ */
595
+ conditionNum: string;
596
+ /**
597
+ * 风速,国内外都是 m/s
598
+ */
599
+ windSpeed: string;
600
+ /**
601
+ * 风向
602
+ */
603
+ windDir: string;
604
+ /**
605
+ * 风速等级
606
+ */
607
+ windLevel: number;
608
+ /**
609
+ * 时区
610
+ */
611
+ zoneId: string;
612
+ /**
613
+ * 日出时间文本
614
+ */
615
+ sunRise: string;
616
+ /**
617
+ * 日落时间文本
618
+ */
619
+ sunSet: string;
620
+ /**
621
+ * 日落时间戳
622
+ */
623
+ sunSetTimestamp: number;
624
+ /**
625
+ * 日出时间戳
626
+ */
627
+ sunRiseTimestamp: number;
628
+ }>;
629
+ }
630
+ export interface ISaveCustomizePosition {
631
+ devId: string;
632
+ lon: string;
633
+ lat: string;
634
+ locationName?: string;
635
+ }
636
+ export interface IGetCustomizePosition {
637
+ devId: string;
638
+ }
639
+ export interface IGetCustomizePositionResponse {
640
+ /**
641
+ * 经度
642
+ */
643
+ lon: string;
644
+ /**
645
+ * 纬度
646
+ */
647
+ lat: string;
648
+ }
649
+ export interface IGetLogInSpecifiedTime {
650
+ devId: string;
651
+ dpIds: string;
652
+ offset: number;
653
+ limit: number;
654
+ sortType?: 'DESC' | 'ASC';
655
+ startTime?: string;
656
+ endTime?: string;
657
+ }
658
+ export declare type Dp = {
659
+ /**
660
+ * 上报数据的时间戳格式
661
+ */
662
+ timeStamp: number;
663
+ /**
664
+ * dp点的id
665
+ */
666
+ dpId: number;
667
+ /**
668
+ * 根据设备时区转换后的时间格式 yyyy-MM-dd HH:mm:ss
669
+ */
670
+ timeStr: string;
671
+ /**
672
+ * dp点的值
673
+ */
674
+ value: string;
675
+ };
676
+ export interface IGetLogInSpecifiedTimeResponse {
677
+ /**
678
+ * 总数据
679
+ */
680
+ total: number;
681
+ /**
682
+ * 见Dp
683
+ */
684
+ dps: Dp[];
685
+ /**
686
+ * 是否有下一页
687
+ */
688
+ hasNext: boolean;
689
+ }
690
+ export interface IGetDpReportLog {
691
+ devId: string;
692
+ dpIds: string;
693
+ offset: number;
694
+ limit: number;
695
+ sortType?: 'DESC' | 'ASC';
696
+ }
697
+ export interface IGetDpReportLogResponse {
698
+ /**
699
+ * 总条数
700
+ */
701
+ total: number;
702
+ /**
703
+ * 见Dp
704
+ */
705
+ dps: Dp[];
706
+ /**
707
+ * 是否有下一页
708
+ */
709
+ hasNext: boolean;
710
+ }
711
+ export interface IGetDpLogDays {
712
+ devId: string;
713
+ dpId: string;
714
+ type?: string;
715
+ startDay: string;
716
+ endDay: string;
717
+ }
718
+ export interface IGetDpLogDaysResponse {
719
+ /**
720
+ * 总条数
721
+ */
722
+ total: string;
723
+ /**
724
+ * 每天对应的值
725
+ */
726
+ values: string[];
727
+ /**
728
+ * 天的集合
729
+ */
730
+ days: string[];
731
+ }
732
+ export interface IGetDpResultByMonth {
733
+ devId: string;
734
+ dpId: string;
735
+ type: 'sum' | 'minux' | 'mac';
736
+ }
737
+ export interface IGetDpResultByMonthResponse {
738
+ [date: string]: string;
739
+ }
740
+ export interface IGetDpResultByHour {
741
+ devId: string;
742
+ dpId: string;
743
+ date: string;
744
+ uid?: string;
745
+ auto?: number;
746
+ type: 'sum' | 'minux' | 'avg';
747
+ }
748
+ export interface IGetDpResultByHourResponse {
749
+ [date: string]: string;
750
+ }
751
+ export interface IGetDataWithSpecified {
752
+ devId: string;
753
+ dpId: string;
754
+ startDay: string;
755
+ endDay: string;
756
+ uid?: string;
757
+ auto?: number;
758
+ type: 'sum' | 'minux' | 'avg';
759
+ }
760
+ export interface IGetDataWithSpecifiedResponse {
761
+ result: {
762
+ [date: string]: string;
763
+ };
764
+ min: string;
765
+ }
766
+ export interface IGetWeekWithSpecified {
767
+ devId: string;
768
+ dpId: string;
769
+ startWeek: string;
770
+ endWeek: string;
771
+ type: 'sum' | 'minux' | 'avg';
772
+ }
773
+ export interface IGetWeekWithSpecifiedResponse {
774
+ result: {
775
+ [date: string]: string;
776
+ };
777
+ min: string;
778
+ }
779
+ export interface IGetMonthWithSpecified {
780
+ devId: string;
781
+ dpId: string;
782
+ startMonth: string;
783
+ endMonth: string;
784
+ uid?: string;
785
+ auto?: number;
786
+ type: 'sum' | 'minux' | 'avg';
787
+ }
788
+ export interface IGetMonthWithSpecifiedResponse {
789
+ [date: string]: string;
790
+ }
791
+ export interface IGetMultiDpsAllResult {
792
+ devId: string;
793
+ dpIds: string;
794
+ startTime: string;
795
+ endTime: string;
796
+ reverse?: number;
797
+ rowType?: number;
798
+ startRowKey?: string;
799
+ endRowKey?: string;
800
+ size?: number;
801
+ }
802
+ export interface IGetMultiDpsAllResultResponse {
803
+ /**
804
+ * dp点的id
805
+ */
806
+ dpId: number;
807
+ /**
808
+ * 数据库唯一id
809
+ */
810
+ rowkey: string;
811
+ /**
812
+ * 时间戳格式的时间
813
+ */
814
+ timeStamp: number;
815
+ /**
816
+ * 转换后的时间格式 yyyy-MM-dd HH:mm:ss
817
+ */
818
+ timeStr: string;
819
+ /**
820
+ * dp点的值
821
+ */
822
+ value: string;
823
+ }
824
+ export interface ISetAlarmSwitch {
825
+ devId: string;
826
+ ruleIds: string;
827
+ disabled: string;
828
+ }
829
+ export interface IAlarmSdk {
830
+ getDevAlarmList: any;
831
+ setAlarmSwitch: any;
832
+ }
833
+ export interface IGetLinkageDeviceList {
834
+ gid: number;
835
+ sourceType: string;
836
+ }
837
+ export declare type IGetLinkageDeviceListResponse = Array<{
838
+ category: string;
839
+ datapoints: any[];
840
+ devId: string;
841
+ iconUrl: string;
842
+ name: string;
843
+ productId: string;
844
+ }>;
845
+ export declare type IGetSceneListResponse = Array<{
846
+ actions: any[];
847
+ attribute: number;
848
+ auditStatus: number;
849
+ background: string;
850
+ boundForPanel: boolean;
851
+ boundForWiFiPanel: boolean;
852
+ code: string;
853
+ commonField: string;
854
+ coverIcon: string;
855
+ disableTime: number;
856
+ displayColor: string;
857
+ enabled: true;
858
+ devId: string;
859
+ name: string;
860
+ id: string;
861
+ }>;
862
+ export interface IBindRule {
863
+ devId: string;
864
+ associativeEntityId: string;
865
+ ruleId: string;
866
+ entitySubIds: string;
867
+ expr: [string[]];
868
+ bizDomain: string;
869
+ }
870
+ export interface IBindRuleResponse {
871
+ /**
872
+ * 关联 DP 点和 DP 点值的组合
873
+ */
874
+ associativeEntityId: string;
875
+ /**
876
+ * 动作 ID
877
+ */
878
+ associativeEntityValue: string;
879
+ /**
880
+ * 业务域
881
+ */
882
+ bizDomain: string;
883
+ /**
884
+ * 数据 ID
885
+ */
886
+ id: number;
887
+ /**
888
+ * 家庭 ID
889
+ */
890
+ ownerId: string;
891
+ /**
892
+ * 设备 ID
893
+ */
894
+ sourceEntityId: string;
895
+ /**
896
+ * 规则 ID
897
+ */
898
+ triggerRuleId: string;
899
+ /**
900
+ * 执行动作设备信息
901
+ */
902
+ triggerRuleVO: any;
903
+ }
904
+ export interface IGetBindRuleList {
905
+ bizDomain: string;
906
+ sourceEntityId: string;
907
+ entityType: number;
908
+ }
909
+ export declare type IGetBindRuleListResponse = Array<{
910
+ associativeEntityId: string;
911
+ associativeEntityValueList: any[];
912
+ bizDomain: string;
913
+ sourceEntityId: string;
914
+ }>;
915
+ export interface IRemoveRule {
916
+ bizDomain: string;
917
+ sourceEntityId: string;
918
+ associativeEntityId: string;
919
+ associativeEntityValue: string;
920
+ }
921
+ export interface IGetDevProperty {
922
+ /**
923
+ * 设备 ID
924
+ */
925
+ devId: string;
926
+ /**
927
+ * 业务类型(自定义)
928
+ */
929
+ bizType: number;
930
+ /**
931
+ * 设备自定义属性 key
932
+ */
933
+ code: string;
934
+ }
935
+ export declare type IGetDevPropertyResponse = string;
936
+ export interface ISaveDevProperty {
937
+ /**
938
+ * 设备 ID
939
+ */
940
+ devId: string;
941
+ /**
942
+ * 业务类型(自定义)
943
+ */
944
+ bizType: number;
945
+ /**
946
+ * 设备自定义属性列表,string 结构详见 @type{DeviceProperty}
947
+ */
948
+ propertyList: string;
949
+ }
950
+ export interface DeviceProperty {
951
+ /**
952
+ * 设备自定义属性 key,最长 30 字节("device_favorite"为系统保留 code,请勿使用)
953
+ */
954
+ code: string;
955
+ /**
956
+ * 设备自定义属性内容,最长 1024 字节
957
+ */
958
+ value: string;
959
+ }
960
+ export declare type ISaveDevPropertyResponse = boolean;