@camstack/addon-provider-unifi 0.2.85 → 0.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.
package/dist/addon.js CHANGED
@@ -16108,14 +16108,14 @@ var alarmPanelCapability = {
16108
16108
  code: string().min(1).optional()
16109
16109
  }), _void(), {
16110
16110
  kind: "mutation",
16111
- auth: "admin"
16111
+ auth: "protected"
16112
16112
  }),
16113
16113
  disarm: method(object({
16114
16114
  deviceId: number().int().nonnegative(),
16115
16115
  code: string().min(1).optional()
16116
16116
  }), _void(), {
16117
16117
  kind: "mutation",
16118
- auth: "admin"
16118
+ auth: "protected"
16119
16119
  }),
16120
16120
  /**
16121
16121
  * Force the panel into the `triggered` state — used by HA
@@ -16126,7 +16126,7 @@ var alarmPanelCapability = {
16126
16126
  */
16127
16127
  trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
16128
16128
  kind: "mutation",
16129
- auth: "admin"
16129
+ auth: "protected"
16130
16130
  })
16131
16131
  },
16132
16132
  status: {
@@ -24093,7 +24093,7 @@ var brightnessCapability = {
24093
24093
  percentage: number().min(0).max(100)
24094
24094
  }), _void(), {
24095
24095
  kind: "mutation",
24096
- auth: "admin"
24096
+ auth: "protected"
24097
24097
  }) },
