@camstack/addon-provider-rademacher 0.2.110 → 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 +64 -1
- package/dist/addon.mjs +64 -1
- 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()
|
|
@@ -32036,6 +32056,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
32036
32056
|
}), _void(), {
|
|
32037
32057
|
kind: "mutation",
|
|
32038
32058
|
auth: "admin"
|
|
32059
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
32060
|
+
kind: "mutation",
|
|
32061
|
+
auth: "admin"
|
|
32062
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
32063
|
+
deviceId: number(),
|
|
32064
|
+
enabled: boolean(),
|
|
32065
|
+
seconds: number().int().min(0).max(3600)
|
|
32066
|
+
}), _void(), {
|
|
32067
|
+
kind: "mutation",
|
|
32068
|
+
auth: "admin"
|
|
32039
32069
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
32040
32070
|
deviceId: number(),
|
|
32041
32071
|
enabled: boolean()
|
|
@@ -41278,6 +41308,12 @@ Object.freeze({
|
|
|
41278
41308
|
addonId: null,
|
|
41279
41309
|
access: "create"
|
|
41280
41310
|
},
|
|
41311
|
+
"ptz.captureHomeHere": {
|
|
41312
|
+
capName: "ptz",
|
|
41313
|
+
capScope: "device",
|
|
41314
|
+
addonId: null,
|
|
41315
|
+
access: "create"
|
|
41316
|
+
},
|
|
41281
41317
|
"ptz.continuousMove": {
|
|
41282
41318
|
capName: "ptz",
|
|
41283
41319
|
capScope: "device",
|
|
@@ -41296,6 +41332,12 @@ Object.freeze({
|
|
|
41296
41332
|
addonId: null,
|
|
41297
41333
|
access: "view"
|
|
41298
41334
|
},
|
|
41335
|
+
"ptz.getHomeReturn": {
|
|
41336
|
+
capName: "ptz",
|
|
41337
|
+
capScope: "device",
|
|
41338
|
+
addonId: null,
|
|
41339
|
+
access: "view"
|
|
41340
|
+
},
|
|
41299
41341
|
"ptz.getOptions": {
|
|
41300
41342
|
capName: "ptz",
|
|
41301
41343
|
capScope: "device",
|
|
@@ -41350,6 +41392,12 @@ Object.freeze({
|
|
|
41350
41392
|
addonId: null,
|
|
41351
41393
|
access: "create"
|
|
41352
41394
|
},
|
|
41395
|
+
"ptz.setHomeReturn": {
|
|
41396
|
+
capName: "ptz",
|
|
41397
|
+
capScope: "device",
|
|
41398
|
+
addonId: null,
|
|
41399
|
+
access: "create"
|
|
41400
|
+
},
|
|
41353
41401
|
"ptz.stop": {
|
|
41354
41402
|
capName: "ptz",
|
|
41355
41403
|
capScope: "device",
|
|
@@ -44513,6 +44561,11 @@ Object.freeze({
|
|
|
44513
44561
|
form: "single",
|
|
44514
44562
|
optional: false
|
|
44515
44563
|
}],
|
|
44564
|
+
"ptz.captureHomeHere": [{
|
|
44565
|
+
name: "deviceId",
|
|
44566
|
+
form: "single",
|
|
44567
|
+
optional: false
|
|
44568
|
+
}],
|
|
44516
44569
|
"ptz.continuousMove": [{
|
|
44517
44570
|
name: "deviceId",
|
|
44518
44571
|
form: "single",
|
|
@@ -44528,6 +44581,11 @@ Object.freeze({
|
|
|
44528
44581
|
form: "single",
|
|
44529
44582
|
optional: false
|
|
44530
44583
|
}],
|
|
44584
|
+
"ptz.getHomeReturn": [{
|
|
44585
|
+
name: "deviceId",
|
|
44586
|
+
form: "single",
|
|
44587
|
+
optional: false
|
|
44588
|
+
}],
|
|
44531
44589
|
"ptz.getOptions": [{
|
|
44532
44590
|
name: "deviceId",
|
|
44533
44591
|
form: "single",
|
|
@@ -44573,6 +44631,11 @@ Object.freeze({
|
|
|
44573
44631
|
form: "single",
|
|
44574
44632
|
optional: false
|
|
44575
44633
|
}],
|
|
44634
|
+
"ptz.setHomeReturn": [{
|
|
44635
|
+
name: "deviceId",
|
|
44636
|
+
form: "single",
|
|
44637
|
+
optional: false
|
|
44638
|
+
}],
|
|
44576
44639
|
"ptz.stop": [{
|
|
44577
44640
|
name: "deviceId",
|
|
44578
44641
|
form: "single",
|
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()
|
|
@@ -32035,6 +32055,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
32035
32055
|
}), _void(), {
|
|
32036
32056
|
kind: "mutation",
|
|
32037
32057
|
auth: "admin"
|
|
32058
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
32059
|
+
kind: "mutation",
|
|
32060
|
+
auth: "admin"
|
|
32061
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
32062
|
+
deviceId: number(),
|
|
32063
|
+
enabled: boolean(),
|
|
32064
|
+
seconds: number().int().min(0).max(3600)
|
|
32065
|
+
}), _void(), {
|
|
32066
|
+
kind: "mutation",
|
|
32067
|
+
auth: "admin"
|
|
32038
32068
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
32039
32069
|
deviceId: number(),
|
|
32040
32070
|
enabled: boolean()
|
|
@@ -41277,6 +41307,12 @@ Object.freeze({
|
|
|
41277
41307
|
addonId: null,
|
|
41278
41308
|
access: "create"
|
|
41279
41309
|
},
|
|
41310
|
+
"ptz.captureHomeHere": {
|
|
41311
|
+
capName: "ptz",
|
|
41312
|
+
capScope: "device",
|
|
41313
|
+
addonId: null,
|
|
41314
|
+
access: "create"
|
|
41315
|
+
},
|
|
41280
41316
|
"ptz.continuousMove": {
|
|
41281
41317
|
capName: "ptz",
|
|
41282
41318
|
capScope: "device",
|
|
@@ -41295,6 +41331,12 @@ Object.freeze({
|
|
|
41295
41331
|
addonId: null,
|
|
41296
41332
|
access: "view"
|
|
41297
41333
|
},
|
|
41334
|
+
"ptz.getHomeReturn": {
|
|
41335
|
+
capName: "ptz",
|
|
41336
|
+
capScope: "device",
|
|
41337
|
+
addonId: null,
|
|
41338
|
+
access: "view"
|
|
41339
|
+
},
|
|
41298
41340
|
"ptz.getOptions": {
|
|
41299
41341
|
capName: "ptz",
|
|
41300
41342
|
capScope: "device",
|
|
@@ -41349,6 +41391,12 @@ Object.freeze({
|
|
|
41349
41391
|
addonId: null,
|
|
41350
41392
|
access: "create"
|
|
41351
41393
|
},
|
|
41394
|
+
"ptz.setHomeReturn": {
|
|
41395
|
+
capName: "ptz",
|
|
41396
|
+
capScope: "device",
|
|
41397
|
+
addonId: null,
|
|
41398
|
+
access: "create"
|
|
41399
|
+
},
|
|
41352
41400
|
"ptz.stop": {
|
|
41353
41401
|
capName: "ptz",
|
|
41354
41402
|
capScope: "device",
|
|
@@ -44512,6 +44560,11 @@ Object.freeze({
|
|
|
44512
44560
|
form: "single",
|
|
44513
44561
|
optional: false
|
|
44514
44562
|
}],
|
|
44563
|
+
"ptz.captureHomeHere": [{
|
|
44564
|
+
name: "deviceId",
|
|
44565
|
+
form: "single",
|
|
44566
|
+
optional: false
|
|
44567
|
+
}],
|
|
44515
44568
|
"ptz.continuousMove": [{
|
|
44516
44569
|
name: "deviceId",
|
|
44517
44570
|
form: "single",
|
|
@@ -44527,6 +44580,11 @@ Object.freeze({
|
|
|
44527
44580
|
form: "single",
|
|
44528
44581
|
optional: false
|
|
44529
44582
|
}],
|
|
44583
|
+
"ptz.getHomeReturn": [{
|
|
44584
|
+
name: "deviceId",
|
|
44585
|
+
form: "single",
|
|
44586
|
+
optional: false
|
|
44587
|
+
}],
|
|
44530
44588
|
"ptz.getOptions": [{
|
|
44531
44589
|
name: "deviceId",
|
|
44532
44590
|
form: "single",
|
|
@@ -44572,6 +44630,11 @@ Object.freeze({
|
|
|
44572
44630
|
form: "single",
|
|
44573
44631
|
optional: false
|
|
44574
44632
|
}],
|
|
44633
|
+
"ptz.setHomeReturn": [{
|
|
44634
|
+
name: "deviceId",
|
|
44635
|
+
form: "single",
|
|
44636
|
+
optional: false
|
|
44637
|
+
}],
|
|
44575
44638
|
"ptz.stop": [{
|
|
44576
44639
|
name: "deviceId",
|
|
44577
44640
|
form: "single",
|
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",
|