@camstack/addon-osd-manager 0.1.247 → 0.1.249

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.
Files changed (18) hide show
  1. package/dist/{MotionZonesSettings-qtgrA0zs.mjs → MotionZonesSettings-Cx-ryFCz.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-CDjLk5w5.mjs → PrivacyMaskSettings-B9BuXw-4.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-BVdgxUfp.mjs → SceneMonitorEditor-CH999FH_.mjs} +3 -3
  4. package/dist/_stub.js +4381 -4210
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-5jNfg3X7.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-DM9Sbo7x.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B_G3Hrj-.mjs +26 -0
  7. package/dist/{hostInit-CMF4TS98.mjs → hostInit-BOPePnxq.mjs} +3 -3
  8. package/dist/index.js +541 -241
  9. package/dist/index.mjs +541 -241
  10. package/dist/{player-overlays-CWC5I8Gr.mjs → player-overlays-DMB_7GA5.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-C0Yg2ySn.mjs → responsive-DHfzTP5J.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-CUvGeueA.mjs → scene-monitor-copy-69r6Iia3.mjs} +1 -1
  14. package/dist/{square-DM5YvAWs.mjs → square-BUOcGLAx.mjs} +1 -1
  15. package/dist/{trash-2-DTlq25ib.mjs → trash-2-yb-HZwuH.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Dzba-Vqm.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BSYsIfpz.mjs} +1 -1
  17. package/package.json +1 -1
  18. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DJYNsHHl.mjs +0 -26
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- //#region ../types/dist/event-category-BvOFi6PY.mjs
5
+ //#region ../types/dist/event-category-DOl51-Ij.mjs
6
6
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
7
7
  EventCategory["SystemBoot"] = "system.boot";
8
8
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -81,9 +81,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
81
81
  /**
82
82
  * The node's one-shot runner boot check (D877): planned runners against the
83
83
  * process service, `degraded` when any is failed, refused or missing. The
84
- * alert centre turns it into one alert and a direct critical push.
84
+ * alert centre turns it into one critical alert.
85
85
  */
86
86
  EventCategory["SystemRunnerCheck"] = "system.runner-check";
87
+ /**
88
+ * An alert EPISODE opened or closed, emitted by the alert centre for alerts
89
+ * of severity `critical` or `error` (`AlertEpisodePayload`). The alert
90
+ * centre sends no notification of its own: Notification Center turns this
91
+ * into the `alert-critical` / `alert-error` / `alert-critical-resolved`
92
+ * system-event kinds, and reconciles from the alerts store because a bus
93
+ * event may be dropped (D8, D11).
94
+ */
95
+ EventCategory["AlertEpisode"] = "alert.episode";
87
96
  EventCategory["AddonError"] = "addon.error";
88
97
  EventCategory["AddonPageReady"] = "addon.page-ready";
89
98
  EventCategory["AddonWidgetReady"] = "addon.widget-ready";
@@ -5408,7 +5417,7 @@ var ZodIssueCode = {
5408
5417
  var ZodFirstPartyTypeKind;
5409
5418
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5410
5419
  //#endregion
5411
- //#region ../types/dist/sleep-BegKjwUu.mjs
5420
+ //#region ../types/dist/sleep-BxjU_fJM.mjs
5412
5421
  /**
5413
5422
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5414
5423
  * window to float samples (D455).
@@ -7790,6 +7799,12 @@ function normalizeAddonInitResult(result) {
7790
7799
  if (Array.isArray(result)) return { providers: result };
7791
7800
  return result;
7792
7801
  }
7802
+ /**
7803
+ * The share-view scope kinds a `csv_*` share token can carry. The hub mints
7804
+ * and validates them (`share-token.service.ts` builds its enum from this
7805
+ * list); a data plane names the kinds it ACCEPTS in `share`.
7806
+ */
7807
+ var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
7793
7808
  /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
7794
7809
  var PeerBytesTicketSchema = object({
7795
7810
  /** `http://127.0.0.1:<port>/<token>`. One `GET` takes it. */
@@ -12374,6 +12389,229 @@ var ConvertResultSchema = object({
12374
12389
  files: array(string()).readonly()
12375
12390
  })).readonly()
12376
12391
  });
