@camstack/addon-smtp-nodemailer 1.2.138 → 1.2.140
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/smtp.addon.js +213 -86
- package/dist/smtp.addon.mjs +213 -86
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -5468,7 +5468,7 @@ var ZodIssueCode = {
|
|
|
5468
5468
|
var ZodFirstPartyTypeKind;
|
|
5469
5469
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5470
5470
|
//#endregion
|
|
5471
|
-
//#region ../types/dist/sleep-
|
|
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([
|
|
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([
|
|
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({
|
|
@@ -49757,6 +49814,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
49757
49814
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
49758
49815
|
available: boolean(),
|
|
49759
49816
|
/**
|
|
49817
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
49818
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
49819
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
49820
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
49821
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
49822
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
49823
|
+
*/
|
|
49824
|
+
presence: _enum([
|
|
49825
|
+
"present",
|
|
49826
|
+
"absent",
|
|
49827
|
+
"unknown"
|
|
49828
|
+
]).optional(),
|
|
49829
|
+
/**
|
|
49760
49830
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
49761
49831
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
49762
49832
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -49982,7 +50052,13 @@ method(object({
|
|
|
49982
50052
|
}), object({ success: literal(true) }), {
|
|
49983
50053
|
kind: "mutation",
|
|
49984
50054
|
auth: "admin"
|
|
49985
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50055
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50056
|
+
agentNodeId: string(),
|
|
50057
|
+
deviceKey: string()
|
|
50058
|
+
}), object({ success: literal(true) }), {
|
|
50059
|
+
kind: "mutation",
|
|
50060
|
+
auth: "admin"
|
|
50061
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
49986
50062
|
success: literal(true),
|
|
49987
50063
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
49988
50064
|
effectiveModelId: string().nullable(),
|
|
@@ -54105,17 +54181,69 @@ object({
|
|
|
54105
54181
|
});
|
|
54106
54182
|
DeviceType.Sensor;
|
|
54107
54183
|
/**
|
|
54108
|
-
* Generic device-consumables capability —
|
|
54109
|
-
*
|
|
54110
|
-
* descaling cycles,
|
|
54111
|
-
*
|
|
54112
|
-
*
|
|
54113
|
-
*
|
|
54184
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54185
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54186
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54187
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54188
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54189
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54190
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54191
|
+
* verbatim and says which `kind` it is.
|
|
54192
|
+
*
|
|
54193
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54194
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54195
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54114
54196
|
*
|
|
54115
54197
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54116
54198
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54117
54199
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54118
54200
|
*/
|
|
54201
|
+
/**
|
|
54202
|
+
* What an item IS, which decides which direction is bad:
|
|
54203
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54204
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54205
|
+
* salt, rinse aid); low or empty is bad.
|
|
54206
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54207
|
+
* bad.
|
|
54208
|
+
* Absent = `wear`.
|
|
54209
|
+
*/
|
|
54210
|
+
var ConsumableKindSchema = _enum([
|
|
54211
|
+
"wear",
|
|
54212
|
+
"supply",
|
|
54213
|
+
"waste"
|
|
54214
|
+
]);
|
|
54215
|
+
/**
|
|
54216
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54217
|
+
* of `kind`, which decides which direction is bad:
|
|
54218
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54219
|
+
* remaining time and a reset.
|
|
54220
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54221
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54222
|
+
* a stepped level and "refill".
|
|
54223
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54224
|
+
* that warns when full.
|
|
54225
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54226
|
+
*/
|
|
54227
|
+
var ConsumableFormSchema = _enum([
|
|
54228
|
+
"part",
|
|
54229
|
+
"tank",
|
|
54230
|
+
"product",
|
|
54231
|
+
"bin"
|
|
54232
|
+
]);
|
|
54233
|
+
/** The provider's own discrete verdict on an item. */
|
|
54234
|
+
var ConsumableStatusSchema = _enum([
|
|
54235
|
+
"ok",
|
|
54236
|
+
"low",
|
|
54237
|
+
"empty",
|
|
54238
|
+
"full",
|
|
54239
|
+
"replace"
|
|
54240
|
+
]);
|
|
54241
|
+
_enum([
|
|
54242
|
+
"ok",
|
|
54243
|
+
"low",
|
|
54244
|
+
"empty",
|
|
54245
|
+
"full"
|
|
54246
|
+
]);
|
|
54119
54247
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54120
54248
|
* each. */
|
|
54121
54249
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54135,10 +54263,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54135
54263
|
key: string().min(1),
|
|
54136
54264
|
/** Display name. */
|
|
54137
54265
|
label: string().min(1),
|
|
54138
|
-
/** Remaining life % when known (0..100). */
|
|
54266
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54139
54267
|
level: number().min(0).max(100).nullable(),
|
|
54140
|
-
/**
|
|
54141
|
-
status:
|
|
54268
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54269
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54270
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54271
|
+
kind: ConsumableKindSchema.optional(),
|
|
54272
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54273
|
+
form: ConsumableFormSchema.optional(),
|
|
54142
54274
|
/** Ms epoch of the last replace, when known. */
|
|
54143
54275
|
lastResetAt: number().nullable(),
|
|
54144
54276
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54373,8 +54505,9 @@ object({
|
|
|
54373
54505
|
status: DeviceStatusSchema
|
|
54374
54506
|
});
|
|
54375
54507
|
/**
|
|
54376
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54377
|
-
*
|
|
54508
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
54509
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
54510
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54378
54511
|
*
|
|
54379
54512
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54380
54513
|
* by any integration that exposes the same program / option surface.
|
|
@@ -54422,11 +54555,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
54422
54555
|
"offline",
|
|
54423
54556
|
"description-missing"
|
|
54424
54557
|
]);
|
|
54425
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
54426
|
-
"ok",
|
|
54427
|
-
"low",
|
|
54428
|
-
"empty"
|
|
54429
|
-
]);
|
|
54430
54558
|
object({
|
|
54431
54559
|
availability: DishwasherAvailabilitySchema,
|
|
54432
54560
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -54459,8 +54587,6 @@ object({
|
|
|
54459
54587
|
powerOn: boolean().nullable(),
|
|
54460
54588
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
54461
54589
|
powerState: string().nullable(),
|
|
54462
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54463
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54464
54590
|
/**
|
|
54465
54591
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
54466
54592
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -56500,7 +56626,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56500
56626
|
enabled: boolean()
|
|
56501
56627
|
}), _void(), {
|
|
56502
56628
|
kind: "mutation",
|
|
56503
|
-
auth: "
|
|
56629
|
+
auth: "protected"
|
|
56504
56630
|
}), object({
|
|
56505
56631
|
deviceId: number(),
|
|
56506
56632
|
enabled: boolean(),
|
|
@@ -56990,6 +57116,13 @@ var TopologyNodeSchema = object({
|
|
|
56990
57116
|
cpuModel: string().nullable(),
|
|
56991
57117
|
cpuCores: number(),
|
|
56992
57118
|
memoryMB: number(),
|
|
57119
|
+
/**
|
|
57120
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57121
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57122
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57123
|
+
* after the stick leaves, D919); the live device set is
|
|
57124
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57125
|
+
*/
|
|
56993
57126
|
engines: array(string()).readonly(),
|
|
56994
57127
|
isHub: boolean(),
|
|
56995
57128
|
isOnline: boolean(),
|
|
@@ -57954,7 +58087,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
57954
58087
|
format: ModelFormatSchema,
|
|
57955
58088
|
reason: string()
|
|
57956
58089
|
});
|
|
57957
|
-
|
|
58090
|
+
/**
|
|
58091
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58092
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58093
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58094
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58095
|
+
*/
|
|
58096
|
+
var AcceleratorRescanSchema = object({
|
|
58097
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58098
|
+
appeared: array(string()).readonly(),
|
|
58099
|
+
disappeared: array(string()).readonly(),
|
|
58100
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58101
|
+
decidedBy: _enum([
|
|
58102
|
+
"usb-ids",
|
|
58103
|
+
"pci",
|
|
58104
|
+
"delegate-fallback",
|
|
58105
|
+
"none"
|
|
58106
|
+
])
|
|
58107
|
+
});
|
|
58108
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58109
|
+
kind: "mutation",
|
|
58110
|
+
auth: "admin"
|
|
58111
|
+
});
|
|
57958
58112
|
object({
|
|
57959
58113
|
/** Instantaneous power draw in watts. */
|
|
57960
58114
|
watts: number().optional(),
|
|
@@ -61243,60 +61397,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61243
61397
|
auth: "admin",
|
|
61244
61398
|
access: "delete"
|
|
61245
61399
|
});
|
|
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
61400
|
object({
|
|
61298
61401
|
/** Lifecycle state of the vacuum. */
|
|
61299
|
-
state:
|
|
61402
|
+
state: _enum([
|
|
61403
|
+
"idle",
|
|
61404
|
+
"cleaning",
|
|
61405
|
+
"paused",
|
|
61406
|
+
"returning",
|
|
61407
|
+
"docked",
|
|
61408
|
+
"drying",
|
|
61409
|
+
"error"
|
|
61410
|
+
]),
|
|
61300
61411
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61301
61412
|
* reading. */
|
|
61302
61413
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61305,14 +61416,6 @@ object({
|
|
|
61305
61416
|
fanSpeed: string().nullable(),
|
|
61306
61417
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61307
61418
|
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
61419
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61317
61420
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61318
61421
|
/** Current error code (0 / null = no error). */
|
|
@@ -63853,6 +63956,12 @@ Object.freeze({
|
|
|
63853
63956
|
addonId: null,
|
|
63854
63957
|
access: "create"
|
|
63855
63958
|
},
|
|
63959
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
63960
|
+
capName: "device-history",
|
|
63961
|
+
capScope: "system",
|
|
63962
|
+
addonId: null,
|
|
63963
|
+
access: "delete"
|
|
63964
|
+
},
|
|
63856
63965
|
"deviceHistory.getDeviceEnabled": {
|
|
63857
63966
|
capName: "device-history",
|
|
63858
63967
|
capScope: "system",
|
|
@@ -63871,6 +63980,12 @@ Object.freeze({
|
|
|
63871
63980
|
addonId: null,
|
|
63872
63981
|
access: "view"
|
|
63873
63982
|
},
|
|
63983
|
+
"deviceHistory.listOrphanSeries": {
|
|
63984
|
+
capName: "device-history",
|
|
63985
|
+
capScope: "system",
|
|
63986
|
+
addonId: null,
|
|
63987
|
+
access: "view"
|
|
63988
|
+
},
|
|
63874
63989
|
"deviceHistory.listSeries": {
|
|
63875
63990
|
capName: "device-history",
|
|
63876
63991
|
capScope: "system",
|
|
@@ -67495,6 +67610,12 @@ Object.freeze({
|
|
|
67495
67610
|
addonId: null,
|
|
67496
67611
|
access: "delete"
|
|
67497
67612
|
},
|
|
67613
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
67614
|
+
capName: "pipeline-orchestrator",
|
|
67615
|
+
capScope: "system",
|
|
67616
|
+
addonId: null,
|
|
67617
|
+
access: "delete"
|
|
67618
|
+
},
|
|
67498
67619
|
"pipelineOrchestrator.getAgentLoad": {
|
|
67499
67620
|
capName: "pipeline-orchestrator",
|
|
67500
67621
|
capScope: "system",
|
|
@@ -68071,6 +68192,12 @@ Object.freeze({
|
|
|
68071
68192
|
addonId: null,
|
|
68072
68193
|
access: "view"
|
|
68073
68194
|
},
|
|
68195
|
+
"platformProbe.rescanAccelerators": {
|
|
68196
|
+
capName: "platform-probe",
|
|
68197
|
+
capScope: "system",
|
|
68198
|
+
addonId: null,
|
|
68199
|
+
access: "create"
|
|
68200
|
+
},
|
|
68074
68201
|
"platformProbe.resolveHwAccel": {
|
|
68075
68202
|
capName: "platform-probe",
|
|
68076
68203
|
capScope: "system",
|
|
@@ -73876,7 +74003,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
73876
74003
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
73877
74004
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
73878
74005
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
73879
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74006
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
73880
74007
|
([...RULE_TEXT], [...TANK]),
|
|
73881
74008
|
[...RULE_TEXT],
|
|
73882
74009
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -5466,7 +5466,7 @@ var ZodIssueCode = {
|
|
|
5466
5466
|
var ZodFirstPartyTypeKind;
|
|
5467
5467
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5468
5468
|
//#endregion
|
|
5469
|
-
//#region ../types/dist/sleep-
|
|
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([
|
|
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([
|
|
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({
|
|
@@ -49755,6 +49812,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
49755
49812
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
49756
49813
|
available: boolean(),
|
|
49757
49814
|
/**
|
|
49815
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
49816
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
49817
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
49818
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
49819
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
49820
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
49821
|
+
*/
|
|
49822
|
+
presence: _enum([
|
|
49823
|
+
"present",
|
|
49824
|
+
"absent",
|
|
49825
|
+
"unknown"
|
|
49826
|
+
]).optional(),
|
|
49827
|
+
/**
|
|
49758
49828
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
49759
49829
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
49760
49830
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -49980,7 +50050,13 @@ method(object({
|
|
|
49980
50050
|
}), object({ success: literal(true) }), {
|
|
49981
50051
|
kind: "mutation",
|
|
49982
50052
|
auth: "admin"
|
|
49983
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50053
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50054
|
+
agentNodeId: string(),
|
|
50055
|
+
deviceKey: string()
|
|
50056
|
+
}), object({ success: literal(true) }), {
|
|
50057
|
+
kind: "mutation",
|
|
50058
|
+
auth: "admin"
|
|
50059
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
49984
50060
|
success: literal(true),
|
|
49985
50061
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
49986
50062
|
effectiveModelId: string().nullable(),
|
|
@@ -54103,17 +54179,69 @@ object({
|
|
|
54103
54179
|
});
|
|
54104
54180
|
DeviceType.Sensor;
|
|
54105
54181
|
/**
|
|
54106
|
-
* Generic device-consumables capability —
|
|
54107
|
-
*
|
|
54108
|
-
* descaling cycles,
|
|
54109
|
-
*
|
|
54110
|
-
*
|
|
54111
|
-
*
|
|
54182
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54183
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54184
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54185
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54186
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54187
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54188
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54189
|
+
* verbatim and says which `kind` it is.
|
|
54190
|
+
*
|
|
54191
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54192
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54193
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54112
54194
|
*
|
|
54113
54195
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54114
54196
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54115
54197
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54116
54198
|
*/
|
|
54199
|
+
/**
|
|
54200
|
+
* What an item IS, which decides which direction is bad:
|
|
54201
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54202
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54203
|
+
* salt, rinse aid); low or empty is bad.
|
|
54204
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54205
|
+
* bad.
|
|
54206
|
+
* Absent = `wear`.
|
|
54207
|
+
*/
|
|
54208
|
+
var ConsumableKindSchema = _enum([
|
|
54209
|
+
"wear",
|
|
54210
|
+
"supply",
|
|
54211
|
+
"waste"
|
|
54212
|
+
]);
|
|
54213
|
+
/**
|
|
54214
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54215
|
+
* of `kind`, which decides which direction is bad:
|
|
54216
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54217
|
+
* remaining time and a reset.
|
|
54218
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54219
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54220
|
+
* a stepped level and "refill".
|
|
54221
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54222
|
+
* that warns when full.
|
|
54223
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54224
|
+
*/
|
|
54225
|
+
var ConsumableFormSchema = _enum([
|
|
54226
|
+
"part",
|
|
54227
|
+
"tank",
|
|
54228
|
+
"product",
|
|
54229
|
+
"bin"
|
|
54230
|
+
]);
|
|
54231
|
+
/** The provider's own discrete verdict on an item. */
|
|
54232
|
+
var ConsumableStatusSchema = _enum([
|
|
54233
|
+
"ok",
|
|
54234
|
+
"low",
|
|
54235
|
+
"empty",
|
|
54236
|
+
"full",
|
|
54237
|
+
"replace"
|
|
54238
|
+
]);
|
|
54239
|
+
_enum([
|
|
54240
|
+
"ok",
|
|
54241
|
+
"low",
|
|
54242
|
+
"empty",
|
|
54243
|
+
"full"
|
|
54244
|
+
]);
|
|
54117
54245
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54118
54246
|
* each. */
|
|
54119
54247
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54133,10 +54261,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54133
54261
|
key: string().min(1),
|
|
54134
54262
|
/** Display name. */
|
|
54135
54263
|
label: string().min(1),
|
|
54136
|
-
/** Remaining life % when known (0..100). */
|
|
54264
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54137
54265
|
level: number().min(0).max(100).nullable(),
|
|
54138
|
-
/**
|
|
54139
|
-
status:
|
|
54266
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54267
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54268
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54269
|
+
kind: ConsumableKindSchema.optional(),
|
|
54270
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54271
|
+
form: ConsumableFormSchema.optional(),
|
|
54140
54272
|
/** Ms epoch of the last replace, when known. */
|
|
54141
54273
|
lastResetAt: number().nullable(),
|
|
54142
54274
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54371,8 +54503,9 @@ object({
|
|
|
54371
54503
|
status: DeviceStatusSchema
|
|
54372
54504
|
});
|
|
54373
54505
|
/**
|
|
54374
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54375
|
-
*
|
|
54506
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
54507
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
54508
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54376
54509
|
*
|
|
54377
54510
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54378
54511
|
* by any integration that exposes the same program / option surface.
|
|
@@ -54420,11 +54553,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
54420
54553
|
"offline",
|
|
54421
54554
|
"description-missing"
|
|
54422
54555
|
]);
|
|
54423
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
54424
|
-
"ok",
|
|
54425
|
-
"low",
|
|
54426
|
-
"empty"
|
|
54427
|
-
]);
|
|
54428
54556
|
object({
|
|
54429
54557
|
availability: DishwasherAvailabilitySchema,
|
|
54430
54558
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -54457,8 +54585,6 @@ object({
|
|
|
54457
54585
|
powerOn: boolean().nullable(),
|
|
54458
54586
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
54459
54587
|
powerState: string().nullable(),
|
|
54460
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54461
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54462
54588
|
/**
|
|
54463
54589
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
54464
54590
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -56498,7 +56624,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56498
56624
|
enabled: boolean()
|
|
56499
56625
|
}), _void(), {
|
|
56500
56626
|
kind: "mutation",
|
|
56501
|
-
auth: "
|
|
56627
|
+
auth: "protected"
|
|
56502
56628
|
}), object({
|
|
56503
56629
|
deviceId: number(),
|
|
56504
56630
|
enabled: boolean(),
|
|
@@ -56988,6 +57114,13 @@ var TopologyNodeSchema = object({
|
|
|
56988
57114
|
cpuModel: string().nullable(),
|
|
56989
57115
|
cpuCores: number(),
|
|
56990
57116
|
memoryMB: number(),
|
|
57117
|
+
/**
|
|
57118
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57119
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57120
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57121
|
+
* after the stick leaves, D919); the live device set is
|
|
57122
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57123
|
+
*/
|
|
56991
57124
|
engines: array(string()).readonly(),
|
|
56992
57125
|
isHub: boolean(),
|
|
56993
57126
|
isOnline: boolean(),
|
|
@@ -57952,7 +58085,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
57952
58085
|
format: ModelFormatSchema,
|
|
57953
58086
|
reason: string()
|
|
57954
58087
|
});
|
|
57955
|
-
|
|
58088
|
+
/**
|
|
58089
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58090
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58091
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58092
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58093
|
+
*/
|
|
58094
|
+
var AcceleratorRescanSchema = object({
|
|
58095
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58096
|
+
appeared: array(string()).readonly(),
|
|
58097
|
+
disappeared: array(string()).readonly(),
|
|
58098
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58099
|
+
decidedBy: _enum([
|
|
58100
|
+
"usb-ids",
|
|
58101
|
+
"pci",
|
|
58102
|
+
"delegate-fallback",
|
|
58103
|
+
"none"
|
|
58104
|
+
])
|
|
58105
|
+
});
|
|
58106
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58107
|
+
kind: "mutation",
|
|
58108
|
+
auth: "admin"
|
|
58109
|
+
});
|
|
57956
58110
|
object({
|
|
57957
58111
|
/** Instantaneous power draw in watts. */
|
|
57958
58112
|
watts: number().optional(),
|
|
@@ -61241,60 +61395,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61241
61395
|
auth: "admin",
|
|
61242
61396
|
access: "delete"
|
|
61243
61397
|
});
|
|
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
61398
|
object({
|
|
61296
61399
|
/** Lifecycle state of the vacuum. */
|
|
61297
|
-
state:
|
|
61400
|
+
state: _enum([
|
|
61401
|
+
"idle",
|
|
61402
|
+
"cleaning",
|
|
61403
|
+
"paused",
|
|
61404
|
+
"returning",
|
|
61405
|
+
"docked",
|
|
61406
|
+
"drying",
|
|
61407
|
+
"error"
|
|
61408
|
+
]),
|
|
61298
61409
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61299
61410
|
* reading. */
|
|
61300
61411
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61303,14 +61414,6 @@ object({
|
|
|
61303
61414
|
fanSpeed: string().nullable(),
|
|
61304
61415
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61305
61416
|
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
61417
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61315
61418
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61316
61419
|
/** Current error code (0 / null = no error). */
|
|
@@ -63851,6 +63954,12 @@ Object.freeze({
|
|
|
63851
63954
|
addonId: null,
|
|
63852
63955
|
access: "create"
|
|
63853
63956
|
},
|
|
63957
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
63958
|
+
capName: "device-history",
|
|
63959
|
+
capScope: "system",
|
|
63960
|
+
addonId: null,
|
|
63961
|
+
access: "delete"
|
|
63962
|
+
},
|
|
63854
63963
|
"deviceHistory.getDeviceEnabled": {
|
|
63855
63964
|
capName: "device-history",
|
|
63856
63965
|
capScope: "system",
|
|
@@ -63869,6 +63978,12 @@ Object.freeze({
|
|
|
63869
63978
|
addonId: null,
|
|
63870
63979
|
access: "view"
|
|
63871
63980
|
},
|
|
63981
|
+
"deviceHistory.listOrphanSeries": {
|
|
63982
|
+
capName: "device-history",
|
|
63983
|
+
capScope: "system",
|
|
63984
|
+
addonId: null,
|
|
63985
|
+
access: "view"
|
|
63986
|
+
},
|
|
63872
63987
|
"deviceHistory.listSeries": {
|
|
63873
63988
|
capName: "device-history",
|
|
63874
63989
|
capScope: "system",
|
|
@@ -67493,6 +67608,12 @@ Object.freeze({
|
|
|
67493
67608
|
addonId: null,
|
|
67494
67609
|
access: "delete"
|
|
67495
67610
|
},
|
|
67611
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
67612
|
+
capName: "pipeline-orchestrator",
|
|
67613
|
+
capScope: "system",
|
|
67614
|
+
addonId: null,
|
|
67615
|
+
access: "delete"
|
|
67616
|
+
},
|
|
67496
67617
|
"pipelineOrchestrator.getAgentLoad": {
|
|
67497
67618
|
capName: "pipeline-orchestrator",
|
|
67498
67619
|
capScope: "system",
|
|
@@ -68069,6 +68190,12 @@ Object.freeze({
|
|
|
68069
68190
|
addonId: null,
|
|
68070
68191
|
access: "view"
|
|
68071
68192
|
},
|
|
68193
|
+
"platformProbe.rescanAccelerators": {
|
|
68194
|
+
capName: "platform-probe",
|
|
68195
|
+
capScope: "system",
|
|
68196
|
+
addonId: null,
|
|
68197
|
+
access: "create"
|
|
68198
|
+
},
|
|
68072
68199
|
"platformProbe.resolveHwAccel": {
|
|
68073
68200
|
capName: "platform-probe",
|
|
68074
68201
|
capScope: "system",
|
|
@@ -73874,7 +74001,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
73874
74001
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
73875
74002
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
73876
74003
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
73877
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74004
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
73878
74005
|
([...RULE_TEXT], [...TANK]),
|
|
73879
74006
|
[...RULE_TEXT],
|
|
73880
74007
|
([...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.
|
|
3
|
+
"version": "1.2.140",
|
|
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",
|