@camstack/addon-provider-petkit 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
|
@@ -6462,7 +6462,7 @@ var ZodIssueCode = {
|
|
|
6462
6462
|
var ZodFirstPartyTypeKind;
|
|
6463
6463
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6464
6464
|
//#endregion
|
|
6465
|
-
//#region ../types/dist/sleep-
|
|
6465
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
6466
6466
|
/**
|
|
6467
6467
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6468
6468
|
* window to float samples (D455).
|
|
@@ -32156,6 +32156,26 @@ var PtzHomePresetSchema = object({
|
|
|
32156
32156
|
"none"
|
|
32157
32157
|
])
|
|
32158
32158
|
});
|
|
32159
|
+
/**
|
|
32160
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
32161
|
+
* after how long.
|
|
32162
|
+
*
|
|
32163
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
32164
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
32165
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
32166
|
+
* can disagree.
|
|
32167
|
+
*
|
|
32168
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
32169
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
32170
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
32171
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
32172
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
32173
|
+
* return at all.
|
|
32174
|
+
*/
|
|
32175
|
+
var PtzHomeReturnSchema = object({
|
|
32176
|
+
enabled: boolean(),
|
|
32177
|
+
seconds: number().int()
|
|
32178
|
+
});
|
|
32159
32179
|
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({
|
|
32160
32180
|
deviceId: number(),
|
|
32161
32181
|
presetId: string()
|
|
@@ -32181,8 +32201,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
32181
32201
|
}), method(object({ deviceId: number() }), _void(), {
|
|
32182
32202
|
kind: "mutation",
|
|
32183
32203
|
auth: "admin"
|
|
32184
|
-
}), method(object({ deviceId: number() }),
|
|
32204
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
32185
32205
|
deviceId: number(),
|
|
32206
|
+
enabled: boolean(),
|
|
32186
32207
|
seconds: number().int().min(0).max(3600)
|
|
32187
32208
|
}), _void(), {
|
|
32188
32209
|
kind: "mutation",
|
|
@@ -41453,7 +41474,7 @@ Object.freeze({
|
|
|
41453
41474
|
addonId: null,
|
|
41454
41475
|
access: "view"
|
|
41455
41476
|
},
|
|
41456
|
-
"ptz.
|
|
41477
|
+
"ptz.getHomeReturn": {
|
|
41457
41478
|
capName: "ptz",
|
|
41458
41479
|
capScope: "device",
|
|
41459
41480
|
addonId: null,
|
|
@@ -41513,7 +41534,7 @@ Object.freeze({
|
|
|
41513
41534
|
addonId: null,
|
|
41514
41535
|
access: "create"
|
|
41515
41536
|
},
|
|
41516
|
-
"ptz.
|
|
41537
|
+
"ptz.setHomeReturn": {
|
|
41517
41538
|
capName: "ptz",
|
|
41518
41539
|
capScope: "device",
|
|
41519
41540
|
addonId: null,
|
|
@@ -44702,7 +44723,7 @@ Object.freeze({
|
|
|
44702
44723
|
form: "single",
|
|
44703
44724
|
optional: false
|
|
44704
44725
|
}],
|
|
44705
|
-
"ptz.
|
|
44726
|
+
"ptz.getHomeReturn": [{
|
|
44706
44727
|
name: "deviceId",
|
|
44707
44728
|
form: "single",
|
|
44708
44729
|
optional: false
|
|
@@ -44752,7 +44773,7 @@ Object.freeze({
|
|
|
44752
44773
|
form: "single",
|
|
44753
44774
|
optional: false
|
|
44754
44775
|
}],
|
|
44755
|
-
"ptz.
|
|
44776
|
+
"ptz.setHomeReturn": [{
|
|
44756
44777
|
name: "deviceId",
|
|
44757
44778
|
form: "single",
|
|
44758
44779
|
optional: false
|
package/dist/addon.mjs
CHANGED
|
@@ -6461,7 +6461,7 @@ var ZodIssueCode = {
|
|
|
6461
6461
|
var ZodFirstPartyTypeKind;
|
|
6462
6462
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6463
6463
|
//#endregion
|
|
6464
|
-
//#region ../types/dist/sleep-
|
|
6464
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
6465
6465
|
/**
|
|
6466
6466
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6467
6467
|
* window to float samples (D455).
|
|
@@ -32155,6 +32155,26 @@ var PtzHomePresetSchema = object({
|
|
|
32155
32155
|
"none"
|
|
32156
32156
|
])
|
|
32157
32157
|
});
|
|
32158
|
+
/**
|
|
32159
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
32160
|
+
* after how long.
|
|
32161
|
+
*
|
|
32162
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
32163
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
32164
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
32165
|
+
* can disagree.
|
|
32166
|
+
*
|
|
32167
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
32168
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
32169
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
32170
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
32171
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
32172
|
+
* return at all.
|
|
32173
|
+
*/
|
|
32174
|
+
var PtzHomeReturnSchema = object({
|
|
32175
|
+
enabled: boolean(),
|
|
32176
|
+
seconds: number().int()
|
|
32177
|
+
});
|
|
32158
32178
|
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({
|
|
32159
32179
|
deviceId: number(),
|
|
32160
32180
|
presetId: string()
|
|
@@ -32180,8 +32200,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
32180
32200
|
}), method(object({ deviceId: number() }), _void(), {
|
|
32181
32201
|
kind: "mutation",
|
|
32182
32202
|
auth: "admin"
|
|
32183
|
-
}), method(object({ deviceId: number() }),
|
|
32203
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
32184
32204
|
deviceId: number(),
|
|
32205
|
+
enabled: boolean(),
|
|
32185
32206
|
seconds: number().int().min(0).max(3600)
|
|
32186
32207
|
}), _void(), {
|
|
32187
32208
|
kind: "mutation",
|
|
@@ -41452,7 +41473,7 @@ Object.freeze({
|
|
|
41452
41473
|
addonId: null,
|
|
41453
41474
|
access: "view"
|
|
41454
41475
|
},
|
|
41455
|
-
"ptz.
|
|
41476
|
+
"ptz.getHomeReturn": {
|
|
41456
41477
|
capName: "ptz",
|
|
41457
41478
|
capScope: "device",
|
|
41458
41479
|
addonId: null,
|
|
@@ -41512,7 +41533,7 @@ Object.freeze({
|
|
|
41512
41533
|
addonId: null,
|
|
41513
41534
|
access: "create"
|
|
41514
41535
|
},
|
|
41515
|
-
"ptz.
|
|
41536
|
+
"ptz.setHomeReturn": {
|
|
41516
41537
|
capName: "ptz",
|
|
41517
41538
|
capScope: "device",
|
|
41518
41539
|
addonId: null,
|
|
@@ -44701,7 +44722,7 @@ Object.freeze({
|
|
|
44701
44722
|
form: "single",
|
|
44702
44723
|
optional: false
|
|
44703
44724
|
}],
|
|
44704
|
-
"ptz.
|
|
44725
|
+
"ptz.getHomeReturn": [{
|
|
44705
44726
|
name: "deviceId",
|
|
44706
44727
|
form: "single",
|
|
44707
44728
|
optional: false
|
|
@@ -44751,7 +44772,7 @@ Object.freeze({
|
|
|
44751
44772
|
form: "single",
|
|
44752
44773
|
optional: false
|
|
44753
44774
|
}],
|
|
44754
|
-
"ptz.
|
|
44775
|
+
"ptz.setHomeReturn": [{
|
|
44755
44776
|
name: "deviceId",
|
|
44756
44777
|
form: "single",
|
|
44757
44778
|
optional: false
|
package/package.json
CHANGED