24098
24098
  events: {
24099
24099
  /**
@@ -24142,7 +24142,7 @@ var buttonCapability = {
24142
24142
  deviceTypes: [DeviceType.Button],
24143
24143
  methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24144
24144
  kind: "mutation",
24145
- auth: "admin"
24145
+ auth: "protected"
24146
24146
  }) }
24147
24147
  };
24148
24148
  /**
@@ -24335,28 +24335,28 @@ var climateControlCapability = {
24335
24335
  mode: HvacModeSchema
24336
24336
  }), _void(), {
24337
24337
  kind: "mutation",
24338
- auth: "admin"
24338
+ auth: "protected"
24339
24339
  }),
24340
24340
  setFanMode: method(object({
24341
24341
  deviceId: number().int().nonnegative(),
24342
24342
  fanMode: string().min(1)
24343
24343
  }), _void(), {
24344
24344
  kind: "mutation",
24345
- auth: "admin"
24345
+ auth: "protected"
24346
24346
  }),
24347
24347
  setPreset: method(object({
24348
24348
  deviceId: number().int().nonnegative(),
24349
24349
  preset: string().min(1)
24350
24350
  }), _void(), {
24351
24351
  kind: "mutation",
24352
- auth: "admin"
24352
+ auth: "protected"
24353
24353
  }),
24354
24354
  setTarget: method(object({
24355
24355
  deviceId: number().int().nonnegative(),
24356
24356
  target: number()
24357
24357
  }), _void(), {
24358
24358
  kind: "mutation",
24359
- auth: "admin"
24359
+ auth: "protected"
24360
24360
  }),
24361
24361
  setTargetRange: method(object({
24362
24362
  deviceId: number().int().nonnegative(),
@@ -24364,28 +24364,28 @@ var climateControlCapability = {
24364
24364
  targetHigh: number()
24365
24365
  }), _void(), {
24366
24366
  kind: "mutation",
24367
- auth: "admin"
24367
+ auth: "protected"
24368
24368
  }),
24369
24369
  setTargetHumidity: method(object({
24370
24370
  deviceId: number().int().nonnegative(),
24371
24371
  targetHumidity: number().min(0).max(100)
24372
24372
  }), _void(), {
24373
24373
  kind: "mutation",
24374
- auth: "admin"
24374
+ auth: "protected"
24375
24375
  }),
24376
24376
  setSwingVertical: method(object({
24377
24377
  deviceId: number().int().nonnegative(),
24378
24378
  on: boolean()
24379
24379
  }), _void(), {
24380
24380
  kind: "mutation",
24381
- auth: "admin"
24381
+ auth: "protected"
24382
24382
  }),
24383
24383
  setSwingHorizontal: method(object({
24384
24384
  deviceId: number().int().nonnegative(),
24385
24385
  on: boolean()
24386
24386
  }), _void(), {
24387
24387
  kind: "mutation",
24388
- auth: "admin"
24388
+ auth: "protected"
24389
24389
  })
24390
24390
  },
24391
24391
  status: {
@@ -24485,7 +24485,7 @@ var colorCapability = {
24485
24485
  color: ColorInputSchema
24486
24486
  }), _void(), {
24487
24487
  kind: "mutation",
24488
- auth: "admin"
24488
+ auth: "protected"
24489
24489
  }) },
24490
24490
  events: {
24491
24491
  /**
@@ -24814,7 +24814,7 @@ var controlCapability = {
24814
24814
  control: ControlSetValueInputSchema
24815
24815
  }), _void(), {
24816
24816
  kind: "mutation",
24817
- auth: "admin"
24817
+ auth: "protected"
24818
24818
  }) },
24819
24819
  status: {
24820
24820
  schema: ControlStatusSchema,
@@ -24860,29 +24860,29 @@ var coverCapability = {
24860
24860
  methods: {
24861
24861
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24862
24862
  kind: "mutation",
24863
- auth: "admin"
24863
+ auth: "protected"
24864
24864
  }),
24865
24865
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24866
24866
  kind: "mutation",
24867
- auth: "admin"
24867
+ auth: "protected"
24868
24868
  }),
24869
24869
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24870
24870
  kind: "mutation",
24871
- auth: "admin"
24871
+ auth: "protected"
24872
24872
  }),
24873
24873
  setPosition: method(object({
24874
24874
  deviceId: number().int().nonnegative(),
24875
24875
  position: number().min(0).max(100)
24876
24876
  }), _void(), {
24877
24877
  kind: "mutation",
24878
- auth: "admin"
24878
+ auth: "protected"
24879
24879
  }),
24880
24880
  setTiltPosition: method(object({
24881
24881
  deviceId: number().int().nonnegative(),
24882
24882
  tiltPosition: number().min(0).max(100)
24883
24883
  }), _void(), {
24884
24884
  kind: "mutation",
24885
- auth: "admin"
24885
+ auth: "protected"
24886
24886
  })
24887
24887
  },
24888
24888
  status: {
@@ -25665,28 +25665,28 @@ var fanControlCapability = {
25665
25665
  percentage: number().min(0).max(100)
25666
25666
  }), _void(), {
25667
25667
  kind: "mutation",
25668
- auth: "admin"
25668
+ auth: "protected"
25669
25669
  }),
25670
25670
  setPreset: method(object({
25671
25671
  deviceId: number().int().nonnegative(),
25672
25672
  preset: string().min(1)
25673
25673
  }), _void(), {
25674
25674
  kind: "mutation",
25675
- auth: "admin"
25675
+ auth: "protected"
25676
25676
  }),
25677
25677
  setDirection: method(object({
25678
25678
  deviceId: number().int().nonnegative(),
25679
25679
  direction: FanDirectionSchema
25680
25680
  }), _void(), {
25681
25681
  kind: "mutation",
25682
- auth: "admin"
25682
+ auth: "protected"
25683
25683
  }),
25684
25684
  setOscillating: method(object({
25685
25685
  deviceId: number().int().nonnegative(),
25686
25686
  oscillating: boolean()
25687
25687
  }), _void(), {
25688
25688
  kind: "mutation",
25689
- auth: "admin"
25689
+ auth: "protected"
25690
25690
  })
25691
25691
  },
25692
25692
  status: {
@@ -25908,21 +25908,21 @@ var humidifierCapability = {
25908
25908
  on: boolean()
25909
25909
  }), _void(), {
25910
25910
  kind: "mutation",
25911
- auth: "admin"
25911
+ auth: "protected"
25912
25912
  }),
25913
25913
  setTargetHumidity: method(object({
25914
25914
  deviceId: number().int().nonnegative(),
25915
25915
  humidity: number().min(0).max(100)
25916
25916
  }), _void(), {
25917
25917
  kind: "mutation",
25918
- auth: "admin"
25918
+ auth: "protected"
25919
25919
  }),
25920
25920
  setMode: method(object({
25921
25921
  deviceId: number().int().nonnegative(),
25922
25922
  mode: string().min(1)
25923
25923
  }), _void(), {
25924
25924
  kind: "mutation",
25925
- auth: "admin"
25925
+ auth: "protected"
25926
25926
  })
25927
25927
  },
25928
25928
  status: {
@@ -26623,15 +26623,15 @@ var lawnMowerControlCapability = {
26623
26623
  methods: {
26624
26624
  startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26625
26625
  kind: "mutation",
26626
- auth: "admin"
26626
+ auth: "protected"
26627
26627
  }),
26628
26628
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26629
26629
  kind: "mutation",
26630
- auth: "admin"
26630
+ auth: "protected"
26631
26631
  }),
26632
26632
  dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26633
26633
  kind: "mutation",
26634
- auth: "admin"
26634
+ auth: "protected"
26635
26635
  })
26636
26636
  },
26637
26637
  status: {
@@ -26916,18 +26916,18 @@ var lockControlCapability = {
26916
26916
  code: string().min(1).optional()
26917
26917
  }), _void(), {
26918
26918
  kind: "mutation",
26919
- auth: "admin"
26919
+ auth: "protected"
26920
26920
  }),
26921
26921
  unlock: method(object({
26922
26922
  deviceId: number().int().nonnegative(),
26923
26923
  code: string().min(1).optional()
26924
26924
  }), _void(), {
26925
26925
  kind: "mutation",
26926
- auth: "admin"
26926
+ auth: "protected"
26927
26927
  }),
26928
26928
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26929
26929
  kind: "mutation",
26930
- auth: "admin"
26930
+ auth: "protected"
26931
26931
  })
26932
26932
  },
26933
26933
  status: {
@@ -27030,65 +27030,65 @@ var mediaPlayerCapability = {
27030
27030
  methods: {
27031
27031
  play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27032
27032
  kind: "mutation",
27033
- auth: "admin"
27033
+ auth: "protected"
27034
27034
  }),
27035
27035
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27036
27036
  kind: "mutation",
27037
- auth: "admin"
27037
+ auth: "protected"
27038
27038
  }),
27039
27039
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27040
27040
  kind: "mutation",
27041
- auth: "admin"
27041
+ auth: "protected"
27042
27042
  }),
27043
27043
  next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27044
27044
  kind: "mutation",
27045
- auth: "admin"
27045
+ auth: "protected"
27046
27046
  }),
27047
27047
  previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27048
27048
  kind: "mutation",
27049
- auth: "admin"
27049
+ auth: "protected"
27050
27050
  }),
27051
27051
  seek: method(object({
27052
27052
  deviceId: number().int().nonnegative(),
27053
27053
  positionMs: number().int().nonnegative()
27054
27054
  }), _void(), {
27055
27055
  kind: "mutation",
27056
- auth: "admin"
27056
+ auth: "protected"
27057
27057
  }),
27058
27058
  setVolume: method(object({
27059
27059
  deviceId: number().int().nonnegative(),
27060
27060
  volumeLevel: number().min(0).max(100)
27061
27061
  }), _void(), {
27062
27062
  kind: "mutation",
27063
- auth: "admin"
27063
+ auth: "protected"
27064
27064
  }),
27065
27065
  setMute: method(object({
27066
27066
  deviceId: number().int().nonnegative(),
27067
27067
  muted: boolean()
27068
27068
  }), _void(), {
27069
27069
  kind: "mutation",
27070
- auth: "admin"
27070
+ auth: "protected"
27071
27071
  }),
27072
27072
  setShuffle: method(object({
27073
27073
  deviceId: number().int().nonnegative(),
27074
27074
  shuffle: boolean()
27075
27075
  }), _void(), {
27076
27076
  kind: "mutation",
27077
- auth: "admin"
27077
+ auth: "protected"
27078
27078
  }),
27079
27079
  setRepeat: method(object({
27080
27080
  deviceId: number().int().nonnegative(),
27081
27081
  repeat: MediaPlayerRepeatSchema
27082
27082
  }), _void(), {
27083
27083
  kind: "mutation",
27084
- auth: "admin"
27084
+ auth: "protected"
27085
27085
  }),
27086
27086
  selectSource: method(object({
27087
27087
  deviceId: number().int().nonnegative(),
27088
27088
  source: string().min(1)
27089
27089
  }), _void(), {
27090
27090
  kind: "mutation",
27091
- auth: "admin"
27091
+ auth: "protected"
27092
27092
  }),
27093
27093
  playMedia: method(object({
27094
27094
  deviceId: number().int().nonnegative(),
@@ -27099,7 +27099,7 @@ var mediaPlayerCapability = {
27099
27099
  mediaType: string().min(1)
27100
27100
  }), _void(), {
27101
27101
  kind: "mutation",
27102
- auth: "admin"
27102
+ auth: "protected"
27103
27103
  })
27104
27104
  },
27105
27105
  status: {
@@ -28692,27 +28692,27 @@ var petFeederCapability = {
28692
28692
  hopper2: gramsPortion.optional()
28693
28693
  }), _void(), {
28694
28694
  kind: "mutation",
28695
- auth: "admin"
28695
+ auth: "protected"
28696
28696
  }),
28697
28697
  /** Cancel an in-progress manual feed. */
28698
28698
  cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28699
28699
  kind: "mutation",
28700
- auth: "admin"
28700
+ auth: "protected"
28701
28701
  }),
