@camstack/addon-provider-onvif 1.2.84 → 1.2.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/addon.js +110 -70
  2. package/dist/addon.mjs +110 -70
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -7626,6 +7626,35 @@ var CameraSwitchGroupSchema = object({
7626
7626
  /** Unix ms when the group was composed server-side. */
7627
7627
  fetchedAt: number()
7628
7628
  });
7629
+ /** One archived note — the operator's words plus enough context to find what
7630
+ * they were looking at, after the track itself is gone. */
7631
+ var ArchivedDebugNoteSchema = object({
7632
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7633
+ * same sentence about the same track lands on the row already there. */
7634
+ id: string(),
7635
+ /** The operator's own words, verbatim. */
7636
+ note: string(),
7637
+ /** The camera. Required — every question here is asked per-camera. */
7638
+ deviceId: number().int(),
7639
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7640
+ * is expected to be gone, and this row is not a reference to it. */
7641
+ sourceTrackId: string(),
7642
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7643
+ archivedAt: number().int(),
7644
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7645
+ trackStartedAt: number().int().nullable(),
7646
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7647
+ trackClass: string().nullable(),
7648
+ /** The track's display label at review time; `null` when it had none. */
7649
+ trackLabel: string().nullable()
7650
+ });
7651
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7652
+ var ArchivedDebugNoteQueryInputSchema = object({
7653
+ /** Restrict to a single camera; omit for every row. */
7654
+ deviceId: number().int().optional(),
7655
+ /** Max rows returned, newest-first. */
7656
+ limit: number().int().min(1).max(1e3).optional()
7657
+ });
7629
7658
  /**
7630
7659
  * Ops-log — the durable, append-only operations audit shared by the
7631
7660
  * recordings and events management surfaces.
@@ -15891,16 +15920,16 @@ DeviceType.AlarmPanel, method(object({
15891
15920
  code: string().min(1).optional()
15892
15921
  }), _void(), {
15893
15922
  kind: "mutation",
15894
- auth: "admin"
15923
+ auth: "protected"
15895
15924
  }), method(object({
15896
15925
  deviceId: number().int().nonnegative(),
15897
15926
  code: string().min(1).optional()
15898
15927
  }), _void(), {
15899
15928
  kind: "mutation",
15900
- auth: "admin"
15929
+ auth: "protected"
15901
15930
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15902
15931
  kind: "mutation",
15903
- auth: "admin"
15932
+ auth: "protected"
15904
15933
  });
15905
15934
  /**
15906
15935
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -19802,7 +19831,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19802
19831
  deviceId: number(),
19803
19832
  trackId: string(),
19804
19833
  flags: TrackFlagsPatchSchema
19805
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19834
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19806
19835
  kind: "query",
19807
19836
  auth: "admin"
19808
19837
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23659,7 +23688,7 @@ DeviceType.Light, method(object({
23659
23688
  percentage: number().min(0).max(100)
23660
23689
  }), _void(), {
23661
23690
  kind: "mutation",
23662
- auth: "admin"
23691
+ auth: "protected"
23663
23692
  }), object({
23664
23693
  deviceId: number(),
23665
23694
  percentage: number().min(0).max(100),
@@ -23667,7 +23696,7 @@ DeviceType.Light, method(object({
23667
23696
  });
23668
23697
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23669
23698
  kind: "mutation",
23670
- auth: "admin"
23699
+ auth: "protected"
23671
23700
  });
23672
23701
  /**
23673
23702
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23826,50 +23855,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23826
23855
  mode: HvacModeSchema
23827
23856
  }), _void(), {
23828
23857
  kind: "mutation",
23829
- auth: "admin"
23858
+ auth: "protected"
23830
23859
  }), method(object({
23831
23860
  deviceId: number().int().nonnegative(),
23832
23861
  fanMode: string().min(1)
23833
23862
  }), _void(), {
23834
23863
  kind: "mutation",
23835
- auth: "admin"
23864
+ auth: "protected"
23836
23865
  }), method(object({
23837
23866
  deviceId: number().int().nonnegative(),
23838
23867
  preset: string().min(1)
23839
23868
  }), _void(), {
23840
23869
  kind: "mutation",
23841
- auth: "admin"
23870
+ auth: "protected"
23842
23871
  }), method(object({
23843
23872
  deviceId: number().int().nonnegative(),
23844
23873
  target: number()
23845
23874
  }), _void(), {
23846
23875
  kind: "mutation",
23847
- auth: "admin"
23876
+ auth: "protected"
23848
23877
  }), method(object({
23849
23878
  deviceId: number().int().nonnegative(),
23850
23879
  targetLow: number(),
23851
23880
  targetHigh: number()
23852
23881
  }), _void(), {
23853
23882
  kind: "mutation",
23854
- auth: "admin"
23883
+ auth: "protected"
23855
23884
  }), method(object({
23856
23885
  deviceId: number().int().nonnegative(),
23857
23886
  targetHumidity: number().min(0).max(100)
23858
23887
  }), _void(), {
23859
23888
  kind: "mutation",
23860
- auth: "admin"
23889
+ auth: "protected"
23861
23890
  }), method(object({
23862
23891
  deviceId: number().int().nonnegative(),
23863
23892
  on: boolean()
23864
23893
  }), _void(), {
23865
23894
  kind: "mutation",
23866
- auth: "admin"
23895
+ auth: "protected"
23867
23896
  }), method(object({
23868
23897
  deviceId: number().int().nonnegative(),
23869
23898
  on: boolean()
23870
23899
  }), _void(), {
23871
23900
  kind: "mutation",
23872
- auth: "admin"
23901
+ auth: "protected"
23873
23902
  });
23874
23903
  /**
23875
23904
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23944,7 +23973,7 @@ DeviceType.Light, method(object({
23944
23973
  color: ColorInputSchema
23945
23974
  }), _void(), {
23946
23975
  kind: "mutation",
23947
- auth: "admin"
23976
+ auth: "protected"
23948
23977
  }), object({
23949
23978
  deviceId: number(),
23950
23979
  mode: _enum([
@@ -24093,7 +24122,7 @@ DeviceType.Control, method(object({
24093
24122
  control: ControlSetValueInputSchema
24094
24123
  }), _void(), {
24095
24124
  kind: "mutation",
24096
- auth: "admin"
24125
+ auth: "protected"
24097
24126
  });
24098
24127
  object({
24099
24128
  /** Lifecycle state of the cover. */
