@camstack/addon-export-google 0.1.75 → 0.1.77
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.
|
@@ -5438,7 +5438,7 @@ var ZodIssueCode = {
|
|
|
5438
5438
|
var ZodFirstPartyTypeKind;
|
|
5439
5439
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5440
5440
|
//#endregion
|
|
5441
|
-
//#region ../types/dist/sleep-
|
|
5441
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5442
5442
|
/**
|
|
5443
5443
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5444
5444
|
* window to float samples (D455).
|
|
@@ -29154,6 +29154,26 @@ var PtzHomePresetSchema = object({
|
|
|
29154
29154
|
"none"
|
|
29155
29155
|
])
|
|
29156
29156
|
});
|
|
29157
|
+
/**
|
|
29158
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
29159
|
+
* after how long.
|
|
29160
|
+
*
|
|
29161
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29162
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29163
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29164
|
+
* can disagree.
|
|
29165
|
+
*
|
|
29166
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29167
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29168
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29169
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29170
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29171
|
+
* return at all.
|
|
29172
|
+
*/
|
|
29173
|
+
var PtzHomeReturnSchema = object({
|
|
29174
|
+
enabled: boolean(),
|
|
29175
|
+
seconds: number().int()
|
|
29176
|
+
});
|
|
29157
29177
|
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({
|
|
29158
29178
|
deviceId: number(),
|
|
29159
29179
|
presetId: string()
|
|
@@ -29176,6 +29196,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29176
29196
|
}), _void(), {
|
|
29177
29197
|
kind: "mutation",
|
|
29178
29198
|
auth: "admin"
|
|
29199
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29200
|
+
kind: "mutation",
|
|
29201
|
+
auth: "admin"
|
|
29202
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29203
|
+
deviceId: number(),
|
|
29204
|
+
enabled: boolean(),
|
|
29205
|
+
seconds: number().int().min(0).max(3600)
|
|
29206
|
+
}), _void(), {
|
|
29207
|
+
kind: "mutation",
|
|
29208
|
+
auth: "admin"
|
|
29179
29209
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29180
29210
|
deviceId: number(),
|
|
29181
29211
|
enabled: boolean()
|
|
@@ -36186,6 +36216,12 @@ Object.freeze({
|
|
|
36186
36216
|
addonId: null,
|
|
36187
36217
|
access: "create"
|
|
36188
36218
|
},
|
|
36219
|
+
"ptz.captureHomeHere": {
|
|
36220
|
+
capName: "ptz",
|
|
36221
|
+
capScope: "device",
|
|
36222
|
+
addonId: null,
|
|
36223
|
+
access: "create"
|
|
36224
|
+
},
|
|
36189
36225
|
"ptz.continuousMove": {
|
|
36190
36226
|
capName: "ptz",
|
|
36191
36227
|
capScope: "device",
|
|
@@ -36204,6 +36240,12 @@ Object.freeze({
|
|
|
36204
36240
|
addonId: null,
|
|
36205
36241
|
access: "view"
|
|
36206
36242
|
},
|
|
36243
|
+
"ptz.getHomeReturn": {
|
|
36244
|
+
capName: "ptz",
|
|
36245
|
+
capScope: "device",
|
|
36246
|
+
addonId: null,
|
|
36247
|
+
access: "view"
|
|
36248
|
+
},
|
|
36207
36249
|
"ptz.getOptions": {
|
|
36208
36250
|
capName: "ptz",
|
|
36209
36251
|
capScope: "device",
|
|
@@ -36258,6 +36300,12 @@ Object.freeze({
|
|
|
36258
36300
|
addonId: null,
|
|
36259
36301
|
access: "create"
|
|
36260
36302
|
},
|
|
36303
|
+
"ptz.setHomeReturn": {
|
|
36304
|
+
capName: "ptz",
|
|
36305
|
+
capScope: "device",
|
|
36306
|
+
addonId: null,
|
|
36307
|
+
access: "create"
|
|
36308
|
+
},
|
|
36261
36309
|
"ptz.stop": {
|
|
36262
36310
|
capName: "ptz",
|
|
36263
36311
|
capScope: "device",
|
|
@@ -39421,6 +39469,11 @@ Object.freeze({
|
|
|
39421
39469
|
form: "single",
|
|
39422
39470
|
optional: false
|
|
39423
39471
|
}],
|
|
39472
|
+
"ptz.captureHomeHere": [{
|
|
39473
|
+
name: "deviceId",
|
|
39474
|
+
form: "single",
|
|
39475
|
+
optional: false
|
|
39476
|
+
}],
|
|
39424
39477
|
"ptz.continuousMove": [{
|
|
39425
39478
|
name: "deviceId",
|
|
39426
39479
|
form: "single",
|
|
@@ -39436,6 +39489,11 @@ Object.freeze({
|
|
|
39436
39489
|
form: "single",
|
|
39437
39490
|
optional: false
|
|
39438
39491
|
}],
|
|
39492
|
+
"ptz.getHomeReturn": [{
|
|
39493
|
+
name: "deviceId",
|
|
39494
|
+
form: "single",
|
|
39495
|
+
optional: false
|
|
39496
|
+
}],
|
|
39439
39497
|
"ptz.getOptions": [{
|
|
39440
39498
|
name: "deviceId",
|
|
39441
39499
|
form: "single",
|
|
@@ -39481,6 +39539,11 @@ Object.freeze({
|
|
|
39481
39539
|
form: "single",
|
|
39482
39540
|
optional: false
|
|
39483
39541
|
}],
|
|
39542
|
+
"ptz.setHomeReturn": [{
|
|
39543
|
+
name: "deviceId",
|
|
39544
|
+
form: "single",
|
|
39545
|
+
optional: false
|
|
39546
|
+
}],
|
|
39484
39547
|
"ptz.stop": [{
|
|
39485
39548
|
name: "deviceId",
|
|
39486
39549
|
form: "single",
|
|
@@ -5434,7 +5434,7 @@ var ZodIssueCode = {
|
|
|
5434
5434
|
var ZodFirstPartyTypeKind;
|
|
5435
5435
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5436
5436
|
//#endregion
|
|
5437
|
-
//#region ../types/dist/sleep-
|
|
5437
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5438
5438
|
/**
|
|
5439
5439
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5440
5440
|
* window to float samples (D455).
|
|
@@ -29150,6 +29150,26 @@ var PtzHomePresetSchema = object({
|
|
|
29150
29150
|
"none"
|
|
29151
29151
|
])
|
|
29152
29152
|
});
|
|
29153
|
+
/**
|
|
29154
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
29155
|
+
* after how long.
|
|
29156
|
+
*
|
|
29157
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29158
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29159
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29160
|
+
* can disagree.
|
|
29161
|
+
*
|
|
29162
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29163
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29164
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29165
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29166
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29167
|
+
* return at all.
|
|
29168
|
+
*/
|
|
29169
|
+
var PtzHomeReturnSchema = object({
|
|
29170
|
+
enabled: boolean(),
|
|
29171
|
+
seconds: number().int()
|
|
29172
|
+
});
|
|
29153
29173
|
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({
|
|
29154
29174
|
deviceId: number(),
|
|
29155
29175
|
presetId: string()
|
|
@@ -29172,6 +29192,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29172
29192
|
}), _void(), {
|
|
29173
29193
|
kind: "mutation",
|
|
29174
29194
|
auth: "admin"
|
|
29195
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29196
|
+
kind: "mutation",
|
|
29197
|
+
auth: "admin"
|
|
29198
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29199
|
+
deviceId: number(),
|
|
29200
|
+
enabled: boolean(),
|
|
29201
|
+
seconds: number().int().min(0).max(3600)
|
|
29202
|
+
}), _void(), {
|
|
29203
|
+
kind: "mutation",
|
|
29204
|
+
auth: "admin"
|
|
29175
29205
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29176
29206
|
deviceId: number(),
|
|
29177
29207
|
enabled: boolean()
|
|
@@ -36182,6 +36212,12 @@ Object.freeze({
|
|
|
36182
36212
|
addonId: null,
|
|
36183
36213
|
access: "create"
|
|
36184
36214
|
},
|
|
36215
|
+
"ptz.captureHomeHere": {
|
|
36216
|
+
capName: "ptz",
|
|
36217
|
+
capScope: "device",
|
|
36218
|
+
addonId: null,
|
|
36219
|
+
access: "create"
|
|
36220
|
+
},
|
|
36185
36221
|
"ptz.continuousMove": {
|
|
36186
36222
|
capName: "ptz",
|
|
36187
36223
|
capScope: "device",
|
|
@@ -36200,6 +36236,12 @@ Object.freeze({
|
|
|
36200
36236
|
addonId: null,
|
|
36201
36237
|
access: "view"
|
|
36202
36238
|
},
|
|
36239
|
+
"ptz.getHomeReturn": {
|
|
36240
|
+
capName: "ptz",
|
|
36241
|
+
capScope: "device",
|
|
36242
|
+
addonId: null,
|
|
36243
|
+
access: "view"
|
|
36244
|
+
},
|
|
36203
36245
|
"ptz.getOptions": {
|
|
36204
36246
|
capName: "ptz",
|
|
36205
36247
|
capScope: "device",
|
|
@@ -36254,6 +36296,12 @@ Object.freeze({
|
|
|
36254
36296
|
addonId: null,
|
|
36255
36297
|
access: "create"
|
|
36256
36298
|
},
|
|
36299
|
+
"ptz.setHomeReturn": {
|
|
36300
|
+
capName: "ptz",
|
|
36301
|
+
capScope: "device",
|
|
36302
|
+
addonId: null,
|
|
36303
|
+
access: "create"
|
|
36304
|
+
},
|
|
36257
36305
|
"ptz.stop": {
|
|
36258
36306
|
capName: "ptz",
|
|
36259
36307
|
capScope: "device",
|
|
@@ -39417,6 +39465,11 @@ Object.freeze({
|
|
|
39417
39465
|
form: "single",
|
|
39418
39466
|
optional: false
|
|
39419
39467
|
}],
|
|
39468
|
+
"ptz.captureHomeHere": [{
|
|
39469
|
+
name: "deviceId",
|
|
39470
|
+
form: "single",
|
|
39471
|
+
optional: false
|
|
39472
|
+
}],
|
|
39420
39473
|
"ptz.continuousMove": [{
|
|
39421
39474
|
name: "deviceId",
|
|
39422
39475
|
form: "single",
|
|
@@ -39432,6 +39485,11 @@ Object.freeze({
|
|
|
39432
39485
|
form: "single",
|
|
39433
39486
|
optional: false
|
|
39434
39487
|
}],
|
|
39488
|
+
"ptz.getHomeReturn": [{
|
|
39489
|
+
name: "deviceId",
|
|
39490
|
+
form: "single",
|
|
39491
|
+
optional: false
|
|
39492
|
+
}],
|
|
39435
39493
|
"ptz.getOptions": [{
|
|
39436
39494
|
name: "deviceId",
|
|
39437
39495
|
form: "single",
|
|
@@ -39477,6 +39535,11 @@ Object.freeze({
|
|
|
39477
39535
|
form: "single",
|
|
39478
39536
|
optional: false
|
|
39479
39537
|
}],
|
|
39538
|
+
"ptz.setHomeReturn": [{
|
|
39539
|
+
name: "deviceId",
|
|
39540
|
+
form: "single",
|
|
39541
|
+
optional: false
|
|
39542
|
+
}],
|
|
39480
39543
|
"ptz.stop": [{
|
|
39481
39544
|
name: "deviceId",
|
|
39482
39545
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|