@camstack/addon-auth 1.2.92 → 1.2.93

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.
@@ -15984,16 +15984,16 @@ DeviceType.AlarmPanel, method(object({
15984
15984
  code: string().min(1).optional()
15985
15985
  }), _void(), {
15986
15986
  kind: "mutation",
15987
- auth: "admin"
15987
+ auth: "protected"
15988
15988
  }), method(object({
15989
15989
  deviceId: number().int().nonnegative(),
15990
15990
  code: string().min(1).optional()
15991
15991
  }), _void(), {
15992
15992
  kind: "mutation",
15993
- auth: "admin"
15993
+ auth: "protected"
15994
15994
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15995
15995
  kind: "mutation",
15996
- auth: "admin"
15996
+ auth: "protected"
15997
15997
  });
15998
15998
  /**
15999
15999
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -23683,7 +23683,7 @@ DeviceType.Light, method(object({
23683
23683
  percentage: number().min(0).max(100)
23684
23684
  }), _void(), {
23685
23685
  kind: "mutation",
23686
- auth: "admin"
23686
+ auth: "protected"
23687
23687
  }), object({
23688
23688
  deviceId: number(),
23689
23689
  percentage: number().min(0).max(100),
@@ -23691,7 +23691,7 @@ DeviceType.Light, method(object({
23691
23691
  });
23692
23692
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23693
23693
  kind: "mutation",
23694
- auth: "admin"
23694
+ auth: "protected"
23695
23695
  });
23696
23696
  /**
23697
23697
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23850,50 +23850,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23850
23850
  mode: HvacModeSchema
23851
23851
  }), _void(), {
23852
23852
  kind: "mutation",
23853
- auth: "admin"
23853
+ auth: "protected"
23854
23854
  }), method(object({
23855
23855
  deviceId: number().int().nonnegative(),
23856
23856
  fanMode: string().min(1)
23857
23857
  }), _void(), {
23858
23858
  kind: "mutation",
23859
- auth: "admin"
23859
+ auth: "protected"
23860
23860
  }), method(object({
23861
23861
  deviceId: number().int().nonnegative(),
23862
23862
  preset: string().min(1)
23863
23863
  }), _void(), {
23864
23864
  kind: "mutation",
23865
- auth: "admin"
23865
+ auth: "protected"
23866
23866
  }), method(object({
23867
23867
  deviceId: number().int().nonnegative(),
23868
23868
  target: number()
23869
23869
  }), _void(), {
23870
23870
  kind: "mutation",
23871
- auth: "admin"
23871
+ auth: "protected"
23872
23872
  }), method(object({
23873
23873
  deviceId: number().int().nonnegative(),
23874
23874
  targetLow: number(),
23875
23875
  targetHigh: number()
23876
23876
  }), _void(), {
23877
23877
  kind: "mutation",
23878
- auth: "admin"
23878
+ auth: "protected"
23879
23879
  }), method(object({
23880
23880
  deviceId: number().int().nonnegative(),
23881
23881
  targetHumidity: number().min(0).max(100)
23882
23882
  }), _void(), {
23883
23883
  kind: "mutation",
23884
- auth: "admin"
23884
+ auth: "protected"
23885
23885
  }), method(object({
23886
23886
  deviceId: number().int().nonnegative(),
23887
23887
  on: boolean()
23888
23888
  }), _void(), {
23889
23889
  kind: "mutation",
23890
- auth: "admin"
23890
+ auth: "protected"
23891
23891
  }), method(object({
23892
23892
  deviceId: number().int().nonnegative(),
23893
23893
  on: boolean()
23894
23894
  }), _void(), {
23895
23895
  kind: "mutation",
23896
- auth: "admin"
23896
+ auth: "protected"
23897
23897
  });
23898
23898
  /**
23899
23899
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23968,7 +23968,7 @@ DeviceType.Light, method(object({
23968
23968
  color: ColorInputSchema
23969
23969
  }), _void(), {
23970
23970
  kind: "mutation",
23971
- auth: "admin"
23971
+ auth: "protected"
23972
23972
  }), object({
23973
23973
  deviceId: number(),
23974
23974
  mode: _enum([
@@ -24117,7 +24117,7 @@ DeviceType.Control, method(object({
24117
24117
  control: ControlSetValueInputSchema
24118
24118
  }), _void(), {
24119
24119
  kind: "mutation",
24120
- auth: "admin"
24120
+ auth: "protected"
24121
24121
  });
24122
24122
  object({
24123
24123
  /** Lifecycle state of the cover. */
