@camstack/addon-osd-manager 0.1.244 → 0.1.246
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/{MotionZonesSettings-Dx0QePDr.mjs → MotionZonesSettings-qtgrA0zs.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-Dpvj9Htf.mjs → PrivacyMaskSettings-CDjLk5w5.mjs} +4 -4
- package/dist/{SceneMonitorEditor-CInL6GVs.mjs → SceneMonitorEditor-BVdgxUfp.mjs} +3 -3
- package/dist/_stub.js +4684 -4053
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-DkadILEV.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-2jdtfUGW.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DJYNsHHl.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-BZGn1YFH.mjs → hostInit-CGaNHoXk.mjs} +3 -3
- package/dist/index.js +344 -27
- package/dist/index.mjs +344 -27
- package/dist/{player-overlays-Ces1nEGQ.mjs → player-overlays-CWC5I8Gr.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-xOj-SfJF.mjs → responsive-C0Yg2ySn.mjs} +1 -1
- package/dist/{scene-monitor-copy-BZMgBFaF.mjs → scene-monitor-copy-CUvGeueA.mjs} +1 -1
- package/dist/{square-CAeV_Co2.mjs → square-DM5YvAWs.mjs} +1 -1
- package/dist/{trash-2-LqYIxrzA.mjs → trash-2-DTlq25ib.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-epKXdpkT.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-C1hKmoQ1.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Dfue3rir.mjs +0 -26
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.382",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.133",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.300",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -5408,7 +5408,7 @@ var ZodIssueCode = {
|
|
|
5408
5408
|
var ZodFirstPartyTypeKind;
|
|
5409
5409
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5410
5410
|
//#endregion
|
|
5411
|
-
//#region ../types/dist/sleep-
|
|
5411
|
+
//#region ../types/dist/sleep-BOjuyoPC.mjs
|
|
5412
5412
|
/**
|
|
5413
5413
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5414
5414
|
* window to float samples (D455).
|
|
@@ -5525,7 +5525,7 @@ function isKeychainStoredField(field) {
|
|
|
5525
5525
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5526
5526
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5527
5527
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5528
|
-
function isRecord$
|
|
5528
|
+
function isRecord$5(value) {
|
|
5529
5529
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5530
5530
|
}
|
|
5531
5531
|
function makeSecretMarker(ref) {
|
|
@@ -5536,12 +5536,12 @@ function makeSecretMarker(ref) {
|
|
|
5536
5536
|
}
|
|
5537
5537
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5538
5538
|
function isSecretMarker(value) {
|
|
5539
|
-
if (!isRecord$
|
|
5539
|
+
if (!isRecord$5(value)) return false;
|
|
5540
5540
|
const ref = value["$secret"];
|
|
5541
5541
|
return typeof ref === "string" && ref.length > 0;
|
|
5542
5542
|
}
|
|
5543
5543
|
function isSecretClear(value) {
|
|
5544
|
-
return isRecord$
|
|
5544
|
+
return isRecord$5(value) && value["$secretClear"] === true;
|
|
5545
5545
|
}
|
|
5546
5546
|
/**
|
|
5547
5547
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6151,7 +6151,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6151
6151
|
}
|
|
6152
6152
|
};
|
|
6153
6153
|
var KEEP = { kind: "keep" };
|
|
6154
|
-
function isRecord$
|
|
6154
|
+
function isRecord$4(value) {
|
|
6155
6155
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6156
6156
|
}
|
|
6157
6157
|
function defaultMintId() {
|
|
@@ -6164,7 +6164,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6164
6164
|
return out;
|
|
6165
6165
|
}
|
|
6166
6166
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6167
|
-
else if (isRecord$
|
|
6167
|
+
else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6168
6168
|
return out;
|
|
6169
6169
|
}
|
|
6170
6170
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6219,7 +6219,7 @@ function rowId(row, idKey) {
|
|
|
6219
6219
|
return null;
|
|
6220
6220
|
}
|
|
6221
6221
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6222
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6222
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
|
|
6223
6223
|
if (!Array.isArray(incoming)) {
|
|
6224
6224
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6225
6225
|
return {
|
|
@@ -6235,7 +6235,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6235
6235
|
const kept = /* @__PURE__ */ new Set();
|
|
6236
6236
|
const rows = [];
|
|
6237
6237
|
for (const row of incoming) {
|
|
6238
|
-
if (!isRecord$
|
|
6238
|
+
if (!isRecord$4(row)) {
|
|
6239
6239
|
rows.push(row);
|
|
6240
6240
|
continue;
|
|
6241
6241
|
}
|
|
@@ -6260,7 +6260,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6260
6260
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6261
6261
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6262
6262
|
case "object": {
|
|
6263
|
-
if (!isRecord$
|
|
6263
|
+
if (!isRecord$4(incoming)) {
|
|
6264
6264
|
if (incoming === void 0) return KEEP;
|
|
6265
6265
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6266
6266
|
return {
|
|
@@ -6268,7 +6268,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6268
6268
|
value: incoming
|
|
6269
6269
|
};
|
|
6270
6270
|
}
|
|
6271
|
-
const storedObj = isRecord$
|
|
6271
|
+
const storedObj = isRecord$4(stored) ? stored : {};
|
|
6272
6272
|
return {
|
|
6273
6273
|
kind: "value",
|
|
6274
6274
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6391,7 +6391,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6391
6391
|
value: items
|
|
6392
6392
|
};
|
|
6393
6393
|
}
|
|
6394
|
-
if (isRecord$
|
|
6394
|
+
if (isRecord$4(v)) {
|
|
6395
6395
|
const out = {};
|
|
6396
6396
|
for (const [k, child] of Object.entries(v)) {
|
|
6397
6397
|
const s = substitute(child);
|
|
@@ -6423,7 +6423,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6423
6423
|
this.name = "SecretOverwriteRefusedError";
|
|
6424
6424
|
}
|
|
6425
6425
|
};
|
|
6426
|
-
function isRecord$
|
|
6426
|
+
function isRecord$3(value) {
|
|
6427
6427
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6428
6428
|
}
|
|
6429
6429
|
function resolvedValue(pass, marker) {
|
|
@@ -6452,7 +6452,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6452
6452
|
return incoming.map((item, index) => {
|
|
6453
6453
|
const twin = stored[index];
|
|
6454
6454
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6455
|
-
if (isRecord$
|
|
6455
|
+
if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
|
|
6456
6456
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6457
6457
|
return item;
|
|
6458
6458
|
});
|
|
@@ -6463,7 +6463,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6463
6463
|
const twin = stored[key];
|
|
6464
6464
|
if (isSecretMarker(twin)) {
|
|
6465
6465
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6466
|
-
} else if (isRecord$
|
|
6466
|
+
} else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6467
6467
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6468
6468
|
}
|
|
6469
6469
|
return out;
|
|
@@ -6471,7 +6471,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6471
6471
|
async function walk$1(pass, incoming, stored) {
|
|
6472
6472
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6473
6473
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6474
|
-
if (!isRecord$
|
|
6474
|
+
if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
|
|
6475
6475
|
const out = { ...incoming };
|
|
6476
6476
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk$1(pass, value, stored[key]);
|
|
6477
6477
|
return out;
|
|
@@ -6502,7 +6502,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6502
6502
|
function isJsonEqual(a, b) {
|
|
6503
6503
|
if (Object.is(a, b)) return true;
|
|
6504
6504
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6505
|
-
if (isRecord$
|
|
6505
|
+
if (isRecord$3(a) && isRecord$3(b)) {
|
|
6506
6506
|
const keys = Object.keys(a);
|
|
6507
6507
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6508
6508
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6526,7 +6526,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
function nodeFromStored(value, owner) {
|
|
6528
6528
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6529
|
-
if (!isRecord$
|
|
6529
|
+
if (!isRecord$3(value)) return null;
|
|
6530
6530
|
const children = /* @__PURE__ */ new Map();
|
|
6531
6531
|
for (const [key, child] of Object.entries(value)) {
|
|
6532
6532
|
const node = nodeFromStored(child, owner);
|
|
@@ -7314,7 +7314,7 @@ var BaseAddon = class {
|
|
|
7314
7314
|
if (!ctx) return;
|
|
7315
7315
|
const addonId = ctx.id;
|
|
7316
7316
|
setImmediate(() => {
|
|
7317
|
-
ctx.api.addons
|
|
7317
|
+
ctx.api.addons.restartAddon.mutate({ addonId }).then(() => {
|
|
7318
7318
|
ctx.logger.info("addon auto-restart triggered by restart-required setting change", { meta: { changedFields: patchKeys.filter((k) => restartKeys.has(k)) } });
|
|
7319
7319
|
}).catch((err) => {
|
|
7320
7320
|
ctx.logger.error("addon auto-restart failed", { meta: { error: err instanceof Error ? err.message : String(err) } });
|
|
@@ -8356,7 +8356,7 @@ object({
|
|
|
8356
8356
|
params: record(string(), union([string(), number()])).optional()
|
|
8357
8357
|
});
|
|
8358
8358
|
//#endregion
|
|
8359
|
-
//#region ../types/dist/err-msg
|
|
8359
|
+
//#region ../types/dist/err-msg-BXKzRBwg.mjs
|
|
8360
8360
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
8361
8361
|
DeviceType["Camera"] = "camera";
|
|
8362
8362
|
DeviceType["Hub"] = "hub";
|
|
@@ -8448,6 +8448,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
8448
8448
|
* native PetKit (`nodepetkit` `FeederDevice`), reusable by other feeder
|
|
8449
8449
|
* integrations sharing the same food/desiccant/hopper surface. */
|
|
8450
8450
|
DeviceType["PetFeeder"] = "pet-feeder";
|
|
8451
|
+
/** Built-in dishwasher — program lifecycle, door / remote-start gates,
|
|
8452
|
+
* salt and rinse-aid levels. Installed with the `dishwasher` cap.
|
|
8453
|
+
* Sources: native Bosch Home Connect, reusable by similar integrations. */
|
|
8454
|
+
DeviceType["Dishwasher"] = "dishwasher";
|
|
8451
8455
|
return DeviceType;
|
|
8452
8456
|
}({});
|
|
8453
8457
|
var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
|
|
@@ -8695,7 +8699,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
8695
8699
|
return DeviceRole;
|
|
8696
8700
|
}({});
|
|
8697
8701
|
//#endregion
|
|
8698
|
-
//#region ../types/dist/composition-
|
|
8702
|
+
//#region ../types/dist/composition-CB6PMT9p.mjs
|
|
8699
8703
|
/**
|
|
8700
8704
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
8701
8705
|
*
|
|
@@ -13098,8 +13102,13 @@ var AlertSeveritySchema = _enum([
|
|
|
13098
13102
|
"info",
|
|
13099
13103
|
"success",
|
|
13100
13104
|
"warning",
|
|
13101
|
-
"error"
|
|
13105
|
+
"error",
|
|
13106
|
+
"critical"
|
|
13102
13107
|
]);
|
|
13108
|
+
var AlertActionSchema = object({
|
|
13109
|
+
label: string(),
|
|
13110
|
+
href: string().optional()
|
|
13111
|
+
});
|
|
13103
13112
|
var AlertStatusSchema = _enum([
|
|
13104
13113
|
"active",
|
|
13105
13114
|
"in-progress",
|
|
@@ -13117,6 +13126,7 @@ var AlertSchema = object({
|
|
|
13117
13126
|
severity: AlertSeveritySchema,
|
|
13118
13127
|
title: string(),
|
|
13119
13128
|
message: string(),
|
|
13129
|
+
action: AlertActionSchema.optional(),
|
|
13120
13130
|
status: AlertStatusSchema,
|
|
13121
13131
|
progress: number().optional(),
|
|
13122
13132
|
read: boolean(),
|
|
@@ -16341,13 +16351,23 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16341
16351
|
}), RecordQueryResultSchema, { auth: "admin" }), method(object({
|
|
16342
16352
|
owner: string().min(1),
|
|
16343
16353
|
kind: RecordKindNameSchema,
|
|
16344
|
-
records: array(RecordInputSchema).
|
|
16354
|
+
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16345
16355
|
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16346
16356
|
complete: boolean().optional()
|
|
16347
|
-
}), object({ adopted: number().int() }), {
|
|
16357
|
+
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16348
16358
|
kind: "mutation",
|
|
16349
16359
|
auth: "admin"
|
|
16350
|
-
})
|
|
16360
|
+
}), method(object({
|
|
16361
|
+
collection: string().min(1),
|
|
16362
|
+
cursor: string().optional(),
|
|
16363
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
16364
|
+
}), object({
|
|
16365
|
+
rows: array(object({
|
|
16366
|
+
id: string(),
|
|
16367
|
+
data: record(string(), unknown())
|
|
16368
|
+
})),
|
|
16369
|
+
nextCursor: string().nullable()
|
|
16370
|
+
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16351
16371
|
/**
|
|
16352
16372
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16353
16373
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -53654,7 +53674,7 @@ var BatteryStatusSchema = object({
|
|
|
53654
53674
|
*/
|
|
53655
53675
|
binary: boolean().optional()
|
|
53656
53676
|
});
|
|
53657
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, method(object({
|
|
53677
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, method(object({
|
|
53658
53678
|
deviceId: number(),
|
|
53659
53679
|
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
53660
53680
|
timeoutMs: number().int().min(500).max(3e4).default(8e3)
|
|
@@ -54530,6 +54550,98 @@ object({
|
|
|
54530
54550
|
deviceId: number(),
|
|
54531
54551
|
status: DeviceStatusSchema
|
|
54532
54552
|
});
|
|
54553
|
+
/**
|
|
54554
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates,
|
|
54555
|
+
* consumable levels (salt, rinse aid) and common program options.
|
|
54556
|
+
*
|
|
54557
|
+
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54558
|
+
* by any integration that exposes the same program / option surface.
|
|
54559
|
+
*
|
|
54560
|
+
* `kind: 'poll'` — cloud REST APIs typically have no push channel; the
|
|
54561
|
+
* provider refreshes the slice on an interval and eagerly after commands.
|
|
54562
|
+
*/
|
|
54563
|
+
var DishwasherStateSchema = _enum([
|
|
54564
|
+
"idle",
|
|
54565
|
+
"running",
|
|
54566
|
+
"paused",
|
|
54567
|
+
"finished",
|
|
54568
|
+
"error",
|
|
54569
|
+
"unavailable"
|
|
54570
|
+
]);
|
|
54571
|
+
var DishwasherConsumableLevelSchema = _enum([
|
|
54572
|
+
"ok",
|
|
54573
|
+
"low",
|
|
54574
|
+
"empty"
|
|
54575
|
+
]);
|
|
54576
|
+
object({
|
|
54577
|
+
state: DishwasherStateSchema,
|
|
54578
|
+
/** Active program id/name, or null when none selected / unknown. */
|
|
54579
|
+
program: string().nullable(),
|
|
54580
|
+
/** Program tokens the hardware accepts — drives the UI selector. */
|
|
54581
|
+
availablePrograms: array(string()),
|
|
54582
|
+
/** Minutes remaining on the active cycle, or null when not running. */
|
|
54583
|
+
remainingMinutes: number().int().nonnegative().nullable(),
|
|
54584
|
+
/** Cycle completion 0..100, or null when not applicable. */
|
|
54585
|
+
progressPercent: number().min(0).max(100).nullable(),
|
|
54586
|
+
/** True when the door is reported open. */
|
|
54587
|
+
doorOpen: boolean(),
|
|
54588
|
+
/** True when remote start is allowed (door closed, power on, etc.). */
|
|
54589
|
+
remoteStartAllowed: boolean(),
|
|
54590
|
+
/** Main power / switched-on state. */
|
|
54591
|
+
powerOn: boolean(),
|
|
54592
|
+
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54593
|
+
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54594
|
+
halfLoad: boolean(),
|
|
54595
|
+
hygienePlus: boolean(),
|
|
54596
|
+
errorCode: number().nullable(),
|
|
54597
|
+
errorLabel: string().nullable(),
|
|
54598
|
+
lastFetchedAt: number()
|
|
54599
|
+
});
|
|
54600
|
+
DeviceType.Dishwasher, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
54601
|
+
kind: "mutation",
|
|
54602
|
+
auth: "protected"
|
|
54603
|
+
}), method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
54604
|
+
kind: "mutation",
|
|
54605
|
+
auth: "protected"
|
|
54606
|
+
}), method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
54607
|
+
kind: "mutation",
|
|
54608
|
+
auth: "protected"
|
|
54609
|
+
}), method(object({
|
|
54610
|
+
deviceId: number().int().nonnegative(),
|
|
54611
|
+
program: string().min(1)
|
|
54612
|
+
}), _void(), {
|
|
54613
|
+
kind: "mutation",
|
|
54614
|
+
auth: "protected"
|
|
54615
|
+
}), method(object({
|
|
54616
|
+
deviceId: number().int().nonnegative(),
|
|
54617
|
+
on: boolean()
|
|
54618
|
+
}), _void(), {
|
|
54619
|
+
kind: "mutation",
|
|
54620
|
+
auth: "protected"
|
|
54621
|
+
}), method(object({
|
|
54622
|
+
deviceId: number().int().nonnegative(),
|
|
54623
|
+
on: boolean()
|
|
54624
|
+
}), _void(), {
|
|
54625
|
+
kind: "mutation",
|
|
54626
|
+
auth: "protected"
|
|
54627
|
+
}), method(object({
|
|
54628
|
+
deviceId: number().int().nonnegative(),
|
|
54629
|
+
on: boolean()
|
|
54630
|
+
}), _void(), {
|
|
54631
|
+
kind: "mutation",
|
|
54632
|
+
auth: "protected"
|
|
54633
|
+
}), method(object({
|
|
54634
|
+
deviceId: number().int().nonnegative(),
|
|
54635
|
+
key: string().min(1),
|
|
54636
|
+
value: union([
|
|
54637
|
+
boolean(),
|
|
54638
|
+
string(),
|
|
54639
|
+
number()
|
|
54640
|
+
])
|
|
54641
|
+
}), _void(), {
|
|
54642
|
+
kind: "mutation",
|
|
54643
|
+
auth: "protected"
|
|
54644
|
+
});
|
|
54533
54645
|
object({
|
|
54534
54646
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
54535
54647
|
lastPressedAt: number().nullable(),
|
|
@@ -55095,6 +55207,13 @@ object({
|
|
|
55095
55207
|
lastChangedAt: number()
|
|
55096
55208
|
});
|
|
55097
55209
|
DeviceType.Sensor;
|
|
55210
|
+
object({
|
|
55211
|
+
/** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
|
|
55212
|
+
position: number().min(0).max(100).nullable(),
|
|
55213
|
+
/** Ms epoch when the slice was last updated (push or poll). */
|
|
55214
|
+
lastFetchedAt: number()
|
|
55215
|
+
});
|
|
55216
|
+
DeviceType.Thermostat;
|
|
55098
55217
|
object({
|
|
55099
55218
|
/** Whether the humidifier is currently on. */
|
|
55100
55219
|
on: boolean(),
|
|
@@ -62539,7 +62658,7 @@ var AccessoryKind = {
|
|
|
62539
62658
|
PrivacyMask: DeviceRole.PrivacyMask
|
|
62540
62659
|
};
|
|
62541
62660
|
AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
|
|
62542
|
-
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
62661
|
+
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
|
|
62543
62662
|
new Set(Object.values(DeviceType));
|
|
62544
62663
|
Object.freeze({
|
|
62545
62664
|
"accessories.getStatus": {
|
|
@@ -64960,6 +65079,60 @@ Object.freeze({
|
|
|
64960
65079
|
addonId: null,
|
|
64961
65080
|
access: "view"
|
|
64962
65081
|
},
|
|
65082
|
+
"dishwasher.getStatus": {
|
|
65083
|
+
capName: "dishwasher",
|
|
65084
|
+
capScope: "device",
|
|
65085
|
+
addonId: null,
|
|
65086
|
+
access: "view"
|
|
65087
|
+
},
|
|
65088
|
+
"dishwasher.pause": {
|
|
65089
|
+
capName: "dishwasher",
|
|
65090
|
+
capScope: "device",
|
|
65091
|
+
addonId: null,
|
|
65092
|
+
access: "create"
|
|
65093
|
+
},
|
|
65094
|
+
"dishwasher.setHalfLoad": {
|
|
65095
|
+
capName: "dishwasher",
|
|
65096
|
+
capScope: "device",
|
|
65097
|
+
addonId: null,
|
|
65098
|
+
access: "create"
|
|
65099
|
+
},
|
|
65100
|
+
"dishwasher.setHygienePlus": {
|
|
65101
|
+
capName: "dishwasher",
|
|
65102
|
+
capScope: "device",
|
|
65103
|
+
addonId: null,
|
|
65104
|
+
access: "create"
|
|
65105
|
+
},
|
|
65106
|
+
"dishwasher.setOption": {
|
|
65107
|
+
capName: "dishwasher",
|
|
65108
|
+
capScope: "device",
|
|
65109
|
+
addonId: null,
|
|
65110
|
+
access: "create"
|
|
65111
|
+
},
|
|
65112
|
+
"dishwasher.setPower": {
|
|
65113
|
+
capName: "dishwasher",
|
|
65114
|
+
capScope: "device",
|
|
65115
|
+
addonId: null,
|
|
65116
|
+
access: "create"
|
|
65117
|
+
},
|
|
65118
|
+
"dishwasher.setProgram": {
|
|
65119
|
+
capName: "dishwasher",
|
|
65120
|
+
capScope: "device",
|
|
65121
|
+
addonId: null,
|
|
65122
|
+
access: "create"
|
|
65123
|
+
},
|
|
65124
|
+
"dishwasher.start": {
|
|
65125
|
+
capName: "dishwasher",
|
|
65126
|
+
capScope: "device",
|
|
65127
|
+
addonId: null,
|
|
65128
|
+
access: "create"
|
|
65129
|
+
},
|
|
65130
|
+
"dishwasher.stop": {
|
|
65131
|
+
capName: "dishwasher",
|
|
65132
|
+
capScope: "device",
|
|
65133
|
+
addonId: null,
|
|
65134
|
+
access: "create"
|
|
65135
|
+
},
|
|
64963
65136
|
"doorbell.getStatus": {
|
|
64964
65137
|
capName: "doorbell",
|
|
64965
65138
|
capScope: "device",
|
|
@@ -65170,6 +65343,12 @@ Object.freeze({
|
|
|
65170
65343
|
addonId: null,
|
|
65171
65344
|
access: "view"
|
|
65172
65345
|
},
|
|
65346
|
+
"heatingValve.getStatus": {
|
|
65347
|
+
capName: "heating-valve",
|
|
65348
|
+
capScope: "device",
|
|
65349
|
+
addonId: null,
|
|
65350
|
+
access: "view"
|
|
65351
|
+
},
|
|
65173
65352
|
"humidifier.getStatus": {
|
|
65174
65353
|
capName: "humidifier",
|
|
65175
65354
|
capScope: "device",
|
|
@@ -69310,6 +69489,12 @@ Object.freeze({
|
|
|
69310
69489
|
addonId: null,
|
|
69311
69490
|
access: "delete"
|
|
69312
69491
|
},
|
|
69492
|
+
"storageAdmin.isAdoptedLegacyTable": {
|
|
69493
|
+
capName: "storage-admin",
|
|
69494
|
+
capScope: "system",
|
|
69495
|
+
addonId: null,
|
|
69496
|
+
access: "view"
|
|
69497
|
+
},
|
|
69313
69498
|
"storageAdmin.listKinds": {
|
|
69314
69499
|
capName: "storage-admin",
|
|
69315
69500
|
capScope: "system",
|
|
@@ -69322,6 +69507,12 @@ Object.freeze({
|
|
|
69322
69507
|
addonId: null,
|
|
69323
69508
|
access: "view"
|
|
69324
69509
|
},
|
|
69510
|
+
"storageAdmin.readLegacyCollection": {
|
|
69511
|
+
capName: "storage-admin",
|
|
69512
|
+
capScope: "system",
|
|
69513
|
+
addonId: null,
|
|
69514
|
+
access: "view"
|
|
69515
|
+
},
|
|
69325
69516
|
"storageAdmin.readRecords": {
|
|
69326
69517
|
capName: "storage-admin",
|
|
69327
69518
|
capScope: "system",
|
|
@@ -70745,7 +70936,7 @@ Object.freeze({
|
|
|
70745
70936
|
access: "create"
|
|
70746
70937
|
}
|
|
70747
70938
|
});
|
|
70748
|
-
DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
70939
|
+
DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
|
|
70749
70940
|
DeviceFeature.BatteryOperated;
|
|
70750
70941
|
Object.freeze({
|
|
70751
70942
|
"accessories.getStatus": [{
|
|
@@ -71569,6 +71760,51 @@ Object.freeze({
|
|
|
71569
71760
|
form: "single",
|
|
71570
71761
|
optional: false
|
|
71571
71762
|
}],
|
|
71763
|
+
"dishwasher.getStatus": [{
|
|
71764
|
+
name: "deviceId",
|
|
71765
|
+
form: "single",
|
|
71766
|
+
optional: false
|
|
71767
|
+
}],
|
|
71768
|
+
"dishwasher.pause": [{
|
|
71769
|
+
name: "deviceId",
|
|
71770
|
+
form: "single",
|
|
71771
|
+
optional: false
|
|
71772
|
+
}],
|
|
71773
|
+
"dishwasher.setHalfLoad": [{
|
|
71774
|
+
name: "deviceId",
|
|
71775
|
+
form: "single",
|
|
71776
|
+
optional: false
|
|
71777
|
+
}],
|
|
71778
|
+
"dishwasher.setHygienePlus": [{
|
|
71779
|
+
name: "deviceId",
|
|
71780
|
+
form: "single",
|
|
71781
|
+
optional: false
|
|
71782
|
+
}],
|
|
71783
|
+
"dishwasher.setOption": [{
|
|
71784
|
+
name: "deviceId",
|
|
71785
|
+
form: "single",
|
|
71786
|
+
optional: false
|
|
71787
|
+
}],
|
|
71788
|
+
"dishwasher.setPower": [{
|
|
71789
|
+
name: "deviceId",
|
|
71790
|
+
form: "single",
|
|
71791
|
+
optional: false
|
|
71792
|
+
}],
|
|
71793
|
+
"dishwasher.setProgram": [{
|
|
71794
|
+
name: "deviceId",
|
|
71795
|
+
form: "single",
|
|
71796
|
+
optional: false
|
|
71797
|
+
}],
|
|
71798
|
+
"dishwasher.start": [{
|
|
71799
|
+
name: "deviceId",
|
|
71800
|
+
form: "single",
|
|
71801
|
+
optional: false
|
|
71802
|
+
}],
|
|
71803
|
+
"dishwasher.stop": [{
|
|
71804
|
+
name: "deviceId",
|
|
71805
|
+
form: "single",
|
|
71806
|
+
optional: false
|
|
71807
|
+
}],
|
|
71572
71808
|
"doorbell.getStatus": [{
|
|
71573
71809
|
name: "deviceId",
|
|
71574
71810
|
form: "single",
|
|
@@ -71638,6 +71874,11 @@ Object.freeze({
|
|
|
71638
71874
|
form: "single",
|
|
71639
71875
|
optional: false
|
|
71640
71876
|
}],
|
|
71877
|
+
"heatingValve.getStatus": [{
|
|
71878
|
+
name: "deviceId",
|
|
71879
|
+
form: "single",
|
|
71880
|
+
optional: false
|
|
71881
|
+
}],
|
|
71641
71882
|
"humidifier.getStatus": [{
|
|
71642
71883
|
name: "deviceId",
|
|
71643
71884
|
form: "single",
|
|
@@ -76142,6 +76383,78 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
76142
76383
|
"path": "online",
|
|
76143
76384
|
"valueType": "boolean"
|
|
76144
76385
|
}],
|
|
76386
|
+
"dishwasher": [
|
|
76387
|
+
{
|
|
76388
|
+
"path": "state",
|
|
76389
|
+
"valueType": "enum",
|
|
76390
|
+
"enumValues": [
|
|
76391
|
+
"idle",
|
|
76392
|
+
"running",
|
|
76393
|
+
"paused",
|
|
76394
|
+
"finished",
|
|
76395
|
+
"error",
|
|
76396
|
+
"unavailable"
|
|
76397
|
+
]
|
|
76398
|
+
},
|
|
76399
|
+
{
|
|
76400
|
+
"path": "program",
|
|
76401
|
+
"valueType": "string"
|
|
76402
|
+
},
|
|
76403
|
+
{
|
|
76404
|
+
"path": "remainingMinutes",
|
|
76405
|
+
"valueType": "number"
|
|
76406
|
+
},
|
|
76407
|
+
{
|
|
76408
|
+
"path": "progressPercent",
|
|
76409
|
+
"valueType": "number"
|
|
76410
|
+
},
|
|
76411
|
+
{
|
|
76412
|
+
"path": "doorOpen",
|
|
76413
|
+
"valueType": "boolean"
|
|
76414
|
+
},
|
|
76415
|
+
{
|
|
76416
|
+
"path": "remoteStartAllowed",
|
|
76417
|
+
"valueType": "boolean"
|
|
76418
|
+
},
|
|
76419
|
+
{
|
|
76420
|
+
"path": "powerOn",
|
|
76421
|
+
"valueType": "boolean"
|
|
76422
|
+
},
|
|
76423
|
+
{
|
|
76424
|
+
"path": "saltLevel",
|
|
76425
|
+
"valueType": "enum",
|
|
76426
|
+
"enumValues": [
|
|
76427
|
+
"ok",
|
|
76428
|
+
"low",
|
|
76429
|
+
"empty"
|
|
76430
|
+
]
|
|
76431
|
+
},
|
|
76432
|
+
{
|
|
76433
|
+
"path": "rinseAidLevel",
|
|
76434
|
+
"valueType": "enum",
|
|
76435
|
+
"enumValues": [
|
|
76436
|
+
"ok",
|
|
76437
|
+
"low",
|
|
76438
|
+
"empty"
|
|
76439
|
+
]
|
|
76440
|
+
},
|
|
76441
|
+
{
|
|
76442
|
+
"path": "halfLoad",
|
|
76443
|
+
"valueType": "boolean"
|
|
76444
|
+
},
|
|
76445
|
+
{
|
|
76446
|
+
"path": "hygienePlus",
|
|
76447
|
+
"valueType": "boolean"
|
|
76448
|
+
},
|
|
76449
|
+
{
|
|
76450
|
+
"path": "errorCode",
|
|
76451
|
+
"valueType": "number"
|
|
76452
|
+
},
|
|
76453
|
+
{
|
|
76454
|
+
"path": "errorLabel",
|
|
76455
|
+
"valueType": "string"
|
|
76456
|
+
}
|
|
76457
|
+
],
|
|
76145
76458
|
"doorbell": [{
|
|
76146
76459
|
"path": "lastPressedAt",
|
|
76147
76460
|
"valueType": "number"
|
|
@@ -76232,6 +76545,10 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
76232
76545
|
"path": "detected",
|
|
76233
76546
|
"valueType": "boolean"
|
|
76234
76547
|
}],
|
|
76548
|
+
"heating-valve": [{
|
|
76549
|
+
"path": "position",
|
|
76550
|
+
"valueType": "number"
|
|
76551
|
+
}],
|
|
76235
76552
|
"humidifier": [
|
|
76236
76553
|
{
|
|
76237
76554
|
"path": "on",
|