unifi-protect 4.12.0 → 4.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/protect-types.d.ts +34 -0
- package/package.json +1 -1
package/dist/protect-types.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export interface ProtectNvrBootstrapInterface {
|
|
|
29
29
|
lights: ProtectLightConfig[];
|
|
30
30
|
liveviews: ProtectNvrLiveviewConfig[];
|
|
31
31
|
nvr: ProtectNvrConfig;
|
|
32
|
+
ringtones: ProtectRingtoneConfigInterface[];
|
|
32
33
|
sensors: ProtectSensorConfig[];
|
|
33
34
|
users: ProtectNvrUserConfig[];
|
|
34
35
|
viewers: ProtectViewerConfig[];
|
|
@@ -555,7 +556,9 @@ export interface ProtectChimeConfigInterface {
|
|
|
555
556
|
connectionHost: string;
|
|
556
557
|
elementInfo: string;
|
|
557
558
|
featureFlags: {
|
|
559
|
+
hasHttpsClientOTA: boolean;
|
|
558
560
|
hasWifi: boolean;
|
|
561
|
+
supportCustomRingtone: boolean;
|
|
559
562
|
};
|
|
560
563
|
firmwareBuild: string;
|
|
561
564
|
firmwareVersion: string;
|
|
@@ -582,10 +585,28 @@ export interface ProtectChimeConfigInterface {
|
|
|
582
585
|
marketName: string;
|
|
583
586
|
modelKey: string;
|
|
584
587
|
name: string;
|
|
588
|
+
platform: string;
|
|
589
|
+
repeatTimes: number;
|
|
590
|
+
ringSettings: {
|
|
591
|
+
cameraId: string;
|
|
592
|
+
repeatTimes: number;
|
|
593
|
+
ringtoneId: string;
|
|
594
|
+
volume: number;
|
|
595
|
+
}[];
|
|
596
|
+
speakerTrackList: {
|
|
597
|
+
md5: string;
|
|
598
|
+
name: string;
|
|
599
|
+
size: number;
|
|
600
|
+
state: string;
|
|
601
|
+
track_no: number;
|
|
602
|
+
volume: number;
|
|
603
|
+
}[];
|
|
585
604
|
state: string;
|
|
605
|
+
sysId: string;
|
|
586
606
|
type: string;
|
|
587
607
|
upSince: number;
|
|
588
608
|
uptime: number;
|
|
609
|
+
userConfiguredAp: boolean;
|
|
589
610
|
volume: number;
|
|
590
611
|
wifiConnectionState: {
|
|
591
612
|
apName: string | null;
|
|
@@ -775,6 +796,17 @@ export interface ProtectNvrSystemEventControllerInterface {
|
|
|
775
796
|
updateAvailable: string;
|
|
776
797
|
version: string;
|
|
777
798
|
}
|
|
799
|
+
/**
|
|
800
|
+
* A semi-complete description of the UniFi Protect ringtone JSON.
|
|
801
|
+
*/
|
|
802
|
+
export interface ProtectRingtoneConfigInterface {
|
|
803
|
+
id: string;
|
|
804
|
+
isDefault: boolean;
|
|
805
|
+
modelKey: string;
|
|
806
|
+
name: string;
|
|
807
|
+
nvrMac: string;
|
|
808
|
+
size: number;
|
|
809
|
+
}
|
|
778
810
|
/**
|
|
779
811
|
* A semi-complete description of the UniFi Protect sensor JSON.
|
|
780
812
|
*/
|
|
@@ -985,6 +1017,8 @@ export type ProtectNvrSystemEvent = ProtectNvrSystemEventInterface;
|
|
|
985
1017
|
export type ProtectNvrSystemEventController = ProtectNvrSystemEventControllerInterface;
|
|
986
1018
|
/** @see {@link ProtectNvrUserConfigInterface} */
|
|
987
1019
|
export type ProtectNvrUserConfig = ProtectNvrUserConfigInterface;
|
|
1020
|
+
/** @see {@link ProtectRingtoneConfigInterface} */
|
|
1021
|
+
export type ProtectRingtoneConfig = ProtectRingtoneConfigInterface;
|
|
988
1022
|
/** @see {@link ProtectSensorConfigInterface} */
|
|
989
1023
|
export type ProtectSensorConfig = ProtectSensorConfigInterface;
|
|
990
1024
|
/** @see {@link ProtectSensorConfigInterface} */
|