@camstack/addon-provider-amcrest 0.2.87 → 0.2.88

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
@@ -16103,14 +16103,14 @@ var alarmPanelCapability = {
16103
16103
  code: string().min(1).optional()
16104
16104
  }), _void(), {
16105
16105
  kind: "mutation",
16106
- auth: "admin"
16106
+ auth: "protected"
16107
16107
  }),
16108
16108
  disarm: method(object({
16109
16109
  deviceId: number().int().nonnegative(),
16110
16110
  code: string().min(1).optional()
16111
16111
  }), _void(), {
16112
16112
  kind: "mutation",
16113
- auth: "admin"
16113
+ auth: "protected"
16114
16114
  }),
16115
16115
  /**
16116
16116
  * Force the panel into the `triggered` state — used by HA
@@ -16121,7 +16121,7 @@ var alarmPanelCapability = {
16121
16121
  */
16122
16122
  trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
16123
16123
  kind: "mutation",
16124
- auth: "admin"
16124
+ auth: "protected"
16125
16125
  })
16126
16126
  },
16127
16127
  status: {
@@ -24192,7 +24192,7 @@ var brightnessCapability = {
24192
24192
  percentage: number().min(0).max(100)
24193
24193
  }), _void(), {
24194
24194
  kind: "mutation",
24195
- auth: "admin"
24195
+ auth: "protected"
24196
24196
  }) },