@@ -24138,25 +24138,25 @@ object({
24138
24138
  });
24139
24139
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24140
24140
  kind: "mutation",
24141
- auth: "admin"
24141
+ auth: "protected"
24142
24142
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24143
24143
  kind: "mutation",
24144
- auth: "admin"
24144
+ auth: "protected"
24145
24145
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24146
24146
  kind: "mutation",
24147
- auth: "admin"
24147
+ auth: "protected"
24148
24148
  }), method(object({
24149
24149
  deviceId: number().int().nonnegative(),
24150
24150
  position: number().min(0).max(100)
24151
24151
  }), _void(), {
24152
24152
  kind: "mutation",
24153
- auth: "admin"
24153
+ auth: "protected"
24154
24154
  }), method(object({
24155
24155
  deviceId: number().int().nonnegative(),
24156
24156
  tiltPosition: number().min(0).max(100)
24157
24157
  }), _void(), {
24158
24158
  kind: "mutation",
24159
- auth: "admin"
24159
+ auth: "protected"
24160
24160
  });
24161
24161
  /**
24162
24162
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24751,25 +24751,25 @@ DeviceType.Fan, method(object({
24751
24751
  percentage: number().min(0).max(100)
24752
24752
  }), _void(), {
24753
24753
  kind: "mutation",
24754
- auth: "admin"
24754
+ auth: "protected"
24755
24755
  }), method(object({
24756
24756
  deviceId: number().int().nonnegative(),
24757
24757
  preset: string().min(1)
24758
24758
  }), _void(), {
24759
24759
  kind: "mutation",
24760
- auth: "admin"
24760
+ auth: "protected"
24761
24761
  }), method(object({
24762
24762
  deviceId: number().int().nonnegative(),
24763
24763
  direction: FanDirectionSchema
24764
24764
  }), _void(), {
24765
24765
  kind: "mutation",
24766
- auth: "admin"
24766
+ auth: "protected"
24767
24767
  }), method(object({
24768
24768
  deviceId: number().int().nonnegative(),
24769
24769
  oscillating: boolean()
24770
24770
  }), _void(), {
24771
24771
  kind: "mutation",
24772
- auth: "admin"
24772
+ auth: "protected"
24773
24773
  });
24774
24774
  /**
24775
24775
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24872,19 +24872,19 @@ DeviceType.Humidifier, method(object({
24872
24872
  on: boolean()
24873
24873
  }), _void(), {
24874
24874
  kind: "mutation",
24875
- auth: "admin"
24875
+ auth: "protected"
24876
24876
  }), method(object({
24877
24877
  deviceId: number().int().nonnegative(),
24878
24878
  humidity: number().min(0).max(100)
24879
24879
  }), _void(), {
24880
24880
  kind: "mutation",
24881
- auth: "admin"
24881
+ auth: "protected"
24882
24882
  }), method(object({
24883
24883
  deviceId: number().int().nonnegative(),
24884
24884
  mode: string().min(1)
24885
24885
  }), _void(), {
24886
24886
  kind: "mutation",
24887
- auth: "admin"
24887
+ auth: "protected"
24888
24888
  });
24889
24889
  object({
24890
24890
  /** Current relative humidity, 0..100. */
@@ -25346,13 +25346,13 @@ object({
25346
25346
  });
25347
25347
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25348
25348
  kind: "mutation",
25349
- auth: "admin"
25349
+ auth: "protected"
25350
25350
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25351
25351
  kind: "mutation",
25352
- auth: "admin"
25352
+ auth: "protected"
25353
25353
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25354
25354
  kind: "mutation",
25355
- auth: "admin"
25355
+ auth: "protected"
25356
25356
  });
