@camstack/addon-export-google 0.1.76 → 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-vl6nBE8d.mjs
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()
@@ -29179,8 +29199,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
29179
29199
  }), method(object({ deviceId: number() }), _void(), {
29180
29200
  kind: "mutation",
29181
29201
  auth: "admin"
29182
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
29202
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
29183
29203
  deviceId: number(),
29204
+ enabled: boolean(),
29184
29205
  seconds: number().int().min(0).max(3600)
29185
29206
  }), _void(), {
29186
29207
  kind: "mutation",
@@ -36219,7 +36240,7 @@ Object.freeze({
36219
36240
  addonId: null,
36220
36241
  access: "view"
36221
36242
  },
36222
- "ptz.getHomeReturnSeconds": {
36243
+ "ptz.getHomeReturn": {
36223
36244
  capName: "ptz",
36224
36245
  capScope: "device",
36225
36246
  addonId: null,
@@ -36279,7 +36300,7 @@ Object.freeze({
36279
36300
  addonId: null,
36280
36301
  access: "create"
36281
36302
  },
36282
- "ptz.setHomeReturnSeconds": {
36303
+ "ptz.setHomeReturn": {
36283
36304
  capName: "ptz",
36284
36305
  capScope: "device",
36285
36306
  addonId: null,
@@ -39468,7 +39489,7 @@ Object.freeze({
39468
39489
  form: "single",
39469
39490
  optional: false
39470
39491
  }],
39471
- "ptz.getHomeReturnSeconds": [{
39492
+ "ptz.getHomeReturn": [{
39472
39493
  name: "deviceId",
39473
39494
  form: "single",
39474
39495
  optional: false
@@ -39518,7 +39539,7 @@ Object.freeze({
39518
39539
  form: "single",
39519
39540
  optional: false
39520
39541
  }],
39521
- "ptz.setHomeReturnSeconds": [{
39542
+ "ptz.setHomeReturn": [{
39522
39543
  name: "deviceId",
39523
39544
  form: "single",
39524
39545
  optional: false
@@ -5434,7 +5434,7 @@ var ZodIssueCode = {
5434
5434
  var ZodFirstPartyTypeKind;
5435
5435
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5436
5436
  //#endregion
5437
- //#region ../types/dist/sleep-vl6nBE8d.mjs
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()
@@ -29175,8 +29195,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
29175
29195
  }), method(object({ deviceId: number() }), _void(), {
29176
29196
  kind: "mutation",
29177
29197
  auth: "admin"
29178
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
29198
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
29179
29199
  deviceId: number(),
29200
+ enabled: boolean(),
29180
29201
  seconds: number().int().min(0).max(3600)
29181
29202
  }), _void(), {
29182
29203
  kind: "mutation",
@@ -36215,7 +36236,7 @@ Object.freeze({
36215
36236
  addonId: null,
36216
36237
  access: "view"
36217
36238
  },
36218
- "ptz.getHomeReturnSeconds": {
36239
+ "ptz.getHomeReturn": {
36219
36240
  capName: "ptz",
36220
36241
  capScope: "device",
36221
36242
  addonId: null,
@@ -36275,7 +36296,7 @@ Object.freeze({
36275
36296
  addonId: null,
36276
36297
  access: "create"
36277
36298
  },
36278
- "ptz.setHomeReturnSeconds": {
36299
+ "ptz.setHomeReturn": {
36279
36300
  capName: "ptz",
36280
36301
  capScope: "device",
36281
36302
  addonId: null,
@@ -39464,7 +39485,7 @@ Object.freeze({
39464
39485
  form: "single",
39465
39486
  optional: false
39466
39487
  }],
39467
- "ptz.getHomeReturnSeconds": [{
39488
+ "ptz.getHomeReturn": [{
39468
39489
  name: "deviceId",
39469
39490
  form: "single",
39470
39491
  optional: false
@@ -39514,7 +39535,7 @@ Object.freeze({
39514
39535
  form: "single",
39515
39536
  optional: false
39516
39537
  }],
39517
- "ptz.setHomeReturnSeconds": [{
39538
+ "ptz.setHomeReturn": [{
39518
39539
  name: "deviceId",
39519
39540
  form: "single",
39520
39541
  optional: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.76",
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",