@camstack/addon-export-hap 1.2.160 → 1.2.161
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/hap-export.addon.js +251 -44
- package/dist/hap-export.addon.mjs +251 -44
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -49,7 +49,7 @@ let node_fs_promises = require("node:fs/promises");
|
|
|
49
49
|
node_fs_promises = __toESM(node_fs_promises, 1);
|
|
50
50
|
let node_events = require("node:events");
|
|
51
51
|
let node_dgram = require("node:dgram");
|
|
52
|
-
//#region ../types/dist/event-category-
|
|
52
|
+
//#region ../types/dist/event-category-DOl51-Ij.mjs
|
|
53
53
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
54
54
|
EventCategory["SystemBoot"] = "system.boot";
|
|
55
55
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -128,9 +128,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
128
128
|
/**
|
|
129
129
|
* The node's one-shot runner boot check (D877): planned runners against the
|
|
130
130
|
* process service, `degraded` when any is failed, refused or missing. The
|
|
131
|
-
* alert centre turns it into one
|
|
131
|
+
* alert centre turns it into one critical alert.
|
|
132
132
|
*/
|
|
133
133
|
EventCategory["SystemRunnerCheck"] = "system.runner-check";
|
|
134
|
+
/**
|
|
135
|
+
* An alert EPISODE opened or closed, emitted by the alert centre for alerts
|
|
136
|
+
* of severity `critical` or `error` (`AlertEpisodePayload`). The alert
|
|
137
|
+
* centre sends no notification of its own: Notification Center turns this
|
|
138
|
+
* into the `alert-critical` / `alert-error` / `alert-critical-resolved`
|
|
139
|
+
* system-event kinds, and reconciles from the alerts store because a bus
|
|
140
|
+
* event may be dropped (D8, D11).
|
|
141
|
+
*/
|
|
142
|
+
EventCategory["AlertEpisode"] = "alert.episode";
|
|
134
143
|
EventCategory["AddonError"] = "addon.error";
|
|
135
144
|
EventCategory["AddonPageReady"] = "addon.page-ready";
|
|
136
145
|
EventCategory["AddonWidgetReady"] = "addon.widget-ready";
|
|
@@ -5455,7 +5464,7 @@ var ZodIssueCode = {
|
|
|
5455
5464
|
var ZodFirstPartyTypeKind;
|
|
5456
5465
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5457
5466
|
//#endregion
|
|
5458
|
-
//#region ../types/dist/sleep-
|
|
5467
|
+
//#region ../types/dist/sleep-BxjU_fJM.mjs
|
|
5459
5468
|
/**
|
|
5460
5469
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5461
5470
|
* window to float samples (D455).
|
|
@@ -14025,7 +14034,14 @@ var AlertSeveritySchema = _enum([
|
|
|
14025
14034
|
]);
|
|
14026
14035
|
var AlertActionSchema = object({
|
|
14027
14036
|
label: string(),
|
|
14028
|
-
href: string().optional()
|
|
14037
|
+
href: string().optional(),
|
|
14038
|
+
/**
|
|
14039
|
+
* How `href` is followed. Absent / `app`: an admin-ui route (client-side).
|
|
14040
|
+
* `server`: a route the HUB serves (an addon HTTP route such as an OAuth
|
|
14041
|
+
* start) — the browser must leave the SPA with a full navigation, because
|
|
14042
|
+
* the SPA has no such route and would bounce to the home page.
|
|
14043
|
+
*/
|
|
14044
|
+
navigation: _enum(["app", "server"]).optional()
|
|
14029
14045
|
});
|
|
14030
14046
|
var AlertStatusSchema = _enum([
|
|
14031
14047
|
"active",
|
|
@@ -42482,6 +42498,9 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42482
42498
|
"server-updated",
|
|
42483
42499
|
"export-completed",
|
|
42484
42500
|
"backup-completed",
|
|
42501
|
+
"alert-critical",
|
|
42502
|
+
"alert-error",
|
|
42503
|
+
"alert-critical-resolved",
|
|
42485
42504
|
"camera-online",
|
|
42486
42505
|
"camera-offline",
|
|
42487
42506
|
"camera-disabled",
|
|
@@ -51514,7 +51533,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
51514
51533
|
}), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
51515
51534
|
kind: "mutation",
|
|
51516
51535
|
auth: "admin"
|
|
51517
|
-
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({
|
|
51536
|
+
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
|
|
51537
|
+
clear: boolean(),
|
|
51538
|
+
repointLocationId: string().optional()
|
|
51539
|
+
}), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
51518
51540
|
kind: "mutation",
|
|
51519
51541
|
auth: "admin"
|
|
51520
51542
|
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
@@ -55162,6 +55184,11 @@ object({
|
|
|
55162
55184
|
*
|
|
55163
55185
|
* `kind: 'poll'` — cloud REST APIs typically have no push channel; the
|
|
55164
55186
|
* provider refreshes the slice on an interval and eagerly after commands.
|
|
55187
|
+
*
|
|
55188
|
+
* UNKNOWN IS NOT OFF. Every field the appliance reports separately is
|
|
55189
|
+
* nullable: `null` means "not known right now" (the appliance has not said,
|
|
55190
|
+
* the link is down, or the description does not carry it) and is never
|
|
55191
|
+
* rendered or exported as `false` / `0`. `availability` says why.
|
|
55165
55192
|
*/
|
|
55166
55193
|
var DishwasherStateSchema = _enum([
|
|
55167
55194
|
"idle",
|
|
@@ -55171,112 +55198,227 @@ var DishwasherStateSchema = _enum([
|
|
|
55171
55198
|
"error",
|
|
55172
55199
|
"unavailable"
|
|
55173
55200
|
]);
|
|
55201
|
+
/**
|
|
55202
|
+
* The appliance's own operation state, uncollapsed. `state` above is the coarse
|
|
55203
|
+
* view for compact surfaces; this is what the appliance said.
|
|
55204
|
+
*/
|
|
55205
|
+
var DishwasherOperationStateSchema = _enum([
|
|
55206
|
+
"Inactive",
|
|
55207
|
+
"Ready",
|
|
55208
|
+
"DelayedStart",
|
|
55209
|
+
"Run",
|
|
55210
|
+
"Pause",
|
|
55211
|
+
"ActionRequired",
|
|
55212
|
+
"Finished",
|
|
55213
|
+
"Error",
|
|
55214
|
+
"Aborting"
|
|
55215
|
+
]);
|
|
55216
|
+
/**
|
|
55217
|
+
* Why fields may be `null`:
|
|
55218
|
+
* - `available` — the link is up and the description is loaded;
|
|
55219
|
+
* - `offline` — the local link is down (values are unknown, not last-known);
|
|
55220
|
+
* - `description-missing` — the link is up but the appliance's description could not
|
|
55221
|
+
* be loaded, so its values cannot be decoded.
|
|
55222
|
+
*/
|
|
55223
|
+
var DishwasherAvailabilitySchema = _enum([
|
|
55224
|
+
"available",
|
|
55225
|
+
"offline",
|
|
55226
|
+
"description-missing"
|
|
55227
|
+
]);
|
|
55174
55228
|
var DishwasherConsumableLevelSchema = _enum([
|
|
55175
55229
|
"ok",
|
|
55176
55230
|
"low",
|
|
55177
55231
|
"empty"
|
|
55178
55232
|
]);
|
|
55179
55233
|
object({
|
|
55234
|
+
availability: DishwasherAvailabilitySchema,
|
|
55235
|
+
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
55180
55236
|
state: DishwasherStateSchema,
|
|
55181
|
-
/**
|
|
55237
|
+
/** The appliance's operation state as reported; null when not known. */
|
|
55238
|
+
operationState: DishwasherOperationStateSchema.nullable(),
|
|
55239
|
+
/** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
|
|
55182
55240
|
program: string().nullable(),
|
|
55183
|
-
/**
|
|
55241
|
+
/** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
|
|
55242
|
+
selectedProgram: string().nullable(),
|
|
55243
|
+
/** Feature keys of the programs the appliance currently offers — drives the UI selector. */
|
|
55184
55244
|
availablePrograms: array(string()),
|
|
55185
|
-
/**
|
|
55186
|
-
|
|
55245
|
+
/** Seconds remaining on the active cycle, or null when not running / not known. */
|
|
55246
|
+
remainingSeconds: number().int().nonnegative().nullable(),
|
|
55247
|
+
/** Seconds the delayed start is set to (time until the cycle starts), or null. */
|
|
55248
|
+
delayedStartSeconds: number().int().nonnegative().nullable(),
|
|
55187
55249
|
/** Cycle completion 0..100, or null when not applicable. */
|
|
55188
55250
|
progressPercent: number().min(0).max(100).nullable(),
|
|
55189
|
-
/** True when the door is reported open. */
|
|
55190
|
-
doorOpen: boolean(),
|
|
55191
|
-
/** True when
|
|
55192
|
-
|
|
55193
|
-
/**
|
|
55194
|
-
|
|
55251
|
+
/** True when the door is reported open; null when the door state is not known. */
|
|
55252
|
+
doorOpen: boolean().nullable(),
|
|
55253
|
+
/** True when the door is latched (locked) during a cycle; null when not reported. */
|
|
55254
|
+
doorLocked: boolean().nullable(),
|
|
55255
|
+
/** True when remote start is allowed (door closed, power on, etc.); null when not known. */
|
|
55256
|
+
remoteStartAllowed: boolean().nullable(),
|
|
55257
|
+
/** True when the appliance accepts remote control now; null when not known. */
|
|
55258
|
+
remoteControlActive: boolean().nullable(),
|
|
55259
|
+
/** True while somebody operates the appliance at its panel; null when not reported. */
|
|
55260
|
+
localControlActive: boolean().nullable(),
|
|
55261
|
+
/** Main power / switched-on state; null when not known. */
|
|
55262
|
+
powerOn: boolean().nullable(),
|
|
55263
|
+
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55264
|
+
powerState: string().nullable(),
|
|
55195
55265
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55196
55266
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55197
|
-
|
|
55198
|
-
|
|
55267
|
+
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
55268
|
+
halfLoad: boolean().nullable(),
|
|
55269
|
+
hygienePlus: boolean().nullable(),
|
|
55199
55270
|
/** Extra dry option when the appliance exposes it. */
|
|
55200
|
-
extraDry: boolean(),
|
|
55271
|
+
extraDry: boolean().nullable(),
|
|
55201
55272
|
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
55202
|
-
intensiveZone: boolean(),
|
|
55273
|
+
intensiveZone: boolean().nullable(),
|
|
55203
55274
|
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
55204
|
-
varioSpeedPlus: boolean(),
|
|
55205
|
-
/** Child lock (controls disabled on the appliance). */
|
|
55206
|
-
childLock: boolean(),
|
|
55275
|
+
varioSpeedPlus: boolean().nullable(),
|
|
55276
|
+
/** Child lock (controls disabled on the appliance); null when not known. */
|
|
55277
|
+
childLock: boolean().nullable(),
|
|
55278
|
+
/** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
|
|
55279
|
+
activeEvents: array(string()),
|
|
55280
|
+
/** Numeric error code when the appliance reports one; null otherwise. */
|
|
55207
55281
|
errorCode: number().nullable(),
|
|
55282
|
+
/** Name of the raised alert-level event while the appliance is in error; null otherwise. */
|
|
55208
55283
|
errorLabel: string().nullable(),
|
|
55284
|
+
/** Ms epoch of the last value received from the appliance; 0 = never. */
|
|
55209
55285
|
lastFetchedAt: number()
|
|
55210
55286
|
});
|
|
55211
|
-
|
|
55287
|
+
var DeviceIdSchema = number().int().nonnegative();
|
|
55288
|
+
/** A value a program option or setting can take. */
|
|
55289
|
+
var DishwasherValueSchema = union([
|
|
55290
|
+
boolean(),
|
|
55291
|
+
string(),
|
|
55292
|
+
number()
|
|
55293
|
+
]);
|
|
55294
|
+
var DishwasherAccessSchema = _enum([
|
|
55295
|
+
"none",
|
|
55296
|
+
"read",
|
|
55297
|
+
"readWrite",
|
|
55298
|
+
"writeOnly",
|
|
55299
|
+
"readStatic"
|
|
55300
|
+
]);
|
|
55301
|
+
/**
|
|
55302
|
+
* One option or setting the appliance declares, with the constraints its description
|
|
55303
|
+
* gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
|
|
55304
|
+
*/
|
|
55305
|
+
var DishwasherOptionDescriptorSchema = object({
|
|
55306
|
+
/** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
|
|
55307
|
+
key: string(),
|
|
55308
|
+
/** Last segment of the key, for display. */
|
|
55309
|
+
name: string(),
|
|
55310
|
+
type: _enum([
|
|
55311
|
+
"boolean",
|
|
55312
|
+
"number",
|
|
55313
|
+
"enum",
|
|
55314
|
+
"string"
|
|
55315
|
+
]),
|
|
55316
|
+
access: DishwasherAccessSchema,
|
|
55317
|
+
/** The appliance reports this entity as currently available. */
|
|
55318
|
+
available: boolean(),
|
|
55319
|
+
/** Unit the description declares for a number; null when it declares none. */
|
|
55320
|
+
unit: string().nullable(),
|
|
55321
|
+
min: number().nullable(),
|
|
55322
|
+
max: number().nullable(),
|
|
55323
|
+
step: number().nullable(),
|
|
55324
|
+
/** Allowed members of an enum; null for other types. */
|
|
55325
|
+
enumValues: array(string()).nullable(),
|
|
55326
|
+
defaultValue: DishwasherValueSchema.nullable()
|
|
55327
|
+
});
|
|
55328
|
+
var DishwasherProgramSchema = object({
|
|
55329
|
+
/** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
|
|
55330
|
+
key: string(),
|
|
55331
|
+
name: string(),
|
|
55332
|
+
/** The appliance currently offers this program. */
|
|
55333
|
+
available: boolean(),
|
|
55334
|
+
/** The options this program lists, with the program-level access / availability / default. */
|
|
55335
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
55336
|
+
});
|
|
55337
|
+
var DishwasherOptionsSchema = object({
|
|
55338
|
+
availability: DishwasherAvailabilitySchema,
|
|
55339
|
+
/** What the appliance can be told to do, from the commands its description declares. */
|
|
55340
|
+
supportsStart: boolean(),
|
|
55341
|
+
supportsPause: boolean(),
|
|
55342
|
+
supportsResume: boolean(),
|
|
55343
|
+
supportsStop: boolean(),
|
|
55344
|
+
supportsPower: boolean(),
|
|
55345
|
+
/** Every program the description lists, with its options. */
|
|
55346
|
+
programs: array(DishwasherProgramSchema),
|
|
55347
|
+
/** Every option and setting entity the description lists (programs reference these by key). */
|
|
55348
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
55349
|
+
});
|
|
55350
|
+
DeviceType.Dishwasher, method(object({
|
|
55351
|
+
deviceId: DeviceIdSchema,
|
|
55352
|
+
program: string().min(1).optional(),
|
|
55353
|
+
options: record(string(), DishwasherValueSchema).optional()
|
|
55354
|
+
}), _void(), {
|
|
55212
55355
|
kind: "mutation",
|
|
55213
55356
|
auth: "protected"
|
|
55214
|
-
}), method(object({ deviceId:
|
|
55357
|
+
}), method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
55215
55358
|
kind: "mutation",
|
|
55216
55359
|
auth: "protected"
|
|
55217
|
-
}), method(object({ deviceId:
|
|
55360
|
+
}), method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
55361
|
+
kind: "mutation",
|
|
55362
|
+
auth: "protected"
|
|
55363
|
+
}), method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
55218
55364
|
kind: "mutation",
|
|
55219
55365
|
auth: "protected"
|
|
55220
55366
|
}), method(object({
|
|
55221
|
-
deviceId:
|
|
55367
|
+
deviceId: DeviceIdSchema,
|
|
55222
55368
|
program: string().min(1)
|
|
55223
55369
|
}), _void(), {
|
|
55224
55370
|
kind: "mutation",
|
|
55225
55371
|
auth: "protected"
|
|
55226
55372
|
}), method(object({
|
|
55227
|
-
deviceId:
|
|
55373
|
+
deviceId: DeviceIdSchema,
|
|
55228
55374
|
on: boolean()
|
|
55229
55375
|
}), _void(), {
|
|
55230
55376
|
kind: "mutation",
|
|
55231
55377
|
auth: "protected"
|
|
55232
55378
|
}), method(object({
|
|
55233
|
-
deviceId:
|
|
55379
|
+
deviceId: DeviceIdSchema,
|
|
55234
55380
|
on: boolean()
|
|
55235
55381
|
}), _void(), {
|
|
55236
55382
|
kind: "mutation",
|
|
55237
55383
|
auth: "protected"
|
|
55238
55384
|
}), method(object({
|
|
55239
|
-
deviceId:
|
|
55385
|
+
deviceId: DeviceIdSchema,
|
|
55240
55386
|
on: boolean()
|
|
55241
55387
|
}), _void(), {
|
|
55242
55388
|
kind: "mutation",
|
|
55243
55389
|
auth: "protected"
|
|
55244
55390
|
}), method(object({
|
|
55245
|
-
deviceId:
|
|
55391
|
+
deviceId: DeviceIdSchema,
|
|
55246
55392
|
on: boolean()
|
|
55247
55393
|
}), _void(), {
|
|
55248
55394
|
kind: "mutation",
|
|
55249
55395
|
auth: "protected"
|
|
55250
55396
|
}), method(object({
|
|
55251
|
-
deviceId:
|
|
55397
|
+
deviceId: DeviceIdSchema,
|
|
55252
55398
|
on: boolean()
|
|
55253
55399
|
}), _void(), {
|
|
55254
55400
|
kind: "mutation",
|
|
55255
55401
|
auth: "protected"
|
|
55256
55402
|
}), method(object({
|
|
55257
|
-
deviceId:
|
|
55403
|
+
deviceId: DeviceIdSchema,
|
|
55258
55404
|
on: boolean()
|
|
55259
55405
|
}), _void(), {
|
|
55260
55406
|
kind: "mutation",
|
|
55261
55407
|
auth: "protected"
|
|
55262
55408
|
}), method(object({
|
|
55263
|
-
deviceId:
|
|
55409
|
+
deviceId: DeviceIdSchema,
|
|
55264
55410
|
on: boolean()
|
|
55265
55411
|
}), _void(), {
|
|
55266
55412
|
kind: "mutation",
|
|
55267
55413
|
auth: "protected"
|
|
55268
55414
|
}), method(object({
|
|
55269
|
-
deviceId:
|
|
55415
|
+
deviceId: DeviceIdSchema,
|
|
55270
55416
|
key: string().min(1),
|
|
55271
|
-
value:
|
|
55272
|
-
boolean(),
|
|
55273
|
-
string(),
|
|
55274
|
-
number()
|
|
55275
|
-
])
|
|
55417
|
+
value: DishwasherValueSchema
|
|
55276
55418
|
}), _void(), {
|
|
55277
55419
|
kind: "mutation",
|
|
55278
55420
|
auth: "protected"
|
|
55279
|
-
});
|
|
55421
|
+
}), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
|
|
55280
55422
|
object({
|
|
55281
55423
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
55282
55424
|
lastPressedAt: number().nullable(),
|
|
@@ -65377,6 +65519,12 @@ Object.freeze({
|
|
|
65377
65519
|
addonId: null,
|
|
65378
65520
|
access: "view"
|
|
65379
65521
|
},
|
|
65522
|
+
"dishwasher.getOptions": {
|
|
65523
|
+
capName: "dishwasher",
|
|
65524
|
+
capScope: "device",
|
|
65525
|
+
addonId: null,
|
|
65526
|
+
access: "view"
|
|
65527
|
+
},
|
|
65380
65528
|
"dishwasher.getStatus": {
|
|
65381
65529
|
capName: "dishwasher",
|
|
65382
65530
|
capScope: "device",
|
|
@@ -65389,6 +65537,12 @@ Object.freeze({
|
|
|
65389
65537
|
addonId: null,
|
|
65390
65538
|
access: "create"
|
|
65391
65539
|
},
|
|
65540
|
+
"dishwasher.resume": {
|
|
65541
|
+
capName: "dishwasher",
|
|
65542
|
+
capScope: "device",
|
|
65543
|
+
addonId: null,
|
|
65544
|
+
access: "create"
|
|
65545
|
+
},
|
|
65392
65546
|
"dishwasher.setChildLock": {
|
|
65393
65547
|
capName: "dishwasher",
|
|
65394
65548
|
capScope: "device",
|
|
@@ -69889,6 +70043,12 @@ Object.freeze({
|
|
|
69889
70043
|
addonId: null,
|
|
69890
70044
|
access: "view"
|
|
69891
70045
|
},
|
|
70046
|
+
"storageMigration.moverClearance": {
|
|
70047
|
+
capName: "storage-migration",
|
|
70048
|
+
capScope: "system",
|
|
70049
|
+
addonId: null,
|
|
70050
|
+
access: "view"
|
|
70051
|
+
},
|
|
69892
70052
|
"storageMigration.movers": {
|
|
69893
70053
|
capName: "storage-migration",
|
|
69894
70054
|
capScope: "system",
|
|
@@ -72082,6 +72242,11 @@ Object.freeze({
|
|
|
72082
72242
|
form: "single",
|
|
72083
72243
|
optional: false
|
|
72084
72244
|
}],
|
|
72245
|
+
"dishwasher.getOptions": [{
|
|
72246
|
+
name: "deviceId",
|
|
72247
|
+
form: "single",
|
|
72248
|
+
optional: false
|
|
72249
|
+
}],
|
|
72085
72250
|
"dishwasher.getStatus": [{
|
|
72086
72251
|
name: "deviceId",
|
|
72087
72252
|
form: "single",
|
|
@@ -72092,6 +72257,11 @@ Object.freeze({
|
|
|
72092
72257
|
form: "single",
|
|
72093
72258
|
optional: false
|
|
72094
72259
|
}],
|
|
72260
|
+
"dishwasher.resume": [{
|
|
72261
|
+
name: "deviceId",
|
|
72262
|
+
form: "single",
|
|
72263
|
+
optional: false
|
|
72264
|
+
}],
|
|
72095
72265
|
"dishwasher.setChildLock": [{
|
|
72096
72266
|
name: "deviceId",
|
|
72097
72267
|
form: "single",
|
|
@@ -74178,6 +74348,9 @@ new Map(Object.entries({
|
|
|
74178
74348
|
"wrapper-update-available": "system",
|
|
74179
74349
|
"backup-completed": "system",
|
|
74180
74350
|
"export-completed": "system",
|
|
74351
|
+
"alert-critical": "system",
|
|
74352
|
+
"alert-error": "system",
|
|
74353
|
+
"alert-critical-resolved": "system",
|
|
74181
74354
|
"storage-location-low": "system",
|
|
74182
74355
|
"storage-location-critical": "system",
|
|
74183
74356
|
"storage-location-ok": "system",
|
|
@@ -74302,6 +74475,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74302
74475
|
"storage-location-ok"
|
|
74303
74476
|
]
|
|
74304
74477
|
},
|
|
74478
|
+
{
|
|
74479
|
+
id: "alerts",
|
|
74480
|
+
family: "system",
|
|
74481
|
+
label: "Alerts",
|
|
74482
|
+
kinds: [
|
|
74483
|
+
"alert-critical",
|
|
74484
|
+
"alert-error",
|
|
74485
|
+
"alert-critical-resolved"
|
|
74486
|
+
]
|
|
74487
|
+
},
|
|
74305
74488
|
{
|
|
74306
74489
|
id: "alarm",
|
|
74307
74490
|
family: "alarm",
|
|
@@ -74346,6 +74529,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
|
|
|
74346
74529
|
return [[descriptor.kind, field]];
|
|
74347
74530
|
})));
|
|
74348
74531
|
Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
|
|
74532
|
+
object({
|
|
74533
|
+
phase: _enum(["raised", "resolved"]),
|
|
74534
|
+
episodeId: string().min(1),
|
|
74535
|
+
alertId: string().min(1),
|
|
74536
|
+
severity: AlertSeveritySchema,
|
|
74537
|
+
category: string(),
|
|
74538
|
+
title: string(),
|
|
74539
|
+
message: string(),
|
|
74540
|
+
sourceType: string().optional(),
|
|
74541
|
+
sourceId: string().optional(),
|
|
74542
|
+
nodeId: string().optional(),
|
|
74543
|
+
/** The alert's own action link (where the operator acts on it), when it has one. */
|
|
74544
|
+
actionUrl: string().optional(),
|
|
74545
|
+
at: number()
|
|
74546
|
+
});
|
|
74349
74547
|
var RULE_BODY_ONLY = ["body"];
|
|
74350
74548
|
var RULE_TEXT = ["title", "body"];
|
|
74351
74549
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
@@ -74355,6 +74553,11 @@ var TANK = [
|
|
|
74355
74553
|
"device-tank-full",
|
|
74356
74554
|
"device-tank-normal"
|
|
74357
74555
|
];
|
|
74556
|
+
var ALERT_EPISODE = [
|
|
74557
|
+
"alert-critical",
|
|
74558
|
+
"alert-error",
|
|
74559
|
+
"alert-critical-resolved"
|
|
74560
|
+
];
|
|
74358
74561
|
var UPDATES = [
|
|
74359
74562
|
"addon-update-available",
|
|
74360
74563
|
"server-update-available",
|
|
@@ -74547,14 +74750,14 @@ var STATE_SUMMARY_VARS = [
|
|
|
74547
74750
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74548
74751
|
([...RULE_TEXT], [...TANK]),
|
|
74549
74752
|
[...RULE_TEXT],
|
|
74550
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
74551
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
74552
|
-
[...RULE_TEXT],
|
|
74753
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
74754
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
74553
74755
|
[...RULE_TEXT],
|
|
74554
74756
|
[...RULE_TEXT],
|
|
74555
74757
|
[...RULE_TEXT],
|
|
74556
74758
|
[...RULE_TEXT],
|
|
74557
74759
|
[...RULE_TEXT],
|
|
74760
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74558
74761
|
[...RULE_TEXT],
|
|
74559
74762
|
[...RULE_TEXT],
|
|
74560
74763
|
[...RULE_TEXT],
|
|
@@ -74572,7 +74775,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
74572
74775
|
[...RULE_TEXT],
|
|
74573
74776
|
[...RULE_TEXT],
|
|
74574
74777
|
[...RULE_TEXT],
|
|
74575
|
-
[...RULE_TEXT],
|
|
74778
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74779
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74780
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74781
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74782
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74576
74783
|
[...RULE_TEXT],
|
|
74577
74784
|
[...RULE_TEXT],
|
|
74578
74785
|
[...RULE_TEXT],
|
|
@@ -39,7 +39,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
39
39
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
40
40
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
41
41
|
//#endregion
|
|
42
|
-
//#region ../types/dist/event-category-
|
|
42
|
+
//#region ../types/dist/event-category-DOl51-Ij.mjs
|
|
43
43
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
44
44
|
EventCategory["SystemBoot"] = "system.boot";
|
|
45
45
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -118,9 +118,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
118
118
|
/**
|
|
119
119
|
* The node's one-shot runner boot check (D877): planned runners against the
|
|
120
120
|
* process service, `degraded` when any is failed, refused or missing. The
|
|
121
|
-
* alert centre turns it into one
|
|
121
|
+
* alert centre turns it into one critical alert.
|
|
122
122
|
*/
|
|
123
123
|
EventCategory["SystemRunnerCheck"] = "system.runner-check";
|
|
124
|
+
/**
|
|
125
|
+
* An alert EPISODE opened or closed, emitted by the alert centre for alerts
|
|
126
|
+
* of severity `critical` or `error` (`AlertEpisodePayload`). The alert
|
|
127
|
+
* centre sends no notification of its own: Notification Center turns this
|
|
128
|
+
* into the `alert-critical` / `alert-error` / `alert-critical-resolved`
|
|
129
|
+
* system-event kinds, and reconciles from the alerts store because a bus
|
|
130
|
+
* event may be dropped (D8, D11).
|
|
131
|
+
*/
|
|
132
|
+
EventCategory["AlertEpisode"] = "alert.episode";
|
|
124
133
|
EventCategory["AddonError"] = "addon.error";
|
|
125
134
|
EventCategory["AddonPageReady"] = "addon.page-ready";
|
|
126
135
|
EventCategory["AddonWidgetReady"] = "addon.widget-ready";
|
|
@@ -5445,7 +5454,7 @@ var ZodIssueCode = {
|
|
|
5445
5454
|
var ZodFirstPartyTypeKind;
|
|
5446
5455
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5447
5456
|
//#endregion
|
|
5448
|
-
//#region ../types/dist/sleep-
|
|
5457
|
+
//#region ../types/dist/sleep-BxjU_fJM.mjs
|
|
5449
5458
|
/**
|
|
5450
5459
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5451
5460
|
* window to float samples (D455).
|
|
@@ -14015,7 +14024,14 @@ var AlertSeveritySchema = _enum([
|
|
|
14015
14024
|
]);
|
|
14016
14025
|
var AlertActionSchema = object({
|
|
14017
14026
|
label: string(),
|
|
14018
|
-
href: string().optional()
|
|
14027
|
+
href: string().optional(),
|
|
14028
|
+
/**
|
|
14029
|
+
* How `href` is followed. Absent / `app`: an admin-ui route (client-side).
|
|
14030
|
+
* `server`: a route the HUB serves (an addon HTTP route such as an OAuth
|
|
14031
|
+
* start) — the browser must leave the SPA with a full navigation, because
|
|
14032
|
+
* the SPA has no such route and would bounce to the home page.
|
|
14033
|
+
*/
|
|
14034
|
+
navigation: _enum(["app", "server"]).optional()
|
|
14019
14035
|
});
|
|
14020
14036
|
var AlertStatusSchema = _enum([
|
|
14021
14037
|
"active",
|
|
@@ -42472,6 +42488,9 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42472
42488
|
"server-updated",
|
|
42473
42489
|
"export-completed",
|
|
42474
42490
|
"backup-completed",
|
|
42491
|
+
"alert-critical",
|
|
42492
|
+
"alert-error",
|
|
42493
|
+
"alert-critical-resolved",
|
|
42475
42494
|
"camera-online",
|
|
42476
42495
|
"camera-offline",
|
|
42477
42496
|
"camera-disabled",
|
|
@@ -51504,7 +51523,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
51504
51523
|
}), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
51505
51524
|
kind: "mutation",
|
|
51506
51525
|
auth: "admin"
|
|
51507
|
-
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({
|
|
51526
|
+
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
|
|
51527
|
+
clear: boolean(),
|
|
51528
|
+
repointLocationId: string().optional()
|
|
51529
|
+
}), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
51508
51530
|
kind: "mutation",
|
|
51509
51531
|
auth: "admin"
|
|
51510
51532
|
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
@@ -55152,6 +55174,11 @@ object({
|
|
|
55152
55174
|
*
|
|
55153
55175
|
* `kind: 'poll'` — cloud REST APIs typically have no push channel; the
|
|
55154
55176
|
* provider refreshes the slice on an interval and eagerly after commands.
|
|
55177
|
+
*
|
|
55178
|
+
* UNKNOWN IS NOT OFF. Every field the appliance reports separately is
|
|
55179
|
+
* nullable: `null` means "not known right now" (the appliance has not said,
|
|
55180
|
+
* the link is down, or the description does not carry it) and is never
|
|
55181
|
+
* rendered or exported as `false` / `0`. `availability` says why.
|
|
55155
55182
|
*/
|
|
55156
55183
|
var DishwasherStateSchema = _enum([
|
|
55157
55184
|
"idle",
|
|
@@ -55161,112 +55188,227 @@ var DishwasherStateSchema = _enum([
|
|
|
55161
55188
|
"error",
|
|
55162
55189
|
"unavailable"
|
|
55163
55190
|
]);
|
|
55191
|
+
/**
|
|
55192
|
+
* The appliance's own operation state, uncollapsed. `state` above is the coarse
|
|
55193
|
+
* view for compact surfaces; this is what the appliance said.
|
|
55194
|
+
*/
|
|
55195
|
+
var DishwasherOperationStateSchema = _enum([
|
|
55196
|
+
"Inactive",
|
|
55197
|
+
"Ready",
|
|
55198
|
+
"DelayedStart",
|
|
55199
|
+
"Run",
|
|
55200
|
+
"Pause",
|
|
55201
|
+
"ActionRequired",
|
|
55202
|
+
"Finished",
|
|
55203
|
+
"Error",
|
|
55204
|
+
"Aborting"
|
|
55205
|
+
]);
|
|
55206
|
+
/**
|
|
55207
|
+
* Why fields may be `null`:
|
|
55208
|
+
* - `available` — the link is up and the description is loaded;
|
|
55209
|
+
* - `offline` — the local link is down (values are unknown, not last-known);
|
|
55210
|
+
* - `description-missing` — the link is up but the appliance's description could not
|
|
55211
|
+
* be loaded, so its values cannot be decoded.
|
|
55212
|
+
*/
|
|
55213
|
+
var DishwasherAvailabilitySchema = _enum([
|
|
55214
|
+
"available",
|
|
55215
|
+
"offline",
|
|
55216
|
+
"description-missing"
|
|
55217
|
+
]);
|
|
55164
55218
|
var DishwasherConsumableLevelSchema = _enum([
|
|
55165
55219
|
"ok",
|
|
55166
55220
|
"low",
|
|
55167
55221
|
"empty"
|
|
55168
55222
|
]);
|
|
55169
55223
|
object({
|
|
55224
|
+
availability: DishwasherAvailabilitySchema,
|
|
55225
|
+
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
55170
55226
|
state: DishwasherStateSchema,
|
|
55171
|
-
/**
|
|
55227
|
+
/** The appliance's operation state as reported; null when not known. */
|
|
55228
|
+
operationState: DishwasherOperationStateSchema.nullable(),
|
|
55229
|
+
/** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
|
|
55172
55230
|
program: string().nullable(),
|
|
55173
|
-
/**
|
|
55231
|
+
/** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
|
|
55232
|
+
selectedProgram: string().nullable(),
|
|
55233
|
+
/** Feature keys of the programs the appliance currently offers — drives the UI selector. */
|
|
55174
55234
|
availablePrograms: array(string()),
|
|
55175
|
-
/**
|
|
55176
|
-
|
|
55235
|
+
/** Seconds remaining on the active cycle, or null when not running / not known. */
|
|
55236
|
+
remainingSeconds: number().int().nonnegative().nullable(),
|
|
55237
|
+
/** Seconds the delayed start is set to (time until the cycle starts), or null. */
|
|
55238
|
+
delayedStartSeconds: number().int().nonnegative().nullable(),
|
|
55177
55239
|
/** Cycle completion 0..100, or null when not applicable. */
|
|
55178
55240
|
progressPercent: number().min(0).max(100).nullable(),
|
|
55179
|
-
/** True when the door is reported open. */
|
|
55180
|
-
doorOpen: boolean(),
|
|
55181
|
-
/** True when
|
|
55182
|
-
|
|
55183
|
-
/**
|
|
55184
|
-
|
|
55241
|
+
/** True when the door is reported open; null when the door state is not known. */
|
|
55242
|
+
doorOpen: boolean().nullable(),
|
|
55243
|
+
/** True when the door is latched (locked) during a cycle; null when not reported. */
|
|
55244
|
+
doorLocked: boolean().nullable(),
|
|
55245
|
+
/** True when remote start is allowed (door closed, power on, etc.); null when not known. */
|
|
55246
|
+
remoteStartAllowed: boolean().nullable(),
|
|
55247
|
+
/** True when the appliance accepts remote control now; null when not known. */
|
|
55248
|
+
remoteControlActive: boolean().nullable(),
|
|
55249
|
+
/** True while somebody operates the appliance at its panel; null when not reported. */
|
|
55250
|
+
localControlActive: boolean().nullable(),
|
|
55251
|
+
/** Main power / switched-on state; null when not known. */
|
|
55252
|
+
powerOn: boolean().nullable(),
|
|
55253
|
+
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55254
|
+
powerState: string().nullable(),
|
|
55185
55255
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55186
55256
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55187
|
-
|
|
55188
|
-
|
|
55257
|
+
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
55258
|
+
halfLoad: boolean().nullable(),
|
|
55259
|
+
hygienePlus: boolean().nullable(),
|
|
55189
55260
|
/** Extra dry option when the appliance exposes it. */
|
|
55190
|
-
extraDry: boolean(),
|
|
55261
|
+
extraDry: boolean().nullable(),
|
|
55191
55262
|
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
55192
|
-
intensiveZone: boolean(),
|
|
55263
|
+
intensiveZone: boolean().nullable(),
|
|
55193
55264
|
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
55194
|
-
varioSpeedPlus: boolean(),
|
|
55195
|
-
/** Child lock (controls disabled on the appliance). */
|
|
55196
|
-
childLock: boolean(),
|
|
55265
|
+
varioSpeedPlus: boolean().nullable(),
|
|
55266
|
+
/** Child lock (controls disabled on the appliance); null when not known. */
|
|
55267
|
+
childLock: boolean().nullable(),
|
|
55268
|
+
/** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
|
|
55269
|
+
activeEvents: array(string()),
|
|
55270
|
+
/** Numeric error code when the appliance reports one; null otherwise. */
|
|
55197
55271
|
errorCode: number().nullable(),
|
|
55272
|
+
/** Name of the raised alert-level event while the appliance is in error; null otherwise. */
|
|
55198
55273
|
errorLabel: string().nullable(),
|
|
55274
|
+
/** Ms epoch of the last value received from the appliance; 0 = never. */
|
|
55199
55275
|
lastFetchedAt: number()
|
|
55200
55276
|
});
|
|
55201
|
-
|
|
55277
|
+
var DeviceIdSchema = number().int().nonnegative();
|
|
55278
|
+
/** A value a program option or setting can take. */
|
|
55279
|
+
var DishwasherValueSchema = union([
|
|
55280
|
+
boolean(),
|
|
55281
|
+
string(),
|
|
55282
|
+
number()
|
|
55283
|
+
]);
|
|
55284
|
+
var DishwasherAccessSchema = _enum([
|
|
55285
|
+
"none",
|
|
55286
|
+
"read",
|
|
55287
|
+
"readWrite",
|
|
55288
|
+
"writeOnly",
|
|
55289
|
+
"readStatic"
|
|
55290
|
+
]);
|
|
55291
|
+
/**
|
|
55292
|
+
* One option or setting the appliance declares, with the constraints its description
|
|
55293
|
+
* gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
|
|
55294
|
+
*/
|
|
55295
|
+
var DishwasherOptionDescriptorSchema = object({
|
|
55296
|
+
/** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
|
|
55297
|
+
key: string(),
|
|
55298
|
+
/** Last segment of the key, for display. */
|
|
55299
|
+
name: string(),
|
|
55300
|
+
type: _enum([
|
|
55301
|
+
"boolean",
|
|
55302
|
+
"number",
|
|
55303
|
+
"enum",
|
|
55304
|
+
"string"
|
|
55305
|
+
]),
|
|
55306
|
+
access: DishwasherAccessSchema,
|
|
55307
|
+
/** The appliance reports this entity as currently available. */
|
|
55308
|
+
available: boolean(),
|
|
55309
|
+
/** Unit the description declares for a number; null when it declares none. */
|
|
55310
|
+
unit: string().nullable(),
|
|
55311
|
+
min: number().nullable(),
|
|
55312
|
+
max: number().nullable(),
|
|
55313
|
+
step: number().nullable(),
|
|
55314
|
+
/** Allowed members of an enum; null for other types. */
|
|
55315
|
+
enumValues: array(string()).nullable(),
|
|
55316
|
+
defaultValue: DishwasherValueSchema.nullable()
|
|
55317
|
+
});
|
|
55318
|
+
var DishwasherProgramSchema = object({
|
|
55319
|
+
/** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
|
|
55320
|
+
key: string(),
|
|
55321
|
+
name: string(),
|
|
55322
|
+
/** The appliance currently offers this program. */
|
|
55323
|
+
available: boolean(),
|
|
55324
|
+
/** The options this program lists, with the program-level access / availability / default. */
|
|
55325
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
55326
|
+
});
|
|
55327
|
+
var DishwasherOptionsSchema = object({
|
|
55328
|
+
availability: DishwasherAvailabilitySchema,
|
|
55329
|
+
/** What the appliance can be told to do, from the commands its description declares. */
|
|
55330
|
+
supportsStart: boolean(),
|
|
55331
|
+
supportsPause: boolean(),
|
|
55332
|
+
supportsResume: boolean(),
|
|
55333
|
+
supportsStop: boolean(),
|
|
55334
|
+
supportsPower: boolean(),
|
|
55335
|
+
/** Every program the description lists, with its options. */
|
|
55336
|
+
programs: array(DishwasherProgramSchema),
|
|
55337
|
+
/** Every option and setting entity the description lists (programs reference these by key). */
|
|
55338
|
+
options: array(DishwasherOptionDescriptorSchema)
|
|
55339
|
+
});
|
|
55340
|
+
DeviceType.Dishwasher, method(object({
|
|
55341
|
+
deviceId: DeviceIdSchema,
|
|
55342
|
+
program: string().min(1).optional(),
|
|
55343
|
+
options: record(string(), DishwasherValueSchema).optional()
|
|
55344
|
+
}), _void(), {
|
|
55202
55345
|
kind: "mutation",
|
|
55203
55346
|
auth: "protected"
|
|
55204
|
-
}), method(object({ deviceId:
|
|
55347
|
+
}), method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
55205
55348
|
kind: "mutation",
|
|
55206
55349
|
auth: "protected"
|
|
55207
|
-
}), method(object({ deviceId:
|
|
55350
|
+
}), method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
55351
|
+
kind: "mutation",
|
|
55352
|
+
auth: "protected"
|
|
55353
|
+
}), method(object({ deviceId: DeviceIdSchema }), _void(), {
|
|
55208
55354
|
kind: "mutation",
|
|
55209
55355
|
auth: "protected"
|
|
55210
55356
|
}), method(object({
|
|
55211
|
-
deviceId:
|
|
55357
|
+
deviceId: DeviceIdSchema,
|
|
55212
55358
|
program: string().min(1)
|
|
55213
55359
|
}), _void(), {
|
|
55214
55360
|
kind: "mutation",
|
|
55215
55361
|
auth: "protected"
|
|
55216
55362
|
}), method(object({
|
|
55217
|
-
deviceId:
|
|
55363
|
+
deviceId: DeviceIdSchema,
|
|
55218
55364
|
on: boolean()
|
|
55219
55365
|
}), _void(), {
|
|
55220
55366
|
kind: "mutation",
|
|
55221
55367
|
auth: "protected"
|
|
55222
55368
|
}), method(object({
|
|
55223
|
-
deviceId:
|
|
55369
|
+
deviceId: DeviceIdSchema,
|
|
55224
55370
|
on: boolean()
|
|
55225
55371
|
}), _void(), {
|
|
55226
55372
|
kind: "mutation",
|
|
55227
55373
|
auth: "protected"
|
|
55228
55374
|
}), method(object({
|
|
55229
|
-
deviceId:
|
|
55375
|
+
deviceId: DeviceIdSchema,
|
|
55230
55376
|
on: boolean()
|
|
55231
55377
|
}), _void(), {
|
|
55232
55378
|
kind: "mutation",
|
|
55233
55379
|
auth: "protected"
|
|
55234
55380
|
}), method(object({
|
|
55235
|
-
deviceId:
|
|
55381
|
+
deviceId: DeviceIdSchema,
|
|
55236
55382
|
on: boolean()
|
|
55237
55383
|
}), _void(), {
|
|
55238
55384
|
kind: "mutation",
|
|
55239
55385
|
auth: "protected"
|
|
55240
55386
|
}), method(object({
|
|
55241
|
-
deviceId:
|
|
55387
|
+
deviceId: DeviceIdSchema,
|
|
55242
55388
|
on: boolean()
|
|
55243
55389
|
}), _void(), {
|
|
55244
55390
|
kind: "mutation",
|
|
55245
55391
|
auth: "protected"
|
|
55246
55392
|
}), method(object({
|
|
55247
|
-
deviceId:
|
|
55393
|
+
deviceId: DeviceIdSchema,
|
|
55248
55394
|
on: boolean()
|
|
55249
55395
|
}), _void(), {
|
|
55250
55396
|
kind: "mutation",
|
|
55251
55397
|
auth: "protected"
|
|
55252
55398
|
}), method(object({
|
|
55253
|
-
deviceId:
|
|
55399
|
+
deviceId: DeviceIdSchema,
|
|
55254
55400
|
on: boolean()
|
|
55255
55401
|
}), _void(), {
|
|
55256
55402
|
kind: "mutation",
|
|
55257
55403
|
auth: "protected"
|
|
55258
55404
|
}), method(object({
|
|
55259
|
-
deviceId:
|
|
55405
|
+
deviceId: DeviceIdSchema,
|
|
55260
55406
|
key: string().min(1),
|
|
55261
|
-
value:
|
|
55262
|
-
boolean(),
|
|
55263
|
-
string(),
|
|
55264
|
-
number()
|
|
55265
|
-
])
|
|
55407
|
+
value: DishwasherValueSchema
|
|
55266
55408
|
}), _void(), {
|
|
55267
55409
|
kind: "mutation",
|
|
55268
55410
|
auth: "protected"
|
|
55269
|
-
});
|
|
55411
|
+
}), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
|
|
55270
55412
|
object({
|
|
55271
55413
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
55272
55414
|
lastPressedAt: number().nullable(),
|
|
@@ -65367,6 +65509,12 @@ Object.freeze({
|
|
|
65367
65509
|
addonId: null,
|
|
65368
65510
|
access: "view"
|
|
65369
65511
|
},
|
|
65512
|
+
"dishwasher.getOptions": {
|
|
65513
|
+
capName: "dishwasher",
|
|
65514
|
+
capScope: "device",
|
|
65515
|
+
addonId: null,
|
|
65516
|
+
access: "view"
|
|
65517
|
+
},
|
|
65370
65518
|
"dishwasher.getStatus": {
|
|
65371
65519
|
capName: "dishwasher",
|
|
65372
65520
|
capScope: "device",
|
|
@@ -65379,6 +65527,12 @@ Object.freeze({
|
|
|
65379
65527
|
addonId: null,
|
|
65380
65528
|
access: "create"
|
|
65381
65529
|
},
|
|
65530
|
+
"dishwasher.resume": {
|
|
65531
|
+
capName: "dishwasher",
|
|
65532
|
+
capScope: "device",
|
|
65533
|
+
addonId: null,
|
|
65534
|
+
access: "create"
|
|
65535
|
+
},
|
|
65382
65536
|
"dishwasher.setChildLock": {
|
|
65383
65537
|
capName: "dishwasher",
|
|
65384
65538
|
capScope: "device",
|
|
@@ -69879,6 +70033,12 @@ Object.freeze({
|
|
|
69879
70033
|
addonId: null,
|
|
69880
70034
|
access: "view"
|
|
69881
70035
|
},
|
|
70036
|
+
"storageMigration.moverClearance": {
|
|
70037
|
+
capName: "storage-migration",
|
|
70038
|
+
capScope: "system",
|
|
70039
|
+
addonId: null,
|
|
70040
|
+
access: "view"
|
|
70041
|
+
},
|
|
69882
70042
|
"storageMigration.movers": {
|
|
69883
70043
|
capName: "storage-migration",
|
|
69884
70044
|
capScope: "system",
|
|
@@ -72072,6 +72232,11 @@ Object.freeze({
|
|
|
72072
72232
|
form: "single",
|
|
72073
72233
|
optional: false
|
|
72074
72234
|
}],
|
|
72235
|
+
"dishwasher.getOptions": [{
|
|
72236
|
+
name: "deviceId",
|
|
72237
|
+
form: "single",
|
|
72238
|
+
optional: false
|
|
72239
|
+
}],
|
|
72075
72240
|
"dishwasher.getStatus": [{
|
|
72076
72241
|
name: "deviceId",
|
|
72077
72242
|
form: "single",
|
|
@@ -72082,6 +72247,11 @@ Object.freeze({
|
|
|
72082
72247
|
form: "single",
|
|
72083
72248
|
optional: false
|
|
72084
72249
|
}],
|
|
72250
|
+
"dishwasher.resume": [{
|
|
72251
|
+
name: "deviceId",
|
|
72252
|
+
form: "single",
|
|
72253
|
+
optional: false
|
|
72254
|
+
}],
|
|
72085
72255
|
"dishwasher.setChildLock": [{
|
|
72086
72256
|
name: "deviceId",
|
|
72087
72257
|
form: "single",
|
|
@@ -74168,6 +74338,9 @@ new Map(Object.entries({
|
|
|
74168
74338
|
"wrapper-update-available": "system",
|
|
74169
74339
|
"backup-completed": "system",
|
|
74170
74340
|
"export-completed": "system",
|
|
74341
|
+
"alert-critical": "system",
|
|
74342
|
+
"alert-error": "system",
|
|
74343
|
+
"alert-critical-resolved": "system",
|
|
74171
74344
|
"storage-location-low": "system",
|
|
74172
74345
|
"storage-location-critical": "system",
|
|
74173
74346
|
"storage-location-ok": "system",
|
|
@@ -74292,6 +74465,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74292
74465
|
"storage-location-ok"
|
|
74293
74466
|
]
|
|
74294
74467
|
},
|
|
74468
|
+
{
|
|
74469
|
+
id: "alerts",
|
|
74470
|
+
family: "system",
|
|
74471
|
+
label: "Alerts",
|
|
74472
|
+
kinds: [
|
|
74473
|
+
"alert-critical",
|
|
74474
|
+
"alert-error",
|
|
74475
|
+
"alert-critical-resolved"
|
|
74476
|
+
]
|
|
74477
|
+
},
|
|
74295
74478
|
{
|
|
74296
74479
|
id: "alarm",
|
|
74297
74480
|
family: "alarm",
|
|
@@ -74336,6 +74519,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
|
|
|
74336
74519
|
return [[descriptor.kind, field]];
|
|
74337
74520
|
})));
|
|
74338
74521
|
Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
|
|
74522
|
+
object({
|
|
74523
|
+
phase: _enum(["raised", "resolved"]),
|
|
74524
|
+
episodeId: string().min(1),
|
|
74525
|
+
alertId: string().min(1),
|
|
74526
|
+
severity: AlertSeveritySchema,
|
|
74527
|
+
category: string(),
|
|
74528
|
+
title: string(),
|
|
74529
|
+
message: string(),
|
|
74530
|
+
sourceType: string().optional(),
|
|
74531
|
+
sourceId: string().optional(),
|
|
74532
|
+
nodeId: string().optional(),
|
|
74533
|
+
/** The alert's own action link (where the operator acts on it), when it has one. */
|
|
74534
|
+
actionUrl: string().optional(),
|
|
74535
|
+
at: number()
|
|
74536
|
+
});
|
|
74339
74537
|
var RULE_BODY_ONLY = ["body"];
|
|
74340
74538
|
var RULE_TEXT = ["title", "body"];
|
|
74341
74539
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
@@ -74345,6 +74543,11 @@ var TANK = [
|
|
|
74345
74543
|
"device-tank-full",
|
|
74346
74544
|
"device-tank-normal"
|
|
74347
74545
|
];
|
|
74546
|
+
var ALERT_EPISODE = [
|
|
74547
|
+
"alert-critical",
|
|
74548
|
+
"alert-error",
|
|
74549
|
+
"alert-critical-resolved"
|
|
74550
|
+
];
|
|
74348
74551
|
var UPDATES = [
|
|
74349
74552
|
"addon-update-available",
|
|
74350
74553
|
"server-update-available",
|
|
@@ -74537,14 +74740,14 @@ var STATE_SUMMARY_VARS = [
|
|
|
74537
74740
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74538
74741
|
([...RULE_TEXT], [...TANK]),
|
|
74539
74742
|
[...RULE_TEXT],
|
|
74540
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
74541
|
-
([...RULE_TEXT], [...UPDATES]),
|
|
74542
|
-
[...RULE_TEXT],
|
|
74743
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
74744
|
+
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
74543
74745
|
[...RULE_TEXT],
|
|
74544
74746
|
[...RULE_TEXT],
|
|
74545
74747
|
[...RULE_TEXT],
|
|
74546
74748
|
[...RULE_TEXT],
|
|
74547
74749
|
[...RULE_TEXT],
|
|
74750
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74548
74751
|
[...RULE_TEXT],
|
|
74549
74752
|
[...RULE_TEXT],
|
|
74550
74753
|
[...RULE_TEXT],
|
|
@@ -74562,7 +74765,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
74562
74765
|
[...RULE_TEXT],
|
|
74563
74766
|
[...RULE_TEXT],
|
|
74564
74767
|
[...RULE_TEXT],
|
|
74565
|
-
[...RULE_TEXT],
|
|
74768
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74769
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74770
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74771
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74772
|
+
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74566
74773
|
[...RULE_TEXT],
|
|
74567
74774
|
[...RULE_TEXT],
|
|
74568
74775
|
[...RULE_TEXT],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.161",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|