25357
25357
  /**
25358
25358
  * local-network — hub-only singleton.
@@ -25612,16 +25612,16 @@ DeviceType.Lock, method(object({
25612
25612
  code: string().min(1).optional()
25613
25613
  }), _void(), {
25614
25614
  kind: "mutation",
25615
- auth: "admin"
25615
+ auth: "protected"
25616
25616
  }), method(object({
25617
25617
  deviceId: number().int().nonnegative(),
25618
25618
  code: string().min(1).optional()
25619
25619
  }), _void(), {
25620
25620
  kind: "mutation",
25621
- auth: "admin"
25621
+ auth: "protected"
25622
25622
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25623
25623
  kind: "mutation",
25624
- auth: "admin"
25624
+ auth: "protected"
25625
25625
  });
25626
25626
  /**
25627
25627
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25695,55 +25695,55 @@ object({
25695
25695
  });
25696
25696
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25697
25697
  kind: "mutation",
25698
- auth: "admin"
25698
+ auth: "protected"
25699
25699
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25700
25700
  kind: "mutation",
25701
- auth: "admin"
25701
+ auth: "protected"
25702
25702
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25703
25703
  kind: "mutation",
25704
- auth: "admin"
25704
+ auth: "protected"
25705
25705
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25706
25706
  kind: "mutation",
25707
- auth: "admin"
25707
+ auth: "protected"
25708
25708
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25709
25709
  kind: "mutation",
25710
- auth: "admin"
25710
+ auth: "protected"
25711
25711
  }), method(object({
25712
25712
  deviceId: number().int().nonnegative(),
25713
25713
  positionMs: number().int().nonnegative()
25714
25714
  }), _void(), {
25715
25715
  kind: "mutation",
25716
- auth: "admin"
25716
+ auth: "protected"
25717
25717
  }), method(object({
25718
25718
  deviceId: number().int().nonnegative(),
25719
25719
  volumeLevel: number().min(0).max(100)
25720
25720
  }), _void(), {
25721
25721
  kind: "mutation",
25722
- auth: "admin"
25722
+ auth: "protected"
25723
25723
  }), method(object({
25724
25724
  deviceId: number().int().nonnegative(),
25725
25725
  muted: boolean()
25726
25726
  }), _void(), {
25727
25727
  kind: "mutation",
25728
- auth: "admin"
25728
+ auth: "protected"
25729
25729
  }), method(object({
25730
25730
  deviceId: number().int().nonnegative(),
25731
25731
  shuffle: boolean()
25732
25732
  }), _void(), {
25733
25733
  kind: "mutation",
25734
- auth: "admin"
25734
+ auth: "protected"
25735
25735
  }), method(object({
25736
25736
  deviceId: number().int().nonnegative(),
25737
25737
  repeat: MediaPlayerRepeatSchema
25738
25738
  }), _void(), {
25739
25739
  kind: "mutation",
25740
- auth: "admin"
25740
+ auth: "protected"
25741
25741
  }), method(object({
25742
25742
  deviceId: number().int().nonnegative(),
25743
25743
  source: string().min(1)
25744
25744
  }), _void(), {
25745
25745
  kind: "mutation",
25746
- auth: "admin"
25746
+ auth: "protected"
25747
25747
  }), method(object({
25748
25748
  deviceId: number().int().nonnegative(),
25749
25749
  /** Media identifier / URL. */
@@ -25753,7 +25753,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25753
25753
  mediaType: string().min(1)
25754
25754
  }), _void(), {
25755
25755
  kind: "mutation",
25756
- auth: "admin"
25756
+ auth: "protected"
25757
25757
  });
