@camstack/addon-provider-hikvision 1.2.94 → 1.2.95

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
@@ -7622,6 +7622,35 @@ var CameraSwitchGroupSchema = object({
7622
7622
  /** Unix ms when the group was composed server-side. */
7623
7623
  fetchedAt: number()
7624
7624
  });
7625
+ /** One archived note — the operator's words plus enough context to find what
7626
+ * they were looking at, after the track itself is gone. */
7627
+ var ArchivedDebugNoteSchema = object({
7628
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7629
+ * same sentence about the same track lands on the row already there. */
7630
+ id: string(),
7631
+ /** The operator's own words, verbatim. */
7632
+ note: string(),
7633
+ /** The camera. Required — every question here is asked per-camera. */
7634
+ deviceId: number().int(),
7635
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7636
+ * is expected to be gone, and this row is not a reference to it. */
7637
+ sourceTrackId: string(),
7638
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7639
+ archivedAt: number().int(),
7640
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7641
+ trackStartedAt: number().int().nullable(),
7642
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7643
+ trackClass: string().nullable(),
7644
+ /** The track's display label at review time; `null` when it had none. */
7645
+ trackLabel: string().nullable()
7646
+ });
7647
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7648
+ var ArchivedDebugNoteQueryInputSchema = object({
7649
+ /** Restrict to a single camera; omit for every row. */
7650
+ deviceId: number().int().optional(),
7651
+ /** Max rows returned, newest-first. */
7652
+ limit: number().int().min(1).max(1e3).optional()
7653
+ });
7625
7654
  /**
7626
7655
  * Ops-log — the durable, append-only operations audit shared by the
7627
7656
  * recordings and events management surfaces.
@@ -20397,7 +20426,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20397
20426
  deviceId: number(),
20398
20427
  trackId: string(),
20399
20428
  flags: TrackFlagsPatchSchema
20400
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20429
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20401
20430
  kind: "query",
20402
20431
  auth: "admin"
20403
20432
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -38459,6 +38488,12 @@ Object.freeze({
38459
38488
  addonId: null,
38460
38489
  access: "view"
38461
38490
  },
38491
+ "pipelineAnalytics.listArchivedDebugNotes": {
38492
+ capName: "pipeline-analytics",
38493
+ capScope: "device",
38494
+ addonId: null,
38495
+ access: "view"
38496
+ },
38462
38497
  "pipelineAnalytics.listEventKinds": {
38463
38498
  capName: "pipeline-analytics",
38464
38499
  capScope: "device",
@@ -42246,6 +42281,11 @@ Object.freeze({
42246
42281
  form: "array",
42247
42282
  optional: true
42248
42283
  }],
42284
+ "pipelineAnalytics.listArchivedDebugNotes": [{
42285
+ name: "deviceId",
42286
+ form: "single",
42287
+ optional: true
42288
+ }],
42249
42289
  "pipelineAnalytics.listEventKinds": [{
42250
42290
  name: "deviceId",
42251
42291
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7623,6 +7623,35 @@ var CameraSwitchGroupSchema = object({
7623
7623
  /** Unix ms when the group was composed server-side. */
7624
7624
  fetchedAt: number()
7625
7625
  });
7626
+ /** One archived note — the operator's words plus enough context to find what
7627
+ * they were looking at, after the track itself is gone. */
7628
+ var ArchivedDebugNoteSchema = object({
7629
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7630
+ * same sentence about the same track lands on the row already there. */
7631
+ id: string(),
7632
+ /** The operator's own words, verbatim. */
7633
+ note: string(),
7634
+ /** The camera. Required — every question here is asked per-camera. */
7635
+ deviceId: number().int(),
7636
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7637
+ * is expected to be gone, and this row is not a reference to it. */
7638
+ sourceTrackId: string(),
7639
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7640
+ archivedAt: number().int(),
7641
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7642
+ trackStartedAt: number().int().nullable(),
7643
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7644
+ trackClass: string().nullable(),
7645
+ /** The track's display label at review time; `null` when it had none. */
7646
+ trackLabel: string().nullable()
7647
+ });
7648
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7649
+ var ArchivedDebugNoteQueryInputSchema = object({
7650
+ /** Restrict to a single camera; omit for every row. */
7651
+ deviceId: number().int().optional(),
7652
+ /** Max rows returned, newest-first. */
7653
+ limit: number().int().min(1).max(1e3).optional()
7654
+ });
7626
7655
  /**
7627
7656
  * Ops-log — the durable, append-only operations audit shared by the
7628
7657
  * recordings and events management surfaces.
@@ -20398,7 +20427,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20398
20427
  deviceId: number(),
20399
20428
  trackId: string(),
20400
20429
  flags: TrackFlagsPatchSchema
20401
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20430
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20402
20431
  kind: "query",
20403
20432
  auth: "admin"
20404
20433
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -38460,6 +38489,12 @@ Object.freeze({
38460
38489
  addonId: null,
38461
38490
  access: "view"
38462
38491
  },
38492
+ "pipelineAnalytics.listArchivedDebugNotes": {
38493
+ capName: "pipeline-analytics",
38494
+ capScope: "device",
38495
+ addonId: null,
38496
+ access: "view"
38497
+ },
38463
38498
  "pipelineAnalytics.listEventKinds": {
38464
38499
  capName: "pipeline-analytics",
38465
38500
  capScope: "device",
@@ -42247,6 +42282,11 @@ Object.freeze({
42247
42282
  form: "array",
42248
42283
  optional: true
42249
42284
  }],
42285
+ "pipelineAnalytics.listArchivedDebugNotes": [{
42286
+ name: "deviceId",
42287
+ form: "single",
42288
+ optional: true
42289
+ }],
42250
42290
  "pipelineAnalytics.listEventKinds": [{
42251
42291
  name: "deviceId",
42252
42292
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.94",
3
+ "version": "1.2.95",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",