@camstack/addon-provider-rademacher 0.2.128 → 0.2.129
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/addon.js +264 -44
- package/dist/addon.mjs +264 -44
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -984,7 +984,7 @@ var Rademacher = class {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
//#endregion
|
|
987
|
-
//#region ../types/dist/event-category-
|
|
987
|
+
//#region ../types/dist/event-category-DOl51-Ij.mjs
|
|
988
988
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
989
989
|
EventCategory["SystemBoot"] = "system.boot";
|
|
990
990
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1063,9 +1063,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1063
1063
|
/**
|
|
1064
1064
|
* The node's one-shot runner boot check (D877): planned runners against the
|
|
1065
1065
|
* process service, `degraded` when any is failed, refused or missing. The
|
|
1066
|
-
* alert centre turns it into one
|
|
1066
|
+
* alert centre turns it into one critical alert.
|
|
1067
1067
|
*/
|
|
1068
1068
|
EventCategory["SystemRunnerCheck"] = "system.runner-check";
|
|
1069
|
+
/**
|
|
1070
|
+
* An alert EPISODE opened or closed, emitted by the alert centre for alerts
|
|
1071
|
+
* of severity `critical` or `error` (`AlertEpisodePayload`). The alert
|
|
1072
|
+
* centre sends no notification of its own: Notification Center turns this
|
|
1073
|
+
* into the `alert-critical` / `alert-error` / `alert-critical-resolved`
|
|
1074
|
+
* system-event kinds, and reconciles from the alerts store because a bus
|
|
1075
|
+
* event may be dropped (D8, D11).
|
|
1076
|
+
*/
|
|
1077
|
+
EventCategory["AlertEpisode"] = "alert.episode";
|
|
1069
1078
|
EventCategory["AddonError"] = "addon.error";
|
|
1070
1079
|
EventCategory["AddonPageReady"] = "addon.page-ready";
|
|
1071
1080
|
EventCategory["AddonWidgetReady"] = "addon.widget-ready";
|
|
@@ -6390,7 +6399,7 @@ var ZodIssueCode = {
|
|
|
6390
6399
|
var ZodFirstPartyTypeKind;
|
|
6391
6400
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6392
6401
|
//#endregion
|
|
6393
|
-
//#region ../types/dist/sleep-
|
|
6402
|
+
//#region ../types/dist/sleep-BxjU_fJM.mjs
|
|
6394
6403
|
/**
|
|
6395
6404
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6396
6405
|
* window to float samples (D455).
|
|
@@ -14153,7 +14162,14 @@ var AlertSeveritySchema = _enum([
|
|
|
14153
14162
|
]);
|
|
14154
14163
|
var AlertActionSchema = object({
|
|
14155
14164
|
label: string(),
|
|
14156
|
-
href: string().optional()
|
|
14165
|
+
href: string().optional(),
|
|
14166
|
+
/**
|
|
14167
|
+
* How `href` is followed. Absent / `app`: an admin-ui route (client-side).
|
|
14168
|
+
* `server`: a route the HUB serves (an addon HTTP route such as an OAuth
|
|
14169
|
+
* start) — the browser must leave the SPA with a full navigation, because
|
|
14170
|
+
* the SPA has no such route and would bounce to the home page.
|
|
14171
|
+
*/
|
|
14172
|
+
navigation: _enum(["app", "server"]).optional()
|
|
14157
14173
|
});
|
|
14158
14174
|
var AlertStatusSchema = _enum([
|
|
14159
14175
|
"active",
|
|
@@ -42982,6 +42998,9 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42982
42998
|
"server-updated",
|
|
42983
42999
|
"export-completed",
|
|
42984
43000
|
"backup-completed",
|
|
43001
|
+
"alert-critical",
|
|
43002
|
+
"alert-error",
|
|
43003
|
+
"alert-critical-resolved",
|
|
42985
43004
|
"camera-online",
|
|
42986
43005
|
"camera-offline",
|
|
42987
43006
|
"camera-disabled",
|
|
@@ -52058,7 +52077,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
52058
52077
|
}), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
52059
52078
|
kind: "mutation",
|
|
52060
52079
|
auth: "admin"
|
|
52061
|
-
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({
|
|
52080
|
+
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
|
|
52081
|
+
clear: boolean(),
|
|
52082
|
+
repointLocationId: string().optional()
|
|
52083
|
+
}), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
52062
52084
|
kind: "mutation",
|
|
52063
52085
|
auth: "admin"
|
|
52064
52086
|
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
@@ -56314,6 +56336,11 @@ onStatusChanged: { data: object({
|
|
|
56314
56336
|
*
|
|
56315
56337
|
* `kind: 'poll'` — cloud REST APIs typically have no push channel; the
|
|
56316
56338
|
* provider refreshes the slice on an interval and eagerly after commands.
|
|
56339
|
+
*
|
|
56340
|
+
* UNKNOWN IS NOT OFF. Every field the appliance reports separately is
|
|
56341
|
+
* nullable: `null` means "not known right now" (the appliance has not said,
|
|
56342
|
+
* the link is down, or the description does not carry it) and is never
|
|
56343
|
+
* rendered or exported as `false` / `0`. `availability` says why.
|
|
56317
56344
|
*/
|
|
56318
56345
|
var DishwasherStateSchema = _enum([
|
|
56319
56346
|
"idle",
|
|
@@ -56323,43 +56350,155 @@ var DishwasherStateSchema = _enum([
|
|
|
56323
56350
|
"error",
|
|
56324
56351
|
"unavailable"
|
|
56325
56352
|
]);
|
|
56353
|
+
/**
|
|
56354
|
+
* The appliance's own operation state, uncollapsed. `state` above is the coarse
|
|
56355
|
+
* view for compact surfaces; this is what the appliance said.
|
|
56356
|
+
*/
|
|
56357
|
+
var DishwasherOperationStateSchema = _enum([
|
|
56358
|
+
"Inactive",
|
|
56359
|
+
"Ready",
|
|
56360
|
+
"DelayedStart",
|
|
56361
|
+
"Run",
|
|
56362
|
+
"Pause",
|
|
56363
|
+
"ActionRequired",
|
|
56364
|
+
"Finished",
|
|
56365
|
+
"Error",
|
|
56366
|
+
"Aborting"
|
|
56367
|
+
]);
|
|
56368
|
+
/**
|
|
56369
|
+
* Why fields may be `null`:
|
|
56370
|
+
* - `available` — the link is up and the description is loaded;
|
|
56371
|
+
* - `offline` — the local link is down (values are unknown, not last-known);
|
|
56372
|
+
* - `description-missing` — the link is up but the appliance's description could not
|
|
56373
|
+
* be loaded, so its values cannot be decoded.
|
|
56374
|
+
*/
|
|
56375
|
+
var DishwasherAvailabilitySchema = _enum([
|
|
56376
|
+
"available",
|
|
56377
|
+
"offline",
|
|
56378
|
+
"description-missing"
|
|
56379
|
+
]);
|
|
56326
56380
|
var DishwasherConsumableLevelSchema = _enum([
|
|
56327
56381
|
"ok",
|
|
56328
56382
|
"low",
|
|
56329
56383
|
"empty"
|
|
56330
56384
|
]);
|
|
56331
56385
|
var DishwasherStatusSchema = object({
|
|
56386
|
+
availability: DishwasherAvailabilitySchema,
|
|
56387
|
+
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
56332
56388
|
state: DishwasherStateSchema,
|
|
56333
|
-
/**
|
|
56389
|
+
/** The appliance's operation state as reported; null when not known. */
|
|
56390
|
+
operationState: DishwasherOperationStateSchema.nullable(),
|
|
56391
|
+
/** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
|
|
56334
56392
|
program: string().nullable(),
|
|
56335
|
-
/**
|
|
56393
|
+
/** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
|
|
56394
|
+
selectedProgram: string().nullable(),
|
|
56395
|
+
/** Feature keys of the programs the appliance currently offers — drives the UI selector. */
|
|
56336
56396
|
availablePrograms: array(string()),
|
|
56337
|
-
/**
|
|
56338
|
-
|
|
56397
|
+
/** Seconds remaining on the active cycle, or null when not running / not known. */
|
|
56398
|
+
remainingSeconds: number().int().nonnegative().nullable(),
|
|
56399
|
+
/** Seconds the delayed start is set to (time until the cycle starts), or null. */
|
|
56400
|
+
delayedStartSeconds: number().int().nonnegative().nullable(),
|
|
56339
56401
|
/** Cycle completion 0..100, or null when not applicable. */
|
|
56340
56402
|
progressPercent: number().min(0).max(100).nullable(),
|
|
56341
|
-
/** True when the door is reported open. */
|
|
56342
|
-
doorOpen: boolean(),
|
|
56343
|
-
/** True when
|
|
56344
|
-
|
|
56345
|
-
/**
|
|
56346
|
-
|
|
56403
|
+
/** True when the door is reported open; null when the door state is not known. */
|
|
56404
|
+
doorOpen: boolean().nullable(),
|
|
56405
|
+
/** True when the door is latched (locked) during a cycle; null when not reported. */
|
|
56406
|
+
doorLocked: boolean().nullable(),
|
|
56407
|
+
/** True when remote start is allowed (door closed, power on, etc.); null when not known. */
|
|
56408
|
+
remoteStartAllowed: boolean().nullable(),
|
|
56409
|
+
/** True when the appliance accepts remote control now; null when not known. */
|
|
56410
|
+
remoteControlActive: boolean().nullable(),
|
|
56411
|
+
/** True while somebody operates the appliance at its panel; null when not reported. */
|
|
56412
|
+
localControlActive: boolean().nullable(),
|
|
56413
|
+
/** Main power / switched-on state; null when not known. */
|
|
56414
|
+
powerOn: boolean().nullable(),
|
|
56415
|
+
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
56416
|
+
powerState: string().nullable(),
|
|
56347
56417
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56348
56418
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56349
|
-
|
|
56350
|
-
|
|
56419
|
+
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
56420
|
+
halfLoad: boolean().nullable(),
|
|
56421
|
+
hygienePlus: boolean().nullable(),
|
|
56351
56422
|
/** Extra dry option when the appliance exposes it. */
|
|
56352
|
-
extraDry: boolean(),
|
|
56423
|
+
extraDry: boolean().nullable(),
|
|
56353
56424
|
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
56354
|
-
intensiveZone: boolean(),
|
|
56425
|
+
intensiveZone: boolean().nullable(),
|
|
56355
56426
|
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
56356
|
-
varioSpeedPlus: boolean(),
|
|
56357
|
-
/** Child lock (controls disabled on the appliance). */
|
|
56358
|
-
childLock: boolean(),
|
|
56427
|
+
varioSpeedPlus: boolean().nullable(),
|
|
56428
|
+
/** Child lock (controls disabled on the appliance); null when not known. */
|
|
56429
|
+
childLock: boolean().nullable(),
|
|
56430
|
+
/** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
|
|
56431
|
+
activeEvents: array(string()),
|
|
56432
|
+
/** Numeric error code when the appliance reports one; null otherwise. */
|
|
56359
56433
|
errorCode: number().nullable(),
|
|
56434
|
+
/** Name of the raised alert-level event while the appliance is in error; null otherwise. */
|
|
56360
56435
|
errorLabel: string().nullable(),
|
|
56436
|
+
/** Ms epoch of the last value received from the appliance; 0 = never. */
|
|
56361
56437
|
lastFetchedAt: number()
|
|
56362
56438
|
});
|
|
56439
|
+
var DeviceIdSchema = number().int().nonnegative();
|
|
56440
|
+
/** A value a program option or setting can take. */
|
|
56441
|
+
var DishwasherValueSchema = union([
|
|
56442
|
+
boolean(),
|
|
56443
|
+
string(),
|
|
56444
|
+
number()
|
|
56445
|
+
]);
|
|
56446
|
+
var DishwasherAccessSchema = _enum([
|
|
56447
|
+
"none",
|
|
56448
|
+
"read",
|
|
56449
|
+
"readWrite",
|
|
56450
|
+
"writeOnly",
|
|
56451
|
+
"readStatic"
|
|
56452
|
+
]);
|
|
56453
|
+
/**
|
|
56454
|
+
* One option or setting the appliance declares, with the constraints its description
|
|
56455
|
+
* gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
|
|
56456
|
+
*/
|
|
56457
|
+
var DishwasherOptionDescriptorSchema = object({
|
|
56458
|
+
/** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
|
|
56459
|
+
key: string(),
|
|
56460
|
+
/** Last segment of the key, for display. */
|
|
56461
|
+
name: string(),
|
|
56462
|
+
type: _enum([
|
|
56463
|
+
"boolean",
|
|
56464
|
+
"number",
|
|
56465
|
+
"enum",
|
|
56466
|
+
"string"
|
|
56467
|
+
]),
|
|
56468
|
+
access: DishwasherAccessSchema,
|
|
56469
|
+
/** The appliance reports this entity as currently available. */
|
|
56470
|
+
available: boolean(),
|
|
56471
|
+
/** Unit the description declares for a number; null when it declares none. */
|
|
56472
|
+
unit: string().nullable(),
|
|
56473
|
+
min: number().nullable(),
|
|
56474
|
+
max: number().nullable(),
|
|
56475
|
+
step: number().nullable(),
|
|
56476
|
+
/** Allowed members of an enum; null for other types. */
|
|
56477
|
+
enumValues: array(string()).nullable(),
|
|
56478
|
+
defaultValue: DishwasherValueSchema.nullable()
|
|
56479
|
+
});
|
|
56480
|
+
var DishwasherProgramSchema = object({
|
|
56481
|
+
/** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
|
|
56482
|
+
key: string(),
|
|
56483
|
+
name: string(),
|
|
56484
|
+
/** The appliance currently offers this program. */
|
|
56485
|
+
available: boolean(),
|
|
56486
|
+
/** The options this program lists, with the program-level access / availability / default. */
|
|
56487
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
56488
|
+
});
|
|
56489
|
+
var DishwasherOptionsSchema = object({
|
|
56490
|
+
availability: DishwasherAvailabilitySchema,
|
|
56491
|
+
/** What the appliance can be told to do, from the commands its description declares. */
|
|
56492
|
+
supportsStart: boolean(),
|
|
56493
|
+
supportsPause: boolean(),
|
|
56494
|
+
supportsResume: boolean(),
|
|
56495
|
+
supportsStop: boolean(),
|
|
56496
|
+
supportsPower: boolean(),
|
|
56497
|
+
/** Every program the description lists, with its options. */
|
|
56498
|
+
programs: array(DishwasherProgramSchema),
|
|
56499
|
+
/** Every option and setting entity the description lists (programs reference these by key). */
|
|
56500
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
56501
|
+
});
|
|
56363
56502
|
var dishwasherCapability = {
|
|
56364
56503
|
name: "dishwasher",
|
|
56365
56504
|
scope: "device",
|
|
@@ -56367,86 +56506,102 @@ var dishwasherCapability = {
|
|
|
56367
56506
|
mode: "singleton",
|
|
56368
56507
|
deviceTypes: [DeviceType.Dishwasher],
|
|
56369
56508
|
methods: {
|
|
56370
|
-
|
|
56509
|
+
/**
|
|
56510
|
+
* Start a program. Without `program` the selected one starts. `options` are
|
|
56511
|
+
* option feature keys; each is checked against the program's constraints.
|
|
56512
|
+
*/
|
|
56513
|
+
start: method(object({
|
|
56514
|
+
deviceId: DeviceIdSchema,
|
|
56515
|
+
program: string().min(1).optional(),
|
|
56516
|
+
options: record(string(), DishwasherValueSchema).optional()
|
|
56517
|
+
}), _void(), {
|
|
56371
56518
|
kind: "mutation",
|
|
56372
56519
|
auth: "protected"
|
|
56373
56520
|
}),
|
|
56374
|
-
pause: method(object({ deviceId:
|
|
56521
|
+
pause: method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
56375
56522
|
kind: "mutation",
|
|
56376
56523
|
auth: "protected"
|
|
56377
56524
|
}),
|
|
56378
|
-
|
|
56525
|
+
resume: method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
56526
|
+
kind: "mutation",
|
|
56527
|
+
auth: "protected"
|
|
56528
|
+
}),
|
|
56529
|
+
stop: method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
56379
56530
|
kind: "mutation",
|
|
56380
56531
|
auth: "protected"
|
|
56381
56532
|
}),
|
|
56533
|
+
/** Select (not start) a program; refused when the appliance does not offer it. */
|
|
56382
56534
|
setProgram: method(object({
|
|
56383
|
-
deviceId:
|
|
56535
|
+
deviceId: DeviceIdSchema,
|
|
56384
56536
|
program: string().min(1)
|
|
56385
56537
|
}), _void(), {
|
|
56386
56538
|
kind: "mutation",
|
|
56387
56539
|
auth: "protected"
|
|
56388
56540
|
}),
|
|
56389
56541
|
setPower: method(object({
|
|
56390
|
-
deviceId:
|
|
56542
|
+
deviceId: DeviceIdSchema,
|
|
56391
56543
|
on: boolean()
|
|
56392
56544
|
}), _void(), {
|
|
56393
56545
|
kind: "mutation",
|
|
56394
56546
|
auth: "protected"
|
|
56395
56547
|
}),
|
|
56396
56548
|
setHalfLoad: method(object({
|
|
56397
|
-
deviceId:
|
|
56549
|
+
deviceId: DeviceIdSchema,
|
|
56398
56550
|
on: boolean()
|
|
56399
56551
|
}), _void(), {
|
|
56400
56552
|
kind: "mutation",
|
|
56401
56553
|
auth: "protected"
|
|
56402
56554
|
}),
|
|
56403
56555
|
setHygienePlus: method(object({
|
|
56404
|
-
deviceId:
|
|
56556
|
+
deviceId: DeviceIdSchema,
|
|
56405
56557
|
on: boolean()
|
|
56406
56558
|
}), _void(), {
|
|
56407
56559
|
kind: "mutation",
|
|
56408
56560
|
auth: "protected"
|
|
56409
56561
|
}),
|
|
56410
56562
|
setExtraDry: method(object({
|
|
56411
|
-
deviceId:
|
|
56563
|
+
deviceId: DeviceIdSchema,
|
|
56412
56564
|
on: boolean()
|
|
56413
56565
|
}), _void(), {
|
|
56414
56566
|
kind: "mutation",
|
|
56415
56567
|
auth: "protected"
|
|
56416
56568
|
}),
|
|
56417
56569
|
setIntensiveZone: method(object({
|
|
56418
|
-
deviceId:
|
|
56570
|
+
deviceId: DeviceIdSchema,
|
|
56419
56571
|
on: boolean()
|
|
56420
56572
|
}), _void(), {
|
|
56421
56573
|
kind: "mutation",
|
|
56422
56574
|
auth: "protected"
|
|
56423
56575
|
}),
|
|
56424
56576
|
setVarioSpeedPlus: method(object({
|
|
56425
|
-
deviceId:
|
|
56577
|
+
deviceId: DeviceIdSchema,
|
|
56426
56578
|
on: boolean()
|
|
56427
56579
|
}), _void(), {
|
|
56428
56580
|
kind: "mutation",
|
|
56429
56581
|
auth: "protected"
|
|
56430
56582
|
}),
|
|
56431
56583
|
setChildLock: method(object({
|
|
56432
|
-
deviceId:
|
|
56584
|
+
deviceId: DeviceIdSchema,
|
|
56433
56585
|
on: boolean()
|
|
56434
56586
|
}), _void(), {
|
|
56435
56587
|
kind: "mutation",
|
|
56436
56588
|
auth: "protected"
|
|
56437
56589
|
}),
|
|
56590
|
+
/**
|
|
56591
|
+
* Write any option or setting by feature key. Refused when the description does
|
|
56592
|
+
* not list it, it is not writable or not available now, or the value is outside
|
|
56593
|
+
* its declared range / members.
|
|
56594
|
+
*/
|
|
56438
56595
|
setOption: method(object({
|
|
56439
|
-
deviceId:
|
|
56596
|
+
deviceId: DeviceIdSchema,
|
|
56440
56597
|
key: string().min(1),
|
|
56441
|
-
value:
|
|
56442
|
-
boolean(),
|
|
56443
|
-
string(),
|
|
56444
|
-
number()
|
|
56445
|
-
])
|
|
56598
|
+
value: DishwasherValueSchema
|
|
56446
56599
|
}), _void(), {
|
|
56447
56600
|
kind: "mutation",
|
|
56448
56601
|
auth: "protected"
|
|
56449
|
-
})
|
|
56602
|
+
}),
|
|
56603
|
+
/** What this appliance can do, from its own description — the UI is derived from it. */
|
|
56604
|
+
getOptions: method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" })
|
|
56450
56605
|
},
|
|
56451
56606
|
status: {
|
|
56452
56607
|
schema: DishwasherStatusSchema,
|
|
@@ -70395,6 +70550,12 @@ Object.freeze({
|
|
|
70395
70550
|
addonId: null,
|
|
70396
70551
|
access: "view"
|
|
70397
70552
|
},
|
|
70553
|
+
"dishwasher.getOptions": {
|
|
70554
|
+
capName: "dishwasher",
|
|
70555
|
+
capScope: "device",
|
|
70556
|
+
addonId: null,
|
|
70557
|
+
access: "view"
|
|
70558
|
+
},
|
|
70398
70559
|
"dishwasher.getStatus": {
|
|
70399
70560
|
capName: "dishwasher",
|
|
70400
70561
|
capScope: "device",
|
|
@@ -70407,6 +70568,12 @@ Object.freeze({
|
|
|
70407
70568
|
addonId: null,
|
|
70408
70569
|
access: "create"
|
|
70409
70570
|
},
|
|
70571
|
+
"dishwasher.resume": {
|
|
70572
|
+
capName: "dishwasher",
|
|
70573
|
+
capScope: "device",
|
|
70574
|
+
addonId: null,
|
|
70575
|
+
access: "create"
|
|
70576
|
+
},
|
|
70410
70577
|
"dishwasher.setChildLock": {
|
|
70411
70578
|
capName: "dishwasher",
|
|
70412
70579
|
capScope: "device",
|
|
@@ -74907,6 +75074,12 @@ Object.freeze({
|
|
|
74907
75074
|
addonId: null,
|
|
74908
75075
|
access: "view"
|
|
74909
75076
|
},
|
|
75077
|
+
"storageMigration.moverClearance": {
|
|
75078
|
+
capName: "storage-migration",
|
|
75079
|
+
capScope: "system",
|
|
75080
|
+
addonId: null,
|
|
75081
|
+
access: "view"
|
|
75082
|
+
},
|
|
74910
75083
|
"storageMigration.movers": {
|
|
74911
75084
|
capName: "storage-migration",
|
|
74912
75085
|
capScope: "system",
|
|
@@ -77100,6 +77273,11 @@ Object.freeze({
|
|
|
77100
77273
|
form: "single",
|
|
77101
77274
|
optional: false
|
|
77102
77275
|
}],
|
|
77276
|
+
"dishwasher.getOptions": [{
|
|
77277
|
+
name: "deviceId",
|
|
77278
|
+
form: "single",
|
|
77279
|
+
optional: false
|
|
77280
|
+
}],
|
|
77103
77281
|
"dishwasher.getStatus": [{
|
|
77104
77282
|
name: "deviceId",
|
|
77105
77283
|
form: "single",
|
|
@@ -77110,6 +77288,11 @@ Object.freeze({
|
|
|
77110
77288
|
form: "single",
|
|
77111
77289
|
optional: false
|
|
77112
77290
|
}],
|
|
77291
|
+
"dishwasher.resume": [{
|
|
77292
|
+
name: "deviceId",
|
|
77293
|
+
form: "single",
|
|
77294
|
+
optional: false
|
|
77295
|
+
}],
|
|
77113
77296
|
"dishwasher.setChildLock": [{
|
|
77114
77297
|
name: "deviceId",
|
|
77115
77298
|
form: "single",
|
|
@@ -79196,6 +79379,9 @@ new Map(Object.entries({
|
|
|
79196
79379
|
"wrapper-update-available": "system",
|
|
79197
79380
|
"backup-completed": "system",
|
|
79198
79381
|
"export-completed": "system",
|
|
79382
|
+
"alert-critical": "system",
|
|
79383
|
+
"alert-error": "system",
|
|
79384
|
+
"alert-critical-resolved": "system",
|
|
79199
79385
|
"storage-location-low": "system",
|
|
79200
79386
|
"storage-location-critical": "system",
|
|
79201
79387
|
"storage-location-ok": "system",
|
|
@@ -79320,6 +79506,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79320
79506
|
"storage-location-ok"
|
|
79321
79507
|
]
|
|
79322
79508
|
},
|
|
79509
|
+
{
|
|
79510
|
+
id: "alerts",
|
|
79511
|
+
family: "system",
|
|
79512
|
+
label: "Alerts",
|
|
79513
|
+
kinds: [
|
|
79514
|
+
"alert-critical",
|
|
79515
|
+
"alert-error",
|
|
79516
|
+
"alert-critical-resolved"
|
|
79517
|
+
]
|
|
79518
|
+
},
|
|
79323
79519
|
{
|
|
79324
79520
|
id: "alarm",
|
|
79325
79521
|
family: "alarm",
|
|
@@ -79364,6 +79560,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
|
|
|
79364
79560
|
return [[descriptor.kind, field]];
|
|
79365
79561
|
})));
|
|
79366
79562
|
Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
|
|
79563
|
+
object({
|
|
79564
|
+
phase: _enum(["raised", "resolved"]),
|
|
79565
|
+
episodeId: string().min(1),
|
|
79566
|
+
alertId: string().min(1),
|
|
79567
|
+
severity: AlertSeveritySchema,
|
|
79568
|
+
category: string(),
|
|
79569
|
+
title: string(),
|
|
79570
|
+
message: string(),
|
|
79571
|
+
sourceType: string().optional(),
|
|
79572
|
+
sourceId: string().optional(),
|
|
79573
|
+
nodeId: string().optional(),
|
|
79574
|
+
/** The alert's own action link (where the operator acts on it), when it has one. */
|
|
79575
|
+
actionUrl: string().optional(),
|
|
79576
|
+
at: number()
|
|
79577
|
+
});
|
|
79367
79578
|
var RULE_BODY_ONLY = ["body"];
|
|
79368
79579
|
var RULE_TEXT = ["title", "body"];
|
|
79369
79580
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
@@ -79373,6 +79584,11 @@ var TANK = [
|
|
|
79373
79584
|
"device-tank-full",
|
|
79374
79585
|
"device-tank-normal"
|
|
79375
79586
|
];
|
|
79587
|
+
var ALERT_EPISODE = [
|
|
79588
|
+
"alert-critical",
|
|
79589
|
+
"alert-error",
|
|
79590
|
+
"alert-critical-resolved"
|
|
79591
|
+
];
|
|
79376
79592
|
var UPDATES = [
|
|
79377
79593
|
"addon-update-available",
|
|
79378
79594
|
"server-update-available",
|
|
@@ -79565,14 +79781,14 @@ var STATE_SUMMARY_VARS = [
|
|
|
79565
79781
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79566
79782
|
([...RULE_TEXT], [...TANK]),
|
|
79567
79783
|
[...RULE_TEXT],
|
|
79568
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
79569
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
79570
|
-
[...RULE_TEXT],
|
|
79784
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
79785
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
79571
79786
|
[...RULE_TEXT],
|
|
79572
79787
|
[...RULE_TEXT],
|
|
79573
79788
|
[...RULE_TEXT],
|
|
79574
79789
|
[...RULE_TEXT],
|
|
79575
79790
|
[...RULE_TEXT],
|
|
79791
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79576
79792
|
[...RULE_TEXT],
|
|
79577
79793
|
[...RULE_TEXT],
|
|
79578
79794
|
[...RULE_TEXT],
|
|
@@ -79590,7 +79806,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
79590
79806
|
[...RULE_TEXT],
|
|
79591
79807
|
[...RULE_TEXT],
|
|
79592
79808
|
[...RULE_TEXT],
|
|
79593
|
-
[...RULE_TEXT],
|
|
79809
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79810
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79811
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79812
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79813
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79594
79814
|
[...RULE_TEXT],
|
|
79595
79815
|
[...RULE_TEXT],
|
|
79596
79816
|
[...RULE_TEXT],
|
package/dist/addon.mjs
CHANGED
|
@@ -983,7 +983,7 @@ var Rademacher = class {
|
|
|
983
983
|
}
|
|
984
984
|
};
|
|
985
985
|
//#endregion
|
|
986
|
-
//#region ../types/dist/event-category-
|
|
986
|
+
//#region ../types/dist/event-category-DOl51-Ij.mjs
|
|
987
987
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
988
988
|
EventCategory["SystemBoot"] = "system.boot";
|
|
989
989
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1062,9 +1062,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1062
1062
|
/**
|
|
1063
1063
|
* The node's one-shot runner boot check (D877): planned runners against the
|
|
1064
1064
|
* process service, `degraded` when any is failed, refused or missing. The
|
|
1065
|
-
* alert centre turns it into one
|
|
1065
|
+
* alert centre turns it into one critical alert.
|
|
1066
1066
|
*/
|
|
1067
1067
|
EventCategory["SystemRunnerCheck"] = "system.runner-check";
|
|
1068
|
+
/**
|
|
1069
|
+
* An alert EPISODE opened or closed, emitted by the alert centre for alerts
|
|
1070
|
+
* of severity `critical` or `error` (`AlertEpisodePayload`). The alert
|
|
1071
|
+
* centre sends no notification of its own: Notification Center turns this
|
|
1072
|
+
* into the `alert-critical` / `alert-error` / `alert-critical-resolved`
|
|
1073
|
+
* system-event kinds, and reconciles from the alerts store because a bus
|
|
1074
|
+
* event may be dropped (D8, D11).
|
|
1075
|
+
*/
|
|
1076
|
+
EventCategory["AlertEpisode"] = "alert.episode";
|
|
1068
1077
|
EventCategory["AddonError"] = "addon.error";
|
|
1069
1078
|
EventCategory["AddonPageReady"] = "addon.page-ready";
|
|
1070
1079
|
EventCategory["AddonWidgetReady"] = "addon.widget-ready";
|
|
@@ -6389,7 +6398,7 @@ var ZodIssueCode = {
|
|
|
6389
6398
|
var ZodFirstPartyTypeKind;
|
|
6390
6399
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6391
6400
|
//#endregion
|
|
6392
|
-
//#region ../types/dist/sleep-
|
|
6401
|
+
//#region ../types/dist/sleep-BxjU_fJM.mjs
|
|
6393
6402
|
/**
|
|
6394
6403
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6395
6404
|
* window to float samples (D455).
|
|
@@ -14152,7 +14161,14 @@ var AlertSeveritySchema = _enum([
|
|
|
14152
14161
|
]);
|
|
14153
14162
|
var AlertActionSchema = object({
|
|
14154
14163
|
label: string(),
|
|
14155
|
-
href: string().optional()
|
|
14164
|
+
href: string().optional(),
|
|
14165
|
+
/**
|
|
14166
|
+
* How `href` is followed. Absent / `app`: an admin-ui route (client-side).
|
|
14167
|
+
* `server`: a route the HUB serves (an addon HTTP route such as an OAuth
|
|
14168
|
+
* start) — the browser must leave the SPA with a full navigation, because
|
|
14169
|
+
* the SPA has no such route and would bounce to the home page.
|
|
14170
|
+
*/
|
|
14171
|
+
navigation: _enum(["app", "server"]).optional()
|
|
14156
14172
|
});
|
|
14157
14173
|
var AlertStatusSchema = _enum([
|
|
14158
14174
|
"active",
|
|
@@ -42981,6 +42997,9 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42981
42997
|
"server-updated",
|
|
42982
42998
|
"export-completed",
|
|
42983
42999
|
"backup-completed",
|
|
43000
|
+
"alert-critical",
|
|
43001
|
+
"alert-error",
|
|
43002
|
+
"alert-critical-resolved",
|
|
42984
43003
|
"camera-online",
|
|
42985
43004
|
"camera-offline",
|
|
42986
43005
|
"camera-disabled",
|
|
@@ -52057,7 +52076,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
52057
52076
|
}), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
52058
52077
|
kind: "mutation",
|
|
52059
52078
|
auth: "admin"
|
|
52060
|
-
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({
|
|
52079
|
+
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
|
|
52080
|
+
clear: boolean(),
|
|
52081
|
+
repointLocationId: string().optional()
|
|
52082
|
+
}), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
52061
52083
|
kind: "mutation",
|
|
52062
52084
|
auth: "admin"
|
|
52063
52085
|
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
@@ -56313,6 +56335,11 @@ onStatusChanged: { data: object({
|
|
|
56313
56335
|
*
|
|
56314
56336
|
* `kind: 'poll'` — cloud REST APIs typically have no push channel; the
|
|
56315
56337
|
* provider refreshes the slice on an interval and eagerly after commands.
|
|
56338
|
+
*
|
|
56339
|
+
* UNKNOWN IS NOT OFF. Every field the appliance reports separately is
|
|
56340
|
+
* nullable: `null` means "not known right now" (the appliance has not said,
|
|
56341
|
+
* the link is down, or the description does not carry it) and is never
|
|
56342
|
+
* rendered or exported as `false` / `0`. `availability` says why.
|
|
56316
56343
|
*/
|
|
56317
56344
|
var DishwasherStateSchema = _enum([
|
|
56318
56345
|
"idle",
|
|
@@ -56322,43 +56349,155 @@ var DishwasherStateSchema = _enum([
|
|
|
56322
56349
|
"error",
|
|
56323
56350
|
"unavailable"
|
|
56324
56351
|
]);
|
|
56352
|
+
/**
|
|
56353
|
+
* The appliance's own operation state, uncollapsed. `state` above is the coarse
|
|
56354
|
+
* view for compact surfaces; this is what the appliance said.
|
|
56355
|
+
*/
|
|
56356
|
+
var DishwasherOperationStateSchema = _enum([
|
|
56357
|
+
"Inactive",
|
|
56358
|
+
"Ready",
|
|
56359
|
+
"DelayedStart",
|
|
56360
|
+
"Run",
|
|
56361
|
+
"Pause",
|
|
56362
|
+
"ActionRequired",
|
|
56363
|
+
"Finished",
|
|
56364
|
+
"Error",
|
|
56365
|
+
"Aborting"
|
|
56366
|
+
]);
|
|
56367
|
+
/**
|
|
56368
|
+
* Why fields may be `null`:
|
|
56369
|
+
* - `available` — the link is up and the description is loaded;
|
|
56370
|
+
* - `offline` — the local link is down (values are unknown, not last-known);
|
|
56371
|
+
* - `description-missing` — the link is up but the appliance's description could not
|
|
56372
|
+
* be loaded, so its values cannot be decoded.
|
|
56373
|
+
*/
|
|
56374
|
+
var DishwasherAvailabilitySchema = _enum([
|
|
56375
|
+
"available",
|
|
56376
|
+
"offline",
|
|
56377
|
+
"description-missing"
|
|
56378
|
+
]);
|
|
56325
56379
|
var DishwasherConsumableLevelSchema = _enum([
|
|
56326
56380
|
"ok",
|
|
56327
56381
|
"low",
|
|
56328
56382
|
"empty"
|
|
56329
56383
|
]);
|
|
56330
56384
|
var DishwasherStatusSchema = object({
|
|
56385
|
+
availability: DishwasherAvailabilitySchema,
|
|
56386
|
+
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
56331
56387
|
state: DishwasherStateSchema,
|
|
56332
|
-
/**
|
|
56388
|
+
/** The appliance's operation state as reported; null when not known. */
|
|
56389
|
+
operationState: DishwasherOperationStateSchema.nullable(),
|
|
56390
|
+
/** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
|
|
56333
56391
|
program: string().nullable(),
|
|
56334
|
-
/**
|
|
56392
|
+
/** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
|
|
56393
|
+
selectedProgram: string().nullable(),
|
|
56394
|
+
/** Feature keys of the programs the appliance currently offers — drives the UI selector. */
|
|
56335
56395
|
availablePrograms: array(string()),
|
|
56336
|
-
/**
|
|
56337
|
-
|
|
56396
|
+
/** Seconds remaining on the active cycle, or null when not running / not known. */
|
|
56397
|
+
remainingSeconds: number().int().nonnegative().nullable(),
|
|
56398
|
+
/** Seconds the delayed start is set to (time until the cycle starts), or null. */
|
|
56399
|
+
delayedStartSeconds: number().int().nonnegative().nullable(),
|
|
56338
56400
|
/** Cycle completion 0..100, or null when not applicable. */
|
|
56339
56401
|
progressPercent: number().min(0).max(100).nullable(),
|
|
56340
|
-
/** True when the door is reported open. */
|
|
56341
|
-
doorOpen: boolean(),
|
|
56342
|
-
/** True when
|
|
56343
|
-
|
|
56344
|
-
/**
|
|
56345
|
-
|
|
56402
|
+
/** True when the door is reported open; null when the door state is not known. */
|
|
56403
|
+
doorOpen: boolean().nullable(),
|
|
56404
|
+
/** True when the door is latched (locked) during a cycle; null when not reported. */
|
|
56405
|
+
doorLocked: boolean().nullable(),
|
|
56406
|
+
/** True when remote start is allowed (door closed, power on, etc.); null when not known. */
|
|
56407
|
+
remoteStartAllowed: boolean().nullable(),
|
|
56408
|
+
/** True when the appliance accepts remote control now; null when not known. */
|
|
56409
|
+
remoteControlActive: boolean().nullable(),
|
|
56410
|
+
/** True while somebody operates the appliance at its panel; null when not reported. */
|
|
56411
|
+
localControlActive: boolean().nullable(),
|
|
56412
|
+
/** Main power / switched-on state; null when not known. */
|
|
56413
|
+
powerOn: boolean().nullable(),
|
|
56414
|
+
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
56415
|
+
powerState: string().nullable(),
|
|
56346
56416
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56347
56417
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56348
|
-
|
|
56349
|
-
|
|
56418
|
+
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
56419
|
+
halfLoad: boolean().nullable(),
|
|
56420
|
+
hygienePlus: boolean().nullable(),
|
|
56350
56421
|
/** Extra dry option when the appliance exposes it. */
|
|
56351
|
-
extraDry: boolean(),
|
|
56422
|
+
extraDry: boolean().nullable(),
|
|
56352
56423
|
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
56353
|
-
intensiveZone: boolean(),
|
|
56424
|
+
intensiveZone: boolean().nullable(),
|
|
56354
56425
|
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
56355
|
-
varioSpeedPlus: boolean(),
|
|
56356
|
-
/** Child lock (controls disabled on the appliance). */
|
|
56357
|
-
childLock: boolean(),
|
|
56426
|
+
varioSpeedPlus: boolean().nullable(),
|
|
56427
|
+
/** Child lock (controls disabled on the appliance); null when not known. */
|
|
56428
|
+
childLock: boolean().nullable(),
|
|
56429
|
+
/** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
|
|
56430
|
+
activeEvents: array(string()),
|
|
56431
|
+
/** Numeric error code when the appliance reports one; null otherwise. */
|
|
56358
56432
|
errorCode: number().nullable(),
|
|
56433
|
+
/** Name of the raised alert-level event while the appliance is in error; null otherwise. */
|
|
56359
56434
|
errorLabel: string().nullable(),
|
|
56435
|
+
/** Ms epoch of the last value received from the appliance; 0 = never. */
|
|
56360
56436
|
lastFetchedAt: number()
|
|
56361
56437
|
});
|
|
56438
|
+
var DeviceIdSchema = number().int().nonnegative();
|
|
56439
|
+
/** A value a program option or setting can take. */
|
|
56440
|
+
var DishwasherValueSchema = union([
|
|
56441
|
+
boolean(),
|
|
56442
|
+
string(),
|
|
56443
|
+
number()
|
|
56444
|
+
]);
|
|
56445
|
+
var DishwasherAccessSchema = _enum([
|
|
56446
|
+
"none",
|
|
56447
|
+
"read",
|
|
56448
|
+
"readWrite",
|
|
56449
|
+
"writeOnly",
|
|
56450
|
+
"readStatic"
|
|
56451
|
+
]);
|
|
56452
|
+
/**
|
|
56453
|
+
* One option or setting the appliance declares, with the constraints its description
|
|
56454
|
+
* gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
|
|
56455
|
+
*/
|
|
56456
|
+
var DishwasherOptionDescriptorSchema = object({
|
|
56457
|
+
/** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
|
|
56458
|
+
key: string(),
|
|
56459
|
+
/** Last segment of the key, for display. */
|
|
56460
|
+
name: string(),
|
|
56461
|
+
type: _enum([
|
|
56462
|
+
"boolean",
|
|
56463
|
+
"number",
|
|
56464
|
+
"enum",
|
|
56465
|
+
"string"
|
|
56466
|
+
]),
|
|
56467
|
+
access: DishwasherAccessSchema,
|
|
56468
|
+
/** The appliance reports this entity as currently available. */
|
|
56469
|
+
available: boolean(),
|
|
56470
|
+
/** Unit the description declares for a number; null when it declares none. */
|
|
56471
|
+
unit: string().nullable(),
|
|
56472
|
+
min: number().nullable(),
|
|
56473
|
+
max: number().nullable(),
|
|
56474
|
+
step: number().nullable(),
|
|
56475
|
+
/** Allowed members of an enum; null for other types. */
|
|
56476
|
+
enumValues: array(string()).nullable(),
|
|
56477
|
+
defaultValue: DishwasherValueSchema.nullable()
|
|
56478
|
+
});
|
|
56479
|
+
var DishwasherProgramSchema = object({
|
|
56480
|
+
/** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
|
|
56481
|
+
key: string(),
|
|
56482
|
+
name: string(),
|
|
56483
|
+
/** The appliance currently offers this program. */
|
|
56484
|
+
available: boolean(),
|
|
56485
|
+
/** The options this program lists, with the program-level access / availability / default. */
|
|
56486
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
56487
|
+
});
|
|
56488
|
+
var DishwasherOptionsSchema = object({
|
|
56489
|
+
availability: DishwasherAvailabilitySchema,
|
|
56490
|
+
/** What the appliance can be told to do, from the commands its description declares. */
|
|
56491
|
+
supportsStart: boolean(),
|
|
56492
|
+
supportsPause: boolean(),
|
|
56493
|
+
supportsResume: boolean(),
|
|
56494
|
+
supportsStop: boolean(),
|
|
56495
|
+
supportsPower: boolean(),
|
|
56496
|
+
/** Every program the description lists, with its options. */
|
|
56497
|
+
programs: array(DishwasherProgramSchema),
|
|
56498
|
+
/** Every option and setting entity the description lists (programs reference these by key). */
|
|
56499
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
56500
|
+
});
|
|
56362
56501
|
var dishwasherCapability = {
|
|
56363
56502
|
name: "dishwasher",
|
|
56364
56503
|
scope: "device",
|
|
@@ -56366,86 +56505,102 @@ var dishwasherCapability = {
|
|
|
56366
56505
|
mode: "singleton",
|
|
56367
56506
|
deviceTypes: [DeviceType.Dishwasher],
|
|
56368
56507
|
methods: {
|
|
56369
|
-
|
|
56508
|
+
/**
|
|
56509
|
+
* Start a program. Without `program` the selected one starts. `options` are
|
|
56510
|
+
* option feature keys; each is checked against the program's constraints.
|
|
56511
|
+
*/
|
|
56512
|
+
start: method(object({
|
|
56513
|
+
deviceId: DeviceIdSchema,
|
|
56514
|
+
program: string().min(1).optional(),
|
|
56515
|
+
options: record(string(), DishwasherValueSchema).optional()
|
|
56516
|
+
}), _void(), {
|
|
56370
56517
|
kind: "mutation",
|
|
56371
56518
|
auth: "protected"
|
|
56372
56519
|
}),
|
|
56373
|
-
pause: method(object({ deviceId:
|
|
56520
|
+
pause: method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
56374
56521
|
kind: "mutation",
|
|
56375
56522
|
auth: "protected"
|
|
56376
56523
|
}),
|
|
56377
|
-
|
|
56524
|
+
resume: method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
56525
|
+
kind: "mutation",
|
|
56526
|
+
auth: "protected"
|
|
56527
|
+
}),
|
|
56528
|
+
stop: method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
56378
56529
|
kind: "mutation",
|
|
56379
56530
|
auth: "protected"
|
|
56380
56531
|
}),
|
|
56532
|
+
/** Select (not start) a program; refused when the appliance does not offer it. */
|
|
56381
56533
|
setProgram: method(object({
|
|
56382
|
-
deviceId:
|
|
56534
|
+
deviceId: DeviceIdSchema,
|
|
56383
56535
|
program: string().min(1)
|
|
56384
56536
|
}), _void(), {
|
|
56385
56537
|
kind: "mutation",
|
|
56386
56538
|
auth: "protected"
|
|
56387
56539
|
}),
|
|
56388
56540
|
setPower: method(object({
|
|
56389
|
-
deviceId:
|
|
56541
|
+
deviceId: DeviceIdSchema,
|
|
56390
56542
|
on: boolean()
|
|
56391
56543
|
}), _void(), {
|
|
56392
56544
|
kind: "mutation",
|
|
56393
56545
|
auth: "protected"
|
|
56394
56546
|
}),
|
|
56395
56547
|
setHalfLoad: method(object({
|
|
56396
|
-
deviceId:
|
|
56548
|
+
deviceId: DeviceIdSchema,
|
|
56397
56549
|
on: boolean()
|
|
56398
56550
|
}), _void(), {
|
|
56399
56551
|
kind: "mutation",
|
|
56400
56552
|
auth: "protected"
|
|
56401
56553
|
}),
|
|
56402
56554
|
setHygienePlus: method(object({
|
|
56403
|
-
deviceId:
|
|
56555
|
+
deviceId: DeviceIdSchema,
|
|
56404
56556
|
on: boolean()
|
|
56405
56557
|
}), _void(), {
|
|
56406
56558
|
kind: "mutation",
|
|
56407
56559
|
auth: "protected"
|
|
56408
56560
|
}),
|
|
56409
56561
|
setExtraDry: method(object({
|
|
56410
|
-
deviceId:
|
|
56562
|
+
deviceId: DeviceIdSchema,
|
|
56411
56563
|
on: boolean()
|
|
56412
56564
|
}), _void(), {
|
|
56413
56565
|
kind: "mutation",
|
|
56414
56566
|
auth: "protected"
|
|
56415
56567
|
}),
|
|
56416
56568
|
setIntensiveZone: method(object({
|
|
56417
|
-
deviceId:
|
|
56569
|
+
deviceId: DeviceIdSchema,
|
|
56418
56570
|
on: boolean()
|
|
56419
56571
|
}), _void(), {
|
|
56420
56572
|
kind: "mutation",
|
|
56421
56573
|
auth: "protected"
|
|
56422
56574
|
}),
|
|
56423
56575
|
setVarioSpeedPlus: method(object({
|
|
56424
|
-
deviceId:
|
|
56576
|
+
deviceId: DeviceIdSchema,
|
|
56425
56577
|
on: boolean()
|
|
56426
56578
|
}), _void(), {
|
|
56427
56579
|
kind: "mutation",
|
|
56428
56580
|
auth: "protected"
|
|
56429
56581
|
}),
|
|
56430
56582
|
setChildLock: method(object({
|
|
56431
|
-
deviceId:
|
|
56583
|
+
deviceId: DeviceIdSchema,
|
|
56432
56584
|
on: boolean()
|
|
56433
56585
|
}), _void(), {
|
|
56434
56586
|
kind: "mutation",
|
|
56435
56587
|
auth: "protected"
|
|
56436
56588
|
}),
|
|
56589
|
+
/**
|
|
56590
|
+
* Write any option or setting by feature key. Refused when the description does
|
|
56591
|
+
* not list it, it is not writable or not available now, or the value is outside
|
|
56592
|
+
* its declared range / members.
|
|
56593
|
+
*/
|
|
56437
56594
|
setOption: method(object({
|
|
56438
|
-
deviceId:
|
|
56595
|
+
deviceId: DeviceIdSchema,
|
|
56439
56596
|
key: string().min(1),
|
|
56440
|
-
value:
|
|
56441
|
-
boolean(),
|
|
56442
|
-
string(),
|
|
56443
|
-
number()
|
|
56444
|
-
])
|
|
56597
|
+
value: DishwasherValueSchema
|
|
56445
56598
|
}), _void(), {
|
|
56446
56599
|
kind: "mutation",
|
|
56447
56600
|
auth: "protected"
|
|
56448
|
-
})
|
|
56601
|
+
}),
|
|
56602
|
+
/** What this appliance can do, from its own description — the UI is derived from it. */
|
|
56603
|
+
getOptions: method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" })
|
|
56449
56604
|
},
|
|
56450
56605
|
status: {
|
|
56451
56606
|
schema: DishwasherStatusSchema,
|
|
@@ -70394,6 +70549,12 @@ Object.freeze({
|
|
|
70394
70549
|
addonId: null,
|
|
70395
70550
|
access: "view"
|
|
70396
70551
|
},
|
|
70552
|
+
"dishwasher.getOptions": {
|
|
70553
|
+
capName: "dishwasher",
|
|
70554
|
+
capScope: "device",
|
|
70555
|
+
addonId: null,
|
|
70556
|
+
access: "view"
|
|
70557
|
+
},
|
|
70397
70558
|
"dishwasher.getStatus": {
|
|
70398
70559
|
capName: "dishwasher",
|
|
70399
70560
|
capScope: "device",
|
|
@@ -70406,6 +70567,12 @@ Object.freeze({
|
|
|
70406
70567
|
addonId: null,
|
|
70407
70568
|
access: "create"
|
|
70408
70569
|
},
|
|
70570
|
+
"dishwasher.resume": {
|
|
70571
|
+
capName: "dishwasher",
|
|
70572
|
+
capScope: "device",
|
|
70573
|
+
addonId: null,
|
|
70574
|
+
access: "create"
|
|
70575
|
+
},
|
|
70409
70576
|
"dishwasher.setChildLock": {
|
|
70410
70577
|
capName: "dishwasher",
|
|
70411
70578
|
capScope: "device",
|
|
@@ -74906,6 +75073,12 @@ Object.freeze({
|
|
|
74906
75073
|
addonId: null,
|
|
74907
75074
|
access: "view"
|
|
74908
75075
|
},
|
|
75076
|
+
"storageMigration.moverClearance": {
|
|
75077
|
+
capName: "storage-migration",
|
|
75078
|
+
capScope: "system",
|
|
75079
|
+
addonId: null,
|
|
75080
|
+
access: "view"
|
|
75081
|
+
},
|
|
74909
75082
|
"storageMigration.movers": {
|
|
74910
75083
|
capName: "storage-migration",
|
|
74911
75084
|
capScope: "system",
|
|
@@ -77099,6 +77272,11 @@ Object.freeze({
|
|
|
77099
77272
|
form: "single",
|
|
77100
77273
|
optional: false
|
|
77101
77274
|
}],
|
|
77275
|
+
"dishwasher.getOptions": [{
|
|
77276
|
+
name: "deviceId",
|
|
77277
|
+
form: "single",
|
|
77278
|
+
optional: false
|
|
77279
|
+
}],
|
|
77102
77280
|
"dishwasher.getStatus": [{
|
|
77103
77281
|
name: "deviceId",
|
|
77104
77282
|
form: "single",
|
|
@@ -77109,6 +77287,11 @@ Object.freeze({
|
|
|
77109
77287
|
form: "single",
|
|
77110
77288
|
optional: false
|
|
77111
77289
|
}],
|
|
77290
|
+
"dishwasher.resume": [{
|
|
77291
|
+
name: "deviceId",
|
|
77292
|
+
form: "single",
|
|
77293
|
+
optional: false
|
|
77294
|
+
}],
|
|
77112
77295
|
"dishwasher.setChildLock": [{
|
|
77113
77296
|
name: "deviceId",
|
|
77114
77297
|
form: "single",
|
|
@@ -79195,6 +79378,9 @@ new Map(Object.entries({
|
|
|
79195
79378
|
"wrapper-update-available": "system",
|
|
79196
79379
|
"backup-completed": "system",
|
|
79197
79380
|
"export-completed": "system",
|
|
79381
|
+
"alert-critical": "system",
|
|
79382
|
+
"alert-error": "system",
|
|
79383
|
+
"alert-critical-resolved": "system",
|
|
79198
79384
|
"storage-location-low": "system",
|
|
79199
79385
|
"storage-location-critical": "system",
|
|
79200
79386
|
"storage-location-ok": "system",
|
|
@@ -79319,6 +79505,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79319
79505
|
"storage-location-ok"
|
|
79320
79506
|
]
|
|
79321
79507
|
},
|
|
79508
|
+
{
|
|
79509
|
+
id: "alerts",
|
|
79510
|
+
family: "system",
|
|
79511
|
+
label: "Alerts",
|
|
79512
|
+
kinds: [
|
|
79513
|
+
"alert-critical",
|
|
79514
|
+
"alert-error",
|
|
79515
|
+
"alert-critical-resolved"
|
|
79516
|
+
]
|
|
79517
|
+
},
|
|
79322
79518
|
{
|
|
79323
79519
|
id: "alarm",
|
|
79324
79520
|
family: "alarm",
|
|
@@ -79363,6 +79559,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
|
|
|
79363
79559
|
return [[descriptor.kind, field]];
|
|
79364
79560
|
})));
|
|
79365
79561
|
Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
|
|
79562
|
+
object({
|
|
79563
|
+
phase: _enum(["raised", "resolved"]),
|
|
79564
|
+
episodeId: string().min(1),
|
|
79565
|
+
alertId: string().min(1),
|
|
79566
|
+
severity: AlertSeveritySchema,
|
|
79567
|
+
category: string(),
|
|
79568
|
+
title: string(),
|
|
79569
|
+
message: string(),
|
|
79570
|
+
sourceType: string().optional(),
|
|
79571
|
+
sourceId: string().optional(),
|
|
79572
|
+
nodeId: string().optional(),
|
|
79573
|
+
/** The alert's own action link (where the operator acts on it), when it has one. */
|
|
79574
|
+
actionUrl: string().optional(),
|
|
79575
|
+
at: number()
|
|
79576
|
+
});
|
|
79366
79577
|
var RULE_BODY_ONLY = ["body"];
|
|
79367
79578
|
var RULE_TEXT = ["title", "body"];
|
|
79368
79579
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
@@ -79372,6 +79583,11 @@ var TANK = [
|
|
|
79372
79583
|
"device-tank-full",
|
|
79373
79584
|
"device-tank-normal"
|
|
79374
79585
|
];
|
|
79586
|
+
var ALERT_EPISODE = [
|
|
79587
|
+
"alert-critical",
|
|
79588
|
+
"alert-error",
|
|
79589
|
+
"alert-critical-resolved"
|
|
79590
|
+
];
|
|
79375
79591
|
var UPDATES = [
|
|
79376
79592
|
"addon-update-available",
|
|
79377
79593
|
"server-update-available",
|
|
@@ -79564,14 +79780,14 @@ var STATE_SUMMARY_VARS = [
|
|
|
79564
79780
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79565
79781
|
([...RULE_TEXT], [...TANK]),
|
|
79566
79782
|
[...RULE_TEXT],
|
|
79567
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
79568
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
79569
|
-
[...RULE_TEXT],
|
|
79783
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
79784
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
79570
79785
|
[...RULE_TEXT],
|
|
79571
79786
|
[...RULE_TEXT],
|
|
79572
79787
|
[...RULE_TEXT],
|
|
79573
79788
|
[...RULE_TEXT],
|
|
79574
79789
|
[...RULE_TEXT],
|
|
79790
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79575
79791
|
[...RULE_TEXT],
|
|
79576
79792
|
[...RULE_TEXT],
|
|
79577
79793
|
[...RULE_TEXT],
|
|
@@ -79589,7 +79805,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
79589
79805
|
[...RULE_TEXT],
|
|
79590
79806
|
[...RULE_TEXT],
|
|
79591
79807
|
[...RULE_TEXT],
|
|
79592
|
-
[...RULE_TEXT],
|
|
79808
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79809
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79810
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79811
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79812
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
79593
79813
|
[...RULE_TEXT],
|
|
79594
79814
|
[...RULE_TEXT],
|
|
79595
79815
|
[...RULE_TEXT],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.129",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|