@camstack/addon-decoder-nodeav 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.
Files changed (3) hide show
  1. package/dist/index.js +110 -70
  2. package/dist/index.mjs +110 -70
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7627,6 +7627,35 @@ var CameraSwitchGroupSchema = object({
7627
7627
  /** Unix ms when the group was composed server-side. */
7628
7628
  fetchedAt: number()
7629
7629
  });
7630
+ /** One archived note — the operator's words plus enough context to find what
7631
+ * they were looking at, after the track itself is gone. */
7632
+ var ArchivedDebugNoteSchema = object({
7633
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7634
+ * same sentence about the same track lands on the row already there. */
7635
+ id: string(),
7636
+ /** The operator's own words, verbatim. */
7637
+ note: string(),
7638
+ /** The camera. Required — every question here is asked per-camera. */
7639
+ deviceId: number().int(),
7640
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7641
+ * is expected to be gone, and this row is not a reference to it. */
7642
+ sourceTrackId: string(),
7643
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7644
+ archivedAt: number().int(),
7645
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7646
+ trackStartedAt: number().int().nullable(),
7647
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7648
+ trackClass: string().nullable(),
7649
+ /** The track's display label at review time; `null` when it had none. */
7650
+ trackLabel: string().nullable()
7651
+ });
7652
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7653
+ var ArchivedDebugNoteQueryInputSchema = object({
7654
+ /** Restrict to a single camera; omit for every row. */
7655
+ deviceId: number().int().optional(),
7656
+ /** Max rows returned, newest-first. */
7657
+ limit: number().int().min(1).max(1e3).optional()
7658
+ });
7630
7659
  /**
7631
7660
  * Ops-log — the durable, append-only operations audit shared by the
7632
7661
  * recordings and events management surfaces.
@@ -15941,16 +15970,16 @@ DeviceType.AlarmPanel, method(object({
15941
15970
  code: string().min(1).optional()
15942
15971
  }), _void(), {
15943
15972
  kind: "mutation",
15944
- auth: "admin"
15973
+ auth: "protected"
15945
15974
  }), method(object({
15946
15975
  deviceId: number().int().nonnegative(),
15947
15976
  code: string().min(1).optional()
15948
15977
  }), _void(), {
15949
15978
  kind: "mutation",
15950
- auth: "admin"
15979
+ auth: "protected"
15951
15980
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15952
15981
  kind: "mutation",
15953
- auth: "admin"
15982
+ auth: "protected"
15954
15983
  });
15955
15984
  /**
15956
15985
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -19852,7 +19881,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19852
19881
  deviceId: number(),
19853
19882
  trackId: string(),
19854
19883
  flags: TrackFlagsPatchSchema
19855
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19884
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19856
19885
  kind: "query",
19857
19886
  auth: "admin"
19858
19887
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23605,7 +23634,7 @@ DeviceType.Light, method(object({
23605
23634
  percentage: number().min(0).max(100)
23606
23635
  }), _void(), {
23607
23636
  kind: "mutation",
23608
- auth: "admin"
23637
+ auth: "protected"
23609
23638
  }), object({
23610
23639
  deviceId: number(),
23611
23640
  percentage: number().min(0).max(100),
@@ -23613,7 +23642,7 @@ DeviceType.Light, method(object({
23613
23642
  });
23614
23643
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23615
23644
  kind: "mutation",
23616
- auth: "admin"
23645
+ auth: "protected"
23617
23646
  });
23618
23647
  /**
23619
23648
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23772,50 +23801,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23772
23801
  mode: HvacModeSchema
23773
23802
  }), _void(), {
23774
23803
  kind: "mutation",
23775
- auth: "admin"
23804
+ auth: "protected"
23776
23805
  }), method(object({
23777
23806
  deviceId: number().int().nonnegative(),
23778
23807
  fanMode: string().min(1)
23779
23808
  }), _void(), {
23780
23809
  kind: "mutation",
23781
- auth: "admin"
23810
+ auth: "protected"
23782
23811
  }), method(object({
23783
23812
  deviceId: number().int().nonnegative(),
23784
23813
  preset: string().min(1)
23785
23814
  }), _void(), {
23786
23815
  kind: "mutation",
23787
- auth: "admin"
23816
+ auth: "protected"
23788
23817
  }), method(object({
23789
23818
  deviceId: number().int().nonnegative(),
23790
23819
  target: number()
23791
23820
  }), _void(), {
23792
23821
  kind: "mutation",
23793
- auth: "admin"
23822
+ auth: "protected"
23794
23823
  }), method(object({
23795
23824
  deviceId: number().int().nonnegative(),
23796
23825
  targetLow: number(),
23797
23826
  targetHigh: number()
23798
23827
  }), _void(), {
23799
23828
  kind: "mutation",
23800
- auth: "admin"
23829
+ auth: "protected"
23801
23830
  }), method(object({
23802
23831
  deviceId: number().int().nonnegative(),
23803
23832
  targetHumidity: number().min(0).max(100)
23804
23833
  }), _void(), {
23805
23834
  kind: "mutation",
23806
- auth: "admin"
23835
+ auth: "protected"
23807
23836
  }), method(object({
23808
23837
  deviceId: number().int().nonnegative(),
23809
23838
  on: boolean()
23810
23839
  }), _void(), {
23811
23840
  kind: "mutation",
23812
- auth: "admin"
23841
+ auth: "protected"
23813
23842
  }), method(object({
23814
23843
  deviceId: number().int().nonnegative(),
23815
23844
  on: boolean()
23816
23845
  }), _void(), {
23817
23846
  kind: "mutation",
23818
- auth: "admin"
23847
+ auth: "protected"
23819
23848
  });
23820
23849
  /**
23821
23850
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23890,7 +23919,7 @@ DeviceType.Light, method(object({
23890
23919
  color: ColorInputSchema
23891
23920
  }), _void(), {
23892
23921
  kind: "mutation",
23893
- auth: "admin"
23922
+ auth: "protected"
23894
23923
  }), object({
23895
23924
  deviceId: number(),
23896
23925
  mode: _enum([
@@ -24039,7 +24068,7 @@ DeviceType.Control, method(object({
24039
24068
  control: ControlSetValueInputSchema
24040
24069
  }), _void(), {
24041
24070
  kind: "mutation",
24042
- auth: "admin"
24071
+ auth: "protected"
24043
24072
  });
24044
24073
  object({
24045
24074
  /** Lifecycle state of the cover. */