24197
24197
  events: {
24198
24198
  /**
@@ -24225,7 +24225,7 @@ onBrightnessChanged: { data: object({
24225
24225
  };
24226
24226
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24227
24227
  kind: "mutation",
24228
- auth: "admin"
24228
+ auth: "protected"
24229
24229
  });
24230
24230
  /**
24231
24231
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -24417,28 +24417,28 @@ var climateControlCapability = {
24417
24417
  mode: HvacModeSchema
24418
24418
  }), _void(), {
24419
24419
  kind: "mutation",
24420
- auth: "admin"
24420
+ auth: "protected"
24421
24421
  }),
24422
24422
  setFanMode: method(object({
24423
24423
  deviceId: number().int().nonnegative(),
24424
24424
  fanMode: string().min(1)
24425
24425
  }), _void(), {
24426
24426
  kind: "mutation",
24427
- auth: "admin"
24427
+ auth: "protected"
24428
24428
  }),
24429
24429
  setPreset: method(object({
24430
24430
  deviceId: number().int().nonnegative(),
24431
24431
  preset: string().min(1)
24432
24432
  }), _void(), {
24433
24433
  kind: "mutation",
24434
- auth: "admin"
24434
+ auth: "protected"
24435
24435
  }),
24436
24436
  setTarget: method(object({
24437
24437
  deviceId: number().int().nonnegative(),
24438
24438
  target: number()
24439
24439
  }), _void(), {
24440
24440
  kind: "mutation",
24441
- auth: "admin"
24441
+ auth: "protected"
24442
24442
  }),
24443
24443
  setTargetRange: method(object({
24444
24444
  deviceId: number().int().nonnegative(),
@@ -24446,28 +24446,28 @@ var climateControlCapability = {
24446
24446
  targetHigh: number()
24447
24447
  }), _void(), {
24448
24448
  kind: "mutation",
24449
- auth: "admin"
24449
+ auth: "protected"
24450
24450
  }),
24451
24451
  setTargetHumidity: method(object({
24452
24452
  deviceId: number().int().nonnegative(),
24453
24453
  targetHumidity: number().min(0).max(100)
24454
24454
  }), _void(), {
24455
24455
  kind: "mutation",
24456
- auth: "admin"
24456
+ auth: "protected"
24457
24457
  }),
24458
24458
  setSwingVertical: method(object({
24459
24459
  deviceId: number().int().nonnegative(),
24460
24460
  on: boolean()
24461
24461
  }), _void(), {
24462
24462
  kind: "mutation",
24463
- auth: "admin"
24463
+ auth: "protected"
24464
24464
  }),
24465
24465
  setSwingHorizontal: method(object({
24466
24466
  deviceId: number().int().nonnegative(),
24467
24467
  on: boolean()
24468
24468
  }), _void(), {
24469
24469
  kind: "mutation",
24470
- auth: "admin"
24470
+ auth: "protected"
24471
24471
  })
24472
24472
  },
24473
24473
  status: {
@@ -24567,7 +24567,7 @@ var colorCapability = {
24567
24567
  color: ColorInputSchema
24568
24568
  }), _void(), {
24569
24569
  kind: "mutation",
24570
- auth: "admin"
24570
+ auth: "protected"
24571
24571
  }) },
24572
24572
  events: {
24573
24573
  /**
@@ -24896,7 +24896,7 @@ var controlCapability = {
24896
24896
  control: ControlSetValueInputSchema
24897
24897
  }), _void(), {
24898
24898
  kind: "mutation",
24899
- auth: "admin"
24899
+ auth: "protected"
24900
24900
  }) },
24901
24901
  status: {
24902
24902
  schema: ControlStatusSchema,
@@ -24942,29 +24942,29 @@ var coverCapability = {
24942
24942
  methods: {
24943
24943
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24944
24944
  kind: "mutation",
24945
- auth: "admin"
24945
+ auth: "protected"
24946
24946
  }),
24947
24947
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24948
24948
  kind: "mutation",
24949
- auth: "admin"
24949
+ auth: "protected"
24950
24950
  }),
24951
24951
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24952
24952
  kind: "mutation",
24953
- auth: "admin"
24953
+ auth: "protected"
24954
24954
  }),
24955
24955
  setPosition: method(object({
24956
24956
  deviceId: number().int().nonnegative(),
24957
24957
  position: number().min(0).max(100)
24958
24958
  }), _void(), {
24959
24959
  kind: "mutation",
24960
- auth: "admin"
24960
+ auth: "protected"
24961
24961
  }),
24962
24962
  setTiltPosition: method(object({
24963
24963
  deviceId: number().int().nonnegative(),
24964
24964
  tiltPosition: number().min(0).max(100)
24965
24965
  }), _void(), {
24966
24966
  kind: "mutation",
24967
- auth: "admin"
24967
+ auth: "protected"
24968
24968
  })
24969
24969
  },
24970
24970
  status: {
@@ -25747,28 +25747,28 @@ var fanControlCapability = {
25747
25747
  percentage: number().min(0).max(100)
25748
25748
  }), _void(), {
25749
25749
  kind: "mutation",
25750
- auth: "admin"
25750
+ auth: "protected"
25751
25751
  }),
25752
25752
  setPreset: method(object({
25753
25753
  deviceId: number().int().nonnegative(),
25754
25754
  preset: string().min(1)
25755
25755
  }), _void(), {
25756
25756
  kind: "mutation",
25757
- auth: "admin"
25757
+ auth: "protected"
25758
25758
  }),
25759
25759
  setDirection: method(object({
25760
25760
  deviceId: number().int().nonnegative(),
25761
25761
  direction: FanDirectionSchema
25762
25762
  }), _void(), {
25763
25763
  kind: "mutation",
25764
- auth: "admin"
25764
+ auth: "protected"
25765
25765
  }),
25766
25766
  setOscillating: method(object({
25767
25767
  deviceId: number().int().nonnegative(),
25768
25768
  oscillating: boolean()
25769
25769
  }), _void(), {
25770
25770
  kind: "mutation",
25771
- auth: "admin"
25771
+ auth: "protected"
25772
25772
  })
25773
25773
  },
25774
25774
  status: {
@@ -25990,21 +25990,21 @@ var humidifierCapability = {
25990
25990
  on: boolean()
25991
25991
  }), _void(), {
25992
25992
  kind: "mutation",
25993
- auth: "admin"
25993
+ auth: "protected"
25994
25994
  }),
25995
25995
  setTargetHumidity: method(object({
25996
25996
  deviceId: number().int().nonnegative(),
25997
25997
  humidity: number().min(0).max(100)
25998
25998
  }), _void(), {
25999
25999
  kind: "mutation",
26000
- auth: "admin"
26000
+ auth: "protected"
26001
26001
  }),
26002
26002
  setMode: method(object({
26003
26003
  deviceId: number().int().nonnegative(),
26004
26004
  mode: string().min(1)
26005
26005
  }), _void(), {
26006
26006
  kind: "mutation",
26007
- auth: "admin"
26007
+ auth: "protected"
26008
26008
  })
26009
26009
  },
26010
26010
  status: {
@@ -26705,15 +26705,15 @@ var lawnMowerControlCapability = {
26705
26705
  methods: {
26706
26706
  startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26707
26707
  kind: "mutation",
26708
- auth: "admin"
26708
+ auth: "protected"
26709
26709
  }),
26710
26710
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26711
26711
  kind: "mutation",
26712
- auth: "admin"
26712
+ auth: "protected"
26713
26713
  }),
26714
26714
  dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26715
26715
  kind: "mutation",
26716
- auth: "admin"
26716
+ auth: "protected"
26717
26717
  })
26718
26718
  },
26719
26719
  status: {
@@ -26998,18 +26998,18 @@ var lockControlCapability = {
26998
26998
  code: string().min(1).optional()
26999
26999
  }), _void(), {
27000
27000
  kind: "mutation",
27001
- auth: "admin"
27001
+ auth: "protected"
27002
27002
  }),
27003
27003
  unlock: method(object({
27004
27004
  deviceId: number().int().nonnegative(),
27005
27005
  code: string().min(1).optional()
27006
27006
  }), _void(), {
27007
27007
  kind: "mutation",
27008
- auth: "admin"
27008
+ auth: "protected"
27009
27009
  }),
27010
27010
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27011
27011
  kind: "mutation",
27012
- auth: "admin"
27012
+ auth: "protected"
27013
27013
  })
27014
27014
  },
27015
27015
  status: {
@@ -27112,65 +27112,65 @@ var mediaPlayerCapability = {
27112
27112
  methods: {
27113
27113
  play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27114
27114
  kind: "mutation",
27115
- auth: "admin"
27115
+ auth: "protected"
27116
27116
  }),
27117
27117
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27118
27118
  kind: "mutation",
27119
- auth: "admin"
27119
+ auth: "protected"
27120
27120
  }),
27121
27121
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27122
27122
  kind: "mutation",
27123
- auth: "admin"
27123
+ auth: "protected"
27124
27124
  }),
27125
27125
  next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27126
27126
  kind: "mutation",
27127
- auth: "admin"
27127
+ auth: "protected"
27128
27128
  }),
27129
27129
  previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27130
27130
  kind: "mutation",
27131
- auth: "admin"
27131
+ auth: "protected"
27132
27132
  }),
27133
27133
  seek: method(object({
27134
27134
  deviceId: number().int().nonnegative(),
27135
27135
  positionMs: number().int().nonnegative()
27136
27136
  }), _void(), {
27137
27137
  kind: "mutation",
27138
- auth: "admin"
27138
+ auth: "protected"
27139
27139
  }),
27140
27140
  setVolume: method(object({
27141
27141
  deviceId: number().int().nonnegative(),
27142
27142
  volumeLevel: number().min(0).max(100)
27143
27143
  }), _void(), {
27144
27144
  kind: "mutation",
27145
- auth: "admin"
27145
+ auth: "protected"
27146
27146
  }),
27147
27147
  setMute: method(object({
27148
27148
  deviceId: number().int().nonnegative(),
27149
27149
  muted: boolean()
27150
27150
  }), _void(), {
27151
27151
  kind: "mutation",
27152
- auth: "admin"
27152
+ auth: "protected"
27153
27153
  }),
27154
27154
  setShuffle: method(object({
27155
27155
  deviceId: number().int().nonnegative(),
27156
27156
  shuffle: boolean()
27157
27157
  }), _void(), {
27158
27158
  kind: "mutation",
27159
- auth: "admin"
27159
+ auth: "protected"
27160
27160
  }),
27161
27161
  setRepeat: method(object({
27162
27162
  deviceId: number().int().nonnegative(),
27163
27163
  repeat: MediaPlayerRepeatSchema
27164
27164
  }), _void(), {
27165
27165
  kind: "mutation",
27166
- auth: "admin"
27166
+ auth: "protected"
27167
27167
  }),
27168
27168
  selectSource: method(object({
27169
27169
  deviceId: number().int().nonnegative(),
27170
27170
  source: string().min(1)
27171
27171
  }), _void(), {
27172
27172
  kind: "mutation",
27173
- auth: "admin"
27173
+ auth: "protected"
27174
27174
  }),
27175
27175
  playMedia: method(object({
27176
27176
  deviceId: number().int().nonnegative(),
@@ -27181,7 +27181,7 @@ var mediaPlayerCapability = {
27181
27181
  mediaType: string().min(1)
27182
27182
  }), _void(), {
27183
27183
  kind: "mutation",
27184
- auth: "admin"
27184
+ auth: "protected"
27185
27185
  })
27186
27186
  },
27187
27187
  status: {
@@ -28820,27 +28820,27 @@ var petFeederCapability = {
28820
28820
  hopper2: gramsPortion.optional()
28821
28821
  }), _void(), {
28822
28822
  kind: "mutation",
28823
- auth: "admin"
28823
+ auth: "protected"
28824
28824
  }),
28825
28825
  /** Cancel an in-progress manual feed. */
28826
28826
  cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28827
28827
  kind: "mutation",
28828
- auth: "admin"
28828
+ auth: "protected"
28829
28829
  }),