@@ -24114,25 +24143,25 @@ object({
24114
24143
  });
24115
24144
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24116
24145
  kind: "mutation",
24117
- auth: "admin"
24146
+ auth: "protected"
24118
24147
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24119
24148
  kind: "mutation",
24120
- auth: "admin"
24149
+ auth: "protected"
24121
24150
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24122
24151
  kind: "mutation",
24123
- auth: "admin"
24152
+ auth: "protected"
24124
24153
  }), method(object({
24125
24154
  deviceId: number().int().nonnegative(),
24126
24155
  position: number().min(0).max(100)
24127
24156
  }), _void(), {
24128
24157
  kind: "mutation",
24129
- auth: "admin"
24158
+ auth: "protected"
24130
24159
  }), method(object({
24131
24160
  deviceId: number().int().nonnegative(),
24132
24161
  tiltPosition: number().min(0).max(100)
24133
24162
  }), _void(), {
24134
24163
  kind: "mutation",
24135
- auth: "admin"
24164
+ auth: "protected"
24136
24165
  });
24137
24166
  /**
24138
24167
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24727,25 +24756,25 @@ DeviceType.Fan, method(object({
24727
24756
  percentage: number().min(0).max(100)
24728
24757
  }), _void(), {
24729
24758
  kind: "mutation",
24730
- auth: "admin"
24759
+ auth: "protected"
24731
24760
  }), method(object({
24732
24761
  deviceId: number().int().nonnegative(),
24733
24762
  preset: string().min(1)
24734
24763
  }), _void(), {
24735
24764
  kind: "mutation",
24736
- auth: "admin"
24765
+ auth: "protected"
24737
24766
  }), method(object({
24738
24767
  deviceId: number().int().nonnegative(),
24739
24768
  direction: FanDirectionSchema
24740
24769
  }), _void(), {
24741
24770
  kind: "mutation",
24742
- auth: "admin"
24771
+ auth: "protected"
24743
24772
  }), method(object({
24744
24773
  deviceId: number().int().nonnegative(),
24745
24774
  oscillating: boolean()
24746
24775
  }), _void(), {
24747
24776
  kind: "mutation",
24748
- auth: "admin"
24777
+ auth: "protected"
24749
24778
  });
24750
24779
  /**
24751
24780
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24848,19 +24877,19 @@ DeviceType.Humidifier, method(object({
24848
24877
  on: boolean()
24849
24878
  }), _void(), {
24850
24879
  kind: "mutation",
24851
- auth: "admin"
24880
+ auth: "protected"
24852
24881
  }), method(object({
24853
24882
  deviceId: number().int().nonnegative(),
24854
24883
  humidity: number().min(0).max(100)
24855
24884
  }), _void(), {
24856
24885
  kind: "mutation",
24857
- auth: "admin"
24886
+ auth: "protected"
24858
24887
  }), method(object({
24859
24888
  deviceId: number().int().nonnegative(),
24860
24889
  mode: string().min(1)
24861
24890
  }), _void(), {
24862
24891
  kind: "mutation",
24863
- auth: "admin"
24892
+ auth: "protected"
24864
24893
  });
24865
24894
  object({
24866
24895
  /** Current relative humidity, 0..100. */
