@camstack/addon-mqtt-broker 1.2.85 → 1.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.
@@ -7656,6 +7656,35 @@ var CameraSwitchGroupSchema = object({
7656
7656
  /** Unix ms when the group was composed server-side. */
7657
7657
  fetchedAt: number()
7658
7658
  });
7659
+ /** One archived note — the operator's words plus enough context to find what
7660
+ * they were looking at, after the track itself is gone. */
7661
+ var ArchivedDebugNoteSchema = object({
7662
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7663
+ * same sentence about the same track lands on the row already there. */
7664
+ id: string(),
7665
+ /** The operator's own words, verbatim. */
7666
+ note: string(),
7667
+ /** The camera. Required — every question here is asked per-camera. */
7668
+ deviceId: number().int(),
7669
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7670
+ * is expected to be gone, and this row is not a reference to it. */
7671
+ sourceTrackId: string(),
7672
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7673
+ archivedAt: number().int(),
7674
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7675
+ trackStartedAt: number().int().nullable(),
7676
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7677
+ trackClass: string().nullable(),
7678
+ /** The track's display label at review time; `null` when it had none. */
7679
+ trackLabel: string().nullable()
7680
+ });
7681
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7682
+ var ArchivedDebugNoteQueryInputSchema = object({
7683
+ /** Restrict to a single camera; omit for every row. */
7684
+ deviceId: number().int().optional(),
7685
+ /** Max rows returned, newest-first. */
7686
+ limit: number().int().min(1).max(1e3).optional()
7687
+ });
7659
7688
  /**
7660
7689
  * Ops-log — the durable, append-only operations audit shared by the
7661
7690
  * recordings and events management surfaces.
@@ -15908,16 +15937,16 @@ DeviceType.AlarmPanel, method(object({
15908
15937
  code: string().min(1).optional()
15909
15938
  }), _void(), {
15910
15939
  kind: "mutation",
15911
- auth: "admin"
15940
+ auth: "protected"
15912
15941
  }), method(object({
15913
15942
  deviceId: number().int().nonnegative(),
15914
15943
  code: string().min(1).optional()
15915
15944
  }), _void(), {
15916
15945
  kind: "mutation",
15917
- auth: "admin"
15946
+ auth: "protected"
15918
15947
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15919
15948
  kind: "mutation",
15920
- auth: "admin"
15949
+ auth: "protected"
15921
15950
  });
15922
15951
  /**
15923
15952
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -19819,7 +19848,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19819
19848
  deviceId: number(),
19820
19849
  trackId: string(),
19821
19850
  flags: TrackFlagsPatchSchema
19822
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19851
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19823
19852
  kind: "query",
19824
19853
  auth: "admin"
19825
19854
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23572,7 +23601,7 @@ DeviceType.Light, method(object({
23572
23601
  percentage: number().min(0).max(100)
23573
23602
  }), _void(), {
23574
23603
  kind: "mutation",
23575
- auth: "admin"
23604
+ auth: "protected"
23576
23605
  }), object({
23577
23606
  deviceId: number(),
23578
23607
  percentage: number().min(0).max(100),
@@ -23580,7 +23609,7 @@ DeviceType.Light, method(object({
23580
23609
  });
23581
23610
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23582
23611
  kind: "mutation",
23583
- auth: "admin"
23612
+ auth: "protected"
23584
23613
  });
23585
23614
  /**
23586
23615
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23739,50 +23768,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23739
23768
  mode: HvacModeSchema
23740
23769
  }), _void(), {
23741
23770
  kind: "mutation",
23742
- auth: "admin"
23771
+ auth: "protected"
23743
23772
  }), method(object({
23744
23773
  deviceId: number().int().nonnegative(),
23745
23774
  fanMode: string().min(1)
23746
23775
  }), _void(), {
23747
23776
  kind: "mutation",
23748
- auth: "admin"
23777
+ auth: "protected"
23749
23778
  }), method(object({
23750
23779
  deviceId: number().int().nonnegative(),
23751
23780
  preset: string().min(1)
23752
23781
  }), _void(), {
23753
23782
  kind: "mutation",
23754
- auth: "admin"
23783
+ auth: "protected"
23755
23784
  }), method(object({
23756
23785
  deviceId: number().int().nonnegative(),
23757
23786
  target: number()
23758
23787
  }), _void(), {
23759
23788
  kind: "mutation",
23760
- auth: "admin"
23789
+ auth: "protected"
23761
23790
  }), method(object({
23762
23791
  deviceId: number().int().nonnegative(),
23763
23792
  targetLow: number(),
23764
23793
  targetHigh: number()
23765
23794
  }), _void(), {
23766
23795
  kind: "mutation",
23767
- auth: "admin"
23796
+ auth: "protected"
23768
23797
  }), method(object({
23769
23798
  deviceId: number().int().nonnegative(),
23770
23799
  targetHumidity: number().min(0).max(100)
23771
23800
  }), _void(), {
23772
23801
  kind: "mutation",
23773
- auth: "admin"
23802
+ auth: "protected"
23774
23803
  }), method(object({
23775
23804
  deviceId: number().int().nonnegative(),
23776
23805
  on: boolean()
23777
23806
  }), _void(), {
23778
23807
  kind: "mutation",
23779
- auth: "admin"
23808
+ auth: "protected"
23780
23809
  }), method(object({
23781
23810
  deviceId: number().int().nonnegative(),
23782
23811
  on: boolean()
23783
23812
  }), _void(), {
23784
23813
  kind: "mutation",
23785
- auth: "admin"
23814
+ auth: "protected"
23786
23815
  });
23787
23816
  /**
23788
23817
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23857,7 +23886,7 @@ DeviceType.Light, method(object({
23857
23886
  color: ColorInputSchema
23858
23887
  }), _void(), {
23859
23888
  kind: "mutation",
23860
- auth: "admin"
23889
+ auth: "protected"
23861
23890
  }), object({
23862
23891
  deviceId: number(),
23863
23892
  mode: _enum([
@@ -24006,7 +24035,7 @@ DeviceType.Control, method(object({
24006
24035
  control: ControlSetValueInputSchema
24007
24036
  }), _void(), {
24008
24037
  kind: "mutation",
24009
- auth: "admin"
24038
+ auth: "protected"
24010
24039
  });
24011
24040
  object({
24012
24041
  /** Lifecycle state of the cover. */