12392
+ /**
12393
+ * Zod schemas for persisted record types.
12394
+ *
12395
+ * These schemas serve as the single source of truth for types that are
12396
+ * stored in the settings-store backend and retrieved via tRPC. They
12397
+ * replace the manual TypeScript interfaces with schema-derived types,
12398
+ * enabling runtime validation when reading from the backend.
12399
+ *
12400
+ * Convention: each schema is named `<Type>Schema`, the inferred TS type
12401
+ * keeps the original name for backward compatibility.
12402
+ */
12403
+ /**
12404
+ * Auth model (v2 — 2026-05-12 caps-only):
12405
+ *
12406
+ * Two principals:
12407
+ * - `isAdmin: true` — full bypass. Admin scope set is ignored.
12408
+ * - `isAdmin: false` — every call gated by `scopes` (see TokenScope).
12409
+ *
12410
+ * No role enum. There used to be `viewer / agent / scoped` and earlier
12411
+ * `super_admin` — collapsed onto the single boolean because every
12412
+ * non-admin caller is governed by the same scope-check rules; the
12413
+ * distinction was only ever used to route role-specific procedures
12414
+ * which we no longer have. CLI / webhook integrations are `cst_*` tokens
12415
+ * with `isAdmin: false` + an explicit scope list.
12416
+ */
12417
+ /** Per-method access flavour. Materialised on every cap method via codegen. */
12418
+ var MethodAccessSchema = _enum([
12419
+ "view",
12420
+ "create",
12421
+ "delete"
12422
+ ]);
12423
+ /**
12424
+ * A single scope grant. Three forms — checked in matcher with OR
12425
+ * semantics; the first match decides whether the call passes:
12426
+ *
12427
+ * - `category` — broadest. `target: 'device' | 'system'` selects every
12428
+ * cap with the matching `scope` declaration. New caps inherit grants
12429
+ * automatically — adding a device cap to the codebase makes it
12430
+ * reachable to every user with `category:device [...]` without a
12431
+ * re-grant. Use this for "family viewer" / "operator" tiers.
12432
+ *
12433
+ * - `addon` — every cap that ships inside a given addon id. Niche;
12434
+ * useful when an integration needs to interact with one specific
12435
+ * addon's surface regardless of how many caps it exports.
12436
+ *
12437
+ * - `capability` — the most precise form. Single cap name. Use for
12438
+ * integration tokens where you want to grant `addons.installPackage`
12439
+ * and nothing else.
12440
+ *
12441
+ * `access` is REQUIRED with min 1 element. `admin` bypass is the
12442
+ * "give me everything" escape; there is no wildcard scope.
12443
+ */
12444
+ var AllowedProviderSchema = union([literal("*"), array(string())]);
12445
+ var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
12446
+ var CapScopeSchema = _enum(["device", "system"]);
12447
+ /**
12448
+ * DeviceSelector (scope model v3 — 2026-08-12).
12449
+ *
12450
+ * A `device` grant no longer carries a frozen list of deviceIds. It carries
12451
+ * a SELECTOR the matcher resolves against the live fleet, so the grant can be
12452
+ * DYNAMIC: a `types:['camera']` selector automatically covers a camera added
12453
+ * AFTER the grant was minted — no re-grant, no re-login.
12454
+ *
12455
+ * - `all` — every device in the deployment. The broad viewer/operator
12456
+ * lever without a `category` grant (a `category` grant also covers device
12457
+ * caps that carry no deviceId; `all` is specifically the device set).
12458
+ * - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
12459
+ * grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
12460
+ * is NOT covered until the grant is edited.
12461
+ * - `types` — every device of a `DeviceType` (e.g. every `camera`).
12462
+ * DYNAMIC. A device that changes type, or a new device of the type,
12463
+ * re-resolves on the next request.
12464
+ * - `locations` — every device whose operator-assigned `location` label is
12465
+ * in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
12466
+ * null/unset location matches NO `locations` selector.
12467
+ */
12468
+ var DeviceSelectorSchema = discriminatedUnion("kind", [
12469
+ object({ kind: literal("all") }),
12470
+ object({
12471
+ kind: literal("ids"),
12472
+ ids: array(number().int()).min(1)
12473
+ }),
12474
+ object({
12475
+ kind: literal("types"),
12476
+ types: array(_enum(DeviceType)).min(1)
12477
+ }),
12478
+ object({
12479
+ kind: literal("locations"),
12480
+ locations: array(string().min(1)).min(1)
12481
+ })
12482
+ ]);
12483
+ var DeviceTokenScopeSchema = object({
12484
+ type: literal("device"),
12485
+ /** The device SET this grant covers — resolved against the live fleet. */
12486
+ selector: DeviceSelectorSchema,
12487
+ access: array(MethodAccessSchema).min(1),
12488
+ /**
12489
+ * Whether a grant on a PARENT device transparently covers its accessory
12490
+ * CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
12491
+ * Direction is parent → children ONLY.
12492
+ *
12493
+ * Absent → the matcher DERIVES it from the access flavour: `view`
12494
+ * inherits (a camera viewer sees the camera's accessories), `create` /
12495
+ * `delete` do NOT (actuating/removing a child is an explicit act the
12496
+ * operator must grant on the child, not inherit from the parent). Set it
12497
+ * explicitly to override that default per grant.
12498
+ */
12499
+ includeLinked: boolean().optional()
12500
+ });
12501
+ /**
12502
+ * v2 → v3 lazy migration. A pre-v3 `device` grant carried
12503
+ * `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
12504
+ * `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
12505
+ * EVERY parse path — stored records AND the JWT-carried scope arrays
12506
+ * normalised at the request boundary ({@link normalizeTokenScopes} in
12507
+ * `device-selector.ts`). Chosen over a one-time DB migration because a
12508
+ * migration cannot reach a JWT already in a client's hands; parse-time
12509
+ * migration covers both without a flag day. No cast — the raw object is read
12510
+ * through `Reflect.get` (its static type is `unknown`).
12511
+ */
12512
+ function migrateLegacyTokenScope(raw) {
12513
+ if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
12514
+ if (Reflect.get(raw, "type") !== "device") return raw;
12515
+ if (Reflect.get(raw, "selector") !== void 0) return raw;
12516
+ const targets = Reflect.get(raw, "targets");
12517
+ if (!Array.isArray(targets)) return raw;
12518
+ return {
12519
+ type: "device",
12520
+ selector: {
12521
+ kind: "ids",
12522
+ ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
12523
+ },
12524
+ access: Reflect.get(raw, "access")
12525
+ };
12526
+ }
12527
+ var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
12528
+ object({
12529
+ type: literal("category"),
12530
+ target: CapScopeSchema,
12531
+ access: array(MethodAccessSchema).min(1)
12532
+ }),
12533
+ object({
12534
+ type: literal("capability"),
12535
+ target: string(),
12536
+ access: array(MethodAccessSchema).min(1)
12537
+ }),
12538
+ object({
12539
+ type: literal("addon"),
12540
+ target: string(),
12541
+ access: array(MethodAccessSchema).min(1)
12542
+ }),
12543
+ DeviceTokenScopeSchema
12544
+ ]));
12545
+ object({
12546
+ id: string(),
12547
+ username: string(),
12548
+ passwordHash: string(),
12549
+ /**
12550
+ * Admin bypass. When true, the middleware skips the scope-access
12551
+ * check entirely. There is no other axis of privilege; the legacy
12552
+ * role enum collapsed onto this boolean in v2.
12553
+ */
12554
+ isAdmin: boolean().default(false),
12555
+ allowedProviders: AllowedProviderSchema,
12556
+ allowedDevices: AllowedDevicesSchema,
12557
+ /**
12558
+ * Scopes granted to this user. Admins bypass; their `scopes` is
12559
+ * ignored. Non-admins without scopes are locked out of every
12560
+ * protected call.
12561
+ */
12562
+ scopes: array(TokenScopeSchema).default([]),
12563
+ createdAt: number(),
12564
+ updatedAt: number()
12565
+ });
12566
+ object({
12567
+ id: string(),
12568
+ label: string(),
12569
+ isAdmin: boolean().default(false),
12570
+ allowedProviders: AllowedProviderSchema,
12571
+ allowedDevices: AllowedDevicesSchema,
12572
+ tokenHash: string(),
12573
+ tokenPrefix: string(),
12574
+ createdAt: number(),
12575
+ lastUsedAt: number().optional()
12576
+ });
12577
+ object({
12578
+ id: string(),
12579
+ userId: string(),
12580
+ name: string(),
12581
+ tokenHash: string(),
12582
+ tokenPrefix: string(),
12583
+ scopes: array(TokenScopeSchema),
12584
+ expiresAt: number().nullish(),
12585
+ lastUsedAt: number().nullish(),
12586
+ createdAt: number()
12587
+ });
12588
+ /** What a share-view grant lets its holder see. */
12589
+ var ShareViewGrantSchema = object({
12590
+ kind: _enum(SHARE_VIEW_KINDS),
12591
+ deviceIds: array(number().int().nonnegative()).min(1).max(64),
12592
+ /** Talk-back, opt-in at mint time; absent means off. */
12593
+ talk: boolean().optional()
12594
+ });
12595
+ var ShareViewScopeSchema = object({
12596
+ type: literal("share-view"),
12597
+ grant: ShareViewGrantSchema
12598
+ });
12599
+ var AddonRoutesScopeSchema = object({
12600
+ type: literal("addon-routes"),
12601
+ access: array(MethodAccessSchema).min(1)
12602
+ });
12603
+ var CredentialScopeSchema = union([
12604
+ literal("*"),
12605
+ ShareViewScopeSchema,
12606
+ AddonRoutesScopeSchema,
12607
+ TokenScopeSchema
12608
+ ]);
12609
+ object({
12610
+ kind: literal("credential"),
12611
+ sub: string().min(1),
12612
+ jti: string().min(16),
12613
+ scopes: array(CredentialScopeSchema).min(1)
12614
+ });
12377
12615
  _enum(["new-session", "step-up"]);