28702
28702
  /** Reset the desiccant "days remaining" counter after replacing it. */
28703
28703
  resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28704
28704
  kind: "mutation",
28705
- auth: "admin"
28705
+ auth: "protected"
28706
28706
  }),
28707
28707
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
28708
28708
  markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28709
28709
  kind: "mutation",
28710
- auth: "admin"
28710
+ auth: "protected"
28711
28711
  }),
28712
28712
  /** Call the pet with the recorded prompt (D3). */
28713
28713
  callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28714
28714
  kind: "mutation",
28715
- auth: "admin"
28715
+ auth: "protected"
28716
28716
  }),
28717
28717
  /** Play a stored sound by id (D3 / D4H / D4SH). */
28718
28718
  playSound: method(object({
@@ -28720,7 +28720,7 @@ var petFeederCapability = {
28720
28720
  soundId: number().int().nonnegative()
28721
28721
  }), _void(), {
28722
28722
  kind: "mutation",
28723
- auth: "admin"
28723
+ auth: "protected"
28724
28724
  }),
28725
28725
  /** Toggle the child-lock (manual-lock) setting. */
28726
28726
  setChildLock: method(object({
@@ -28728,7 +28728,7 @@ var petFeederCapability = {
28728
28728
  on: boolean()
28729
28729
  }), _void(), {
28730
28730
  kind: "mutation",
28731
- auth: "admin"
28731
+ auth: "protected"
28732
28732
  }),
28733
28733
  /** Toggle the front indicator light. */
28734
28734
  setIndicatorLight: method(object({
@@ -28736,7 +28736,7 @@ var petFeederCapability = {
28736
28736
  on: boolean()
28737
28737
  }), _void(), {
28738
28738
  kind: "mutation",
28739
- auth: "admin"
28739
+ auth: "protected"
28740
28740
  }),
28741
28741
  /** Toggle the dispense chime. */
28742
28742
  setFeedSound: method(object({
@@ -28744,7 +28744,7 @@ var petFeederCapability = {
28744
28744
  on: boolean()
28745
28745
  }), _void(), {
28746
28746
  kind: "mutation",
28747
- auth: "admin"
28747
+ auth: "protected"
28748
28748
  }),
28749
28749
  /** Set the speaker / prompt volume level. */
28750
28750
  setVolume: method(object({
@@ -28752,7 +28752,7 @@ var petFeederCapability = {
28752
28752
  level: number().int().nonnegative()
28753
28753
  }), _void(), {
28754
28754
  kind: "mutation",
28755
- auth: "admin"
28755
+ auth: "protected"
28756
28756
  })
28757
28757
  },
28758
28758
  status: {
@@ -31048,7 +31048,7 @@ var switchCapability = {
31048
31048
  on: boolean()
31049
31049
  }), _void(), {
31050
31050
  kind: "mutation",
31051
- auth: "admin"
31051
+ auth: "protected"
31052
31052
  }) },
31053
31053
  events: { onStateChanged: { data: object({
31054
31054
  deviceId: number(),
@@ -32036,30 +32036,30 @@ var vacuumControlCapability = {
32036
32036
  methods: {
32037
32037
  start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32038
32038
  kind: "mutation",
32039
- auth: "admin"
32039
+ auth: "protected"
32040
32040
  }),
32041
32041
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32042
32042
  kind: "mutation",
32043
- auth: "admin"
32043
+ auth: "protected"
32044
32044
  }),
32045
32045
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32046
32046
  kind: "mutation",
32047
- auth: "admin"
32047
+ auth: "protected"
32048
32048
  }),
32049
32049
  returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32050
32050
  kind: "mutation",
32051
- auth: "admin"
32051
+ auth: "protected"
32052
32052
  }),