@@ -24060,25 +24089,25 @@ object({
24060
24089
  });
24061
24090
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24062
24091
  kind: "mutation",
24063
- auth: "admin"
24092
+ auth: "protected"
24064
24093
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24065
24094
  kind: "mutation",
24066
- auth: "admin"
24095
+ auth: "protected"
24067
24096
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24068
24097
  kind: "mutation",
24069
- auth: "admin"
24098
+ auth: "protected"
24070
24099
  }), method(object({
24071
24100
  deviceId: number().int().nonnegative(),
24072
24101
  position: number().min(0).max(100)
24073
24102
  }), _void(), {
24074
24103
  kind: "mutation",
24075
- auth: "admin"
24104
+ auth: "protected"
24076
24105
  }), method(object({
24077
24106
  deviceId: number().int().nonnegative(),
24078
24107
  tiltPosition: number().min(0).max(100)
24079
24108
  }), _void(), {
24080
24109
  kind: "mutation",
24081
- auth: "admin"
24110
+ auth: "protected"
24082
24111
  });
24083
24112
  /**
24084
24113
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24673,25 +24702,25 @@ DeviceType.Fan, method(object({
24673
24702
  percentage: number().min(0).max(100)
24674
24703
  }), _void(), {
24675
24704
  kind: "mutation",
24676
- auth: "admin"
24705
+ auth: "protected"
24677
24706
  }), method(object({
24678
24707
  deviceId: number().int().nonnegative(),
24679
24708
  preset: string().min(1)
24680
24709
  }), _void(), {
24681
24710
  kind: "mutation",
24682
- auth: "admin"
24711
+ auth: "protected"
24683
24712
  }), method(object({
24684
24713
  deviceId: number().int().nonnegative(),
24685
24714
  direction: FanDirectionSchema
24686
24715
  }), _void(), {
24687
24716
  kind: "mutation",
24688
- auth: "admin"
24717
+ auth: "protected"
24689
24718
  }), method(object({
24690
24719
  deviceId: number().int().nonnegative(),
24691
24720
  oscillating: boolean()
24692
24721
  }), _void(), {
24693
24722
  kind: "mutation",
24694
- auth: "admin"
24723
+ auth: "protected"
24695
24724
  });
24696
24725
  /**
24697
24726
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24794,19 +24823,19 @@ DeviceType.Humidifier, method(object({
24794
24823
  on: boolean()
24795
24824
  }), _void(), {
24796
24825
  kind: "mutation",
24797
- auth: "admin"
24826
+ auth: "protected"
24798
24827
  }), method(object({
24799
24828
  deviceId: number().int().nonnegative(),
24800
24829
  humidity: number().min(0).max(100)
24801
24830
  }), _void(), {
24802
24831
  kind: "mutation",
24803
- auth: "admin"
24832
+ auth: "protected"
24804
24833
  }), method(object({
24805
24834
  deviceId: number().int().nonnegative(),
24806
24835
  mode: string().min(1)
24807
24836
  }), _void(), {
24808
24837
  kind: "mutation",
24809
- auth: "admin"
24838
+ auth: "protected"
24810
24839
  });
24811
24840
  object({
24812
24841
  /** Current relative humidity, 0..100. */
@@ -25268,13 +25297,13 @@ object({
25268
25297
  });
25269
25298
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25270
25299
  kind: "mutation",
25271
- auth: "admin"
25300
+ auth: "protected"
25272
25301
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25273
25302
  kind: "mutation",