@@ -25322,13 +25351,13 @@ object({
25322
25351
  });
25323
25352
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25324
25353
  kind: "mutation",
25325
- auth: "admin"
25354
+ auth: "protected"
25326
25355
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25327
25356
  kind: "mutation",
25328
- auth: "admin"
25357
+ auth: "protected"
25329
25358
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25330
25359
  kind: "mutation",
25331
- auth: "admin"
25360
+ auth: "protected"
25332
25361
  });
25333
25362
  /**
25334
25363
  * local-network — hub-only singleton.
@@ -25588,16 +25617,16 @@ DeviceType.Lock, method(object({
25588
25617
  code: string().min(1).optional()
25589
25618
  }), _void(), {
25590
25619
  kind: "mutation",
25591
- auth: "admin"
25620
+ auth: "protected"
25592
25621
  }), method(object({
25593
25622
  deviceId: number().int().nonnegative(),
25594
25623
  code: string().min(1).optional()
25595
25624
  }), _void(), {
25596
25625
  kind: "mutation",
25597
- auth: "admin"
25626
+ auth: "protected"
25598
25627
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25599
25628
  kind: "mutation",
25600
- auth: "admin"
25629
+ auth: "protected"
25601
25630
  });
25602
25631
  /**
25603
25632
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25671,55 +25700,55 @@ object({
25671
25700
  });
25672
25701
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25673
25702
  kind: "mutation",
25674
- auth: "admin"
25703
+ auth: "protected"
25675
25704
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25676
25705
  kind: "mutation",
25677
- auth: "admin"
25706
+ auth: "protected"
25678
25707
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25679
25708
  kind: "mutation",
25680
- auth: "admin"
25709
+ auth: "protected"
25681
25710
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25682
25711
  kind: "mutation",
25683
- auth: "admin"
25712
+ auth: "protected"
25684
25713
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25685
25714
  kind: "mutation",
25686
- auth: "admin"
25715
+ auth: "protected"
25687
25716
  }), method(object({
25688
25717
  deviceId: number().int().nonnegative(),
25689
25718
  positionMs: number().int().nonnegative()
25690
25719
  }), _void(), {
25691
25720
  kind: "mutation",
25692
- auth: "admin"
25721
+ auth: "protected"
25693
25722
  }), method(object({
25694
25723
  deviceId: number().int().nonnegative(),
25695
25724
  volumeLevel: number().min(0).max(100)
25696
25725
  }), _void(), {
25697
25726
  kind: "mutation",
25698
- auth: "admin"
25727
+ auth: "protected"
25699
25728
  }), method(object({
25700
25729
  deviceId: number().int().nonnegative(),
25701
25730
  muted: boolean()
25702
25731
  }), _void(), {
25703
25732
  kind: "mutation",
25704
- auth: "admin"
25733
+ auth: "protected"
25705
25734
  }), method(object({
25706
25735
  deviceId: number().int().nonnegative(),
25707
25736
  shuffle: boolean()
25708
25737
  }), _void(), {
25709
25738
  kind: "mutation",
25710
- auth: "admin"
25739
+ auth: "protected"
25711
25740
  }), method(object({
25712
25741
  deviceId: number().int().nonnegative(),
25713
25742
  repeat: MediaPlayerRepeatSchema
25714
25743
  }), _void(), {
25715
25744
  kind: "mutation",
25716
- auth: "admin"
25745
+ auth: "protected"
25717
25746
  }), method(object({
25718
25747
  deviceId: number().int().nonnegative(),
25719
25748
  source: string().min(1)
25720
25749
  }), _void(), {
25721
25750
  kind: "mutation",
25722
- auth: "admin"
25751
+ auth: "protected"
25723
25752
  }), method(object({
25724
25753
  deviceId: number().int().nonnegative(),
25725
25754
  /** Media identifier / URL. */
@@ -25729,7 +25758,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25729
25758
  mediaType: string().min(1)
25730
25759
  }), _void(), {
25731
25760
  kind: "mutation",
25732
- auth: "admin"
25761
+ auth: "protected"
25733
25762
  });