32053
32053
  locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32054
32054
  kind: "mutation",
32055
- auth: "admin"
32055
+ auth: "protected"
32056
32056
  }),
32057
32057
  setFanSpeed: method(object({
32058
32058
  deviceId: number().int().nonnegative(),
32059
32059
  speed: string().min(1)
32060
32060
  }), _void(), {
32061
32061
  kind: "mutation",
32062
- auth: "admin"
32062
+ auth: "protected"
32063
32063
  })
32064
32064
  },
32065
32065
  status: {
@@ -32103,22 +32103,22 @@ var valveCapability = {
32103
32103
  methods: {
32104
32104
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32105
32105
  kind: "mutation",
32106
- auth: "admin"
32106
+ auth: "protected"
32107
32107
  }),
32108
32108
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32109
32109
  kind: "mutation",
32110
- auth: "admin"
32110
+ auth: "protected"
32111
32111
  }),
32112
32112
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32113
32113
  kind: "mutation",
32114
- auth: "admin"
32114
+ auth: "protected"
32115
32115
  }),
32116
32116
  setPosition: method(object({
32117
32117
  deviceId: number().int().nonnegative(),
32118
32118
  position: number().min(0).max(100)
32119
32119
  }), _void(), {
32120
32120
  kind: "mutation",
32121
- auth: "admin"
32121
+ auth: "protected"
32122
32122
  })
32123
32123
  },
32124
32124
  status: {
@@ -32217,21 +32217,21 @@ var waterHeaterCapability = {
32217
32217
  temp: number().finite()
32218
32218
  }), _void(), {
32219
32219
  kind: "mutation",
32220
- auth: "admin"
32220
+ auth: "protected"
32221
32221
  }),
32222
32222
  setOperationMode: method(object({
32223
32223
  deviceId: number().int().nonnegative(),
32224
32224
  mode: string().min(1)
32225
32225
  }), _void(), {
32226
32226
  kind: "mutation",
32227
- auth: "admin"
32227
+ auth: "protected"
32228
32228
  }),
32229
32229
  setAway: method(object({
32230
32230
  deviceId: number().int().nonnegative(),
32231
32231
  on: boolean()
32232
32232
  }), _void(), {
32233
32233
  kind: "mutation",
32234
- auth: "admin"
32234
+ auth: "protected"
32235
32235
  })
32236
32236
  },
