@camstack/addon-remote-storage 1.2.84 → 1.2.85

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/s3.addon.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-GkmTwSS1.js");
5
+ const require_shared = require("./shared-BCR8fzfr.js");
6
6
  let node_stream = require("node:stream");
7
7
  let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
8
8
  let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
package/dist/s3.addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-Dd6Ix8wk.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-ffok9GMz.mjs";
2
2
  import { PassThrough } from "node:stream";
3
3
  import { DeleteObjectCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
4
4
  import { Upload } from "@aws-sdk/lib-storage";
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-GkmTwSS1.js");
5
+ const require_shared = require("./shared-BCR8fzfr.js");
6
6
  let ssh2 = require("ssh2");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-Dd6Ix8wk.mjs";
1
+ import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-ffok9GMz.mjs";
2
2
  import { Client } from "ssh2";
3
3
  import * as path from "node:path";
4
4
  //#region src/providers/sftp/sftp-config-schema.ts
@@ -15819,16 +15819,16 @@ DeviceType.AlarmPanel, method(object({
15819
15819
  code: string().min(1).optional()
15820
15820
  }), _void(), {
15821
15821
  kind: "mutation",
15822
- auth: "admin"
15822
+ auth: "protected"
15823
15823
  }), method(object({
15824
15824
  deviceId: number().int().nonnegative(),
15825
15825
  code: string().min(1).optional()
15826
15826
  }), _void(), {
15827
15827
  kind: "mutation",
15828
- auth: "admin"
15828
+ auth: "protected"
15829
15829
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15830
15830
  kind: "mutation",
15831
- auth: "admin"
15831
+ auth: "protected"
15832
15832
  });
15833
15833
  /**
15834
15834
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -23543,7 +23543,7 @@ DeviceType.Light, method(object({
23543
23543
  percentage: number().min(0).max(100)
23544
23544
  }), _void(), {
23545
23545
  kind: "mutation",
23546
- auth: "admin"
23546
+ auth: "protected"
23547
23547
  }), object({
23548
23548
  deviceId: number(),
23549
23549
  percentage: number().min(0).max(100),
@@ -23551,7 +23551,7 @@ DeviceType.Light, method(object({
23551
23551
  });
23552
23552
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23553
23553
  kind: "mutation",
23554
- auth: "admin"
23554
+ auth: "protected"
23555
23555
  });
23556
23556
  /**
23557
23557
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23710,50 +23710,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23710
23710
  mode: HvacModeSchema
23711
23711
  }), _void(), {
23712
23712
  kind: "mutation",
23713
- auth: "admin"
23713
+ auth: "protected"
23714
23714
  }), method(object({
23715
23715
  deviceId: number().int().nonnegative(),
23716
23716
  fanMode: string().min(1)
23717
23717
  }), _void(), {
23718
23718
  kind: "mutation",
23719
- auth: "admin"
23719
+ auth: "protected"
23720
23720
  }), method(object({
23721
23721
  deviceId: number().int().nonnegative(),
23722
23722
  preset: string().min(1)
23723
23723
  }), _void(), {
23724
23724
  kind: "mutation",
23725
- auth: "admin"
23725
+ auth: "protected"
23726
23726
  }), method(object({
23727
23727
  deviceId: number().int().nonnegative(),
23728
23728
  target: number()
23729
23729
  }), _void(), {
23730
23730
  kind: "mutation",
23731
- auth: "admin"
23731
+ auth: "protected"
23732
23732
  }), method(object({
23733
23733
  deviceId: number().int().nonnegative(),
23734
23734
  targetLow: number(),
23735
23735
  targetHigh: number()
23736
23736
  }), _void(), {
23737
23737
  kind: "mutation",
23738
- auth: "admin"
23738
+ auth: "protected"
23739
23739
  }), method(object({
23740
23740
  deviceId: number().int().nonnegative(),
23741
23741
  targetHumidity: number().min(0).max(100)
23742
23742
  }), _void(), {
23743
23743
  kind: "mutation",
23744
- auth: "admin"
23744
+ auth: "protected"
23745
23745
  }), method(object({
23746
23746
  deviceId: number().int().nonnegative(),
23747
23747
  on: boolean()
23748
23748
  }), _void(), {
23749
23749
  kind: "mutation",
23750
- auth: "admin"
23750
+ auth: "protected"
23751
23751
  }), method(object({
23752
23752
  deviceId: number().int().nonnegative(),
23753
23753
  on: boolean()
23754
23754
  }), _void(), {
23755
23755
  kind: "mutation",
23756
- auth: "admin"
23756
+ auth: "protected"
23757
23757
  });
23758
23758
  /**
23759
23759
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23828,7 +23828,7 @@ DeviceType.Light, method(object({
23828
23828
  color: ColorInputSchema
23829
23829
  }), _void(), {
23830
23830
  kind: "mutation",
23831
- auth: "admin"
23831
+ auth: "protected"
23832
23832
  }), object({
23833
23833
  deviceId: number(),
23834
23834
  mode: _enum([
@@ -23977,7 +23977,7 @@ DeviceType.Control, method(object({
23977
23977
  control: ControlSetValueInputSchema
23978
23978
  }), _void(), {
23979
23979
  kind: "mutation",
23980
- auth: "admin"
23980
+ auth: "protected"
23981
23981
  });
23982
23982
  object({
23983
23983
  /** Lifecycle state of the cover. */
@@ -23998,25 +23998,25 @@ object({
23998
23998
  });
23999
23999
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24000
24000
  kind: "mutation",
24001
- auth: "admin"
24001
+ auth: "protected"
24002
24002
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24003
24003
  kind: "mutation",
24004
- auth: "admin"
24004
+ auth: "protected"
24005
24005
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24006
24006
  kind: "mutation",
24007
- auth: "admin"
24007
+ auth: "protected"
24008
24008
  }), method(object({
24009
24009
  deviceId: number().int().nonnegative(),
24010
24010
  position: number().min(0).max(100)
24011
24011
  }), _void(), {
24012
24012
  kind: "mutation",
24013
- auth: "admin"
24013
+ auth: "protected"
24014
24014
  }), method(object({
24015
24015
  deviceId: number().int().nonnegative(),
24016
24016
  tiltPosition: number().min(0).max(100)
24017
24017
  }), _void(), {
24018
24018
  kind: "mutation",
24019
- auth: "admin"
24019
+ auth: "protected"
24020
24020
  });
