@kohost/api-client 3.9.5 → 3.9.7

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.
@@ -195,6 +195,10 @@ export interface Camera {
195
195
  * Local RTSP stream URL
196
196
  */
197
197
  rtsp?: string | null;
198
+ /**
199
+ * Source to preview the camera stream
200
+ */
201
+ previewImage?: string | null;
198
202
  };
199
203
  systemId?: string;
200
204
  watts?: number;
@@ -179,10 +179,10 @@ export interface Lock {
179
179
  | "insperia-privacy";
180
180
  state: "locked" | "unlocked" | null;
181
181
  /**
182
- * AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
182
+ * emergencyOpen and emergencyClose are deprecated and can be removed once Salto, Paxton and Geovision drivers are updated
183
183
  */
184
- mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | null;
185
- supportedModes?: ("normal" | "autoLock" | "emergencyOpen" | "emergencyClose")[];
184
+ mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | "holdOpen" | "lockdown" | null;
185
+ supportedModes?: ("normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | "holdOpen" | "lockdown" | null)[];
186
186
  batteryLevel?: number;
187
187
  systemId?: string;
188
188
  watts?: number;
@@ -577,10 +577,10 @@ export interface Lock {
577
577
  | "insperia-privacy";
578
578
  state: "locked" | "unlocked" | null;
579
579
  /**
580
- * AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
580
+ * emergencyOpen and emergencyClose are deprecated and can be removed once Salto, Paxton and Geovision drivers are updated
581
581
  */
582
- mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | null;
583
- supportedModes?: ("normal" | "autoLock" | "emergencyOpen" | "emergencyClose")[];
582
+ mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | "holdOpen" | "lockdown" | null;
583
+ supportedModes?: ("normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | "holdOpen" | "lockdown" | null)[];
584
584
  batteryLevel?: number;
585
585
  systemId?: string;
586
586
  watts?: number;
@@ -937,6 +937,10 @@ export interface Camera {
937
937
  * Local RTSP stream URL
938
938
  */
939
939
  rtsp?: string | null;
940
+ /**
941
+ * Source to preview the camera stream
942
+ */
943
+ previewImage?: string | null;
940
944
  };
941
945
  systemId?: string;
942
946
  watts?: number;
@@ -47,9 +47,9 @@ export interface Scene {
47
47
  id?: string;
48
48
  state?: "locked" | "unlocked" | null;
49
49
  /**
50
- * AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
50
+ * emergencyOpen and emergencyClose are deprecated and can be removed once Salto, Paxton and Geovision drivers are updated
51
51
  */
52
- mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | null;
52
+ mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | "holdOpen" | "lockdown" | null;
53
53
  [k: string]: unknown;
54
54
  }[];
55
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "3.9.5",
3
+ "version": "3.9.7",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",