28830
28830
  /** Reset the desiccant "days remaining" counter after replacing it. */
28831
28831
  resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28832
28832
  kind: "mutation",
28833
- auth: "admin"
28833
+ auth: "protected"
28834
28834
  }),
28835
28835
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
28836
28836
  markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28837
28837
  kind: "mutation",
28838
- auth: "admin"
28838
+ auth: "protected"
28839
28839
  }),
28840
28840
  /** Call the pet with the recorded prompt (D3). */
28841
28841
  callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28842
28842
  kind: "mutation",
28843
- auth: "admin"
28843
+ auth: "protected"
28844
28844
  }),
28845
28845
  /** Play a stored sound by id (D3 / D4H / D4SH). */
28846
28846
  playSound: method(object({
@@ -28848,7 +28848,7 @@ var petFeederCapability = {
28848
28848
  soundId: number().int().nonnegative()
28849
28849
  }), _void(), {
28850
28850
  kind: "mutation",
28851
- auth: "admin"
28851
+ auth: "protected"
28852
28852
  }),
28853
28853
  /** Toggle the child-lock (manual-lock) setting. */
28854
28854
  setChildLock: method(object({
@@ -28856,7 +28856,7 @@ var petFeederCapability = {
28856
28856
  on: boolean()
28857
28857
  }), _void(), {
28858
28858
  kind: "mutation",
28859
- auth: "admin"
28859
+ auth: "protected"
28860
28860
  }),
28861
28861
  /** Toggle the front indicator light. */
28862
28862
  setIndicatorLight: method(object({
@@ -28864,7 +28864,7 @@ var petFeederCapability = {
28864
28864
  on: boolean()
28865
28865
  }), _void(), {
28866
28866
  kind: "mutation",
28867
- auth: "admin"
28867
+ auth: "protected"
28868
28868
  }),
28869
28869
  /** Toggle the dispense chime. */
28870
28870
  setFeedSound: method(object({
@@ -28872,7 +28872,7 @@ var petFeederCapability = {
28872
28872
  on: boolean()
28873
28873
  }), _void(), {
28874
28874
  kind: "mutation",
28875
- auth: "admin"
28875
+ auth: "protected"
28876
28876
  }),
28877
28877
  /** Set the speaker / prompt volume level. */
28878
28878
  setVolume: method(object({
@@ -28880,7 +28880,7 @@ var petFeederCapability = {
28880
28880
  level: number().int().nonnegative()
28881
28881
  }), _void(), {
28882
28882
  kind: "mutation",
28883
- auth: "admin"
28883
+ auth: "protected"
28884
28884
  })
28885
28885
  },
28886
28886
  status: {
@@ -31436,7 +31436,7 @@ var switchCapability = {
31436
31436
  on: boolean()
31437
31437
  }), _void(), {
31438
31438
  kind: "mutation",
31439
- auth: "admin"
31439
+ auth: "protected"
31440
31440
  }) },
31441
31441
  events: { onStateChanged: { data: object({
31442
31442
  deviceId: number(),
@@ -32424,30 +32424,30 @@ var vacuumControlCapability = {
32424
32424
  methods: {
32425
32425
  start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32426
32426
  kind: "mutation",
32427
- auth: "admin"
32427
+ auth: "protected"
32428
32428
  }),
32429
32429
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32430
32430
  kind: "mutation",
32431
- auth: "admin"
32431
+ auth: "protected"
32432
32432
  }),
32433
32433
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32434
32434
  kind: "mutation",
32435
- auth: "admin"
32435
+ auth: "protected"
32436
32436
  }),
32437
32437
  returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32438
32438
  kind: "mutation",
32439
- auth: "admin"
32439
+ auth: "protected"
32440
32440
  }),