24021
24021
  /**
24022
24022
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24611,25 +24611,25 @@ DeviceType.Fan, method(object({
24611
24611
  percentage: number().min(0).max(100)
24612
24612
  }), _void(), {
24613
24613
  kind: "mutation",
24614
- auth: "admin"
24614
+ auth: "protected"
24615
24615
  }), method(object({
24616
24616
  deviceId: number().int().nonnegative(),
24617
24617
  preset: string().min(1)
24618
24618
  }), _void(), {
24619
24619
  kind: "mutation",
24620
- auth: "admin"
24620
+ auth: "protected"
24621
24621
  }), method(object({
24622
24622
  deviceId: number().int().nonnegative(),
24623
24623
  direction: FanDirectionSchema
24624
24624
  }), _void(), {
24625
24625
  kind: "mutation",
24626
- auth: "admin"
24626
+ auth: "protected"
24627
24627
  }), method(object({
24628
24628
  deviceId: number().int().nonnegative(),
24629
24629
  oscillating: boolean()
24630
24630
  }), _void(), {
24631
24631
  kind: "mutation",
24632
- auth: "admin"
24632
+ auth: "protected"
24633
24633
  });
24634
24634
  /**
24635
24635
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24732,19 +24732,19 @@ DeviceType.Humidifier, method(object({
24732
24732
  on: boolean()
24733
24733
  }), _void(), {
24734
24734
  kind: "mutation",
24735
- auth: "admin"
24735
+ auth: "protected"
24736
24736
  }), method(object({
24737
24737
  deviceId: number().int().nonnegative(),
24738
24738
  humidity: number().min(0).max(100)
24739
24739
  }), _void(), {
24740
24740
  kind: "mutation",
24741
- auth: "admin"
24741
+ auth: "protected"
24742
24742
  }), method(object({
24743
24743
  deviceId: number().int().nonnegative(),
24744
24744
  mode: string().min(1)
24745
24745
  }), _void(), {
24746
24746
  kind: "mutation",
24747
- auth: "admin"
24747
+ auth: "protected"
24748
24748
  });
24749
24749
  object({
24750
24750
  /** Current relative humidity, 0..100. */
@@ -25206,13 +25206,13 @@ object({
25206
25206
  });
25207
25207
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25208
25208
  kind: "mutation",
25209
- auth: "admin"
25209
+ auth: "protected"
25210
25210
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25211
25211
  kind: "mutation",
25212
- auth: "admin"
25212
+ auth: "protected"
25213
25213
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25214
25214
  kind: "mutation",
25215
- auth: "admin"
25215
+ auth: "protected"
25216
25216
  });
