@camstack/addon-provider-dreame 0.2.113 → 0.2.114

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 CHANGED
@@ -58137,7 +58137,7 @@ var ZodIssueCode = {
58137
58137
  var ZodFirstPartyTypeKind;
58138
58138
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
58139
58139
  //#endregion
58140
- //#region ../types/dist/sleep-vl6nBE8d.mjs
58140
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
58141
58141
  /**
58142
58142
  * The audio chunk plane's byte format, and the ONE expansion from a coded
58143
58143
  * window to float samples (D455).
@@ -83996,6 +83996,26 @@ var PtzHomePresetSchema = object({
83996
83996
  "none"
83997
83997
  ])
83998
83998
  });
83999
+ /**
84000
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
84001
+ * after how long.
84002
+ *
84003
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
84004
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
84005
+ * written by the same command. Reading them apart means two round-trips that
84006
+ * can disagree.
84007
+ *
84008
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
84009
+ * the behaviour switched off, which is exactly what the vendor app leaves when
84010
+ * you turn the guard point off without clearing it. The first version of this
84011
+ * cap reported only the delay, so that state was invisible — a camera could be
84012
+ * configured to return after 68 seconds with no way to say whether it should
84013
+ * return at all.
84014
+ */
84015
+ var PtzHomeReturnSchema = object({
84016
+ enabled: boolean(),
84017
+ seconds: number().int()
84018
+ });
83999
84019
  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({
84000
84020
  deviceId: number(),
84001
84021
  presetId: string()
@@ -84021,8 +84041,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
84021
84041
  }), method(object({ deviceId: number() }), _void(), {
84022
84042
  kind: "mutation",
84023
84043
  auth: "admin"
84024
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
84044
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
84025
84045
  deviceId: number(),
84046
+ enabled: boolean(),
84026
84047
  seconds: number().int().min(0).max(3600)
84027
84048
  }), _void(), {
84028
84049
  kind: "mutation",
@@ -93293,7 +93314,7 @@ Object.freeze({
93293
93314
  addonId: null,
93294
93315
  access: "view"
93295
93316
  },
93296
- "ptz.getHomeReturnSeconds": {
93317
+ "ptz.getHomeReturn": {
93297
93318
  capName: "ptz",
93298
93319
  capScope: "device",
93299
93320
  addonId: null,
@@ -93353,7 +93374,7 @@ Object.freeze({
93353
93374
  addonId: null,
93354
93375
  access: "create"
93355
93376
  },
93356
- "ptz.setHomeReturnSeconds": {
93377
+ "ptz.setHomeReturn": {
93357
93378
  capName: "ptz",
93358
93379
  capScope: "device",
93359
93380
  addonId: null,
@@ -96542,7 +96563,7 @@ Object.freeze({
96542
96563
  form: "single",
96543
96564
  optional: false
96544
96565
  }],
96545
- "ptz.getHomeReturnSeconds": [{
96566
+ "ptz.getHomeReturn": [{
96546
96567
  name: "deviceId",
96547
96568
  form: "single",
96548
96569
  optional: false
@@ -96592,7 +96613,7 @@ Object.freeze({
96592
96613
  form: "single",
96593
96614
  optional: false
96594
96615
  }],
96595
- "ptz.setHomeReturnSeconds": [{
96616
+ "ptz.setHomeReturn": [{
96596
96617
  name: "deviceId",
96597
96618
  form: "single",
96598
96619
  optional: false
package/dist/addon.mjs CHANGED
@@ -58134,7 +58134,7 @@ var ZodIssueCode = {
58134
58134
  var ZodFirstPartyTypeKind;
58135
58135
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
58136
58136
  //#endregion
58137
- //#region ../types/dist/sleep-vl6nBE8d.mjs
58137
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
58138
58138
  /**
58139
58139
  * The audio chunk plane's byte format, and the ONE expansion from a coded
58140
58140
  * window to float samples (D455).
@@ -83993,6 +83993,26 @@ var PtzHomePresetSchema = object({
83993
83993
  "none"
83994
83994
  ])
83995
83995
  });
83996
+ /**
83997
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
83998
+ * after how long.
83999
+ *
84000
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
84001
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
84002
+ * written by the same command. Reading them apart means two round-trips that
84003
+ * can disagree.
84004
+ *
84005
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
84006
+ * the behaviour switched off, which is exactly what the vendor app leaves when
84007
+ * you turn the guard point off without clearing it. The first version of this
84008
+ * cap reported only the delay, so that state was invisible — a camera could be
84009
+ * configured to return after 68 seconds with no way to say whether it should
84010
+ * return at all.
84011
+ */
84012
+ var PtzHomeReturnSchema = object({
84013
+ enabled: boolean(),
84014
+ seconds: number().int()
84015
+ });
83996
84016
  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({
83997
84017
  deviceId: number(),
83998
84018
  presetId: string()
@@ -84018,8 +84038,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
84018
84038
  }), method(object({ deviceId: number() }), _void(), {
84019
84039
  kind: "mutation",
84020
84040
  auth: "admin"
84021
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
84041
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
84022
84042
  deviceId: number(),
84043
+ enabled: boolean(),
84023
84044
  seconds: number().int().min(0).max(3600)
84024
84045
  }), _void(), {
84025
84046
  kind: "mutation",
@@ -93290,7 +93311,7 @@ Object.freeze({
93290
93311
  addonId: null,
93291
93312
  access: "view"
93292
93313
  },
93293
- "ptz.getHomeReturnSeconds": {
93314
+ "ptz.getHomeReturn": {
93294
93315
  capName: "ptz",
93295
93316
  capScope: "device",
93296
93317
  addonId: null,
@@ -93350,7 +93371,7 @@ Object.freeze({
93350
93371
  addonId: null,
93351
93372
  access: "create"
93352
93373
  },
93353
- "ptz.setHomeReturnSeconds": {
93374
+ "ptz.setHomeReturn": {
93354
93375
  capName: "ptz",
93355
93376
  capScope: "device",
93356
93377
  addonId: null,
@@ -96539,7 +96560,7 @@ Object.freeze({
96539
96560
  form: "single",
96540
96561
  optional: false
96541
96562
  }],
96542
- "ptz.getHomeReturnSeconds": [{
96563
+ "ptz.getHomeReturn": [{
96543
96564
  name: "deviceId",
96544
96565
  form: "single",
96545
96566
  optional: false
@@ -96589,7 +96610,7 @@ Object.freeze({
96589
96610
  form: "single",
96590
96611
  optional: false
96591
96612
  }],
96592
- "ptz.setHomeReturnSeconds": [{
96613
+ "ptz.setHomeReturn": [{
96593
96614
  name: "deviceId",
96594
96615
  form: "single",
96595
96616
  optional: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.113",
3
+ "version": "0.2.114",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",