25758
25758
  /**
25759
25759
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26919,49 +26919,49 @@ DeviceType.PetFeeder, method(object({
26919
26919
  hopper2: gramsPortion.optional()
26920
26920
  }), _void(), {
26921
26921
  kind: "mutation",
26922
- auth: "admin"
26922
+ auth: "protected"
26923
26923
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26924
26924
  kind: "mutation",
26925
- auth: "admin"
26925
+ auth: "protected"
26926
26926
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26927
26927
  kind: "mutation",
26928
- auth: "admin"
26928
+ auth: "protected"
26929
26929
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26930
26930
  kind: "mutation",
26931
- auth: "admin"
26931
+ auth: "protected"
26932
26932
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26933
26933
  kind: "mutation",
26934
- auth: "admin"
26934
+ auth: "protected"
26935
26935
  }), method(object({
26936
26936
  deviceId: number().int().nonnegative(),
26937
26937
  soundId: number().int().nonnegative()
26938
26938
  }), _void(), {
26939
26939
  kind: "mutation",
26940
- auth: "admin"
26940
+ auth: "protected"
26941
26941
  }), method(object({
26942
26942
  deviceId: number().int().nonnegative(),
26943
26943
  on: boolean()
26944
26944
  }), _void(), {
26945
26945
  kind: "mutation",
26946
- auth: "admin"
26946
+ auth: "protected"
26947
26947
  }), method(object({
26948
26948
  deviceId: number().int().nonnegative(),
26949
26949
  on: boolean()
26950
26950
  }), _void(), {
26951
26951
  kind: "mutation",
26952
- auth: "admin"
26952
+ auth: "protected"
26953
26953
  }), method(object({
26954
26954
  deviceId: number().int().nonnegative(),
26955
26955
  on: boolean()
26956
26956
  }), _void(), {
26957
26957
  kind: "mutation",
26958
- auth: "admin"
26958
+ auth: "protected"
26959
26959
  }), method(object({
26960
26960
  deviceId: number().int().nonnegative(),
26961
26961
  level: number().int().nonnegative()
26962
26962
  }), _void(), {
26963
26963
  kind: "mutation",
26964
- auth: "admin"
26964
+ auth: "protected"
26965
26965
  });
26966
26966
  var VehicleSchema = object({
26967
26967
  id: string(),
@@ -28748,7 +28748,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28748
28748
  on: boolean()
28749
28749
  }), _void(), {
28750
28750
  kind: "mutation",
28751
- auth: "admin"
28751
+ auth: "protected"
28752
28752
  }), object({
28753
28753
  deviceId: number(),
28754
28754
  on: boolean(),
@@ -29605,25 +29605,25 @@ object({
29605
29605
  });
29606
29606
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29607
29607
  kind: "mutation",
29608
- auth: "admin"
29608
+ auth: "protected"
29609
29609
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29610
29610
  kind: "mutation",
29611
- auth: "admin"
29611
+ auth: "protected"
29612
29612
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29613
29613
  kind: "mutation",
29614
- auth: "admin"
29614
+ auth: "protected"
29615
29615
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29616
29616
  kind: "mutation",
29617
- auth: "admin"
29617
+ auth: "protected"
29618
29618
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29619
29619
  kind: "mutation",
29620
- auth: "admin"
29620
+ auth: "protected"
29621
29621
  }), method(object({
29622
29622
  deviceId: number().int().nonnegative(),
29623
29623
  speed: string().min(1)
29624
29624
  }), _void(), {
29625
29625
  kind: "mutation",
29626
- auth: "admin"
29626
+ auth: "protected"
29627
29627
  });
29628
29628
  object({
29629
29629
  /** Lifecycle state of the valve. */
@@ -29642,19 +29642,19 @@ object({
29642
29642
  });
29643
29643
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29644
29644
  kind: "mutation",
29645
- auth: "admin"
29645
+ auth: "protected"
29646
29646
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29647
29647
  kind: "mutation",
29648
- auth: "admin"
29648
+ auth: "protected"
29649
29649
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29650
29650
  kind: "mutation",
29651
- auth: "admin"
29651
+ auth: "protected"
29652
29652
  }), method(object({
29653
29653
  deviceId: number().int().nonnegative(),
29654
29654
  position: number().min(0).max(100)
29655
29655
  }), _void(), {
29656
29656
  kind: "mutation",
29657
- auth: "admin"
29657
+ auth: "protected"
29658
29658
  });
