@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/cjs/schemas/camera.json +8 -0
- package/dist/cjs/schemas/lock.json +4 -4
- package/dist/esm/Models.js +12 -4
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +12 -4
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/CameraSchema.d.ts +4 -0
- package/dist/types/schemas/LockSchema.d.ts +3 -3
- package/dist/types/schemas/RoomSchema.d.ts +7 -3
- package/dist/types/schemas/SceneSchema.d.ts +2 -2
- package/package.json +1 -1
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: "
|
|
8599
|
-
default:
|
|
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
|
},
|