32441
32441
  locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32442
32442
  kind: "mutation",
32443
- auth: "admin"
32443
+ auth: "protected"
32444
32444
  }),
32445
32445
  setFanSpeed: method(object({
32446
32446
  deviceId: number().int().nonnegative(),
32447
32447
  speed: string().min(1)
32448
32448
  }), _void(), {
32449
32449
  kind: "mutation",
32450
- auth: "admin"
32450
+ auth: "protected"
32451
32451
  })
32452
32452
  },
32453
32453
  status: {
@@ -32491,22 +32491,22 @@ var valveCapability = {
32491
32491
  methods: {
32492
32492
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32493
32493
  kind: "mutation",
32494
- auth: "admin"
32494
+ auth: "protected"
32495
32495
  }),
32496
32496
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32497
32497
  kind: "mutation",
32498
- auth: "admin"
32498
+ auth: "protected"
32499
32499
  }),
32500
32500
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32501
32501
  kind: "mutation",
32502
- auth: "admin"
32502
+ auth: "protected"
32503
32503
  }),
32504
32504
  setPosition: method(object({
32505
32505
  deviceId: number().int().nonnegative(),
32506
32506
  position: number().min(0).max(100)
32507
32507
  }), _void(), {
32508
32508
  kind: "mutation",
32509
- auth: "admin"
32509
+ auth: "protected"
32510
32510
  })
32511
32511
  },
32512
32512
  status: {
@@ -32605,21 +32605,21 @@ var waterHeaterCapability = {
32605
32605
  temp: number().finite()
32606
32606
  }), _void(), {
32607
32607
  kind: "mutation",
32608
- auth: "admin"
32608
+ auth: "protected"
32609
32609
  }),
32610
32610
  setOperationMode: method(object({
32611
32611
  deviceId: number().int().nonnegative(),
32612
32612
  mode: string().min(1)
32613
32613
  }), _void(), {
32614
32614
  kind: "mutation",
32615
- auth: "admin"
32615
+ auth: "protected"
32616
32616
  }),
32617
32617
  setAway: method(object({
32618
32618
  deviceId: number().int().nonnegative(),
32619
32619
  on: boolean()
32620
32620
  }), _void(), {
32621
32621
  kind: "mutation",
32622
- auth: "admin"
32622
+ auth: "protected"
32623
32623
  })
32624
32624
  },