25734
25763
  /**
25735
25764
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26895,49 +26924,49 @@ DeviceType.PetFeeder, method(object({
26895
26924
  hopper2: gramsPortion.optional()
26896
26925
  }), _void(), {
26897
26926
  kind: "mutation",
26898
- auth: "admin"
26927
+ auth: "protected"
26899
26928
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26900
26929
  kind: "mutation",
26901
- auth: "admin"
26930
+ auth: "protected"
26902
26931
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26903
26932
  kind: "mutation",
26904
- auth: "admin"
26933
+ auth: "protected"
26905
26934
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26906
26935
  kind: "mutation",
26907
- auth: "admin"
26936
+ auth: "protected"
26908
26937
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26909
26938
  kind: "mutation",
26910
- auth: "admin"
26939
+ auth: "protected"
26911
26940
  }), method(object({
26912
26941
  deviceId: number().int().nonnegative(),
26913
26942
  soundId: number().int().nonnegative()
26914
26943
  }), _void(), {
26915
26944
  kind: "mutation",
26916
- auth: "admin"
26945
+ auth: "protected"
26917
26946
  }), method(object({
26918
26947
  deviceId: number().int().nonnegative(),
26919
26948
  on: boolean()
26920
26949
  }), _void(), {
26921
26950
  kind: "mutation",
26922
- auth: "admin"
26951
+ auth: "protected"
26923
26952
  }), method(object({
26924
26953
  deviceId: number().int().nonnegative(),
26925
26954
  on: boolean()
26926
26955
  }), _void(), {
26927
26956
  kind: "mutation",
26928
- auth: "admin"
26957
+ auth: "protected"
26929
26958
  }), method(object({
26930
26959
  deviceId: number().int().nonnegative(),
26931
26960
  on: boolean()
26932
26961
  }), _void(), {
26933
26962
  kind: "mutation",
26934
- auth: "admin"
26963
+ auth: "protected"
26935
26964
  }), method(object({
26936
26965
  deviceId: number().int().nonnegative(),
26937
26966
  level: number().int().nonnegative()
26938
26967
  }), _void(), {
26939
26968
  kind: "mutation",
26940
- auth: "admin"
26969
+ auth: "protected"
26941
26970
  });
26942
26971
  var VehicleSchema = object({
26943
26972
  id: string(),
@@ -28766,7 +28795,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28766
28795
  on: boolean()
28767
28796
  }), _void(), {
28768
28797
  kind: "mutation",
28769
- auth: "admin"
28798
+ auth: "protected"
28770
28799
  }), object({
28771
28800
  deviceId: number(),
28772
28801
  on: boolean(),
@@ -29623,25 +29652,25 @@ object({
29623
29652
  });
29624
29653
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29625
29654
  kind: "mutation",
29626
- auth: "admin"
29655
+ auth: "protected"
29627
29656
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29628
29657
  kind: "mutation",
29629
- auth: "admin"
29658
+ auth: "protected"
29630
29659
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29631
29660
  kind: "mutation",
29632
- auth: "admin"
29661
+ auth: "protected"
29633
29662
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29634
29663
  kind: "mutation",
29635
- auth: "admin"
29664
+ auth: "protected"
29636
29665
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29637
29666
  kind: "mutation",
29638
- auth: "admin"
29667
+ auth: "protected"
29639
29668
  }), method(object({
29640
29669
  deviceId: number().int().nonnegative(),
29641
29670
  speed: string().min(1)
29642
29671
  }), _void(), {
29643
29672
  kind: "mutation",
29644
- auth: "admin"
29673
+ auth: "protected"
29645
29674
  });
29646
29675
  object({
29647
29676
  /** Lifecycle state of the valve. */
@@ -29660,19 +29689,19 @@ object({
29660
29689
  });
29661
29690
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29662
29691
  kind: "mutation",
29663
- auth: "admin"
29692
+ auth: "protected"
29664
29693
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29665
29694
  kind: "mutation",
29666
- auth: "admin"
29695
+ auth: "protected"
29667
29696
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29668
29697
  kind: "mutation",
29669
- auth: "admin"
29698
+ auth: "protected"
29670
29699
  }), method(object({
29671
29700
  deviceId: number().int().nonnegative(),
29672
29701
  position: number().min(0).max(100)
29673
29702
  }), _void(), {
29674
29703
  kind: "mutation",
29675
- auth: "admin"
29704
+ auth: "protected"
29676
29705
  });