25217
25217
  /**
25218
25218
  * local-network — hub-only singleton.
@@ -25472,16 +25472,16 @@ DeviceType.Lock, method(object({
25472
25472
  code: string().min(1).optional()
25473
25473
  }), _void(), {
25474
25474
  kind: "mutation",
25475
- auth: "admin"
25475
+ auth: "protected"
25476
25476
  }), method(object({
25477
25477
  deviceId: number().int().nonnegative(),
25478
25478
  code: string().min(1).optional()
25479
25479
  }), _void(), {
25480
25480
  kind: "mutation",
25481
- auth: "admin"
25481
+ auth: "protected"
25482
25482
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25483
25483
  kind: "mutation",
25484
- auth: "admin"
25484
+ auth: "protected"
25485
25485
  });
25486
25486
  /**
25487
25487
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25555,55 +25555,55 @@ object({
25555
25555
  });
25556
25556
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25557
25557
  kind: "mutation",
25558
- auth: "admin"
25558
+ auth: "protected"
25559
25559
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25560
25560
  kind: "mutation",
25561
- auth: "admin"
25561
+ auth: "protected"
25562
25562
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25563
25563
  kind: "mutation",
25564
- auth: "admin"
25564
+ auth: "protected"
25565
25565
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25566
25566
  kind: "mutation",
25567
- auth: "admin"
25567
+ auth: "protected"
25568
25568
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25569
25569
  kind: "mutation",
25570
- auth: "admin"
25570
+ auth: "protected"
25571
25571
  }), method(object({
25572
25572
  deviceId: number().int().nonnegative(),
25573
25573
  positionMs: number().int().nonnegative()
25574
25574
  }), _void(), {
25575
25575
  kind: "mutation",
25576
- auth: "admin"
25576
+ auth: "protected"
25577
25577
  }), method(object({
25578
25578
  deviceId: number().int().nonnegative(),
25579
25579
  volumeLevel: number().min(0).max(100)
25580
25580
  }), _void(), {
25581
25581
  kind: "mutation",
25582
- auth: "admin"
25582
+ auth: "protected"
25583
25583
  }), method(object({
25584
25584
  deviceId: number().int().nonnegative(),
25585
25585
  muted: boolean()
25586
25586
  }), _void(), {
25587
25587
  kind: "mutation",
25588
- auth: "admin"
25588
+ auth: "protected"
25589
25589
  }), method(object({
25590
25590
  deviceId: number().int().nonnegative(),
25591
25591
  shuffle: boolean()
25592
25592
  }), _void(), {
25593
25593
  kind: "mutation",
25594
- auth: "admin"
25594
+ auth: "protected"
25595
25595
  }), method(object({
25596
25596
  deviceId: number().int().nonnegative(),
25597
25597
  repeat: MediaPlayerRepeatSchema
25598
25598
  }), _void(), {
25599
25599
  kind: "mutation",
25600
- auth: "admin"
25600
+ auth: "protected"
25601
25601
  }), method(object({
25602
25602
  deviceId: number().int().nonnegative(),
25603
25603
  source: string().min(1)
25604
25604
  }), _void(), {
25605
25605
  kind: "mutation",
25606
- auth: "admin"
25606
+ auth: "protected"
25607
25607
  }), method(object({
25608
25608
  deviceId: number().int().nonnegative(),
25609
25609
  /** Media identifier / URL. */
@@ -25613,7 +25613,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25613
25613
  mediaType: string().min(1)
25614
25614
  }), _void(), {
25615
25615
  kind: "mutation",
25616
- auth: "admin"
25616
+ auth: "protected"
25617
25617
  });
