@camstack/addon-provider-rtsp 1.2.112 → 1.2.113

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
@@ -5384,7 +5384,7 @@ var ZodIssueCode = {
5384
5384
  var ZodFirstPartyTypeKind;
5385
5385
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5386
5386
  //#endregion
5387
- //#region ../types/dist/sleep-vl6nBE8d.mjs
5387
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
5388
5388
  /**
5389
5389
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5390
5390
  * window to float samples (D455).
@@ -31197,6 +31197,26 @@ var PtzHomePresetSchema = object({
31197
31197
  "none"
31198
31198
  ])
31199
31199
  });
31200
+ /**
31201
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
31202
+ * after how long.
31203
+ *
31204
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
31205
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
31206
+ * written by the same command. Reading them apart means two round-trips that
31207
+ * can disagree.
31208
+ *
31209
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
31210
+ * the behaviour switched off, which is exactly what the vendor app leaves when
31211
+ * you turn the guard point off without clearing it. The first version of this
31212
+ * cap reported only the delay, so that state was invisible — a camera could be
31213
+ * configured to return after 68 seconds with no way to say whether it should
31214
+ * return at all.
31215
+ */
31216
+ var PtzHomeReturnSchema = object({
31217
+ enabled: boolean(),
31218
+ seconds: number().int()
31219
+ });
31200
31220
  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({
31201
31221
  deviceId: number(),
31202
31222
  presetId: string()
@@ -31222,8 +31242,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
31222
31242
  }), method(object({ deviceId: number() }), _void(), {
31223
31243
  kind: "mutation",
31224
31244
  auth: "admin"
31225
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
31245
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
31226
31246
  deviceId: number(),
31247
+ enabled: boolean(),
31227
31248
  seconds: number().int().min(0).max(3600)
31228
31249
  }), _void(), {
31229
31250
  kind: "mutation",
@@ -40560,7 +40581,7 @@ Object.freeze({
40560
40581
  addonId: null,
40561
40582
  access: "view"
40562
40583
  },
40563
- "ptz.getHomeReturnSeconds": {
40584
+ "ptz.getHomeReturn": {
40564
40585
  capName: "ptz",
40565
40586
  capScope: "device",
40566
40587
  addonId: null,
@@ -40620,7 +40641,7 @@ Object.freeze({
40620
40641
  addonId: null,
40621
40642
  access: "create"
40622
40643
  },
40623
- "ptz.setHomeReturnSeconds": {
40644
+ "ptz.setHomeReturn": {
40624
40645
  capName: "ptz",
40625
40646
  capScope: "device",
40626
40647
  addonId: null,
@@ -43809,7 +43830,7 @@ Object.freeze({
43809
43830
  form: "single",
43810
43831
  optional: false
43811
43832
  }],
43812
- "ptz.getHomeReturnSeconds": [{
43833
+ "ptz.getHomeReturn": [{
43813
43834
  name: "deviceId",
43814
43835
  form: "single",
43815
43836
  optional: false
@@ -43859,7 +43880,7 @@ Object.freeze({
43859
43880
  form: "single",
43860
43881
  optional: false
43861
43882
  }],
43862
- "ptz.setHomeReturnSeconds": [{
43883
+ "ptz.setHomeReturn": [{
43863
43884
  name: "deviceId",
43864
43885
  form: "single",
43865
43886
  optional: false
package/dist/addon.mjs CHANGED
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
5360
5360
  var ZodFirstPartyTypeKind;
5361
5361
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5362
5362
  //#endregion
5363
- //#region ../types/dist/sleep-vl6nBE8d.mjs
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).
@@ -31173,6 +31173,26 @@ var PtzHomePresetSchema = object({
31173
31173
  "none"
31174
31174
  ])
31175
31175
  });
31176
+ /**
31177
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
31178
+ * after how long.
31179
+ *
31180
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
31181
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
31182
+ * written by the same command. Reading them apart means two round-trips that
31183
+ * can disagree.
31184
+ *
31185
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
31186
+ * the behaviour switched off, which is exactly what the vendor app leaves when
31187
+ * you turn the guard point off without clearing it. The first version of this
31188
+ * cap reported only the delay, so that state was invisible — a camera could be
31189
+ * configured to return after 68 seconds with no way to say whether it should
31190
+ * return at all.
31191
+ */
31192
+ var PtzHomeReturnSchema = object({
31193
+ enabled: boolean(),
31194
+ seconds: number().int()
31195
+ });
31176
31196
  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({
31177
31197
  deviceId: number(),
31178
31198
  presetId: string()
@@ -31198,8 +31218,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
31198
31218
  }), method(object({ deviceId: number() }), _void(), {
31199
31219
  kind: "mutation",
31200
31220
  auth: "admin"
31201
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
31221
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
31202
31222
  deviceId: number(),
31223
+ enabled: boolean(),
31203
31224
  seconds: number().int().min(0).max(3600)
31204
31225
  }), _void(), {
31205
31226
  kind: "mutation",
@@ -40536,7 +40557,7 @@ Object.freeze({
40536
40557
  addonId: null,
40537
40558
  access: "view"
40538
40559
  },
40539
- "ptz.getHomeReturnSeconds": {
40560
+ "ptz.getHomeReturn": {
40540
40561
  capName: "ptz",
40541
40562
  capScope: "device",
40542
40563
  addonId: null,
@@ -40596,7 +40617,7 @@ Object.freeze({
40596
40617
  addonId: null,
40597
40618
  access: "create"
40598
40619
  },
40599
- "ptz.setHomeReturnSeconds": {
40620
+ "ptz.setHomeReturn": {
40600
40621
  capName: "ptz",
40601
40622
  capScope: "device",
40602
40623
  addonId: null,
@@ -43785,7 +43806,7 @@ Object.freeze({
43785
43806
  form: "single",
43786
43807
  optional: false
43787
43808
  }],
43788
- "ptz.getHomeReturnSeconds": [{
43809
+ "ptz.getHomeReturn": [{
43789
43810
  name: "deviceId",
43790
43811
  form: "single",
43791
43812
  optional: false
@@ -43835,7 +43856,7 @@ Object.freeze({
43835
43856
  form: "single",
43836
43857
  optional: false
43837
43858
  }],
43838
- "ptz.setHomeReturnSeconds": [{
43859
+ "ptz.setHomeReturn": [{
43839
43860
  name: "deviceId",
43840
43861
  form: "single",
43841
43862
  optional: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.112",
3
+ "version": "1.2.113",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",