25274
- auth: "admin"
25303
+ auth: "protected"
25275
25304
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25276
25305
  kind: "mutation",
25277
- auth: "admin"
25306
+ auth: "protected"
25278
25307
  });
25279
25308
  /**
25280
25309
  * local-network — hub-only singleton.
@@ -25534,16 +25563,16 @@ DeviceType.Lock, method(object({
25534
25563
  code: string().min(1).optional()
25535
25564
  }), _void(), {
25536
25565
  kind: "mutation",
25537
- auth: "admin"
25566
+ auth: "protected"
25538
25567
  }), method(object({
25539
25568
  deviceId: number().int().nonnegative(),
25540
25569
  code: string().min(1).optional()
25541
25570
  }), _void(), {
25542
25571
  kind: "mutation",
25543
- auth: "admin"
25572
+ auth: "protected"
25544
25573
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25545
25574
  kind: "mutation",
25546
- auth: "admin"
25575
+ auth: "protected"
25547
25576
  });
25548
25577
  /**
25549
25578
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25617,55 +25646,55 @@ object({
25617
25646
  });
25618
25647
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25619
25648
  kind: "mutation",
25620
- auth: "admin"
25649
+ auth: "protected"
25621
25650
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25622
25651
  kind: "mutation",
25623
- auth: "admin"
25652
+ auth: "protected"
25624
25653
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25625
25654
  kind: "mutation",
25626
- auth: "admin"
25655
+ auth: "protected"
25627
25656
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25628
25657
  kind: "mutation",
25629
- auth: "admin"
25658
+ auth: "protected"
25630
25659
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25631
25660
  kind: "mutation",
25632
- auth: "admin"
25661
+ auth: "protected"
25633
25662
  }), method(object({
25634
25663
  deviceId: number().int().nonnegative(),
25635
25664
  positionMs: number().int().nonnegative()
25636
25665
  }), _void(), {
25637
25666
  kind: "mutation",
25638
- auth: "admin"
25667
+ auth: "protected"
25639
25668
  }), method(object({
25640
25669
  deviceId: number().int().nonnegative(),
25641
25670
  volumeLevel: number().min(0).max(100)
25642
25671
  }), _void(), {
25643
25672
  kind: "mutation",
25644
- auth: "admin"
25673
+ auth: "protected"
25645
25674
  }), method(object({
25646
25675
  deviceId: number().int().nonnegative(),
25647
25676
  muted: boolean()
25648
25677
  }), _void(), {
25649
25678
  kind: "mutation",
25650
- auth: "admin"
25679
+ auth: "protected"
25651
25680
  }), method(object({
25652
25681
  deviceId: number().int().nonnegative(),
25653
25682
  shuffle: boolean()
25654
25683
  }), _void(), {
25655
25684
  kind: "mutation",
25656
- auth: "admin"
25685
+ auth: "protected"
25657
25686
  }), method(object({
25658
25687
  deviceId: number().int().nonnegative(),
25659
25688
  repeat: MediaPlayerRepeatSchema
25660
25689
  }), _void(), {
25661
25690
  kind: "mutation",
25662
- auth: "admin"
25691
+ auth: "protected"
25663
25692
  }), method(object({
25664
25693
  deviceId: number().int().nonnegative(),
25665
25694
  source: string().min(1)
25666
25695
  }), _void(), {
25667
25696
  kind: "mutation",
25668
- auth: "admin"
25697
+ auth: "protected"
25669
25698
  }), method(object({
25670
25699
  deviceId: number().int().nonnegative(),
25671
25700
  /** Media identifier / URL. */
@@ -25675,7 +25704,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25675
25704
  mediaType: string().min(1)
25676
25705
  }), _void(), {
25677
25706
  kind: "mutation",
25678
- auth: "admin"
25707
+ auth: "protected"
25679
25708
  });