32237
32237
  status: {
package/dist/addon.mjs CHANGED
@@ -16107,14 +16107,14 @@ var alarmPanelCapability = {
16107
16107
  code: string().min(1).optional()
16108
16108
  }), _void(), {
16109
16109
  kind: "mutation",
16110
- auth: "admin"
16110
+ auth: "protected"
16111
16111
  }),
16112
16112
  disarm: method(object({
16113
16113
  deviceId: number().int().nonnegative(),
16114
16114
  code: string().min(1).optional()
16115
16115
  }), _void(), {
16116
16116
  kind: "mutation",
16117
- auth: "admin"
16117
+ auth: "protected"
16118
16118
  }),
16119
16119
  /**
16120
16120
  * Force the panel into the `triggered` state — used by HA
@@ -16125,7 +16125,7 @@ var alarmPanelCapability = {
16125
16125
  */
16126
16126
  trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
16127
16127
  kind: "mutation",
16128
- auth: "admin"
16128
+ auth: "protected"
16129
16129
  })
16130
16130
  },
16131
16131
  status: {
@@ -24092,7 +24092,7 @@ var brightnessCapability = {
24092
24092
  percentage: number().min(0).max(100)
24093
24093
  }), _void(), {
24094
24094
  kind: "mutation",
24095
- auth: "admin"
24095
+ auth: "protected"
24096
24096
  }) },
