@camstack/addon-provider-homematic 1.2.87 → 1.2.88

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
@@ -7636,6 +7636,35 @@ var CameraSwitchGroupSchema = object({
7636
7636
  /** Unix ms when the group was composed server-side. */
7637
7637
  fetchedAt: number()
7638
7638
  });
7639
+ /** One archived note — the operator's words plus enough context to find what
7640
+ * they were looking at, after the track itself is gone. */
7641
+ var ArchivedDebugNoteSchema = object({
7642
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7643
+ * same sentence about the same track lands on the row already there. */
7644
+ id: string(),
7645
+ /** The operator's own words, verbatim. */
7646
+ note: string(),
7647
+ /** The camera. Required — every question here is asked per-camera. */
7648
+ deviceId: number().int(),
7649
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7650
+ * is expected to be gone, and this row is not a reference to it. */
7651
+ sourceTrackId: string(),
7652
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7653
+ archivedAt: number().int(),
7654
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7655
+ trackStartedAt: number().int().nullable(),
7656
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7657
+ trackClass: string().nullable(),
7658
+ /** The track's display label at review time; `null` when it had none. */
7659
+ trackLabel: string().nullable()
7660
+ });
7661
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7662
+ var ArchivedDebugNoteQueryInputSchema = object({
7663
+ /** Restrict to a single camera; omit for every row. */
7664
+ deviceId: number().int().optional(),
7665
+ /** Max rows returned, newest-first. */
7666
+ limit: number().int().min(1).max(1e3).optional()
7667
+ });
7639
7668
  /**
7640
7669
  * Ops-log — the durable, append-only operations audit shared by the
7641
7670
  * recordings and events management surfaces.
@@ -20165,7 +20194,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20165
20194
  deviceId: number(),
20166
20195
  trackId: string(),
20167
20196
  flags: TrackFlagsPatchSchema
20168
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20197
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20169
20198
  kind: "query",
20170
20199
  auth: "admin"
20171
20200
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37559,6 +37588,12 @@ Object.freeze({
37559
37588
  addonId: null,
37560
37589
  access: "view"
37561
37590
  },
37591
+ "pipelineAnalytics.listArchivedDebugNotes": {
37592
+ capName: "pipeline-analytics",
37593
+ capScope: "device",
37594
+ addonId: null,
37595
+ access: "view"
37596
+ },
37562
37597
  "pipelineAnalytics.listEventKinds": {
37563
37598
  capName: "pipeline-analytics",
37564
37599
  capScope: "device",
@@ -41346,6 +41381,11 @@ Object.freeze({
41346
41381
  form: "array",
41347
41382
  optional: true
41348
41383
  }],
41384
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41385
+ name: "deviceId",
41386
+ form: "single",
41387
+ optional: true
41388
+ }],
41349
41389
  "pipelineAnalytics.listEventKinds": [{
41350
41390
  name: "deviceId",
41351
41391
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7637,6 +7637,35 @@ var CameraSwitchGroupSchema = object({
7637
7637
  /** Unix ms when the group was composed server-side. */
7638
7638
  fetchedAt: number()
7639
7639
  });
7640
+ /** One archived note — the operator's words plus enough context to find what
7641
+ * they were looking at, after the track itself is gone. */
7642
+ var ArchivedDebugNoteSchema = object({
7643
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7644
+ * same sentence about the same track lands on the row already there. */
7645
+ id: string(),
7646
+ /** The operator's own words, verbatim. */
7647
+ note: string(),
7648
+ /** The camera. Required — every question here is asked per-camera. */
7649
+ deviceId: number().int(),
7650
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7651
+ * is expected to be gone, and this row is not a reference to it. */
7652
+ sourceTrackId: string(),
7653
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7654
+ archivedAt: number().int(),
7655
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7656
+ trackStartedAt: number().int().nullable(),
7657
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7658
+ trackClass: string().nullable(),
7659
+ /** The track's display label at review time; `null` when it had none. */
7660
+ trackLabel: string().nullable()
7661
+ });
7662
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7663
+ var ArchivedDebugNoteQueryInputSchema = object({
7664
+ /** Restrict to a single camera; omit for every row. */
7665
+ deviceId: number().int().optional(),
7666
+ /** Max rows returned, newest-first. */
7667
+ limit: number().int().min(1).max(1e3).optional()
7668
+ });
7640
7669
  /**
7641
7670
  * Ops-log — the durable, append-only operations audit shared by the
7642
7671
  * recordings and events management surfaces.
@@ -20166,7 +20195,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20166
20195
  deviceId: number(),
20167
20196
  trackId: string(),
20168
20197
  flags: TrackFlagsPatchSchema
20169
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20198
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20170
20199
  kind: "query",
20171
20200
  auth: "admin"
20172
20201
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37560,6 +37589,12 @@ Object.freeze({
37560
37589
  addonId: null,
37561
37590
  access: "view"
37562
37591
  },
37592
+ "pipelineAnalytics.listArchivedDebugNotes": {
37593
+ capName: "pipeline-analytics",
37594
+ capScope: "device",
37595
+ addonId: null,
37596
+ access: "view"
37597
+ },
37563
37598
  "pipelineAnalytics.listEventKinds": {
37564
37599
  capName: "pipeline-analytics",
37565
37600
  capScope: "device",
@@ -41347,6 +41382,11 @@ Object.freeze({
41347
41382
  form: "array",
41348
41383
  optional: true
41349
41384
  }],
41385
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41386
+ name: "deviceId",
41387
+ form: "single",
41388
+ optional: true
41389
+ }],
41350
41390
  "pipelineAnalytics.listEventKinds": [{
41351
41391
  name: "deviceId",
41352
41392
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.87",
3
+ "version": "1.2.88",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",