@@ -24027,25 +24056,25 @@ object({
24027
24056
  });
24028
24057
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24029
24058
  kind: "mutation",
24030
- auth: "admin"
24059
+ auth: "protected"
24031
24060
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24032
24061
  kind: "mutation",
24033
- auth: "admin"
24062
+ auth: "protected"
24034
24063
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24035
24064
  kind: "mutation",
24036
- auth: "admin"
24065
+ auth: "protected"
24037
24066
  }), method(object({
24038
24067
  deviceId: number().int().nonnegative(),
24039
24068
  position: number().min(0).max(100)
24040
24069
  }), _void(), {
24041
24070
  kind: "mutation",
24042
- auth: "admin"
24071
+ auth: "protected"
24043
24072
  }), method(object({
24044
24073
  deviceId: number().int().nonnegative(),
24045
24074
  tiltPosition: number().min(0).max(100)
24046
24075
  }), _void(), {
24047
24076
  kind: "mutation",
24048
- auth: "admin"
24077
+ auth: "protected"
24049
24078
  });
24050
24079
  /**
24051
24080
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24640,25 +24669,25 @@ DeviceType.Fan, method(object({
24640
24669
  percentage: number().min(0).max(100)
24641
24670
  }), _void(), {
24642
24671
  kind: "mutation",
24643
- auth: "admin"
24672
+ auth: "protected"
24644
24673
  }), method(object({
24645
24674
  deviceId: number().int().nonnegative(),
24646
24675
  preset: string().min(1)
24647
24676
  }), _void(), {
24648
24677
  kind: "mutation",
24649
- auth: "admin"
24678
+ auth: "protected"
24650
24679
  }), method(object({
24651
24680
  deviceId: number().int().nonnegative(),
24652
24681
  direction: FanDirectionSchema
24653
24682
  }), _void(), {
24654
24683
  kind: "mutation",
24655
- auth: "admin"
24684
+ auth: "protected"
24656
24685
  }), method(object({
24657
24686
  deviceId: number().int().nonnegative(),
24658
24687
  oscillating: boolean()
24659
24688
  }), _void(), {
24660
24689
  kind: "mutation",
24661
- auth: "admin"
24690
+ auth: "protected"
24662
24691
  });
24663
24692
  /**
24664
24693
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24761,19 +24790,19 @@ DeviceType.Humidifier, method(object({
24761
24790
  on: boolean()
24762
24791
  }), _void(), {
24763
24792
  kind: "mutation",
24764
- auth: "admin"
24793
+ auth: "protected"
24765
24794
  }), method(object({
24766
24795
  deviceId: number().int().nonnegative(),
24767
24796
  humidity: number().min(0).max(100)
24768
24797
  }), _void(), {
24769
24798
  kind: "mutation",
24770
- auth: "admin"
24799
+ auth: "protected"
24771
24800
  }), method(object({
24772
24801
  deviceId: number().int().nonnegative(),
24773
24802
  mode: string().min(1)
24774
24803
  }), _void(), {
24775
24804
  kind: "mutation",
24776
- auth: "admin"
24805
+ auth: "protected"
24777
24806
  });
24778
24807
  object({
24779
24808
  /** Current relative humidity, 0..100. */
@@ -25235,13 +25264,13 @@ object({
25235
25264
  });
25236
25265
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25237
25266
  kind: "mutation",
25238
- auth: "admin"
25267
+ auth: "protected"
25239
25268
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25240
25269
  kind: "mutation",
25241
- auth: "admin"
25270
+ auth: "protected"
25242
25271
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25243
25272
  kind: "mutation",
