@camstack/addon-provider-onvif 1.2.85 → 1.2.86

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
@@ -7626,6 +7626,35 @@ var CameraSwitchGroupSchema = object({
7626
7626
  /** Unix ms when the group was composed server-side. */
7627
7627
  fetchedAt: number()
7628
7628
  });
7629
+ /** One archived note — the operator's words plus enough context to find what
7630
+ * they were looking at, after the track itself is gone. */
7631
+ var ArchivedDebugNoteSchema = object({
7632
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7633
+ * same sentence about the same track lands on the row already there. */
7634
+ id: string(),
7635
+ /** The operator's own words, verbatim. */
7636
+ note: string(),
7637
+ /** The camera. Required — every question here is asked per-camera. */
7638
+ deviceId: number().int(),
7639
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7640
+ * is expected to be gone, and this row is not a reference to it. */
7641
+ sourceTrackId: string(),
7642
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7643
+ archivedAt: number().int(),
7644
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7645
+ trackStartedAt: number().int().nullable(),
7646
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7647
+ trackClass: string().nullable(),
7648
+ /** The track's display label at review time; `null` when it had none. */
7649
+ trackLabel: string().nullable()
7650
+ });
7651
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7652
+ var ArchivedDebugNoteQueryInputSchema = object({
7653
+ /** Restrict to a single camera; omit for every row. */
7654
+ deviceId: number().int().optional(),
7655
+ /** Max rows returned, newest-first. */
7656
+ limit: number().int().min(1).max(1e3).optional()
7657
+ });
7629
7658
  /**
7630
7659
  * Ops-log — the durable, append-only operations audit shared by the
7631
7660
  * recordings and events management surfaces.
@@ -19802,7 +19831,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19802
19831
  deviceId: number(),
19803
19832
  trackId: string(),
19804
19833
  flags: TrackFlagsPatchSchema
19805
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19834
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19806
19835
  kind: "query",
19807
19836
  auth: "admin"
19808
19837
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -34172,6 +34201,12 @@ Object.freeze({
34172
34201
  addonId: null,
34173
34202
  access: "view"
34174
34203
  },
34204
+ "pipelineAnalytics.listArchivedDebugNotes": {
34205
+ capName: "pipeline-analytics",
34206
+ capScope: "device",
34207
+ addonId: null,
34208
+ access: "view"
34209
+ },
34175
34210
  "pipelineAnalytics.listEventKinds": {
34176
34211
  capName: "pipeline-analytics",
34177
34212
  capScope: "device",
@@ -37959,6 +37994,11 @@ Object.freeze({
37959
37994
  form: "array",
37960
37995
  optional: true
37961
37996
  }],
37997
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37998
+ name: "deviceId",
37999
+ form: "single",
38000
+ optional: true
38001
+ }],
37962
38002
  "pipelineAnalytics.listEventKinds": [{
37963
38003
  name: "deviceId",
37964
38004
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7627,6 +7627,35 @@ var CameraSwitchGroupSchema = object({
7627
7627
  /** Unix ms when the group was composed server-side. */
7628
7628
  fetchedAt: number()
7629
7629
  });
7630
+ /** One archived note — the operator's words plus enough context to find what
7631
+ * they were looking at, after the track itself is gone. */
7632
+ var ArchivedDebugNoteSchema = object({
7633
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7634
+ * same sentence about the same track lands on the row already there. */
7635
+ id: string(),
7636
+ /** The operator's own words, verbatim. */
7637
+ note: string(),
7638
+ /** The camera. Required — every question here is asked per-camera. */
7639
+ deviceId: number().int(),
7640
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7641
+ * is expected to be gone, and this row is not a reference to it. */
7642
+ sourceTrackId: string(),
7643
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7644
+ archivedAt: number().int(),
7645
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7646
+ trackStartedAt: number().int().nullable(),
7647
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7648
+ trackClass: string().nullable(),
7649
+ /** The track's display label at review time; `null` when it had none. */
7650
+ trackLabel: string().nullable()
7651
+ });
7652
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7653
+ var ArchivedDebugNoteQueryInputSchema = object({
7654
+ /** Restrict to a single camera; omit for every row. */
7655
+ deviceId: number().int().optional(),
7656
+ /** Max rows returned, newest-first. */
7657
+ limit: number().int().min(1).max(1e3).optional()
7658
+ });
7630
7659
  /**
7631
7660
  * Ops-log — the durable, append-only operations audit shared by the
7632
7661
  * recordings and events management surfaces.
@@ -19803,7 +19832,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19803
19832
  deviceId: number(),
19804
19833
  trackId: string(),
19805
19834
  flags: TrackFlagsPatchSchema
19806
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19835
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19807
19836
  kind: "query",
19808
19837
  auth: "admin"
19809
19838
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -34173,6 +34202,12 @@ Object.freeze({
34173
34202
  addonId: null,
34174
34203
  access: "view"
34175
34204
  },
34205
+ "pipelineAnalytics.listArchivedDebugNotes": {
34206
+ capName: "pipeline-analytics",
34207
+ capScope: "device",
34208
+ addonId: null,
34209
+ access: "view"
34210
+ },
34176
34211
  "pipelineAnalytics.listEventKinds": {
34177
34212
  capName: "pipeline-analytics",
34178
34213
  capScope: "device",
@@ -37960,6 +37995,11 @@ Object.freeze({
37960
37995
  form: "array",
37961
37996
  optional: true
37962
37997
  }],
37998
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37999
+ name: "deviceId",
38000
+ form: "single",
38001
+ optional: true
38002
+ }],
37963
38003
  "pipelineAnalytics.listEventKinds": [{
37964
38004
  name: "deviceId",
37965
38005
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.85",
3
+ "version": "1.2.86",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",