@camstack/addon-provider-reolink 1.2.109 → 1.2.110

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
@@ -7665,6 +7665,35 @@ var CameraSwitchGroupSchema = object({
7665
7665
  /** Unix ms when the group was composed server-side. */
7666
7666
  fetchedAt: number()
7667
7667
  });
7668
+ /** One archived note — the operator's words plus enough context to find what
7669
+ * they were looking at, after the track itself is gone. */
7670
+ var ArchivedDebugNoteSchema = object({
7671
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7672
+ * same sentence about the same track lands on the row already there. */
7673
+ id: string(),
7674
+ /** The operator's own words, verbatim. */
7675
+ note: string(),
7676
+ /** The camera. Required — every question here is asked per-camera. */
7677
+ deviceId: number().int(),
7678
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7679
+ * is expected to be gone, and this row is not a reference to it. */
7680
+ sourceTrackId: string(),
7681
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7682
+ archivedAt: number().int(),
7683
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7684
+ trackStartedAt: number().int().nullable(),
7685
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7686
+ trackClass: string().nullable(),
7687
+ /** The track's display label at review time; `null` when it had none. */
7688
+ trackLabel: string().nullable()
7689
+ });
7690
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7691
+ var ArchivedDebugNoteQueryInputSchema = object({
7692
+ /** Restrict to a single camera; omit for every row. */
7693
+ deviceId: number().int().optional(),
7694
+ /** Max rows returned, newest-first. */
7695
+ limit: number().int().min(1).max(1e3).optional()
7696
+ });
7668
7697
  /**
7669
7698
  * Ops-log — the durable, append-only operations audit shared by the
7670
7699
  * recordings and events management surfaces.
@@ -20734,7 +20763,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20734
20763
  deviceId: number(),
20735
20764
  trackId: string(),
20736
20765
  flags: TrackFlagsPatchSchema
20737
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20766
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20738
20767
  kind: "query",
20739
20768
  auth: "admin"
20740
20769
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -38715,6 +38744,12 @@ Object.freeze({
38715
38744
  addonId: null,
38716
38745
  access: "view"
38717
38746
  },
38747
+ "pipelineAnalytics.listArchivedDebugNotes": {
38748
+ capName: "pipeline-analytics",
38749
+ capScope: "device",
38750
+ addonId: null,
38751
+ access: "view"
38752
+ },
38718
38753
  "pipelineAnalytics.listEventKinds": {
38719
38754
  capName: "pipeline-analytics",
38720
38755
  capScope: "device",
@@ -42502,6 +42537,11 @@ Object.freeze({
42502
42537
  form: "array",
42503
42538
  optional: true
42504
42539
  }],
42540
+ "pipelineAnalytics.listArchivedDebugNotes": [{
42541
+ name: "deviceId",
42542
+ form: "single",
42543
+ optional: true
42544
+ }],
42505
42545
  "pipelineAnalytics.listEventKinds": [{
42506
42546
  name: "deviceId",
42507
42547
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7660,6 +7660,35 @@ var CameraSwitchGroupSchema = object({
7660
7660
  /** Unix ms when the group was composed server-side. */
7661
7661
  fetchedAt: number()
7662
7662
  });
7663
+ /** One archived note — the operator's words plus enough context to find what
7664
+ * they were looking at, after the track itself is gone. */
7665
+ var ArchivedDebugNoteSchema = object({
7666
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7667
+ * same sentence about the same track lands on the row already there. */
7668
+ id: string(),
7669
+ /** The operator's own words, verbatim. */
7670
+ note: string(),
7671
+ /** The camera. Required — every question here is asked per-camera. */
7672
+ deviceId: number().int(),
7673
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7674
+ * is expected to be gone, and this row is not a reference to it. */
7675
+ sourceTrackId: string(),
7676
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7677
+ archivedAt: number().int(),
7678
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7679
+ trackStartedAt: number().int().nullable(),
7680
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7681
+ trackClass: string().nullable(),
7682
+ /** The track's display label at review time; `null` when it had none. */
7683
+ trackLabel: string().nullable()
7684
+ });
7685
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7686
+ var ArchivedDebugNoteQueryInputSchema = object({
7687
+ /** Restrict to a single camera; omit for every row. */
7688
+ deviceId: number().int().optional(),
7689
+ /** Max rows returned, newest-first. */
7690
+ limit: number().int().min(1).max(1e3).optional()
7691
+ });
7663
7692
  /**
7664
7693
  * Ops-log — the durable, append-only operations audit shared by the
7665
7694
  * recordings and events management surfaces.
@@ -20729,7 +20758,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20729
20758
  deviceId: number(),
20730
20759
  trackId: string(),
20731
20760
  flags: TrackFlagsPatchSchema
20732
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20761
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20733
20762
  kind: "query",
20734
20763
  auth: "admin"
20735
20764
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -38710,6 +38739,12 @@ Object.freeze({
38710
38739
  addonId: null,
38711
38740
  access: "view"
38712
38741
  },
38742
+ "pipelineAnalytics.listArchivedDebugNotes": {
38743
+ capName: "pipeline-analytics",
38744
+ capScope: "device",
38745
+ addonId: null,
38746
+ access: "view"
38747
+ },
38713
38748
  "pipelineAnalytics.listEventKinds": {
38714
38749
  capName: "pipeline-analytics",
38715
38750
  capScope: "device",
@@ -42497,6 +42532,11 @@ Object.freeze({
42497
42532
  form: "array",
42498
42533
  optional: true
42499
42534
  }],
42535
+ "pipelineAnalytics.listArchivedDebugNotes": [{
42536
+ name: "deviceId",
42537
+ form: "single",
42538
+ optional: true
42539
+ }],
42500
42540
  "pipelineAnalytics.listEventKinds": [{
42501
42541
  name: "deviceId",
42502
42542
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.109",
3
+ "version": "1.2.110",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",