25618
25618
  /**
25619
25619
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26779,49 +26779,49 @@ DeviceType.PetFeeder, method(object({
26779
26779
  hopper2: gramsPortion.optional()
26780
26780
  }), _void(), {
26781
26781
  kind: "mutation",
26782
- auth: "admin"
26782
+ auth: "protected"
26783
26783
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26784
26784
  kind: "mutation",
26785
- auth: "admin"
26785
+ auth: "protected"
26786
26786
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26787
26787
  kind: "mutation",
26788
- auth: "admin"
26788
+ auth: "protected"
26789
26789
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26790
26790
  kind: "mutation",
26791
- auth: "admin"
26791
+ auth: "protected"
26792
26792
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26793
26793
  kind: "mutation",
26794
- auth: "admin"
26794
+ auth: "protected"
26795
26795
  }), method(object({
26796
26796
  deviceId: number().int().nonnegative(),
26797
26797
  soundId: number().int().nonnegative()
26798
26798
  }), _void(), {
26799
26799
  kind: "mutation",
26800
- auth: "admin"
26800
+ auth: "protected"
26801
26801
  }), method(object({
26802
26802
  deviceId: number().int().nonnegative(),
26803
26803
  on: boolean()
26804
26804
  }), _void(), {
26805
26805
  kind: "mutation",
26806
- auth: "admin"
26806
+ auth: "protected"
26807
26807
  }), method(object({
26808
26808
  deviceId: number().int().nonnegative(),
26809
26809
  on: boolean()
26810
26810
  }), _void(), {
26811
26811
  kind: "mutation",
26812
- auth: "admin"
26812
+ auth: "protected"
26813
26813
  }), method(object({
26814
26814
  deviceId: number().int().nonnegative(),
26815
26815
  on: boolean()
26816
26816
  }), _void(), {
26817
26817
  kind: "mutation",
26818
- auth: "admin"
26818
+ auth: "protected"
26819
26819
  }), method(object({
26820
26820
  deviceId: number().int().nonnegative(),
26821
26821
  level: number().int().nonnegative()
26822
26822
  }), _void(), {
26823
26823
  kind: "mutation",
26824
- auth: "admin"
26824
+ auth: "protected"
26825
26825
  });
26826
26826
  var VehicleSchema = object({
26827
26827
  id: string(),
@@ -28608,7 +28608,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28608
28608
  on: boolean()
28609
28609
  }), _void(), {
28610
28610
  kind: "mutation",
28611
- auth: "admin"
28611
+ auth: "protected"
28612
28612
  }), object({
28613
28613
  deviceId: number(),
28614
28614
  on: boolean(),
@@ -29465,25 +29465,25 @@ object({
29465
29465
  });
29466
29466
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29467
29467
  kind: "mutation",
29468
- auth: "admin"
29468
+ auth: "protected"
29469
29469
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29470
29470
  kind: "mutation",
29471
- auth: "admin"
29471
+ auth: "protected"
29472
29472
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29473
29473
  kind: "mutation",
29474
- auth: "admin"
29474
+ auth: "protected"
29475
29475
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29476
29476
  kind: "mutation",
29477
- auth: "admin"
29477
+ auth: "protected"
29478
29478
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29479
29479
  kind: "mutation",
29480
- auth: "admin"
29480
+ auth: "protected"
29481
29481
  }), method(object({
29482
29482
  deviceId: number().int().nonnegative(),
29483
29483
  speed: string().min(1)
29484
29484
  }), _void(), {
29485
29485
  kind: "mutation",
29486
- auth: "admin"
29486
+ auth: "protected"
29487
29487
  });
29488
29488
  object({
29489
29489
  /** Lifecycle state of the valve. */
@@ -29502,19 +29502,19 @@ object({
29502
29502
  });
29503
29503
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29504
29504
  kind: "mutation",
29505
- auth: "admin"
29505
+ auth: "protected"
29506
29506
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29507
29507
  kind: "mutation",
29508
- auth: "admin"
29508
+ auth: "protected"
29509
29509
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29510
29510
  kind: "mutation",
29511
- auth: "admin"
29511
+ auth: "protected"
29512
29512
  }), method(object({
29513
29513
  deviceId: number().int().nonnegative(),
29514
29514
  position: number().min(0).max(100)
29515
29515
  }), _void(), {
29516
29516
  kind: "mutation",
29517
- auth: "admin"
29517
+ auth: "protected"
29518
29518
  });