29659
29659
  object({
29660
29660
  detected: boolean(),
@@ -29688,19 +29688,19 @@ DeviceType.WaterHeater, method(object({
29688
29688
  temp: number().finite()
29689
29689
  }), _void(), {
29690
29690
  kind: "mutation",
29691
- auth: "admin"
29691
+ auth: "protected"
29692
29692
  }), method(object({
29693
29693
  deviceId: number().int().nonnegative(),
29694
29694
  mode: string().min(1)
29695
29695
  }), _void(), {
29696
29696
  kind: "mutation",
29697
- auth: "admin"
29697
+ auth: "protected"
29698
29698
  }), method(object({
29699
29699
  deviceId: number().int().nonnegative(),
29700
29700
  on: boolean()
29701
29701
  }), _void(), {
29702
29702
  kind: "mutation",
29703
- auth: "admin"
29703
+ auth: "protected"
29704
29704
  });
29705
29705
  object({
29706
29706
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -15984,16 +15984,16 @@ DeviceType.AlarmPanel, method(object({
15984
15984
  code: string().min(1).optional()
15985
15985
  }), _void(), {
15986
15986
  kind: "mutation",
15987
- auth: "admin"
15987
+ auth: "protected"
15988
15988
  }), method(object({
15989
15989
  deviceId: number().int().nonnegative(),
15990
15990
  code: string().min(1).optional()
15991
15991
  }), _void(), {
15992
15992
  kind: "mutation",
15993
- auth: "admin"
15993
+ auth: "protected"
15994
15994
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15995
15995
  kind: "mutation",
15996
- auth: "admin"
15996
+ auth: "protected"
15997
15997
  });
15998
15998
  /**
15999
15999
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -23683,7 +23683,7 @@ DeviceType.Light, method(object({
23683
23683
  percentage: number().min(0).max(100)
23684
23684
  }), _void(), {
23685
23685
  kind: "mutation",
23686
- auth: "admin"
23686
+ auth: "protected"
23687
23687
  }), object({
23688
23688
  deviceId: number(),
23689
23689
  percentage: number().min(0).max(100),
@@ -23691,7 +23691,7 @@ DeviceType.Light, method(object({
23691
23691
  });
23692
23692
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23693
23693
  kind: "mutation",
23694
- auth: "admin"
23694
+ auth: "protected"
23695
23695
  });
23696
23696
  /**
23697
23697
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23850,50 +23850,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23850
23850
  mode: HvacModeSchema
23851
23851
  }), _void(), {
23852
23852
  kind: "mutation",
23853
- auth: "admin"
23853
+ auth: "protected"
23854
23854
  }), method(object({
23855
23855
  deviceId: number().int().nonnegative(),
23856
23856
  fanMode: string().min(1)
23857
23857
  }), _void(), {
23858
23858
  kind: "mutation",
23859
- auth: "admin"
23859
+ auth: "protected"
23860
23860
  }), method(object({
23861
23861
  deviceId: number().int().nonnegative(),
23862
23862
  preset: string().min(1)
23863
23863
  }), _void(), {
23864
23864
  kind: "mutation",
23865
- auth: "admin"
23865
+ auth: "protected"
23866
23866
  }), method(object({
23867
23867
  deviceId: number().int().nonnegative(),
23868
23868
  target: number()
23869
23869
  }), _void(), {
23870
23870
  kind: "mutation",
23871
- auth: "admin"
23871
+ auth: "protected"
23872
23872
  }), method(object({
23873
23873
  deviceId: number().int().nonnegative(),
23874
23874
  targetLow: number(),
23875
23875
  targetHigh: number()
23876
23876
  }), _void(), {
23877
23877
  kind: "mutation",
23878
- auth: "admin"
23878
+ auth: "protected"
23879
23879
  }), method(object({
23880
23880
  deviceId: number().int().nonnegative(),
23881
23881
  targetHumidity: number().min(0).max(100)
23882
23882
  }), _void(), {
23883
23883
  kind: "mutation",
23884
- auth: "admin"
23884
+ auth: "protected"
23885
23885
  }), method(object({
23886
23886
  deviceId: number().int().nonnegative(),
23887
23887
  on: boolean()
23888
23888
  }), _void(), {
23889
23889
  kind: "mutation",
23890
- auth: "admin"
23890
+ auth: "protected"
23891
23891
  }), method(object({
23892
23892
  deviceId: number().int().nonnegative(),
23893
23893
  on: boolean()
23894
23894
  }), _void(), {
23895
23895
  kind: "mutation",
23896
- auth: "admin"
23896
+ auth: "protected"
23897
23897
  });
23898
23898
  /**
23899
23899
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23968,7 +23968,7 @@ DeviceType.Light, method(object({
23968
23968
  color: ColorInputSchema
23969
23969
  }), _void(), {
23970
23970
  kind: "mutation",
23971
- auth: "admin"
23971
+ auth: "protected"
23972
23972
  }), object({
23973
23973
  deviceId: number(),
23974
23974
  mode: _enum([
@@ -24117,7 +24117,7 @@ DeviceType.Control, method(object({
24117
24117
  control: ControlSetValueInputSchema
24118
24118
  }), _void(), {
24119
24119
  kind: "mutation",
24120
- auth: "admin"
24120
+ auth: "protected"
24121
24121
  });
24122
24122
  object({
24123
24123
  /** Lifecycle state of the cover. */
@@ -24138,25 +24138,25 @@ object({
24138
24138
  });
24139
24139
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24140
24140
  kind: "mutation",
24141
- auth: "admin"
24141
+ auth: "protected"
24142
24142
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24143
24143
  kind: "mutation",
24144
- auth: "admin"
24144
+ auth: "protected"
24145
24145
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24146
24146
  kind: "mutation",
24147
- auth: "admin"
24147
+ auth: "protected"
24148
24148
  }), method(object({
24149
24149
  deviceId: number().int().nonnegative(),
24150
24150
  position: number().min(0).max(100)
24151
24151
  }), _void(), {
24152
24152
  kind: "mutation",
24153
- auth: "admin"
24153
+ auth: "protected"
24154
24154
  }), method(object({
24155
24155
  deviceId: number().int().nonnegative(),
24156
24156
  tiltPosition: number().min(0).max(100)
24157
24157
  }), _void(), {
24158
24158
  kind: "mutation",
24159
- auth: "admin"
24159
+ auth: "protected"
24160
24160
  });
24161
24161
  /**
24162
24162
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24751,25 +24751,25 @@ DeviceType.Fan, method(object({
24751
24751
  percentage: number().min(0).max(100)
24752
24752
  }), _void(), {
24753
24753
  kind: "mutation",
24754
- auth: "admin"
24754
+ auth: "protected"
24755
24755
  }), method(object({
24756
24756
  deviceId: number().int().nonnegative(),
24757
24757
  preset: string().min(1)
24758
24758
  }), _void(), {
24759
24759
  kind: "mutation",
24760
- auth: "admin"
24760
+ auth: "protected"
24761
24761
  }), method(object({
24762
24762
  deviceId: number().int().nonnegative(),
24763
24763
  direction: FanDirectionSchema
24764
24764
  }), _void(), {
24765
24765
  kind: "mutation",
24766
- auth: "admin"
24766
+ auth: "protected"
24767
24767
  }), method(object({
24768
24768
  deviceId: number().int().nonnegative(),
24769
24769
  oscillating: boolean()
24770
24770
  }), _void(), {
24771
24771
  kind: "mutation",
24772
- auth: "admin"
24772
+ auth: "protected"
24773
24773
  });
24774
24774
  /**
24775
24775
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24872,19 +24872,19 @@ DeviceType.Humidifier, method(object({
24872
24872
  on: boolean()
24873
24873
  }), _void(), {
24874
24874
  kind: "mutation",
24875
- auth: "admin"
24875
+ auth: "protected"
24876
24876
  }), method(object({
24877
24877
  deviceId: number().int().nonnegative(),
24878
24878
  humidity: number().min(0).max(100)
24879
24879
  }), _void(), {
24880
24880
  kind: "mutation",
24881
- auth: "admin"
24881
+ auth: "protected"
24882
24882
  }), method(object({
24883
24883
  deviceId: number().int().nonnegative(),
24884
24884
  mode: string().min(1)
24885
24885
  }), _void(), {
24886
24886
  kind: "mutation",
24887
- auth: "admin"
24887
+ auth: "protected"
24888
24888
  });
24889
24889
  object({
24890
24890
  /** Current relative humidity, 0..100. */
@@ -25346,13 +25346,13 @@ object({
25346
25346
  });
25347
25347
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25348
25348
  kind: "mutation",
25349
- auth: "admin"
25349
+ auth: "protected"
25350
25350
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25351
25351
  kind: "mutation",
25352
- auth: "admin"
25352
+ auth: "protected"
25353
25353
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25354
25354
  kind: "mutation",
25355
- auth: "admin"
25355
+ auth: "protected"
25356
25356
  });
