@camstack/addon-provider-wyze 0.2.115 → 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 +64 -1
- package/dist/addon.mjs +64 -1
- 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()
|
|
@@ -31212,6 +31232,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31212
31232
|
}), _void(), {
|
|
31213
31233
|
kind: "mutation",
|
|
31214
31234
|
auth: "admin"
|
|
31235
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31236
|
+
kind: "mutation",
|
|
31237
|
+
auth: "admin"
|
|
31238
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31239
|
+
deviceId: number(),
|
|
31240
|
+
enabled: boolean(),
|
|
31241
|
+
seconds: number().int().min(0).max(3600)
|
|
31242
|
+
}), _void(), {
|
|
31243
|
+
kind: "mutation",
|
|
31244
|
+
auth: "admin"
|
|
31215
31245
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31216
31246
|
deviceId: number(),
|
|
31217
31247
|
enabled: boolean()
|
|
@@ -40454,6 +40484,12 @@ Object.freeze({
|
|
|
40454
40484
|
addonId: null,
|
|
40455
40485
|
access: "create"
|
|
40456
40486
|
},
|
|
40487
|
+
"ptz.captureHomeHere": {
|
|
40488
|
+
capName: "ptz",
|
|
40489
|
+
capScope: "device",
|
|
40490
|
+
addonId: null,
|
|
40491
|
+
access: "create"
|
|
40492
|
+
},
|
|
40457
40493
|
"ptz.continuousMove": {
|
|
40458
40494
|
capName: "ptz",
|
|
40459
40495
|
capScope: "device",
|
|
@@ -40472,6 +40508,12 @@ Object.freeze({
|
|
|
40472
40508
|
addonId: null,
|
|
40473
40509
|
access: "view"
|
|
40474
40510
|
},
|
|
40511
|
+
"ptz.getHomeReturn": {
|
|
40512
|
+
capName: "ptz",
|
|
40513
|
+
capScope: "device",
|
|
40514
|
+
addonId: null,
|
|
40515
|
+
access: "view"
|
|
40516
|
+
},
|
|
40475
40517
|
"ptz.getOptions": {
|
|
40476
40518
|
capName: "ptz",
|
|
40477
40519
|
capScope: "device",
|
|
@@ -40526,6 +40568,12 @@ Object.freeze({
|
|
|
40526
40568
|
addonId: null,
|
|
40527
40569
|
access: "create"
|
|
40528
40570
|
},
|
|
40571
|
+
"ptz.setHomeReturn": {
|
|
40572
|
+
capName: "ptz",
|
|
40573
|
+
capScope: "device",
|
|
40574
|
+
addonId: null,
|
|
40575
|
+
access: "create"
|
|
40576
|
+
},
|
|
40529
40577
|
"ptz.stop": {
|
|
40530
40578
|
capName: "ptz",
|
|
40531
40579
|
capScope: "device",
|
|
@@ -43689,6 +43737,11 @@ Object.freeze({
|
|
|
43689
43737
|
form: "single",
|
|
43690
43738
|
optional: false
|
|
43691
43739
|
}],
|
|
43740
|
+
"ptz.captureHomeHere": [{
|
|
43741
|
+
name: "deviceId",
|
|
43742
|
+
form: "single",
|
|
43743
|
+
optional: false
|
|
43744
|
+
}],
|
|
43692
43745
|
"ptz.continuousMove": [{
|
|
43693
43746
|
name: "deviceId",
|
|
43694
43747
|
form: "single",
|
|
@@ -43704,6 +43757,11 @@ Object.freeze({
|
|
|
43704
43757
|
form: "single",
|
|
43705
43758
|
optional: false
|
|
43706
43759
|
}],
|
|
43760
|
+
"ptz.getHomeReturn": [{
|
|
43761
|
+
name: "deviceId",
|
|
43762
|
+
form: "single",
|
|
43763
|
+
optional: false
|
|
43764
|
+
}],
|
|
43707
43765
|
"ptz.getOptions": [{
|
|
43708
43766
|
name: "deviceId",
|
|
43709
43767
|
form: "single",
|
|
@@ -43749,6 +43807,11 @@ Object.freeze({
|
|
|
43749
43807
|
form: "single",
|
|
43750
43808
|
optional: false
|
|
43751
43809
|
}],
|
|
43810
|
+
"ptz.setHomeReturn": [{
|
|
43811
|
+
name: "deviceId",
|
|
43812
|
+
form: "single",
|
|
43813
|
+
optional: false
|
|
43814
|
+
}],
|
|
43752
43815
|
"ptz.stop": [{
|
|
43753
43816
|
name: "deviceId",
|
|
43754
43817
|
form: "single",
|
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()
|
|
@@ -31191,6 +31211,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31191
31211
|
}), _void(), {
|
|
31192
31212
|
kind: "mutation",
|
|
31193
31213
|
auth: "admin"
|
|
31214
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31215
|
+
kind: "mutation",
|
|
31216
|
+
auth: "admin"
|
|
31217
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31218
|
+
deviceId: number(),
|
|
31219
|
+
enabled: boolean(),
|
|
31220
|
+
seconds: number().int().min(0).max(3600)
|
|
31221
|
+
}), _void(), {
|
|
31222
|
+
kind: "mutation",
|
|
31223
|
+
auth: "admin"
|
|
31194
31224
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31195
31225
|
deviceId: number(),
|
|
31196
31226
|
enabled: boolean()
|
|
@@ -40433,6 +40463,12 @@ Object.freeze({
|
|
|
40433
40463
|
addonId: null,
|
|
40434
40464
|
access: "create"
|
|
40435
40465
|
},
|
|
40466
|
+
"ptz.captureHomeHere": {
|
|
40467
|
+
capName: "ptz",
|
|
40468
|
+
capScope: "device",
|
|
40469
|
+
addonId: null,
|
|
40470
|
+
access: "create"
|
|
40471
|
+
},
|
|
40436
40472
|
"ptz.continuousMove": {
|
|
40437
40473
|
capName: "ptz",
|
|
40438
40474
|
capScope: "device",
|
|
@@ -40451,6 +40487,12 @@ Object.freeze({
|
|
|
40451
40487
|
addonId: null,
|
|
40452
40488
|
access: "view"
|
|
40453
40489
|
},
|
|
40490
|
+
"ptz.getHomeReturn": {
|
|
40491
|
+
capName: "ptz",
|
|
40492
|
+
capScope: "device",
|
|
40493
|
+
addonId: null,
|
|
40494
|
+
access: "view"
|
|
40495
|
+
},
|
|
40454
40496
|
"ptz.getOptions": {
|
|
40455
40497
|
capName: "ptz",
|
|
40456
40498
|
capScope: "device",
|
|
@@ -40505,6 +40547,12 @@ Object.freeze({
|
|
|
40505
40547
|
addonId: null,
|
|
40506
40548
|
access: "create"
|
|
40507
40549
|
},
|
|
40550
|
+
"ptz.setHomeReturn": {
|
|
40551
|
+
capName: "ptz",
|
|
40552
|
+
capScope: "device",
|
|
40553
|
+
addonId: null,
|
|
40554
|
+
access: "create"
|
|
40555
|
+
},
|
|
40508
40556
|
"ptz.stop": {
|
|
40509
40557
|
capName: "ptz",
|
|
40510
40558
|
capScope: "device",
|
|
@@ -43668,6 +43716,11 @@ Object.freeze({
|
|
|
43668
43716
|
form: "single",
|
|
43669
43717
|
optional: false
|
|
43670
43718
|
}],
|
|
43719
|
+
"ptz.captureHomeHere": [{
|
|
43720
|
+
name: "deviceId",
|
|
43721
|
+
form: "single",
|
|
43722
|
+
optional: false
|
|
43723
|
+
}],
|
|
43671
43724
|
"ptz.continuousMove": [{
|
|
43672
43725
|
name: "deviceId",
|
|
43673
43726
|
form: "single",
|
|
@@ -43683,6 +43736,11 @@ Object.freeze({
|
|
|
43683
43736
|
form: "single",
|
|
43684
43737
|
optional: false
|
|
43685
43738
|
}],
|
|
43739
|
+
"ptz.getHomeReturn": [{
|
|
43740
|
+
name: "deviceId",
|
|
43741
|
+
form: "single",
|
|
43742
|
+
optional: false
|
|
43743
|
+
}],
|
|
43686
43744
|
"ptz.getOptions": [{
|
|
43687
43745
|
name: "deviceId",
|
|
43688
43746
|
form: "single",
|
|
@@ -43728,6 +43786,11 @@ Object.freeze({
|
|
|
43728
43786
|
form: "single",
|
|
43729
43787
|
optional: false
|
|
43730
43788
|
}],
|
|
43789
|
+
"ptz.setHomeReturn": [{
|
|
43790
|
+
name: "deviceId",
|
|
43791
|
+
form: "single",
|
|
43792
|
+
optional: false
|
|
43793
|
+
}],
|
|
43731
43794
|
"ptz.stop": [{
|
|
43732
43795
|
name: "deviceId",
|
|
43733
43796
|
form: "single",
|
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",
|