29519
29519
  object({
29520
29520
  detected: boolean(),
@@ -29548,19 +29548,19 @@ DeviceType.WaterHeater, method(object({
29548
29548
  temp: number().finite()
29549
29549
  }), _void(), {
29550
29550
  kind: "mutation",
29551
- auth: "admin"
29551
+ auth: "protected"
29552
29552
  }), method(object({
29553
29553
  deviceId: number().int().nonnegative(),
29554
29554
  mode: string().min(1)
29555
29555
  }), _void(), {
29556
29556
  kind: "mutation",
29557
- auth: "admin"
29557
+ auth: "protected"
29558
29558
  }), method(object({
29559
29559
  deviceId: number().int().nonnegative(),
29560
29560
  on: boolean()
29561
29561
  }), _void(), {
29562
29562
  kind: "mutation",
29563
- auth: "admin"
29563
+ auth: "protected"
29564
29564
  });
29565
29565
  object({
29566
29566
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -15796,16 +15796,16 @@ DeviceType.AlarmPanel, method(object({
15796
15796
  code: string().min(1).optional()
15797
15797
  }), _void(), {
15798
15798
  kind: "mutation",
15799
- auth: "admin"
15799
+ auth: "protected"
15800
15800
  }), method(object({
15801
15801
  deviceId: number().int().nonnegative(),
15802
15802
  code: string().min(1).optional()
15803
15803
  }), _void(), {
15804
15804
  kind: "mutation",
15805
- auth: "admin"
15805
+ auth: "protected"
15806
15806
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
15807
15807
  kind: "mutation",
15808
- auth: "admin"
15808
+ auth: "protected"
15809
15809
  });
15810
15810
  /**
15811
15811
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -23520,7 +23520,7 @@ DeviceType.Light, method(object({
23520
23520
  percentage: number().min(0).max(100)
23521
23521
  }), _void(), {
23522
23522
  kind: "mutation",
23523
- auth: "admin"
23523
+ auth: "protected"
23524
23524
  }), object({
23525
23525
  deviceId: number(),
23526
23526
  percentage: number().min(0).max(100),
@@ -23528,7 +23528,7 @@ DeviceType.Light, method(object({
23528
23528
  });
23529
23529
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23530
23530
  kind: "mutation",
23531
- auth: "admin"
23531
+ auth: "protected"
23532
23532
  });
23533
23533
  /**
23534
23534
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23687,50 +23687,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23687
23687
  mode: HvacModeSchema
23688
23688
  }), _void(), {
23689
23689
  kind: "mutation",
23690
- auth: "admin"
23690
+ auth: "protected"
23691
23691
  }), method(object({
23692
23692
  deviceId: number().int().nonnegative(),
23693
23693
  fanMode: string().min(1)
23694
23694
  }), _void(), {
23695
23695
  kind: "mutation",
23696
- auth: "admin"
23696
+ auth: "protected"
23697
23697
  }), method(object({
23698
23698
  deviceId: number().int().nonnegative(),
23699
23699
  preset: string().min(1)
23700
23700
  }), _void(), {
23701
23701
  kind: "mutation",
23702
- auth: "admin"
23702
+ auth: "protected"
23703
23703
  }), method(object({
23704
23704
  deviceId: number().int().nonnegative(),
23705
23705
  target: number()
23706
23706
  }), _void(), {
23707
23707
  kind: "mutation",
23708
- auth: "admin"
23708
+ auth: "protected"
23709
23709
  }), method(object({
23710
23710
  deviceId: number().int().nonnegative(),
23711
23711
  targetLow: number(),
23712
23712
  targetHigh: number()
23713
23713
  }), _void(), {
23714
23714
  kind: "mutation",
23715
- auth: "admin"
23715
+ auth: "protected"
23716
23716
  }), method(object({
23717
23717
  deviceId: number().int().nonnegative(),
23718
23718
  targetHumidity: number().min(0).max(100)
23719
23719
  }), _void(), {
23720
23720
  kind: "mutation",
23721
- auth: "admin"
23721
+ auth: "protected"
23722
23722
  }), method(object({
23723
23723
  deviceId: number().int().nonnegative(),
23724
23724
  on: boolean()
23725
23725
  }), _void(), {
23726
23726
  kind: "mutation",
23727
- auth: "admin"
23727
+ auth: "protected"
23728
23728
  }), method(object({
23729
23729
  deviceId: number().int().nonnegative(),
23730
23730
  on: boolean()
23731
23731
  }), _void(), {
23732
23732
  kind: "mutation",
23733
- auth: "admin"
23733
+ auth: "protected"
23734
23734
  });
23735
23735
  /**
23736
23736
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -23805,7 +23805,7 @@ DeviceType.Light, method(object({
23805
23805
  color: ColorInputSchema
23806
23806
  }), _void(), {
23807
23807
  kind: "mutation",
23808
- auth: "admin"
23808
+ auth: "protected"
23809
23809
  }), object({
23810
23810
  deviceId: number(),
23811
23811
  mode: _enum([
@@ -23954,7 +23954,7 @@ DeviceType.Control, method(object({
23954
23954
  control: ControlSetValueInputSchema
23955
23955
  }), _void(), {
23956
23956
  kind: "mutation",
23957
- auth: "admin"
23957
+ auth: "protected"
23958
23958
  });
23959
23959
  object({
23960
23960
  /** Lifecycle state of the cover. */
@@ -23975,25 +23975,25 @@ object({
23975
23975
  });
23976
23976
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23977
23977
  kind: "mutation",
23978
- auth: "admin"
23978
+ auth: "protected"
23979
23979
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
23980
23980
  kind: "mutation",
23981
- auth: "admin"
23981
+ auth: "protected"
23982
23982
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
23983
23983
  kind: "mutation",
23984
- auth: "admin"
23984
+ auth: "protected"
23985
23985
  }), method(object({
23986
23986
  deviceId: number().int().nonnegative(),
23987
23987
  position: number().min(0).max(100)
23988
23988
  }), _void(), {
23989
23989
  kind: "mutation",
23990
- auth: "admin"
23990
+ auth: "protected"
23991
23991
  }), method(object({
23992
23992
  deviceId: number().int().nonnegative(),
23993
23993
  tiltPosition: number().min(0).max(100)
23994
23994
  }), _void(), {
23995
23995
  kind: "mutation",
23996
- auth: "admin"
23996
+ auth: "protected"
23997
23997
  });
23998
23998
  /**
23999
23999
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24588,25 +24588,25 @@ DeviceType.Fan, method(object({
24588
24588
  percentage: number().min(0).max(100)
24589
24589
  }), _void(), {
24590
24590
  kind: "mutation",
24591
- auth: "admin"
24591
+ auth: "protected"
24592
24592
  }), method(object({
24593
24593
  deviceId: number().int().nonnegative(),
24594
24594
  preset: string().min(1)
24595
24595
  }), _void(), {
24596
24596
  kind: "mutation",
24597
- auth: "admin"
24597
+ auth: "protected"
24598
24598
  }), method(object({
24599
24599
  deviceId: number().int().nonnegative(),
24600
24600
  direction: FanDirectionSchema
24601
24601
  }), _void(), {
24602
24602
  kind: "mutation",
24603
- auth: "admin"
24603
+ auth: "protected"
24604
24604
  }), method(object({
24605
24605
  deviceId: number().int().nonnegative(),
24606
24606
  oscillating: boolean()
24607
24607
  }), _void(), {
24608
24608
  kind: "mutation",
24609
- auth: "admin"
24609
+ auth: "protected"
24610
24610
  });
24611
24611
  /**
24612
24612
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24709,19 +24709,19 @@ DeviceType.Humidifier, method(object({
24709
24709
  on: boolean()
24710
24710
  }), _void(), {
24711
24711
  kind: "mutation",
24712
- auth: "admin"
24712
+ auth: "protected"
24713
24713
  }), method(object({
24714
24714
  deviceId: number().int().nonnegative(),
24715
24715
  humidity: number().min(0).max(100)
24716
24716
  }), _void(), {
24717
24717
  kind: "mutation",
24718
- auth: "admin"
24718
+ auth: "protected"
24719
24719
  }), method(object({
24720
24720
  deviceId: number().int().nonnegative(),
24721
24721
  mode: string().min(1)
24722
24722
  }), _void(), {
24723
24723
  kind: "mutation",
24724
- auth: "admin"
24724
+ auth: "protected"
24725
24725
  });
24726
24726
  object({
24727
24727
  /** Current relative humidity, 0..100. */
@@ -25183,13 +25183,13 @@ object({
25183
25183
  });
25184
25184
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25185
25185
  kind: "mutation",
25186
- auth: "admin"
25186
+ auth: "protected"
25187
25187
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25188
25188
  kind: "mutation",
25189
- auth: "admin"
25189
+ auth: "protected"
25190
25190
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25191
25191
  kind: "mutation",
25192
- auth: "admin"
25192
+ auth: "protected"
25193
25193
  });