32625
32625
  status: {
package/dist/addon.mjs CHANGED
@@ -16104,14 +16104,14 @@ var alarmPanelCapability = {
16104
16104
  code: string().min(1).optional()
16105
16105
  }), _void(), {
16106
16106
  kind: "mutation",
16107
- auth: "admin"
16107
+ auth: "protected"
16108
16108
  }),
16109
16109
  disarm: method(object({
16110
16110
  deviceId: number().int().nonnegative(),
16111
16111
  code: string().min(1).optional()
16112
16112
  }), _void(), {
16113
16113
  kind: "mutation",
16114
- auth: "admin"
16114
+ auth: "protected"
16115
16115
  }),
16116
16116
  /**
16117
16117
  * Force the panel into the `triggered` state — used by HA
@@ -16122,7 +16122,7 @@ var alarmPanelCapability = {
16122
16122
  */
16123
16123
  trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
16124
16124
  kind: "mutation",
16125
- auth: "admin"
16125
+ auth: "protected"
16126
16126
  })
16127
16127
  },
16128
16128
  status: {
@@ -24193,7 +24193,7 @@ var brightnessCapability = {
24193
24193
  percentage: number().min(0).max(100)
24194
24194
  }), _void(), {
24195
24195
  kind: "mutation",
24196
- auth: "admin"
24196
+ auth: "protected"
24197
24197
  }) },
