@camstack/addon-notifiers 1.2.116 → 1.2.117

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
@@ -5390,7 +5390,7 @@ var ZodIssueCode = {
5390
5390
  var ZodFirstPartyTypeKind;
5391
5391
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5392
5392
  //#endregion
5393
- //#region ../types/dist/sleep-vl6nBE8d.mjs
5393
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
5394
5394
  /**
5395
5395
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5396
5396
  * window to float samples (D455).
@@ -29048,6 +29048,26 @@ var PtzHomePresetSchema = object({
29048
29048
  "none"
29049
29049
  ])
29050
29050
  });
29051
+ /**
29052
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
29053
+ * after how long.
29054
+ *
29055
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
29056
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
29057
+ * written by the same command. Reading them apart means two round-trips that
29058
+ * can disagree.
29059
+ *
29060
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
29061
+ * the behaviour switched off, which is exactly what the vendor app leaves when
29062
+ * you turn the guard point off without clearing it. The first version of this
29063
+ * cap reported only the delay, so that state was invisible — a camera could be
29064
+ * configured to return after 68 seconds with no way to say whether it should
29065
+ * return at all.
29066
+ */
29067
+ var PtzHomeReturnSchema = object({
29068
+ enabled: boolean(),
29069
+ seconds: number().int()
29070
+ });
29051
29071
  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({
29052
29072
  deviceId: number(),
29053
29073
  presetId: string()
@@ -29073,8 +29093,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
29073
29093
  }), method(object({ deviceId: number() }), _void(), {
29074
29094
  kind: "mutation",
29075
29095
  auth: "admin"
29076
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
29096
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
29077
29097
  deviceId: number(),
29098
+ enabled: boolean(),
29078
29099
  seconds: number().int().min(0).max(3600)
29079
29100
  }), _void(), {
29080
29101
  kind: "mutation",
@@ -36106,7 +36127,7 @@ Object.freeze({
36106
36127
  addonId: null,
36107
36128
  access: "view"
36108
36129
  },
36109
- "ptz.getHomeReturnSeconds": {
36130
+ "ptz.getHomeReturn": {
36110
36131
  capName: "ptz",
36111
36132
  capScope: "device",
36112
36133
  addonId: null,
@@ -36166,7 +36187,7 @@ Object.freeze({
36166
36187
  addonId: null,
36167
36188
  access: "create"
36168
36189
  },
36169
- "ptz.setHomeReturnSeconds": {
36190
+ "ptz.setHomeReturn": {
36170
36191
  capName: "ptz",
36171
36192
  capScope: "device",
36172
36193
  addonId: null,
@@ -39355,7 +39376,7 @@ Object.freeze({
39355
39376
  form: "single",
39356
39377
  optional: false
39357
39378
  }],
39358
- "ptz.getHomeReturnSeconds": [{
39379
+ "ptz.getHomeReturn": [{
39359
39380
  name: "deviceId",
39360
39381
  form: "single",
39361
39382
  optional: false
@@ -39405,7 +39426,7 @@ Object.freeze({
39405
39426
  form: "single",
39406
39427
  optional: false
39407
39428
  }],
39408
- "ptz.setHomeReturnSeconds": [{
39429
+ "ptz.setHomeReturn": [{
39409
39430
  name: "deviceId",
39410
39431
  form: "single",
39411
39432
  optional: false
package/dist/addon.mjs CHANGED
@@ -5363,7 +5363,7 @@ var ZodIssueCode = {
5363
5363
  var ZodFirstPartyTypeKind;
5364
5364
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5365
5365
  //#endregion
5366
- //#region ../types/dist/sleep-vl6nBE8d.mjs
5366
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
5367
5367
  /**
5368
5368
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5369
5369
  * window to float samples (D455).
@@ -29021,6 +29021,26 @@ var PtzHomePresetSchema = object({
29021
29021
  "none"
29022
29022
  ])
29023
29023
  });
29024
+ /**
29025
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
29026
+ * after how long.
29027
+ *
29028
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
29029
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
29030
+ * written by the same command. Reading them apart means two round-trips that
29031
+ * can disagree.
29032
+ *
29033
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
29034
+ * the behaviour switched off, which is exactly what the vendor app leaves when
29035
+ * you turn the guard point off without clearing it. The first version of this
29036
+ * cap reported only the delay, so that state was invisible — a camera could be
29037
+ * configured to return after 68 seconds with no way to say whether it should
29038
+ * return at all.
29039
+ */
29040
+ var PtzHomeReturnSchema = object({
29041
+ enabled: boolean(),
29042
+ seconds: number().int()
29043
+ });
29024
29044
  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({
29025
29045
  deviceId: number(),
29026
29046
  presetId: string()
@@ -29046,8 +29066,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
29046
29066
  }), method(object({ deviceId: number() }), _void(), {
29047
29067
  kind: "mutation",
29048
29068
  auth: "admin"
29049
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
29069
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
29050
29070
  deviceId: number(),
29071
+ enabled: boolean(),
29051
29072
  seconds: number().int().min(0).max(3600)
29052
29073
  }), _void(), {
29053
29074
  kind: "mutation",
@@ -36079,7 +36100,7 @@ Object.freeze({
36079
36100
  addonId: null,
36080
36101
  access: "view"
36081
36102
  },
36082
- "ptz.getHomeReturnSeconds": {
36103
+ "ptz.getHomeReturn": {
36083
36104
  capName: "ptz",
36084
36105
  capScope: "device",
36085
36106
  addonId: null,
@@ -36139,7 +36160,7 @@ Object.freeze({
36139
36160
  addonId: null,
36140
36161
  access: "create"
36141
36162
  },
36142
- "ptz.setHomeReturnSeconds": {
36163
+ "ptz.setHomeReturn": {
36143
36164
  capName: "ptz",
36144
36165
  capScope: "device",
36145
36166
  addonId: null,
@@ -39328,7 +39349,7 @@ Object.freeze({
39328
39349
  form: "single",
39329
39350
  optional: false
39330
39351
  }],
39331
- "ptz.getHomeReturnSeconds": [{
39352
+ "ptz.getHomeReturn": [{
39332
39353
  name: "deviceId",
39333
39354
  form: "single",
39334
39355
  optional: false
@@ -39378,7 +39399,7 @@ Object.freeze({
39378
39399
  form: "single",
39379
39400
  optional: false
39380
39401
  }],
39381
- "ptz.setHomeReturnSeconds": [{
39402
+ "ptz.setHomeReturn": [{
39382
39403
  name: "deviceId",
39383
39404
  form: "single",
39384
39405
  optional: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-notifiers",
3
- "version": "1.2.116",
3
+ "version": "1.2.117",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",