@camstack/addon-post-analysis 1.2.624 → 1.2.625
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/{clip-model-registry-BpS_EthX.mjs → clip-model-registry-BmPWAiiw.mjs} +195 -118
- package/dist/{clip-model-registry-WENnCB-u.js → clip-model-registry-Bz5VWLtO.js} +195 -118
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-B3M-0LC0.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-u9k_8R7t.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-yap5surJ.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Dh58k_r9.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-BqU6Q1wQ.mjs → hostInit-Bx3x53tR.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +206 -222
- package/dist/pipeline-analytics/index.mjs +206 -222
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DBuMgPh6.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B1HZu0i3.mjs +0 -26
|
@@ -5629,7 +5629,7 @@ var ZodIssueCode = {
|
|
|
5629
5629
|
var ZodFirstPartyTypeKind;
|
|
5630
5630
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5631
5631
|
//#endregion
|
|
5632
|
-
//#region ../types/dist/sleep-
|
|
5632
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5633
5633
|
/**
|
|
5634
5634
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5635
5635
|
* window to float samples (D455).
|
|
@@ -8726,7 +8726,11 @@ var ContributionSectionSchema = object({
|
|
|
8726
8726
|
literal(4)
|
|
8727
8727
|
]).optional(),
|
|
8728
8728
|
tab: string().optional(),
|
|
8729
|
-
location: _enum([
|
|
8729
|
+
location: _enum([
|
|
8730
|
+
"settings",
|
|
8731
|
+
"top-tab",
|
|
8732
|
+
"hero"
|
|
8733
|
+
]).optional(),
|
|
8730
8734
|
order: number().optional(),
|
|
8731
8735
|
fields: array(any())
|
|
8732
8736
|
});
|
|
@@ -14741,7 +14745,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
14741
14745
|
literal(4)
|
|
14742
14746
|
]).optional(),
|
|
14743
14747
|
tab: string().optional(),
|
|
14744
|
-
location: _enum([
|
|
14748
|
+
location: _enum([
|
|
14749
|
+
"settings",
|
|
14750
|
+
"top-tab",
|
|
14751
|
+
"hero"
|
|
14752
|
+
]).optional(),
|
|
14745
14753
|
order: number().optional(),
|
|
14746
14754
|
fields: array(any())
|
|
14747
14755
|
});
|
|
@@ -18651,6 +18659,52 @@ var TierStatusSchema = object({
|
|
|
18651
18659
|
countedAt: number().nullable()
|
|
18652
18660
|
});
|
|
18653
18661
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
18662
|
+
/**
|
|
18663
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
18664
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
18665
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
18666
|
+
*/
|
|
18667
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
18668
|
+
/** Rows held per stored tier. */
|
|
18669
|
+
var TierRowsSchema = object({
|
|
18670
|
+
raw: number().int(),
|
|
18671
|
+
"5m": number().int(),
|
|
18672
|
+
"1h": number().int(),
|
|
18673
|
+
"1d": number().int()
|
|
18674
|
+
});
|
|
18675
|
+
var OrphanSeriesSchema = object({
|
|
18676
|
+
seriesId: number().int(),
|
|
18677
|
+
deviceId: number().int(),
|
|
18678
|
+
key: string(),
|
|
18679
|
+
scope: string(),
|
|
18680
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
18681
|
+
displayName: string().nullable(),
|
|
18682
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
18683
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
18684
|
+
missingSince: number().nullable(),
|
|
18685
|
+
firstTs: number(),
|
|
18686
|
+
lastTs: number(),
|
|
18687
|
+
rows: TierRowsSchema
|
|
18688
|
+
});
|
|
18689
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
18690
|
+
"not-found",
|
|
18691
|
+
"not-orphan",
|
|
18692
|
+
"failed"
|
|
18693
|
+
]);
|
|
18694
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
18695
|
+
seriesId: number().int(),
|
|
18696
|
+
ok: literal(true),
|
|
18697
|
+
deleted: TierRowsSchema
|
|
18698
|
+
}), object({
|
|
18699
|
+
seriesId: number().int(),
|
|
18700
|
+
ok: literal(false),
|
|
18701
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
18702
|
+
})]);
|
|
18703
|
+
var OrphanListSchema = object({
|
|
18704
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
18705
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
18706
|
+
truncated: boolean()
|
|
18707
|
+
});
|
|
18654
18708
|
var DeviceHistoryStatusSchema = object({
|
|
18655
18709
|
startedAt: number(),
|
|
18656
18710
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -18748,7 +18802,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
18748
18802
|
}), object({ enabled: boolean() }), {
|
|
18749
18803
|
kind: "mutation",
|
|
18750
18804
|
auth: "admin"
|
|
18751
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
18805
|
+
}), 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() }), {
|
|
18806
|
+
kind: "mutation",
|
|
18807
|
+
auth: "admin"
|
|
18808
|
+
});
|
|
18752
18809
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
18753
18810
|
object({ state: literal("absent") }),
|
|
18754
18811
|
object({
|
|
@@ -58622,17 +58679,69 @@ var connectivityCapability = {
|
|
|
58622
58679
|
volatileStateFields: ["lastChangedAt"]
|
|
58623
58680
|
};
|
|
58624
58681
|
/**
|
|
58625
|
-
* Generic device-consumables capability —
|
|
58626
|
-
*
|
|
58627
|
-
* descaling cycles,
|
|
58628
|
-
*
|
|
58629
|
-
*
|
|
58630
|
-
*
|
|
58682
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
58683
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
58684
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
58685
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
58686
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
58687
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
58688
|
+
* its device tracks consumables registers it; the provider names each item
|
|
58689
|
+
* verbatim and says which `kind` it is.
|
|
58690
|
+
*
|
|
58691
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
58692
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
58693
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
58631
58694
|
*
|
|
58632
58695
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
58633
58696
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
58634
58697
|
* "No consumables reported" placeholder when `items` is empty.
|
|
58635
58698
|
*/
|
|
58699
|
+
/**
|
|
58700
|
+
* What an item IS, which decides which direction is bad:
|
|
58701
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
58702
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
58703
|
+
* salt, rinse aid); low or empty is bad.
|
|
58704
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
58705
|
+
* bad.
|
|
58706
|
+
* Absent = `wear`.
|
|
58707
|
+
*/
|
|
58708
|
+
var ConsumableKindSchema = _enum([
|
|
58709
|
+
"wear",
|
|
58710
|
+
"supply",
|
|
58711
|
+
"waste"
|
|
58712
|
+
]);
|
|
58713
|
+
/**
|
|
58714
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
58715
|
+
* of `kind`, which decides which direction is bad:
|
|
58716
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
58717
|
+
* remaining time and a reset.
|
|
58718
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
58719
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
58720
|
+
* a stepped level and "refill".
|
|
58721
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
58722
|
+
* that warns when full.
|
|
58723
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
58724
|
+
*/
|
|
58725
|
+
var ConsumableFormSchema = _enum([
|
|
58726
|
+
"part",
|
|
58727
|
+
"tank",
|
|
58728
|
+
"product",
|
|
58729
|
+
"bin"
|
|
58730
|
+
]);
|
|
58731
|
+
/** The provider's own discrete verdict on an item. */
|
|
58732
|
+
var ConsumableStatusSchema = _enum([
|
|
58733
|
+
"ok",
|
|
58734
|
+
"low",
|
|
58735
|
+
"empty",
|
|
58736
|
+
"full",
|
|
58737
|
+
"replace"
|
|
58738
|
+
]);
|
|
58739
|
+
_enum([
|
|
58740
|
+
"ok",
|
|
58741
|
+
"low",
|
|
58742
|
+
"empty",
|
|
58743
|
+
"full"
|
|
58744
|
+
]);
|
|
58636
58745
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
58637
58746
|
* each. */
|
|
58638
58747
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -58647,18 +58756,23 @@ var ConsumableRemainingSchema = object({
|
|
|
58647
58756
|
unit: ConsumableRemainingUnitSchema
|
|
58648
58757
|
});
|
|
58649
58758
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
58650
|
-
* life
|
|
58651
|
-
*
|
|
58652
|
-
* mutually exclusive; a provider may
|
|
58759
|
+
* life %, or fill % for a `supply` / `waste` item) or a discrete `status`
|
|
58760
|
+
* may be known — both may be null when a provider only knows the item
|
|
58761
|
+
* exists. `level` and `status` are not mutually exclusive; a provider may
|
|
58762
|
+
* report both. */
|
|
58653
58763
|
var ConsumableItemSchema = object({
|
|
58654
58764
|
/** Stable id, e.g. 'main-brush'. */
|
|
58655
58765
|
key: string().min(1),
|
|
58656
58766
|
/** Display name. */
|
|
58657
58767
|
label: string().min(1),
|
|
58658
|
-
/** Remaining life % when known (0..100). */
|
|
58768
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
58659
58769
|
level: number().min(0).max(100).nullable(),
|
|
58660
|
-
/**
|
|
58661
|
-
status:
|
|
58770
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
58771
|
+
status: ConsumableStatusSchema.nullable(),
|
|
58772
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
58773
|
+
kind: ConsumableKindSchema.optional(),
|
|
58774
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
58775
|
+
form: ConsumableFormSchema.optional(),
|
|
58662
58776
|
/** Ms epoch of the last replace, when known. */
|
|
58663
58777
|
lastResetAt: number().nullable(),
|
|
58664
58778
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -58681,7 +58795,7 @@ var consumablesCapability = {
|
|
|
58681
58795
|
kind: "widget",
|
|
58682
58796
|
widgetId: "host/consumables-panel",
|
|
58683
58797
|
tab: "consumables",
|
|
58684
|
-
|
|
58798
|
+
placement: "hero",
|
|
58685
58799
|
label: "Consumables",
|
|
58686
58800
|
order: 5
|
|
58687
58801
|
} },
|
|
@@ -58742,9 +58856,37 @@ reset: method(object({
|
|
|
58742
58856
|
*/
|
|
58743
58857
|
durability: "restored",
|
|
58744
58858
|
/**
|
|
58745
|
-
* History (D850):
|
|
58859
|
+
* History (D850, D917): one series per (item field, item `key`) — the item key
|
|
58860
|
+
* is the series scope, the item `label` names it. A vacuum tank's fill, a
|
|
58861
|
+
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
58862
|
+
* their provider reports them; an item that appears later gets its series.
|
|
58746
58863
|
*/
|
|
58747
|
-
history:
|
|
58864
|
+
history: {
|
|
58865
|
+
fields: {},
|
|
58866
|
+
items: {
|
|
58867
|
+
path: "items",
|
|
58868
|
+
key: "key",
|
|
58869
|
+
label: "label",
|
|
58870
|
+
fields: {
|
|
58871
|
+
level: {
|
|
58872
|
+
kind: "gauge",
|
|
58873
|
+
unit: "%",
|
|
58874
|
+
deadband: 2,
|
|
58875
|
+
displayName: "Level"
|
|
58876
|
+
},
|
|
58877
|
+
status: {
|
|
58878
|
+
kind: "enum",
|
|
58879
|
+
displayName: "Status"
|
|
58880
|
+
},
|
|
58881
|
+
"remaining.value": {
|
|
58882
|
+
kind: "gauge",
|
|
58883
|
+
unitFrom: "remaining.unit",
|
|
58884
|
+
deadband: 1,
|
|
58885
|
+
displayName: "Remaining"
|
|
58886
|
+
}
|
|
58887
|
+
}
|
|
58888
|
+
}
|
|
58889
|
+
},
|
|
58748
58890
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
58749
58891
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
58750
58892
|
};
|
|
@@ -59181,8 +59323,9 @@ onStatusChanged: { data: object({
|
|
|
59181
59323
|
volatileStateFields: ["lastChangedAt"]
|
|
59182
59324
|
};
|
|
59183
59325
|
/**
|
|
59184
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
59185
|
-
*
|
|
59326
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
59327
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
59328
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
59186
59329
|
*
|
|
59187
59330
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
59188
59331
|
* by any integration that exposes the same program / option surface.
|
|
@@ -59230,11 +59373,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
59230
59373
|
"offline",
|
|
59231
59374
|
"description-missing"
|
|
59232
59375
|
]);
|
|
59233
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
59234
|
-
"ok",
|
|
59235
|
-
"low",
|
|
59236
|
-
"empty"
|
|
59237
|
-
]);
|
|
59238
59376
|
var DishwasherStatusSchema = object({
|
|
59239
59377
|
availability: DishwasherAvailabilitySchema,
|
|
59240
59378
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -59267,8 +59405,6 @@ var DishwasherStatusSchema = object({
|
|
|
59267
59405
|
powerOn: boolean().nullable(),
|
|
59268
59406
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
59269
59407
|
powerState: string().nullable(),
|
|
59270
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
59271
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
59272
59408
|
/**
|
|
59273
59409
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
59274
59410
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -68253,60 +68389,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
68253
68389
|
auth: "admin",
|
|
68254
68390
|
access: "delete"
|
|
68255
68391
|
});
|
|
68256
|
-
/**
|
|
68257
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
68258
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
68259
|
-
* optional fan-speed selector.
|
|
68260
|
-
*
|
|
68261
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
68262
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
68263
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
68264
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
68265
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
68266
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
68267
|
-
*
|
|
68268
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
68269
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
68270
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
68271
|
-
*
|
|
68272
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
68273
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
68274
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
68275
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
68276
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
68277
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
68278
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
68279
|
-
* so the HA provider leaves all four `null`.
|
|
68280
|
-
*/
|
|
68281
|
-
var VacuumStateSchema = _enum([
|
|
68282
|
-
"idle",
|
|
68283
|
-
"cleaning",
|
|
68284
|
-
"paused",
|
|
68285
|
-
"returning",
|
|
68286
|
-
"docked",
|
|
68287
|
-
"drying",
|
|
68288
|
-
"error"
|
|
68289
|
-
]);
|
|
68290
|
-
/**
|
|
68291
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
68292
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
68293
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
68294
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
68295
|
-
* hardware has no such tank at all.
|
|
68296
|
-
*/
|
|
68297
|
-
var TankStatusSchema = object({
|
|
68298
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
68299
|
-
level: number().min(0).max(100).nullable(),
|
|
68300
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
68301
|
-
status: _enum([
|
|
68302
|
-
"ok",
|
|
68303
|
-
"low",
|
|
68304
|
-
"full"
|
|
68305
|
-
]).nullable()
|
|
68306
|
-
});
|
|
68307
68392
|
var VacuumControlStatusSchema = object({
|
|
68308
68393
|
/** Lifecycle state of the vacuum. */
|
|
68309
|
-
state:
|
|
68394
|
+
state: _enum([
|
|
68395
|
+
"idle",
|
|
68396
|
+
"cleaning",
|
|
68397
|
+
"paused",
|
|
68398
|
+
"returning",
|
|
68399
|
+
"docked",
|
|
68400
|
+
"drying",
|
|
68401
|
+
"error"
|
|
68402
|
+
]),
|
|
68310
68403
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
68311
68404
|
* reading. */
|
|
68312
68405
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -68315,14 +68408,6 @@ var VacuumControlStatusSchema = object({
|
|
|
68315
68408
|
fanSpeed: string().nullable(),
|
|
68316
68409
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
68317
68410
|
availableFanSpeeds: array(string()),
|
|
68318
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
68319
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
68320
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
68321
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
68322
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
68323
|
-
detergent: TankStatusSchema.nullable(),
|
|
68324
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
68325
|
-
dustBin: TankStatusSchema.nullable(),
|
|
68326
68411
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
68327
68412
|
progressPercent: number().min(0).max(100).nullable(),
|
|
68328
68413
|
/** Current error code (0 / null = no error). */
|
|
@@ -68384,35 +68469,14 @@ var vacuumControlCapability = {
|
|
|
68384
68469
|
*/
|
|
68385
68470
|
durability: "session",
|
|
68386
68471
|
/**
|
|
68387
|
-
* History (D850): recorded series.
|
|
68472
|
+
* History (D850): recorded series. The tanks moved to `consumables` (D915), whose
|
|
68473
|
+
* items are keyed by runtime ids and record no history.
|
|
68388
68474
|
*/
|
|
68389
|
-
history: { fields: {
|
|
68390
|
-
|
|
68391
|
-
|
|
68392
|
-
|
|
68393
|
-
|
|
68394
|
-
},
|
|
68395
|
-
"cleanWater.level": {
|
|
68396
|
-
kind: "gauge",
|
|
68397
|
-
unit: "%",
|
|
68398
|
-
deadband: 2
|
|
68399
|
-
},
|
|
68400
|
-
"dirtyWater.level": {
|
|
68401
|
-
kind: "gauge",
|
|
68402
|
-
unit: "%",
|
|
68403
|
-
deadband: 2
|
|
68404
|
-
},
|
|
68405
|
-
"detergent.level": {
|
|
68406
|
-
kind: "gauge",
|
|
68407
|
-
unit: "%",
|
|
68408
|
-
deadband: 2
|
|
68409
|
-
},
|
|
68410
|
-
"dustBin.level": {
|
|
68411
|
-
kind: "gauge",
|
|
68412
|
-
unit: "%",
|
|
68413
|
-
deadband: 2
|
|
68414
|
-
}
|
|
68415
|
-
} }
|
|
68475
|
+
history: { fields: { batteryLevel: {
|
|
68476
|
+
kind: "gauge",
|
|
68477
|
+
unit: "%",
|
|
68478
|
+
deadband: 2
|
|
68479
|
+
} } }
|
|
68416
68480
|
};
|
|
68417
68481
|
var ValveStatusSchema = object({
|
|
68418
68482
|
/** Lifecycle state of the valve. */
|
|
@@ -72376,6 +72440,12 @@ Object.freeze({
|
|
|
72376
72440
|
addonId: null,
|
|
72377
72441
|
access: "create"
|
|
72378
72442
|
},
|
|
72443
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
72444
|
+
capName: "device-history",
|
|
72445
|
+
capScope: "system",
|
|
72446
|
+
addonId: null,
|
|
72447
|
+
access: "delete"
|
|
72448
|
+
},
|
|
72379
72449
|
"deviceHistory.getDeviceEnabled": {
|
|
72380
72450
|
capName: "device-history",
|
|
72381
72451
|
capScope: "system",
|
|
@@ -72394,6 +72464,12 @@ Object.freeze({
|
|
|
72394
72464
|
addonId: null,
|
|
72395
72465
|
access: "view"
|
|
72396
72466
|
},
|
|
72467
|
+
"deviceHistory.listOrphanSeries": {
|
|
72468
|
+
capName: "device-history",
|
|
72469
|
+
capScope: "system",
|
|
72470
|
+
addonId: null,
|
|
72471
|
+
access: "view"
|
|
72472
|
+
},
|
|
72397
72473
|
"deviceHistory.listSeries": {
|
|
72398
72474
|
capName: "device-history",
|
|
72399
72475
|
capScope: "system",
|
|
@@ -84126,17 +84202,18 @@ var NC_TEMPLATE_VARS = [
|
|
|
84126
84202
|
{
|
|
84127
84203
|
name: "item",
|
|
84128
84204
|
label: "Consumable",
|
|
84205
|
+
description: "The device's own name for the item: a filter, a brush, the salt, a tank.",
|
|
84129
84206
|
example: "Filtro",
|
|
84130
84207
|
group: "system",
|
|
84131
84208
|
families: ["rule"],
|
|
84132
84209
|
fields: [...RULE_TEXT],
|
|
84133
84210
|
kinds: ["system"],
|
|
84134
|
-
systemEventKinds: [...CONSUMABLE]
|
|
84211
|
+
systemEventKinds: [...CONSUMABLE, ...TANK]
|
|
84135
84212
|
},
|
|
84136
84213
|
{
|
|
84137
84214
|
name: "tank",
|
|
84138
84215
|
label: "Tank",
|
|
84139
|
-
description: "Which tank:
|
|
84216
|
+
description: "Which tank, as a stable token: cleanWater, dirtyWater, detergent, dustBin, or the device key of any other supply (salt, rinse aid).",
|
|
84140
84217
|
example: "clean water",
|
|
84141
84218
|
group: "system",
|
|
84142
84219
|
families: ["rule"],
|