@camstack/system 1.2.209 → 1.2.211

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.
Files changed (53) hide show
  1. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  2. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  3. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  4. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  5. package/dist/builtins/alerts/alerts.addon.js +1 -1
  6. package/dist/builtins/alerts/alerts.addon.mjs +1 -1
  7. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  8. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  9. package/dist/builtins/console-logging/index.js +1 -1
  10. package/dist/builtins/console-logging/index.mjs +1 -1
  11. package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
  12. package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
  13. package/dist/builtins/device-manager/device-manager.addon.js +2 -2
  14. package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
  15. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  16. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  17. package/dist/builtins/hub-forwarder/index.js +1 -1
  18. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  19. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  20. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  21. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  22. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  23. package/dist/builtins/local-network/local-network.addon.js +1 -1
  24. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  25. package/dist/builtins/loki-logging/index.js +1 -1
  26. package/dist/builtins/loki-logging/index.mjs +1 -1
  27. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  28. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  29. package/dist/builtins/platform-probe/index.js +1 -1
  30. package/dist/builtins/platform-probe/index.mjs +1 -1
  31. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  32. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  33. package/dist/builtins/snapshot/index.js +1 -1
  34. package/dist/builtins/snapshot/index.mjs +1 -1
  35. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  36. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  37. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
  38. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
  39. package/dist/builtins/storage-orchestrator/location-repoint-move.d.ts +52 -0
  40. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.d.ts +13 -0
  41. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +112 -3
  42. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +112 -3
  43. package/dist/builtins/system-config/system-config.addon.js +1 -1
  44. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  45. package/dist/builtins/winston-logging/index.js +1 -1
  46. package/dist/builtins/winston-logging/index.mjs +1 -1
  47. package/dist/{dist-CNxDnJwz.js → dist-C5xJy-uL.js} +134 -69
  48. package/dist/{dist-CLFBZQH6.mjs → dist-Cnelbn_Z.mjs} +134 -69
  49. package/dist/index.js +1 -1
  50. package/dist/index.mjs +1 -1
  51. package/dist/{retired-settings-keys-BQydEL_M.mjs → retired-settings-keys-CIuDeUQo.mjs} +1 -1
  52. package/dist/{retired-settings-keys-D9wnrXOC.js → retired-settings-keys-CONISA8J.js} +1 -1
  53. package/package.json +1 -1
@@ -3797,6 +3797,35 @@ function walkField(field, out) {
3797
3797
  for (const tab of tabs) for (const child of fieldsOf(tab)) walkField(child, out);
3798
3798
  }
3799
3799
  }
3800
+ /** One archived note — the operator's words plus enough context to find what
3801
+ * they were looking at, after the track itself is gone. */
3802
+ var ArchivedDebugNoteSchema = zod.z.object({
3803
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
3804
+ * same sentence about the same track lands on the row already there. */
3805
+ id: zod.z.string(),
3806
+ /** The operator's own words, verbatim. */
3807
+ note: zod.z.string(),
3808
+ /** The camera. Required — every question here is asked per-camera. */
3809
+ deviceId: zod.z.number().int(),
3810
+ /** The track the note was written on. PROVENANCE, not ownership: the track
3811
+ * is expected to be gone, and this row is not a reference to it. */
3812
+ sourceTrackId: zod.z.string(),
3813
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
3814
+ archivedAt: zod.z.number().int(),
3815
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
3816
+ trackStartedAt: zod.z.number().int().nullable(),
3817
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
3818
+ trackClass: zod.z.string().nullable(),
3819
+ /** The track's display label at review time; `null` when it had none. */
3820
+ trackLabel: zod.z.string().nullable()
3821
+ });
3822
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
3823
+ var ArchivedDebugNoteQueryInputSchema = zod.z.object({
3824
+ /** Restrict to a single camera; omit for every row. */
3825
+ deviceId: zod.z.number().int().optional(),
3826
+ /** Max rows returned, newest-first. */
3827
+ limit: zod.z.number().int().min(1).max(1e3).optional()
3828
+ });
3800
3829
  /** Friendly display labels for stream quality IDs. */
