@camstack/addon-smtp-nodemailer 1.2.91 → 1.2.92

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.
@@ -19568,7 +19568,17 @@ var EventDensityBucketSchema = object({
19568
19568
  bucketStart: number(),
19569
19569
  motion: number().int(),
19570
19570
  object: number().int(),
19571
- audio: number().int()
19571
+ audio: number().int(),
19572
+ /**
19573
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
19574
+ * as opposed to `audio`, which is their COUNT (D431).
19575
+ *
19576
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
19577
+ * measured", which is not the same claim as silence, and a lane that cannot
19578
+ * tell them apart paints a quiet hour at full scale — which is exactly what
19579
+ * the count-on-a-level-meter did.
19580
+ */
19581
+ audioDbfs: number().optional()
19572
19582
  });
19573
19583
  /**
19574
19584
  * One camera's row in a `getEventDensityBatch` answer.
@@ -27748,7 +27758,23 @@ var RecordingRangeSchema = object({
27748
27758
  });
27749
27759
  var RecordingAvailabilitySchema = object({
27750
27760
  deviceId: number(),
27751
- ranges: array(RecordingRangeSchema)
27761
+ ranges: array(RecordingRangeSchema),
27762
+ /**
27763
+ * Every profile this camera has footage in — not only the one `ranges`
27764
+ * describes (D433).
27765
+ *
27766
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
27767
+ * and enumerating all of them triples the directory reads for a bar that
27768
+ * would look identical. But the answer used to say nothing about that, so a
27769
+ * caller asking "what can I export?" read the single preferred profile as
27770
+ * the only one that exists — on this deployment every camera records `high`
27771
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
27772
+ * UI could not see it.
27773
+ *
27774
+ * Cheap: it is the same shallow directory read the profile CHOICE already
27775
+ * makes. Ask for a specific profile's ranges with the `profile` input.
27776
+ */
27777
+ profilesWithFootage: array(string())
27752
27778
  });
27753
27779
  var RecordingDaysSchema = object({
27754
27780
  deviceId: number(),
@@ -27774,7 +27800,11 @@ var RecordingDaysSchema = object({
27774
27800
  var RecordingAvailabilityForDeviceSchema = object({
27775
27801
  deviceId: number(),
27776
27802
  read: _enum(["read", "unreadable"]),
27777
- ranges: array(RecordingRangeSchema).readonly()
27803
+ ranges: array(RecordingRangeSchema).readonly(),
27804
+ /** Same field, same meaning, as the singular answer (D433). A row that
27805
+ * dropped it would tell a grid caller the archive holds one profile.
27806
+ * Empty on an `'unreadable'` row: nobody looked. */
27807
+ profilesWithFootage: array(string()).readonly()
27778
27808
  });
27779
27809
  /**
27780
27810
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -28064,7 +28094,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
28064
28094
  method(object({
28065
28095
  deviceId: number(),
28066
28096
  fromMs: number(),
28067
- toMs: number()
28097
+ toMs: number(),
28098
+ /**
28099
+ * Answer for THIS profile instead of the preferred one (D433). Absent
28100
+ * keeps the timeline's behaviour — one bar, one profile, one set of
28101
+ * reads. `profilesWithFootage` on the answer says what may be asked
28102
+ * for.
28103
+ */
28104
+ profile: string().optional()
28068
28105
  }), RecordingAvailabilitySchema, {
28069
28106
  kind: "query",
28070
28107
  auth: "protected"
@@ -19566,7 +19566,17 @@ var EventDensityBucketSchema = object({
19566
19566
  bucketStart: number(),
19567
19567
  motion: number().int(),
19568
19568
  object: number().int(),
19569
- audio: number().int()
19569
+ audio: number().int(),
19570
+ /**
19571
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
19572
+ * as opposed to `audio`, which is their COUNT (D431).
19573
+ *
19574
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
19575
+ * measured", which is not the same claim as silence, and a lane that cannot
19576
+ * tell them apart paints a quiet hour at full scale — which is exactly what
19577
+ * the count-on-a-level-meter did.
19578
+ */
19579
+ audioDbfs: number().optional()
19570
19580
  });
19571
19581
  /**
19572
19582
  * One camera's row in a `getEventDensityBatch` answer.
@@ -27746,7 +27756,23 @@ var RecordingRangeSchema = object({
27746
27756
  });
27747
27757
  var RecordingAvailabilitySchema = object({
27748
27758
  deviceId: number(),
27749
- ranges: array(RecordingRangeSchema)
27759
+ ranges: array(RecordingRangeSchema),
27760
+ /**
27761
+ * Every profile this camera has footage in — not only the one `ranges`
27762
+ * describes (D433).
27763
+ *
27764
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
27765
+ * and enumerating all of them triples the directory reads for a bar that
27766
+ * would look identical. But the answer used to say nothing about that, so a
27767
+ * caller asking "what can I export?" read the single preferred profile as
27768
+ * the only one that exists — on this deployment every camera records `high`
27769
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
27770
+ * UI could not see it.
27771
+ *
27772
+ * Cheap: it is the same shallow directory read the profile CHOICE already
27773
+ * makes. Ask for a specific profile's ranges with the `profile` input.
27774
+ */
27775
+ profilesWithFootage: array(string())
27750
27776
  });
27751
27777
  var RecordingDaysSchema = object({
27752
27778
  deviceId: number(),
@@ -27772,7 +27798,11 @@ var RecordingDaysSchema = object({
27772
27798
  var RecordingAvailabilityForDeviceSchema = object({
27773
27799
  deviceId: number(),
27774
27800
  read: _enum(["read", "unreadable"]),
27775
- ranges: array(RecordingRangeSchema).readonly()
27801
+ ranges: array(RecordingRangeSchema).readonly(),
27802
+ /** Same field, same meaning, as the singular answer (D433). A row that
27803
+ * dropped it would tell a grid caller the archive holds one profile.
27804
+ * Empty on an `'unreadable'` row: nobody looked. */
27805
+ profilesWithFootage: array(string()).readonly()
27776
27806
  });
27777
27807
  /**
27778
27808
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -28062,7 +28092,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
28062
28092
  method(object({
28063
28093
  deviceId: number(),
28064
28094
  fromMs: number(),
28065
- toMs: number()
28095
+ toMs: number(),
28096
+ /**
28097
+ * Answer for THIS profile instead of the preferred one (D433). Absent
28098
+ * keeps the timeline's behaviour — one bar, one profile, one set of
28099
+ * reads. `profilesWithFootage` on the answer says what may be asked
28100
+ * for.
28101
+ */
28102
+ profile: string().optional()
28066
28103
  }), RecordingAvailabilitySchema, {
28067
28104
  kind: "query",
28068
28105
  auth: "protected"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.91",
3
+ "version": "1.2.92",
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",