@camstack/addon-provider-wyze 0.2.90 → 0.2.91

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
@@ -7659,6 +7659,35 @@ var CameraSwitchGroupSchema = object({
7659
7659
  /** Unix ms when the group was composed server-side. */
7660
7660
  fetchedAt: number()
7661
7661
  });
7662
+ /** One archived note — the operator's words plus enough context to find what
7663
+ * they were looking at, after the track itself is gone. */
7664
+ var ArchivedDebugNoteSchema = object({
7665
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7666
+ * same sentence about the same track lands on the row already there. */
7667
+ id: string(),
7668
+ /** The operator's own words, verbatim. */
7669
+ note: string(),
7670
+ /** The camera. Required — every question here is asked per-camera. */
7671
+ deviceId: number().int(),
7672
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7673
+ * is expected to be gone, and this row is not a reference to it. */
7674
+ sourceTrackId: string(),
7675
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7676
+ archivedAt: number().int(),
7677
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7678
+ trackStartedAt: number().int().nullable(),
7679
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7680
+ trackClass: string().nullable(),
7681
+ /** The track's display label at review time; `null` when it had none. */
7682
+ trackLabel: string().nullable()
7683
+ });
7684
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7685
+ var ArchivedDebugNoteQueryInputSchema = object({
7686
+ /** Restrict to a single camera; omit for every row. */
7687
+ deviceId: number().int().optional(),
7688
+ /** Max rows returned, newest-first. */
7689
+ limit: number().int().min(1).max(1e3).optional()
7690
+ });
7662
7691
  /**
7663
7692
  * Ops-log — the durable, append-only operations audit shared by the
7664
7693
  * recordings and events management surfaces.
@@ -20139,7 +20168,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20139
20168
  deviceId: number(),
20140
20169
  trackId: string(),
20141
20170
  flags: TrackFlagsPatchSchema
20142
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20171
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20143
20172
  kind: "query",
20144
20173
  auth: "admin"
20145
20174
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37645,6 +37674,12 @@ Object.freeze({
37645
37674
  addonId: null,
37646
37675
  access: "view"
37647
37676
  },
37677
+ "pipelineAnalytics.listArchivedDebugNotes": {
37678
+ capName: "pipeline-analytics",
37679
+ capScope: "device",
37680
+ addonId: null,
37681
+ access: "view"
37682
+ },
37648
37683
  "pipelineAnalytics.listEventKinds": {
37649
37684
  capName: "pipeline-analytics",
37650
37685
  capScope: "device",
@@ -41432,6 +41467,11 @@ Object.freeze({
41432
41467
  form: "array",
41433
41468
  optional: true
41434
41469
  }],
41470
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41471
+ name: "deviceId",
41472
+ form: "single",
41473
+ optional: true
41474
+ }],
41435
41475
  "pipelineAnalytics.listEventKinds": [{
41436
41476
  name: "deviceId",
41437
41477
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7638,6 +7638,35 @@ var CameraSwitchGroupSchema = object({
7638
7638
  /** Unix ms when the group was composed server-side. */
7639
7639
  fetchedAt: number()
7640
7640
  });
7641
+ /** One archived note — the operator's words plus enough context to find what
7642
+ * they were looking at, after the track itself is gone. */
7643
+ var ArchivedDebugNoteSchema = object({
7644
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7645
+ * same sentence about the same track lands on the row already there. */
7646
+ id: string(),
7647
+ /** The operator's own words, verbatim. */
7648
+ note: string(),
7649
+ /** The camera. Required — every question here is asked per-camera. */
7650
+ deviceId: number().int(),
7651
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7652
+ * is expected to be gone, and this row is not a reference to it. */
7653
+ sourceTrackId: string(),
7654
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7655
+ archivedAt: number().int(),
7656
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7657
+ trackStartedAt: number().int().nullable(),
7658
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7659
+ trackClass: string().nullable(),
7660
+ /** The track's display label at review time; `null` when it had none. */
7661
+ trackLabel: string().nullable()
7662
+ });
7663
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7664
+ var ArchivedDebugNoteQueryInputSchema = object({
7665
+ /** Restrict to a single camera; omit for every row. */
7666
+ deviceId: number().int().optional(),
7667
+ /** Max rows returned, newest-first. */
7668
+ limit: number().int().min(1).max(1e3).optional()
7669
+ });
7641
7670
  /**
7642
7671
  * Ops-log — the durable, append-only operations audit shared by the
7643
7672
  * recordings and events management surfaces.
@@ -20118,7 +20147,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20118
20147
  deviceId: number(),
20119
20148
  trackId: string(),
20120
20149
  flags: TrackFlagsPatchSchema
20121
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20150
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20122
20151
  kind: "query",
20123
20152
  auth: "admin"
20124
20153
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37624,6 +37653,12 @@ Object.freeze({
37624
37653
  addonId: null,
37625
37654
  access: "view"
37626
37655
  },
37656
+ "pipelineAnalytics.listArchivedDebugNotes": {
37657
+ capName: "pipeline-analytics",
37658
+ capScope: "device",
37659
+ addonId: null,
37660
+ access: "view"
37661
+ },
37627
37662
  "pipelineAnalytics.listEventKinds": {
37628
37663
  capName: "pipeline-analytics",
37629
37664
  capScope: "device",
@@ -41411,6 +41446,11 @@ Object.freeze({
41411
41446
  form: "array",
41412
41447
  optional: true
41413
41448
  }],
41449
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41450
+ name: "deviceId",
41451
+ form: "single",
41452
+ optional: true
41453
+ }],
41414
41454
  "pipelineAnalytics.listEventKinds": [{
41415
41455
  name: "deviceId",
41416
41456
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.90",
3
+ "version": "0.2.91",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",