3801
3830
  var STREAM_QUALITY_LABELS = {
3802
3831
  high: "High",
@@ -14825,14 +14854,14 @@ var alarmPanelCapability = {
14825
14854
  code: zod.z.string().min(1).optional()
14826
14855
  }), zod.z.void(), {
14827
14856
  kind: "mutation",
14828
- auth: "admin"
14857
+ auth: "protected"
14829
14858
  }),
14830
14859
  disarm: method(zod.z.object({
14831
14860
  deviceId: zod.z.number().int().nonnegative(),
14832
14861
  code: zod.z.string().min(1).optional()
14833
14862
  }), zod.z.void(), {
14834
14863
  kind: "mutation",
14835
- auth: "admin"
14864
+ auth: "protected"
14836
14865
  }),
14837
14866
  /**
14838
14867
  * Force the panel into the `triggered` state — used by HA
@@ -14843,7 +14872,7 @@ var alarmPanelCapability = {
14843
14872
  */
14844
14873
  trigger: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
14845
14874
  kind: "mutation",
14846
- auth: "admin"
14875
+ auth: "protected"
14847
14876
  })
14848
14877
  },
14849
14878
  status: {
@@ -19348,6 +19377,31 @@ var pipelineAnalyticsCapability = {
19348
19377
  flags: TrackFlagsPatchSchema
19349
19378
  }), TrackFlagsSchema, { kind: "mutation" }),
