@camstack/addon-smtp-nodemailer 1.2.111 → 1.2.112

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.
@@ -5397,7 +5397,7 @@ var ZodIssueCode = {
5397
5397
  var ZodFirstPartyTypeKind;
5398
5398
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5399
5399
  //#endregion
5400
- //#region ../types/dist/sleep-vl6nBE8d.mjs
5400
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
5401
5401
  /**
5402
5402
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5403
5403
  * window to float samples (D455).
@@ -28896,6 +28896,26 @@ var PtzHomePresetSchema = object({
28896
28896
  "none"
28897
28897
  ])
28898
28898
  });
28899
+ /**
28900
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
28901
+ * after how long.
28902
+ *
28903
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
28904
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
28905
+ * written by the same command. Reading them apart means two round-trips that
28906
+ * can disagree.
28907
+ *
28908
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
28909
+ * the behaviour switched off, which is exactly what the vendor app leaves when
28910
+ * you turn the guard point off without clearing it. The first version of this
28911
+ * cap reported only the delay, so that state was invisible — a camera could be
28912
+ * configured to return after 68 seconds with no way to say whether it should
28913
+ * return at all.
28914
+ */
28915
+ var PtzHomeReturnSchema = object({
28916
+ enabled: boolean(),
28917
+ seconds: number().int()
28918
+ });
28899
28919
  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({
28900
28920
  deviceId: number(),
28901
28921
  presetId: string()
@@ -28921,8 +28941,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
28921
28941
  }), method(object({ deviceId: number() }), _void(), {
28922
28942
  kind: "mutation",
28923
28943
  auth: "admin"
28924
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
28944
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
28925
28945
  deviceId: number(),
28946
+ enabled: boolean(),
28926
28947
  seconds: number().int().min(0).max(3600)
28927
28948
  }), _void(), {
28928
28949
  kind: "mutation",
@@ -35954,7 +35975,7 @@ Object.freeze({
35954
35975
  addonId: null,
35955
35976
  access: "view"
35956
35977
  },
35957
- "ptz.getHomeReturnSeconds": {
35978
+ "ptz.getHomeReturn": {
35958
35979
  capName: "ptz",
35959
35980
  capScope: "device",
35960
35981
  addonId: null,
@@ -36014,7 +36035,7 @@ Object.freeze({
36014
36035
  addonId: null,
36015
36036
  access: "create"
36016
36037
  },
36017
- "ptz.setHomeReturnSeconds": {
36038
+ "ptz.setHomeReturn": {
36018
36039
  capName: "ptz",
36019
36040
  capScope: "device",
36020
36041
  addonId: null,
@@ -39203,7 +39224,7 @@ Object.freeze({
39203
39224
  form: "single",
39204
39225
  optional: false
39205
39226
  }],
39206
- "ptz.getHomeReturnSeconds": [{
39227
+ "ptz.getHomeReturn": [{
39207
39228
  name: "deviceId",
39208
39229
  form: "single",
39209
39230
  optional: false
@@ -39253,7 +39274,7 @@ Object.freeze({
39253
39274
  form: "single",
39254
39275
  optional: false
39255
39276
  }],
39256
- "ptz.setHomeReturnSeconds": [{
39277
+ "ptz.setHomeReturn": [{
39257
39278
  name: "deviceId",
39258
39279
  form: "single",
39259
39280
  optional: false
@@ -5395,7 +5395,7 @@ var ZodIssueCode = {
5395
5395
  var ZodFirstPartyTypeKind;
5396
5396
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5397
5397
  //#endregion
5398
- //#region ../types/dist/sleep-vl6nBE8d.mjs
5398
+ //#region ../types/dist/sleep-Dk-BdnBf.mjs
5399
5399
  /**
5400
5400
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5401
5401
  * window to float samples (D455).
@@ -28894,6 +28894,26 @@ var PtzHomePresetSchema = object({
28894
28894
  "none"
28895
28895
  ])
28896
28896
  });
28897
+ /**
28898
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
28899
+ * after how long.
28900
+ *
28901
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
28902
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
28903
+ * written by the same command. Reading them apart means two round-trips that
28904
+ * can disagree.
28905
+ *
28906
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
28907
+ * the behaviour switched off, which is exactly what the vendor app leaves when
28908
+ * you turn the guard point off without clearing it. The first version of this
28909
+ * cap reported only the delay, so that state was invisible — a camera could be
28910
+ * configured to return after 68 seconds with no way to say whether it should
28911
+ * return at all.
28912
+ */
28913
+ var PtzHomeReturnSchema = object({
28914
+ enabled: boolean(),
28915
+ seconds: number().int()
28916
+ });
28897
28917
  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({
28898
28918
  deviceId: number(),
28899
28919
  presetId: string()
@@ -28919,8 +28939,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
28919
28939
  }), method(object({ deviceId: number() }), _void(), {
28920
28940
  kind: "mutation",
28921
28941
  auth: "admin"
28922
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
28942
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
28923
28943
  deviceId: number(),
28944
+ enabled: boolean(),
28924
28945
  seconds: number().int().min(0).max(3600)
28925
28946
  }), _void(), {
28926
28947
  kind: "mutation",
@@ -35952,7 +35973,7 @@ Object.freeze({
35952
35973
  addonId: null,
35953
35974
  access: "view"
35954
35975
  },
35955
- "ptz.getHomeReturnSeconds": {
35976
+ "ptz.getHomeReturn": {
35956
35977
  capName: "ptz",
35957
35978
  capScope: "device",
35958
35979
  addonId: null,
@@ -36012,7 +36033,7 @@ Object.freeze({
36012
36033
  addonId: null,
36013
36034
  access: "create"
36014
36035
  },
36015
- "ptz.setHomeReturnSeconds": {
36036
+ "ptz.setHomeReturn": {
36016
36037
  capName: "ptz",
36017
36038
  capScope: "device",
36018
36039
  addonId: null,
@@ -39201,7 +39222,7 @@ Object.freeze({
39201
39222
  form: "single",
39202
39223
  optional: false
39203
39224
  }],
39204
- "ptz.getHomeReturnSeconds": [{
39225
+ "ptz.getHomeReturn": [{
39205
39226
  name: "deviceId",
39206
39227
  form: "single",
39207
39228
  optional: false
@@ -39251,7 +39272,7 @@ Object.freeze({
39251
39272
  form: "single",
39252
39273
  optional: false
39253
39274
  }],
39254
- "ptz.setHomeReturnSeconds": [{
39275
+ "ptz.setHomeReturn": [{
39255
39276
  name: "deviceId",
39256
39277
  form: "single",
39257
39278
  optional: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.111",
3
+ "version": "1.2.112",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",