24097
24097
  events: {
24098
24098
  /**
@@ -24141,7 +24141,7 @@ var buttonCapability = {
24141
24141
  deviceTypes: [DeviceType.Button],
24142
24142
  methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24143
24143
  kind: "mutation",
24144
- auth: "admin"
24144
+ auth: "protected"
24145
24145
  }) }
24146
24146
  };
24147
24147
  /**
@@ -24334,28 +24334,28 @@ var climateControlCapability = {
24334
24334
  mode: HvacModeSchema
24335
24335
  }), _void(), {
24336
24336
  kind: "mutation",
24337
- auth: "admin"
24337
+ auth: "protected"
24338
24338
  }),
24339
24339
  setFanMode: method(object({
24340
24340
  deviceId: number().int().nonnegative(),
24341
24341
  fanMode: string().min(1)
24342
24342
  }), _void(), {
24343
24343
  kind: "mutation",
24344
- auth: "admin"
24344
+ auth: "protected"
24345
24345
  }),
24346
24346
  setPreset: method(object({
24347
24347
  deviceId: number().int().nonnegative(),
24348
24348
  preset: string().min(1)
24349
24349
  }), _void(), {
24350
24350
  kind: "mutation",
24351
- auth: "admin"
24351
+ auth: "protected"
24352
24352
  }),
24353
24353
  setTarget: method(object({
24354
24354
  deviceId: number().int().nonnegative(),
24355
24355
  target: number()
24356
24356
  }), _void(), {
24357
24357
  kind: "mutation",
24358
- auth: "admin"
24358
+ auth: "protected"
24359
24359
  }),
24360
24360
  setTargetRange: method(object({
24361
24361
  deviceId: number().int().nonnegative(),
@@ -24363,28 +24363,28 @@ var climateControlCapability = {
24363
24363
  targetHigh: number()
24364
24364
  }), _void(), {
24365
24365
  kind: "mutation",
24366
- auth: "admin"
24366
+ auth: "protected"
24367
24367
  }),
24368
24368
  setTargetHumidity: method(object({
24369
24369
  deviceId: number().int().nonnegative(),
24370
24370
  targetHumidity: number().min(0).max(100)
24371
24371
  }), _void(), {
24372
24372
  kind: "mutation",
24373
- auth: "admin"
24373
+ auth: "protected"
24374
24374
  }),
24375
24375
  setSwingVertical: method(object({
24376
24376
  deviceId: number().int().nonnegative(),
24377
24377
  on: boolean()
24378
24378
  }), _void(), {
24379
24379
  kind: "mutation",
24380
- auth: "admin"
24380
+ auth: "protected"
24381
24381
  }),
24382
24382
  setSwingHorizontal: method(object({
24383
24383
  deviceId: number().int().nonnegative(),
24384
24384
  on: boolean()
24385
24385
  }), _void(), {
24386
24386
  kind: "mutation",
24387
- auth: "admin"
24387
+ auth: "protected"
24388
24388
  })
24389
24389
  },
24390
24390
  status: {
@@ -24484,7 +24484,7 @@ var colorCapability = {
24484
24484
  color: ColorInputSchema
24485
24485
  }), _void(), {
24486
24486
  kind: "mutation",
24487
- auth: "admin"
24487
+ auth: "protected"
24488
24488
  }) },
24489
24489
  events: {
24490
24490
  /**
@@ -24813,7 +24813,7 @@ var controlCapability = {
24813
24813
  control: ControlSetValueInputSchema
24814
24814
  }), _void(), {
24815
24815
  kind: "mutation",
24816
- auth: "admin"
24816
+ auth: "protected"
24817
24817
  }) },
24818
24818
  status: {
24819
24819
  schema: ControlStatusSchema,
@@ -24859,29 +24859,29 @@ var coverCapability = {
24859
24859
  methods: {
24860
24860
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24861
24861
  kind: "mutation",
24862
- auth: "admin"
24862
+ auth: "protected"
24863
24863
  }),
24864
24864
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24865
24865
  kind: "mutation",
24866
- auth: "admin"
24866
+ auth: "protected"
24867
24867
  }),
24868
24868
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24869
24869
  kind: "mutation",
24870
- auth: "admin"
24870
+ auth: "protected"
24871
24871
  }),
24872
24872
  setPosition: method(object({
24873
24873
  deviceId: number().int().nonnegative(),
24874
24874
  position: number().min(0).max(100)
24875
24875
  }), _void(), {
24876
24876
  kind: "mutation",
24877
- auth: "admin"
24877
+ auth: "protected"
24878
24878
  }),
24879
24879
  setTiltPosition: method(object({
24880
24880
  deviceId: number().int().nonnegative(),
24881
24881
  tiltPosition: number().min(0).max(100)
24882
24882
  }), _void(), {
24883
24883
  kind: "mutation",
24884
- auth: "admin"
24884
+ auth: "protected"
24885
24885
  })
24886
24886
  },
24887
24887
  status: {
@@ -25664,28 +25664,28 @@ var fanControlCapability = {
25664
25664
  percentage: number().min(0).max(100)
25665
25665
  }), _void(), {
25666
25666
  kind: "mutation",
25667
- auth: "admin"
25667
+ auth: "protected"
25668
25668
  }),
25669
25669
  setPreset: method(object({
25670
25670
  deviceId: number().int().nonnegative(),
25671
25671
  preset: string().min(1)
25672
25672
  }), _void(), {
25673
25673
  kind: "mutation",
25674
- auth: "admin"
25674
+ auth: "protected"
25675
25675
  }),
25676
25676
  setDirection: method(object({
25677
25677
  deviceId: number().int().nonnegative(),
25678
25678
  direction: FanDirectionSchema
25679
25679
  }), _void(), {
25680
25680
  kind: "mutation",
25681
- auth: "admin"
25681
+ auth: "protected"
25682
25682
  }),
25683
25683
  setOscillating: method(object({
25684
25684
  deviceId: number().int().nonnegative(),
25685
25685
  oscillating: boolean()
25686
25686
  }), _void(), {
25687
25687
  kind: "mutation",
25688
- auth: "admin"
25688
+ auth: "protected"
25689
25689
  })
25690
25690
  },
25691
25691
  status: {
@@ -25907,21 +25907,21 @@ var humidifierCapability = {
25907
25907
  on: boolean()
25908
25908
  }), _void(), {
25909
25909
  kind: "mutation",
25910
- auth: "admin"
25910
+ auth: "protected"
25911
25911
  }),
25912
25912
  setTargetHumidity: method(object({
25913
25913
  deviceId: number().int().nonnegative(),
25914
25914
  humidity: number().min(0).max(100)
25915
25915
  }), _void(), {
25916
25916
  kind: "mutation",
25917
- auth: "admin"
25917
+ auth: "protected"
25918
25918
  }),
25919
25919
  setMode: method(object({
25920
25920
  deviceId: number().int().nonnegative(),
25921
25921
  mode: string().min(1)
25922
25922
  }), _void(), {
25923
25923
  kind: "mutation",
25924
- auth: "admin"
25924
+ auth: "protected"
25925
25925
  })
25926
25926
  },
25927
25927
  status: {
@@ -26622,15 +26622,15 @@ var lawnMowerControlCapability = {
26622
26622
  methods: {
26623
26623
  startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26624
26624
  kind: "mutation",
26625
- auth: "admin"
26625
+ auth: "protected"
26626
26626
  }),
26627
26627
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26628
26628
  kind: "mutation",
26629
- auth: "admin"
26629
+ auth: "protected"
26630
26630
  }),
26631
26631
  dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26632
26632
  kind: "mutation",
26633
- auth: "admin"
26633
+ auth: "protected"
26634
26634
  })
26635
26635
  },
26636
26636
  status: {
@@ -26915,18 +26915,18 @@ var lockControlCapability = {
26915
26915
  code: string().min(1).optional()
26916
26916
  }), _void(), {
26917
26917
  kind: "mutation",
26918
- auth: "admin"
26918
+ auth: "protected"
26919
26919
  }),
26920
26920
  unlock: method(object({
26921
26921
  deviceId: number().int().nonnegative(),
26922
26922
  code: string().min(1).optional()
26923
26923
  }), _void(), {
26924
26924
  kind: "mutation",
26925
- auth: "admin"
26925
+ auth: "protected"
26926
26926
  }),
26927
26927
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26928
26928
  kind: "mutation",
26929
- auth: "admin"
26929
+ auth: "protected"
26930
26930
  })
26931
26931
  },
26932
26932
  status: {
@@ -27029,65 +27029,65 @@ var mediaPlayerCapability = {
27029
27029
  methods: {
27030
27030
  play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27031
27031
  kind: "mutation",
27032
- auth: "admin"
27032
+ auth: "protected"
27033
27033
  }),
27034
27034
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27035
27035
  kind: "mutation",
27036
- auth: "admin"
27036
+ auth: "protected"
27037
27037
  }),
27038
27038
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27039
27039
  kind: "mutation",
27040
- auth: "admin"
27040
+ auth: "protected"
27041
27041
  }),
27042
27042
  next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27043
27043
  kind: "mutation",
27044
- auth: "admin"
27044
+ auth: "protected"
27045
27045
  }),
27046
27046
  previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27047
27047
  kind: "mutation",
27048
- auth: "admin"
27048
+ auth: "protected"
27049
27049
  }),
27050
27050
  seek: method(object({
27051
27051
  deviceId: number().int().nonnegative(),
27052
27052
  positionMs: number().int().nonnegative()
27053
27053
  }), _void(), {
27054
27054
  kind: "mutation",
27055
- auth: "admin"
27055
+ auth: "protected"
27056
27056
  }),
27057
27057
  setVolume: method(object({
27058
27058
  deviceId: number().int().nonnegative(),
27059
27059
  volumeLevel: number().min(0).max(100)
27060
27060
  }), _void(), {
27061
27061
  kind: "mutation",
27062
- auth: "admin"
27062
+ auth: "protected"
27063
27063
  }),
27064
27064
  setMute: method(object({
27065
27065
  deviceId: number().int().nonnegative(),
27066
27066
  muted: boolean()
27067
27067
  }), _void(), {
27068
27068
  kind: "mutation",
27069
- auth: "admin"
27069
+ auth: "protected"
27070
27070
  }),
27071
27071
  setShuffle: method(object({
27072
27072
  deviceId: number().int().nonnegative(),
27073
27073
  shuffle: boolean()
27074
27074
  }), _void(), {
27075
27075
  kind: "mutation",
27076
- auth: "admin"
27076
+ auth: "protected"
27077
27077
  }),
27078
27078
  setRepeat: method(object({
27079
27079
  deviceId: number().int().nonnegative(),
27080
27080
  repeat: MediaPlayerRepeatSchema
27081
27081
  }), _void(), {
27082
27082
  kind: "mutation",
27083
- auth: "admin"
27083
+ auth: "protected"
27084
27084
  }),
27085
27085
  selectSource: method(object({
27086
27086
  deviceId: number().int().nonnegative(),
27087
27087
  source: string().min(1)
27088
27088
  }), _void(), {
27089
27089
  kind: "mutation",
27090
- auth: "admin"
27090
+ auth: "protected"
27091
27091
  }),
27092
27092
  playMedia: method(object({
27093
27093
  deviceId: number().int().nonnegative(),
@@ -27098,7 +27098,7 @@ var mediaPlayerCapability = {
27098
27098
  mediaType: string().min(1)
27099
27099
  }), _void(), {
27100
27100
  kind: "mutation",
27101
- auth: "admin"
27101
+ auth: "protected"
27102
27102
  })
27103
27103
  },
27104
27104
  status: {
@@ -28691,27 +28691,27 @@ var petFeederCapability = {
28691
28691
  hopper2: gramsPortion.optional()
28692
28692
  }), _void(), {
28693
28693
  kind: "mutation",
28694
- auth: "admin"
28694
+ auth: "protected"
28695
28695
  }),
28696
28696
  /** Cancel an in-progress manual feed. */
28697
28697
  cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28698
28698
  kind: "mutation",
28699
- auth: "admin"
28699
+ auth: "protected"
28700
28700
  }),