25357
25357
  /**
25358
25358
  * local-network — hub-only singleton.
@@ -25612,16 +25612,16 @@ DeviceType.Lock, method(object({
25612
25612
  code: string().min(1).optional()
25613
25613
  }), _void(), {
25614
25614
  kind: "mutation",
25615
- auth: "admin"
25615
+ auth: "protected"
25616
25616
  }), method(object({
25617
25617
  deviceId: number().int().nonnegative(),
25618
25618
  code: string().min(1).optional()
25619
25619
  }), _void(), {
25620
25620
  kind: "mutation",
25621
- auth: "admin"
25621
+ auth: "protected"
25622
25622
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25623
25623
  kind: "mutation",
25624
- auth: "admin"
25624
+ auth: "protected"
25625
25625
  });
25626
25626
  /**
25627
25627
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25695,55 +25695,55 @@ object({
25695
25695
  });
25696
25696
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25697
25697
  kind: "mutation",
25698
- auth: "admin"
25698
+ auth: "protected"
25699
25699
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25700
25700
  kind: "mutation",
25701
- auth: "admin"
25701
+ auth: "protected"
25702
25702
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25703
25703
  kind: "mutation",
25704
- auth: "admin"
25704
+ auth: "protected"
25705
25705
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25706
25706
  kind: "mutation",
25707
- auth: "admin"
25707
+ auth: "protected"
25708
25708
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25709
25709
  kind: "mutation",
25710
- auth: "admin"
25710
+ auth: "protected"
25711
25711
  }), method(object({
25712
25712
  deviceId: number().int().nonnegative(),
25713
25713
  positionMs: number().int().nonnegative()
25714
25714
  }), _void(), {
25715
25715
  kind: "mutation",
25716
- auth: "admin"
25716
+ auth: "protected"
25717
25717
  }), method(object({
25718
25718
  deviceId: number().int().nonnegative(),
25719
25719
  volumeLevel: number().min(0).max(100)
25720
25720
  }), _void(), {
25721
25721
  kind: "mutation",
25722
- auth: "admin"
25722
+ auth: "protected"
25723
25723
  }), method(object({
25724
25724
  deviceId: number().int().nonnegative(),
25725
25725
  muted: boolean()
25726
25726
  }), _void(), {
25727
25727
  kind: "mutation",
25728
- auth: "admin"
25728
+ auth: "protected"
25729
25729
  }), method(object({
25730
25730
  deviceId: number().int().nonnegative(),
25731
25731
  shuffle: boolean()
25732
25732
  }), _void(), {
25733
25733
  kind: "mutation",
25734
- auth: "admin"
25734
+ auth: "protected"
25735
25735
  }), method(object({
25736
25736
  deviceId: number().int().nonnegative(),
25737
25737
  repeat: MediaPlayerRepeatSchema
25738
25738
  }), _void(), {
25739
25739
  kind: "mutation",
25740
- auth: "admin"
25740
+ auth: "protected"
25741
25741
  }), method(object({
25742
25742
  deviceId: number().int().nonnegative(),
25743
25743
  source: string().min(1)
25744
25744
  }), _void(), {
25745
25745
  kind: "mutation",
25746
- auth: "admin"
25746
+ auth: "protected"
25747
25747
  }), method(object({
25748
25748
  deviceId: number().int().nonnegative(),
25749
25749
  /** Media identifier / URL. */
