@camstack/addon-import-alexa 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
|
@@ -5399,7 +5399,7 @@ var ZodIssueCode = {
|
|
|
5399
5399
|
var ZodFirstPartyTypeKind;
|
|
5400
5400
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5401
5401
|
//#endregion
|
|
5402
|
-
//#region ../types/dist/sleep-
|
|
5402
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5403
5403
|
/**
|
|
5404
5404
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5405
5405
|
* window to float samples (D455).
|
|
@@ -31287,6 +31287,26 @@ var PtzHomePresetSchema = object({
|
|
|
31287
31287
|
"none"
|
|
31288
31288
|
])
|
|
31289
31289
|
});
|
|
31290
|
+
/**
|
|
31291
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31292
|
+
* after how long.
|
|
31293
|
+
*
|
|
31294
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31295
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31296
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31297
|
+
* can disagree.
|
|
31298
|
+
*
|
|
31299
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31300
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31301
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31302
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31303
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31304
|
+
* return at all.
|
|
31305
|
+
*/
|
|
31306
|
+
var PtzHomeReturnSchema = object({
|
|
31307
|
+
enabled: boolean(),
|
|
31308
|
+
seconds: number().int()
|
|
31309
|
+
});
|
|
31290
31310
|
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({
|
|
31291
31311
|
deviceId: number(),
|
|
31292
31312
|
presetId: string()
|
|
@@ -31309,6 +31329,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31309
31329
|
}), _void(), {
|
|
31310
31330
|
kind: "mutation",
|
|
31311
31331
|
auth: "admin"
|
|
31332
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31333
|
+
kind: "mutation",
|
|
31334
|
+
auth: "admin"
|
|
31335
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31336
|
+
deviceId: number(),
|
|
31337
|
+
enabled: boolean(),
|
|
31338
|
+
seconds: number().int().min(0).max(3600)
|
|
31339
|
+
}), _void(), {
|
|
31340
|
+
kind: "mutation",
|
|
31341
|
+
auth: "admin"
|
|
31312
31342
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31313
31343
|
deviceId: number(),
|
|
31314
31344
|
enabled: boolean()
|
|
@@ -40551,6 +40581,12 @@ Object.freeze({
|
|
|
40551
40581
|
addonId: null,
|
|
40552
40582
|
access: "create"
|
|
40553
40583
|
},
|
|
40584
|
+
"ptz.captureHomeHere": {
|
|
40585
|
+
capName: "ptz",
|
|
40586
|
+
capScope: "device",
|
|
40587
|
+
addonId: null,
|
|
40588
|
+
access: "create"
|
|
40589
|
+
},
|
|
40554
40590
|
"ptz.continuousMove": {
|
|
40555
40591
|
capName: "ptz",
|
|
40556
40592
|
capScope: "device",
|
|
@@ -40569,6 +40605,12 @@ Object.freeze({
|
|
|
40569
40605
|
addonId: null,
|
|
40570
40606
|
access: "view"
|
|
40571
40607
|
},
|
|
40608
|
+
"ptz.getHomeReturn": {
|
|
40609
|
+
capName: "ptz",
|
|
40610
|
+
capScope: "device",
|
|
40611
|
+
addonId: null,
|
|
40612
|
+
access: "view"
|
|
40613
|
+
},
|
|
40572
40614
|
"ptz.getOptions": {
|
|
40573
40615
|
capName: "ptz",
|
|
40574
40616
|
capScope: "device",
|
|
@@ -40623,6 +40665,12 @@ Object.freeze({
|
|
|
40623
40665
|
addonId: null,
|
|
40624
40666
|
access: "create"
|
|
40625
40667
|
},
|
|
40668
|
+
"ptz.setHomeReturn": {
|
|
40669
|
+
capName: "ptz",
|
|
40670
|
+
capScope: "device",
|
|
40671
|
+
addonId: null,
|
|
40672
|
+
access: "create"
|
|
40673
|
+
},
|
|
40626
40674
|
"ptz.stop": {
|
|
40627
40675
|
capName: "ptz",
|
|
40628
40676
|
capScope: "device",
|
|
@@ -43786,6 +43834,11 @@ Object.freeze({
|
|
|
43786
43834
|
form: "single",
|
|
43787
43835
|
optional: false
|
|
43788
43836
|
}],
|
|
43837
|
+
"ptz.captureHomeHere": [{
|
|
43838
|
+
name: "deviceId",
|
|
43839
|
+
form: "single",
|
|
43840
|
+
optional: false
|
|
43841
|
+
}],
|
|
43789
43842
|
"ptz.continuousMove": [{
|
|
43790
43843
|
name: "deviceId",
|
|
43791
43844
|
form: "single",
|
|
@@ -43801,6 +43854,11 @@ Object.freeze({
|
|
|
43801
43854
|
form: "single",
|
|
43802
43855
|
optional: false
|
|
43803
43856
|
}],
|
|
43857
|
+
"ptz.getHomeReturn": [{
|
|
43858
|
+
name: "deviceId",
|
|
43859
|
+
form: "single",
|
|
43860
|
+
optional: false
|
|
43861
|
+
}],
|
|
43804
43862
|
"ptz.getOptions": [{
|
|
43805
43863
|
name: "deviceId",
|
|
43806
43864
|
form: "single",
|
|
@@ -43846,6 +43904,11 @@ Object.freeze({
|
|
|
43846
43904
|
form: "single",
|
|
43847
43905
|
optional: false
|
|
43848
43906
|
}],
|
|
43907
|
+
"ptz.setHomeReturn": [{
|
|
43908
|
+
name: "deviceId",
|
|
43909
|
+
form: "single",
|
|
43910
|
+
optional: false
|
|
43911
|
+
}],
|
|
43849
43912
|
"ptz.stop": [{
|
|
43850
43913
|
name: "deviceId",
|
|
43851
43914
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5399,7 +5399,7 @@ var ZodIssueCode = {
|
|
|
5399
5399
|
var ZodFirstPartyTypeKind;
|
|
5400
5400
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5401
5401
|
//#endregion
|
|
5402
|
-
//#region ../types/dist/sleep-
|
|
5402
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5403
5403
|
/**
|
|
5404
5404
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5405
5405
|
* window to float samples (D455).
|
|
@@ -31287,6 +31287,26 @@ var PtzHomePresetSchema = object({
|
|
|
31287
31287
|
"none"
|
|
31288
31288
|
])
|
|
31289
31289
|
});
|
|
31290
|
+
/**
|
|
31291
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31292
|
+
* after how long.
|
|
31293
|
+
*
|
|
31294
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31295
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31296
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31297
|
+
* can disagree.
|
|
31298
|
+
*
|
|
31299
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31300
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31301
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31302
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31303
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31304
|
+
* return at all.
|
|
31305
|
+
*/
|
|
31306
|
+
var PtzHomeReturnSchema = object({
|
|
31307
|
+
enabled: boolean(),
|
|
31308
|
+
seconds: number().int()
|
|
31309
|
+
});
|
|
31290
31310
|
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({
|
|
31291
31311
|
deviceId: number(),
|
|
31292
31312
|
presetId: string()
|
|
@@ -31309,6 +31329,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31309
31329
|
}), _void(), {
|
|
31310
31330
|
kind: "mutation",
|
|
31311
31331
|
auth: "admin"
|
|
31332
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31333
|
+
kind: "mutation",
|
|
31334
|
+
auth: "admin"
|
|
31335
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31336
|
+
deviceId: number(),
|
|
31337
|
+
enabled: boolean(),
|
|
31338
|
+
seconds: number().int().min(0).max(3600)
|
|
31339
|
+
}), _void(), {
|
|
31340
|
+
kind: "mutation",
|
|
31341
|
+
auth: "admin"
|
|
31312
31342
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31313
31343
|
deviceId: number(),
|
|
31314
31344
|
enabled: boolean()
|
|
@@ -40551,6 +40581,12 @@ Object.freeze({
|
|
|
40551
40581
|
addonId: null,
|
|
40552
40582
|
access: "create"
|
|
40553
40583
|
},
|
|
40584
|
+
"ptz.captureHomeHere": {
|
|
40585
|
+
capName: "ptz",
|
|
40586
|
+
capScope: "device",
|
|
40587
|
+
addonId: null,
|
|
40588
|
+
access: "create"
|
|
40589
|
+
},
|
|
40554
40590
|
"ptz.continuousMove": {
|
|
40555
40591
|
capName: "ptz",
|
|
40556
40592
|
capScope: "device",
|
|
@@ -40569,6 +40605,12 @@ Object.freeze({
|
|
|
40569
40605
|
addonId: null,
|
|
40570
40606
|
access: "view"
|
|
40571
40607
|
},
|
|
40608
|
+
"ptz.getHomeReturn": {
|
|
40609
|
+
capName: "ptz",
|
|
40610
|
+
capScope: "device",
|
|
40611
|
+
addonId: null,
|
|
40612
|
+
access: "view"
|
|
40613
|
+
},
|
|
40572
40614
|
"ptz.getOptions": {
|
|
40573
40615
|
capName: "ptz",
|
|
40574
40616
|
capScope: "device",
|
|
@@ -40623,6 +40665,12 @@ Object.freeze({
|
|
|
40623
40665
|
addonId: null,
|
|
40624
40666
|
access: "create"
|
|
40625
40667
|
},
|
|
40668
|
+
"ptz.setHomeReturn": {
|
|
40669
|
+
capName: "ptz",
|
|
40670
|
+
capScope: "device",
|
|
40671
|
+
addonId: null,
|
|
40672
|
+
access: "create"
|
|
40673
|
+
},
|
|
40626
40674
|
"ptz.stop": {
|
|
40627
40675
|
capName: "ptz",
|
|
40628
40676
|
capScope: "device",
|
|
@@ -43786,6 +43834,11 @@ Object.freeze({
|
|
|
43786
43834
|
form: "single",
|
|
43787
43835
|
optional: false
|
|
43788
43836
|
}],
|
|
43837
|
+
"ptz.captureHomeHere": [{
|
|
43838
|
+
name: "deviceId",
|
|
43839
|
+
form: "single",
|
|
43840
|
+
optional: false
|
|
43841
|
+
}],
|
|
43789
43842
|
"ptz.continuousMove": [{
|
|
43790
43843
|
name: "deviceId",
|
|
43791
43844
|
form: "single",
|
|
@@ -43801,6 +43854,11 @@ Object.freeze({
|
|
|
43801
43854
|
form: "single",
|
|
43802
43855
|
optional: false
|
|
43803
43856
|
}],
|
|
43857
|
+
"ptz.getHomeReturn": [{
|
|
43858
|
+
name: "deviceId",
|
|
43859
|
+
form: "single",
|
|
43860
|
+
optional: false
|
|
43861
|
+
}],
|
|
43804
43862
|
"ptz.getOptions": [{
|
|
43805
43863
|
name: "deviceId",
|
|
43806
43864
|
form: "single",
|
|
@@ -43846,6 +43904,11 @@ Object.freeze({
|
|
|
43846
43904
|
form: "single",
|
|
43847
43905
|
optional: false
|
|
43848
43906
|
}],
|
|
43907
|
+
"ptz.setHomeReturn": [{
|
|
43908
|
+
name: "deviceId",
|
|
43909
|
+
form: "single",
|
|
43910
|
+
optional: false
|
|
43911
|
+
}],
|
|
43849
43912
|
"ptz.stop": [{
|
|
43850
43913
|
name: "deviceId",
|
|
43851
43914
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.112",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|