28701
28701
  /** Reset the desiccant "days remaining" counter after replacing it. */
28702
28702
  resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28703
28703
  kind: "mutation",
28704
- auth: "admin"
28704
+ auth: "protected"
28705
28705
  }),
28706
28706
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
28707
28707
  markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28708
28708
  kind: "mutation",
28709
- auth: "admin"
28709
+ auth: "protected"
28710
28710
  }),
28711
28711
  /** Call the pet with the recorded prompt (D3). */
28712
28712
  callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28713
28713
  kind: "mutation",
28714
- auth: "admin"
28714
+ auth: "protected"
28715
28715
  }),
28716
28716
  /** Play a stored sound by id (D3 / D4H / D4SH). */
28717
28717
  playSound: method(object({
@@ -28719,7 +28719,7 @@ var petFeederCapability = {
28719
28719
  soundId: number().int().nonnegative()
28720
28720
  }), _void(), {
28721
28721
  kind: "mutation",
28722
- auth: "admin"
28722
+ auth: "protected"
28723
28723
  }),
28724
28724
  /** Toggle the child-lock (manual-lock) setting. */
28725
28725
  setChildLock: method(object({
@@ -28727,7 +28727,7 @@ var petFeederCapability = {
28727
28727
  on: boolean()
28728
28728
  }), _void(), {
28729
28729
  kind: "mutation",
28730
- auth: "admin"
28730
+ auth: "protected"
28731
28731
  }),
28732
28732
  /** Toggle the front indicator light. */
28733
28733
  setIndicatorLight: method(object({
@@ -28735,7 +28735,7 @@ var petFeederCapability = {
28735
28735
  on: boolean()
28736
28736
  }), _void(), {
28737
28737
  kind: "mutation",
28738
- auth: "admin"
28738
+ auth: "protected"
28739
28739
  }),
28740
28740
  /** Toggle the dispense chime. */
28741
28741
  setFeedSound: method(object({
@@ -28743,7 +28743,7 @@ var petFeederCapability = {
28743
28743
  on: boolean()
28744
28744
  }), _void(), {
28745
28745
  kind: "mutation",
28746
- auth: "admin"
28746
+ auth: "protected"
28747
28747
  }),
28748
28748
  /** Set the speaker / prompt volume level. */
28749
28749
  setVolume: method(object({
@@ -28751,7 +28751,7 @@ var petFeederCapability = {
28751
28751
  level: number().int().nonnegative()
28752
28752
  }), _void(), {
28753
28753
  kind: "mutation",
28754
- auth: "admin"
28754
+ auth: "protected"
28755
28755
  })
28756
28756
  },
28757
28757
  status: {
@@ -31047,7 +31047,7 @@ var switchCapability = {
31047
31047
  on: boolean()
31048
31048
  }), _void(), {
31049
31049
  kind: "mutation",
31050
- auth: "admin"
31050
+ auth: "protected"
31051
31051
  }) },
31052
31052
  events: { onStateChanged: { data: object({
31053
31053
  deviceId: number(),
@@ -32035,30 +32035,30 @@ var vacuumControlCapability = {
32035
32035
  methods: {
32036
32036
  start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32037
32037
  kind: "mutation",
32038
- auth: "admin"
32038
+ auth: "protected"
32039
32039
  }),
32040
32040
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32041
32041
  kind: "mutation",
32042
- auth: "admin"
32042
+ auth: "protected"
32043
32043
  }),
32044
32044
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32045
32045
  kind: "mutation",
32046
- auth: "admin"
32046
+ auth: "protected"
32047
32047
  }),
32048
32048
  returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32049
32049
  kind: "mutation",
32050
- auth: "admin"
32050
+ auth: "protected"
32051
32051
  }),