25244
- auth: "admin"
25273
+ auth: "protected"
25245
25274
  });
25246
25275
  /**
25247
25276
  * local-network — hub-only singleton.
@@ -25501,16 +25530,16 @@ DeviceType.Lock, method(object({
25501
25530
  code: string().min(1).optional()
25502
25531
  }), _void(), {
25503
25532
  kind: "mutation",
25504
- auth: "admin"
25533
+ auth: "protected"
25505
25534
  }), method(object({
25506
25535
  deviceId: number().int().nonnegative(),
25507
25536
  code: string().min(1).optional()
25508
25537
  }), _void(), {
25509
25538
  kind: "mutation",
25510
- auth: "admin"
25539
+ auth: "protected"
25511
25540
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25512
25541
  kind: "mutation",
25513
- auth: "admin"
25542
+ auth: "protected"
25514
25543
  });
25515
25544
  /**
25516
25545
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25584,55 +25613,55 @@ object({
25584
25613
  });
25585
25614
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25586
25615
  kind: "mutation",
25587
- auth: "admin"
25616
+ auth: "protected"
25588
25617
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25589
25618
  kind: "mutation",
25590
- auth: "admin"
25619
+ auth: "protected"
25591
25620
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25592
25621
  kind: "mutation",
25593
- auth: "admin"
25622
+ auth: "protected"
25594
25623
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25595
25624
  kind: "mutation",
25596
- auth: "admin"
25625
+ auth: "protected"
25597
25626
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25598
25627
  kind: "mutation",
25599
- auth: "admin"
25628
+ auth: "protected"
25600
25629
  }), method(object({
25601
25630
  deviceId: number().int().nonnegative(),
25602
25631
  positionMs: number().int().nonnegative()
25603
25632
  }), _void(), {
25604
25633
  kind: "mutation",
25605
- auth: "admin"
25634
+ auth: "protected"
25606
25635
  }), method(object({
25607
25636
  deviceId: number().int().nonnegative(),
25608
25637
  volumeLevel: number().min(0).max(100)
25609
25638
  }), _void(), {
25610
25639
  kind: "mutation",
25611
- auth: "admin"
25640
+ auth: "protected"
25612
25641
  }), method(object({
25613
25642
  deviceId: number().int().nonnegative(),
25614
25643
  muted: boolean()
25615
25644
  }), _void(), {
25616
25645
  kind: "mutation",
25617
- auth: "admin"
25646
+ auth: "protected"
25618
25647
  }), method(object({
25619
25648
  deviceId: number().int().nonnegative(),
25620
25649
  shuffle: boolean()
25621
25650
  }), _void(), {
25622
25651
  kind: "mutation",
25623
- auth: "admin"
25652
+ auth: "protected"
25624
25653
  }), method(object({
25625
25654
  deviceId: number().int().nonnegative(),
25626
25655
  repeat: MediaPlayerRepeatSchema
25627
25656
  }), _void(), {
25628
25657
  kind: "mutation",
25629
- auth: "admin"
25658
+ auth: "protected"
25630
25659
  }), method(object({
25631
25660
  deviceId: number().int().nonnegative(),
25632
25661
  source: string().min(1)
25633
25662
  }), _void(), {
25634
25663
  kind: "mutation",
25635
- auth: "admin"
25664
+ auth: "protected"
25636
25665
  }), method(object({
25637
25666
  deviceId: number().int().nonnegative(),
25638
25667
  /** Media identifier / URL. */
@@ -25642,7 +25671,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25642
25671
  mediaType: string().min(1)
25643
25672
  }), _void(), {
25644
25673
  kind: "mutation",
25645
- auth: "admin"
25674
+ auth: "protected"
25646
25675
  });