25194
25194
  /**
25195
25195
  * local-network — hub-only singleton.
@@ -25449,16 +25449,16 @@ DeviceType.Lock, method(object({
25449
25449
  code: string().min(1).optional()
25450
25450
  }), _void(), {
25451
25451
  kind: "mutation",
25452
- auth: "admin"
25452
+ auth: "protected"
25453
25453
  }), method(object({
25454
25454
  deviceId: number().int().nonnegative(),
25455
25455
  code: string().min(1).optional()
25456
25456
  }), _void(), {
25457
25457
  kind: "mutation",
25458
- auth: "admin"
25458
+ auth: "protected"
25459
25459
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25460
25460
  kind: "mutation",
25461
- auth: "admin"
25461
+ auth: "protected"
25462
25462
  });
25463
25463
  /**
25464
25464
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25532,55 +25532,55 @@ object({
25532
25532
  });
25533
25533
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25534
25534
  kind: "mutation",
25535
- auth: "admin"
25535
+ auth: "protected"
25536
25536
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25537
25537
  kind: "mutation",
25538
- auth: "admin"
25538
+ auth: "protected"
25539
25539
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25540
25540
  kind: "mutation",
25541
- auth: "admin"
25541
+ auth: "protected"
25542
25542
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25543
25543
  kind: "mutation",
25544
- auth: "admin"
25544
+ auth: "protected"
25545
25545
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25546
25546
  kind: "mutation",
25547
- auth: "admin"
25547
+ auth: "protected"
25548
25548
  }), method(object({
25549
25549
  deviceId: number().int().nonnegative(),
25550
25550
  positionMs: number().int().nonnegative()
25551
25551
  }), _void(), {
25552
25552
  kind: "mutation",
25553
- auth: "admin"
25553
+ auth: "protected"
25554
25554
  }), method(object({
25555
25555
  deviceId: number().int().nonnegative(),
25556
25556
  volumeLevel: number().min(0).max(100)
25557
25557
  }), _void(), {
25558
25558
  kind: "mutation",
25559
- auth: "admin"
25559
+ auth: "protected"
25560
25560
  }), method(object({
25561
25561
  deviceId: number().int().nonnegative(),
25562
25562
  muted: boolean()
25563
25563
  }), _void(), {
25564
25564
  kind: "mutation",
25565
- auth: "admin"
25565
+ auth: "protected"
25566
25566
  }), method(object({
25567
25567
  deviceId: number().int().nonnegative(),
25568
25568
  shuffle: boolean()
25569
25569
  }), _void(), {
25570
25570
  kind: "mutation",
25571
- auth: "admin"
25571
+ auth: "protected"
25572
25572
  }), method(object({
25573
25573
  deviceId: number().int().nonnegative(),
25574
25574
  repeat: MediaPlayerRepeatSchema
25575
25575
  }), _void(), {
25576
25576
  kind: "mutation",
25577
- auth: "admin"
25577
+ auth: "protected"
25578
25578
  }), method(object({
25579
25579
  deviceId: number().int().nonnegative(),
25580
25580
  source: string().min(1)
25581
25581
  }), _void(), {
25582
25582
  kind: "mutation",
25583
- auth: "admin"
25583
+ auth: "protected"
25584
25584
  }), method(object({
25585
25585
  deviceId: number().int().nonnegative(),
25586
25586
  /** Media identifier / URL. */
