@camstack/addon-provider-dreame 0.2.86 → 0.2.87

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
@@ -60300,6 +60300,35 @@ var CameraSwitchGroupSchema = object({
60300
60300
  /** Unix ms when the group was composed server-side. */
60301
60301
  fetchedAt: number()
60302
60302
  });
60303
+ /** One archived note — the operator's words plus enough context to find what
60304
+ * they were looking at, after the track itself is gone. */
60305
+ var ArchivedDebugNoteSchema = object({
60306
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
60307
+ * same sentence about the same track lands on the row already there. */
60308
+ id: string(),
60309
+ /** The operator's own words, verbatim. */
60310
+ note: string(),
60311
+ /** The camera. Required — every question here is asked per-camera. */
60312
+ deviceId: number().int(),
60313
+ /** The track the note was written on. PROVENANCE, not ownership: the track
60314
+ * is expected to be gone, and this row is not a reference to it. */
60315
+ sourceTrackId: string(),
60316
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
60317
+ archivedAt: number().int(),
60318
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
60319
+ trackStartedAt: number().int().nullable(),
60320
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
60321
+ trackClass: string().nullable(),
60322
+ /** The track's display label at review time; `null` when it had none. */
60323
+ trackLabel: string().nullable()
60324
+ });
60325
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
60326
+ var ArchivedDebugNoteQueryInputSchema = object({
60327
+ /** Restrict to a single camera; omit for every row. */
60328
+ deviceId: number().int().optional(),
60329
+ /** Max rows returned, newest-first. */
60330
+ limit: number().int().min(1).max(1e3).optional()
60331
+ });
60303
60332
  /**
60304
60333
  * Ops-log — the durable, append-only operations audit shared by the
60305
60334
  * recordings and events management surfaces.
@@ -72780,7 +72809,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
72780
72809
  deviceId: number(),
72781
72810
  trackId: string(),
72782
72811
  flags: TrackFlagsPatchSchema
72783
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
72812
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
72784
72813
  kind: "query",
72785
72814
  auth: "admin"
72786
72815
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -90347,6 +90376,12 @@ Object.freeze({
90347
90376
  addonId: null,
90348
90377
  access: "view"
90349
90378
  },
90379
+ "pipelineAnalytics.listArchivedDebugNotes": {
90380
+ capName: "pipeline-analytics",
90381
+ capScope: "device",
90382
+ addonId: null,
90383
+ access: "view"
90384
+ },
90350
90385
  "pipelineAnalytics.listEventKinds": {
90351
90386
  capName: "pipeline-analytics",
90352
90387
  capScope: "device",
@@ -94134,6 +94169,11 @@ Object.freeze({
94134
94169
  form: "array",
94135
94170
  optional: true
94136
94171
  }],
94172
+ "pipelineAnalytics.listArchivedDebugNotes": [{
94173
+ name: "deviceId",
94174
+ form: "single",
94175
+ optional: true
94176
+ }],
94137
94177
  "pipelineAnalytics.listEventKinds": [{
94138
94178
  name: "deviceId",
94139
94179
  form: "single",
package/dist/addon.mjs CHANGED
@@ -60297,6 +60297,35 @@ var CameraSwitchGroupSchema = object({
60297
60297
  /** Unix ms when the group was composed server-side. */
60298
60298
  fetchedAt: number()
60299
60299
  });
60300
+ /** One archived note — the operator's words plus enough context to find what
60301
+ * they were looking at, after the track itself is gone. */
60302
+ var ArchivedDebugNoteSchema = object({
60303
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
60304
+ * same sentence about the same track lands on the row already there. */
60305
+ id: string(),
60306
+ /** The operator's own words, verbatim. */
60307
+ note: string(),
60308
+ /** The camera. Required — every question here is asked per-camera. */
60309
+ deviceId: number().int(),
60310
+ /** The track the note was written on. PROVENANCE, not ownership: the track
60311
+ * is expected to be gone, and this row is not a reference to it. */
60312
+ sourceTrackId: string(),
60313
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
60314
+ archivedAt: number().int(),
60315
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
60316
+ trackStartedAt: number().int().nullable(),
60317
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
60318
+ trackClass: string().nullable(),
60319
+ /** The track's display label at review time; `null` when it had none. */
60320
+ trackLabel: string().nullable()
60321
+ });
60322
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
60323
+ var ArchivedDebugNoteQueryInputSchema = object({
60324
+ /** Restrict to a single camera; omit for every row. */
60325
+ deviceId: number().int().optional(),
60326
+ /** Max rows returned, newest-first. */
60327
+ limit: number().int().min(1).max(1e3).optional()
60328
+ });
60300
60329
  /**
60301
60330
  * Ops-log — the durable, append-only operations audit shared by the
60302
60331
  * recordings and events management surfaces.
@@ -72777,7 +72806,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
72777
72806
  deviceId: number(),
72778
72807
  trackId: string(),
72779
72808
  flags: TrackFlagsPatchSchema
72780
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
72809
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
72781
72810
  kind: "query",
72782
72811
  auth: "admin"
72783
72812
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -90344,6 +90373,12 @@ Object.freeze({
90344
90373
  addonId: null,
90345
90374
  access: "view"
90346
90375
  },
90376
+ "pipelineAnalytics.listArchivedDebugNotes": {
90377
+ capName: "pipeline-analytics",
90378
+ capScope: "device",
90379
+ addonId: null,
90380
+ access: "view"
90381
+ },
90347
90382
  "pipelineAnalytics.listEventKinds": {
90348
90383
  capName: "pipeline-analytics",
90349
90384
  capScope: "device",
@@ -94131,6 +94166,11 @@ Object.freeze({
94131
94166
  form: "array",
94132
94167
  optional: true
94133
94168
  }],
94169
+ "pipelineAnalytics.listArchivedDebugNotes": [{
94170
+ name: "deviceId",
94171
+ form: "single",
94172
+ optional: true
94173
+ }],
94134
94174
  "pipelineAnalytics.listEventKinds": [{
94135
94175
  name: "deviceId",
94136
94176
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.86",
3
+ "version": "0.2.87",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",