25647
25676
  /**
25648
25677
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26808,49 +26837,49 @@ DeviceType.PetFeeder, method(object({
26808
26837
  hopper2: gramsPortion.optional()
26809
26838
  }), _void(), {
26810
26839
  kind: "mutation",
26811
- auth: "admin"
26840
+ auth: "protected"
26812
26841
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26813
26842
  kind: "mutation",
26814
- auth: "admin"
26843
+ auth: "protected"
26815
26844
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26816
26845
  kind: "mutation",
26817
- auth: "admin"
26846
+ auth: "protected"
26818
26847
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26819
26848
  kind: "mutation",
26820
- auth: "admin"
26849
+ auth: "protected"
26821
26850
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26822
26851
  kind: "mutation",
26823
- auth: "admin"
26852
+ auth: "protected"
26824
26853
  }), method(object({
26825
26854
  deviceId: number().int().nonnegative(),
26826
26855
  soundId: number().int().nonnegative()
26827
26856
  }), _void(), {
26828
26857
  kind: "mutation",
26829
- auth: "admin"
26858
+ auth: "protected"
26830
26859
  }), method(object({
26831
26860
  deviceId: number().int().nonnegative(),
26832
26861
  on: boolean()
26833
26862
  }), _void(), {
26834
26863
  kind: "mutation",
26835
- auth: "admin"
26864
+ auth: "protected"
26836
26865
  }), method(object({
26837
26866
  deviceId: number().int().nonnegative(),
26838
26867
  on: boolean()
26839
26868
  }), _void(), {
26840
26869
  kind: "mutation",
26841
- auth: "admin"
26870
+ auth: "protected"
26842
26871
  }), method(object({
26843
26872
  deviceId: number().int().nonnegative(),
26844
26873
  on: boolean()
26845
26874
  }), _void(), {
26846
26875
  kind: "mutation",
26847
- auth: "admin"
26876
+ auth: "protected"
26848
26877
  }), method(object({
26849
26878
  deviceId: number().int().nonnegative(),
26850
26879
  level: number().int().nonnegative()
26851
26880
  }), _void(), {
26852
26881
  kind: "mutation",
26853
- auth: "admin"
26882
+ auth: "protected"
26854
26883
  });
26855
26884
  var VehicleSchema = object({
26856
26885
  id: string(),
@@ -28637,7 +28666,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28637
28666
  on: boolean()
28638
28667
  }), _void(), {
28639
28668
  kind: "mutation",
28640
- auth: "admin"
28669
+ auth: "protected"
28641
28670
  }), object({
28642
28671
  deviceId: number(),
28643
28672
  on: boolean(),
@@ -29494,25 +29523,25 @@ object({
29494
29523
  });
29495
29524
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29496
29525
  kind: "mutation",
29497
- auth: "admin"
29526
+ auth: "protected"
29498
29527
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29499
29528
  kind: "mutation",
29500
- auth: "admin"
29529
+ auth: "protected"
29501
29530
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29502
29531
  kind: "mutation",
29503
- auth: "admin"
29532
+ auth: "protected"
29504
29533
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29505
29534
  kind: "mutation",
29506
- auth: "admin"
29535
+ auth: "protected"
29507
29536
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29508
29537
  kind: "mutation",
29509
- auth: "admin"
29538
+ auth: "protected"
29510
29539
  }), method(object({
29511
29540
  deviceId: number().int().nonnegative(),
29512
29541
  speed: string().min(1)
29513
29542
  }), _void(), {
29514
29543
  kind: "mutation",
29515
- auth: "admin"
29544
+ auth: "protected"
29516
29545
  });
29517
29546
  object({
29518
29547
  /** Lifecycle state of the valve. */
@@ -29531,19 +29560,19 @@ object({
29531
29560
  });
29532
29561
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29533
29562
  kind: "mutation",
29534
- auth: "admin"
29563
+ auth: "protected"
29535
29564
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29536
29565
  kind: "mutation",
29537
- auth: "admin"
29566
+ auth: "protected"
29538
29567
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29539
29568
  kind: "mutation",
29540
- auth: "admin"
29569
+ auth: "protected"
29541
29570
  }), method(object({
29542
29571
  deviceId: number().int().nonnegative(),
29543
29572
  position: number().min(0).max(100)
29544
29573
  }), _void(), {
29545
29574
  kind: "mutation",
29546
- auth: "admin"
29575
+ auth: "protected"
29547
29576
  });