@@ -25590,7 +25590,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25590
25590
  mediaType: string().min(1)
25591
25591
  }), _void(), {
25592
25592
  kind: "mutation",
25593
- auth: "admin"
25593
+ auth: "protected"
25594
25594
  });
25595
25595
  /**
25596
25596
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26756,49 +26756,49 @@ DeviceType.PetFeeder, method(object({
26756
26756
  hopper2: gramsPortion.optional()
26757
26757
  }), _void(), {
26758
26758
  kind: "mutation",
26759
- auth: "admin"
26759
+ auth: "protected"
26760
26760
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26761
26761
  kind: "mutation",
26762
- auth: "admin"
26762
+ auth: "protected"
26763
26763
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26764
26764
  kind: "mutation",
26765
- auth: "admin"
26765
+ auth: "protected"
26766
26766
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26767
26767
  kind: "mutation",
26768
- auth: "admin"
26768
+ auth: "protected"
26769
26769
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
26770
26770
  kind: "mutation",
26771
- auth: "admin"
26771
+ auth: "protected"
26772
26772
  }), method(object({
26773
26773
  deviceId: number().int().nonnegative(),
26774
26774
  soundId: number().int().nonnegative()
26775
26775
  }), _void(), {
26776
26776
  kind: "mutation",
26777
- auth: "admin"
26777
+ auth: "protected"
26778
26778
  }), method(object({
26779
26779
  deviceId: number().int().nonnegative(),
26780
26780
  on: boolean()
26781
26781
  }), _void(), {
26782
26782
  kind: "mutation",
26783
- auth: "admin"
26783
+ auth: "protected"
26784
26784
  }), method(object({
26785
26785
  deviceId: number().int().nonnegative(),
26786
26786
  on: boolean()
26787
26787
  }), _void(), {
26788
26788
  kind: "mutation",
26789
- auth: "admin"
26789
+ auth: "protected"
26790
26790
  }), method(object({
26791
26791
  deviceId: number().int().nonnegative(),
26792
26792
  on: boolean()
26793
26793
  }), _void(), {
26794
26794
  kind: "mutation",
26795
- auth: "admin"
26795
+ auth: "protected"
26796
26796
  }), method(object({
26797
26797
  deviceId: number().int().nonnegative(),
26798
26798
  level: number().int().nonnegative()
26799
26799
  }), _void(), {
26800
26800
  kind: "mutation",
26801
- auth: "admin"
26801
+ auth: "protected"
26802
26802
  });
26803
26803
  var VehicleSchema = object({
26804
26804
  id: string(),
@@ -28585,7 +28585,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28585
28585
  on: boolean()
28586
28586
  }), _void(), {
28587
28587
  kind: "mutation",
28588
- auth: "admin"
28588
+ auth: "protected"
28589
28589
  }), object({
28590
28590
  deviceId: number(),
28591
28591
  on: boolean(),
@@ -29442,25 +29442,25 @@ object({
29442
29442
  });
29443
29443
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29444
29444
  kind: "mutation",
29445
- auth: "admin"
29445
+ auth: "protected"
29446
29446
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29447
29447
  kind: "mutation",
29448
- auth: "admin"
29448
+ auth: "protected"
29449
29449
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29450
29450
  kind: "mutation",
29451
- auth: "admin"
29451
+ auth: "protected"
29452
29452
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29453
29453
  kind: "mutation",
29454
- auth: "admin"
29454
+ auth: "protected"
29455
29455
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29456
29456
  kind: "mutation",
29457
- auth: "admin"
29457
+ auth: "protected"
29458
29458
  }), method(object({
29459
29459
  deviceId: number().int().nonnegative(),
29460
29460
  speed: string().min(1)
29461
29461
  }), _void(), {
29462
29462
  kind: "mutation",
29463
- auth: "admin"
29463
+ auth: "protected"
29464
29464
  });
29465
29465
  object({
29466
29466
  /** Lifecycle state of the valve. */
