@camstack/addon-provider-rademacher 0.2.111 → 0.2.112
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
|
@@ -6345,7 +6345,7 @@ var ZodIssueCode = {
|
|
|
6345
6345
|
var ZodFirstPartyTypeKind;
|
|
6346
6346
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6347
6347
|
//#endregion
|
|
6348
|
-
//#region ../types/dist/sleep-
|
|
6348
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
6349
6349
|
/**
|
|
6350
6350
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6351
6351
|
* window to float samples (D455).
|
|
@@ -32014,6 +32014,26 @@ var PtzHomePresetSchema = object({
|
|
|
32014
32014
|
"none"
|
|
32015
32015
|
])
|
|
32016
32016
|
});
|
|
32017
|
+
/**
|
|
32018
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
32019
|
+
* after how long.
|
|
32020
|
+
*
|
|
32021
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
32022
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
32023
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
32024
|
+
* can disagree.
|
|
32025
|
+
*
|
|
32026
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
32027
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
32028
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
32029
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
32030
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
32031
|
+
* return at all.
|
|
32032
|
+
*/
|
|
32033
|
+
var PtzHomeReturnSchema = object({
|
|
32034
|
+
enabled: boolean(),
|
|
32035
|
+
seconds: number().int()
|
|
32036
|
+
});
|
|
32017
32037
|
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({
|
|
32018
32038
|
deviceId: number(),
|
|
32019
32039
|
presetId: string()
|
|
@@ -32039,8 +32059,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
32039
32059
|
}), method(object({ deviceId: number() }), _void(), {
|
|
32040
32060
|
kind: "mutation",
|
|
32041
32061
|
auth: "admin"
|
|
32042
|
-
}), method(object({ deviceId: number() }),
|
|
32062
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
32043
32063
|
deviceId: number(),
|
|
32064
|
+
enabled: boolean(),
|
|
32044
32065
|
seconds: number().int().min(0).max(3600)
|
|
32045
32066
|
}), _void(), {
|
|
32046
32067
|
kind: "mutation",
|
|
@@ -41311,7 +41332,7 @@ Object.freeze({
|
|
|
41311
41332
|
addonId: null,
|
|
41312
41333
|
access: "view"
|
|
41313
41334
|
},
|
|
41314
|
-
"ptz.
|
|
41335
|
+
"ptz.getHomeReturn": {
|
|
41315
41336
|
capName: "ptz",
|
|
41316
41337
|
capScope: "device",
|
|
41317
41338
|
addonId: null,
|
|
@@ -41371,7 +41392,7 @@ Object.freeze({
|
|
|
41371
41392
|
addonId: null,
|
|
41372
41393
|
access: "create"
|
|
41373
41394
|
},
|
|
41374
|
-
"ptz.
|
|
41395
|
+
"ptz.setHomeReturn": {
|
|
41375
41396
|
capName: "ptz",
|
|
41376
41397
|
capScope: "device",
|
|
41377
41398
|
addonId: null,
|
|
@@ -44560,7 +44581,7 @@ Object.freeze({
|
|
|
44560
44581
|
form: "single",
|
|
44561
44582
|
optional: false
|
|
44562
44583
|
}],
|
|
44563
|
-
"ptz.
|
|
44584
|
+
"ptz.getHomeReturn": [{
|
|
44564
44585
|
name: "deviceId",
|
|
44565
44586
|
form: "single",
|
|
44566
44587
|
optional: false
|
|
@@ -44610,7 +44631,7 @@ Object.freeze({
|
|
|
44610
44631
|
form: "single",
|
|
44611
44632
|
optional: false
|
|
44612
44633
|
}],
|
|
44613
|
-
"ptz.
|
|
44634
|
+
"ptz.setHomeReturn": [{
|
|
44614
44635
|
name: "deviceId",
|
|
44615
44636
|
form: "single",
|
|
44616
44637
|
optional: false
|
package/dist/addon.mjs
CHANGED
|
@@ -6344,7 +6344,7 @@ var ZodIssueCode = {
|
|
|
6344
6344
|
var ZodFirstPartyTypeKind;
|
|
6345
6345
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6346
6346
|
//#endregion
|
|
6347
|
-
//#region ../types/dist/sleep-
|
|
6347
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
6348
6348
|
/**
|
|
6349
6349
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6350
6350
|
* window to float samples (D455).
|
|
@@ -32013,6 +32013,26 @@ var PtzHomePresetSchema = object({
|
|
|
32013
32013
|
"none"
|
|
32014
32014
|
])
|
|
32015
32015
|
});
|
|
32016
|
+
/**
|
|
32017
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
32018
|
+
* after how long.
|
|
32019
|
+
*
|
|
32020
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
32021
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
32022
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
32023
|
+
* can disagree.
|
|
32024
|
+
*
|
|
32025
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
32026
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
32027
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
32028
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
32029
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
32030
|
+
* return at all.
|
|
32031
|
+
*/
|
|
32032
|
+
var PtzHomeReturnSchema = object({
|
|
32033
|
+
enabled: boolean(),
|
|
32034
|
+
seconds: number().int()
|
|
32035
|
+
});
|
|
32016
32036
|
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({
|
|
32017
32037
|
deviceId: number(),
|
|
32018
32038
|
presetId: string()
|
|
@@ -32038,8 +32058,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
32038
32058
|
}), method(object({ deviceId: number() }), _void(), {
|
|
32039
32059
|
kind: "mutation",
|
|
32040
32060
|
auth: "admin"
|
|
32041
|
-
}), method(object({ deviceId: number() }),
|
|
32061
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
32042
32062
|
deviceId: number(),
|
|
32063
|
+
enabled: boolean(),
|
|
32043
32064
|
seconds: number().int().min(0).max(3600)
|
|
32044
32065
|
}), _void(), {
|
|
32045
32066
|
kind: "mutation",
|
|
@@ -41310,7 +41331,7 @@ Object.freeze({
|
|
|
41310
41331
|
addonId: null,
|
|
41311
41332
|
access: "view"
|
|
41312
41333
|
},
|
|
41313
|
-
"ptz.
|
|
41334
|
+
"ptz.getHomeReturn": {
|
|
41314
41335
|
capName: "ptz",
|
|
41315
41336
|
capScope: "device",
|
|
41316
41337
|
addonId: null,
|
|
@@ -41370,7 +41391,7 @@ Object.freeze({
|
|
|
41370
41391
|
addonId: null,
|
|
41371
41392
|
access: "create"
|
|
41372
41393
|
},
|
|
41373
|
-
"ptz.
|
|
41394
|
+
"ptz.setHomeReturn": {
|
|
41374
41395
|
capName: "ptz",
|
|
41375
41396
|
capScope: "device",
|
|
41376
41397
|
addonId: null,
|
|
@@ -44559,7 +44580,7 @@ Object.freeze({
|
|
|
44559
44580
|
form: "single",
|
|
44560
44581
|
optional: false
|
|
44561
44582
|
}],
|
|
44562
|
-
"ptz.
|
|
44583
|
+
"ptz.getHomeReturn": [{
|
|
44563
44584
|
name: "deviceId",
|
|
44564
44585
|
form: "single",
|
|
44565
44586
|
optional: false
|
|
@@ -44609,7 +44630,7 @@ Object.freeze({
|
|
|
44609
44630
|
form: "single",
|
|
44610
44631
|
optional: false
|
|
44611
44632
|
}],
|
|
44612
|
-
"ptz.
|
|
44633
|
+
"ptz.setHomeReturn": [{
|
|
44613
44634
|
name: "deviceId",
|
|
44614
44635
|
form: "single",
|
|
44615
44636
|
optional: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.112",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|