29677
29706
  object({
29678
29707
  detected: boolean(),
@@ -29706,19 +29735,19 @@ DeviceType.WaterHeater, method(object({
29706
29735
  temp: number().finite()
29707
29736
  }), _void(), {
29708
29737
  kind: "mutation",
29709
- auth: "admin"
29738
+ auth: "protected"
29710
29739
  }), method(object({
29711
29740
  deviceId: number().int().nonnegative(),
29712
29741
  mode: string().min(1)
29713
29742
  }), _void(), {
29714
29743
  kind: "mutation",
29715
- auth: "admin"
29744
+ auth: "protected"
29716
29745
  }), method(object({
29717
29746
  deviceId: number().int().nonnegative(),
29718
29747
  on: boolean()
29719
29748
  }), _void(), {
29720
29749
  kind: "mutation",
29721
- auth: "admin"
29750
+ auth: "protected"
29722
29751
  });
29723
29752
  object({
29724
29753
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -34172,6 +34201,12 @@ Object.freeze({
34172
34201
  addonId: null,
34173
34202
  access: "view"
34174
34203
  },
34204
+ "pipelineAnalytics.listArchivedDebugNotes": {
34205
+ capName: "pipeline-analytics",
34206
+ capScope: "device",
34207
+ addonId: null,
34208
+ access: "view"
34209
+ },
34175
34210
  "pipelineAnalytics.listEventKinds": {
34176
34211
  capName: "pipeline-analytics",
34177
34212
  capScope: "device",
@@ -37959,6 +37994,11 @@ Object.freeze({
37959
37994
  form: "array",
37960
37995
  optional: true
37961
37996
  }],
37997
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37998
+ name: "deviceId",
37999
+ form: "single",
38000
+ optional: true
38001
+ }],
37962
38002
  "pipelineAnalytics.listEventKinds": [{
37963
38003
  name: "deviceId",
37964
38004
  form: "single",
package/dist/addon.mjs 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.
@@ -15892,16 +15921,16 @@ DeviceType.AlarmPanel, method(object({
15892
15921
  code: string().min(1).optional()
15893
15922
  }), _void(), {
15894
15923
  kind: "mutation",
15895
- auth: "admin"
15924
+ auth: "protected"
15896
15925
  }), method(object({
15897
15926
  deviceId: number().int().nonnegative(),
15898
15927
  code: string().min(1).optional()
15899
15928
  }), _void(), {
15900
15929
  kind: "mutation",
15901
- auth: "admin"
15930
+ auth: "protected"
15902
15931
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15903
15932
  kind: "mutation",
15904
- auth: "admin"
15933
+ auth: "protected"
15905
15934
  });
15906
15935
  /**
15907
15936
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -19803,7 +19832,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19803
19832
  deviceId: number(),
19804
19833
  trackId: string(),
19805
19834
  flags: TrackFlagsPatchSchema
19806
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
19835
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
19807
19836
  kind: "query",
19808
19837
  auth: "admin"
19809
19838
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23660,7 +23689,7 @@ DeviceType.Light, method(object({
23660
23689
  percentage: number().min(0).max(100)
23661
23690
  }), _void(), {
23662
23691
  kind: "mutation",
23663
- auth: "admin"
23692
+ auth: "protected"
23664
23693
  }), object({
23665
23694
  deviceId: number(),
23666
23695
  percentage: number().min(0).max(100),
@@ -23668,7 +23697,7 @@ DeviceType.Light, method(object({
23668
23697
  });
23669
23698
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23670
23699
  kind: "mutation",
23671
- auth: "admin"
23700
+ auth: "protected"
23672
23701
  });
23673
23702
  /**
23674
23703
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23827,50 +23856,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23827
23856
  mode: HvacModeSchema
23828
23857
  }), _void(), {
23829
23858
  kind: "mutation",
23830
- auth: "admin"
23859
+ auth: "protected"
23831
23860
  }), method(object({
23832
23861
  deviceId: number().int().nonnegative(),
23833
23862
  fanMode: string().min(1)
23834
23863
  }), _void(), {
23835
23864
  kind: "mutation",
23836
- auth: "admin"
23865
+ auth: "protected"
23837
23866
  }), method(object({
23838
23867
  deviceId: number().int().nonnegative(),
23839
23868
  preset: string().min(1)
23840
23869
  }), _void(), {
23841
23870
  kind: "mutation",
23842
- auth: "admin"
23871
+ auth: "protected"
23843
23872
  }), method(object({
23844
23873
  deviceId: number().int().nonnegative(),
23845
23874
  target: number()
23846
23875
  }), _void(), {
23847
23876
  kind: "mutation",
23848
- auth: "admin"
23877
+ auth: "protected"
23849
23878
  }), method(object({
23850
23879
  deviceId: number().int().nonnegative(),
23851
23880
  targetLow: number(),
23852
23881
  targetHigh: number()
23853
23882
  }), _void(), {
23854
23883
  kind: "mutation",
23855
- auth: "admin"
23884
+ auth: "protected"
23856
23885
  }), method(object({
23857
23886
  deviceId: number().int().nonnegative(),
23858
23887
  targetHumidity: number().min(0).max(100)
23859
23888
  }), _void(), {
23860
23889
  kind: "mutation",
23861
- auth: "admin"
23890
+ auth: "protected"
23862
23891
  }), method(object({
23863
23892
  deviceId: number().int().nonnegative(),
23864
23893
  on: boolean()
23865
23894
  }), _void(), {
23866
23895
  kind: "mutation",
23867
- auth: "admin"
23896
+ auth: "protected"
23868
23897
  }), method(object({
23869
23898
  deviceId: number().int().nonnegative(),
23870
23899
  on: boolean()
23871
23900
  }), _void(), {
23872
23901
  kind: "mutation",
23873
- auth: "admin"
23902
+ auth: "protected"
23874
23903
  });
23875
23904
  /**
23876
23905
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23945,7 +23974,7 @@ DeviceType.Light, method(object({
23945
23974
  color: ColorInputSchema
23946
23975
  }), _void(), {
23947
23976
  kind: "mutation",
23948
- auth: "admin"
23977
+ auth: "protected"
23949
23978
  }), object({
23950
23979
  deviceId: number(),
23951
23980
  mode: _enum([
@@ -24094,7 +24123,7 @@ DeviceType.Control, method(object({
24094
24123
  control: ControlSetValueInputSchema
24095
24124
  }), _void(), {
24096
24125
  kind: "mutation",
24097
- auth: "admin"
24126
+ auth: "protected"
24098
24127
  });
24099
24128
  object({
24100
24129
  /** Lifecycle state of the cover. */
@@ -24115,25 +24144,25 @@ object({
24115
24144
  });
24116
24145
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24117
24146
  kind: "mutation",
24118
- auth: "admin"
24147
+ auth: "protected"
24119
24148
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24120
24149
  kind: "mutation",
24121
- auth: "admin"
24150
+ auth: "protected"
24122
24151
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24123
24152
  kind: "mutation",
24124
- auth: "admin"
24153
+ auth: "protected"
24125
24154
  }), method(object({
24126
24155
  deviceId: number().int().nonnegative(),
24127
24156
  position: number().min(0).max(100)
24128
24157
  }), _void(), {
24129
24158
  kind: "mutation",
24130
- auth: "admin"
24159
+ auth: "protected"
24131
24160
  }), method(object({
24132
24161
  deviceId: number().int().nonnegative(),
24133
24162
  tiltPosition: number().min(0).max(100)
24134
24163
  }), _void(), {
24135
24164
  kind: "mutation",
24136
- auth: "admin"
24165
+ auth: "protected"
24137
24166
  });
24138
24167
  /**
24139
24168
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24728,25 +24757,25 @@ DeviceType.Fan, method(object({
24728
24757
  percentage: number().min(0).max(100)
24729
24758
  }), _void(), {
24730
24759
  kind: "mutation",
24731
- auth: "admin"
24760
+ auth: "protected"
24732
24761
  }), method(object({
24733
24762
  deviceId: number().int().nonnegative(),
24734
24763
  preset: string().min(1)
24735
24764
  }), _void(), {
24736
24765
  kind: "mutation",
24737
- auth: "admin"
24766
+ auth: "protected"
24738
24767
  }), method(object({
24739
24768
  deviceId: number().int().nonnegative(),
24740
24769
  direction: FanDirectionSchema
24741
24770
  }), _void(), {
24742
24771
  kind: "mutation",
24743
- auth: "admin"
24772
+ auth: "protected"
24744
24773
  }), method(object({
24745
24774
  deviceId: number().int().nonnegative(),
24746
24775
  oscillating: boolean()
24747
24776
  }), _void(), {
24748
24777
  kind: "mutation",
24749
- auth: "admin"
24778
+ auth: "protected"
24750
24779
  });
24751
24780
  /**
24752
24781
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24849,19 +24878,19 @@ DeviceType.Humidifier, method(object({
24849
24878
  on: boolean()
24850
24879
  }), _void(), {
24851
24880
  kind: "mutation",
24852
- auth: "admin"
24881
+ auth: "protected"
24853
24882
  }), method(object({
24854
24883
  deviceId: number().int().nonnegative(),
24855
24884
  humidity: number().min(0).max(100)
24856
24885
  }), _void(), {
24857
24886
  kind: "mutation",
24858
- auth: "admin"
24887
+ auth: "protected"
24859
24888
  }), method(object({
24860
24889
  deviceId: number().int().nonnegative(),
24861
24890
  mode: string().min(1)
24862
24891
  }), _void(), {
24863
24892
  kind: "mutation",
24864
- auth: "admin"
24893
+ auth: "protected"
24865
24894
  });
24866
24895
  object({
24867
24896
  /** Current relative humidity, 0..100. */
@@ -25323,13 +25352,13 @@ object({
25323
25352
  });
25324
25353
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25325
25354
  kind: "mutation",
25326
- auth: "admin"
25355
+ auth: "protected"
25327
25356
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25328
25357
  kind: "mutation",
25329
- auth: "admin"
25358
+ auth: "protected"
25330
25359
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25331
25360
  kind: "mutation",
25332
- auth: "admin"
25361
+ auth: "protected"
25333
25362
  });
25334
25363
  /**
25335
25364
  * local-network — hub-only singleton.
@@ -25589,16 +25618,16 @@ DeviceType.Lock, method(object({
25589
25618
  code: string().min(1).optional()
25590
25619
  }), _void(), {
25591
25620
  kind: "mutation",
25592
- auth: "admin"
25621
+ auth: "protected"
25593
25622
  }), method(object({
25594
25623
  deviceId: number().int().nonnegative(),
25595
25624
  code: string().min(1).optional()
25596
25625
  }), _void(), {
25597
25626
  kind: "mutation",
25598
- auth: "admin"
25627
+ auth: "protected"
25599
25628
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25600
25629
  kind: "mutation",
25601
- auth: "admin"
25630
+ auth: "protected"
25602
25631
  });
25603
25632
  /**
25604
25633
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25672,55 +25701,55 @@ object({
25672
25701
  });
25673
25702
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25674
25703
  kind: "mutation",
25675
- auth: "admin"
25704
+ auth: "protected"
25676
25705
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25677
25706
  kind: "mutation",
25678
- auth: "admin"
25707
+ auth: "protected"
25679
25708
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25680
25709
  kind: "mutation",
25681
- auth: "admin"
25710
+ auth: "protected"
25682
25711
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25683
25712
  kind: "mutation",
25684
- auth: "admin"
25713
+ auth: "protected"
25685
25714
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25686
25715
  kind: "mutation",
25687
- auth: "admin"
25716
+ auth: "protected"
25688
25717
  }), method(object({
25689
25718
  deviceId: number().int().nonnegative(),
25690
25719
  positionMs: number().int().nonnegative()
25691
25720
  }), _void(), {
25692
25721
  kind: "mutation",
25693
- auth: "admin"
25722
+ auth: "protected"
25694
25723
  }), method(object({
25695
25724
  deviceId: number().int().nonnegative(),
25696
25725
  volumeLevel: number().min(0).max(100)
25697
25726
  }), _void(), {
25698
25727
  kind: "mutation",
25699
- auth: "admin"
25728
+ auth: "protected"
25700
25729
  }), method(object({
25701
25730
  deviceId: number().int().nonnegative(),
25702
25731
  muted: boolean()
25703
25732
  }), _void(), {
25704
25733
  kind: "mutation",
25705
- auth: "admin"
25734
+ auth: "protected"
25706
25735
  }), method(object({
25707
25736
  deviceId: number().int().nonnegative(),
25708
25737
  shuffle: boolean()
25709
25738
  }), _void(), {
25710
25739
  kind: "mutation",
25711
- auth: "admin"
25740
+ auth: "protected"
25712
25741
  }), method(object({
25713
25742
  deviceId: number().int().nonnegative(),
25714
25743
  repeat: MediaPlayerRepeatSchema
25715
25744
  }), _void(), {
25716
25745
  kind: "mutation",
25717
- auth: "admin"
25746
+ auth: "protected"
25718
25747
  }), method(object({
25719
25748
  deviceId: number().int().nonnegative(),
25720
25749
  source: string().min(1)
25721
25750
  }), _void(), {
25722
25751
  kind: "mutation",
25723
- auth: "admin"
25752
+ auth: "protected"
25724
25753
  }), method(object({
25725
25754
  deviceId: number().int().nonnegative(),
25726
25755
  /** Media identifier / URL. */
@@ -25730,7 +25759,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25730
25759
  mediaType: string().min(1)
25731
25760
  }), _void(), {
25732
25761
  kind: "mutation",
25733
- auth: "admin"
25762
+ auth: "protected"
25734
25763
  });