25680
25709
  /**
25681
25710
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26841,49 +26870,49 @@ DeviceType.PetFeeder, method(object({
26841
26870
  hopper2: gramsPortion.optional()
26842
26871
  }), _void(), {
26843
26872
  kind: "mutation",
26844
- auth: "admin"
26873
+ auth: "protected"
26845
26874
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26846
26875
  kind: "mutation",
26847
- auth: "admin"
26876
+ auth: "protected"
26848
26877
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26849
26878
  kind: "mutation",
26850
- auth: "admin"
26879
+ auth: "protected"
26851
26880
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26852
26881
  kind: "mutation",
26853
- auth: "admin"
26882
+ auth: "protected"
26854
26883
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26855
26884
  kind: "mutation",
26856
- auth: "admin"
26885
+ auth: "protected"
26857
26886
  }), method(object({
26858
26887
  deviceId: number().int().nonnegative(),
26859
26888
  soundId: number().int().nonnegative()
26860
26889
  }), _void(), {
26861
26890
  kind: "mutation",
26862
- auth: "admin"
26891
+ auth: "protected"
26863
26892
  }), method(object({
26864
26893
  deviceId: number().int().nonnegative(),
26865
26894
  on: boolean()
26866
26895
  }), _void(), {
26867
26896
  kind: "mutation",
26868
- auth: "admin"
26897
+ auth: "protected"
26869
26898
  }), method(object({
26870
26899
  deviceId: number().int().nonnegative(),
26871
26900
  on: boolean()
26872
26901
  }), _void(), {
26873
26902
  kind: "mutation",
26874
- auth: "admin"
26903
+ auth: "protected"
26875
26904
  }), method(object({
26876
26905
  deviceId: number().int().nonnegative(),
26877
26906
  on: boolean()
26878
26907
  }), _void(), {
26879
26908
  kind: "mutation",
26880
- auth: "admin"
26909
+ auth: "protected"
26881
26910
  }), method(object({
26882
26911
  deviceId: number().int().nonnegative(),
26883
26912
  level: number().int().nonnegative()
26884
26913
  }), _void(), {
26885
26914
  kind: "mutation",
26886
- auth: "admin"
26915
+ auth: "protected"
26887
26916
  });
26888
26917
  var VehicleSchema = object({
26889
26918
  id: string(),
@@ -28670,7 +28699,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28670
28699
  on: boolean()
28671
28700
  }), _void(), {
28672
28701
  kind: "mutation",
28673
- auth: "admin"
28702
+ auth: "protected"
28674
28703
  }), object({
28675
28704
  deviceId: number(),
28676
28705
  on: boolean(),
@@ -29527,25 +29556,25 @@ object({
29527
29556
  });
29528
29557
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29529
29558
  kind: "mutation",
29530
- auth: "admin"
29559
+ auth: "protected"
29531
29560
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29532
29561
  kind: "mutation",
29533
- auth: "admin"
29562
+ auth: "protected"
29534
29563
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29535
29564
  kind: "mutation",
29536
- auth: "admin"
29565
+ auth: "protected"
29537
29566
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29538
29567
  kind: "mutation",
29539
- auth: "admin"
29568
+ auth: "protected"
29540
29569
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29541
29570
  kind: "mutation",
29542
- auth: "admin"
29571
+ auth: "protected"
29543
29572
  }), method(object({
29544
29573
  deviceId: number().int().nonnegative(),
29545
29574
  speed: string().min(1)
29546
29575
  }), _void(), {
29547
29576
  kind: "mutation",
29548
- auth: "admin"
29577
+ auth: "protected"
29549
29578
  });
29550
29579
  object({
29551
29580
  /** Lifecycle state of the valve. */
@@ -29564,19 +29593,19 @@ object({
29564
29593
  });
29565
29594
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29566
29595
  kind: "mutation",
29567
- auth: "admin"
29596
+ auth: "protected"
29568
29597
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29569
29598
  kind: "mutation",
29570
- auth: "admin"
29599
+ auth: "protected"
29571
29600
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29572
29601
  kind: "mutation",
29573
- auth: "admin"
29602
+ auth: "protected"
29574
29603
  }), method(object({
29575
29604
  deviceId: number().int().nonnegative(),
29576
29605
  position: number().min(0).max(100)
29577
29606
  }), _void(), {
29578
29607
  kind: "mutation",
29579
- auth: "admin"
29608
+ auth: "protected"
29580
29609
  });
