@camstack/addon-provider-velux 0.2.112 → 0.2.113
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/addon.js +27 -6
- package/dist/addon.mjs +27 -6
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
|
|
|
5360
5360
|
var ZodFirstPartyTypeKind;
|
|
5361
5361
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5362
5362
|
//#endregion
|
|
5363
|
-
//#region ../types/dist/sleep-
|
|
5363
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5364
5364
|
/**
|
|
5365
5365
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5366
5366
|
* window to float samples (D455).
|
|
@@ -31029,6 +31029,26 @@ var PtzHomePresetSchema = object({
|
|
|
31029
31029
|
"none"
|
|
31030
31030
|
])
|
|
31031
31031
|
});
|
|
31032
|
+
/**
|
|
31033
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31034
|
+
* after how long.
|
|
31035
|
+
*
|
|
31036
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31037
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31038
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31039
|
+
* can disagree.
|
|
31040
|
+
*
|
|
31041
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31042
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31043
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31044
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31045
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31046
|
+
* return at all.
|
|
31047
|
+
*/
|
|
31048
|
+
var PtzHomeReturnSchema = object({
|
|
31049
|
+
enabled: boolean(),
|
|
31050
|
+
seconds: number().int()
|
|
31051
|
+
});
|
|
31032
31052
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31033
31053
|
deviceId: number(),
|
|
31034
31054
|
presetId: string()
|
|
@@ -31054,8 +31074,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31054
31074
|
}), method(object({ deviceId: number() }), _void(), {
|
|
31055
31075
|
kind: "mutation",
|
|
31056
31076
|
auth: "admin"
|
|
31057
|
-
}), method(object({ deviceId: number() }),
|
|
31077
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31058
31078
|
deviceId: number(),
|
|
31079
|
+
enabled: boolean(),
|
|
31059
31080
|
seconds: number().int().min(0).max(3600)
|
|
31060
31081
|
}), _void(), {
|
|
31061
31082
|
kind: "mutation",
|
|
@@ -40326,7 +40347,7 @@ Object.freeze({
|
|
|
40326
40347
|
addonId: null,
|
|
40327
40348
|
access: "view"
|
|
40328
40349
|
},
|
|
40329
|
-
"ptz.
|
|
40350
|
+
"ptz.getHomeReturn": {
|
|
40330
40351
|
capName: "ptz",
|
|
40331
40352
|
capScope: "device",
|
|
40332
40353
|
addonId: null,
|
|
@@ -40386,7 +40407,7 @@ Object.freeze({
|
|
|
40386
40407
|
addonId: null,
|
|
40387
40408
|
access: "create"
|
|
40388
40409
|
},
|
|
40389
|
-
"ptz.
|
|
40410
|
+
"ptz.setHomeReturn": {
|
|
40390
40411
|
capName: "ptz",
|
|
40391
40412
|
capScope: "device",
|
|
40392
40413
|
addonId: null,
|
|
@@ -43575,7 +43596,7 @@ Object.freeze({
|
|
|
43575
43596
|
form: "single",
|
|
43576
43597
|
optional: false
|
|
43577
43598
|
}],
|
|
43578
|
-
"ptz.
|
|
43599
|
+
"ptz.getHomeReturn": [{
|
|
43579
43600
|
name: "deviceId",
|
|
43580
43601
|
form: "single",
|
|
43581
43602
|
optional: false
|
|
@@ -43625,7 +43646,7 @@ Object.freeze({
|
|
|
43625
43646
|
form: "single",
|
|
43626
43647
|
optional: false
|
|
43627
43648
|
}],
|
|
43628
|
-
"ptz.
|
|
43649
|
+
"ptz.setHomeReturn": [{
|
|
43629
43650
|
name: "deviceId",
|
|
43630
43651
|
form: "single",
|
|
43631
43652
|
optional: false
|
package/dist/addon.mjs
CHANGED
|
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5359
5359
|
var ZodFirstPartyTypeKind;
|
|
5360
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5361
5361
|
//#endregion
|
|
5362
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5363
5363
|
/**
|
|
5364
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5365
5365
|
* window to float samples (D455).
|
|
@@ -31028,6 +31028,26 @@ var PtzHomePresetSchema = object({
|
|
|
31028
31028
|
"none"
|
|
31029
31029
|
])
|
|
31030
31030
|
});
|
|
31031
|
+
/**
|
|
31032
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31033
|
+
* after how long.
|
|
31034
|
+
*
|
|
31035
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31036
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31037
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31038
|
+
* can disagree.
|
|
31039
|
+
*
|
|
31040
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31041
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31042
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31043
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31044
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31045
|
+
* return at all.
|
|
31046
|
+
*/
|
|
31047
|
+
var PtzHomeReturnSchema = object({
|
|
31048
|
+
enabled: boolean(),
|
|
31049
|
+
seconds: number().int()
|
|
31050
|
+
});
|
|
31031
31051
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31032
31052
|
deviceId: number(),
|
|
31033
31053
|
presetId: string()
|
|
@@ -31053,8 +31073,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31053
31073
|
}), method(object({ deviceId: number() }), _void(), {
|
|
31054
31074
|
kind: "mutation",
|
|
31055
31075
|
auth: "admin"
|
|
31056
|
-
}), method(object({ deviceId: number() }),
|
|
31076
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31057
31077
|
deviceId: number(),
|
|
31078
|
+
enabled: boolean(),
|
|
31058
31079
|
seconds: number().int().min(0).max(3600)
|
|
31059
31080
|
}), _void(), {
|
|
31060
31081
|
kind: "mutation",
|
|
@@ -40325,7 +40346,7 @@ Object.freeze({
|
|
|
40325
40346
|
addonId: null,
|
|
40326
40347
|
access: "view"
|
|
40327
40348
|
},
|
|
40328
|
-
"ptz.
|
|
40349
|
+
"ptz.getHomeReturn": {
|
|
40329
40350
|
capName: "ptz",
|
|
40330
40351
|
capScope: "device",
|
|
40331
40352
|
addonId: null,
|
|
@@ -40385,7 +40406,7 @@ Object.freeze({
|
|
|
40385
40406
|
addonId: null,
|
|
40386
40407
|
access: "create"
|
|
40387
40408
|
},
|
|
40388
|
-
"ptz.
|
|
40409
|
+
"ptz.setHomeReturn": {
|
|
40389
40410
|
capName: "ptz",
|
|
40390
40411
|
capScope: "device",
|
|
40391
40412
|
addonId: null,
|
|
@@ -43574,7 +43595,7 @@ Object.freeze({
|
|
|
43574
43595
|
form: "single",
|
|
43575
43596
|
optional: false
|
|
43576
43597
|
}],
|
|
43577
|
-
"ptz.
|
|
43598
|
+
"ptz.getHomeReturn": [{
|
|
43578
43599
|
name: "deviceId",
|
|
43579
43600
|
form: "single",
|
|
43580
43601
|
optional: false
|
|
@@ -43624,7 +43645,7 @@ Object.freeze({
|
|
|
43624
43645
|
form: "single",
|
|
43625
43646
|
optional: false
|
|
43626
43647
|
}],
|
|
43627
|
-
"ptz.
|
|
43648
|
+
"ptz.setHomeReturn": [{
|
|
43628
43649
|
name: "deviceId",
|
|
43629
43650
|
form: "single",
|
|
43630
43651
|
optional: false
|
package/package.json
CHANGED