12378
12616
  /** The languages the hub's app landing pages are written in (D858). */
12379
12617
  var AppPageLangSchema = _enum(["en", "it"]);
@@ -13107,7 +13345,14 @@ var AlertSeveritySchema = _enum([
13107
13345
  ]);
13108
13346
  var AlertActionSchema = object({
13109
13347
  label: string(),
13110
- href: string().optional()
13348
+ href: string().optional(),
13349
+ /**
13350
+ * How `href` is followed. Absent / `app`: an admin-ui route (client-side).
13351
+ * `server`: a route the HUB serves (an addon HTTP route such as an OAuth
13352
+ * start) — the browser must leave the SPA with a full navigation, because
13353
+ * the SPA has no such route and would bounce to the home page.
13354
+ */
13355
+ navigation: _enum(["app", "server"]).optional()
13111
13356
  });
13112
13357
  var AlertStatusSchema = _enum([
13113
13358
  "active",
@@ -41528,6 +41773,9 @@ var NcSystemEventKindSchema = _enum([
41528
41773
  "server-updated",
41529
41774
  "export-completed",
41530
41775
  "backup-completed",
41776
+ "alert-critical",
41777
+ "alert-error",
41778
+ "alert-critical-resolved",
41531
41779
  "camera-online",
41532
41780
  "camera-offline",
41533
41781
  "camera-disabled",
@@ -43002,6 +43250,18 @@ var NC_CONDITION_CATALOG = [
43002
43250
  value: "backup-completed",
43003
43251
  label: "Backup completed"
43004
43252
  },
43253
+ {
43254
+ value: "alert-critical",
43255
+ label: "Critical alert raised"
43256
+ },
43257
+ {
43258
+ value: "alert-error",
43259
+ label: "Error alert raised"
43260
+ },
43261
+ {
43262
+ value: "alert-critical-resolved",
43263
+ label: "Critical alert resolved"
43264
+ },
43005
43265
  {
43006
43266
  value: "alarm-arm-refused",
43007
43267
  label: "Alarm arm refused"
@@ -44131,202 +44391,6 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
44131
44391
  auth: "admin"
44132
44392
  }), method(NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, { auth: "admin" });
44133
44393
  /**
44134
- * Zod schemas for persisted record types.
44135
- *
44136
- * These schemas serve as the single source of truth for types that are
44137
- * stored in the settings-store backend and retrieved via tRPC. They
44138
- * replace the manual TypeScript interfaces with schema-derived types,
44139
- * enabling runtime validation when reading from the backend.
44140
- *
44141
- * Convention: each schema is named `<Type>Schema`, the inferred TS type
44142
- * keeps the original name for backward compatibility.
44143
- */
44144
- /**
44145
- * Auth model (v2 — 2026-05-12 caps-only):
44146
- *
44147
- * Two principals:
44148
- * - `isAdmin: true` — full bypass. Admin scope set is ignored.
44149
- * - `isAdmin: false` — every call gated by `scopes` (see TokenScope).
44150
- *
44151
- * No role enum. There used to be `viewer / agent / scoped` and earlier
44152
- * `super_admin` — collapsed onto the single boolean because every
44153
- * non-admin caller is governed by the same scope-check rules; the
44154
- * distinction was only ever used to route role-specific procedures
44155
- * which we no longer have. CLI / webhook integrations are `cst_*` tokens
44156
- * with `isAdmin: false` + an explicit scope list.
44157
- */
44158
- /** Per-method access flavour. Materialised on every cap method via codegen. */
44159
- var MethodAccessSchema = _enum([
44160
- "view",
44161
- "create",
44162
- "delete"
44163
- ]);
44164
- /**
44165
- * A single scope grant. Three forms — checked in matcher with OR
44166
- * semantics; the first match decides whether the call passes:
44167
- *
44168
- * - `category` — broadest. `target: 'device' | 'system'` selects every
44169
- * cap with the matching `scope` declaration. New caps inherit grants
44170
- * automatically — adding a device cap to the codebase makes it
44171
- * reachable to every user with `category:device [...]` without a
44172
- * re-grant. Use this for "family viewer" / "operator" tiers.
44173
- *
44174
- * - `addon` — every cap that ships inside a given addon id. Niche;
44175
- * useful when an integration needs to interact with one specific
44176
- * addon's surface regardless of how many caps it exports.
44177
- *
44178
- * - `capability` — the most precise form. Single cap name. Use for
44179
- * integration tokens where you want to grant `addons.installPackage`
44180
- * and nothing else.
44181
- *
44182
- * `access` is REQUIRED with min 1 element. `admin` bypass is the
44183
- * "give me everything" escape; there is no wildcard scope.
44184
- */
44185
- var AllowedProviderSchema = union([literal("*"), array(string())]);
44186
- var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
44187
- var CapScopeSchema = _enum(["device", "system"]);
44188
- /**
44189
- * DeviceSelector (scope model v3 — 2026-08-12).
44190
- *
44191
- * A `device` grant no longer carries a frozen list of deviceIds. It carries
44192
- * a SELECTOR the matcher resolves against the live fleet, so the grant can be
44193
- * DYNAMIC: a `types:['camera']` selector automatically covers a camera added
44194
- * AFTER the grant was minted — no re-grant, no re-login.
44195
- *
44196
- * - `all` — every device in the deployment. The broad viewer/operator
44197
- * lever without a `category` grant (a `category` grant also covers device
44198
- * caps that carry no deviceId; `all` is specifically the device set).
44199
- * - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
44200
- * grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
44201
- * is NOT covered until the grant is edited.
44202
- * - `types` — every device of a `DeviceType` (e.g. every `camera`).
44203
- * DYNAMIC. A device that changes type, or a new device of the type,
44204
- * re-resolves on the next request.
44205
- * - `locations` — every device whose operator-assigned `location` label is
44206
- * in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
44207
- * null/unset location matches NO `locations` selector.
44208
- */
44209
- var DeviceSelectorSchema = discriminatedUnion("kind", [
44210
- object({ kind: literal("all") }),
44211
- object({
44212
- kind: literal("ids"),
44213
- ids: array(number().int()).min(1)
44214
- }),
44215
- object({
44216
- kind: literal("types"),
44217
- types: array(_enum(DeviceType)).min(1)
44218
- }),
44219
- object({
44220
- kind: literal("locations"),
44221
- locations: array(string().min(1)).min(1)
44222
- })
44223
- ]);
44224
- var DeviceTokenScopeSchema = object({
44225
- type: literal("device"),
44226
- /** The device SET this grant covers — resolved against the live fleet. */
44227
- selector: DeviceSelectorSchema,
44228
- access: array(MethodAccessSchema).min(1),
44229
- /**
44230
- * Whether a grant on a PARENT device transparently covers its accessory
44231
- * CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
44232
- * Direction is parent → children ONLY.
44233
- *
44234
- * Absent → the matcher DERIVES it from the access flavour: `view`
44235
- * inherits (a camera viewer sees the camera's accessories), `create` /
44236
- * `delete` do NOT (actuating/removing a child is an explicit act the
44237
- * operator must grant on the child, not inherit from the parent). Set it
44238
- * explicitly to override that default per grant.
44239
- */
44240
- includeLinked: boolean().optional()
44241
- });
44242
- /**
44243
- * v2 → v3 lazy migration. A pre-v3 `device` grant carried
44244
- * `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
44245
- * `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
44246
- * EVERY parse path — stored records AND the JWT-carried scope arrays
44247
- * normalised at the request boundary ({@link normalizeTokenScopes} in
44248
- * `device-selector.ts`). Chosen over a one-time DB migration because a
44249
- * migration cannot reach a JWT already in a client's hands; parse-time
44250
- * migration covers both without a flag day. No cast — the raw object is read
44251
- * through `Reflect.get` (its static type is `unknown`).
44252
- */
44253
- function migrateLegacyTokenScope(raw) {
44254
- if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
44255
- if (Reflect.get(raw, "type") !== "device") return raw;
44256
- if (Reflect.get(raw, "selector") !== void 0) return raw;
44257
- const targets = Reflect.get(raw, "targets");
44258
- if (!Array.isArray(targets)) return raw;
44259
- return {
44260
- type: "device",
44261
- selector: {
44262
- kind: "ids",
44263
- ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
44264
- },
44265
- access: Reflect.get(raw, "access")
44266
- };
44267
- }
44268
- var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
44269
- object({
44270
- type: literal("category"),
44271
- target: CapScopeSchema,
44272
- access: array(MethodAccessSchema).min(1)
44273
- }),
44274
- object({
44275
- type: literal("capability"),
44276
- target: string(),
44277
- access: array(MethodAccessSchema).min(1)
44278
- }),
44279
- object({
44280
- type: literal("addon"),
44281
- target: string(),
44282
- access: array(MethodAccessSchema).min(1)
44283
- }),
44284
- DeviceTokenScopeSchema
44285
- ]));
44286
- object({
44287
- id: string(),
44288
- username: string(),
44289
- passwordHash: string(),
44290
- /**
44291
- * Admin bypass. When true, the middleware skips the scope-access
44292
- * check entirely. There is no other axis of privilege; the legacy
44293
- * role enum collapsed onto this boolean in v2.
44294
- */
44295
- isAdmin: boolean().default(false),
44296
- allowedProviders: AllowedProviderSchema,
44297
- allowedDevices: AllowedDevicesSchema,
44298
- /**
44299
- * Scopes granted to this user. Admins bypass; their `scopes` is
44300
- * ignored. Non-admins without scopes are locked out of every
44301
- * protected call.
44302
- */
44303
- scopes: array(TokenScopeSchema).default([]),
44304
- createdAt: number(),
44305
- updatedAt: number()
44306
- });
44307
- object({
44308
- id: string(),
44309
- label: string(),
44310
- isAdmin: boolean().default(false),
44311
- allowedProviders: AllowedProviderSchema,
44312
- allowedDevices: AllowedDevicesSchema,
44313
- tokenHash: string(),
44314
- tokenPrefix: string(),
44315
- createdAt: number(),
44316
- lastUsedAt: number().optional()
44317
- });
44318
- object({
44319
- id: string(),
44320
- userId: string(),
44321
- name: string(),
44322
- tokenHash: string(),
44323
- tokenPrefix: string(),
44324
- scopes: array(TokenScopeSchema),
44325
- expiresAt: number().nullish(),
44326
- lastUsedAt: number().nullish(),
44327
- createdAt: number()
44328
- });
44329
- /**
44330
44394
  * `oauth-integration` — a collection cap by which an addon declares
44331
44395
  * itself a linkable OAuth client of the hub's core `/oauth2/*` server.
44332
44396
  * Each provider returns a static descriptor; the core enumerates them
@@ -51128,7 +51192,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
51128
51192
  }), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
51129
51193
  kind: "mutation",
51130
51194
  auth: "admin"
51131
- }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
51195
+ }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
51196
+ clear: boolean(),
51197
+ repointLocationId: string().optional()
51198
+ }), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
51132
51199
  kind: "mutation",
51133
51200
  auth: "admin"
51134
51201
  }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
@@ -54563,6 +54630,11 @@ object({
54563
54630
  *
54564
54631
  * `kind: 'poll'` — cloud REST APIs typically have no push channel; the
54565
54632
  * provider refreshes the slice on an interval and eagerly after commands.
54633
+ *
54634
+ * UNKNOWN IS NOT OFF. Every field the appliance reports separately is
54635
+ * nullable: `null` means "not known right now" (the appliance has not said,
54636
+ * the link is down, or the description does not carry it) and is never
54637
+ * rendered or exported as `false` / `0`. `availability` says why.
54566
54638
  */