@@ -29479,19 +29479,19 @@ object({
29479
29479
  });
29480
29480
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29481
29481
  kind: "mutation",
29482
- auth: "admin"
29482
+ auth: "protected"
29483
29483
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29484
29484
  kind: "mutation",
29485
- auth: "admin"
29485
+ auth: "protected"
29486
29486
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29487
29487
  kind: "mutation",
29488
- auth: "admin"
29488
+ auth: "protected"
29489
29489
  }), method(object({
29490
29490
  deviceId: number().int().nonnegative(),
29491
29491
  position: number().min(0).max(100)
29492
29492
  }), _void(), {
29493
29493
  kind: "mutation",
29494
- auth: "admin"
29494
+ auth: "protected"
29495
29495
  });
29496
29496
  object({
29497
29497
  detected: boolean(),
@@ -29525,19 +29525,19 @@ DeviceType.WaterHeater, method(object({
29525
29525
  temp: number().finite()
29526
29526
  }), _void(), {
29527
29527
  kind: "mutation",
29528
- auth: "admin"
29528
+ auth: "protected"
29529
29529
  }), method(object({
29530
29530
  deviceId: number().int().nonnegative(),
29531
29531
  mode: string().min(1)
29532
29532
  }), _void(), {
29533
29533
  kind: "mutation",
29534
- auth: "admin"
29534
+ auth: "protected"
29535
29535
  }), method(object({
29536
29536
  deviceId: number().int().nonnegative(),
29537
29537
  on: boolean()
29538
29538
  }), _void(), {
29539
29539
  kind: "mutation",
29540
- auth: "admin"
29540
+ auth: "protected"
29541
29541
  });
29542
29542
  object({
29543
29543
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
package/dist/smb.addon.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-GkmTwSS1.js");
5
+ const require_shared = require("./shared-BCR8fzfr.js");
6
6
  let node_crypto = require("node:crypto");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-Dd6Ix8wk.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-ffok9GMz.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import * as path from "node:path";
4
4
  import * as fsp from "node:fs/promises";
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-GkmTwSS1.js");
5
+ const require_shared = require("./shared-BCR8fzfr.js");
6
6
  let node_stream = require("node:stream");
7
7
  let webdav = require("webdav");
8
8
  //#region src/providers/webdav/webdav-config-schema.ts
@@ -1,4 +1,4 @@
1
- import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-Dd6Ix8wk.mjs";
1
+ import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-ffok9GMz.mjs";
2
2
  import { PassThrough } from "node:stream";
3
3
  import { AuthType, createClient } from "webdav";
4
4
  //#region src/providers/webdav/webdav-config-schema.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-remote-storage",
3
- "version": "1.2.84",
3
+ "version": "1.2.85",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",