@camstack/addon-smtp-nodemailer 1.2.55 → 1.2.57

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.
@@ -18862,7 +18862,20 @@ var RecentTracksQueryInput = object({
18862
18862
  projection: TrackProjectionSchema.optional(),
18863
18863
  /** Include stationary-promoted rows (parked objects). Default false: the
18864
18864
  * feed lists passages; parking records live on the stationary registry. */
18865
- includeStationary: boolean().optional()
18865
+ includeStationary: boolean().optional(),
18866
+ /**
18867
+ * Restrict to these track classes. ABSENT or EMPTY means no filter.
18868
+ *
18869
+ * The same filter `listTracks` takes, because the timeline's class chips must
18870
+ * mean the same thing whether the scope is one camera or twelve. Until this
18871
+ * existed the scoped feed downloaded a page and narrowed it on the phone
18872
+ * while the single-camera path narrowed the read — one filter, two costs.
18873
+ *
18874
+ * A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
18875
+ * whose class list is unreadable are kept, and the client's rule stays the
18876
+ * exact one.
18877
+ */
18878
+ classes: array(string()).optional()
18866
18879
  });
18867
18880
  var RecentTracksPageSchema = object({
18868
18881
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -19249,7 +19262,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19249
19262
  /** Include stationary-promoted rows (parked objects handed to the
19250
19263
  * stationary registry). Default false: the timeline lists passages,
19251
19264
  * not parking records (operator decision, 2026-08-15). */
19252
- includeStationary: boolean().optional()
19265
+ includeStationary: boolean().optional(),
19266
+ /**
19267
+ * Restrict to these track classes. ABSENT or EMPTY means no filter.
19268
+ *
19269
+ * Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
19270
+ * on a day of rows already downloaded. The zone filter had been moved
19271
+ * here for exactly that reason — and it is also what lets the rows come
19272
+ * back `slim` — but the class filter was left behind, so a narrow
19273
+ * selection was still a wide read followed by a wide discard.
19274
+ *
19275
+ * Empty is "show all", not "nothing matches": a chip row with nothing
19276
+ * selected is an operator who has not narrowed anything, and an empty
19277
+ * timeline would read as a camera that saw nothing.
19278
+ */
19279
+ classes: array(string()).optional()
19253
19280
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19254
19281
  kind: "mutation",
19255
19282
  auth: "admin"
@@ -22899,8 +22926,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
22899
22926
  * threshold.
22900
22927
  */
22901
22928
  var BatteryStatusSchema = object({
22902
- /** 0..100 inclusive. Firmware-reported. */
22903
- percentage: number().min(0).max(100),
22929
+ /**
22930
+ * 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
22931
+ * provider has registered the capability but no reading has landed.
22932
+ *
22933
+ * It is nullable because it was not, and the only value a provider could
22934
+ * seed with was `0`. A battery camera behind an NVR therefore announced
22935
+ * itself at 0% on every start and corrected itself a moment later, which is
22936
+ * indistinguishable from a real flat battery: it fires the low-battery alert
22937
+ * every time the hub restarts. Unknown is not empty (D315), and on a battery
22938
+ * reading the difference is an alarm.
22939
+ *
22940
+ * `vacuum-control` and `lawn-mower-control` already model it this way.
22941
+ * Consumers must SKIP a null rather than coerce it — `battery-band` already
22942
+ * declines to band a non-finite reading, which is the correct shape.
22943
+ */
22944
+ percentage: number().min(0).max(100).nullable(),
22904
22945
  /**
22905
22946
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
22906
22947
  * Reolink-specific for the Solar Panel 2 accessory (will become
@@ -18860,7 +18860,20 @@ var RecentTracksQueryInput = object({
18860
18860
  projection: TrackProjectionSchema.optional(),
18861
18861
  /** Include stationary-promoted rows (parked objects). Default false: the
18862
18862
  * feed lists passages; parking records live on the stationary registry. */
18863
- includeStationary: boolean().optional()
18863
+ includeStationary: boolean().optional(),
18864
+ /**
18865
+ * Restrict to these track classes. ABSENT or EMPTY means no filter.
18866
+ *
18867
+ * The same filter `listTracks` takes, because the timeline's class chips must
18868
+ * mean the same thing whether the scope is one camera or twelve. Until this
18869
+ * existed the scoped feed downloaded a page and narrowed it on the phone
18870
+ * while the single-camera path narrowed the read — one filter, two costs.
18871
+ *
18872
+ * A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
18873
+ * whose class list is unreadable are kept, and the client's rule stays the
18874
+ * exact one.
18875
+ */
18876
+ classes: array(string()).optional()
18864
18877
  });
18865
18878
  var RecentTracksPageSchema = object({
18866
18879
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -19247,7 +19260,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19247
19260
  /** Include stationary-promoted rows (parked objects handed to the
19248
19261
  * stationary registry). Default false: the timeline lists passages,
19249
19262
  * not parking records (operator decision, 2026-08-15). */
19250
- includeStationary: boolean().optional()
19263
+ includeStationary: boolean().optional(),
19264
+ /**
19265
+ * Restrict to these track classes. ABSENT or EMPTY means no filter.
19266
+ *
19267
+ * Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
19268
+ * on a day of rows already downloaded. The zone filter had been moved
19269
+ * here for exactly that reason — and it is also what lets the rows come
19270
+ * back `slim` — but the class filter was left behind, so a narrow
19271
+ * selection was still a wide read followed by a wide discard.
19272
+ *
19273
+ * Empty is "show all", not "nothing matches": a chip row with nothing
19274
+ * selected is an operator who has not narrowed anything, and an empty
19275
+ * timeline would read as a camera that saw nothing.
19276
+ */
19277
+ classes: array(string()).optional()
19251
19278
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19252
19279
  kind: "mutation",
19253
19280
  auth: "admin"
@@ -22897,8 +22924,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
22897
22924
  * threshold.
22898
22925
  */
22899
22926
  var BatteryStatusSchema = object({
22900
- /** 0..100 inclusive. Firmware-reported. */
22901
- percentage: number().min(0).max(100),
22927
+ /**
22928
+ * 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
22929
+ * provider has registered the capability but no reading has landed.
22930
+ *
22931
+ * It is nullable because it was not, and the only value a provider could
22932
+ * seed with was `0`. A battery camera behind an NVR therefore announced
22933
+ * itself at 0% on every start and corrected itself a moment later, which is
22934
+ * indistinguishable from a real flat battery: it fires the low-battery alert
22935
+ * every time the hub restarts. Unknown is not empty (D315), and on a battery
22936
+ * reading the difference is an alarm.
22937
+ *
22938
+ * `vacuum-control` and `lawn-mower-control` already model it this way.
22939
+ * Consumers must SKIP a null rather than coerce it — `battery-band` already
22940
+ * declines to band a non-finite reading, which is the correct shape.
22941
+ */
22942
+ percentage: number().min(0).max(100).nullable(),
22902
22943
  /**
22903
22944
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
22904
22945
  * Reolink-specific for the Solar Panel 2 accessory (will become
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.55",
3
+ "version": "1.2.57",
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",