19350
19379
  /**
19380
+ * The archived debug notes, newest first — the corpus of what operators
19381
+ * have asked to be checked, across tracks that no longer exist (D405).
19382
+ *
19383
+ * `setTrackFlags` writes it: a patch carrying `debug: false` still clears
19384
+ * the note off the track row in the same statement (D353's invariant is
19385
+ * untouched), but the note is APPENDED here first. That is the whole point
19386
+ * — before D405, finishing a review destroyed every note written during it,
19387
+ * and the ones that survived aged out with their tracks. This method is the
19388
+ * only way to read what was kept.
19389
+ *
19390
+ * `auth: 'protected'`, matching `setTrackFlags` next door and for the same
19391
+ * reason: the notes are written from the viewer, by an authenticated
19392
+ * non-admin session, and a corpus only an admin can read is a corpus the
19393
+ * person who wrote it cannot use. It carries operator prose about cameras
19394
+ * and nothing else — no media, no paths, no identities beyond a track's
19395
+ * own display label.
19396
+ *
19397
+ * Newest-first, capped by `limit` (default
19398
+ * {@link ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT}), optionally one camera. The
19399
+ * table itself is bounded by row count, not by age — see
19400
+ * {@link MAX_ARCHIVED_DEBUG_NOTES} for why an age clock would be the wrong
19401
+ * bound for exactly this data.
19402
+ */
19403
+ listArchivedDebugNotes: method(ArchivedDebugNoteQueryInputSchema, zod.z.array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }),
19404
+ /**
19351
19405
  * Durable event-store footprint for the management UI: event rows
19352
19406
  * (motion + object + audio) counted per camera + total, plus the
19353
19407
  * event-owned media bytes on disk per camera + total. Stat/count-based,
@@ -25063,7 +25117,7 @@ var brightnessCapability = {
25063
25117
  percentage: zod.z.number().min(0).max(100)
25064
25118
  }), zod.z.void(), {
25065
25119
  kind: "mutation",
25066
- auth: "admin"
25120
+ auth: "protected"
25067
25121
  }) },
25068
25122
  events: {
25069
25123
  /**
@@ -25112,7 +25166,7 @@ var buttonCapability = {
25112
25166
  deviceTypes: [DeviceType.Button],
25113
25167
  methods: { press: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
25114
25168
  kind: "mutation",
25115
- auth: "admin"
25169
+ auth: "protected"
25116
25170
  }) }
25117
25171
  };
25118
25172
  /**
@@ -25329,28 +25383,28 @@ var climateControlCapability = {
25329
25383
  mode: HvacModeSchema
25330
25384
  }), zod.z.void(), {
25331
25385
  kind: "mutation",
25332
- auth: "admin"
25386
+ auth: "protected"
25333
25387
  }),
25334
25388
  setFanMode: method(zod.z.object({
25335
25389
  deviceId: zod.z.number().int().nonnegative(),
25336
25390
  fanMode: zod.z.string().min(1)
25337
25391
  }), zod.z.void(), {
25338
25392
  kind: "mutation",
25339
- auth: "admin"
25393
+ auth: "protected"
25340
25394
  }),
25341
25395
  setPreset: method(zod.z.object({
25342
25396
  deviceId: zod.z.number().int().nonnegative(),
25343
25397
  preset: zod.z.string().min(1)
25344
25398
  }), zod.z.void(), {
25345
25399
  kind: "mutation",
25346
- auth: "admin"
25400
+ auth: "protected"
25347
25401
  }),
25348
25402
  setTarget: method(zod.z.object({
25349
25403
  deviceId: zod.z.number().int().nonnegative(),
25350
25404
  target: zod.z.number()
25351
25405
  }), zod.z.void(), {
25352
25406
  kind: "mutation",
25353
- auth: "admin"
25407
+ auth: "protected"
25354
25408
  }),
25355
25409
  setTargetRange: method(zod.z.object({
25356
25410
  deviceId: zod.z.number().int().nonnegative(),
@@ -25358,28 +25412,28 @@ var climateControlCapability = {
25358
25412
  targetHigh: zod.z.number()
25359
25413
  }), zod.z.void(), {
25360
25414
  kind: "mutation",
25361
- auth: "admin"
25415
+ auth: "protected"
25362
25416
  }),
25363
25417
  setTargetHumidity: method(zod.z.object({
25364
25418
  deviceId: zod.z.number().int().nonnegative(),
25365
25419
  targetHumidity: zod.z.number().min(0).max(100)
25366
25420
  }), zod.z.void(), {
25367
25421
  kind: "mutation",
25368
- auth: "admin"
25422
+ auth: "protected"
25369
25423
  }),
25370
25424
  setSwingVertical: method(zod.z.object({
25371
25425
  deviceId: zod.z.number().int().nonnegative(),
25372
25426
  on: zod.z.boolean()
25373
25427
  }), zod.z.void(), {
25374
25428
  kind: "mutation",
25375
- auth: "admin"
25429
+ auth: "protected"
25376
25430
  }),
25377
25431
  setSwingHorizontal: method(zod.z.object({
25378
25432
  deviceId: zod.z.number().int().nonnegative(),
25379
25433
  on: zod.z.boolean()
25380
25434
  }), zod.z.void(), {
25381
25435
  kind: "mutation",
25382
- auth: "admin"
25436
+ auth: "protected"
25383
25437
  })
25384
25438
  },
25385
25439
  status: {
@@ -25479,7 +25533,7 @@ var colorCapability = {
25479
25533
  color: ColorInputSchema
25480
25534
  }), zod.z.void(), {
25481
25535
  kind: "mutation",
25482
- auth: "admin"
25536
+ auth: "protected"
25483
25537
  }) },
25484
25538
  events: {
25485
25539
  /**
@@ -25840,7 +25894,7 @@ var controlCapability = {
25840
25894
  control: ControlSetValueInputSchema
25841
25895
  }), zod.z.void(), {
25842
25896
  kind: "mutation",
25843
- auth: "admin"
25897
+ auth: "protected"
25844
25898
  }) },
25845
25899
  status: {
25846
25900
  schema: ControlStatusSchema,
@@ -25908,29 +25962,29 @@ var coverCapability = {
25908
25962
  methods: {
25909
25963
  open: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
25910
25964
  kind: "mutation",
25911
- auth: "admin"
25965
+ auth: "protected"
25912
25966
  }),
25913
25967
  close: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
25914
25968
  kind: "mutation",
25915
- auth: "admin"
25969
+ auth: "protected"
25916
25970
  }),
25917
25971
  stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
25918
25972
  kind: "mutation",
25919
- auth: "admin"
25973
+ auth: "protected"
25920
25974
  }),
25921
25975
  setPosition: method(zod.z.object({
25922
25976
  deviceId: zod.z.number().int().nonnegative(),
25923
25977
  position: zod.z.number().min(0).max(100)
25924
25978
  }), zod.z.void(), {
25925
25979
  kind: "mutation",
25926
- auth: "admin"
25980
+ auth: "protected"
25927
25981
  }),
25928
25982
  setTiltPosition: method(zod.z.object({
25929
25983
  deviceId: zod.z.number().int().nonnegative(),
25930
25984
  tiltPosition: zod.z.number().min(0).max(100)
25931
25985
  }), zod.z.void(), {
25932
25986
  kind: "mutation",
25933
- auth: "admin"
25987
+ auth: "protected"
25934
25988
  })
25935
25989
  },
25936
25990
  status: {
@@ -26762,28 +26816,28 @@ var fanControlCapability = {
26762
26816
  percentage: zod.z.number().min(0).max(100)
26763
26817
  }), zod.z.void(), {
26764
26818
  kind: "mutation",
26765
- auth: "admin"
26819
+ auth: "protected"
26766
26820
  }),
26767
26821
  setPreset: method(zod.z.object({
26768
26822
  deviceId: zod.z.number().int().nonnegative(),
26769
26823
  preset: zod.z.string().min(1)
26770
26824
  }), zod.z.void(), {
26771
26825
  kind: "mutation",
26772
- auth: "admin"
26826
+ auth: "protected"
26773
26827
  }),
26774
26828
  setDirection: method(zod.z.object({
26775
26829
  deviceId: zod.z.number().int().nonnegative(),
26776
26830
  direction: FanDirectionSchema
26777
26831
  }), zod.z.void(), {
26778
26832
  kind: "mutation",
26779
- auth: "admin"
26833
+ auth: "protected"
26780
26834
  }),
26781
26835
  setOscillating: method(zod.z.object({
26782
26836
  deviceId: zod.z.number().int().nonnegative(),
26783
26837
  oscillating: zod.z.boolean()
26784
26838
  }), zod.z.void(), {
26785
26839
  kind: "mutation",
26786
- auth: "admin"
26840
+ auth: "protected"
26787
26841
  })
26788
26842
  },
26789
26843
  status: {
@@ -27005,21 +27059,21 @@ var humidifierCapability = {
27005
27059
  on: zod.z.boolean()
27006
27060
  }), zod.z.void(), {
27007
27061
  kind: "mutation",
27008
- auth: "admin"
27062
+ auth: "protected"
27009
27063
  }),
27010
27064
  setTargetHumidity: method(zod.z.object({
27011
27065
  deviceId: zod.z.number().int().nonnegative(),
27012
27066
  humidity: zod.z.number().min(0).max(100)
27013
27067
  }), zod.z.void(), {
27014
27068
  kind: "mutation",
27015
- auth: "admin"
27069
+ auth: "protected"
27016
27070
  }),
27017
27071
  setMode: method(zod.z.object({
27018
27072
  deviceId: zod.z.number().int().nonnegative(),
27019
27073
  mode: zod.z.string().min(1)
27020
27074
  }), zod.z.void(), {
27021
27075
  kind: "mutation",
27022
- auth: "admin"
27076
+ auth: "protected"
27023
27077
  })
27024
27078
  },
27025
27079
  status: {
@@ -27738,15 +27792,15 @@ var lawnMowerControlCapability = {
27738
27792
  methods: {
27739
27793
  startMowing: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
27740
27794
  kind: "mutation",
27741
- auth: "admin"
27795
+ auth: "protected"
27742
27796
  }),
27743
27797
  pause: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
27744
27798
  kind: "mutation",
27745
- auth: "admin"
27799
+ auth: "protected"
27746
27800
  }),
27747
27801
  dock: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
27748
27802
  kind: "mutation",
27749
- auth: "admin"
27803
+ auth: "protected"
27750
27804
  })
27751
27805
  },
27752
27806
  status: {
@@ -28169,18 +28223,18 @@ var lockControlCapability = {
28169
28223
  code: zod.z.string().min(1).optional()
28170
28224
  }), zod.z.void(), {
28171
28225
  kind: "mutation",
28172
- auth: "admin"
28226
+ auth: "protected"
28173
28227
  }),
28174
28228
  unlock: method(zod.z.object({
28175
28229
  deviceId: zod.z.number().int().nonnegative(),
28176
28230
  code: zod.z.string().min(1).optional()
28177
28231
  }), zod.z.void(), {
28178
28232
  kind: "mutation",
28179
- auth: "admin"
28233
+ auth: "protected"
28180
28234
  }),
28181
28235
  open: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
28182
28236
  kind: "mutation",
28183
- auth: "admin"
28237
+ auth: "protected"
28184
28238
  })
28185
28239
  },
28186
28240
  status: {
@@ -28283,65 +28337,65 @@ var mediaPlayerCapability = {
28283
28337
  methods: {
28284
28338
  play: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
28285
28339
  kind: "mutation",
28286
- auth: "admin"
28340
+ auth: "protected"
28287
28341
  }),
28288
28342
  pause: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
28289
28343
  kind: "mutation",
28290
- auth: "admin"
28344
+ auth: "protected"
28291
28345
  }),
28292
28346
  stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
28293
28347
  kind: "mutation",
28294
- auth: "admin"
28348
+ auth: "protected"
28295
28349
  }),
28296
28350
  next: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
28297
28351
  kind: "mutation",
28298
- auth: "admin"
28352
+ auth: "protected"
28299
28353
  }),
28300
28354
  previous: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
28301
28355
  kind: "mutation",
28302
- auth: "admin"
28356
+ auth: "protected"
28303
28357
  }),
28304
28358
  seek: method(zod.z.object({
28305
28359
  deviceId: zod.z.number().int().nonnegative(),
28306
28360
  positionMs: zod.z.number().int().nonnegative()
28307
28361
  }), zod.z.void(), {
28308
28362
  kind: "mutation",
28309
- auth: "admin"
28363
+ auth: "protected"
28310
28364
  }),
28311
28365
  setVolume: method(zod.z.object({
28312
28366
  deviceId: zod.z.number().int().nonnegative(),
28313
28367
  volumeLevel: zod.z.number().min(0).max(100)
28314
28368
  }), zod.z.void(), {
28315
28369
  kind: "mutation",
28316
- auth: "admin"
28370
+ auth: "protected"
28317
28371
  }),
28318
28372
  setMute: method(zod.z.object({
28319
28373
  deviceId: zod.z.number().int().nonnegative(),
28320
28374
  muted: zod.z.boolean()
28321
28375
  }), zod.z.void(), {
28322
28376
  kind: "mutation",
28323
- auth: "admin"
28377
+ auth: "protected"
28324
28378
  }),
28325
28379
  setShuffle: method(zod.z.object({
28326
28380
  deviceId: zod.z.number().int().nonnegative(),
28327
28381
  shuffle: zod.z.boolean()
28328
28382
  }), zod.z.void(), {
28329
28383
  kind: "mutation",
28330
- auth: "admin"
28384
+ auth: "protected"
28331
28385
  }),
28332
28386
  setRepeat: method(zod.z.object({
28333
28387
  deviceId: zod.z.number().int().nonnegative(),
28334
28388
  repeat: MediaPlayerRepeatSchema
28335
28389
  }), zod.z.void(), {
28336
28390
  kind: "mutation",
28337
- auth: "admin"
28391
+ auth: "protected"
28338
28392
  }),
28339
28393
  selectSource: method(zod.z.object({
28340
28394
  deviceId: zod.z.number().int().nonnegative(),
28341
28395
  source: zod.z.string().min(1)
28342
28396
  }), zod.z.void(), {
28343
28397
  kind: "mutation",
28344
- auth: "admin"
28398
+ auth: "protected"
28345
28399
  }),
28346
28400
  playMedia: method(zod.z.object({
28347
28401
  deviceId: zod.z.number().int().nonnegative(),
@@ -28352,7 +28406,7 @@ var mediaPlayerCapability = {
28352
28406
  mediaType: zod.z.string().min(1)
28353
28407
  }), zod.z.void(), {
28354
28408
  kind: "mutation",
28355
- auth: "admin"
28409
+ auth: "protected"
28356
28410
  })
28357
28411
  },
28358
28412
  status: {
@@ -30155,27 +30209,27 @@ var petFeederCapability = {
30155
30209
  hopper2: gramsPortion.optional()
30156
30210
  }), zod.z.void(), {
30157
30211
  kind: "mutation",
30158
- auth: "admin"
30212
+ auth: "protected"
30159
30213
  }),
30160
30214
  /** Cancel an in-progress manual feed. */