54567
54639
  var DishwasherStateSchema = _enum([
54568
54640
  "idle",
@@ -54572,112 +54644,227 @@ var DishwasherStateSchema = _enum([
54572
54644
  "error",
54573
54645
  "unavailable"
54574
54646
  ]);
54647
+ /**
54648
+ * The appliance's own operation state, uncollapsed. `state` above is the coarse
54649
+ * view for compact surfaces; this is what the appliance said.
54650
+ */
54651
+ var DishwasherOperationStateSchema = _enum([
54652
+ "Inactive",
54653
+ "Ready",
54654
+ "DelayedStart",
54655
+ "Run",
54656
+ "Pause",
54657
+ "ActionRequired",
54658
+ "Finished",
54659
+ "Error",
54660
+ "Aborting"
54661
+ ]);
54662
+ /**
54663
+ * Why fields may be `null`:
54664
+ * - `available` — the link is up and the description is loaded;
54665
+ * - `offline` — the local link is down (values are unknown, not last-known);
54666
+ * - `description-missing` — the link is up but the appliance's description could not
54667
+ * be loaded, so its values cannot be decoded.
54668
+ */
54669
+ var DishwasherAvailabilitySchema = _enum([
54670
+ "available",
54671
+ "offline",
54672
+ "description-missing"
54673
+ ]);
54575
54674
  var DishwasherConsumableLevelSchema = _enum([
54576
54675
  "ok",
54577
54676
  "low",
54578
54677
  "empty"
54579
54678
  ]);
54580
54679
  object({
54680
+ availability: DishwasherAvailabilitySchema,
54681
+ /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
54581
54682
  state: DishwasherStateSchema,
54582
- /** Active program id/name, or null when none selected / unknown. */
54683
+ /** The appliance's operation state as reported; null when not known. */
54684
+ operationState: DishwasherOperationStateSchema.nullable(),
54685
+ /** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
54583
54686
  program: string().nullable(),
54584
- /** Program tokens the hardware accepts — drives the UI selector. */
54687
+ /** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
54688
+ selectedProgram: string().nullable(),
54689
+ /** Feature keys of the programs the appliance currently offers — drives the UI selector. */
54585
54690
  availablePrograms: array(string()),
54586
- /** Minutes remaining on the active cycle, or null when not running. */
54587
- remainingMinutes: number().int().nonnegative().nullable(),
54691
+ /** Seconds remaining on the active cycle, or null when not running / not known. */
54692
+ remainingSeconds: number().int().nonnegative().nullable(),
54693
+ /** Seconds the delayed start is set to (time until the cycle starts), or null. */
54694
+ delayedStartSeconds: number().int().nonnegative().nullable(),
54588
54695
  /** Cycle completion 0..100, or null when not applicable. */
54589
54696
  progressPercent: number().min(0).max(100).nullable(),
54590
- /** True when the door is reported open. */
54591
- doorOpen: boolean(),
54592
- /** True when remote start is allowed (door closed, power on, etc.). */
54593
- remoteStartAllowed: boolean(),
54594
- /** Main power / switched-on state. */
54595
- powerOn: boolean(),
54697
+ /** True when the door is reported open; null when the door state is not known. */
54698
+ doorOpen: boolean().nullable(),
54699
+ /** True when the door is latched (locked) during a cycle; null when not reported. */
54700
+ doorLocked: boolean().nullable(),
54701
+ /** True when remote start is allowed (door closed, power on, etc.); null when not known. */
54702
+ remoteStartAllowed: boolean().nullable(),
54703
+ /** True when the appliance accepts remote control now; null when not known. */
54704
+ remoteControlActive: boolean().nullable(),
54705
+ /** True while somebody operates the appliance at its panel; null when not reported. */
54706
+ localControlActive: boolean().nullable(),
54707
+ /** Main power / switched-on state; null when not known. */
54708
+ powerOn: boolean().nullable(),
54709
+ /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
54710
+ powerState: string().nullable(),
54596
54711
  saltLevel: DishwasherConsumableLevelSchema.nullable(),
54597
54712
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54598
- halfLoad: boolean(),
54599
- hygienePlus: boolean(),
54713
+ /** Option states: null when the appliance does not expose the option or has not said. */
54714
+ halfLoad: boolean().nullable(),
54715
+ hygienePlus: boolean().nullable(),
54600
54716
  /** Extra dry option when the appliance exposes it. */
54601
- extraDry: boolean(),
54717
+ extraDry: boolean().nullable(),
54602
54718
  /** Intensive zone (lower basket) when the appliance exposes it. */
54603
- intensiveZone: boolean(),
54719
+ intensiveZone: boolean().nullable(),
54604
54720
  /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
54605
- varioSpeedPlus: boolean(),
54606
- /** Child lock (controls disabled on the appliance). */
54607
- childLock: boolean(),
54721
+ varioSpeedPlus: boolean().nullable(),
54722
+ /** Child lock (controls disabled on the appliance); null when not known. */
54723
+ childLock: boolean().nullable(),
54724
+ /** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
54725
+ activeEvents: array(string()),
54726
+ /** Numeric error code when the appliance reports one; null otherwise. */
54608
54727
  errorCode: number().nullable(),
54728
+ /** Name of the raised alert-level event while the appliance is in error; null otherwise. */
54609
54729
  errorLabel: string().nullable(),
54730
+ /** Ms epoch of the last value received from the appliance; 0 = never. */
54610
54731
  lastFetchedAt: number()
54611
54732
  });
54612
- DeviceType.Dishwasher, method(object({ deviceId: number().int().nonnegative() }), _void(), {
54733
+ var DeviceIdSchema = number().int().nonnegative();
54734
+ /** A value a program option or setting can take. */
54735
+ var DishwasherValueSchema = union([
54736
+ boolean(),
54737
+ string(),
54738
+ number()
54739
+ ]);
54740
+ var DishwasherAccessSchema = _enum([
54741
+ "none",
54742
+ "read",
54743
+ "readWrite",
54744
+ "writeOnly",
54745
+ "readStatic"
54746
+ ]);
54747
+ /**
54748
+ * One option or setting the appliance declares, with the constraints its description
54749
+ * gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
54750
+ */
54751
+ var DishwasherOptionDescriptorSchema = object({
54752
+ /** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
54753
+ key: string(),
54754
+ /** Last segment of the key, for display. */
54755
+ name: string(),
54756
+ type: _enum([
54757
+ "boolean",
54758
+ "number",
54759
+ "enum",
54760
+ "string"
54761
+ ]),
54762
+ access: DishwasherAccessSchema,
54763
+ /** The appliance reports this entity as currently available. */
54764
+ available: boolean(),
54765
+ /** Unit the description declares for a number; null when it declares none. */
54766
+ unit: string().nullable(),
54767
+ min: number().nullable(),
54768
+ max: number().nullable(),
54769
+ step: number().nullable(),
54770
+ /** Allowed members of an enum; null for other types. */
54771
+ enumValues: array(string()).nullable(),
54772
+ defaultValue: DishwasherValueSchema.nullable()
54773
+ });
54774
+ var DishwasherProgramSchema = object({
54775
+ /** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
54776
+ key: string(),
54777
+ name: string(),
54778
+ /** The appliance currently offers this program. */
54779
+ available: boolean(),
54780
+ /** The options this program lists, with the program-level access / availability / default. */
54781
+ options: array(DishwasherOptionDescriptorSchema)
54782
+ });
54783
+ var DishwasherOptionsSchema = object({
54784
+ availability: DishwasherAvailabilitySchema,
54785
+ /** What the appliance can be told to do, from the commands its description declares. */
54786
+ supportsStart: boolean(),
54787
+ supportsPause: boolean(),
54788
+ supportsResume: boolean(),
54789
+ supportsStop: boolean(),
54790
+ supportsPower: boolean(),
54791
+ /** Every program the description lists, with its options. */
54792
+ programs: array(DishwasherProgramSchema),
54793
+ /** Every option and setting entity the description lists (programs reference these by key). */
54794
+ options: array(DishwasherOptionDescriptorSchema)
54795
+ });
54796
+ DeviceType.Dishwasher, method(object({
54797
+ deviceId: DeviceIdSchema,
54798
+ program: string().min(1).optional(),
54799
+ options: record(string(), DishwasherValueSchema).optional()
54800
+ }), _void(), {
54613
54801
  kind: "mutation",
54614
54802
  auth: "protected"
54615
- }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
54803
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
54616
54804
  kind: "mutation",
54617
54805
  auth: "protected"
54618
- }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
54806
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
54807
+ kind: "mutation",
54808
+ auth: "protected"
54809
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
54619
54810
  kind: "mutation",
54620
54811
  auth: "protected"
54621
54812
  }), method(object({
54622
- deviceId: number().int().nonnegative(),
54813
+ deviceId: DeviceIdSchema,
54623
54814
  program: string().min(1)
54624
54815
  }), _void(), {
54625
54816
  kind: "mutation",
54626
54817
  auth: "protected"
54627
54818
  }), method(object({
54628
- deviceId: number().int().nonnegative(),
54819
+ deviceId: DeviceIdSchema,
54629
54820
  on: boolean()
54630
54821
  }), _void(), {
54631
54822
  kind: "mutation",
54632
54823
  auth: "protected"
54633
54824
  }), method(object({
54634
- deviceId: number().int().nonnegative(),
54825
+ deviceId: DeviceIdSchema,
54635
54826
  on: boolean()
54636
54827
  }), _void(), {
54637
54828
  kind: "mutation",
54638
54829
  auth: "protected"
54639
54830
  }), method(object({
54640
- deviceId: number().int().nonnegative(),
54831
+ deviceId: DeviceIdSchema,
54641
54832
  on: boolean()
54642
54833
  }), _void(), {
54643
54834
  kind: "mutation",
54644
54835
  auth: "protected"
54645
54836
  }), method(object({
54646
- deviceId: number().int().nonnegative(),
54837
+ deviceId: DeviceIdSchema,
54647
54838
  on: boolean()
54648
54839
  }), _void(), {
54649
54840
  kind: "mutation",
54650
54841
  auth: "protected"
54651
54842
  }), method(object({
54652
- deviceId: number().int().nonnegative(),
54843
+ deviceId: DeviceIdSchema,
54653
54844
  on: boolean()
54654
54845
  }), _void(), {
54655
54846
  kind: "mutation",
54656
54847
  auth: "protected"
54657
54848
  }), method(object({
54658
- deviceId: number().int().nonnegative(),
54849
+ deviceId: DeviceIdSchema,
54659
54850
  on: boolean()
54660
54851
  }), _void(), {
54661
54852
  kind: "mutation",
54662
54853
  auth: "protected"
54663
54854
  }), method(object({
54664
- deviceId: number().int().nonnegative(),
54855
+ deviceId: DeviceIdSchema,
54665
54856
  on: boolean()
54666
54857
  }), _void(), {
54667
54858
  kind: "mutation",
54668
54859
  auth: "protected"
54669
54860
  }), method(object({
54670
- deviceId: number().int().nonnegative(),
54861
+ deviceId: DeviceIdSchema,
54671
54862
  key: string().min(1),
54672
- value: union([
54673
- boolean(),
54674
- string(),
54675
- number()
54676
- ])
54863
+ value: DishwasherValueSchema
54677
54864
  }), _void(), {
54678
54865
  kind: "mutation",
54679
54866
  auth: "protected"
54680
- });
54867
+ }), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
54681
54868
  object({
54682
54869
  /** Ms epoch of the last press. null = never observed since this provider started. */
54683
54870
  lastPressedAt: number().nullable(),
@@ -65115,6 +65302,12 @@ Object.freeze({
65115
65302
  addonId: null,
65116
65303
  access: "view"
65117
65304
  },
65305
+ "dishwasher.getOptions": {
65306
+ capName: "dishwasher",
65307
+ capScope: "device",
65308
+ addonId: null,
65309
+ access: "view"
65310
+ },
65118
65311
  "dishwasher.getStatus": {
65119
65312
  capName: "dishwasher",
65120
65313
  capScope: "device",
@@ -65127,6 +65320,12 @@ Object.freeze({
65127
65320
  addonId: null,
65128
65321
  access: "create"
65129
65322
  },
65323
+ "dishwasher.resume": {
65324
+ capName: "dishwasher",
65325
+ capScope: "device",
65326
+ addonId: null,
65327
+ access: "create"
65328
+ },
65130
65329
  "dishwasher.setChildLock": {
65131
65330
  capName: "dishwasher",
65132
65331
  capScope: "device",
@@ -69627,6 +69826,12 @@ Object.freeze({
69627
69826
  addonId: null,
69628
69827
  access: "view"
69629
69828
  },
69829
+ "storageMigration.moverClearance": {
69830
+ capName: "storage-migration",
69831
+ capScope: "system",
69832
+ addonId: null,
69833
+ access: "view"
69834
+ },
69630
69835
  "storageMigration.movers": {
69631
69836
  capName: "storage-migration",
69632
69837
  capScope: "system",
@@ -71820,6 +72025,11 @@ Object.freeze({
71820
72025
  form: "single",
71821
72026
  optional: false
71822
72027
  }],
72028
+ "dishwasher.getOptions": [{
72029
+ name: "deviceId",
72030
+ form: "single",
72031
+ optional: false
72032
+ }],
71823
72033
  "dishwasher.getStatus": [{
71824
72034
  name: "deviceId",
71825
72035
  form: "single",
@@ -71830,6 +72040,11 @@ Object.freeze({
71830
72040
  form: "single",
71831
72041
  optional: false
71832
72042
  }],
72043
+ "dishwasher.resume": [{
72044
+ name: "deviceId",
72045
+ form: "single",
72046
+ optional: false
72047
+ }],
71833
72048
  "dishwasher.setChildLock": [{
71834
72049
  name: "deviceId",
71835
72050
  form: "single",
@@ -73916,6 +74131,9 @@ new Map(Object.entries({
73916
74131
  "wrapper-update-available": "system",
73917
74132
  "backup-completed": "system",
73918
74133
  "export-completed": "system",
74134
+ "alert-critical": "system",
74135
+ "alert-error": "system",
74136
+ "alert-critical-resolved": "system",
73919
74137
  "storage-location-low": "system",
73920
74138
  "storage-location-critical": "system",
73921
74139
  "storage-location-ok": "system",
@@ -74040,6 +74258,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
74040
74258
  "storage-location-ok"
74041
74259
  ]
74042
74260
  },
74261
+ {
74262
+ id: "alerts",
74263
+ family: "system",
74264
+ label: "Alerts",
74265
+ kinds: [
74266
+ "alert-critical",
74267
+ "alert-error",
74268
+ "alert-critical-resolved"
74269
+ ]
74270
+ },
74043
74271
  {
74044
74272
  id: "alarm",
74045
74273
  family: "alarm",
@@ -74164,6 +74392,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
74164
74392
  return [[descriptor.kind, field]];
74165
74393
  })));
74166
74394
  Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
74395
+ object({
74396
+ phase: _enum(["raised", "resolved"]),
74397
+ episodeId: string().min(1),
74398
+ alertId: string().min(1),
74399
+ severity: AlertSeveritySchema,
74400
+ category: string(),
74401
+ title: string(),
74402
+ message: string(),
74403
+ sourceType: string().optional(),
74404
+ sourceId: string().optional(),
74405
+ nodeId: string().optional(),
74406
+ /** The alert's own action link (where the operator acts on it), when it has one. */
74407
+ actionUrl: string().optional(),
74408
+ at: number()
74409
+ });
74167
74410
  var RULE_BODY_ONLY = ["body"];
74168
74411
  var RULE_TEXT = ["title", "body"];
74169
74412
  var BATTERY = ["device-battery-low", "device-battery-normal"];
@@ -74173,6 +74416,11 @@ var TANK = [
74173
74416
  "device-tank-full",
74174
74417
  "device-tank-normal"
74175
74418
  ];
74419
+ var ALERT_EPISODE = [
74420
+ "alert-critical",
74421
+ "alert-error",
74422
+ "alert-critical-resolved"
74423
+ ];
74176
74424
  var UPDATES = [
74177
74425
  "addon-update-available",
74178
74426
  "server-update-available",
@@ -74365,14 +74613,14 @@ var STATE_SUMMARY_VARS = [
74365
74613
  ([...RULE_TEXT], [...CONSUMABLE]),
74366
74614
  ([...RULE_TEXT], [...TANK]),
74367
74615
  [...RULE_TEXT],
74368
- ([...RULE_TEXT], [...UPDATES]),
74369
- ([...RULE_TEXT], [...UPDATES]),
74370
- [...RULE_TEXT],
74616
+ ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
74617
+ ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
74371
74618
  [...RULE_TEXT],
74372
74619
  [...RULE_TEXT],
74373
74620
  [...RULE_TEXT],
74374
74621
  [...RULE_TEXT],
74375
74622
  [...RULE_TEXT],
74623
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74376
74624
  [...RULE_TEXT],
74377
74625
  [...RULE_TEXT],
74378
74626
  [...RULE_TEXT],
@@ -74390,7 +74638,11 @@ var STATE_SUMMARY_VARS = [
74390
74638
  [...RULE_TEXT],
74391
74639
  [...RULE_TEXT],
74392
74640
  [...RULE_TEXT],
74393
- [...RULE_TEXT],
74641
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74642
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74643
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74644
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74645
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74394
74646
  [...RULE_TEXT],
74395
74647
  [...RULE_TEXT],
74396
74648
  [...RULE_TEXT],
@@ -76464,6 +76716,15 @@ var CAP_STATE_LEAVES = Object.freeze({
76464
76716
  "valueType": "boolean"
76465
76717
  }],
76466
76718
  "dishwasher": [
76719
+ {
76720
+ "path": "availability",
76721
+ "valueType": "enum",
76722
+ "enumValues": [
76723
+ "available",
76724
+ "offline",
76725
+ "description-missing"
76726
+ ]
76727
+ },
76467
76728
  {
76468
76729
  "path": "state",
76469
76730
  "valueType": "enum",
@@ -76476,12 +76737,35 @@ var CAP_STATE_LEAVES = Object.freeze({
76476
76737
  "unavailable"
76477
76738
  ]
76478
76739
  },
76740
+ {
76741
+ "path": "operationState",
76742
+ "valueType": "enum",
76743
+ "enumValues": [
76744
+ "Inactive",
76745
+ "Ready",
76746
+ "DelayedStart",
76747
+ "Run",
76748
+ "Pause",
76749
+ "ActionRequired",
76750
+ "Finished",
76751
+ "Error",
76752
+ "Aborting"
76753
+ ]
76754
+ },
76479
76755
  {
76480
76756
  "path": "program",
76481
76757
  "valueType": "string"
76482
76758
  },
76483
76759
  {
76484
- "path": "remainingMinutes",
76760
+ "path": "selectedProgram",
76761
+ "valueType": "string"
76762
+ },
76763
+ {
76764
+ "path": "remainingSeconds",
76765
+ "valueType": "number"
76766
+ },
76767
+ {
76768
+ "path": "delayedStartSeconds",
76485
76769
  "valueType": "number"
76486
76770
  },
76487
76771
  {
@@ -76492,14 +76776,30 @@ var CAP_STATE_LEAVES = Object.freeze({
76492
76776
  "path": "doorOpen",
76493
76777
  "valueType": "boolean"
76494
76778
  },
76779
+ {
76780
+ "path": "doorLocked",
76781
+ "valueType": "boolean"
76782
+ },
76495
76783
  {
76496
76784
  "path": "remoteStartAllowed",
76497
76785
  "valueType": "boolean"
76498
76786
  },
76787
+ {
76788
+ "path": "remoteControlActive",
76789
+ "valueType": "boolean"
76790
+ },
76791
+ {
76792
+ "path": "localControlActive",
76793
+ "valueType": "boolean"
76794
+ },
76499
76795
  {
76500
76796
  "path": "powerOn",
76501
76797
  "valueType": "boolean"
76502
76798
  },
76799
+ {
76800
+ "path": "powerState",
76801
+ "valueType": "string"
76802
+ },
76503
76803
  {
76504
76804
  "path": "saltLevel",
76505
76805
  "valueType": "enum",