29548
29577
  object({
29549
29578
  detected: boolean(),
@@ -29577,19 +29606,19 @@ DeviceType.WaterHeater, method(object({
29577
29606
  temp: number().finite()
29578
29607
  }), _void(), {
29579
29608
  kind: "mutation",
29580
- auth: "admin"
29609
+ auth: "protected"
29581
29610
  }), method(object({
29582
29611
  deviceId: number().int().nonnegative(),
29583
29612
  mode: string().min(1)
29584
29613
  }), _void(), {
29585
29614
  kind: "mutation",
29586
- auth: "admin"
29615
+ auth: "protected"
29587
29616
  }), method(object({
29588
29617
  deviceId: number().int().nonnegative(),
29589
29618
  on: boolean()
29590
29619
  }), _void(), {
29591
29620
  kind: "mutation",
29592
- auth: "admin"
29621
+ auth: "protected"
29593
29622
  });
29594
29623
  object({
29595
29624
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33217,6 +33246,12 @@ Object.freeze({
33217
33246
  addonId: null,
33218
33247
  access: "view"
33219
33248
  },
33249
+ "pipelineAnalytics.listArchivedDebugNotes": {
33250
+ capName: "pipeline-analytics",
33251
+ capScope: "device",
33252
+ addonId: null,
33253
+ access: "view"
33254
+ },
33220
33255
  "pipelineAnalytics.listEventKinds": {
33221
33256
  capName: "pipeline-analytics",
33222
33257
  capScope: "device",
@@ -37004,6 +37039,11 @@ Object.freeze({
37004
37039
  form: "array",
37005
37040
  optional: true
37006
37041
  }],
37042
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37043
+ name: "deviceId",
37044
+ form: "single",
37045
+ optional: true
37046
+ }],
37007
37047
  "pipelineAnalytics.listEventKinds": [{
37008
37048
  name: "deviceId",
37009
37049
  form: "single",
@@ -7651,6 +7651,35 @@ var CameraSwitchGroupSchema = object({
7651
7651
  /** Unix ms when the group was composed server-side. */
7652
7652
  fetchedAt: number()
7653
7653
  });
7654
+ /** One archived note — the operator's words plus enough context to find what
7655
+ * they were looking at, after the track itself is gone. */
7656
+ var ArchivedDebugNoteSchema = object({
7657
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7658
+ * same sentence about the same track lands on the row already there. */
7659
+ id: string(),
7660
+ /** The operator's own words, verbatim. */
7661
+ note: string(),
7662
+ /** The camera. Required — every question here is asked per-camera. */
7663
+ deviceId: number().int(),
7664
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7665
+ * is expected to be gone, and this row is not a reference to it. */
7666
+ sourceTrackId: string(),
7667
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7668
+ archivedAt: number().int(),
7669
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7670
+ trackStartedAt: number().int().nullable(),
7671
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7672
+ trackClass: string().nullable(),
7673
+ /** The track's display label at review time; `null` when it had none. */
7674
+ trackLabel: string().nullable()
7675
+ });
7676
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7677
+ var ArchivedDebugNoteQueryInputSchema = object({
7678
+ /** Restrict to a single camera; omit for every row. */
7679
+ deviceId: number().int().optional(),
7680
+ /** Max rows returned, newest-first. */
7681
+ limit: number().int().min(1).max(1e3).optional()
7682
+ });
7654
7683
  /**
7655
7684
  * Ops-log — the durable, append-only operations audit shared by the
7656
7685
  * recordings and events management surfaces.
@@ -15903,16 +15932,16 @@ DeviceType.AlarmPanel, method(object({
15903
15932
  code: string().min(1).optional()
15904
15933
  }), _void(), {
15905
15934
  kind: "mutation",
15906
- auth: "admin"
15935
+ auth: "protected"
15907
15936
  }), method(object({
15908
15937
  deviceId: number().int().nonnegative(),
15909
15938
  code: string().min(1).optional()
15910
15939
  }), _void(), {
15911
15940
  kind: "mutation",
15912
- auth: "admin"
15941
+ auth: "protected"
15913
15942
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15914
15943
  kind: "mutation",
15915
- auth: "admin"
15944
+ auth: "protected"
15916
15945
  });
15917
15946
  /**
15918
15947
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -19814,7 +19843,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19814
19843
  deviceId: number(),
19815
19844
  trackId: string(),
19816
19845
  flags: TrackFlagsPatchSchema
19817
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19846
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19818
19847
  kind: "query",
19819
19848
  auth: "admin"
19820
19849
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23567,7 +23596,7 @@ DeviceType.Light, method(object({
23567
23596
  percentage: number().min(0).max(100)
23568
23597
  }), _void(), {
23569
23598
  kind: "mutation",
23570
- auth: "admin"
23599
+ auth: "protected"
23571
23600
  }), object({
23572
23601
  deviceId: number(),
23573
23602
  percentage: number().min(0).max(100),
@@ -23575,7 +23604,7 @@ DeviceType.Light, method(object({
23575
23604
  });
23576
23605
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23577
23606
  kind: "mutation",
23578
- auth: "admin"
23607
+ auth: "protected"
23579
23608
  });
23580
23609
  /**
23581
23610
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23734,50 +23763,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23734
23763
  mode: HvacModeSchema
23735
23764
  }), _void(), {
23736
23765
  kind: "mutation",
23737
- auth: "admin"
23766
+ auth: "protected"
23738
23767
  }), method(object({
23739
23768
  deviceId: number().int().nonnegative(),
23740
23769
  fanMode: string().min(1)
23741
23770
  }), _void(), {
23742
23771
  kind: "mutation",
23743
- auth: "admin"
23772
+ auth: "protected"
23744
23773
  }), method(object({
23745
23774
  deviceId: number().int().nonnegative(),
23746
23775
  preset: string().min(1)
23747
23776
  }), _void(), {
23748
23777
  kind: "mutation",
23749
- auth: "admin"
23778
+ auth: "protected"
23750
23779
  }), method(object({
23751
23780
  deviceId: number().int().nonnegative(),
23752
23781
  target: number()
23753
23782
  }), _void(), {
23754
23783
  kind: "mutation",
23755
- auth: "admin"
23784
+ auth: "protected"
23756
23785
  }), method(object({
23757
23786
  deviceId: number().int().nonnegative(),
23758
23787
  targetLow: number(),
23759
23788
  targetHigh: number()
23760
23789
  }), _void(), {
23761
23790
  kind: "mutation",
23762
- auth: "admin"
23791
+ auth: "protected"
23763
23792
  }), method(object({
23764
23793
  deviceId: number().int().nonnegative(),
23765
23794
  targetHumidity: number().min(0).max(100)
23766
23795
  }), _void(), {
23767
23796
  kind: "mutation",
23768
- auth: "admin"
23797
+ auth: "protected"
23769
23798
  }), method(object({
23770
23799
  deviceId: number().int().nonnegative(),
23771
23800
  on: boolean()
23772
23801
  }), _void(), {
23773
23802
  kind: "mutation",
23774
- auth: "admin"
23803
+ auth: "protected"
23775
23804
  }), method(object({
23776
23805
  deviceId: number().int().nonnegative(),
23777
23806
  on: boolean()
23778
23807
  }), _void(), {
23779
23808
  kind: "mutation",
23780
- auth: "admin"
23809
+ auth: "protected"
23781
23810
  });
23782
23811
  /**
23783
23812
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23852,7 +23881,7 @@ DeviceType.Light, method(object({
23852
23881
  color: ColorInputSchema
23853
23882
  }), _void(), {
23854
23883
  kind: "mutation",
23855
- auth: "admin"
23884
+ auth: "protected"
23856
23885
  }), object({
23857
23886
  deviceId: number(),
23858
23887
  mode: _enum([
@@ -24001,7 +24030,7 @@ DeviceType.Control, method(object({
24001
24030
  control: ControlSetValueInputSchema
24002
24031
  }), _void(), {
24003
24032
  kind: "mutation",
24004
- auth: "admin"
24033
+ auth: "protected"
24005
24034
  });
24006
24035
  object({
24007
24036
  /** Lifecycle state of the cover. */
@@ -24022,25 +24051,25 @@ object({
24022
24051
  });
24023
24052
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24024
24053
  kind: "mutation",
24025
- auth: "admin"
24054
+ auth: "protected"
24026
24055
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24027
24056
  kind: "mutation",
24028
- auth: "admin"
24057
+ auth: "protected"
24029
24058
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24030
24059
  kind: "mutation",
24031
- auth: "admin"
24060
+ auth: "protected"
24032
24061
  }), method(object({
24033
24062
  deviceId: number().int().nonnegative(),
24034
24063
  position: number().min(0).max(100)
24035
24064
  }), _void(), {
24036
24065
  kind: "mutation",
24037
- auth: "admin"
24066
+ auth: "protected"
24038
24067
  }), method(object({
24039
24068
  deviceId: number().int().nonnegative(),
24040
24069
  tiltPosition: number().min(0).max(100)
24041
24070
  }), _void(), {
24042
24071
  kind: "mutation",
24043
- auth: "admin"
24072
+ auth: "protected"
24044
24073
  });
24045
24074
  /**
24046
24075
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24635,25 +24664,25 @@ DeviceType.Fan, method(object({
24635
24664
  percentage: number().min(0).max(100)
24636
24665
  }), _void(), {
24637
24666
  kind: "mutation",
24638
- auth: "admin"
24667
+ auth: "protected"
24639
24668
  }), method(object({
24640
24669
  deviceId: number().int().nonnegative(),
24641
24670
  preset: string().min(1)
24642
24671
  }), _void(), {
24643
24672
  kind: "mutation",
24644
- auth: "admin"
24673
+ auth: "protected"
24645
24674
  }), method(object({
24646
24675
  deviceId: number().int().nonnegative(),
24647
24676
  direction: FanDirectionSchema
24648
24677
  }), _void(), {
24649
24678
  kind: "mutation",
24650
- auth: "admin"
24679
+ auth: "protected"
24651
24680
  }), method(object({
24652
24681
  deviceId: number().int().nonnegative(),
24653
24682
  oscillating: boolean()
24654
24683
  }), _void(), {
24655
24684
  kind: "mutation",
24656
- auth: "admin"
24685
+ auth: "protected"
24657
24686
  });
24658
24687
  /**
24659
24688
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24756,19 +24785,19 @@ DeviceType.Humidifier, method(object({
24756
24785
  on: boolean()
24757
24786
  }), _void(), {
24758
24787
  kind: "mutation",
24759
- auth: "admin"
24788
+ auth: "protected"
24760
24789
  }), method(object({
24761
24790
  deviceId: number().int().nonnegative(),
24762
24791
  humidity: number().min(0).max(100)
24763
24792
  }), _void(), {
24764
24793
  kind: "mutation",
24765
- auth: "admin"
24794
+ auth: "protected"
24766
24795
  }), method(object({
24767
24796
  deviceId: number().int().nonnegative(),
24768
24797
  mode: string().min(1)
24769
24798
  }), _void(), {
24770
24799
  kind: "mutation",
24771
- auth: "admin"
24800
+ auth: "protected"
24772
24801
  });
24773
24802
  object({
24774
24803
  /** Current relative humidity, 0..100. */
@@ -25230,13 +25259,13 @@ object({
25230
25259
  });
25231
25260
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25232
25261
  kind: "mutation",
25233
- auth: "admin"
25262
+ auth: "protected"
25234
25263
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25235
25264
  kind: "mutation",
25236
- auth: "admin"
25265
+ auth: "protected"
25237
25266
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25238
25267
  kind: "mutation",
25239
- auth: "admin"
25268
+ auth: "protected"
25240
25269
  });
25241
25270
  /**
25242
25271
  * local-network — hub-only singleton.
@@ -25496,16 +25525,16 @@ DeviceType.Lock, method(object({
25496
25525
  code: string().min(1).optional()
25497
25526
  }), _void(), {
25498
25527
  kind: "mutation",
25499
- auth: "admin"
25528
+ auth: "protected"
25500
25529
  }), method(object({
25501
25530
  deviceId: number().int().nonnegative(),
25502
25531
  code: string().min(1).optional()
25503
25532
  }), _void(), {
25504
25533
  kind: "mutation",
25505
- auth: "admin"
25534
+ auth: "protected"
25506
25535
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25507
25536
  kind: "mutation",
25508
- auth: "admin"
25537
+ auth: "protected"
25509
25538
  });
25510
25539
  /**
25511
25540
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25579,55 +25608,55 @@ object({
25579
25608
  });
25580
25609
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25581
25610
  kind: "mutation",
25582
- auth: "admin"
25611
+ auth: "protected"
25583
25612
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25584
25613
  kind: "mutation",
25585
- auth: "admin"
25614
+ auth: "protected"
25586
25615
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25587
25616
  kind: "mutation",
25588
- auth: "admin"
25617
+ auth: "protected"
25589
25618
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25590
25619
  kind: "mutation",
25591
- auth: "admin"
25620
+ auth: "protected"
25592
25621
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25593
25622
  kind: "mutation",
25594
- auth: "admin"
25623
+ auth: "protected"
25595
25624
  }), method(object({
25596
25625
  deviceId: number().int().nonnegative(),
25597
25626
  positionMs: number().int().nonnegative()
25598
25627
  }), _void(), {
25599
25628
  kind: "mutation",
25600
- auth: "admin"
25629
+ auth: "protected"
25601
25630
  }), method(object({
25602
25631
  deviceId: number().int().nonnegative(),
25603
25632
  volumeLevel: number().min(0).max(100)
25604
25633
  }), _void(), {
25605
25634
  kind: "mutation",
25606
- auth: "admin"
25635
+ auth: "protected"
25607
25636
  }), method(object({
25608
25637
  deviceId: number().int().nonnegative(),
25609
25638
  muted: boolean()
25610
25639
  }), _void(), {
25611
25640
  kind: "mutation",
25612
- auth: "admin"
25641
+ auth: "protected"
25613
25642
  }), method(object({
25614
25643
  deviceId: number().int().nonnegative(),
25615
25644
  shuffle: boolean()
25616
25645
  }), _void(), {
25617
25646
  kind: "mutation",
25618
- auth: "admin"
25647
+ auth: "protected"
25619
25648
  }), method(object({
25620
25649
  deviceId: number().int().nonnegative(),
25621
25650
  repeat: MediaPlayerRepeatSchema
25622
25651
  }), _void(), {
25623
25652
  kind: "mutation",
25624
- auth: "admin"
25653
+ auth: "protected"
25625
25654
  }), method(object({
25626
25655
  deviceId: number().int().nonnegative(),
25627
25656
  source: string().min(1)
25628
25657
  }), _void(), {
25629
25658
  kind: "mutation",
25630
- auth: "admin"
25659
+ auth: "protected"
25631
25660
  }), method(object({
25632
25661
  deviceId: number().int().nonnegative(),
25633
25662
  /** Media identifier / URL. */
@@ -25637,7 +25666,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25637
25666
  mediaType: string().min(1)
25638
25667
  }), _void(), {
25639
25668
  kind: "mutation",
25640
- auth: "admin"
25669
+ auth: "protected"
25641
25670
  });