30161
30215
  cancelFeed: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
30162
30216
  kind: "mutation",
30163
- auth: "admin"
30217
+ auth: "protected"
30164
30218
  }),
30165
30219
  /** Reset the desiccant "days remaining" counter after replacing it. */
30166
30220
  resetDesiccant: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
30167
30221
  kind: "mutation",
30168
- auth: "admin"
30222
+ auth: "protected"
30169
30223
  }),
30170
30224
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
30171
30225
  markFoodReplenished: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
30172
30226
  kind: "mutation",
30173
- auth: "admin"
30227
+ auth: "protected"
30174
30228
  }),
30175
30229
  /** Call the pet with the recorded prompt (D3). */
30176
30230
  callPet: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
30177
30231
  kind: "mutation",
30178
- auth: "admin"
30232
+ auth: "protected"
30179
30233
  }),
30180
30234
  /** Play a stored sound by id (D3 / D4H / D4SH). */
30181
30235
  playSound: method(zod.z.object({
@@ -30183,7 +30237,7 @@ var petFeederCapability = {
30183
30237
  soundId: zod.z.number().int().nonnegative()
30184
30238
  }), zod.z.void(), {
30185
30239
  kind: "mutation",
30186
- auth: "admin"
30240
+ auth: "protected"
30187
30241
  }),
30188
30242
  /** Toggle the child-lock (manual-lock) setting. */
30189
30243
  setChildLock: method(zod.z.object({
@@ -30191,7 +30245,7 @@ var petFeederCapability = {
30191
30245
  on: zod.z.boolean()
30192
30246
  }), zod.z.void(), {
30193
30247
  kind: "mutation",
30194
- auth: "admin"
30248
+ auth: "protected"
30195
30249
  }),
30196
30250
  /** Toggle the front indicator light. */
30197
30251
  setIndicatorLight: method(zod.z.object({
@@ -30199,7 +30253,7 @@ var petFeederCapability = {
30199
30253
  on: zod.z.boolean()
30200
30254
  }), zod.z.void(), {
30201
30255
  kind: "mutation",
30202
- auth: "admin"
30256
+ auth: "protected"
30203
30257
  }),
30204
30258
  /** Toggle the dispense chime. */
30205
30259
  setFeedSound: method(zod.z.object({
@@ -30207,7 +30261,7 @@ var petFeederCapability = {
30207
30261
  on: zod.z.boolean()
30208
30262
  }), zod.z.void(), {
30209
30263
  kind: "mutation",
30210
- auth: "admin"
30264
+ auth: "protected"
30211
30265
  }),
30212
30266
  /** Set the speaker / prompt volume level. */
30213
30267
  setVolume: method(zod.z.object({
@@ -30215,7 +30269,7 @@ var petFeederCapability = {
30215
30269
  level: zod.z.number().int().nonnegative()
30216
30270
  }), zod.z.void(), {
30217
30271
  kind: "mutation",
30218
- auth: "admin"
30272
+ auth: "protected"
30219
30273
  })
30220
30274
  },
30221
30275
  status: {
@@ -33121,7 +33175,7 @@ var switchCapability = {
33121
33175
  on: zod.z.boolean()
33122
33176
  }), zod.z.void(), {
33123
33177
  kind: "mutation",
33124
- auth: "admin"
33178
+ auth: "protected"
33125
33179
  }) },
33126
33180
  events: { onStateChanged: { data: zod.z.object({
33127
33181
  deviceId: zod.z.number(),
@@ -34269,30 +34323,30 @@ var vacuumControlCapability = {
34269
34323
  methods: {
34270
34324
  start: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34271
34325
  kind: "mutation",
34272
- auth: "admin"
34326
+ auth: "protected"
34273
34327
  }),
34274
34328
  pause: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34275
34329
  kind: "mutation",
34276
- auth: "admin"
34330
+ auth: "protected"
34277
34331
  }),
34278
34332
  stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34279
34333
  kind: "mutation",
34280
- auth: "admin"
34334
+ auth: "protected"
34281
34335
  }),
34282
34336
  returnToBase: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34283
34337
  kind: "mutation",
34284
- auth: "admin"
34338
+ auth: "protected"
34285
34339
  }),
