@camstack/addon-provider-bosch 0.1.1 → 0.1.2

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.
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-QXDYCZIL.js");
1
+ const require_dist = require("./dist-DvEvuaoA.js");
2
2
  //#region src/shared/account-integration-cascade.ts
3
3
  async function cascadeRemoveDevicesForIntegration(input) {
4
4
  const { reg, devices, addonId, system, integrationId, logger } = input;
@@ -1,4 +1,4 @@
1
- import { p as errMsg } from "./dist-CY6qHAEx.mjs";
1
+ import { v as errMsg } from "./dist-BoMB3-eL.mjs";
2
2
  //#region src/shared/account-integration-cascade.ts
3
3
  async function cascadeRemoveDevicesForIntegration(input) {
4
4
  const { reg, devices, addonId, system, integrationId, logger } = input;
@@ -5405,7 +5405,7 @@ var ZodIssueCode = {
5405
5405
  var ZodFirstPartyTypeKind;
5406
5406
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5407
5407
  //#endregion
5408
- //#region ../types/dist/sleep-BOjuyoPC.mjs
5408
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5409
5409
  /**
5410
5410
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5411
5411
  * window to float samples (D455).
@@ -17575,7 +17575,11 @@ var deviceDiscoveryCapability = {
17575
17575
  };
17576
17576
  /**
17577
17577
  * `device-adoption` — generic discovery + adoption surface,
17578
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
17578
+ * system-scoped collection (one provider per integration addon), routed
17579
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
17580
+ * pin model as `connection-test`. The admin UI keeps using
17581
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
17582
+ * successor to `ha-discovery`:
17579
17583
  * keyed by `integrationId` (the addon resolves integrationId → broker
17580
17584
  * internally) rather than a connection-specific `brokerId`, and it
17581
17585
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -17740,7 +17744,7 @@ var ResyncResultSchema = object({
17740
17744
  var deviceAdoptionCapability = {
17741
17745
  name: "device-adoption",
17742
17746
  scope: "system",
17743
- mode: "singleton",
17747
+ mode: "collection",
17744
17748
  status: {
17745
17749
  schema: AdoptionStatusSchema,
17746
17750
  kind: "poll"
@@ -55297,6 +55301,14 @@ var DishwasherStatusSchema = object({
55297
55301
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55298
55302
  halfLoad: boolean(),
55299
55303
  hygienePlus: boolean(),
55304
+ /** Extra dry option when the appliance exposes it. */
55305
+ extraDry: boolean(),
55306
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55307
+ intensiveZone: boolean(),
55308
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55309
+ varioSpeedPlus: boolean(),
55310
+ /** Child lock (controls disabled on the appliance). */
55311
+ childLock: boolean(),
55300
55312
  errorCode: number().nullable(),
55301
55313
  errorLabel: string().nullable(),
55302
55314
  lastFetchedAt: number()
@@ -55348,6 +55360,34 @@ var dishwasherCapability = {
55348
55360
  kind: "mutation",
55349
55361
  auth: "protected"
55350
55362
  }),
55363
+ setExtraDry: method(object({
55364
+ deviceId: number().int().nonnegative(),
55365
+ on: boolean()
55366
+ }), _void(), {
55367
+ kind: "mutation",
55368
+ auth: "protected"
55369
+ }),
55370
+ setIntensiveZone: method(object({
55371
+ deviceId: number().int().nonnegative(),
55372
+ on: boolean()
55373
+ }), _void(), {
55374
+ kind: "mutation",
55375
+ auth: "protected"
55376
+ }),
55377
+ setVarioSpeedPlus: method(object({
55378
+ deviceId: number().int().nonnegative(),
55379
+ on: boolean()
55380
+ }), _void(), {
55381
+ kind: "mutation",
55382
+ auth: "protected"
55383
+ }),
55384
+ setChildLock: method(object({
55385
+ deviceId: number().int().nonnegative(),
55386
+ on: boolean()
55387
+ }), _void(), {
55388
+ kind: "mutation",
55389
+ auth: "protected"
55390
+ }),
55351
55391
  setOption: method(object({
55352
55392
  deviceId: number().int().nonnegative(),
55353
55393
  key: string().min(1),
@@ -69320,6 +69360,18 @@ Object.freeze({
69320
69360
  addonId: null,
69321
69361
  access: "create"
69322
69362
  },
69363
+ "dishwasher.setChildLock": {
69364
+ capName: "dishwasher",
69365
+ capScope: "device",
69366
+ addonId: null,
69367
+ access: "create"
69368
+ },
69369
+ "dishwasher.setExtraDry": {
69370
+ capName: "dishwasher",
69371
+ capScope: "device",
69372
+ addonId: null,
69373
+ access: "create"
69374
+ },
69323
69375
  "dishwasher.setHalfLoad": {
69324
69376
  capName: "dishwasher",
69325
69377
  capScope: "device",
@@ -69332,6 +69384,12 @@ Object.freeze({
69332
69384
  addonId: null,
69333
69385
  access: "create"
69334
69386
  },
69387
+ "dishwasher.setIntensiveZone": {
69388
+ capName: "dishwasher",
69389
+ capScope: "device",
69390
+ addonId: null,
69391
+ access: "create"
69392
+ },
69335
69393
  "dishwasher.setOption": {
69336
69394
  capName: "dishwasher",
69337
69395
  capScope: "device",
@@ -69350,6 +69408,12 @@ Object.freeze({
69350
69408
  addonId: null,
69351
69409
  access: "create"
69352
69410
  },
69411
+ "dishwasher.setVarioSpeedPlus": {
69412
+ capName: "dishwasher",
69413
+ capScope: "device",
69414
+ addonId: null,
69415
+ access: "create"
69416
+ },
69353
69417
  "dishwasher.start": {
69354
69418
  capName: "dishwasher",
69355
69419
  capScope: "device",
@@ -75999,6 +76063,16 @@ Object.freeze({
75999
76063
  form: "single",
76000
76064
  optional: false
76001
76065
  }],
76066
+ "dishwasher.setChildLock": [{
76067
+ name: "deviceId",
76068
+ form: "single",
76069
+ optional: false
76070
+ }],
76071
+ "dishwasher.setExtraDry": [{
76072
+ name: "deviceId",
76073
+ form: "single",
76074
+ optional: false
76075
+ }],
76002
76076
  "dishwasher.setHalfLoad": [{
76003
76077
  name: "deviceId",
76004
76078
  form: "single",
@@ -76009,6 +76083,11 @@ Object.freeze({
76009
76083
  form: "single",
76010
76084
  optional: false
76011
76085
  }],
76086
+ "dishwasher.setIntensiveZone": [{
76087
+ name: "deviceId",
76088
+ form: "single",
76089
+ optional: false
76090
+ }],
76012
76091
  "dishwasher.setOption": [{
76013
76092
  name: "deviceId",
76014
76093
  form: "single",
@@ -76024,6 +76103,11 @@ Object.freeze({
76024
76103
  form: "single",
76025
76104
  optional: false
76026
76105
  }],
76106
+ "dishwasher.setVarioSpeedPlus": [{
76107
+ name: "deviceId",
76108
+ form: "single",
76109
+ optional: false
76110
+ }],
76027
76111
  "dishwasher.start": [{
76028
76112
  name: "deviceId",
76029
76113
  form: "single",
@@ -79000,4 +79084,4 @@ DEFAULT_NATIVE_LEASE_SETTINGS.admission;
79000
79084
  var MB = 1024 * 1024;
79001
79085
  1024 * MB, 3072 * MB;
79002
79086
  //#endregion
79003
- export { record as C, EventCategory as D, unknown as E, object as S, union as T, isSecretMarkerLike as _, connectionTestCapability as a, literal as b, heatingValveCapability as c, waterHeaterCapability as d, DeviceType as f, isSecretMarker as g, defineCustomActions as h, climateControlCapability as i, switchCapability as l, customAction as m, BaseDeviceProvider as n, deviceAdoptionCapability as o, errMsg as p, batteryCapability as r, dishwasherCapability as s, BaseDevice as t, temperatureSensorCapability as u, _enum as v, string as w, number as x, array as y };
79087
+ export { union as A, _enum as C, object as D, number as E, EventCategory as M, record as O, isSecretMarkerLike as S, literal as T, DeviceType as _, climateControlCapability as a, defineCustomActions as b, dishwasherCapability as c, numericSensorCapability as d, powerMeterCapability as f, DeviceRole as g, waterHeaterCapability as h, binaryCapability as i, unknown as j, string as k, enumSensorCapability as l, temperatureSensorCapability as m, BaseDeviceProvider as n, connectionTestCapability as o, switchCapability as p, batteryCapability as r, deviceAdoptionCapability as s, BaseDevice as t, heatingValveCapability as u, errMsg as v, array as w, isSecretMarker as x, customAction as y };
@@ -5405,7 +5405,7 @@ var ZodIssueCode = {
5405
5405
  var ZodFirstPartyTypeKind;
5406
5406
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5407
5407
  //#endregion
5408
- //#region ../types/dist/sleep-BOjuyoPC.mjs
5408
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5409
5409
  /**
5410
5410
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5411
5411
  * window to float samples (D455).
@@ -17575,7 +17575,11 @@ var deviceDiscoveryCapability = {
17575
17575
  };
17576
17576
  /**
17577
17577
  * `device-adoption` — generic discovery + adoption surface,
17578
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
17578
+ * system-scoped collection (one provider per integration addon), routed
17579
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
17580
+ * pin model as `connection-test`. The admin UI keeps using
17581
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
17582
+ * successor to `ha-discovery`:
17579
17583
  * keyed by `integrationId` (the addon resolves integrationId → broker
17580
17584
  * internally) rather than a connection-specific `brokerId`, and it
17581
17585
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -17740,7 +17744,7 @@ var ResyncResultSchema = object({
17740
17744
  var deviceAdoptionCapability = {
17741
17745
  name: "device-adoption",
17742
17746
  scope: "system",
17743
- mode: "singleton",
17747
+ mode: "collection",
17744
17748
  status: {
17745
17749
  schema: AdoptionStatusSchema,
17746
17750
  kind: "poll"
@@ -55297,6 +55301,14 @@ var DishwasherStatusSchema = object({
55297
55301
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55298
55302
  halfLoad: boolean(),
55299
55303
  hygienePlus: boolean(),
55304
+ /** Extra dry option when the appliance exposes it. */
55305
+ extraDry: boolean(),
55306
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55307
+ intensiveZone: boolean(),
55308
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55309
+ varioSpeedPlus: boolean(),
55310
+ /** Child lock (controls disabled on the appliance). */
55311
+ childLock: boolean(),
55300
55312
  errorCode: number().nullable(),
55301
55313
  errorLabel: string().nullable(),
55302
55314
  lastFetchedAt: number()
@@ -55348,6 +55360,34 @@ var dishwasherCapability = {
55348
55360
  kind: "mutation",
55349
55361
  auth: "protected"
55350
55362
  }),
55363
+ setExtraDry: method(object({
55364
+ deviceId: number().int().nonnegative(),
55365
+ on: boolean()
55366
+ }), _void(), {
55367
+ kind: "mutation",
55368
+ auth: "protected"
55369
+ }),
55370
+ setIntensiveZone: method(object({
55371
+ deviceId: number().int().nonnegative(),
55372
+ on: boolean()
55373
+ }), _void(), {
55374
+ kind: "mutation",
55375
+ auth: "protected"
55376
+ }),
55377
+ setVarioSpeedPlus: method(object({
55378
+ deviceId: number().int().nonnegative(),
55379
+ on: boolean()
55380
+ }), _void(), {
55381
+ kind: "mutation",
55382
+ auth: "protected"
55383
+ }),
55384
+ setChildLock: method(object({
55385
+ deviceId: number().int().nonnegative(),
55386
+ on: boolean()
55387
+ }), _void(), {
55388
+ kind: "mutation",
55389
+ auth: "protected"
55390
+ }),
55351
55391
  setOption: method(object({
55352
55392
  deviceId: number().int().nonnegative(),
55353
55393
  key: string().min(1),
@@ -69320,6 +69360,18 @@ Object.freeze({
69320
69360
  addonId: null,
69321
69361
  access: "create"
69322
69362
  },
69363
+ "dishwasher.setChildLock": {
69364
+ capName: "dishwasher",
69365
+ capScope: "device",
69366
+ addonId: null,
69367
+ access: "create"
69368
+ },
69369
+ "dishwasher.setExtraDry": {
69370
+ capName: "dishwasher",
69371
+ capScope: "device",
69372
+ addonId: null,
69373
+ access: "create"
69374
+ },
69323
69375
  "dishwasher.setHalfLoad": {
69324
69376
  capName: "dishwasher",
69325
69377
  capScope: "device",
@@ -69332,6 +69384,12 @@ Object.freeze({
69332
69384
  addonId: null,
69333
69385
  access: "create"
69334
69386
  },
69387
+ "dishwasher.setIntensiveZone": {
69388
+ capName: "dishwasher",
69389
+ capScope: "device",
69390
+ addonId: null,
69391
+ access: "create"
69392
+ },
69335
69393
  "dishwasher.setOption": {
69336
69394
  capName: "dishwasher",
69337
69395
  capScope: "device",
@@ -69350,6 +69408,12 @@ Object.freeze({
69350
69408
  addonId: null,
69351
69409
  access: "create"
69352
69410
  },
69411
+ "dishwasher.setVarioSpeedPlus": {
69412
+ capName: "dishwasher",
69413
+ capScope: "device",
69414
+ addonId: null,
69415
+ access: "create"
69416
+ },
69353
69417
  "dishwasher.start": {
69354
69418
  capName: "dishwasher",
69355
69419
  capScope: "device",
@@ -75999,6 +76063,16 @@ Object.freeze({
75999
76063
  form: "single",
76000
76064
  optional: false
76001
76065
  }],
76066
+ "dishwasher.setChildLock": [{
76067
+ name: "deviceId",
76068
+ form: "single",
76069
+ optional: false
76070
+ }],
76071
+ "dishwasher.setExtraDry": [{
76072
+ name: "deviceId",
76073
+ form: "single",
76074
+ optional: false
76075
+ }],
76002
76076
  "dishwasher.setHalfLoad": [{
76003
76077
  name: "deviceId",
76004
76078
  form: "single",
@@ -76009,6 +76083,11 @@ Object.freeze({
76009
76083
  form: "single",
76010
76084
  optional: false
76011
76085
  }],
76086
+ "dishwasher.setIntensiveZone": [{
76087
+ name: "deviceId",
76088
+ form: "single",
76089
+ optional: false
76090
+ }],
76012
76091
  "dishwasher.setOption": [{
76013
76092
  name: "deviceId",
76014
76093
  form: "single",
@@ -76024,6 +76103,11 @@ Object.freeze({
76024
76103
  form: "single",
76025
76104
  optional: false
76026
76105
  }],
76106
+ "dishwasher.setVarioSpeedPlus": [{
76107
+ name: "deviceId",
76108
+ form: "single",
76109
+ optional: false
76110
+ }],
76027
76111
  "dishwasher.start": [{
76028
76112
  name: "deviceId",
76029
76113
  form: "single",
@@ -79012,6 +79096,12 @@ Object.defineProperty(exports, "BaseDeviceProvider", {
79012
79096
  return BaseDeviceProvider;
79013
79097
  }
79014
79098
  });
79099
+ Object.defineProperty(exports, "DeviceRole", {
79100
+ enumerable: true,
79101
+ get: function() {
79102
+ return DeviceRole;
79103
+ }
79104
+ });
79015
79105
  Object.defineProperty(exports, "DeviceType", {
79016
79106
  enumerable: true,
79017
79107
  get: function() {
@@ -79042,6 +79132,12 @@ Object.defineProperty(exports, "batteryCapability", {
79042
79132
  return batteryCapability;
79043
79133
  }
79044
79134
  });
79135
+ Object.defineProperty(exports, "binaryCapability", {
79136
+ enumerable: true,
79137
+ get: function() {
79138
+ return binaryCapability;
79139
+ }
79140
+ });
79045
79141
  Object.defineProperty(exports, "climateControlCapability", {
79046
79142
  enumerable: true,
79047
79143
  get: function() {
@@ -79078,6 +79174,12 @@ Object.defineProperty(exports, "dishwasherCapability", {
79078
79174
  return dishwasherCapability;
79079
79175
  }
79080
79176
  });
79177
+ Object.defineProperty(exports, "enumSensorCapability", {
79178
+ enumerable: true,
79179
+ get: function() {
79180
+ return enumSensorCapability;
79181
+ }
79182
+ });
79081
79183
  Object.defineProperty(exports, "errMsg", {
79082
79184
  enumerable: true,
79083
79185
  get: function() {
@@ -79114,12 +79216,24 @@ Object.defineProperty(exports, "number", {
79114
79216
  return number;
79115
79217
  }
79116
79218
  });
79219
+ Object.defineProperty(exports, "numericSensorCapability", {
79220
+ enumerable: true,
79221
+ get: function() {
79222
+ return numericSensorCapability;
79223
+ }
79224
+ });
79117
79225
  Object.defineProperty(exports, "object", {
79118
79226
  enumerable: true,
79119
79227
  get: function() {
79120
79228
  return object;
79121
79229
  }
79122
79230
  });
79231
+ Object.defineProperty(exports, "powerMeterCapability", {
79232
+ enumerable: true,
79233
+ get: function() {
79234
+ return powerMeterCapability;
79235
+ }
79236
+ });
79123
79237
  Object.defineProperty(exports, "record", {
79124
79238
  enumerable: true,
79125
79239
  get: function() {