24198
24198
  events: {
24199
24199
  /**
@@ -24226,7 +24226,7 @@ onBrightnessChanged: { data: object({
24226
24226
  };
24227
24227
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24228
24228
  kind: "mutation",
24229
- auth: "admin"
24229
+ auth: "protected"
24230
24230
  });
24231
24231
  /**
24232
24232
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -24418,28 +24418,28 @@ var climateControlCapability = {
24418
24418
  mode: HvacModeSchema
24419
24419
  }), _void(), {
24420
24420
  kind: "mutation",
24421
- auth: "admin"
24421
+ auth: "protected"
24422
24422
  }),
24423
24423
  setFanMode: method(object({
24424
24424
  deviceId: number().int().nonnegative(),
24425
24425
  fanMode: string().min(1)
24426
24426
  }), _void(), {
24427
24427
  kind: "mutation",
24428
- auth: "admin"
24428
+ auth: "protected"
24429
24429
  }),
24430
24430
  setPreset: method(object({
24431
24431
  deviceId: number().int().nonnegative(),
24432
24432
  preset: string().min(1)
24433
24433
  }), _void(), {
24434
24434
  kind: "mutation",
24435
- auth: "admin"
24435
+ auth: "protected"
24436
24436
  }),
24437
24437
  setTarget: method(object({
24438
24438
  deviceId: number().int().nonnegative(),
24439
24439
  target: number()
24440
24440
  }), _void(), {
24441
24441
  kind: "mutation",
24442
- auth: "admin"
24442
+ auth: "protected"
24443
24443
  }),
24444
24444
  setTargetRange: method(object({
24445
24445
  deviceId: number().int().nonnegative(),
@@ -24447,28 +24447,28 @@ var climateControlCapability = {
24447
24447
  targetHigh: number()
24448
24448
  }), _void(), {
24449
24449
  kind: "mutation",
24450
- auth: "admin"
24450
+ auth: "protected"
24451
24451
  }),
24452
24452
  setTargetHumidity: method(object({
24453
24453
  deviceId: number().int().nonnegative(),
24454
24454
  targetHumidity: number().min(0).max(100)
24455
24455
  }), _void(), {
24456
24456
  kind: "mutation",
24457
- auth: "admin"
24457
+ auth: "protected"
24458
24458
  }),
24459
24459
  setSwingVertical: method(object({
24460
24460
  deviceId: number().int().nonnegative(),
24461
24461
  on: boolean()
24462
24462
  }), _void(), {
24463
24463
  kind: "mutation",
24464
- auth: "admin"
24464
+ auth: "protected"
24465
24465
  }),
24466
24466
  setSwingHorizontal: method(object({
24467
24467
  deviceId: number().int().nonnegative(),
24468
24468
  on: boolean()
24469
24469
  }), _void(), {
24470
24470
  kind: "mutation",
24471
- auth: "admin"
24471
+ auth: "protected"
24472
24472
  })
24473
24473
  },
24474
24474
  status: {
@@ -24568,7 +24568,7 @@ var colorCapability = {
24568
24568
  color: ColorInputSchema
24569
24569
  }), _void(), {
24570
24570
  kind: "mutation",
24571
- auth: "admin"
24571
+ auth: "protected"
24572
24572
  }) },
24573
24573
  events: {
24574
24574
  /**
@@ -24897,7 +24897,7 @@ var controlCapability = {
24897
24897
  control: ControlSetValueInputSchema
24898
24898
  }), _void(), {
24899
24899
  kind: "mutation",
24900
- auth: "admin"
24900
+ auth: "protected"
24901
24901
  }) },
24902
24902
  status: {
24903
24903
  schema: ControlStatusSchema,
@@ -24943,29 +24943,29 @@ var coverCapability = {
24943
24943
  methods: {
24944
24944
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24945
24945
  kind: "mutation",
24946
- auth: "admin"
24946
+ auth: "protected"
24947
24947
  }),
24948
24948
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24949
24949
  kind: "mutation",
24950
- auth: "admin"
24950
+ auth: "protected"
24951
24951
  }),
24952
24952
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
24953
24953
  kind: "mutation",
24954
- auth: "admin"
24954
+ auth: "protected"
24955
24955
  }),
24956
24956
  setPosition: method(object({
24957
24957
  deviceId: number().int().nonnegative(),
24958
24958
  position: number().min(0).max(100)
24959
24959
  }), _void(), {
24960
24960
  kind: "mutation",
24961
- auth: "admin"
24961
+ auth: "protected"
24962
24962
  }),
24963
24963
  setTiltPosition: method(object({
24964
24964
  deviceId: number().int().nonnegative(),
24965
24965
  tiltPosition: number().min(0).max(100)
24966
24966
  }), _void(), {
24967
24967
  kind: "mutation",
24968
- auth: "admin"
24968
+ auth: "protected"
24969
24969
  })
24970
24970
  },
24971
24971
  status: {
@@ -25748,28 +25748,28 @@ var fanControlCapability = {
25748
25748
  percentage: number().min(0).max(100)
25749
25749
  }), _void(), {
25750
25750
  kind: "mutation",
25751
- auth: "admin"
25751
+ auth: "protected"
25752
25752
  }),
25753
25753
  setPreset: method(object({
25754
25754
  deviceId: number().int().nonnegative(),
25755
25755
  preset: string().min(1)
25756
25756
  }), _void(), {
25757
25757
  kind: "mutation",
25758
- auth: "admin"
25758
+ auth: "protected"
25759
25759
  }),
25760
25760
  setDirection: method(object({
25761
25761
  deviceId: number().int().nonnegative(),
25762
25762
  direction: FanDirectionSchema
25763
25763
  }), _void(), {
25764
25764
  kind: "mutation",
25765
- auth: "admin"
25765
+ auth: "protected"
25766
25766
  }),
25767
25767
  setOscillating: method(object({
25768
25768
  deviceId: number().int().nonnegative(),
25769
25769
  oscillating: boolean()
25770
25770
  }), _void(), {
25771
25771
  kind: "mutation",
25772
- auth: "admin"
25772
+ auth: "protected"
25773
25773
  })
25774
25774
  },
25775
25775
  status: {
@@ -25991,21 +25991,21 @@ var humidifierCapability = {
25991
25991
  on: boolean()
25992
25992
  }), _void(), {
25993
25993
  kind: "mutation",
25994
- auth: "admin"
25994
+ auth: "protected"
25995
25995
  }),
25996
25996
  setTargetHumidity: method(object({
25997
25997
  deviceId: number().int().nonnegative(),
25998
25998
  humidity: number().min(0).max(100)
25999
25999
  }), _void(), {
26000
26000
  kind: "mutation",
26001
- auth: "admin"
26001
+ auth: "protected"
26002
26002
  }),
26003
26003
  setMode: method(object({
26004
26004
  deviceId: number().int().nonnegative(),
26005
26005
  mode: string().min(1)
26006
26006
  }), _void(), {
26007
26007
  kind: "mutation",
26008
- auth: "admin"
26008
+ auth: "protected"
26009
26009
  })
26010
26010
  },
26011
26011
  status: {
@@ -26706,15 +26706,15 @@ var lawnMowerControlCapability = {
26706
26706
  methods: {
26707
26707
  startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26708
26708
  kind: "mutation",
26709
- auth: "admin"
26709
+ auth: "protected"
26710
26710
  }),
26711
26711
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26712
26712
  kind: "mutation",
26713
- auth: "admin"
26713
+ auth: "protected"
26714
26714
  }),
26715
26715
  dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
26716
26716
  kind: "mutation",
26717
- auth: "admin"
26717
+ auth: "protected"
26718
26718
  })
26719
26719
  },
26720
26720
  status: {
@@ -26999,18 +26999,18 @@ var lockControlCapability = {
26999
26999
  code: string().min(1).optional()
27000
27000
  }), _void(), {
27001
27001
  kind: "mutation",
27002
- auth: "admin"
27002
+ auth: "protected"
27003
27003
  }),
27004
27004
  unlock: method(object({
27005
27005
  deviceId: number().int().nonnegative(),
27006
27006
  code: string().min(1).optional()
27007
27007
  }), _void(), {
27008
27008
  kind: "mutation",
27009
- auth: "admin"
27009
+ auth: "protected"
27010
27010
  }),
27011
27011
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27012
27012
  kind: "mutation",
27013
- auth: "admin"
27013
+ auth: "protected"
27014
27014
  })
27015
27015
  },
27016
27016
  status: {
@@ -27113,65 +27113,65 @@ var mediaPlayerCapability = {
27113
27113
  methods: {
27114
27114
  play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27115
27115
  kind: "mutation",
27116
- auth: "admin"
27116
+ auth: "protected"
27117
27117
  }),
27118
27118
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27119
27119
  kind: "mutation",
27120
- auth: "admin"
27120
+ auth: "protected"
27121
27121
  }),
27122
27122
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27123
27123
  kind: "mutation",
27124
- auth: "admin"
27124
+ auth: "protected"
27125
27125
  }),
27126
27126
  next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27127
27127
  kind: "mutation",
27128
- auth: "admin"
27128
+ auth: "protected"
27129
27129
  }),
27130
27130
  previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27131
27131
  kind: "mutation",
27132
- auth: "admin"
27132
+ auth: "protected"
27133
27133
  }),
27134
27134
  seek: method(object({
27135
27135
  deviceId: number().int().nonnegative(),
27136
27136
  positionMs: number().int().nonnegative()
27137
27137
  }), _void(), {
27138
27138
  kind: "mutation",
27139
- auth: "admin"
27139
+ auth: "protected"
27140
27140
  }),
27141
27141
  setVolume: method(object({
27142
27142
  deviceId: number().int().nonnegative(),
27143
27143
  volumeLevel: number().min(0).max(100)
27144
27144
  }), _void(), {
27145
27145
  kind: "mutation",
27146
- auth: "admin"
27146
+ auth: "protected"
27147
27147
  }),
27148
27148
  setMute: method(object({
27149
27149
  deviceId: number().int().nonnegative(),
27150
27150
  muted: boolean()
27151
27151
  }), _void(), {
27152
27152
  kind: "mutation",
27153
- auth: "admin"
27153
+ auth: "protected"
27154
27154
  }),
27155
27155
  setShuffle: method(object({
27156
27156
  deviceId: number().int().nonnegative(),
27157
27157
  shuffle: boolean()
27158
27158
  }), _void(), {
27159
27159
  kind: "mutation",
27160
- auth: "admin"
27160
+ auth: "protected"
27161
27161
  }),
27162
27162
  setRepeat: method(object({
27163
27163
  deviceId: number().int().nonnegative(),
27164
27164
  repeat: MediaPlayerRepeatSchema
27165
27165
  }), _void(), {
27166
27166
  kind: "mutation",
27167
- auth: "admin"
27167
+ auth: "protected"
27168
27168
  }),
27169
27169
  selectSource: method(object({
27170
27170
  deviceId: number().int().nonnegative(),
27171
27171
  source: string().min(1)
27172
27172
  }), _void(), {
27173
27173
  kind: "mutation",
27174
- auth: "admin"
27174
+ auth: "protected"
27175
27175
  }),
27176
27176
  playMedia: method(object({
27177
27177
  deviceId: number().int().nonnegative(),
@@ -27182,7 +27182,7 @@ var mediaPlayerCapability = {
27182
27182
  mediaType: string().min(1)
27183
27183
  }), _void(), {
27184
27184
  kind: "mutation",
27185
- auth: "admin"
27185
+ auth: "protected"
27186
27186
  })
27187
27187
  },
27188
27188
  status: {
@@ -28821,27 +28821,27 @@ var petFeederCapability = {
28821
28821
  hopper2: gramsPortion.optional()
28822
28822
  }), _void(), {
28823
28823
  kind: "mutation",
28824
- auth: "admin"
28824
+ auth: "protected"
28825
28825
  }),
28826
28826
  /** Cancel an in-progress manual feed. */
28827
28827
  cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28828
28828
  kind: "mutation",
28829
- auth: "admin"
28829
+ auth: "protected"
28830
28830
  }),
