@camstack/addon-provider-gree 0.2.85 → 0.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
@@ -7630,6 +7630,35 @@ var CameraSwitchGroupSchema = object({
7630
7630
  /** Unix ms when the group was composed server-side. */
7631
7631
  fetchedAt: number()
7632
7632
  });
7633
+ /** One archived note — the operator's words plus enough context to find what
7634
+ * they were looking at, after the track itself is gone. */
7635
+ var ArchivedDebugNoteSchema = object({
7636
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7637
+ * same sentence about the same track lands on the row already there. */
7638
+ id: string(),
7639
+ /** The operator's own words, verbatim. */
7640
+ note: string(),
7641
+ /** The camera. Required — every question here is asked per-camera. */
7642
+ deviceId: number().int(),
7643
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7644
+ * is expected to be gone, and this row is not a reference to it. */
7645
+ sourceTrackId: string(),
7646
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7647
+ archivedAt: number().int(),
7648
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7649
+ trackStartedAt: number().int().nullable(),
7650
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7651
+ trackClass: string().nullable(),
7652
+ /** The track's display label at review time; `null` when it had none. */
7653
+ trackLabel: string().nullable()
7654
+ });
7655
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7656
+ var ArchivedDebugNoteQueryInputSchema = object({
7657
+ /** Restrict to a single camera; omit for every row. */
7658
+ deviceId: number().int().optional(),
7659
+ /** Max rows returned, newest-first. */
7660
+ limit: number().int().min(1).max(1e3).optional()
7661
+ });
7633
7662
  /**
7634
7663
  * Ops-log — the durable, append-only operations audit shared by the
7635
7664
  * recordings and events management surfaces.
@@ -20093,7 +20122,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20093
20122
  deviceId: number(),
20094
20123
  trackId: string(),
20095
20124
  flags: TrackFlagsPatchSchema
20096
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20125
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20097
20126
  kind: "query",
20098
20127
  auth: "admin"
20099
20128
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37487,6 +37516,12 @@ Object.freeze({
37487
37516
  addonId: null,
37488
37517
  access: "view"
37489
37518
  },
37519
+ "pipelineAnalytics.listArchivedDebugNotes": {
37520
+ capName: "pipeline-analytics",
37521
+ capScope: "device",
37522
+ addonId: null,
37523
+ access: "view"
37524
+ },
37490
37525
  "pipelineAnalytics.listEventKinds": {
37491
37526
  capName: "pipeline-analytics",
37492
37527
  capScope: "device",
@@ -41274,6 +41309,11 @@ Object.freeze({
41274
41309
  form: "array",
41275
41310
  optional: true
41276
41311
  }],
41312
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41313
+ name: "deviceId",
41314
+ form: "single",
41315
+ optional: true
41316
+ }],
41277
41317
  "pipelineAnalytics.listEventKinds": [{
41278
41318
  name: "deviceId",
41279
41319
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7629,6 +7629,35 @@ var CameraSwitchGroupSchema = object({
7629
7629
  /** Unix ms when the group was composed server-side. */
7630
7630
  fetchedAt: number()
7631
7631
  });
7632
+ /** One archived note — the operator's words plus enough context to find what
7633
+ * they were looking at, after the track itself is gone. */
7634
+ var ArchivedDebugNoteSchema = object({
7635
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7636
+ * same sentence about the same track lands on the row already there. */
7637
+ id: string(),
7638
+ /** The operator's own words, verbatim. */
7639
+ note: string(),
7640
+ /** The camera. Required — every question here is asked per-camera. */
7641
+ deviceId: number().int(),
7642
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7643
+ * is expected to be gone, and this row is not a reference to it. */
7644
+ sourceTrackId: string(),
7645
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7646
+ archivedAt: number().int(),
7647
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7648
+ trackStartedAt: number().int().nullable(),
7649
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7650
+ trackClass: string().nullable(),
7651
+ /** The track's display label at review time; `null` when it had none. */
7652
+ trackLabel: string().nullable()
7653
+ });
7654
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7655
+ var ArchivedDebugNoteQueryInputSchema = object({
7656
+ /** Restrict to a single camera; omit for every row. */
7657
+ deviceId: number().int().optional(),
7658
+ /** Max rows returned, newest-first. */
7659
+ limit: number().int().min(1).max(1e3).optional()
7660
+ });
7632
7661
  /**
7633
7662
  * Ops-log — the durable, append-only operations audit shared by the
7634
7663
  * recordings and events management surfaces.
@@ -20092,7 +20121,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20092
20121
  deviceId: number(),
20093
20122
  trackId: string(),
20094
20123
  flags: TrackFlagsPatchSchema
20095
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20124
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20096
20125
  kind: "query",
20097
20126
  auth: "admin"
20098
20127
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37486,6 +37515,12 @@ Object.freeze({
37486
37515
  addonId: null,
37487
37516
  access: "view"
37488
37517
  },
37518
+ "pipelineAnalytics.listArchivedDebugNotes": {
37519
+ capName: "pipeline-analytics",
37520
+ capScope: "device",
37521
+ addonId: null,
37522
+ access: "view"
37523
+ },
37489
37524
  "pipelineAnalytics.listEventKinds": {
37490
37525
  capName: "pipeline-analytics",
37491
37526
  capScope: "device",
@@ -41273,6 +41308,11 @@ Object.freeze({
41273
41308
  form: "array",
41274
41309
  optional: true
41275
41310
  }],
41311
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41312
+ name: "deviceId",
41313
+ form: "single",
41314
+ optional: true
41315
+ }],
41276
41316
  "pipelineAnalytics.listEventKinds": [{
41277
41317
  name: "deviceId",
41278
41318
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",