@camstack/addon-provider-wyze 0.2.116 → 0.2.117
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
|
@@ -5392,7 +5392,7 @@ var ZodIssueCode = {
|
|
|
5392
5392
|
var ZodFirstPartyTypeKind;
|
|
5393
5393
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5394
5394
|
//#endregion
|
|
5395
|
-
//#region ../types/dist/sleep-
|
|
5395
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5396
5396
|
/**
|
|
5397
5397
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5398
5398
|
* window to float samples (D455).
|
|
@@ -31190,6 +31190,26 @@ var PtzHomePresetSchema = object({
|
|
|
31190
31190
|
"none"
|
|
31191
31191
|
])
|
|
31192
31192
|
});
|
|
31193
|
+
/**
|
|
31194
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31195
|
+
* after how long.
|
|
31196
|
+
*
|
|
31197
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31198
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31199
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31200
|
+
* can disagree.
|
|
31201
|
+
*
|
|
31202
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31203
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31204
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31205
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31206
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31207
|
+
* return at all.
|
|
31208
|
+
*/
|
|
31209
|
+
var PtzHomeReturnSchema = object({
|
|
31210
|
+
enabled: boolean(),
|
|
31211
|
+
seconds: number().int()
|
|
31212
|
+
});
|
|
31193
31213
|
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({
|
|
31194
31214
|
deviceId: number(),
|
|
31195
31215
|
presetId: string()
|
|
@@ -31215,8 +31235,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31215
31235
|
}), method(object({ deviceId: number() }), _void(), {
|
|
31216
31236
|
kind: "mutation",
|
|
31217
31237
|
auth: "admin"
|
|
31218
|
-
}), method(object({ deviceId: number() }),
|
|
31238
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31219
31239
|
deviceId: number(),
|
|
31240
|
+
enabled: boolean(),
|
|
31220
31241
|
seconds: number().int().min(0).max(3600)
|
|
31221
31242
|
}), _void(), {
|
|
31222
31243
|
kind: "mutation",
|
|
@@ -40487,7 +40508,7 @@ Object.freeze({
|
|
|
40487
40508
|
addonId: null,
|
|
40488
40509
|
access: "view"
|
|
40489
40510
|
},
|
|
40490
|
-
"ptz.
|
|
40511
|
+
"ptz.getHomeReturn": {
|
|
40491
40512
|
capName: "ptz",
|
|
40492
40513
|
capScope: "device",
|
|
40493
40514
|
addonId: null,
|
|
@@ -40547,7 +40568,7 @@ Object.freeze({
|
|
|
40547
40568
|
addonId: null,
|
|
40548
40569
|
access: "create"
|
|
40549
40570
|
},
|
|
40550
|
-
"ptz.
|
|
40571
|
+
"ptz.setHomeReturn": {
|
|
40551
40572
|
capName: "ptz",
|
|
40552
40573
|
capScope: "device",
|
|
40553
40574
|
addonId: null,
|
|
@@ -43736,7 +43757,7 @@ Object.freeze({
|
|
|
43736
43757
|
form: "single",
|
|
43737
43758
|
optional: false
|
|
43738
43759
|
}],
|
|
43739
|
-
"ptz.
|
|
43760
|
+
"ptz.getHomeReturn": [{
|
|
43740
43761
|
name: "deviceId",
|
|
43741
43762
|
form: "single",
|
|
43742
43763
|
optional: false
|
|
@@ -43786,7 +43807,7 @@ Object.freeze({
|
|
|
43786
43807
|
form: "single",
|
|
43787
43808
|
optional: false
|
|
43788
43809
|
}],
|
|
43789
|
-
"ptz.
|
|
43810
|
+
"ptz.setHomeReturn": [{
|
|
43790
43811
|
name: "deviceId",
|
|
43791
43812
|
form: "single",
|
|
43792
43813
|
optional: false
|
package/dist/addon.mjs
CHANGED
|
@@ -5371,7 +5371,7 @@ var ZodIssueCode = {
|
|
|
5371
5371
|
var ZodFirstPartyTypeKind;
|
|
5372
5372
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5373
5373
|
//#endregion
|
|
5374
|
-
//#region ../types/dist/sleep-
|
|
5374
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5375
5375
|
/**
|
|
5376
5376
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5377
5377
|
* window to float samples (D455).
|
|
@@ -31169,6 +31169,26 @@ var PtzHomePresetSchema = object({
|
|
|
31169
31169
|
"none"
|
|
31170
31170
|
])
|
|
31171
31171
|
});
|
|
31172
|
+
/**
|
|
31173
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31174
|
+
* after how long.
|
|
31175
|
+
*
|
|
31176
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31177
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31178
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31179
|
+
* can disagree.
|
|
31180
|
+
*
|
|
31181
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31182
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31183
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31184
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31185
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31186
|
+
* return at all.
|
|
31187
|
+
*/
|
|
31188
|
+
var PtzHomeReturnSchema = object({
|
|
31189
|
+
enabled: boolean(),
|
|
31190
|
+
seconds: number().int()
|
|
31191
|
+
});
|
|
31172
31192
|
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({
|
|
31173
31193
|
deviceId: number(),
|
|
31174
31194
|
presetId: string()
|
|
@@ -31194,8 +31214,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31194
31214
|
}), method(object({ deviceId: number() }), _void(), {
|
|
31195
31215
|
kind: "mutation",
|
|
31196
31216
|
auth: "admin"
|
|
31197
|
-
}), method(object({ deviceId: number() }),
|
|
31217
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31198
31218
|
deviceId: number(),
|
|
31219
|
+
enabled: boolean(),
|
|
31199
31220
|
seconds: number().int().min(0).max(3600)
|
|
31200
31221
|
}), _void(), {
|
|
31201
31222
|
kind: "mutation",
|
|
@@ -40466,7 +40487,7 @@ Object.freeze({
|
|
|
40466
40487
|
addonId: null,
|
|
40467
40488
|
access: "view"
|
|
40468
40489
|
},
|
|
40469
|
-
"ptz.
|
|
40490
|
+
"ptz.getHomeReturn": {
|
|
40470
40491
|
capName: "ptz",
|
|
40471
40492
|
capScope: "device",
|
|
40472
40493
|
addonId: null,
|
|
@@ -40526,7 +40547,7 @@ Object.freeze({
|
|
|
40526
40547
|
addonId: null,
|
|
40527
40548
|
access: "create"
|
|
40528
40549
|
},
|
|
40529
|
-
"ptz.
|
|
40550
|
+
"ptz.setHomeReturn": {
|
|
40530
40551
|
capName: "ptz",
|
|
40531
40552
|
capScope: "device",
|
|
40532
40553
|
addonId: null,
|
|
@@ -43715,7 +43736,7 @@ Object.freeze({
|
|
|
43715
43736
|
form: "single",
|
|
43716
43737
|
optional: false
|
|
43717
43738
|
}],
|
|
43718
|
-
"ptz.
|
|
43739
|
+
"ptz.getHomeReturn": [{
|
|
43719
43740
|
name: "deviceId",
|
|
43720
43741
|
form: "single",
|
|
43721
43742
|
optional: false
|
|
@@ -43765,7 +43786,7 @@ Object.freeze({
|
|
|
43765
43786
|
form: "single",
|
|
43766
43787
|
optional: false
|
|
43767
43788
|
}],
|
|
43768
|
-
"ptz.
|
|
43789
|
+
"ptz.setHomeReturn": [{
|
|
43769
43790
|
name: "deviceId",
|
|
43770
43791
|
form: "single",
|
|
43771
43792
|
optional: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.117",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|