32052
32052
  locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32053
32053
  kind: "mutation",
32054
- auth: "admin"
32054
+ auth: "protected"
32055
32055
  }),
32056
32056
  setFanSpeed: method(object({
32057
32057
  deviceId: number().int().nonnegative(),
32058
32058
  speed: string().min(1)
32059
32059
  }), _void(), {
32060
32060
  kind: "mutation",
32061
- auth: "admin"
32061
+ auth: "protected"
32062
32062
  })
32063
32063
  },
32064
32064
  status: {
@@ -32102,22 +32102,22 @@ var valveCapability = {
32102
32102
  methods: {
32103
32103
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32104
32104
  kind: "mutation",
32105
- auth: "admin"
32105
+ auth: "protected"
32106
32106
  }),
32107
32107
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32108
32108
  kind: "mutation",
32109
- auth: "admin"
32109
+ auth: "protected"
32110
32110
  }),
32111
32111
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32112
32112
  kind: "mutation",
32113
- auth: "admin"
32113
+ auth: "protected"
32114
32114
  }),
32115
32115
  setPosition: method(object({
32116
32116
  deviceId: number().int().nonnegative(),
32117
32117
  position: number().min(0).max(100)
32118
32118
  }), _void(), {
32119
32119
  kind: "mutation",
32120
- auth: "admin"
32120
+ auth: "protected"
32121
32121
  })
32122
32122
  },
32123
32123
  status: {
@@ -32216,21 +32216,21 @@ var waterHeaterCapability = {
32216
32216
  temp: number().finite()
32217
32217
  }), _void(), {
32218
32218
  kind: "mutation",
32219
- auth: "admin"
32219
+ auth: "protected"
32220
32220
  }),
32221
32221
  setOperationMode: method(object({
32222
32222
  deviceId: number().int().nonnegative(),
32223
32223
  mode: string().min(1)
32224
32224
  }), _void(), {
32225
32225
  kind: "mutation",
32226
- auth: "admin"
32226
+ auth: "protected"
32227
32227
  }),
32228
32228
  setAway: method(object({
32229
32229
  deviceId: number().int().nonnegative(),
32230
32230
  on: boolean()
32231
32231
  }), _void(), {
32232
32232
  kind: "mutation",
32233
- auth: "admin"
32233
+ auth: "protected"
32234
32234
  })
32235
32235
  },
32236
32236
  status: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-unifi",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
4
4
  "description": "UniFi Network controller device-provider addon for CamStack — local-controller infra switches/APs (as containers) + network-client presence. NO cameras/Protect.",
5
5
  "keywords": [
6
6
  "camstack",