@camstack/addon-export-alexa 1.2.118 → 1.2.120
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.
|
@@ -5387,7 +5387,7 @@ var ZodIssueCode = {
|
|
|
5387
5387
|
var ZodFirstPartyTypeKind;
|
|
5388
5388
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5389
5389
|
//#endregion
|
|
5390
|
-
//#region ../types/dist/sleep-
|
|
5390
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5391
5391
|
/**
|
|
5392
5392
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5393
5393
|
* window to float samples (D455).
|
|
@@ -29231,6 +29231,26 @@ var PtzHomePresetSchema = object({
|
|
|
29231
29231
|
"none"
|
|
29232
29232
|
])
|
|
29233
29233
|
});
|
|
29234
|
+
/**
|
|
29235
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
29236
|
+
* after how long.
|
|
29237
|
+
*
|
|
29238
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29239
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29240
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29241
|
+
* can disagree.
|
|
29242
|
+
*
|
|
29243
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29244
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29245
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29246
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29247
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29248
|
+
* return at all.
|
|
29249
|
+
*/
|
|
29250
|
+
var PtzHomeReturnSchema = object({
|
|
29251
|
+
enabled: boolean(),
|
|
29252
|
+
seconds: number().int()
|
|
29253
|
+
});
|
|
29234
29254
|
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({
|
|
29235
29255
|
deviceId: number(),
|
|
29236
29256
|
presetId: string()
|
|
@@ -29253,6 +29273,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29253
29273
|
}), _void(), {
|
|
29254
29274
|
kind: "mutation",
|
|
29255
29275
|
auth: "admin"
|
|
29276
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29277
|
+
kind: "mutation",
|
|
29278
|
+
auth: "admin"
|
|
29279
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29280
|
+
deviceId: number(),
|
|
29281
|
+
enabled: boolean(),
|
|
29282
|
+
seconds: number().int().min(0).max(3600)
|
|
29283
|
+
}), _void(), {
|
|
29284
|
+
kind: "mutation",
|
|
29285
|
+
auth: "admin"
|
|
29256
29286
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29257
29287
|
deviceId: number(),
|
|
29258
29288
|
enabled: boolean()
|
|
@@ -36256,6 +36286,12 @@ Object.freeze({
|
|
|
36256
36286
|
addonId: null,
|
|
36257
36287
|
access: "create"
|
|
36258
36288
|
},
|
|
36289
|
+
"ptz.captureHomeHere": {
|
|
36290
|
+
capName: "ptz",
|
|
36291
|
+
capScope: "device",
|
|
36292
|
+
addonId: null,
|
|
36293
|
+
access: "create"
|
|
36294
|
+
},
|
|
36259
36295
|
"ptz.continuousMove": {
|
|
36260
36296
|
capName: "ptz",
|
|
36261
36297
|
capScope: "device",
|
|
@@ -36274,6 +36310,12 @@ Object.freeze({
|
|
|
36274
36310
|
addonId: null,
|
|
36275
36311
|
access: "view"
|
|
36276
36312
|
},
|
|
36313
|
+
"ptz.getHomeReturn": {
|
|
36314
|
+
capName: "ptz",
|
|
36315
|
+
capScope: "device",
|
|
36316
|
+
addonId: null,
|
|
36317
|
+
access: "view"
|
|
36318
|
+
},
|
|
36277
36319
|
"ptz.getOptions": {
|
|
36278
36320
|
capName: "ptz",
|
|
36279
36321
|
capScope: "device",
|
|
@@ -36328,6 +36370,12 @@ Object.freeze({
|
|
|
36328
36370
|
addonId: null,
|
|
36329
36371
|
access: "create"
|
|
36330
36372
|
},
|
|
36373
|
+
"ptz.setHomeReturn": {
|
|
36374
|
+
capName: "ptz",
|
|
36375
|
+
capScope: "device",
|
|
36376
|
+
addonId: null,
|
|
36377
|
+
access: "create"
|
|
36378
|
+
},
|
|
36331
36379
|
"ptz.stop": {
|
|
36332
36380
|
capName: "ptz",
|
|
36333
36381
|
capScope: "device",
|
|
@@ -39491,6 +39539,11 @@ Object.freeze({
|
|
|
39491
39539
|
form: "single",
|
|
39492
39540
|
optional: false
|
|
39493
39541
|
}],
|
|
39542
|
+
"ptz.captureHomeHere": [{
|
|
39543
|
+
name: "deviceId",
|
|
39544
|
+
form: "single",
|
|
39545
|
+
optional: false
|
|
39546
|
+
}],
|
|
39494
39547
|
"ptz.continuousMove": [{
|
|
39495
39548
|
name: "deviceId",
|
|
39496
39549
|
form: "single",
|
|
@@ -39506,6 +39559,11 @@ Object.freeze({
|
|
|
39506
39559
|
form: "single",
|
|
39507
39560
|
optional: false
|
|
39508
39561
|
}],
|
|
39562
|
+
"ptz.getHomeReturn": [{
|
|
39563
|
+
name: "deviceId",
|
|
39564
|
+
form: "single",
|
|
39565
|
+
optional: false
|
|
39566
|
+
}],
|
|
39509
39567
|
"ptz.getOptions": [{
|
|
39510
39568
|
name: "deviceId",
|
|
39511
39569
|
form: "single",
|
|
@@ -39551,6 +39609,11 @@ Object.freeze({
|
|
|
39551
39609
|
form: "single",
|
|
39552
39610
|
optional: false
|
|
39553
39611
|
}],
|
|
39612
|
+
"ptz.setHomeReturn": [{
|
|
39613
|
+
name: "deviceId",
|
|
39614
|
+
form: "single",
|
|
39615
|
+
optional: false
|
|
39616
|
+
}],
|
|
39554
39617
|
"ptz.stop": [{
|
|
39555
39618
|
name: "deviceId",
|
|
39556
39619
|
form: "single",
|
|
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
|
|
|
5360
5360
|
var ZodFirstPartyTypeKind;
|
|
5361
5361
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5362
5362
|
//#endregion
|
|
5363
|
-
//#region ../types/dist/sleep-
|
|
5363
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5364
5364
|
/**
|
|
5365
5365
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5366
5366
|
* window to float samples (D455).
|
|
@@ -29204,6 +29204,26 @@ var PtzHomePresetSchema = object({
|
|
|
29204
29204
|
"none"
|
|
29205
29205
|
])
|
|
29206
29206
|
});
|
|
29207
|
+
/**
|
|
29208
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
29209
|
+
* after how long.
|
|
29210
|
+
*
|
|
29211
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29212
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29213
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29214
|
+
* can disagree.
|
|
29215
|
+
*
|
|
29216
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29217
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29218
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29219
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29220
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29221
|
+
* return at all.
|
|
29222
|
+
*/
|
|
29223
|
+
var PtzHomeReturnSchema = object({
|
|
29224
|
+
enabled: boolean(),
|
|
29225
|
+
seconds: number().int()
|
|
29226
|
+
});
|
|
29207
29227
|
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({
|
|
29208
29228
|
deviceId: number(),
|
|
29209
29229
|
presetId: string()
|
|
@@ -29226,6 +29246,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29226
29246
|
}), _void(), {
|
|
29227
29247
|
kind: "mutation",
|
|
29228
29248
|
auth: "admin"
|
|
29249
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29250
|
+
kind: "mutation",
|
|
29251
|
+
auth: "admin"
|
|
29252
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29253
|
+
deviceId: number(),
|
|
29254
|
+
enabled: boolean(),
|
|
29255
|
+
seconds: number().int().min(0).max(3600)
|
|
29256
|
+
}), _void(), {
|
|
29257
|
+
kind: "mutation",
|
|
29258
|
+
auth: "admin"
|
|
29229
29259
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29230
29260
|
deviceId: number(),
|
|
29231
29261
|
enabled: boolean()
|
|
@@ -36229,6 +36259,12 @@ Object.freeze({
|
|
|
36229
36259
|
addonId: null,
|
|
36230
36260
|
access: "create"
|
|
36231
36261
|
},
|
|
36262
|
+
"ptz.captureHomeHere": {
|
|
36263
|
+
capName: "ptz",
|
|
36264
|
+
capScope: "device",
|
|
36265
|
+
addonId: null,
|
|
36266
|
+
access: "create"
|
|
36267
|
+
},
|
|
36232
36268
|
"ptz.continuousMove": {
|
|
36233
36269
|
capName: "ptz",
|
|
36234
36270
|
capScope: "device",
|
|
@@ -36247,6 +36283,12 @@ Object.freeze({
|
|
|
36247
36283
|
addonId: null,
|
|
36248
36284
|
access: "view"
|
|
36249
36285
|
},
|
|
36286
|
+
"ptz.getHomeReturn": {
|
|
36287
|
+
capName: "ptz",
|
|
36288
|
+
capScope: "device",
|
|
36289
|
+
addonId: null,
|
|
36290
|
+
access: "view"
|
|
36291
|
+
},
|
|
36250
36292
|
"ptz.getOptions": {
|
|
36251
36293
|
capName: "ptz",
|
|
36252
36294
|
capScope: "device",
|
|
@@ -36301,6 +36343,12 @@ Object.freeze({
|
|
|
36301
36343
|
addonId: null,
|
|
36302
36344
|
access: "create"
|
|
36303
36345
|
},
|
|
36346
|
+
"ptz.setHomeReturn": {
|
|
36347
|
+
capName: "ptz",
|
|
36348
|
+
capScope: "device",
|
|
36349
|
+
addonId: null,
|
|
36350
|
+
access: "create"
|
|
36351
|
+
},
|
|
36304
36352
|
"ptz.stop": {
|
|
36305
36353
|
capName: "ptz",
|
|
36306
36354
|
capScope: "device",
|
|
@@ -39464,6 +39512,11 @@ Object.freeze({
|
|
|
39464
39512
|
form: "single",
|
|
39465
39513
|
optional: false
|
|
39466
39514
|
}],
|
|
39515
|
+
"ptz.captureHomeHere": [{
|
|
39516
|
+
name: "deviceId",
|
|
39517
|
+
form: "single",
|
|
39518
|
+
optional: false
|
|
39519
|
+
}],
|
|
39467
39520
|
"ptz.continuousMove": [{
|
|
39468
39521
|
name: "deviceId",
|
|
39469
39522
|
form: "single",
|
|
@@ -39479,6 +39532,11 @@ Object.freeze({
|
|
|
39479
39532
|
form: "single",
|
|
39480
39533
|
optional: false
|
|
39481
39534
|
}],
|
|
39535
|
+
"ptz.getHomeReturn": [{
|
|
39536
|
+
name: "deviceId",
|
|
39537
|
+
form: "single",
|
|
39538
|
+
optional: false
|
|
39539
|
+
}],
|
|
39482
39540
|
"ptz.getOptions": [{
|
|
39483
39541
|
name: "deviceId",
|
|
39484
39542
|
form: "single",
|
|
@@ -39524,6 +39582,11 @@ Object.freeze({
|
|
|
39524
39582
|
form: "single",
|
|
39525
39583
|
optional: false
|
|
39526
39584
|
}],
|
|
39585
|
+
"ptz.setHomeReturn": [{
|
|
39586
|
+
name: "deviceId",
|
|
39587
|
+
form: "single",
|
|
39588
|
+
optional: false
|
|
39589
|
+
}],
|
|
39527
39590
|
"ptz.stop": [{
|
|
39528
39591
|
name: "deviceId",
|
|
39529
39592
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.120",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|