25642
25671
  /**
25643
25672
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26803,49 +26832,49 @@ DeviceType.PetFeeder, method(object({
26803
26832
  hopper2: gramsPortion.optional()
26804
26833
  }), _void(), {
26805
26834
  kind: "mutation",
26806
- auth: "admin"
26835
+ auth: "protected"
26807
26836
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26808
26837
  kind: "mutation",
26809
- auth: "admin"
26838
+ auth: "protected"
26810
26839
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26811
26840
  kind: "mutation",
26812
- auth: "admin"
26841
+ auth: "protected"
26813
26842
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26814
26843
  kind: "mutation",
26815
- auth: "admin"
26844
+ auth: "protected"
26816
26845
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26817
26846
  kind: "mutation",
26818
- auth: "admin"
26847
+ auth: "protected"
26819
26848
  }), method(object({
26820
26849
  deviceId: number().int().nonnegative(),
26821
26850
  soundId: number().int().nonnegative()
26822
26851
  }), _void(), {
26823
26852
  kind: "mutation",
26824
- auth: "admin"
26853
+ auth: "protected"
26825
26854
  }), method(object({
26826
26855
  deviceId: number().int().nonnegative(),
26827
26856
  on: boolean()
26828
26857
  }), _void(), {
26829
26858
  kind: "mutation",
26830
- auth: "admin"
26859
+ auth: "protected"
26831
26860
  }), method(object({
26832
26861
  deviceId: number().int().nonnegative(),
26833
26862
  on: boolean()
26834
26863
  }), _void(), {
26835
26864
  kind: "mutation",
26836
- auth: "admin"
26865
+ auth: "protected"
26837
26866
  }), method(object({
26838
26867
  deviceId: number().int().nonnegative(),
26839
26868
  on: boolean()
26840
26869
  }), _void(), {
26841
26870
  kind: "mutation",
26842
- auth: "admin"
26871
+ auth: "protected"
26843
26872
  }), method(object({
26844
26873
  deviceId: number().int().nonnegative(),
26845
26874
  level: number().int().nonnegative()
26846
26875
  }), _void(), {
26847
26876
  kind: "mutation",
26848
- auth: "admin"
26877
+ auth: "protected"
26849
26878
  });
26850
26879
  var VehicleSchema = object({
26851
26880
  id: string(),
@@ -28632,7 +28661,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28632
28661
  on: boolean()
28633
28662
  }), _void(), {
28634
28663
  kind: "mutation",
28635
- auth: "admin"
28664
+ auth: "protected"
28636
28665
  }), object({
28637
28666
  deviceId: number(),
28638
28667
  on: boolean(),
@@ -29489,25 +29518,25 @@ object({
29489
29518
  });
29490
29519
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29491
29520
  kind: "mutation",
29492
- auth: "admin"
29521
+ auth: "protected"
29493
29522
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29494
29523
  kind: "mutation",
29495
- auth: "admin"
29524
+ auth: "protected"
29496
29525
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29497
29526
  kind: "mutation",
29498
- auth: "admin"
29527
+ auth: "protected"
29499
29528
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29500
29529
  kind: "mutation",
29501
- auth: "admin"
29530
+ auth: "protected"
29502
29531
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29503
29532
  kind: "mutation",
29504
- auth: "admin"
29533
+ auth: "protected"
29505
29534
  }), method(object({
29506
29535
  deviceId: number().int().nonnegative(),
29507
29536
  speed: string().min(1)
29508
29537
  }), _void(), {
29509
29538
  kind: "mutation",
29510
- auth: "admin"
29539
+ auth: "protected"
29511
29540
  });
29512
29541
  object({
29513
29542
  /** Lifecycle state of the valve. */