29581
29610
  object({
29582
29611
  detected: boolean(),
@@ -29610,19 +29639,19 @@ DeviceType.WaterHeater, method(object({
29610
29639
  temp: number().finite()
29611
29640
  }), _void(), {
29612
29641
  kind: "mutation",
29613
- auth: "admin"
29642
+ auth: "protected"
29614
29643
  }), method(object({
29615
29644
  deviceId: number().int().nonnegative(),
29616
29645
  mode: string().min(1)
29617
29646
  }), _void(), {
29618
29647
  kind: "mutation",
29619
- auth: "admin"
29648
+ auth: "protected"
29620
29649
  }), method(object({
29621
29650
  deviceId: number().int().nonnegative(),
29622
29651
  on: boolean()
29623
29652
  }), _void(), {
29624
29653
  kind: "mutation",
29625
- auth: "admin"
29654
+ auth: "protected"
29626
29655
  });
29627
29656
  object({
29628
29657
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33250,6 +33279,12 @@ Object.freeze({
33250
33279
  addonId: null,
33251
33280
  access: "view"
33252
33281
  },
33282
+ "pipelineAnalytics.listArchivedDebugNotes": {
33283
+ capName: "pipeline-analytics",
33284
+ capScope: "device",
33285
+ addonId: null,
33286
+ access: "view"
33287
+ },
33253
33288
  "pipelineAnalytics.listEventKinds": {
33254
33289
  capName: "pipeline-analytics",
33255
33290
  capScope: "device",
@@ -37037,6 +37072,11 @@ Object.freeze({
37037
37072
  form: "array",
37038
37073
  optional: true
37039
37074
  }],
37075
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37076
+ name: "deviceId",
37077
+ form: "single",
37078
+ optional: true
37079
+ }],
37040
37080
  "pipelineAnalytics.listEventKinds": [{
37041
37081
  name: "deviceId",
37042
37082
  form: "single",
package/dist/index.mjs CHANGED
@@ -7623,6 +7623,35 @@ var CameraSwitchGroupSchema = object({
7623
7623
  /** Unix ms when the group was composed server-side. */
7624
7624
  fetchedAt: number()
7625
7625
  });
7626
+ /** One archived note — the operator's words plus enough context to find what
7627
+ * they were looking at, after the track itself is gone. */
7628
+ var ArchivedDebugNoteSchema = object({
7629
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7630
+ * same sentence about the same track lands on the row already there. */
7631
+ id: string(),
7632
+ /** The operator's own words, verbatim. */
7633
+ note: string(),
7634
+ /** The camera. Required — every question here is asked per-camera. */
7635
+ deviceId: number().int(),
7636
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7637
+ * is expected to be gone, and this row is not a reference to it. */
7638
+ sourceTrackId: string(),
7639
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7640
+ archivedAt: number().int(),
7641
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7642
+ trackStartedAt: number().int().nullable(),
7643
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7644
+ trackClass: string().nullable(),
7645
+ /** The track's display label at review time; `null` when it had none. */
7646
+ trackLabel: string().nullable()
7647
+ });
7648
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7649
+ var ArchivedDebugNoteQueryInputSchema = object({
7650
+ /** Restrict to a single camera; omit for every row. */
7651
+ deviceId: number().int().optional(),
7652
+ /** Max rows returned, newest-first. */
7653
+ limit: number().int().min(1).max(1e3).optional()
7654
+ });
7626
7655
  /**
7627
7656
  * Ops-log — the durable, append-only operations audit shared by the
7628
7657
  * recordings and events management surfaces.
@@ -15937,16 +15966,16 @@ DeviceType.AlarmPanel, method(object({
15937
15966
  code: string().min(1).optional()
15938
15967
  }), _void(), {
15939
15968
  kind: "mutation",
15940
- auth: "admin"
15969
+ auth: "protected"
15941
15970
  }), method(object({
15942
15971
  deviceId: number().int().nonnegative(),
15943
15972
  code: string().min(1).optional()
15944
15973
  }), _void(), {
15945
15974
  kind: "mutation",
15946
- auth: "admin"
15975
+ auth: "protected"
15947
15976
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15948
15977
  kind: "mutation",
15949
- auth: "admin"
15978
+ auth: "protected"
15950
15979
  });
15951
15980
  /**
15952
15981
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -19848,7 +19877,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19848
19877
  deviceId: number(),
19849
19878
  trackId: string(),
19850
19879
  flags: TrackFlagsPatchSchema
19851
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19880
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19852
19881
  kind: "query",
19853
19882
  auth: "admin"
19854
19883
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23601,7 +23630,7 @@ DeviceType.Light, method(object({
23601
23630
  percentage: number().min(0).max(100)
23602
23631
  }), _void(), {
23603
23632
  kind: "mutation",
23604
- auth: "admin"
23633
+ auth: "protected"
23605
23634
  }), object({
23606
23635
  deviceId: number(),
23607
23636
  percentage: number().min(0).max(100),
@@ -23609,7 +23638,7 @@ DeviceType.Light, method(object({
23609
23638
  });
23610
23639
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23611
23640
  kind: "mutation",
23612
- auth: "admin"
23641
+ auth: "protected"
23613
23642
  });
23614
23643
  /**
23615
23644
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23768,50 +23797,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23768
23797
  mode: HvacModeSchema
23769
23798
  }), _void(), {
23770
23799
  kind: "mutation",
23771
- auth: "admin"
23800
+ auth: "protected"
23772
23801
  }), method(object({
23773
23802
  deviceId: number().int().nonnegative(),
23774
23803
  fanMode: string().min(1)
23775
23804
  }), _void(), {
23776
23805
  kind: "mutation",
23777
- auth: "admin"
23806
+ auth: "protected"
23778
23807
  }), method(object({
23779
23808
  deviceId: number().int().nonnegative(),
23780
23809
  preset: string().min(1)
23781
23810
  }), _void(), {
23782
23811
  kind: "mutation",
23783
- auth: "admin"
23812
+ auth: "protected"
23784
23813
  }), method(object({
23785
23814
  deviceId: number().int().nonnegative(),
23786
23815
  target: number()
23787
23816
  }), _void(), {
23788
23817
  kind: "mutation",
23789
- auth: "admin"
23818
+ auth: "protected"
23790
23819
  }), method(object({
23791
23820
  deviceId: number().int().nonnegative(),
23792
23821
  targetLow: number(),
23793
23822
  targetHigh: number()
23794
23823
  }), _void(), {
23795
23824
  kind: "mutation",
23796
- auth: "admin"
23825
+ auth: "protected"
23797
23826
  }), method(object({
23798
23827
  deviceId: number().int().nonnegative(),
23799
23828
  targetHumidity: number().min(0).max(100)
23800
23829
  }), _void(), {
23801
23830
  kind: "mutation",
23802
- auth: "admin"
23831
+ auth: "protected"
23803
23832
  }), method(object({
23804
23833
  deviceId: number().int().nonnegative(),
23805
23834
  on: boolean()
23806
23835
  }), _void(), {
23807
23836
  kind: "mutation",
23808
- auth: "admin"
23837
+ auth: "protected"
23809
23838
  }), method(object({
23810
23839
  deviceId: number().int().nonnegative(),
23811
23840
  on: boolean()
23812
23841
  }), _void(), {
23813
23842
  kind: "mutation",
23814
- auth: "admin"
23843
+ auth: "protected"
23815
23844
  });
23816
23845
  /**
23817
23846
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23886,7 +23915,7 @@ DeviceType.Light, method(object({
23886
23915
  color: ColorInputSchema
23887
23916
  }), _void(), {
23888
23917
  kind: "mutation",
23889
- auth: "admin"
23918
+ auth: "protected"
23890
23919
  }), object({
23891
23920
  deviceId: number(),
23892
23921
  mode: _enum([
@@ -24035,7 +24064,7 @@ DeviceType.Control, method(object({
24035
24064
  control: ControlSetValueInputSchema
24036
24065
  }), _void(), {
24037
24066
  kind: "mutation",
24038
- auth: "admin"
24067
+ auth: "protected"
24039
24068
  });
24040
24069
  object({
24041
24070
  /** Lifecycle state of the cover. */
@@ -24056,25 +24085,25 @@ object({
24056
24085
  });
24057
24086
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24058
24087
  kind: "mutation",
24059
- auth: "admin"
24088
+ auth: "protected"
24060
24089
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24061
24090
  kind: "mutation",
24062
- auth: "admin"
24091
+ auth: "protected"
24063
24092
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24064
24093
  kind: "mutation",
24065
- auth: "admin"
24094
+ auth: "protected"
24066
24095
  }), method(object({
24067
24096
  deviceId: number().int().nonnegative(),
24068
24097
  position: number().min(0).max(100)
24069
24098
  }), _void(), {
24070
24099
  kind: "mutation",
24071
- auth: "admin"
24100
+ auth: "protected"
24072
24101
  }), method(object({
24073
24102
  deviceId: number().int().nonnegative(),
24074
24103
  tiltPosition: number().min(0).max(100)
24075
24104
  }), _void(), {
24076
24105
  kind: "mutation",
24077
- auth: "admin"
24106
+ auth: "protected"
24078
24107
  });
24079
24108
  /**
24080
24109
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24669,25 +24698,25 @@ DeviceType.Fan, method(object({
24669
24698
  percentage: number().min(0).max(100)
24670
24699
  }), _void(), {
24671
24700
  kind: "mutation",
24672
- auth: "admin"
24701
+ auth: "protected"
24673
24702
  }), method(object({
24674
24703
  deviceId: number().int().nonnegative(),
24675
24704
  preset: string().min(1)
24676
24705
  }), _void(), {
24677
24706
  kind: "mutation",
24678
- auth: "admin"
24707
+ auth: "protected"
24679
24708
  }), method(object({
24680
24709
  deviceId: number().int().nonnegative(),
24681
24710
  direction: FanDirectionSchema
24682
24711
  }), _void(), {
24683
24712
  kind: "mutation",
24684
- auth: "admin"
24713
+ auth: "protected"
24685
24714
  }), method(object({
24686
24715
  deviceId: number().int().nonnegative(),
24687
24716
  oscillating: boolean()
24688
24717
  }), _void(), {
24689
24718
  kind: "mutation",
24690
- auth: "admin"
24719
+ auth: "protected"
24691
24720
  });
24692
24721
  /**
24693
24722
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24790,19 +24819,19 @@ DeviceType.Humidifier, method(object({
24790
24819
  on: boolean()
24791
24820
  }), _void(), {
24792
24821
  kind: "mutation",
24793
- auth: "admin"
24822
+ auth: "protected"
24794
24823
  }), method(object({
24795
24824
  deviceId: number().int().nonnegative(),
24796
24825
  humidity: number().min(0).max(100)
24797
24826
  }), _void(), {
24798
24827
  kind: "mutation",
24799
- auth: "admin"
24828
+ auth: "protected"
24800
24829
  }), method(object({
24801
24830
  deviceId: number().int().nonnegative(),
24802
24831
  mode: string().min(1)
24803
24832
  }), _void(), {
24804
24833
  kind: "mutation",
24805
- auth: "admin"
24834
+ auth: "protected"
24806
24835
  });
24807
24836
  object({
24808
24837
  /** Current relative humidity, 0..100. */
@@ -25264,13 +25293,13 @@ object({
25264
25293
  });
25265
25294
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25266
25295
  kind: "mutation",
25267
- auth: "admin"
25296
+ auth: "protected"
25268
25297
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25269
25298
  kind: "mutation",
25270
- auth: "admin"
25299
+ auth: "protected"
25271
25300
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25272
25301
  kind: "mutation",
25273
- auth: "admin"
25302
+ auth: "protected"
25274
25303
  });
25275
25304
  /**
25276
25305
  * local-network — hub-only singleton.
@@ -25530,16 +25559,16 @@ DeviceType.Lock, method(object({
25530
25559
  code: string().min(1).optional()
25531
25560
  }), _void(), {
25532
25561
  kind: "mutation",
25533
- auth: "admin"
25562
+ auth: "protected"
25534
25563
  }), method(object({
25535
25564
  deviceId: number().int().nonnegative(),
25536
25565
  code: string().min(1).optional()
25537
25566
  }), _void(), {
25538
25567
  kind: "mutation",
25539
- auth: "admin"
25568
+ auth: "protected"
25540
25569
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25541
25570
  kind: "mutation",
25542
- auth: "admin"
25571
+ auth: "protected"
25543
25572
  });
25544
25573
  /**
25545
25574
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25613,55 +25642,55 @@ object({
25613
25642
  });
25614
25643
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25615
25644
  kind: "mutation",
25616
- auth: "admin"
25645
+ auth: "protected"
25617
25646
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25618
25647
  kind: "mutation",
25619
- auth: "admin"
25648
+ auth: "protected"
25620
25649
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25621
25650
  kind: "mutation",
25622
- auth: "admin"
25651
+ auth: "protected"
25623
25652
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25624
25653
  kind: "mutation",
25625
- auth: "admin"
25654
+ auth: "protected"
25626
25655
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25627
25656
  kind: "mutation",
25628
- auth: "admin"
25657
+ auth: "protected"
25629
25658
  }), method(object({
25630
25659
  deviceId: number().int().nonnegative(),
25631
25660
  positionMs: number().int().nonnegative()
25632
25661
  }), _void(), {
25633
25662
  kind: "mutation",
25634
- auth: "admin"
25663
+ auth: "protected"
25635
25664
  }), method(object({
25636
25665
  deviceId: number().int().nonnegative(),
25637
25666
  volumeLevel: number().min(0).max(100)
25638
25667
  }), _void(), {
25639
25668
  kind: "mutation",
25640
- auth: "admin"
25669
+ auth: "protected"
25641
25670
  }), method(object({
25642
25671
  deviceId: number().int().nonnegative(),
25643
25672
  muted: boolean()
25644
25673
  }), _void(), {
25645
25674
  kind: "mutation",
25646
- auth: "admin"
25675
+ auth: "protected"
25647
25676
  }), method(object({
25648
25677
  deviceId: number().int().nonnegative(),
25649
25678
  shuffle: boolean()
25650
25679
  }), _void(), {
25651
25680
  kind: "mutation",
25652
- auth: "admin"
25681
+ auth: "protected"
25653
25682
  }), method(object({
25654
25683
  deviceId: number().int().nonnegative(),
25655
25684
  repeat: MediaPlayerRepeatSchema
25656
25685
  }), _void(), {
25657
25686
  kind: "mutation",
25658
- auth: "admin"
25687
+ auth: "protected"
25659
25688
  }), method(object({
25660
25689
  deviceId: number().int().nonnegative(),
25661
25690
  source: string().min(1)
25662
25691
  }), _void(), {
25663
25692
  kind: "mutation",
25664
- auth: "admin"
25693
+ auth: "protected"
25665
25694
  }), method(object({
25666
25695
  deviceId: number().int().nonnegative(),
25667
25696
  /** Media identifier / URL. */
@@ -25671,7 +25700,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25671
25700
  mediaType: string().min(1)
25672
25701
  }), _void(), {
25673
25702
  kind: "mutation",
25674
- auth: "admin"
25703
+ auth: "protected"
25675
25704
  });
