@camstack/addon-provider-velux 0.2.111 → 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 +64 -1
- package/dist/addon.mjs +64 -1
- 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()
|
|
@@ -31051,6 +31071,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31051
31071
|
}), _void(), {
|
|
31052
31072
|
kind: "mutation",
|
|
31053
31073
|
auth: "admin"
|
|
31074
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31075
|
+
kind: "mutation",
|
|
31076
|
+
auth: "admin"
|
|
31077
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31078
|
+
deviceId: number(),
|
|
31079
|
+
enabled: boolean(),
|
|
31080
|
+
seconds: number().int().min(0).max(3600)
|
|
31081
|
+
}), _void(), {
|
|
31082
|
+
kind: "mutation",
|
|
31083
|
+
auth: "admin"
|
|
31054
31084
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31055
31085
|
deviceId: number(),
|
|
31056
31086
|
enabled: boolean()
|
|
@@ -40293,6 +40323,12 @@ Object.freeze({
|
|
|
40293
40323
|
addonId: null,
|
|
40294
40324
|
access: "create"
|
|
40295
40325
|
},
|
|
40326
|
+
"ptz.captureHomeHere": {
|
|
40327
|
+
capName: "ptz",
|
|
40328
|
+
capScope: "device",
|
|
40329
|
+
addonId: null,
|
|
40330
|
+
access: "create"
|
|
40331
|
+
},
|
|
40296
40332
|
"ptz.continuousMove": {
|
|
40297
40333
|
capName: "ptz",
|
|
40298
40334
|
capScope: "device",
|
|
@@ -40311,6 +40347,12 @@ Object.freeze({
|
|
|
40311
40347
|
addonId: null,
|
|
40312
40348
|
access: "view"
|
|
40313
40349
|
},
|
|
40350
|
+
"ptz.getHomeReturn": {
|
|
40351
|
+
capName: "ptz",
|
|
40352
|
+
capScope: "device",
|
|
40353
|
+
addonId: null,
|
|
40354
|
+
access: "view"
|
|
40355
|
+
},
|
|
40314
40356
|
"ptz.getOptions": {
|
|
40315
40357
|
capName: "ptz",
|
|
40316
40358
|
capScope: "device",
|
|
@@ -40365,6 +40407,12 @@ Object.freeze({
|
|
|
40365
40407
|
addonId: null,
|
|
40366
40408
|
access: "create"
|
|
40367
40409
|
},
|
|
40410
|
+
"ptz.setHomeReturn": {
|
|
40411
|
+
capName: "ptz",
|
|
40412
|
+
capScope: "device",
|
|
40413
|
+
addonId: null,
|
|
40414
|
+
access: "create"
|
|
40415
|
+
},
|
|
40368
40416
|
"ptz.stop": {
|
|
40369
40417
|
capName: "ptz",
|
|
40370
40418
|
capScope: "device",
|
|
@@ -43528,6 +43576,11 @@ Object.freeze({
|
|
|
43528
43576
|
form: "single",
|
|
43529
43577
|
optional: false
|
|
43530
43578
|
}],
|
|
43579
|
+
"ptz.captureHomeHere": [{
|
|
43580
|
+
name: "deviceId",
|
|
43581
|
+
form: "single",
|
|
43582
|
+
optional: false
|
|
43583
|
+
}],
|
|
43531
43584
|
"ptz.continuousMove": [{
|
|
43532
43585
|
name: "deviceId",
|
|
43533
43586
|
form: "single",
|
|
@@ -43543,6 +43596,11 @@ Object.freeze({
|
|
|
43543
43596
|
form: "single",
|
|
43544
43597
|
optional: false
|
|
43545
43598
|
}],
|
|
43599
|
+
"ptz.getHomeReturn": [{
|
|
43600
|
+
name: "deviceId",
|
|
43601
|
+
form: "single",
|
|
43602
|
+
optional: false
|
|
43603
|
+
}],
|
|
43546
43604
|
"ptz.getOptions": [{
|
|
43547
43605
|
name: "deviceId",
|
|
43548
43606
|
form: "single",
|
|
@@ -43588,6 +43646,11 @@ Object.freeze({
|
|
|
43588
43646
|
form: "single",
|
|
43589
43647
|
optional: false
|
|
43590
43648
|
}],
|
|
43649
|
+
"ptz.setHomeReturn": [{
|
|
43650
|
+
name: "deviceId",
|
|
43651
|
+
form: "single",
|
|
43652
|
+
optional: false
|
|
43653
|
+
}],
|
|
43591
43654
|
"ptz.stop": [{
|
|
43592
43655
|
name: "deviceId",
|
|
43593
43656
|
form: "single",
|
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()
|
|
@@ -31050,6 +31070,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31050
31070
|
}), _void(), {
|
|
31051
31071
|
kind: "mutation",
|
|
31052
31072
|
auth: "admin"
|
|
31073
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31074
|
+
kind: "mutation",
|
|
31075
|
+
auth: "admin"
|
|
31076
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31077
|
+
deviceId: number(),
|
|
31078
|
+
enabled: boolean(),
|
|
31079
|
+
seconds: number().int().min(0).max(3600)
|
|
31080
|
+
}), _void(), {
|
|
31081
|
+
kind: "mutation",
|
|
31082
|
+
auth: "admin"
|
|
31053
31083
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31054
31084
|
deviceId: number(),
|
|
31055
31085
|
enabled: boolean()
|
|
@@ -40292,6 +40322,12 @@ Object.freeze({
|
|
|
40292
40322
|
addonId: null,
|
|
40293
40323
|
access: "create"
|
|
40294
40324
|
},
|
|
40325
|
+
"ptz.captureHomeHere": {
|
|
40326
|
+
capName: "ptz",
|
|
40327
|
+
capScope: "device",
|
|
40328
|
+
addonId: null,
|
|
40329
|
+
access: "create"
|
|
40330
|
+
},
|
|
40295
40331
|
"ptz.continuousMove": {
|
|
40296
40332
|
capName: "ptz",
|
|
40297
40333
|
capScope: "device",
|
|
@@ -40310,6 +40346,12 @@ Object.freeze({
|
|
|
40310
40346
|
addonId: null,
|
|
40311
40347
|
access: "view"
|
|
40312
40348
|
},
|
|
40349
|
+
"ptz.getHomeReturn": {
|
|
40350
|
+
capName: "ptz",
|
|
40351
|
+
capScope: "device",
|
|
40352
|
+
addonId: null,
|
|
40353
|
+
access: "view"
|
|
40354
|
+
},
|
|
40313
40355
|
"ptz.getOptions": {
|
|
40314
40356
|
capName: "ptz",
|
|
40315
40357
|
capScope: "device",
|
|
@@ -40364,6 +40406,12 @@ Object.freeze({
|
|
|
40364
40406
|
addonId: null,
|
|
40365
40407
|
access: "create"
|
|
40366
40408
|
},
|
|
40409
|
+
"ptz.setHomeReturn": {
|
|
40410
|
+
capName: "ptz",
|
|
40411
|
+
capScope: "device",
|
|
40412
|
+
addonId: null,
|
|
40413
|
+
access: "create"
|
|
40414
|
+
},
|
|
40367
40415
|
"ptz.stop": {
|
|
40368
40416
|
capName: "ptz",
|
|
40369
40417
|
capScope: "device",
|
|
@@ -43527,6 +43575,11 @@ Object.freeze({
|
|
|
43527
43575
|
form: "single",
|
|
43528
43576
|
optional: false
|
|
43529
43577
|
}],
|
|
43578
|
+
"ptz.captureHomeHere": [{
|
|
43579
|
+
name: "deviceId",
|
|
43580
|
+
form: "single",
|
|
43581
|
+
optional: false
|
|
43582
|
+
}],
|
|
43530
43583
|
"ptz.continuousMove": [{
|
|
43531
43584
|
name: "deviceId",
|
|
43532
43585
|
form: "single",
|
|
@@ -43542,6 +43595,11 @@ Object.freeze({
|
|
|
43542
43595
|
form: "single",
|
|
43543
43596
|
optional: false
|
|
43544
43597
|
}],
|
|
43598
|
+
"ptz.getHomeReturn": [{
|
|
43599
|
+
name: "deviceId",
|
|
43600
|
+
form: "single",
|
|
43601
|
+
optional: false
|
|
43602
|
+
}],
|
|
43545
43603
|
"ptz.getOptions": [{
|
|
43546
43604
|
name: "deviceId",
|
|
43547
43605
|
form: "single",
|
|
@@ -43587,6 +43645,11 @@ Object.freeze({
|
|
|
43587
43645
|
form: "single",
|
|
43588
43646
|
optional: false
|
|
43589
43647
|
}],
|
|
43648
|
+
"ptz.setHomeReturn": [{
|
|
43649
|
+
name: "deviceId",
|
|
43650
|
+
form: "single",
|
|
43651
|
+
optional: false
|
|
43652
|
+
}],
|
|
43590
43653
|
"ptz.stop": [{
|
|
43591
43654
|
name: "deviceId",
|
|
43592
43655
|
form: "single",
|
package/package.json
CHANGED