@camstack/addon-smtp-nodemailer 1.2.138 → 1.2.139

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.
@@ -5468,7 +5468,7 @@ var ZodIssueCode = {
5468
5468
  var ZodFirstPartyTypeKind;
5469
5469
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5470
5470
  //#endregion
5471
- //#region ../types/dist/sleep-DJFUfKvA.mjs
5471
+ //#region ../types/dist/sleep-CUp20JkO.mjs
5472
5472
  /**
5473
5473
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5474
5474
  * window to float samples (D455).
@@ -8293,7 +8293,11 @@ var ContributionSectionSchema = object({
8293
8293
  literal(4)
8294
8294
  ]).optional(),
8295
8295
  tab: string().optional(),
8296
- location: _enum(["settings", "top-tab"]).optional(),
8296
+ location: _enum([
8297
+ "settings",
8298
+ "top-tab",
8299
+ "hero"
8300
+ ]).optional(),
8297
8301
  order: number().optional(),
8298
8302
  fields: array(any())
8299
8303
  });
@@ -13212,7 +13216,11 @@ var ConfigSectionWithValuesSchema = object({
13212
13216
  literal(4)
13213
13217
  ]).optional(),
13214
13218
  tab: string().optional(),
13215
- location: _enum(["settings", "top-tab"]).optional(),
13219
+ location: _enum([
13220
+ "settings",
13221
+ "top-tab",
13222
+ "hero"
13223
+ ]).optional(),
13216
13224
  order: number().optional(),
13217
13225
  fields: array(any())
13218
13226
  });
@@ -16986,6 +16994,52 @@ var TierStatusSchema = object({
16986
16994
  countedAt: number().nullable()
16987
16995
  });
16988
16996
  /** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
16997
+ /**
16998
+ * Why a series is orphan. `device-gone`: its device is absent from the
16999
+ * successful device listings (the departure clock). `undeclared`: its `cap:`
17000
+ * key is declared by no capability any more (a field a cap removed).
17001
+ */
17002
+ var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
17003
+ /** Rows held per stored tier. */
17004
+ var TierRowsSchema = object({
17005
+ raw: number().int(),
17006
+ "5m": number().int(),
17007
+ "1h": number().int(),
17008
+ "1d": number().int()
17009
+ });
17010
+ var OrphanSeriesSchema = object({
17011
+ seriesId: number().int(),
17012
+ deviceId: number().int(),
17013
+ key: string(),
17014
+ scope: string(),
17015
+ /** The metric's display name; `null` when its metric row is gone too. */
17016
+ displayName: string().nullable(),
17017
+ reason: DeviceHistoryOrphanReasonSchema,
17018
+ /** `device-gone`: since when the device has been absent; `null` otherwise. */
17019
+ missingSince: number().nullable(),
17020
+ firstTs: number(),
17021
+ lastTs: number(),
17022
+ rows: TierRowsSchema
17023
+ });
17024
+ var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
17025
+ "not-found",
17026
+ "not-orphan",
17027
+ "failed"
17028
+ ]);
17029
+ var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
17030
+ seriesId: number().int(),
17031
+ ok: literal(true),
17032
+ deleted: TierRowsSchema
17033
+ }), object({
17034
+ seriesId: number().int(),
17035
+ ok: literal(false),
17036
+ reason: DeviceHistoryOrphanDeleteRefusalSchema
17037
+ })]);
17038
+ var OrphanListSchema = object({
17039
+ series: array(OrphanSeriesSchema).readonly(),
17040
+ /** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
17041
+ truncated: boolean()
17042
+ });
16989
17043
  var DeviceHistoryStatusSchema = object({
16990
17044
  startedAt: number(),
16991
17045
  /** The store is declared, series loaded and the first reconcile has answered. */
@@ -17083,7 +17137,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
17083
17137
  }), object({ enabled: boolean() }), {
17084
17138
  kind: "mutation",
17085
17139
  auth: "admin"
17086
- }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" });
17140
+ }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
17141
+ kind: "mutation",
17142
+ auth: "admin"
17143
+ });
17087
17144
  var DeviceCaStatusSchema = discriminatedUnion("state", [
17088
17145
  object({ state: literal("absent") }),
17089
17146
  object({
@@ -54105,17 +54162,69 @@ object({
54105
54162
  });
54106
54163
  DeviceType.Sensor;
54107
54164
  /**
54108
- * Generic device-consumables capability — surfaces a device's
54109
- * maintenance items (vacuum filters/brushes, replaceable cartridges,
54110
- * descaling cycles, …) with their remaining life and an optional
54111
- * "Replaced" reset action. Device-agnostic: any provider that knows its
54112
- * device tracks consumables can register it; the cap declares no
54113
- * vocabulary of its own — the provider names each item verbatim.
54165
+ * Generic device-consumables capability — the ONE place a device reports what
54166
+ * it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
54167
+ * descaling cycles), supplies it draws from (a vacuum's clean-water tank and
54168
+ * detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
54169
+ * water tank, a dust bin). Each item carries its remaining life or fill and an
54170
+ * optional "Replaced" reset action. Device-agnostic: any provider that knows
54171
+ * its device tracks consumables registers it; the provider names each item
54172
+ * verbatim and says which `kind` it is.
54173
+ *
54174
+ * The admin UI renders it as ONE collapsible section directly under the
54175
+ * device page's hero card (`placement: 'hero'`), for every device bound to
54176
+ * this cap — never drawn by a device type's hero card itself (D915).
54114
54177
  *
54115
54178
  * Like `childLayout`, the cap is INERT until a provider sets items: no
54116
54179
  * provider populates it by guessing (no HA inference). The UI renders a
54117
54180
  * "No consumables reported" placeholder when `items` is empty.
54118
54181
  */
54182
+ /**
54183
+ * What an item IS, which decides which direction is bad:
54184
+ * - `wear` — a part that wears out (a brush, a filter); low life is bad.
54185
+ * - `supply` — something the device draws from (clean water, detergent,
54186
+ * salt, rinse aid); low or empty is bad.
54187
+ * - `waste` — something the device fills (dirty water, a dust bin); full is
54188
+ * bad.
54189
+ * Absent = `wear`.
54190
+ */
54191
+ var ConsumableKindSchema = _enum([
54192
+ "wear",
54193
+ "supply",
54194
+ "waste"
54195
+ ]);
54196
+ /**
54197
+ * What an item LOOKS like, which decides how a client draws it — independent
54198
+ * of `kind`, which decides which direction is bad:
54199
+ * - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
54200
+ * remaining time and a reset.
54201
+ * - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
54202
+ * - `product` — something bought and refilled (detergent, salt, rinse aid):
54203
+ * a stepped level and "refill".
54204
+ * - `bin` — a container that collects waste (a dust bin): a fill gauge
54205
+ * that warns when full.
54206
+ * Absent = derived from the kind ({@link consumableFormOf}).
54207
+ */
54208
+ var ConsumableFormSchema = _enum([
54209
+ "part",
54210
+ "tank",
54211
+ "product",
54212
+ "bin"
54213
+ ]);
54214
+ /** The provider's own discrete verdict on an item. */
54215
+ var ConsumableStatusSchema = _enum([
54216
+ "ok",
54217
+ "low",
54218
+ "empty",
54219
+ "full",
54220
+ "replace"
54221
+ ]);
54222
+ _enum([
54223
+ "ok",
54224
+ "low",
54225
+ "empty",
54226
+ "full"
54227
+ ]);
54119
54228
  /** Units a remaining-life counter is reported in. Closed: the panel renders
54120
54229
  * each. */
54121
54230
  var ConsumableRemainingUnitSchema = _enum([
@@ -54135,10 +54244,14 @@ var ConsumablesStatusSchema = object({
54135
54244
  key: string().min(1),
54136
54245
  /** Display name. */
54137
54246
  label: string().min(1),
54138
- /** Remaining life % when known (0..100). */
54247
+ /** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
54139
54248
  level: number().min(0).max(100).nullable(),
54140
- /** Discrete state when known (binary mode). */
54141
- status: _enum(["ok", "replace"]).nullable(),
54249
+ /** The provider's discrete verdict when known (binary mode). */
54250
+ status: ConsumableStatusSchema.nullable(),
54251
+ /** What the item is — decides whether low or full is bad. Absent = `wear`. */
54252
+ kind: ConsumableKindSchema.optional(),
54253
+ /** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
54254
+ form: ConsumableFormSchema.optional(),
54142
54255
  /** Ms epoch of the last replace, when known. */
54143
54256
  lastResetAt: number().nullable(),
54144
54257
  /** Whether `reset()` is meaningful for this item. */
@@ -54373,8 +54486,9 @@ object({
54373
54486
  status: DeviceStatusSchema
54374
54487
  });
54375
54488
  /**
54376
- * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
54377
- * consumable levels (salt, rinse aid) and common program options.
54489
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates and
54490
+ * common program options. Salt and rinse aid are NOT here: they are items of
54491
+ * the device's `consumables` cap, like every other device's (D915).
54378
54492
  *
54379
54493
  * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
54380
54494
  * by any integration that exposes the same program / option surface.
@@ -54422,11 +54536,6 @@ var DishwasherAvailabilitySchema = _enum([
54422
54536
  "offline",
54423
54537
  "description-missing"
54424
54538
  ]);
54425
- var DishwasherConsumableLevelSchema = _enum([
54426
- "ok",
54427
- "low",
54428
- "empty"
54429
- ]);
54430
54539
  object({
54431
54540
  availability: DishwasherAvailabilitySchema,
54432
54541
  /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
@@ -54459,8 +54568,6 @@ object({
54459
54568
  powerOn: boolean().nullable(),
54460
54569
  /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
54461
54570
  powerState: string().nullable(),
54462
- saltLevel: DishwasherConsumableLevelSchema.nullable(),
54463
- rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54464
54571
  /**
54465
54572
  * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
54466
54573
  * combined care-and-filter reminder raised); false when every such reminder reads clear; null
@@ -61243,60 +61350,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61243
61350
  auth: "admin",
61244
61351
  access: "delete"
61245
61352
  });
61246
- /**
61247
- * Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
61248
- * cleaning lifecycle plus a return-to-base / locate surface and an
61249
- * optional fan-speed selector.
61250
- *
61251
- * State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
61252
- * `paused` / `returning` / `docked` / `error`. `batteryLevel`
61253
- * (0..100) is nullable — some vacuums don't report a battery
61254
- * percentage. `fanSpeed` is the current speed token (provider-verbatim,
61255
- * e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
61256
- * tokens the hardware accepts so the UI renders only supported choices.
61257
- *
61258
- * The `setFanSpeed` method takes the bare `speed` token — the provider
61259
- * validates it against the vacuum's own list. `locate` triggers the
61260
- * find-me chirp; `returnToBase` sends it home.
61261
- *
61262
- * Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
61263
- * `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
61264
- * 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
61265
- * SHOULD populate whichever tanks the hardware has — leave a field `null`
61266
- * only when the device has no such tank at all, and use a `TankStatus`
61267
- * with both inner fields `null` when the tank exists but its level is
61268
- * currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
61269
- * so the HA provider leaves all four `null`.
61270
- */
61271
- var VacuumStateSchema = _enum([
61272
- "idle",
61273
- "cleaning",
61274
- "paused",
61275
- "returning",
61276
- "docked",
61277
- "drying",
61278
- "error"
61279
- ]);
61280
- /**
61281
- * One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
61282
- * detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
61283
- * a discrete `status` (binary-style hardware), or both. Both `null` means the
61284
- * level is currently unknown; the OWNING field being `null` means the
61285
- * hardware has no such tank at all.
61286
- */
61287
- var TankStatusSchema = object({
61288
- /** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
61289
- level: number().min(0).max(100).nullable(),
61290
- /** Discrete state when the hardware is binary-mode; null otherwise. */
61291
- status: _enum([
61292
- "ok",
61293
- "low",
61294
- "full"
61295
- ]).nullable()
61296
- });
61297
61353
  object({
61298
61354
  /** Lifecycle state of the vacuum. */
61299
- state: VacuumStateSchema,
61355
+ state: _enum([
61356
+ "idle",
61357
+ "cleaning",
61358
+ "paused",
61359
+ "returning",
61360
+ "docked",
61361
+ "drying",
61362
+ "error"
61363
+ ]),
61300
61364
  /** 0..100 battery percentage. Null when the device has no battery
61301
61365
  * reading. */
61302
61366
  batteryLevel: number().min(0).max(100).nullable(),
@@ -61305,14 +61369,6 @@ object({
61305
61369
  fanSpeed: string().nullable(),
61306
61370
  /** Speed tokens the hardware accepts — drives the UI selector. */
61307
61371
  availableFanSpeeds: array(string()),
61308
- /** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
61309
- cleanWater: TankStatusSchema.nullable(),
61310
- /** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
61311
- dirtyWater: TankStatusSchema.nullable(),
61312
- /** Detergent tank. Null when the hardware has no detergent tank. */
61313
- detergent: TankStatusSchema.nullable(),
61314
- /** Dust bin. Null when the hardware has no dust bin. */
61315
- dustBin: TankStatusSchema.nullable(),
61316
61372
  /** 0..100 cleaning-completion percentage of the current task, or null. */
61317
61373
  progressPercent: number().min(0).max(100).nullable(),
61318
61374
  /** Current error code (0 / null = no error). */
@@ -63853,6 +63909,12 @@ Object.freeze({
63853
63909
  addonId: null,
63854
63910
  access: "create"
63855
63911
  },
63912
+ "deviceHistory.deleteOrphanSeries": {
63913
+ capName: "device-history",
63914
+ capScope: "system",
63915
+ addonId: null,
63916
+ access: "delete"
63917
+ },
63856
63918
  "deviceHistory.getDeviceEnabled": {
63857
63919
  capName: "device-history",
63858
63920
  capScope: "system",
@@ -63871,6 +63933,12 @@ Object.freeze({
63871
63933
  addonId: null,
63872
63934
  access: "view"
63873
63935
  },
63936
+ "deviceHistory.listOrphanSeries": {
63937
+ capName: "device-history",
63938
+ capScope: "system",
63939
+ addonId: null,
63940
+ access: "view"
63941
+ },
63874
63942
  "deviceHistory.listSeries": {
63875
63943
  capName: "device-history",
63876
63944
  capScope: "system",
@@ -73876,7 +73944,7 @@ var STATE_SUMMARY_VARS = [
73876
73944
  ([...RULE_TEXT], [...COMBINED_ALARM]),
73877
73945
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
73878
73946
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
73879
- ([...RULE_TEXT], [...CONSUMABLE]),
73947
+ ([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
73880
73948
  ([...RULE_TEXT], [...TANK]),
73881
73949
  [...RULE_TEXT],
73882
73950
  ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
@@ -5466,7 +5466,7 @@ var ZodIssueCode = {
5466
5466
  var ZodFirstPartyTypeKind;
5467
5467
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5468
5468
  //#endregion
5469
- //#region ../types/dist/sleep-DJFUfKvA.mjs
5469
+ //#region ../types/dist/sleep-CUp20JkO.mjs
5470
5470
  /**
5471
5471
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5472
5472
  * window to float samples (D455).
@@ -8291,7 +8291,11 @@ var ContributionSectionSchema = object({
8291
8291
  literal(4)
8292
8292
  ]).optional(),
8293
8293
  tab: string().optional(),
8294
- location: _enum(["settings", "top-tab"]).optional(),
8294
+ location: _enum([
8295
+ "settings",
8296
+ "top-tab",
8297
+ "hero"
8298
+ ]).optional(),
8295
8299
  order: number().optional(),
8296
8300
  fields: array(any())
8297
8301
  });
@@ -13210,7 +13214,11 @@ var ConfigSectionWithValuesSchema = object({
13210
13214
  literal(4)
13211
13215
  ]).optional(),
13212
13216
  tab: string().optional(),
13213
- location: _enum(["settings", "top-tab"]).optional(),
13217
+ location: _enum([
13218
+ "settings",
13219
+ "top-tab",
13220
+ "hero"
13221
+ ]).optional(),
13214
13222
  order: number().optional(),
13215
13223
  fields: array(any())
13216
13224
  });
@@ -16984,6 +16992,52 @@ var TierStatusSchema = object({
16984
16992
  countedAt: number().nullable()
16985
16993
  });
16986
16994
  /** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
16995
+ /**
16996
+ * Why a series is orphan. `device-gone`: its device is absent from the
16997
+ * successful device listings (the departure clock). `undeclared`: its `cap:`
16998
+ * key is declared by no capability any more (a field a cap removed).
16999
+ */
17000
+ var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
17001
+ /** Rows held per stored tier. */
17002
+ var TierRowsSchema = object({
17003
+ raw: number().int(),
17004
+ "5m": number().int(),
17005
+ "1h": number().int(),
17006
+ "1d": number().int()
17007
+ });
17008
+ var OrphanSeriesSchema = object({
17009
+ seriesId: number().int(),
17010
+ deviceId: number().int(),
17011
+ key: string(),
17012
+ scope: string(),
17013
+ /** The metric's display name; `null` when its metric row is gone too. */
17014
+ displayName: string().nullable(),
17015
+ reason: DeviceHistoryOrphanReasonSchema,
17016
+ /** `device-gone`: since when the device has been absent; `null` otherwise. */
17017
+ missingSince: number().nullable(),
17018
+ firstTs: number(),
17019
+ lastTs: number(),
17020
+ rows: TierRowsSchema
17021
+ });
17022
+ var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
17023
+ "not-found",
17024
+ "not-orphan",
17025
+ "failed"
17026
+ ]);
17027
+ var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
17028
+ seriesId: number().int(),
17029
+ ok: literal(true),
17030
+ deleted: TierRowsSchema
17031
+ }), object({
17032
+ seriesId: number().int(),
17033
+ ok: literal(false),
17034
+ reason: DeviceHistoryOrphanDeleteRefusalSchema
17035
+ })]);
17036
+ var OrphanListSchema = object({
17037
+ series: array(OrphanSeriesSchema).readonly(),
17038
+ /** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
17039
+ truncated: boolean()
17040
+ });
16987
17041
  var DeviceHistoryStatusSchema = object({
16988
17042
  startedAt: number(),
16989
17043
  /** The store is declared, series loaded and the first reconcile has answered. */
@@ -17081,7 +17135,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
17081
17135
  }), object({ enabled: boolean() }), {
17082
17136
  kind: "mutation",
17083
17137
  auth: "admin"
17084
- }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" });
17138
+ }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
17139
+ kind: "mutation",
17140
+ auth: "admin"
17141
+ });
17085
17142
  var DeviceCaStatusSchema = discriminatedUnion("state", [
17086
17143
  object({ state: literal("absent") }),
17087
17144
  object({
@@ -54103,17 +54160,69 @@ object({
54103
54160
  });
54104
54161
  DeviceType.Sensor;
54105
54162
  /**
54106
- * Generic device-consumables capability — surfaces a device's
54107
- * maintenance items (vacuum filters/brushes, replaceable cartridges,
54108
- * descaling cycles, …) with their remaining life and an optional
54109
- * "Replaced" reset action. Device-agnostic: any provider that knows its
54110
- * device tracks consumables can register it; the cap declares no
54111
- * vocabulary of its own — the provider names each item verbatim.
54163
+ * Generic device-consumables capability — the ONE place a device reports what
54164
+ * it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
54165
+ * descaling cycles), supplies it draws from (a vacuum's clean-water tank and
54166
+ * detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
54167
+ * water tank, a dust bin). Each item carries its remaining life or fill and an
54168
+ * optional "Replaced" reset action. Device-agnostic: any provider that knows
54169
+ * its device tracks consumables registers it; the provider names each item
54170
+ * verbatim and says which `kind` it is.
54171
+ *
54172
+ * The admin UI renders it as ONE collapsible section directly under the
54173
+ * device page's hero card (`placement: 'hero'`), for every device bound to
54174
+ * this cap — never drawn by a device type's hero card itself (D915).
54112
54175
  *
54113
54176
  * Like `childLayout`, the cap is INERT until a provider sets items: no
54114
54177
  * provider populates it by guessing (no HA inference). The UI renders a
54115
54178
  * "No consumables reported" placeholder when `items` is empty.
54116
54179
  */
54180
+ /**
54181
+ * What an item IS, which decides which direction is bad:
54182
+ * - `wear` — a part that wears out (a brush, a filter); low life is bad.
54183
+ * - `supply` — something the device draws from (clean water, detergent,
54184
+ * salt, rinse aid); low or empty is bad.
54185
+ * - `waste` — something the device fills (dirty water, a dust bin); full is
54186
+ * bad.
54187
+ * Absent = `wear`.
54188
+ */
54189
+ var ConsumableKindSchema = _enum([
54190
+ "wear",
54191
+ "supply",
54192
+ "waste"
54193
+ ]);
54194
+ /**
54195
+ * What an item LOOKS like, which decides how a client draws it — independent
54196
+ * of `kind`, which decides which direction is bad:
54197
+ * - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
54198
+ * remaining time and a reset.
54199
+ * - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
54200
+ * - `product` — something bought and refilled (detergent, salt, rinse aid):
54201
+ * a stepped level and "refill".
54202
+ * - `bin` — a container that collects waste (a dust bin): a fill gauge
54203
+ * that warns when full.
54204
+ * Absent = derived from the kind ({@link consumableFormOf}).
54205
+ */
54206
+ var ConsumableFormSchema = _enum([
54207
+ "part",
54208
+ "tank",
54209
+ "product",
54210
+ "bin"
54211
+ ]);
54212
+ /** The provider's own discrete verdict on an item. */
54213
+ var ConsumableStatusSchema = _enum([
54214
+ "ok",
54215
+ "low",
54216
+ "empty",
54217
+ "full",
54218
+ "replace"
54219
+ ]);
54220
+ _enum([
54221
+ "ok",
54222
+ "low",
54223
+ "empty",
54224
+ "full"
54225
+ ]);
54117
54226
  /** Units a remaining-life counter is reported in. Closed: the panel renders
54118
54227
  * each. */
54119
54228
  var ConsumableRemainingUnitSchema = _enum([
@@ -54133,10 +54242,14 @@ var ConsumablesStatusSchema = object({
54133
54242
  key: string().min(1),
54134
54243
  /** Display name. */
54135
54244
  label: string().min(1),
54136
- /** Remaining life % when known (0..100). */
54245
+ /** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
54137
54246
  level: number().min(0).max(100).nullable(),
54138
- /** Discrete state when known (binary mode). */
54139
- status: _enum(["ok", "replace"]).nullable(),
54247
+ /** The provider's discrete verdict when known (binary mode). */
54248
+ status: ConsumableStatusSchema.nullable(),
54249
+ /** What the item is — decides whether low or full is bad. Absent = `wear`. */
54250
+ kind: ConsumableKindSchema.optional(),
54251
+ /** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
54252
+ form: ConsumableFormSchema.optional(),
54140
54253
  /** Ms epoch of the last replace, when known. */
54141
54254
  lastResetAt: number().nullable(),
54142
54255
  /** Whether `reset()` is meaningful for this item. */
@@ -54371,8 +54484,9 @@ object({
54371
54484
  status: DeviceStatusSchema
54372
54485
  });
54373
54486
  /**
54374
- * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
54375
- * consumable levels (salt, rinse aid) and common program options.
54487
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates and
54488
+ * common program options. Salt and rinse aid are NOT here: they are items of
54489
+ * the device's `consumables` cap, like every other device's (D915).
54376
54490
  *
54377
54491
  * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
54378
54492
  * by any integration that exposes the same program / option surface.
@@ -54420,11 +54534,6 @@ var DishwasherAvailabilitySchema = _enum([
54420
54534
  "offline",
54421
54535
  "description-missing"
54422
54536
  ]);
54423
- var DishwasherConsumableLevelSchema = _enum([
54424
- "ok",
54425
- "low",
54426
- "empty"
54427
- ]);
54428
54537
  object({
54429
54538
  availability: DishwasherAvailabilitySchema,
54430
54539
  /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
@@ -54457,8 +54566,6 @@ object({
54457
54566
  powerOn: boolean().nullable(),
54458
54567
  /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
54459
54568
  powerState: string().nullable(),
54460
- saltLevel: DishwasherConsumableLevelSchema.nullable(),
54461
- rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54462
54569
  /**
54463
54570
  * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
54464
54571
  * combined care-and-filter reminder raised); false when every such reminder reads clear; null
@@ -61241,60 +61348,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61241
61348
  auth: "admin",
61242
61349
  access: "delete"
61243
61350
  });
61244
- /**
61245
- * Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
61246
- * cleaning lifecycle plus a return-to-base / locate surface and an
61247
- * optional fan-speed selector.
61248
- *
61249
- * State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
61250
- * `paused` / `returning` / `docked` / `error`. `batteryLevel`
61251
- * (0..100) is nullable — some vacuums don't report a battery
61252
- * percentage. `fanSpeed` is the current speed token (provider-verbatim,
61253
- * e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
61254
- * tokens the hardware accepts so the UI renders only supported choices.
61255
- *
61256
- * The `setFanSpeed` method takes the bare `speed` token — the provider
61257
- * validates it against the vacuum's own list. `locate` triggers the
61258
- * find-me chirp; `returnToBase` sends it home.
61259
- *
61260
- * Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
61261
- * `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
61262
- * 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
61263
- * SHOULD populate whichever tanks the hardware has — leave a field `null`
61264
- * only when the device has no such tank at all, and use a `TankStatus`
61265
- * with both inner fields `null` when the tank exists but its level is
61266
- * currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
61267
- * so the HA provider leaves all four `null`.
61268
- */
61269
- var VacuumStateSchema = _enum([
61270
- "idle",
61271
- "cleaning",
61272
- "paused",
61273
- "returning",
61274
- "docked",
61275
- "drying",
61276
- "error"
61277
- ]);
61278
- /**
61279
- * One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
61280
- * detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
61281
- * a discrete `status` (binary-style hardware), or both. Both `null` means the
61282
- * level is currently unknown; the OWNING field being `null` means the
61283
- * hardware has no such tank at all.
61284
- */
61285
- var TankStatusSchema = object({
61286
- /** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
61287
- level: number().min(0).max(100).nullable(),
61288
- /** Discrete state when the hardware is binary-mode; null otherwise. */
61289
- status: _enum([
61290
- "ok",
61291
- "low",
61292
- "full"
61293
- ]).nullable()
61294
- });
61295
61351
  object({
61296
61352
  /** Lifecycle state of the vacuum. */
61297
- state: VacuumStateSchema,
61353
+ state: _enum([
61354
+ "idle",
61355
+ "cleaning",
61356
+ "paused",
61357
+ "returning",
61358
+ "docked",
61359
+ "drying",
61360
+ "error"
61361
+ ]),
61298
61362
  /** 0..100 battery percentage. Null when the device has no battery
61299
61363
  * reading. */
61300
61364
  batteryLevel: number().min(0).max(100).nullable(),
@@ -61303,14 +61367,6 @@ object({
61303
61367
  fanSpeed: string().nullable(),
61304
61368
  /** Speed tokens the hardware accepts — drives the UI selector. */
61305
61369
  availableFanSpeeds: array(string()),
61306
- /** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
61307
- cleanWater: TankStatusSchema.nullable(),
61308
- /** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
61309
- dirtyWater: TankStatusSchema.nullable(),
61310
- /** Detergent tank. Null when the hardware has no detergent tank. */
61311
- detergent: TankStatusSchema.nullable(),
61312
- /** Dust bin. Null when the hardware has no dust bin. */
61313
- dustBin: TankStatusSchema.nullable(),
61314
61370
  /** 0..100 cleaning-completion percentage of the current task, or null. */
61315
61371
  progressPercent: number().min(0).max(100).nullable(),
61316
61372
  /** Current error code (0 / null = no error). */
@@ -63851,6 +63907,12 @@ Object.freeze({
63851
63907
  addonId: null,
63852
63908
  access: "create"
63853
63909
  },
63910
+ "deviceHistory.deleteOrphanSeries": {
63911
+ capName: "device-history",
63912
+ capScope: "system",
63913
+ addonId: null,
63914
+ access: "delete"
63915
+ },
63854
63916
  "deviceHistory.getDeviceEnabled": {
63855
63917
  capName: "device-history",
63856
63918
  capScope: "system",
@@ -63869,6 +63931,12 @@ Object.freeze({
63869
63931
  addonId: null,
63870
63932
  access: "view"
63871
63933
  },
63934
+ "deviceHistory.listOrphanSeries": {
63935
+ capName: "device-history",
63936
+ capScope: "system",
63937
+ addonId: null,
63938
+ access: "view"
63939
+ },
63872
63940
  "deviceHistory.listSeries": {
63873
63941
  capName: "device-history",
63874
63942
  capScope: "system",
@@ -73874,7 +73942,7 @@ var STATE_SUMMARY_VARS = [
73874
73942
  ([...RULE_TEXT], [...COMBINED_ALARM]),
73875
73943
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
73876
73944
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
73877
- ([...RULE_TEXT], [...CONSUMABLE]),
73945
+ ([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
73878
73946
  ([...RULE_TEXT], [...TANK]),
73879
73947
  [...RULE_TEXT],
73880
73948
  ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.138",
3
+ "version": "1.2.139",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",