@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.
package/dist/esm/utils.js CHANGED
@@ -8594,15 +8594,15 @@ var require_lock = __commonJS({
8594
8594
  },
8595
8595
  mode: {
8596
8596
  type: ["string", "null"],
8597
- enum: ["normal", "autoLock", "emergencyOpen", "emergencyClose", null],
8598
- description: "AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.",
8599
- default: "normal"
8597
+ enum: ["normal", "autoLock", "emergencyOpen", "emergencyClose", "holdOpen", "lockdown", null],
8598
+ description: "emergencyOpen and emergencyClose are deprecated and can be removed once Salto, Paxton and Geovision drivers are updated",
8599
+ default: null
8600
8600
  },
8601
8601
  supportedModes: {
8602
8602
  type: "array",
8603
8603
  uniqueItems: true,
8604
8604
  items: {
8605
- enum: ["normal", "autoLock", "emergencyOpen", "emergencyClose"]
8605
+ enum: ["normal", "autoLock", "emergencyOpen", "emergencyClose", "holdOpen", "lockdown", null]
8606
8606
  }
8607
8607
  },
8608
8608
  batteryLevel: {
@@ -9968,6 +9968,14 @@ var require_camera = __commonJS({
9968
9968
  "rtsp://192.168.1.4:544/channels/1",
9969
9969
  "rtsp://10.145.6.129:8554/unicast"
9970
9970
  ]
9971
+ },
9972
+ previewImage: {
9973
+ type: ["string", "null"],
9974
+ description: "Source to preview the camera stream",
9975
+ examples: [
9976
+ "https://example.com/preview.jpg",
9977
+ "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QBYRXhpZgAATU0AKgAAAAgAA1EQAAEAAAABAQAAAFERAAQAAAABAAABAgABAA"
9978
+ ]
9971
9979
  }
9972
9980
  }
9973
9981
  },