34286
34340
  locate: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34287
34341
  kind: "mutation",
34288
- auth: "admin"
34342
+ auth: "protected"
34289
34343
  }),
34290
34344
  setFanSpeed: method(zod.z.object({
34291
34345
  deviceId: zod.z.number().int().nonnegative(),
34292
34346
  speed: zod.z.string().min(1)
34293
34347
  }), zod.z.void(), {
34294
34348
  kind: "mutation",
34295
- auth: "admin"
34349
+ auth: "protected"
34296
34350
  })
34297
34351
  },
34298
34352
  status: {
@@ -34354,22 +34408,22 @@ var valveCapability = {
34354
34408
  methods: {
34355
34409
  open: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34356
34410
  kind: "mutation",
34357
- auth: "admin"
34411
+ auth: "protected"
34358
34412
  }),
34359
34413
  close: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34360
34414
  kind: "mutation",
34361
- auth: "admin"
34415
+ auth: "protected"
34362
34416
  }),
34363
34417
  stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
34364
34418
  kind: "mutation",
34365
- auth: "admin"
34419
+ auth: "protected"
34366
34420
  }),
34367
34421
  setPosition: method(zod.z.object({
34368
34422
  deviceId: zod.z.number().int().nonnegative(),
34369
34423
  position: zod.z.number().min(0).max(100)
34370
34424
  }), zod.z.void(), {
34371
34425
  kind: "mutation",
34372
- auth: "admin"
34426
+ auth: "protected"
34373
34427
  })