28831
28831
  /** Reset the desiccant "days remaining" counter after replacing it. */
28832
28832
  resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28833
28833
  kind: "mutation",
28834
- auth: "admin"
28834
+ auth: "protected"
28835
28835
  }),
28836
28836
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
28837
28837
  markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28838
28838
  kind: "mutation",
28839
- auth: "admin"
28839
+ auth: "protected"
28840
28840
  }),
28841
28841
  /** Call the pet with the recorded prompt (D3). */
28842
28842
  callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
28843
28843
  kind: "mutation",
28844
- auth: "admin"
28844
+ auth: "protected"
28845
28845
  }),
28846
28846
  /** Play a stored sound by id (D3 / D4H / D4SH). */
28847
28847
  playSound: method(object({
@@ -28849,7 +28849,7 @@ var petFeederCapability = {
28849
28849
  soundId: number().int().nonnegative()
28850
28850
  }), _void(), {
28851
28851
  kind: "mutation",
28852
- auth: "admin"
28852
+ auth: "protected"
28853
28853
  }),
28854
28854
  /** Toggle the child-lock (manual-lock) setting. */
28855
28855
  setChildLock: method(object({
@@ -28857,7 +28857,7 @@ var petFeederCapability = {
28857
28857
  on: boolean()
28858
28858
  }), _void(), {
28859
28859
  kind: "mutation",
28860
- auth: "admin"
28860
+ auth: "protected"
28861
28861
  }),
28862
28862
  /** Toggle the front indicator light. */
28863
28863
  setIndicatorLight: method(object({
@@ -28865,7 +28865,7 @@ var petFeederCapability = {
28865
28865
  on: boolean()
28866
28866
  }), _void(), {
28867
28867
  kind: "mutation",
28868
- auth: "admin"
28868
+ auth: "protected"
28869
28869
  }),
28870
28870
  /** Toggle the dispense chime. */
28871
28871
  setFeedSound: method(object({
@@ -28873,7 +28873,7 @@ var petFeederCapability = {
28873
28873
  on: boolean()
28874
28874
  }), _void(), {
28875
28875
  kind: "mutation",
28876
- auth: "admin"
28876
+ auth: "protected"
28877
28877
  }),
28878
28878
  /** Set the speaker / prompt volume level. */
28879
28879
  setVolume: method(object({
@@ -28881,7 +28881,7 @@ var petFeederCapability = {
28881
28881
  level: number().int().nonnegative()
28882
28882
  }), _void(), {
28883
28883
  kind: "mutation",
28884
- auth: "admin"
28884
+ auth: "protected"
28885
28885
  })
28886
28886
  },
28887
28887
  status: {
@@ -31437,7 +31437,7 @@ var switchCapability = {
31437
31437
  on: boolean()
31438
31438
  }), _void(), {
31439
31439
  kind: "mutation",
31440
- auth: "admin"
31440
+ auth: "protected"
31441
31441
  }) },
31442
31442
  events: { onStateChanged: { data: object({
31443
31443
  deviceId: number(),
@@ -32425,30 +32425,30 @@ var vacuumControlCapability = {
32425
32425
  methods: {
32426
32426
  start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32427
32427
  kind: "mutation",
32428
- auth: "admin"
32428
+ auth: "protected"
32429
32429
  }),
32430
32430
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32431
32431
  kind: "mutation",
32432
- auth: "admin"
32432
+ auth: "protected"
32433
32433
  }),
32434
32434
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32435
32435
  kind: "mutation",
32436
- auth: "admin"
32436
+ auth: "protected"
32437
32437
  }),
32438
32438
  returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32439
32439
  kind: "mutation",
32440
- auth: "admin"
32440
+ auth: "protected"
32441
32441
  }),
