@camstack/addon-smtp-nodemailer 1.2.99 → 1.2.100

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.
@@ -5383,7 +5383,7 @@ var ZodIssueCode = {
5383
5383
  var ZodFirstPartyTypeKind;
5384
5384
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5385
5385
  //#endregion
5386
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5386
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5387
5387
  /**
5388
5388
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5389
5389
  * window to float samples (D455).
@@ -7396,7 +7396,23 @@ var EncodeProfileSchema = object({
7396
7396
  "zerolatency",
7397
7397
  "film",
7398
7398
  "animation"
7399
- ]).optional()
7399
+ ]).optional(),
7400
+ /**
7401
+ * ONE slice per access unit.
7402
+ *
7403
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7404
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7405
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7406
+ * frame-end per frame: the first pictures render and the video then freezes
7407
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7408
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7409
+ *
7410
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7411
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7412
+ * consumers meaning the same thing spelled differently would stop sharing one
7413
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7414
+ */
7415
+ singleSlicePerFrame: boolean().optional()
7400
7416
  }),
7401
7417
  audio: union([literal("passthrough"), object({
7402
7418
  codec: _enum([
@@ -7446,7 +7462,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7446
7462
  audio: "passthrough"
7447
7463
  };
7448
7464
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7449
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7465
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7450
7466
  /**
7451
7467
  * Deep wiring healthcheck — snapshot of active reachability probes across
7452
7468
  * every declared capability + widget of every installed plugin, on every
@@ -19783,13 +19799,109 @@ var SummariesQueryInput = object({
19783
19799
  deviceIds: array(number()).min(1),
19784
19800
  since: number().optional(),
19785
19801
  until: number().optional(),
19786
- limit: number().int().min(1).max(200).default(50)
19802
+ limit: number().int().min(1).max(200).default(50),
19803
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
19804
+ * meaning of "dog" on every summary surface. */
19805
+ classes: array(string().min(1).max(60)).max(40).optional()
19787
19806
  });
19788
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19789
19807
  var SummaryDetailSchema = object({
19790
19808
  summary: SummarySchema,
19791
- /** Member track ids, in absorption order. */
19792
- trackIds: array(string()).readonly()
19809
+ /** Members in absorption order, oldest join first. */
19810
+ members: array(object({
19811
+ trackId: string(),
19812
+ /**
19813
+ * The track's class at the time it JOINED, or `null` when it was unresolved
19814
+ * and the track no longer exists to fill it.
19815
+ *
19816
+ * The join, not the latest opinion: class voting can re-decide a track's
19817
+ * class afterwards, and a group's composition is the history of who came
19818
+ * together. A consumer counts these to badge a thumbnail — "two people and a
19819
+ * dog" — rather than being handed a second, denormalised tally that would
19820
+ * drift from the members it claims to describe.
19821
+ */
19822
+ className: string().nullable(),
19823
+ /** `primary` is the one member that carries the group's identity. */
19824
+ role: _enum([
19825
+ "primary",
19826
+ "sibling",
19827
+ "child"
19828
+ ]).nullable(),
19829
+ joinedAt: number(),
19830
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
19831
+ * at read time. Absent when nothing resolved, never an empty string. */
19832
+ label: string().optional(),
19833
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
19834
+ * recognised nobody, and absent for a member whose track has been pruned —
19835
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
19836
+ subLabel: string().optional()
19837
+ })).readonly()
19838
+ });
19839
+ /**
19840
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
19841
+ *
19842
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
19843
+ * we extend when we notice we need more". Enough to draw the card ("two people
19844
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
19845
+ * are on {@link getSummary}: shipping every member of every group so a client
19846
+ * can count them turns a page of two hundred groups into a thousand records to
19847
+ * draw two hundred badges.
19848
+ */
19849
+ var SummaryListItemSchema = object({
19850
+ summary: SummarySchema,
19851
+ /** Class counts, most numerous first; `className: null` is a member whose
19852
+ * class never resolved, counted so the counts add up to `memberCount`. */
19853
+ classes: array(object({
19854
+ className: string().nullable(),
19855
+ count: number().int().positive()
19856
+ })).readonly()
19857
+ });
19858
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
19859
+ /**
19860
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
19861
+ *
19862
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
19863
+ * summaries feed that could only answer "the last N for these cameras"
19864
+ * (`listSummaries`) would make groups available in the timeline and nowhere
19865
+ * else. Two feeds with different ordering contracts would be two ideas of what
19866
+ * "newest" means, on one screen.
19867
+ */
19868
+ var RecentSummariesQueryInput = object({
19869
+ /** Devices to merge. An empty array yields an empty page. */
19870
+ deviceIds: array(number()),
19871
+ /** Window lower bound on `lastActiveAt` (inclusive). */
19872
+ since: number().optional(),
19873
+ /** Window upper bound on `lastActiveAt` (inclusive). */
19874
+ until: number().optional(),
19875
+ limit: number().int().min(1).max(500).default(100),
19876
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
19877
+ cursor: string().optional(),
19878
+ /**
19879
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
19880
+ * deliberately the same name: the events filter tree emits one list of ticked
19881
+ * taxonomy nodes, and a summaries feed that called it something else would
19882
+ * make the operator's one filter component produce two shapes.
19883
+ *
19884
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
19885
+ * me the arrivals with a dog" has to return the group of four people who had
19886
+ * one with them; a filter on the group's own fields could only ever answer
19887
+ * about its primary.
19888
+ *
19889
+ * Matched against all THREE tiers of a member — the class (`animal`), the
19890
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
19891
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
19892
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
19893
+ * that read only the class would answer "animal" and never "dog".
19894
+ *
19895
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
19896
+ */
19897
+ classes: array(string().min(1).max(60)).max(40).optional()
19898
+ });
19899
+ var RecentSummariesPageSchema = object({
19900
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
19901
+ * {@link listSummaries} — one list shape, so a card renders the same
19902
+ * whichever feed drew it. */
19903
+ summaries: array(SummaryListItemSchema).readonly(),
19904
+ nextCursor: string().nullable()
19793
19905
  });
19794
19906
  var RecentTracksPageSchema = object({
19795
19907
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20203,7 +20315,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20203
20315
  classes: array(string()).optional(),
20204
20316
  /** See {@link ExcludeSourcesDoc}. */
20205
20317
  excludeSources: array(TrackSourceSchema).optional()
20206
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20318
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20207
20319
  kind: "mutation",
20208
20320
  auth: "admin"
20209
20321
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -29822,7 +29934,29 @@ var LoggingSettingsPatchSchema = object({
29822
29934
  * disarmed the channels it did not mention would make the Levels page and
29823
29935
  * the Diagnostics page fight over the same value.
29824
29936
  */
29825
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
29937
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
29938
+ /**
29939
+ * How many days the analytics OPS LOG is kept — the audit trail of what
29940
+ * retention actually deleted.
29941
+ *
29942
+ * It lives HERE, on the logging document, and not on the analytics addon's
29943
+ * settings form, on the operator's instruction: every other log-ish window in
29944
+ * this system is configured through this one document, and a retention audit
29945
+ * configured somewhere else is a second place to look when the question is
29946
+ * "what happened to my data".
29947
+ *
29948
+ * That placement has a cost worth stating: this document ships in the
29949
+ * framework closure, so this knob needs a published `@camstack/server` while
29950
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
29951
+ *
29952
+ * `retention-model.ts` argued this one must NOT follow a device window,
29953
+ * because the audit trail is the history of the SWEEP and not of the camera.
29954
+ * That argument stands and is untouched — what changes is that 30 days stops
29955
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
29956
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
29957
+ * state in which the next 9.5 GiB leak cannot be explained.
29958
+ */
29959
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
29826
29960
  });
29827
29961
  /**
29828
29962
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -29895,6 +30029,14 @@ var LoggingSettingsStateSchema = object({
29895
30029
  channels: array(LogChannelDescriptorSchema).readonly(),
29896
30030
  /** The channels ARMED right now, each with its deadline. */
29897
30031
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
30032
+ /**
30033
+ * The ops-log window in days, as it is in force. `0` = kept forever.
30034
+ *
30035
+ * Reported rather than left to the caller's memory of what it wrote: this is
30036
+ * the value the analytics sweep will actually use, and an operator asking how
30037
+ * long their audit trail lives should not have to infer it from a default.
30038
+ */
30039
+ opsLogRetentionDays: number().int().min(0),
29898
30040
  persisted: boolean()
29899
30041
  });
29900
30042
  method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
@@ -34054,6 +34196,12 @@ Object.freeze({
34054
34196
  addonId: null,
34055
34197
  access: "view"
34056
34198
  },
34199
+ "pipelineAnalytics.listRecentSummaries": {
34200
+ capName: "pipeline-analytics",
34201
+ capScope: "device",
34202
+ addonId: null,
34203
+ access: "view"
34204
+ },
34057
34205
  "pipelineAnalytics.listRecentTracks": {
34058
34206
  capName: "pipeline-analytics",
34059
34207
  capScope: "device",
@@ -37881,6 +38029,11 @@ Object.freeze({
37881
38029
  form: "single",
37882
38030
  optional: true
37883
38031
  }],
38032
+ "pipelineAnalytics.listRecentSummaries": [{
38033
+ name: "deviceIds",
38034
+ form: "array",
38035
+ optional: false
38036
+ }],
37884
38037
  "pipelineAnalytics.listRecentTracks": [{
37885
38038
  name: "deviceIds",
37886
38039
  form: "array",
@@ -5381,7 +5381,7 @@ var ZodIssueCode = {
5381
5381
  var ZodFirstPartyTypeKind;
5382
5382
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5383
5383
  //#endregion
5384
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5384
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5385
5385
  /**
5386
5386
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5387
5387
  * window to float samples (D455).
@@ -7394,7 +7394,23 @@ var EncodeProfileSchema = object({
7394
7394
  "zerolatency",
7395
7395
  "film",
7396
7396
  "animation"
7397
- ]).optional()
7397
+ ]).optional(),
7398
+ /**
7399
+ * ONE slice per access unit.
7400
+ *
7401
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7402
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7403
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7404
+ * frame-end per frame: the first pictures render and the video then freezes
7405
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7406
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7407
+ *
7408
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7409
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7410
+ * consumers meaning the same thing spelled differently would stop sharing one
7411
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7412
+ */
7413
+ singleSlicePerFrame: boolean().optional()
7398
7414
  }),
7399
7415
  audio: union([literal("passthrough"), object({
7400
7416
  codec: _enum([
@@ -7444,7 +7460,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7444
7460
  audio: "passthrough"
7445
7461
  };
7446
7462
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7447
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7463
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7448
7464
  /**
7449
7465
  * Deep wiring healthcheck — snapshot of active reachability probes across
7450
7466
  * every declared capability + widget of every installed plugin, on every
@@ -19781,13 +19797,109 @@ var SummariesQueryInput = object({
19781
19797
  deviceIds: array(number()).min(1),
19782
19798
  since: number().optional(),
19783
19799
  until: number().optional(),
19784
- limit: number().int().min(1).max(200).default(50)
19800
+ limit: number().int().min(1).max(200).default(50),
19801
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
19802
+ * meaning of "dog" on every summary surface. */
19803
+ classes: array(string().min(1).max(60)).max(40).optional()
19785
19804
  });
19786
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19787
19805
  var SummaryDetailSchema = object({
19788
19806
  summary: SummarySchema,
19789
- /** Member track ids, in absorption order. */
19790
- trackIds: array(string()).readonly()
19807
+ /** Members in absorption order, oldest join first. */
19808
+ members: array(object({
19809
+ trackId: string(),
19810
+ /**
19811
+ * The track's class at the time it JOINED, or `null` when it was unresolved
19812
+ * and the track no longer exists to fill it.
19813
+ *
19814
+ * The join, not the latest opinion: class voting can re-decide a track's
19815
+ * class afterwards, and a group's composition is the history of who came
19816
+ * together. A consumer counts these to badge a thumbnail — "two people and a
19817
+ * dog" — rather than being handed a second, denormalised tally that would
19818
+ * drift from the members it claims to describe.
19819
+ */
19820
+ className: string().nullable(),
19821
+ /** `primary` is the one member that carries the group's identity. */
19822
+ role: _enum([
19823
+ "primary",
19824
+ "sibling",
19825
+ "child"
19826
+ ]).nullable(),
19827
+ joinedAt: number(),
19828
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
19829
+ * at read time. Absent when nothing resolved, never an empty string. */
19830
+ label: string().optional(),
19831
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
19832
+ * recognised nobody, and absent for a member whose track has been pruned —
19833
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
19834
+ subLabel: string().optional()
19835
+ })).readonly()
19836
+ });
19837
+ /**
19838
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
19839
+ *
19840
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
19841
+ * we extend when we notice we need more". Enough to draw the card ("two people
19842
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
19843
+ * are on {@link getSummary}: shipping every member of every group so a client
19844
+ * can count them turns a page of two hundred groups into a thousand records to
19845
+ * draw two hundred badges.
19846
+ */
19847
+ var SummaryListItemSchema = object({
19848
+ summary: SummarySchema,
19849
+ /** Class counts, most numerous first; `className: null` is a member whose
19850
+ * class never resolved, counted so the counts add up to `memberCount`. */
19851
+ classes: array(object({
19852
+ className: string().nullable(),
19853
+ count: number().int().positive()
19854
+ })).readonly()
19855
+ });
19856
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
19857
+ /**
19858
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
19859
+ *
19860
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
19861
+ * summaries feed that could only answer "the last N for these cameras"
19862
+ * (`listSummaries`) would make groups available in the timeline and nowhere
19863
+ * else. Two feeds with different ordering contracts would be two ideas of what
19864
+ * "newest" means, on one screen.
19865
+ */
19866
+ var RecentSummariesQueryInput = object({
19867
+ /** Devices to merge. An empty array yields an empty page. */
19868
+ deviceIds: array(number()),
19869
+ /** Window lower bound on `lastActiveAt` (inclusive). */
19870
+ since: number().optional(),
19871
+ /** Window upper bound on `lastActiveAt` (inclusive). */
19872
+ until: number().optional(),
19873
+ limit: number().int().min(1).max(500).default(100),
19874
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
19875
+ cursor: string().optional(),
19876
+ /**
19877
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
19878
+ * deliberately the same name: the events filter tree emits one list of ticked
19879
+ * taxonomy nodes, and a summaries feed that called it something else would
19880
+ * make the operator's one filter component produce two shapes.
19881
+ *
19882
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
19883
+ * me the arrivals with a dog" has to return the group of four people who had
19884
+ * one with them; a filter on the group's own fields could only ever answer
19885
+ * about its primary.
19886
+ *
19887
+ * Matched against all THREE tiers of a member — the class (`animal`), the
19888
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
19889
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
19890
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
19891
+ * that read only the class would answer "animal" and never "dog".
19892
+ *
19893
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
19894
+ */
19895
+ classes: array(string().min(1).max(60)).max(40).optional()
19896
+ });
19897
+ var RecentSummariesPageSchema = object({
19898
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
19899
+ * {@link listSummaries} — one list shape, so a card renders the same
19900
+ * whichever feed drew it. */
19901
+ summaries: array(SummaryListItemSchema).readonly(),
19902
+ nextCursor: string().nullable()
19791
19903
  });
19792
19904
  var RecentTracksPageSchema = object({
19793
19905
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20201,7 +20313,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20201
20313
  classes: array(string()).optional(),
20202
20314
  /** See {@link ExcludeSourcesDoc}. */
20203
20315
  excludeSources: array(TrackSourceSchema).optional()
20204
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20316
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20205
20317
  kind: "mutation",
20206
20318
  auth: "admin"
20207
20319
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -29820,7 +29932,29 @@ var LoggingSettingsPatchSchema = object({
29820
29932
  * disarmed the channels it did not mention would make the Levels page and
29821
29933
  * the Diagnostics page fight over the same value.
29822
29934
  */
29823
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
29935
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
29936
+ /**
29937
+ * How many days the analytics OPS LOG is kept — the audit trail of what
29938
+ * retention actually deleted.
29939
+ *
29940
+ * It lives HERE, on the logging document, and not on the analytics addon's
29941
+ * settings form, on the operator's instruction: every other log-ish window in
29942
+ * this system is configured through this one document, and a retention audit
29943
+ * configured somewhere else is a second place to look when the question is
29944
+ * "what happened to my data".
29945
+ *
29946
+ * That placement has a cost worth stating: this document ships in the
29947
+ * framework closure, so this knob needs a published `@camstack/server` while
29948
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
29949
+ *
29950
+ * `retention-model.ts` argued this one must NOT follow a device window,
29951
+ * because the audit trail is the history of the SWEEP and not of the camera.
29952
+ * That argument stands and is untouched — what changes is that 30 days stops
29953
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
29954
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
29955
+ * state in which the next 9.5 GiB leak cannot be explained.
29956
+ */
29957
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
29824
29958
  });
29825
29959
  /**
29826
29960
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -29893,6 +30027,14 @@ var LoggingSettingsStateSchema = object({
29893
30027
  channels: array(LogChannelDescriptorSchema).readonly(),
29894
30028
  /** The channels ARMED right now, each with its deadline. */
29895
30029
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
30030
+ /**
30031
+ * The ops-log window in days, as it is in force. `0` = kept forever.
30032
+ *
30033
+ * Reported rather than left to the caller's memory of what it wrote: this is
30034
+ * the value the analytics sweep will actually use, and an operator asking how
30035
+ * long their audit trail lives should not have to infer it from a default.
30036
+ */
30037
+ opsLogRetentionDays: number().int().min(0),
29896
30038
  persisted: boolean()
29897
30039
  });
29898
30040
  method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
@@ -34052,6 +34194,12 @@ Object.freeze({
34052
34194
  addonId: null,
34053
34195
  access: "view"
34054
34196
  },
34197
+ "pipelineAnalytics.listRecentSummaries": {
34198
+ capName: "pipeline-analytics",
34199
+ capScope: "device",
34200
+ addonId: null,
34201
+ access: "view"
34202
+ },
34055
34203
  "pipelineAnalytics.listRecentTracks": {
34056
34204
  capName: "pipeline-analytics",
34057
34205
  capScope: "device",
@@ -37879,6 +38027,11 @@ Object.freeze({
37879
38027
  form: "single",
37880
38028
  optional: true
37881
38029
  }],
38030
+ "pipelineAnalytics.listRecentSummaries": [{
38031
+ name: "deviceIds",
38032
+ form: "array",
38033
+ optional: false
38034
+ }],
37882
38035
  "pipelineAnalytics.listRecentTracks": [{
37883
38036
  name: "deviceIds",
37884
38037
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.99",
3
+ "version": "1.2.100",
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",