34374
34428
  },
34375
34429
  status: {
@@ -34468,21 +34522,21 @@ var waterHeaterCapability = {
34468
34522
  temp: zod.z.number().finite()
34469
34523
  }), zod.z.void(), {
34470
34524
  kind: "mutation",
34471
- auth: "admin"
34525
+ auth: "protected"
34472
34526
  }),
34473
34527
  setOperationMode: method(zod.z.object({
34474
34528
  deviceId: zod.z.number().int().nonnegative(),
34475
34529
  mode: zod.z.string().min(1)
34476
34530
  }), zod.z.void(), {
34477
34531
  kind: "mutation",
34478
- auth: "admin"
34532
+ auth: "protected"
34479
34533
  }),
34480
34534
  setAway: method(zod.z.object({
34481
34535
  deviceId: zod.z.number().int().nonnegative(),
34482
34536
  on: zod.z.boolean()
34483
34537
  }), zod.z.void(), {
34484
34538
  kind: "mutation",
34485
- auth: "admin"
34539
+ auth: "protected"
34486
34540
  })
34487
34541
  },
34488
34542
  status: {
@@ -39178,6 +39232,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
39178
39232
  addonId: null,
39179
39233
  access: "view"
39180
39234
  },
39235
+ "pipelineAnalytics.listArchivedDebugNotes": {
39236
+ capName: "pipeline-analytics",
39237
+ capScope: "device",
39238
+ addonId: null,
39239
+ access: "view"
39240
+ },
39181
39241
  "pipelineAnalytics.listEventKinds": {
39182
39242
  capName: "pipeline-analytics",
39183
39243
  capScope: "device",
@@ -42965,6 +43025,11 @@ Object.freeze({
42965
43025
  form: "array",
42966
43026
  optional: true
42967
43027
  }],
43028
+ "pipelineAnalytics.listArchivedDebugNotes": [{
43029
+ name: "deviceId",
43030
+ form: "single",
43031
+ optional: true
43032
+ }],
42968
43033
  "pipelineAnalytics.listEventKinds": [{
42969
43034
  name: "deviceId",
42970
43035
  form: "single",