@@ -29526,19 +29555,19 @@ object({
29526
29555
  });
29527
29556
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29528
29557
  kind: "mutation",
29529
- auth: "admin"
29558
+ auth: "protected"
29530
29559
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29531
29560
  kind: "mutation",
29532
- auth: "admin"
29561
+ auth: "protected"
29533
29562
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29534
29563
  kind: "mutation",
29535
- auth: "admin"
29564
+ auth: "protected"
29536
29565
  }), method(object({
29537
29566
  deviceId: number().int().nonnegative(),
29538
29567
  position: number().min(0).max(100)
29539
29568
  }), _void(), {
29540
29569
  kind: "mutation",
29541
- auth: "admin"
29570
+ auth: "protected"
29542
29571
  });
29543
29572
  object({
29544
29573
  detected: boolean(),
@@ -29572,19 +29601,19 @@ DeviceType.WaterHeater, method(object({
29572
29601
  temp: number().finite()
29573
29602
  }), _void(), {
29574
29603
  kind: "mutation",
29575
- auth: "admin"
29604
+ auth: "protected"
29576
29605
  }), method(object({
29577
29606
  deviceId: number().int().nonnegative(),
29578
29607
  mode: string().min(1)
29579
29608
  }), _void(), {
29580
29609
  kind: "mutation",
29581
- auth: "admin"
29610
+ auth: "protected"
29582
29611
  }), method(object({
29583
29612
  deviceId: number().int().nonnegative(),
29584
29613
  on: boolean()
29585
29614
  }), _void(), {
29586
29615
  kind: "mutation",
29587
- auth: "admin"
29616
+ auth: "protected"
29588
29617
  });
29589
29618
  object({
29590
29619
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33212,6 +33241,12 @@ Object.freeze({
33212
33241
  addonId: null,
33213
33242
  access: "view"
33214
33243
  },
33244
+ "pipelineAnalytics.listArchivedDebugNotes": {
33245
+ capName: "pipeline-analytics",
33246
+ capScope: "device",
33247
+ addonId: null,
33248
+ access: "view"
33249
+ },
33215
33250
  "pipelineAnalytics.listEventKinds": {
33216
33251
  capName: "pipeline-analytics",
33217
33252
  capScope: "device",
@@ -36999,6 +37034,11 @@ Object.freeze({
36999
37034
  form: "array",
37000
37035
  optional: true
37001
37036
  }],
37037
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37038
+ name: "deviceId",
37039
+ form: "single",
37040
+ optional: true
37041
+ }],
37002
37042
  "pipelineAnalytics.listEventKinds": [{
37003
37043
  name: "deviceId",
37004
37044
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.2.85",
3
+ "version": "1.2.87",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",