@@ -25753,7 +25753,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25753
25753
  mediaType: string().min(1)
25754
25754
  }), _void(), {
25755
25755
  kind: "mutation",
25756
- auth: "admin"
25756
+ auth: "protected"
25757
25757
  });
25758
25758
  /**
25759
25759
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26919,49 +26919,49 @@ DeviceType.PetFeeder, method(object({
26919
26919
  hopper2: gramsPortion.optional()
26920
26920
  }), _void(), {
26921
26921
  kind: "mutation",
26922
- auth: "admin"
26922
+ auth: "protected"
26923
26923
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26924
26924
  kind: "mutation",
26925
- auth: "admin"
26925
+ auth: "protected"
26926
26926
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26927
26927
  kind: "mutation",
26928
- auth: "admin"
26928
+ auth: "protected"
26929
26929
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26930
26930
  kind: "mutation",
26931
- auth: "admin"
26931
+ auth: "protected"
26932
26932
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26933
26933
  kind: "mutation",
26934
- auth: "admin"
26934
+ auth: "protected"
26935
26935
  }), method(object({
26936
26936
  deviceId: number().int().nonnegative(),
26937
26937
  soundId: number().int().nonnegative()
26938
26938
  }), _void(), {
26939
26939
  kind: "mutation",
26940
- auth: "admin"
26940
+ auth: "protected"
26941
26941
  }), method(object({
26942
26942
  deviceId: number().int().nonnegative(),
26943
26943
  on: boolean()
26944
26944
  }), _void(), {
26945
26945
  kind: "mutation",
26946
- auth: "admin"
26946
+ auth: "protected"
26947
26947
  }), method(object({
26948
26948
  deviceId: number().int().nonnegative(),
26949
26949
  on: boolean()
26950
26950
  }), _void(), {
26951
26951
  kind: "mutation",
26952
- auth: "admin"
26952
+ auth: "protected"
26953
26953
  }), method(object({
26954
26954
  deviceId: number().int().nonnegative(),
26955
26955
  on: boolean()
26956
26956
  }), _void(), {
26957
26957
  kind: "mutation",
26958
- auth: "admin"
26958
+ auth: "protected"
26959
26959
  }), method(object({
26960
26960
  deviceId: number().int().nonnegative(),
26961
26961
  level: number().int().nonnegative()
26962
26962
  }), _void(), {
26963
26963
  kind: "mutation",
26964
- auth: "admin"
26964
+ auth: "protected"
26965
26965
  });
26966
26966
  var VehicleSchema = object({
26967
26967
  id: string(),
@@ -28748,7 +28748,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28748
28748
  on: boolean()
28749
28749
  }), _void(), {
28750
28750
  kind: "mutation",
28751
- auth: "admin"
28751
+ auth: "protected"
28752
28752
  }), object({
28753
28753
  deviceId: number(),
28754
28754
  on: boolean(),
@@ -29605,25 +29605,25 @@ object({
29605
29605
  });
29606
29606
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29607
29607
  kind: "mutation",
29608
- auth: "admin"
29608
+ auth: "protected"
29609
29609
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29610
29610
  kind: "mutation",
29611
- auth: "admin"
29611
+ auth: "protected"
29612
29612
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29613
29613
  kind: "mutation",
29614
- auth: "admin"
29614
+ auth: "protected"
29615
29615
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29616
29616
  kind: "mutation",
29617
- auth: "admin"
29617
+ auth: "protected"
29618
29618
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29619
29619
  kind: "mutation",
29620
- auth: "admin"
29620
+ auth: "protected"
29621
29621
  }), method(object({
29622
29622
  deviceId: number().int().nonnegative(),
29623
29623
  speed: string().min(1)
29624
29624
  }), _void(), {
29625
29625
  kind: "mutation",
29626
- auth: "admin"
29626
+ auth: "protected"
29627
29627
  });
29628
29628
  object({
29629
29629
  /** Lifecycle state of the valve. */