25676
25705
  /**
25677
25706
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26837,49 +26866,49 @@ DeviceType.PetFeeder, method(object({
26837
26866
  hopper2: gramsPortion.optional()
26838
26867
  }), _void(), {
26839
26868
  kind: "mutation",
26840
- auth: "admin"
26869
+ auth: "protected"
26841
26870
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26842
26871
  kind: "mutation",
26843
- auth: "admin"
26872
+ auth: "protected"
26844
26873
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26845
26874
  kind: "mutation",
26846
- auth: "admin"
26875
+ auth: "protected"
26847
26876
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26848
26877
  kind: "mutation",
26849
- auth: "admin"
26878
+ auth: "protected"
26850
26879
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26851
26880
  kind: "mutation",
26852
- auth: "admin"
26881
+ auth: "protected"
26853
26882
  }), method(object({
26854
26883
  deviceId: number().int().nonnegative(),
26855
26884
  soundId: number().int().nonnegative()
26856
26885
  }), _void(), {
26857
26886
  kind: "mutation",
26858
- auth: "admin"
26887
+ auth: "protected"
26859
26888
  }), method(object({
26860
26889
  deviceId: number().int().nonnegative(),
26861
26890
  on: boolean()
26862
26891
  }), _void(), {
26863
26892
  kind: "mutation",
26864
- auth: "admin"
26893
+ auth: "protected"
26865
26894
  }), method(object({
26866
26895
  deviceId: number().int().nonnegative(),
26867
26896
  on: boolean()
26868
26897
  }), _void(), {
26869
26898
  kind: "mutation",
26870
- auth: "admin"
26899
+ auth: "protected"
26871
26900
  }), method(object({
26872
26901
  deviceId: number().int().nonnegative(),
26873
26902
  on: boolean()
26874
26903
  }), _void(), {
26875
26904
  kind: "mutation",
26876
- auth: "admin"
26905
+ auth: "protected"
26877
26906
  }), method(object({
26878
26907
  deviceId: number().int().nonnegative(),
26879
26908
  level: number().int().nonnegative()
26880
26909
  }), _void(), {
26881
26910
  kind: "mutation",
26882
- auth: "admin"
26911
+ auth: "protected"
26883
26912
  });
26884
26913
  var VehicleSchema = object({
26885
26914
  id: string(),
@@ -28666,7 +28695,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28666
28695
  on: boolean()
28667
28696
  }), _void(), {
28668
28697
  kind: "mutation",
28669
- auth: "admin"
28698
+ auth: "protected"
28670
28699
  }), object({
28671
28700
  deviceId: number(),
28672
28701
  on: boolean(),
@@ -29523,25 +29552,25 @@ object({
29523
29552
  });
29524
29553
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29525
29554
  kind: "mutation",
29526
- auth: "admin"
29555
+ auth: "protected"
29527
29556
  }), 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({ deviceId: number().int().nonnegative() }), _void(), {
29537
29566
  kind: "mutation",
29538
- auth: "admin"
29567
+ auth: "protected"
29539
29568
  }), method(object({
29540
29569
  deviceId: number().int().nonnegative(),
29541
29570
  speed: string().min(1)
29542
29571
  }), _void(), {
29543
29572
  kind: "mutation",
29544
- auth: "admin"
29573
+ auth: "protected"
29545
29574
  });
29546
29575
  object({
29547
29576
  /** Lifecycle state of the valve. */