25735
25764
  /**
25736
25765
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26896,49 +26925,49 @@ DeviceType.PetFeeder, method(object({
26896
26925
  hopper2: gramsPortion.optional()
26897
26926
  }), _void(), {
26898
26927
  kind: "mutation",
26899
- auth: "admin"
26928
+ auth: "protected"
26900
26929
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26901
26930
  kind: "mutation",
26902
- auth: "admin"
26931
+ auth: "protected"
26903
26932
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26904
26933
  kind: "mutation",
26905
- auth: "admin"
26934
+ auth: "protected"
26906
26935
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26907
26936
  kind: "mutation",
26908
- auth: "admin"
26937
+ auth: "protected"
26909
26938
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26910
26939
  kind: "mutation",
26911
- auth: "admin"
26940
+ auth: "protected"
26912
26941
  }), method(object({
26913
26942
  deviceId: number().int().nonnegative(),
26914
26943
  soundId: number().int().nonnegative()
26915
26944
  }), _void(), {
26916
26945
  kind: "mutation",
26917
- auth: "admin"
26946
+ auth: "protected"
26918
26947
  }), method(object({
26919
26948
  deviceId: number().int().nonnegative(),
26920
26949
  on: boolean()
26921
26950
  }), _void(), {
26922
26951
  kind: "mutation",
26923
- auth: "admin"
26952
+ auth: "protected"
26924
26953
  }), method(object({
26925
26954
  deviceId: number().int().nonnegative(),
26926
26955
  on: boolean()
26927
26956
  }), _void(), {
26928
26957
  kind: "mutation",
26929
- auth: "admin"
26958
+ auth: "protected"
26930
26959
  }), method(object({
26931
26960
  deviceId: number().int().nonnegative(),
26932
26961
  on: boolean()
26933
26962
  }), _void(), {
26934
26963
  kind: "mutation",
26935
- auth: "admin"
26964
+ auth: "protected"
26936
26965
  }), method(object({
26937
26966
  deviceId: number().int().nonnegative(),
26938
26967
  level: number().int().nonnegative()
26939
26968
  }), _void(), {
26940
26969
  kind: "mutation",
26941
- auth: "admin"
26970
+ auth: "protected"
26942
26971
  });
26943
26972
  var VehicleSchema = object({
26944
26973
  id: string(),
@@ -28767,7 +28796,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28767
28796
  on: boolean()
28768
28797
  }), _void(), {
28769
28798
  kind: "mutation",
28770
- auth: "admin"
28799
+ auth: "protected"
28771
28800
  }), object({
28772
28801
  deviceId: number(),
28773
28802
  on: boolean(),
@@ -29624,25 +29653,25 @@ object({
29624
29653
  });
29625
29654
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29626
29655
  kind: "mutation",
29627
- auth: "admin"
29656
+ auth: "protected"
29628
29657
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29629
29658
  kind: "mutation",
29630
- auth: "admin"
29659
+ auth: "protected"
29631
29660
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29632
29661
  kind: "mutation",
29633
- auth: "admin"
29662
+ auth: "protected"
29634
29663
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29635
29664
  kind: "mutation",
29636
- auth: "admin"
29665
+ auth: "protected"
29637
29666
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29638
29667
  kind: "mutation",
29639
- auth: "admin"
29668
+ auth: "protected"
29640
29669
  }), method(object({
29641
29670
  deviceId: number().int().nonnegative(),
29642
29671
  speed: string().min(1)
29643
29672
  }), _void(), {
29644
29673
  kind: "mutation",
29645
- auth: "admin"
29674
+ auth: "protected"
29646
29675
  });
29647
29676
  object({
29648
29677
  /** Lifecycle state of the valve. */