@@ -29642,19 +29642,19 @@ object({
29642
29642
  });
29643
29643
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29644
29644
  kind: "mutation",
29645
- auth: "admin"
29645
+ auth: "protected"
29646
29646
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29647
29647
  kind: "mutation",
29648
- auth: "admin"
29648
+ auth: "protected"
29649
29649
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29650
29650
  kind: "mutation",
29651
- auth: "admin"
29651
+ auth: "protected"
29652
29652
  }), method(object({
29653
29653
  deviceId: number().int().nonnegative(),
29654
29654
  position: number().min(0).max(100)
29655
29655
  }), _void(), {
29656
29656
  kind: "mutation",
29657
- auth: "admin"
29657
+ auth: "protected"
29658
29658
  });
29659
29659
  object({
29660
29660
  detected: boolean(),
@@ -29688,19 +29688,19 @@ DeviceType.WaterHeater, method(object({
29688
29688
  temp: number().finite()
29689
29689
  }), _void(), {
29690
29690
  kind: "mutation",
29691
- auth: "admin"
29691
+ auth: "protected"
29692
29692
  }), method(object({
29693
29693
  deviceId: number().int().nonnegative(),
29694
29694
  mode: string().min(1)
29695
29695
  }), _void(), {
29696
29696
  kind: "mutation",
29697
- auth: "admin"
29697
+ auth: "protected"
29698
29698
  }), method(object({
29699
29699
  deviceId: number().int().nonnegative(),
29700
29700
  on: boolean()
29701
29701
  }), _void(), {
29702
29702
  kind: "mutation",
29703
- auth: "admin"
29703
+ auth: "protected"
29704
29704
  });
29705
29705
  object({
29706
29706
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-BLkIFhU8.js");
6
+ const require_dist = require("../dist-CbZoRQKK.js");
7
7
  //#region src/magic-link/auth-magic-link.addon.ts
8
8
  /**
9
9
  * Magic-link authentication addon.
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-CeN_lOSL.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-B1pQB3VO.mjs";
2
2
  //#region src/magic-link/auth-magic-link.addon.ts
3
3
  /**
4
4
  * Magic-link authentication addon.
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-BLkIFhU8.js");
6
+ const require_dist = require("../dist-CbZoRQKK.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  node_crypto = require_chunk.__toESM(node_crypto);
9
9
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-CeN_lOSL.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-B1pQB3VO.mjs";
2
2
  import * as crypto$1 from "node:crypto";
3
3
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
4
4
  var encoder = new TextEncoder();
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.88",
6
+ version: "1.2.89",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_auth_webauthn_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.168",
21
+ version: "1.2.169",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_auth_webauthn_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.136",
36
+ version: "1.2.137",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_auth_webauthn_widgets",
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-BLkIFhU8.js");
6
+ const require_dist = require("../dist-CbZoRQKK.js");
7
7
  let stream = require("stream");
8
8
  stream = require_chunk.__toESM(stream, 1);
9
9
  let http = require("http");
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-CeN_lOSL.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-B1pQB3VO.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import Stream from "stream";
4
4
  import http from "http";
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.168",
39
+ version: "1.2.169",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.88",
48
+ version: "1.2.89",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.136",
84
+ version: "1.2.137",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-MAdEy51R.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-tMrwaRTX.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-auth",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "description": "Authentication bundle — magic-link, OIDC, and WebAuthn/passkey. Multi-entry npm package shipping 3 addons under a single bundle; each addon keeps its own id, capabilities, and runner.",
5
5
  "keywords": [
6
6
  "camstack",