@@ -29560,19 +29589,19 @@ object({
29560
29589
  });
29561
29590
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29562
29591
  kind: "mutation",
29563
- auth: "admin"
29592
+ auth: "protected"
29564
29593
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29565
29594
  kind: "mutation",
29566
- auth: "admin"
29595
+ auth: "protected"
29567
29596
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29568
29597
  kind: "mutation",
29569
- auth: "admin"
29598
+ auth: "protected"
29570
29599
  }), method(object({
29571
29600
  deviceId: number().int().nonnegative(),
29572
29601
  position: number().min(0).max(100)
29573
29602
  }), _void(), {
29574
29603
  kind: "mutation",
29575
- auth: "admin"
29604
+ auth: "protected"
29576
29605
  });
29577
29606
  object({
29578
29607
  detected: boolean(),
@@ -29606,19 +29635,19 @@ DeviceType.WaterHeater, method(object({
29606
29635
  temp: number().finite()
29607
29636
  }), _void(), {
29608
29637
  kind: "mutation",
29609
- auth: "admin"
29638
+ auth: "protected"
29610
29639
  }), method(object({
29611
29640
  deviceId: number().int().nonnegative(),
29612
29641
  mode: string().min(1)
29613
29642
  }), _void(), {
29614
29643
  kind: "mutation",
29615
- auth: "admin"
29644
+ auth: "protected"
29616
29645
  }), method(object({
29617
29646
  deviceId: number().int().nonnegative(),
29618
29647
  on: boolean()
29619
29648
  }), _void(), {
29620
29649
  kind: "mutation",
29621
- auth: "admin"
29650
+ auth: "protected"
29622
29651
  });
29623
29652
  object({
29624
29653
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33246,6 +33275,12 @@ Object.freeze({
33246
33275
  addonId: null,
33247
33276
  access: "view"
33248
33277
  },
33278
+ "pipelineAnalytics.listArchivedDebugNotes": {
33279
+ capName: "pipeline-analytics",
33280
+ capScope: "device",
33281
+ addonId: null,
33282
+ access: "view"
33283
+ },
33249
33284
  "pipelineAnalytics.listEventKinds": {
33250
33285
  capName: "pipeline-analytics",
33251
33286
  capScope: "device",
@@ -37033,6 +37068,11 @@ Object.freeze({
37033
37068
  form: "array",
37034
37069
  optional: true
37035
37070
  }],
37071
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37072
+ name: "deviceId",
37073
+ form: "single",
37074
+ optional: true
37075
+ }],
37036
37076
  "pipelineAnalytics.listEventKinds": [{
37037
37077
  name: "deviceId",
37038
37078
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.85",
3
+ "version": "1.2.87",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",