32442
32442
  locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32443
32443
  kind: "mutation",
32444
- auth: "admin"
32444
+ auth: "protected"
32445
32445
  }),
32446
32446
  setFanSpeed: method(object({
32447
32447
  deviceId: number().int().nonnegative(),
32448
32448
  speed: string().min(1)
32449
32449
  }), _void(), {
32450
32450
  kind: "mutation",
32451
- auth: "admin"
32451
+ auth: "protected"
32452
32452
  })
32453
32453
  },
32454
32454
  status: {
@@ -32492,22 +32492,22 @@ var valveCapability = {
32492
32492
  methods: {
32493
32493
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32494
32494
  kind: "mutation",
32495
- auth: "admin"
32495
+ auth: "protected"
32496
32496
  }),
32497
32497
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32498
32498
  kind: "mutation",
32499
- auth: "admin"
32499
+ auth: "protected"
32500
32500
  }),
32501
32501
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32502
32502
  kind: "mutation",
32503
- auth: "admin"
32503
+ auth: "protected"
32504
32504
  }),
32505
32505
  setPosition: method(object({
32506
32506
  deviceId: number().int().nonnegative(),
32507
32507
  position: number().min(0).max(100)
32508
32508
  }), _void(), {
32509
32509
  kind: "mutation",
32510
- auth: "admin"
32510
+ auth: "protected"
32511
32511
  })
32512
32512
  },
32513
32513
  status: {
@@ -32606,21 +32606,21 @@ var waterHeaterCapability = {
32606
32606
  temp: number().finite()
32607
32607
  }), _void(), {
32608
32608
  kind: "mutation",
32609
- auth: "admin"
32609
+ auth: "protected"
32610
32610
  }),
32611
32611
  setOperationMode: method(object({
32612
32612
  deviceId: number().int().nonnegative(),
32613
32613
  mode: string().min(1)
32614
32614
  }), _void(), {
32615
32615
  kind: "mutation",
32616
- auth: "admin"
32616
+ auth: "protected"
32617
32617
  }),
32618
32618
  setAway: method(object({
32619
32619
  deviceId: number().int().nonnegative(),
32620
32620
  on: boolean()
32621
32621
  }), _void(), {
32622
32622
  kind: "mutation",
32623
- auth: "admin"
32623
+ auth: "protected"
32624
32624
  })
32625
32625
  },
32626
32626
  status: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-amcrest",
3
- "version": "0.2.87",
3
+ "version": "0.2.88",
4
4
  "description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
5
5
  "keywords": [
6
6
  "camstack",