@@ -29661,19 +29690,19 @@ object({
29661
29690
  });
29662
29691
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29663
29692
  kind: "mutation",
29664
- auth: "admin"
29693
+ auth: "protected"
29665
29694
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29666
29695
  kind: "mutation",
29667
- auth: "admin"
29696
+ auth: "protected"
29668
29697
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29669
29698
  kind: "mutation",
29670
- auth: "admin"
29699
+ auth: "protected"
29671
29700
  }), method(object({
29672
29701
  deviceId: number().int().nonnegative(),
29673
29702
  position: number().min(0).max(100)
29674
29703
  }), _void(), {
29675
29704
  kind: "mutation",
29676
- auth: "admin"
29705
+ auth: "protected"
29677
29706
  });
29678
29707
  object({
29679
29708
  detected: boolean(),
@@ -29707,19 +29736,19 @@ DeviceType.WaterHeater, method(object({
29707
29736
  temp: number().finite()
29708
29737
  }), _void(), {
29709
29738
  kind: "mutation",
29710
- auth: "admin"
29739
+ auth: "protected"
29711
29740
  }), method(object({
29712
29741
  deviceId: number().int().nonnegative(),
29713
29742
  mode: string().min(1)
29714
29743
  }), _void(), {
29715
29744
  kind: "mutation",
29716
- auth: "admin"
29745
+ auth: "protected"
29717
29746
  }), method(object({
29718
29747
  deviceId: number().int().nonnegative(),
29719
29748
  on: boolean()
29720
29749
  }), _void(), {
29721
29750
  kind: "mutation",
29722
- auth: "admin"
29751
+ auth: "protected"
29723
29752
  });
29724
29753
  object({
29725
29754
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -34173,6 +34202,12 @@ Object.freeze({
34173
34202
  addonId: null,
34174
34203
  access: "view"
34175
34204
  },
34205
+ "pipelineAnalytics.listArchivedDebugNotes": {
34206
+ capName: "pipeline-analytics",
34207
+ capScope: "device",
34208
+ addonId: null,
34209
+ access: "view"
34210
+ },
34176
34211
  "pipelineAnalytics.listEventKinds": {
34177
34212
  capName: "pipeline-analytics",
34178
34213
  capScope: "device",
@@ -37960,6 +37995,11 @@ Object.freeze({
37960
37995
  form: "array",
37961
37996
  optional: true
37962
37997
  }],
37998
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37999
+ name: "deviceId",
38000
+ form: "single",
38001
+ optional: true
38002
+ }],
37963
38003
  "pipelineAnalytics.listEventKinds": [{
37964
38004
  name: "deviceId",
37965
38005
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.84",
3
+ "version": "1.2.86",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",