@camstack/addon-provider-homematic 1.2.196 → 1.2.197
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/CHANGELOG.md +6 -0
- package/dist/.bundle-modules.json +2 -2
- package/dist/_stub.js +4 -4
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-D8eX6qCZ.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-C4Fww_oV.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-D0unHZPY.mjs +26 -0
- package/dist/addon-provider-homematic.css +1 -1
- package/dist/addon.js +615 -312
- package/dist/addon.mjs +615 -312
- package/dist/{hostInit-DuBY5RFc.mjs → hostInit-DTPxs8RG.mjs} +2 -2
- package/dist/remoteEntry.js +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-v2rx1eLb.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-DSDGvcoJ.mjs} +1 -1
- package/dist/widgets/_stub.js +3 -3
- package/dist/widgets/{_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_widgets-Cn_SmgI_.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_widgets-p7WFaZQH.mjs} +1 -1
- package/dist/widgets/_virtual_mf___mfe_internal__addon_provider_homematic_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-C7ks8wIZ.mjs +26 -0
- package/dist/widgets/{hostInit-qp7M4JAF.mjs → hostInit-CtVv-2Cj.mjs} +1 -1
- package/dist/widgets/remoteEntry.js +1 -1
- package/package.json +6 -6
- package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BPCGkZg7.mjs +0 -26
- package/dist/widgets/_virtual_mf___mfe_internal__addon_provider_homematic_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-jVV0iLqt.mjs +0 -26
package/dist/addon.mjs
CHANGED
|
@@ -5763,7 +5763,7 @@ var ZodRecord = /*@__PURE__*/ $constructor("ZodRecord", (inst, def) => {
|
|
|
5763
5763
|
inst.keyType = def.keyType;
|
|
5764
5764
|
inst.valueType = def.valueType;
|
|
5765
5765
|
});
|
|
5766
|
-
function record(keyType, valueType, params) {
|
|
5766
|
+
function record$1(keyType, valueType, params) {
|
|
5767
5767
|
if (!valueType || !valueType._zod) return new ZodRecord({
|
|
5768
5768
|
type: "record",
|
|
5769
5769
|
keyType: string(),
|
|
@@ -7600,7 +7600,7 @@ function registrySwitchPortsOver(deps) {
|
|
|
7600
7600
|
const handle = deps.records.kind({
|
|
7601
7601
|
name: deps.kind.name,
|
|
7602
7602
|
declaration: deps.kind.declaration,
|
|
7603
|
-
schema: record(string(), unknown())
|
|
7603
|
+
schema: record$1(string(), unknown())
|
|
7604
7604
|
});
|
|
7605
7605
|
return {
|
|
7606
7606
|
listIntegrations: async (addonId) => (await deps.api.list()).filter((i) => i.addonId === addonId).map((i) => ({
|
|
@@ -9751,7 +9751,7 @@ function normalizeAddonInitResult(result) {
|
|
|
9751
9751
|
}
|
|
9752
9752
|
object({
|
|
9753
9753
|
code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
|
|
9754
|
-
params: record(string(), union([string(), number$1()])).optional()
|
|
9754
|
+
params: record$1(string(), union([string(), number$1()])).optional()
|
|
9755
9755
|
});
|
|
9756
9756
|
object({
|
|
9757
9757
|
field: string().min(1),
|
|
@@ -9802,7 +9802,7 @@ object({
|
|
|
9802
9802
|
}).nullable();
|
|
9803
9803
|
object({ deviceId: number$1() }), object({ deviceId: number$1() }), object({
|
|
9804
9804
|
deviceId: number$1(),
|
|
9805
|
-
patch: record(string(), unknown())
|
|
9805
|
+
patch: record$1(string(), unknown())
|
|
9806
9806
|
}), object({ success: literal(true) });
|
|
9807
9807
|
object({ deviceId: number$1() }), unknown().nullable();
|
|
9808
9808
|
function method(input, output, options) {
|
|
@@ -9957,7 +9957,7 @@ var EntryDescriptorSchema = object({
|
|
|
9957
9957
|
/** The record body field shown as the entry's name. */
|
|
9958
9958
|
nameField: string().min(1),
|
|
9959
9959
|
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
9960
|
-
fields: record(string(), unknown())
|
|
9960
|
+
fields: record$1(string(), unknown())
|
|
9961
9961
|
}).strict();
|
|
9962
9962
|
/** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
|
|
9963
9963
|
var RecordKindDeclarationSchema = object({
|
|
@@ -9977,7 +9977,7 @@ var RecordKindDeclarationSchema = object({
|
|
|
9977
9977
|
/** Derived from the Zod schema; never written by hand. */
|
|
9978
9978
|
secretPaths: array(string().min(1)).default([]),
|
|
9979
9979
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
9980
|
-
secretArrayKeys: record(string(), string()).default({}),
|
|
9980
|
+
secretArrayKeys: record$1(string(), string()).default({}),
|
|
9981
9981
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
9982
9982
|
transactFamily: string().min(1).optional(),
|
|
9983
9983
|
entry: EntryDescriptorSchema.optional()
|
|
@@ -10191,7 +10191,7 @@ var TransitionValueSchema = union([
|
|
|
10191
10191
|
number$1(),
|
|
10192
10192
|
boolean(),
|
|
10193
10193
|
_null(),
|
|
10194
|
-
record(string(), unknown())
|
|
10194
|
+
record$1(string(), unknown())
|
|
10195
10195
|
]);
|
|
10196
10196
|
/** Who asked. `device` is the fallback: nothing the hub observed asked for the change. */
|
|
10197
10197
|
var TransitionActorSchema = discriminatedUnion("kind", [
|
|
@@ -10254,7 +10254,7 @@ var TransitionOutcomeSchema = _enum([
|
|
|
10254
10254
|
var TransitionCommandSchema = object({
|
|
10255
10255
|
commandId: string(),
|
|
10256
10256
|
method: string(),
|
|
10257
|
-
args: record(string(), unknown()),
|
|
10257
|
+
args: record$1(string(), unknown()),
|
|
10258
10258
|
requestedAt: number$1(),
|
|
10259
10259
|
/** Milliseconds from the command to the change it caused; `null` when no change was seen. */
|
|
10260
10260
|
matchedAfterMs: number$1().nullable(),
|
|
@@ -10477,7 +10477,7 @@ var CameraStreamSchema = object({
|
|
|
10477
10477
|
* route RTP packets to the right depacketizer without an in-band
|
|
10478
10478
|
* DESCRIBE phase). Other kinds typically leave it undefined.
|
|
10479
10479
|
*/
|
|
10480
|
-
metadata: record(string(), unknown()).optional()
|
|
10480
|
+
metadata: record$1(string(), unknown()).optional()
|
|
10481
10481
|
});
|
|
10482
10482
|
var ProfileSlotStatusSchema = _enum([
|
|
10483
10483
|
"unassigned",
|
|
@@ -10529,7 +10529,7 @@ object({
|
|
|
10529
10529
|
url: string(),
|
|
10530
10530
|
videoCodec: string().optional(),
|
|
10531
10531
|
audioCodec: string().optional(),
|
|
10532
|
-
metadata: record(string(), unknown()).readonly().optional()
|
|
10532
|
+
metadata: record$1(string(), unknown()).readonly().optional()
|
|
10533
10533
|
});
|
|
10534
10534
|
/**
|
|
10535
10535
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
@@ -19337,11 +19337,11 @@ var RawStateResultSchema = object({
|
|
|
19337
19337
|
/** Originating provider id, e.g. 'homeassistant' | 'reolink' | 'hikvision'. */
|
|
19338
19338
|
source: string(),
|
|
19339
19339
|
/** Opaque, DISPLAY-SAFE upstream blob (no secrets/PII). */
|
|
19340
|
-
data: record(string(), unknown())
|
|
19340
|
+
data: record$1(string(), unknown())
|
|
19341
19341
|
});
|
|
19342
19342
|
method(object({ deviceId: number$1() }), array(StreamSourceEntrySchema)), method(object({ deviceId: number$1() }), array(ConfigEntrySchema$1)), method(object({
|
|
19343
19343
|
deviceId: number$1(),
|
|
19344
|
-
values: record(string(), unknown())
|
|
19344
|
+
values: record$1(string(), unknown())
|
|
19345
19345
|
}), _void(), {
|
|
19346
19346
|
kind: "mutation",
|
|
19347
19347
|
auth: "admin"
|
|
@@ -19372,7 +19372,7 @@ var PipelineStepInputSchema = lazy(() => object({
|
|
|
19372
19372
|
modelId: string().optional(),
|
|
19373
19373
|
enabled: boolean().default(true),
|
|
19374
19374
|
children: array(PipelineStepInputSchema).optional(),
|
|
19375
|
-
settings: record(string(), unknown()).optional(),
|
|
19375
|
+
settings: record$1(string(), unknown()).optional(),
|
|
19376
19376
|
jumpDeviceKey: string().optional()
|
|
19377
19377
|
}));
|
|
19378
19378
|
/** Typed bridge to the recursive `FrameResult` graph; validation is structural. */
|
|
@@ -22664,7 +22664,7 @@ var CompositionBindingSchema = discriminatedUnion("kind", [CompositionFromSource
|
|
|
22664
22664
|
var CompositionExpressionSourceSchema = object({
|
|
22665
22665
|
kind: literal("expression"),
|
|
22666
22666
|
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
22667
|
-
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
|
|
22667
|
+
bindings: record$1(string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
|
|
22668
22668
|
}).superRefine((src, ctx) => {
|
|
22669
22669
|
const err = validateExpressionSource(src);
|
|
22670
22670
|
if (err !== null) ctx.addIssue({
|
|
@@ -22740,7 +22740,7 @@ var forwardArgUnion = union([
|
|
|
22740
22740
|
number$1(),
|
|
22741
22741
|
boolean(),
|
|
22742
22742
|
strictObject({ ["$input"]: string().min(1) }),
|
|
22743
|
-
record(string().min(1), lazy(() => forwardArgUnion))
|
|
22743
|
+
record$1(string().min(1), lazy(() => forwardArgUnion))
|
|
22744
22744
|
]);
|
|
22745
22745
|
var CompositionForwardArgSchema = forwardArgUnion;
|
|
22746
22746
|
/**
|
|
@@ -22754,7 +22754,7 @@ var CompositionForwardCommandSchema = object({
|
|
|
22754
22754
|
source: CompositionSourceRefSchema,
|
|
22755
22755
|
cap: string().min(1),
|
|
22756
22756
|
method: string().min(1),
|
|
22757
|
-
args: record(string().min(1), CompositionForwardArgSchema).optional()
|
|
22757
|
+
args: record$1(string().min(1), CompositionForwardArgSchema).optional()
|
|
22758
22758
|
});
|
|
22759
22759
|
var CompositionCommandTargetSchema = discriminatedUnion("kind", [
|
|
22760
22760
|
CompositionForwardCommandSchema,
|
|
@@ -22773,7 +22773,7 @@ var COMPOSITION_ITEM_KEY_RE = /^[a-z0-9][a-z0-9-]{0,47}$/;
|
|
|
22773
22773
|
*/
|
|
22774
22774
|
var CompositionItemEntrySchema = object({
|
|
22775
22775
|
label: string().min(1).max(80),
|
|
22776
|
-
fields: record(string().min(1), CompositionFieldSourceSchema),
|
|
22776
|
+
fields: record$1(string().min(1), CompositionFieldSourceSchema),
|
|
22777
22777
|
/**
|
|
22778
22778
|
* What the cap's `reset` does for THIS item (consumables). Present = the item
|
|
22779
22779
|
* is resettable and a `reset` call naming its key forwards here. The item key
|
|
@@ -22785,14 +22785,14 @@ var CompositionFeatureSchema = discriminatedUnion("kind", [object({
|
|
|
22785
22785
|
kind: literal("fields"),
|
|
22786
22786
|
cap: string().min(1),
|
|
22787
22787
|
enabled: boolean().optional(),
|
|
22788
|
-
fields: record(string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
|
|
22788
|
+
fields: record$1(string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
|
|
22789
22789
|
/**
|
|
22790
22790
|
* Items of the cap's item array, keyed by item key (D663). Naming `items`
|
|
22791
22791
|
* owns the WHOLE array field: the composed value holds exactly these items.
|
|
22792
22792
|
*/
|
|
22793
|
-
items: record(string().regex(COMPOSITION_ITEM_KEY_RE), CompositionItemEntrySchema).refine((items) => Object.keys(items).length <= 16, { message: `at most 16 items` }).optional(),
|
|
22793
|
+
items: record$1(string().regex(COMPOSITION_ITEM_KEY_RE), CompositionItemEntrySchema).refine((items) => Object.keys(items).length <= 16, { message: `at most 16 items` }).optional(),
|
|
22794
22794
|
/** Method name → what serves it. Only a BUILT capability takes commands (D967). */
|
|
22795
|
-
commands: record(string().min(1), CompositionCommandTargetSchema).optional()
|
|
22795
|
+
commands: record$1(string().min(1), CompositionCommandTargetSchema).optional()
|
|
22796
22796
|
}), object({
|
|
22797
22797
|
kind: literal("passthrough"),
|
|
22798
22798
|
cap: string().min(1),
|
|
@@ -23355,7 +23355,7 @@ object({
|
|
|
23355
23355
|
/** The oldest `@camstack/server` this package runs on. */
|
|
23356
23356
|
server: MinVersionSchema.optional(),
|
|
23357
23357
|
/** The oldest installed version of each named addon package. */
|
|
23358
|
-
addons: record(string(), MinVersionSchema).optional(),
|
|
23358
|
+
addons: record$1(string(), MinVersionSchema).optional(),
|
|
23359
23359
|
/** The oldest shell around the server, per shell kind. */
|
|
23360
23360
|
wrapper: object({
|
|
23361
23361
|
desktop: MinVersionSchema.optional(),
|
|
@@ -23598,13 +23598,13 @@ var NotificationSchema = object({
|
|
|
23598
23598
|
tag: string().optional(),
|
|
23599
23599
|
deviceId: number$1().optional(),
|
|
23600
23600
|
eventId: string().optional(),
|
|
23601
|
-
metadata: record(string(), unknown()).optional(),
|
|
23601
|
+
metadata: record$1(string(), unknown()).optional(),
|
|
23602
23602
|
/**
|
|
23603
23603
|
* Values for the parameters the target's kind DECLARES in
|
|
23604
23604
|
* {@link TargetKindSchema} `deliveryParams`. Already validated against the
|
|
23605
23605
|
* declaration by the sender; a notifier reads only the keys it declared.
|
|
23606
23606
|
*/
|
|
23607
|
-
delivery: record(string(), DeliveryParamValueSchema).optional()
|
|
23607
|
+
delivery: record$1(string(), DeliveryParamValueSchema).optional()
|
|
23608
23608
|
});
|
|
23609
23609
|
/** One declared native severity/priority level for a kind. */
|
|
23610
23610
|
var TargetKindLevelSchema = object({
|
|
@@ -23755,13 +23755,13 @@ var TargetSchema = object({
|
|
|
23755
23755
|
kind: string(),
|
|
23756
23756
|
addonId: string(),
|
|
23757
23757
|
enabled: boolean(),
|
|
23758
|
-
config: record(string(), unknown())
|
|
23758
|
+
config: record$1(string(), unknown())
|
|
23759
23759
|
});
|
|
23760
23760
|
/** A discovery-surfaced candidate (config is partial + non-secret). */
|
|
23761
23761
|
var DiscoveredTargetSchema = object({
|
|
23762
23762
|
kind: string(),
|
|
23763
23763
|
suggestedName: string(),
|
|
23764
|
-
config: record(string(), unknown())
|
|
23764
|
+
config: record$1(string(), unknown())
|
|
23765
23765
|
});
|
|
23766
23766
|
/** The degrade engine's report — what was resolved / dropped / degraded. */
|
|
23767
23767
|
var RenderedAsSchema = object({
|
|
@@ -23792,7 +23792,7 @@ var ProbeTargetConfigResultSchema = object({
|
|
|
23792
23792
|
});
|
|
23793
23793
|
method(object({}), array(TargetKindSchema)), method(object({
|
|
23794
23794
|
kind: string(),
|
|
23795
|
-
config: record(string(), unknown()).optional(),
|
|
23795
|
+
config: record$1(string(), unknown()).optional(),
|
|
23796
23796
|
/**
|
|
23797
23797
|
* When editing / duplicating, the blank password field never round-trips
|
|
23798
23798
|
* the stored token. Pass the source target id so the provider can restore
|
|
@@ -23801,7 +23801,7 @@ method(object({}), array(TargetKindSchema)), method(object({
|
|
|
23801
23801
|
targetId: string().optional()
|
|
23802
23802
|
}), array(DiscoveredTargetSchema), { auth: "admin" }), method(object({
|
|
23803
23803
|
kind: string(),
|
|
23804
|
-
config: record(string(), unknown()),
|
|
23804
|
+
config: record$1(string(), unknown()),
|
|
23805
23805
|
/** See `discoverTargets.targetId` — restore stored secrets for a blank password. */
|
|
23806
23806
|
targetId: string().optional()
|
|
23807
23807
|
}), ProbeTargetConfigResultSchema, {
|
|
@@ -24284,14 +24284,14 @@ var CameraSwitchGroupSchema = object({
|
|
|
24284
24284
|
* Query filter for settings-store collections.
|
|
24285
24285
|
*/
|
|
24286
24286
|
var QueryFilterSchema = object({
|
|
24287
|
-
where: record(string(), unknown()).optional(),
|
|
24288
|
-
whereIn: record(string(), array(unknown())).optional(),
|
|
24289
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
24287
|
+
where: record$1(string(), unknown()).optional(),
|
|
24288
|
+
whereIn: record$1(string(), array(unknown())).optional(),
|
|
24289
|
+
whereBetween: record$1(string(), tuple([unknown(), unknown()])).optional(),
|
|
24290
24290
|
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
24291
|
-
whereNot: record(string(), unknown()).optional(),
|
|
24291
|
+
whereNot: record$1(string(), unknown()).optional(),
|
|
24292
24292
|
/** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
|
|
24293
24293
|
* empty list excludes nothing. See `QueryFilter.whereNotIn`. */
|
|
24294
|
-
whereNotIn: record(string(), array(unknown())).optional(),
|
|
24294
|
+
whereNotIn: record$1(string(), array(unknown())).optional(),
|
|
24295
24295
|
orderBy: object({
|
|
24296
24296
|
field: string(),
|
|
24297
24297
|
direction: _enum(["asc", "desc"])
|
|
@@ -24309,11 +24309,11 @@ var QueryFilterSchema = object({
|
|
|
24309
24309
|
* that compiles to no predicate, because that is the whole collection.
|
|
24310
24310
|
*/
|
|
24311
24311
|
var MutationFilterSchema = object({
|
|
24312
|
-
where: record(string(), unknown()).optional(),
|
|
24313
|
-
whereIn: record(string(), array(unknown())).optional(),
|
|
24314
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
24315
|
-
whereNot: record(string(), unknown()).optional(),
|
|
24316
|
-
whereNotIn: record(string(), array(unknown())).optional()
|
|
24312
|
+
where: record$1(string(), unknown()).optional(),
|
|
24313
|
+
whereIn: record$1(string(), array(unknown())).optional(),
|
|
24314
|
+
whereBetween: record$1(string(), tuple([unknown(), unknown()])).optional(),
|
|
24315
|
+
whereNot: record$1(string(), unknown()).optional(),
|
|
24316
|
+
whereNotIn: record$1(string(), array(unknown())).optional()
|
|
24317
24317
|
});
|
|
24318
24318
|
/**
|
|
24319
24319
|
* One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
|
|
@@ -24342,12 +24342,12 @@ var AggregateFieldSchema = object({
|
|
|
24342
24342
|
*/
|
|
24343
24343
|
var AggregateResultSchema = object({
|
|
24344
24344
|
count: number$1().int(),
|
|
24345
|
-
values: record(string(), number$1().nullable())
|
|
24345
|
+
values: record$1(string(), number$1().nullable())
|
|
24346
24346
|
});
|
|
24347
24347
|
/** A single stored record: `{ id, data }`. */
|
|
24348
24348
|
var SettingsRecordSchema = object({
|
|
24349
24349
|
id: string(),
|
|
24350
|
-
data: record(string(), unknown())
|
|
24350
|
+
data: record$1(string(), unknown())
|
|
24351
24351
|
});
|
|
24352
24352
|
/**
|
|
24353
24353
|
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
@@ -24360,7 +24360,7 @@ var SettingsRecordSchema = object({
|
|
|
24360
24360
|
*/
|
|
24361
24361
|
var BulkRecordSchema = object({
|
|
24362
24362
|
id: string().optional(),
|
|
24363
|
-
data: record(string(), unknown())
|
|
24363
|
+
data: record$1(string(), unknown())
|
|
24364
24364
|
});
|
|
24365
24365
|
/**
|
|
24366
24366
|
* The database FILES one `sqlite-settings` engine process owns (D851).
|
|
@@ -24395,7 +24395,7 @@ var TransactOpSchema = discriminatedUnion("op", [
|
|
|
24395
24395
|
op: literal("update"),
|
|
24396
24396
|
collection: string(),
|
|
24397
24397
|
id: string(),
|
|
24398
|
-
data: record(string(), unknown())
|
|
24398
|
+
data: record$1(string(), unknown())
|
|
24399
24399
|
}),
|
|
24400
24400
|
object({
|
|
24401
24401
|
op: literal("upsertMany"),
|
|
@@ -24519,7 +24519,7 @@ id: union([string(), number$1()]) }), {
|
|
|
24519
24519
|
collection: string(),
|
|
24520
24520
|
record: object({
|
|
24521
24521
|
id: string().optional(),
|
|
24522
|
-
data: record(string(), unknown())
|
|
24522
|
+
data: record$1(string(), unknown())
|
|
24523
24523
|
})
|
|
24524
24524
|
}), object({
|
|
24525
24525
|
/**
|
|
@@ -24551,7 +24551,7 @@ id: union([string(), number$1()]) }), {
|
|
|
24551
24551
|
namespace: string().optional(),
|
|
24552
24552
|
collection: string(),
|
|
24553
24553
|
id: string(),
|
|
24554
|
-
data: record(string(), unknown())
|
|
24554
|
+
data: record$1(string(), unknown())
|
|
24555
24555
|
}), _void(), {
|
|
24556
24556
|
kind: "mutation",
|
|
24557
24557
|
auth: "admin"
|
|
@@ -24573,7 +24573,7 @@ id: union([string(), number$1()]) }), {
|
|
|
24573
24573
|
namespace: string().optional(),
|
|
24574
24574
|
collection: string(),
|
|
24575
24575
|
filter: MutationFilterSchema,
|
|
24576
|
-
data: record(string(), unknown())
|
|
24576
|
+
data: record$1(string(), unknown())
|
|
24577
24577
|
}), object({ updated: number$1().int() }), {
|
|
24578
24578
|
kind: "mutation",
|
|
24579
24579
|
auth: "admin"
|
|
@@ -24764,7 +24764,7 @@ var MigrationPlanSchema = object({ edits: array(discriminatedUnion("op", [
|
|
|
24764
24764
|
object({
|
|
24765
24765
|
op: literal("setKeys"),
|
|
24766
24766
|
scope: string().min(1),
|
|
24767
|
-
values: record(string(), unknown()),
|
|
24767
|
+
values: record$1(string(), unknown()),
|
|
24768
24768
|
precondition: PreconditionSchema
|
|
24769
24769
|
}),
|
|
24770
24770
|
object({
|
|
@@ -24776,14 +24776,14 @@ var MigrationPlanSchema = object({ edits: array(discriminatedUnion("op", [
|
|
|
24776
24776
|
object({
|
|
24777
24777
|
op: literal("putRow"),
|
|
24778
24778
|
table: string().min(1),
|
|
24779
|
-
key: record(string(), unknown()),
|
|
24780
|
-
row: record(string(), unknown()),
|
|
24779
|
+
key: record$1(string(), unknown()),
|
|
24780
|
+
row: record$1(string(), unknown()),
|
|
24781
24781
|
precondition: PreconditionSchema
|
|
24782
24782
|
}),
|
|
24783
24783
|
object({
|
|
24784
24784
|
op: literal("deleteRow"),
|
|
24785
24785
|
table: string().min(1),
|
|
24786
|
-
key: record(string(), unknown()),
|
|
24786
|
+
key: record$1(string(), unknown()),
|
|
24787
24787
|
precondition: PreconditionSchema
|
|
24788
24788
|
}),
|
|
24789
24789
|
object({
|
|
@@ -24807,7 +24807,7 @@ var MigrationPlanSchema = object({ edits: array(discriminatedUnion("op", [
|
|
|
24807
24807
|
*/
|
|
24808
24808
|
var MigrationProcedureResultSchema = object({
|
|
24809
24809
|
outcome: _enum(["done", "already-done"]),
|
|
24810
|
-
summary: record(string(), unknown())
|
|
24810
|
+
summary: record$1(string(), unknown())
|
|
24811
24811
|
});
|
|
24812
24812
|
/** What an owner hands the engine when one of its migrations ran. */
|
|
24813
24813
|
var MigrationOwnerResultSchema = discriminatedUnion("kind", [
|
|
@@ -24848,8 +24848,8 @@ var MigrationLedgerEntrySchema = object({
|
|
|
24848
24848
|
appliedAt: number$1().nullable(),
|
|
24849
24849
|
codeVersion: string().nullable(),
|
|
24850
24850
|
/** What the apply changed: rows per table, as the engine counted them. */
|
|
24851
|
-
planSummary: record(string(), unknown()).nullable(),
|
|
24852
|
-
progress: record(string(), unknown()).nullable(),
|
|
24851
|
+
planSummary: record$1(string(), unknown()).nullable(),
|
|
24852
|
+
progress: record$1(string(), unknown()).nullable(),
|
|
24853
24853
|
error: string().nullable(),
|
|
24854
24854
|
/** Why it is `blocked` or `held` (`dependency-failed`, `snapshot-refused`, …). */
|
|
24855
24855
|
reason: string().nullable(),
|
|
@@ -25076,7 +25076,7 @@ var TrainingExportSchema = _enum([
|
|
|
25076
25076
|
"openvino-int8",
|
|
25077
25077
|
"coreml-fp16"
|
|
25078
25078
|
]);
|
|
25079
|
-
var FloorsSchema = record(string(), number$1().min(0).max(1));
|
|
25079
|
+
var FloorsSchema = record$1(string(), number$1().min(0).max(1));
|
|
25080
25080
|
object({
|
|
25081
25081
|
schema: literal(TRAINING_JOB_SCHEMA),
|
|
25082
25082
|
jobKey: string().uuid(),
|
|
@@ -25185,15 +25185,15 @@ var TrainingEvalClassSchema = object({
|
|
|
25185
25185
|
precision: number$1().nullable(),
|
|
25186
25186
|
recall: number$1().nullable(),
|
|
25187
25187
|
ap50: number$1().nullable(),
|
|
25188
|
-
recallByCamera: record(string(), number$1().nullable()).optional(),
|
|
25189
|
-
recallByLight: record(string(), number$1().nullable()).optional(),
|
|
25190
|
-
fpByCamera: record(string(), number$1()).optional(),
|
|
25188
|
+
recallByCamera: record$1(string(), number$1().nullable()).optional(),
|
|
25189
|
+
recallByLight: record$1(string(), number$1().nullable()).optional(),
|
|
25190
|
+
fpByCamera: record$1(string(), number$1()).optional(),
|
|
25191
25191
|
smallFound: number$1().int().optional(),
|
|
25192
25192
|
smallTotal: number$1().int().optional()
|
|
25193
25193
|
}).passthrough();
|
|
25194
25194
|
var TrainingEvalReportSchema = object({
|
|
25195
25195
|
frames: number$1().int(),
|
|
25196
|
-
classes: record(string(), TrainingEvalClassSchema)
|
|
25196
|
+
classes: record$1(string(), TrainingEvalClassSchema)
|
|
25197
25197
|
}).passthrough();
|
|
25198
25198
|
/**
|
|
25199
25199
|
* A succeeded result carries every block; a failed one carries the error and
|
|
@@ -25213,7 +25213,7 @@ var TrainingResultSchema = object({
|
|
|
25213
25213
|
version: string(),
|
|
25214
25214
|
revision: string()
|
|
25215
25215
|
}),
|
|
25216
|
-
toolchain: record(string(), string().nullable()),
|
|
25216
|
+
toolchain: record$1(string(), string().nullable()),
|
|
25217
25217
|
dataset: object({
|
|
25218
25218
|
versionId: string(),
|
|
25219
25219
|
annotationHash: string(),
|
|
@@ -25238,8 +25238,8 @@ var TrainingResultSchema = object({
|
|
|
25238
25238
|
baseline: TrainingEvalReportSchema.nullable(),
|
|
25239
25239
|
candidate: TrainingEvalReportSchema.nullable(),
|
|
25240
25240
|
candidateInt8: TrainingEvalReportSchema.nullable(),
|
|
25241
|
-
recallDeltaByCamera: record(string(), record(string(), number$1())).nullable(),
|
|
25242
|
-
map50: record(string(), number$1().nullable())
|
|
25241
|
+
recallDeltaByCamera: record$1(string(), record$1(string(), number$1())).nullable(),
|
|
25242
|
+
map50: record$1(string(), number$1().nullable())
|
|
25243
25243
|
}).optional(),
|
|
25244
25244
|
floors: object({
|
|
25245
25245
|
baseline: FloorsSchema,
|
|
@@ -25735,7 +25735,7 @@ var FIRST_LEVEL_MACRO_CLASSES = [
|
|
|
25735
25735
|
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
25736
25736
|
*/
|
|
25737
25737
|
var DetectionCatalogClassMapSchema = object({
|
|
25738
|
-
mapping: record(string(), _enum(CLASS_MAP_MACRO_TARGETS)),
|
|
25738
|
+
mapping: record$1(string(), _enum(CLASS_MAP_MACRO_TARGETS)),
|
|
25739
25739
|
preserveOriginal: boolean()
|
|
25740
25740
|
});
|
|
25741
25741
|
/**
|
|
@@ -26648,7 +26648,7 @@ var StorageLocationSchema = object({
|
|
|
26648
26648
|
type: string(),
|
|
26649
26649
|
displayName: string().min(1),
|
|
26650
26650
|
providerId: string().min(1),
|
|
26651
|
-
config: record(string(), unknown()),
|
|
26651
|
+
config: record$1(string(), unknown()),
|
|
26652
26652
|
/**
|
|
26653
26653
|
* Cluster node this location physically lives on. REQUIRED for node-local
|
|
26654
26654
|
* providers (filesystem — the path exists on one node's disk), null/absent
|
|
@@ -27209,7 +27209,7 @@ var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
|
27209
27209
|
object({
|
|
27210
27210
|
kind: literal("label"),
|
|
27211
27211
|
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
27212
|
-
labelToEffect: record(string(), string()),
|
|
27212
|
+
labelToEffect: record$1(string(), string()),
|
|
27213
27213
|
uncovered: array(string()).readonly()
|
|
27214
27214
|
}),
|
|
27215
27215
|
object({
|
|
@@ -27303,7 +27303,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
27303
27303
|
* model it was made for and does not survive a model change (D738). A custom
|
|
27304
27304
|
* / imported model may declare it; without it, the global defaults apply.
|
|
27305
27305
|
*/
|
|
27306
|
-
defaultClassFloors: record(string(), number$1().min(0).max(1)).optional(),
|
|
27306
|
+
defaultClassFloors: record$1(string(), number$1().min(0).max(1)).optional(),
|
|
27307
27307
|
/**
|
|
27308
27308
|
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
27309
27309
|
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
@@ -27322,7 +27322,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
27322
27322
|
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
27323
27323
|
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
27324
27324
|
*/
|
|
27325
|
-
suppliedLabelFloors: record(string(), number$1().min(0).max(1)).optional(),
|
|
27325
|
+
suppliedLabelFloors: record$1(string(), number$1().min(0).max(1)).optional(),
|
|
27326
27326
|
/**
|
|
27327
27327
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
27328
27328
|
* onto the canonical template) before this step runs, instead of a plain
|
|
@@ -27354,7 +27354,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
27354
27354
|
*/
|
|
27355
27355
|
metrics: object({
|
|
27356
27356
|
map50: number$1().optional(),
|
|
27357
|
-
p95LatencyMs: record(string(), number$1()).optional()
|
|
27357
|
+
p95LatencyMs: record$1(string(), number$1()).optional()
|
|
27358
27358
|
}).optional(),
|
|
27359
27359
|
/**
|
|
27360
27360
|
* The model's licence record — see {@link ModelLicenseSchema}. Optional in
|
|
@@ -27515,7 +27515,7 @@ var MethodAccessSchema = _enum([
|
|
|
27515
27515
|
* "give me everything" escape; there is no wildcard scope.
|
|
27516
27516
|
*/
|
|
27517
27517
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
27518
|
-
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
27518
|
+
var AllowedDevicesSchema = record$1(string(), union([literal("*"), array(string())]));
|
|
27519
27519
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
27520
27520
|
/**
|
|
27521
27521
|
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
@@ -27707,7 +27707,7 @@ object({
|
|
|
27707
27707
|
});
|
|
27708
27708
|
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
27709
27709
|
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
27710
|
-
var PreferenceValueSchema = record(string(), unknown());
|
|
27710
|
+
var PreferenceValueSchema = record$1(string(), unknown());
|
|
27711
27711
|
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
27712
27712
|
/** A stored row, as the owner reads it. */
|
|
27713
27713
|
var PreferenceRowSchema = object({
|
|
@@ -27747,7 +27747,7 @@ object({
|
|
|
27747
27747
|
deleted: boolean() });
|
|
27748
27748
|
object({
|
|
27749
27749
|
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
27750
|
-
revisionByNamespace: record(PreferenceNamespaceSchema, number$1().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
27750
|
+
revisionByNamespace: record$1(PreferenceNamespaceSchema, number$1().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
27751
27751
|
object({
|
|
27752
27752
|
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
27753
27753
|
rows: array(PreferenceRowSchema),
|
|
@@ -47957,7 +47957,7 @@ var TemplateEventValueSchema = object({
|
|
|
47957
47957
|
/** An `action` input's value: a vocabulary action and its open args. */
|
|
47958
47958
|
var TemplateActionValueSchema = object({
|
|
47959
47959
|
actionId: string().min(1),
|
|
47960
|
-
args: record(string(), unknown()).optional()
|
|
47960
|
+
args: record$1(string(), unknown()).optional()
|
|
47961
47961
|
});
|
|
47962
47962
|
/** The value of one non-group input. Which member is right is the input kind's to judge. */
|
|
47963
47963
|
var TemplateScalarValueSchema = union([
|
|
@@ -47968,9 +47968,9 @@ var TemplateScalarValueSchema = union([
|
|
|
47968
47968
|
TemplateEventValueSchema,
|
|
47969
47969
|
TemplateActionValueSchema
|
|
47970
47970
|
]);
|
|
47971
|
-
var TemplateInputValueSchema = union([TemplateScalarValueSchema, array(record(string(), TemplateScalarValueSchema))]);
|
|
47971
|
+
var TemplateInputValueSchema = union([TemplateScalarValueSchema, array(record$1(string(), TemplateScalarValueSchema))]);
|
|
47972
47972
|
/** Input key → value. */
|
|
47973
|
-
var TemplateInputValuesSchema = record(string(), TemplateInputValueSchema);
|
|
47973
|
+
var TemplateInputValuesSchema = record$1(string(), TemplateInputValueSchema);
|
|
47974
47974
|
var TemplateInstanceProblemSchema = object({
|
|
47975
47975
|
code: _enum([
|
|
47976
47976
|
"missing-input",
|
|
@@ -48024,7 +48024,7 @@ var ExpressionBindingSourceSchema = union([
|
|
|
48024
48024
|
]);
|
|
48025
48025
|
object({
|
|
48026
48026
|
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
48027
|
-
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
|
|
48027
|
+
bindings: record$1(string().regex(EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
|
|
48028
48028
|
}).superRefine((src, ctx) => {
|
|
48029
48029
|
const err = validateExpressionSource(src);
|
|
48030
48030
|
if (err !== null) ctx.addIssue({
|
|
@@ -48081,7 +48081,7 @@ var SourceInfoSchema = object({
|
|
|
48081
48081
|
/** Provider-specific extras that don't fit the structured slots.
|
|
48082
48082
|
* Whitelist what goes here per provider — do NOT dump entire HA
|
|
48083
48083
|
* attribute blobs (would explode the meta JSON column). */
|
|
48084
|
-
raw: record(string(), unknown()).optional()
|
|
48084
|
+
raw: record$1(string(), unknown()).optional()
|
|
48085
48085
|
});
|
|
48086
48086
|
/**
|
|
48087
48087
|
* Build the synthetic SourceInfo every existing provider falls back to
|
|
@@ -48769,7 +48769,7 @@ var TriggeredByLeafSchema = object({
|
|
|
48769
48769
|
var ExpressionLeafSchema = object({
|
|
48770
48770
|
kind: literal("expression"),
|
|
48771
48771
|
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
48772
|
-
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema),
|
|
48772
|
+
bindings: record$1(string().regex(EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema),
|
|
48773
48773
|
/** The expression must stay true this long. An expression has no single value, so only `held`. */
|
|
48774
48774
|
for: HoldSpecSchema.optional()
|
|
48775
48775
|
}).superRefine((src, ctx) => {
|
|
@@ -49040,7 +49040,7 @@ var LegacyStationaryPresentSchema = object({
|
|
|
49040
49040
|
var LegacyExpressionSchema = object({
|
|
49041
49041
|
kind: literal("expression"),
|
|
49042
49042
|
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
49043
|
-
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
|
|
49043
|
+
bindings: record$1(string().regex(EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
|
|
49044
49044
|
}).superRefine((src, ctx) => {
|
|
49045
49045
|
const err = validateExpressionSource(src);
|
|
49046
49046
|
if (err !== null) ctx.addIssue({
|
|
@@ -49187,13 +49187,13 @@ var AutomationCommandStepBaseSchema = object({
|
|
|
49187
49187
|
* may carry `{{vars.x}}` slots, or be exactly `{ $var: 'name' }`, which
|
|
49188
49188
|
* SUBSTITUTE and do not evaluate (§3.2.3).
|
|
49189
49189
|
*/
|
|
49190
|
-
args: record(string(), unknown()).optional(),
|
|
49190
|
+
args: record$1(string(), unknown()).optional(),
|
|
49191
49191
|
/**
|
|
49192
49192
|
* The unit the person picked per arg (display only). `args` always hold the
|
|
49193
49193
|
* value in the unit the method's input DECLARES (`paramMeta`); on a write an
|
|
49194
49194
|
* arg may be a {@link QuantityValue}, which the save boundary converts.
|
|
49195
49195
|
*/
|
|
49196
|
-
argUnits: record(string(), string().min(1)).optional()
|
|
49196
|
+
argUnits: record$1(string(), string().min(1)).optional()
|
|
49197
49197
|
});
|
|
49198
49198
|
/** The vocabulary check every command step passes: the action exists. */
|
|
49199
49199
|
function refineKnownAction(step, ctx) {
|
|
@@ -49271,7 +49271,7 @@ var RESERVED_RUN_VARS = [
|
|
|
49271
49271
|
*/
|
|
49272
49272
|
var AutomationSetStepSchema = object({
|
|
49273
49273
|
kind: literal("set"),
|
|
49274
|
-
vars: record(string(), union([
|
|
49274
|
+
vars: record$1(string(), union([
|
|
49275
49275
|
string().max(500),
|
|
49276
49276
|
number$1(),
|
|
49277
49277
|
boolean()
|
|
@@ -49284,7 +49284,7 @@ var AutomationRunActionStepSchema = object({
|
|
|
49284
49284
|
/** An entry of the `actions` surface (`internal:<uuid>` or `<addonId>:<localId>`). */
|
|
49285
49285
|
actionId: string().min(1),
|
|
49286
49286
|
/** Values for the action's declared variables; the others take their default. */
|
|
49287
|
-
variables: record(string(), union([
|
|
49287
|
+
variables: record$1(string(), union([
|
|
49288
49288
|
string(),
|
|
49289
49289
|
number$1(),
|
|
49290
49290
|
boolean()
|
|
@@ -49735,7 +49735,7 @@ var AutomationTriggerTraceSchema = object({
|
|
|
49735
49735
|
/** Why an event was rejected ("class person not in [dog]") or what fired. */
|
|
49736
49736
|
reason: string(),
|
|
49737
49737
|
/** deviceId, className, trackId, score … — only what the trigger exposes. */
|
|
49738
|
-
vars: record(string(), TraceValueSchema),
|
|
49738
|
+
vars: record$1(string(), TraceValueSchema),
|
|
49739
49739
|
/** A hold (`for`) this occurrence went through: pending, cancelled, fired or re-seeded. */
|
|
49740
49740
|
hold: HoldTraceSchema.optional()
|
|
49741
49741
|
});
|
|
@@ -49807,7 +49807,7 @@ var StepTraceBaseSchema = object({
|
|
|
49807
49807
|
* device was actually asked. Bounded like trigger `vars`; a secret parameter
|
|
49808
49808
|
* is shown as {@link REDACTED_ARG}. Absent on traces written before it existed.
|
|
49809
49809
|
*/
|
|
49810
|
-
args: record(string(), TraceValueSchema).optional(),
|
|
49810
|
+
args: record$1(string(), TraceValueSchema).optional(),
|
|
49811
49811
|
/**
|
|
49812
49812
|
* The device values a templated arg printed as `—`, one `ref: reason` each
|
|
49813
49813
|
* (D1021): why a sentence says "—" where a number was expected. Bounded.
|
|
@@ -49958,7 +49958,7 @@ var EventFireSchema = object({
|
|
|
49958
49958
|
deviceId: number$1(),
|
|
49959
49959
|
eventType: string(),
|
|
49960
49960
|
sourceId: string().optional(),
|
|
49961
|
-
data: record(string(), unknown()).nullable(),
|
|
49961
|
+
data: record$1(string(), unknown()).nullable(),
|
|
49962
49962
|
timestamp: number$1().meta(readingMeta("none")),
|
|
49963
49963
|
seq: number$1().meta(readingMeta("count"))
|
|
49964
49964
|
});
|
|
@@ -50359,7 +50359,7 @@ method(InstancePinSchema, DeviceExportStatusSchema), method(_void(), array(Expor
|
|
|
50359
50359
|
kind: "mutation",
|
|
50360
50360
|
auth: "admin"
|
|
50361
50361
|
});
|
|
50362
|
-
record(string(), string());
|
|
50362
|
+
record$1(string(), string());
|
|
50363
50363
|
_enum([
|
|
50364
50364
|
"automation",
|
|
50365
50365
|
"action",
|
|
@@ -50419,7 +50419,7 @@ DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Sensor, Devic
|
|
|
50419
50419
|
});
|
|
50420
50420
|
method(object({}), array(ActionEntrySchema), { auth: "admin" }), method(object({
|
|
50421
50421
|
actionId: string().min(1),
|
|
50422
|
-
variables: record(string(), ActionVariableValueSchema).optional()
|
|
50422
|
+
variables: record$1(string(), ActionVariableValueSchema).optional()
|
|
50423
50423
|
}), _void(), {
|
|
50424
50424
|
kind: "mutation",
|
|
50425
50425
|
auth: "admin"
|
|
@@ -50471,7 +50471,7 @@ method(object({}), array(ActionEntrySchema), { auth: "admin" }), method(object({
|
|
|
50471
50471
|
caller: "required"
|
|
50472
50472
|
}), method(object({
|
|
50473
50473
|
actionId: string().min(1),
|
|
50474
|
-
variables: record(string(), ActionVariableValueSchema).optional(),
|
|
50474
|
+
variables: record$1(string(), ActionVariableValueSchema).optional(),
|
|
50475
50475
|
wait: boolean().optional(),
|
|
50476
50476
|
origin: ActionRunOriginSchema.optional(),
|
|
50477
50477
|
deviceId: number$1().int().nonnegative().optional()
|
|
@@ -50573,10 +50573,10 @@ var AddonHttpRouteSchema = object({
|
|
|
50573
50573
|
var InvokeRequestSchema = object({
|
|
50574
50574
|
method: string(),
|
|
50575
50575
|
path: string(),
|
|
50576
|
-
params: record(string(), string()),
|
|
50577
|
-
query: record(string(), string()),
|
|
50576
|
+
params: record$1(string(), string()),
|
|
50577
|
+
query: record$1(string(), string()),
|
|
50578
50578
|
body: unknown(),
|
|
50579
|
-
headers: record(string(), string()),
|
|
50579
|
+
headers: record$1(string(), string()),
|
|
50580
50580
|
/** The instance the hub resolved for a `perInstance` route. */
|
|
50581
50581
|
instanceId: string().optional(),
|
|
50582
50582
|
user: object({
|
|
@@ -50588,7 +50588,7 @@ var InvokeRequestSchema = object({
|
|
|
50588
50588
|
});
|
|
50589
50589
|
var InvokeReplyEnvelopeSchema = object({
|
|
50590
50590
|
status: number$1().int(),
|
|
50591
|
-
headers: record(string(), string()),
|
|
50591
|
+
headers: record$1(string(), string()),
|
|
50592
50592
|
/** When set, the hub MUST `reply.redirect(redirectUrl)` instead of
|
|
50593
50593
|
* sending `body`. Status defaults to 302 when this is set unless
|
|
50594
50594
|
* the handler called `reply.code(...)` explicitly. */
|
|
@@ -50633,7 +50633,7 @@ var SettingsSchemaWithValuesSchema = object({
|
|
|
50633
50633
|
sections: array(ConfigSectionWithValuesSchema)
|
|
50634
50634
|
});
|
|
50635
50635
|
/** Patch object — keys are field names, values are the new field values. */
|
|
50636
|
-
var SettingsPatchSchema = record(string(), unknown());
|
|
50636
|
+
var SettingsPatchSchema = record$1(string(), unknown());
|
|
50637
50637
|
/** The scope of a scoped-settings call (D986): where the capability declared the values. */
|
|
50638
50638
|
var ScopedSettingsScopeSchema = _enum(SCOPED_SETTINGS_SCOPES);
|
|
50639
50639
|
/** One scoped schema an addon serves: its capability, scope and section ids. */
|
|
@@ -50666,7 +50666,7 @@ method(object({
|
|
|
50666
50666
|
cap: string(),
|
|
50667
50667
|
scope: ScopedSettingsScopeSchema,
|
|
50668
50668
|
nodeId: string().optional()
|
|
50669
|
-
}), record(string(), unknown()).nullable()), method(object({
|
|
50669
|
+
}), record$1(string(), unknown()).nullable()), method(object({
|
|
50670
50670
|
addonId: string(),
|
|
50671
50671
|
nodeId: string().optional()
|
|
50672
50672
|
}), object({ keys: array(string()) }).nullable(), { auth: "admin" }), method(object({
|
|
@@ -51793,7 +51793,7 @@ var AlertSeveritySchema = _enum([
|
|
|
51793
51793
|
var AlertActionInvokeSchema = object({
|
|
51794
51794
|
addonId: string().min(1),
|
|
51795
51795
|
action: string().min(1),
|
|
51796
|
-
input: record(string(), unknown()).optional()
|
|
51796
|
+
input: record$1(string(), unknown()).optional()
|
|
51797
51797
|
});
|
|
51798
51798
|
/** An action has `href` (a link) OR `invoke` (a button that runs a custom action). */
|
|
51799
51799
|
var AlertActionSchema = object({
|
|
@@ -51832,7 +51832,7 @@ var AlertSchema = object({
|
|
|
51832
51832
|
createdAt: number$1(),
|
|
51833
51833
|
updatedAt: number$1(),
|
|
51834
51834
|
source: AlertSourceSchema.optional(),
|
|
51835
|
-
metadata: record(string(), unknown()).optional()
|
|
51835
|
+
metadata: record$1(string(), unknown()).optional()
|
|
51836
51836
|
});
|
|
51837
51837
|
method(AlertSchema, _void(), { kind: "mutation" }), method(object({
|
|
51838
51838
|
alertId: string(),
|
|
@@ -52311,7 +52311,7 @@ var AuthResultSchema = object({
|
|
|
52311
52311
|
method(object({
|
|
52312
52312
|
username: string(),
|
|
52313
52313
|
password: string()
|
|
52314
|
-
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable()), NOT_A_DEVICE.IDENTITY;
|
|
52314
|
+
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record$1(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable()), NOT_A_DEVICE.IDENTITY;
|
|
52315
52315
|
/**
|
|
52316
52316
|
* Automation-control cap. Models HA `automation.*` entities on
|
|
52317
52317
|
* `DeviceType.Automation`. An automation is a trigger+condition+
|
|
@@ -53545,13 +53545,13 @@ var RegistryStatusSchema = object({
|
|
|
53545
53545
|
connectedCount: number$1().int().nonnegative()
|
|
53546
53546
|
});
|
|
53547
53547
|
var GetInputSchema = object({ id: string() });
|
|
53548
|
-
var SettingsRecordSchema$1 = record(string(), unknown());
|
|
53548
|
+
var SettingsRecordSchema$1 = record$1(string(), unknown());
|
|
53549
53549
|
var PublishInputSchema = object({
|
|
53550
53550
|
brokerId: string(),
|
|
53551
53551
|
/** Kind-specific routing target.
|
|
53552
53552
|
* MQTT: `{ topic: string, qos?: 0|1|2, retain?: boolean }`.
|
|
53553
53553
|
* HA: `{ domain: string, service: string, entityId?: string, area?: string }`. */
|
|
53554
|
-
target: record(string(), unknown()),
|
|
53554
|
+
target: record$1(string(), unknown()),
|
|
53555
53555
|
/** Kind-specific payload.
|
|
53556
53556
|
* MQTT: raw string / number / object (provider serialises).
|
|
53557
53557
|
* HA: service-call `data` object (transition, brightness, …). */
|
|
@@ -53562,7 +53562,7 @@ var SubscribeInputSchema = object({
|
|
|
53562
53562
|
/** Kind-specific filter.
|
|
53563
53563
|
* MQTT: `{ topic: string, qos?: 0|1|2 }` — topic can include wildcards.
|
|
53564
53564
|
* HA: `{ entityIds: string[] }` or `{ domain: string }`. */
|
|
53565
|
-
filter: record(string(), unknown())
|
|
53565
|
+
filter: record$1(string(), unknown())
|
|
53566
53566
|
});
|
|
53567
53567
|
var SubscribeResultSchema = object({
|
|
53568
53568
|
/** Stable subscription id. Used to unsubscribe and to filter the
|
|
@@ -53689,7 +53689,7 @@ var CalendarPreferenceEntrySchema = object({
|
|
|
53689
53689
|
/** Absent or cleared → fall back to the system {@link CalendarEntry.defaultColor}. */
|
|
53690
53690
|
color: CalendarColorSchema.optional()
|
|
53691
53691
|
});
|
|
53692
|
-
var CalendarPreferencesSchema = object({ calendars: record(string(), CalendarPreferenceEntrySchema) });
|
|
53692
|
+
var CalendarPreferencesSchema = object({ calendars: record$1(string(), CalendarPreferenceEntrySchema) });
|
|
53693
53693
|
var CalendarSetPreferenceInputSchema = object({
|
|
53694
53694
|
calendarId: string().min(1),
|
|
53695
53695
|
visible: boolean().optional(),
|
|
@@ -54088,7 +54088,7 @@ var BrokerConsumerAttributionSchema = object({
|
|
|
54088
54088
|
/** Higher-level session identifier (Alexa Echo sessionId, HAP session, …). */
|
|
54089
54089
|
sessionId: string().optional(),
|
|
54090
54090
|
/** Free-form key/value extras (e.g. clientHints from a WebRTC offer). */
|
|
54091
|
-
extra: record(string(), string()).optional()
|
|
54091
|
+
extra: record$1(string(), string()).optional()
|
|
54092
54092
|
}).readonly();
|
|
54093
54093
|
var BrokerEncodedClientSchema = object({
|
|
54094
54094
|
/** Stable id assigned on attach; used by `killClient`. */
|
|
@@ -54351,7 +54351,7 @@ method(object({
|
|
|
54351
54351
|
autoEligible: boolean().optional(),
|
|
54352
54352
|
/** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
|
|
54353
54353
|
profileHint: CamProfileSchema.optional(),
|
|
54354
|
-
metadata: record(string(), unknown()).optional(),
|
|
54354
|
+
metadata: record$1(string(), unknown()).optional(),
|
|
54355
54355
|
/** Required when kind === 'derived' — the source camStreamId the
|
|
54356
54356
|
* derived broker reads its encoded plane from.
|
|
54357
54357
|
* The runtime guard (broker manager, Task 10) enforces presence for
|
|
@@ -58139,7 +58139,7 @@ var CustomizeTransformDraftSchema = discriminatedUnion("kind", [
|
|
|
58139
58139
|
}),
|
|
58140
58140
|
object({
|
|
58141
58141
|
kind: literal("enum-map"),
|
|
58142
|
-
mapping: record(string(), string().nullable())
|
|
58142
|
+
mapping: record$1(string(), string().nullable())
|
|
58143
58143
|
}),
|
|
58144
58144
|
object({ kind: literal("number") })
|
|
58145
58145
|
]);
|
|
@@ -58320,7 +58320,7 @@ var CoreBlockStatusSchema = _enum([
|
|
|
58320
58320
|
"failed"
|
|
58321
58321
|
]);
|
|
58322
58322
|
/** path → TypeScript source for a multi-file block. */
|
|
58323
|
-
var CoreBlockFilesSchema = record(string().min(1).max(260), string().max(2e5));
|
|
58323
|
+
var CoreBlockFilesSchema = record$1(string().min(1).max(260), string().max(2e5));
|
|
58324
58324
|
/**
|
|
58325
58325
|
* A block's settings form — the same ConfigUISchema addons declare.
|
|
58326
58326
|
* Loose on the wire (field variants are polymorphic); typed for callers.
|
|
@@ -58956,7 +58956,7 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
58956
58956
|
collection: string(),
|
|
58957
58957
|
record: object({
|
|
58958
58958
|
id: string().optional(),
|
|
58959
|
-
data: record(string(), unknown())
|
|
58959
|
+
data: record$1(string(), unknown())
|
|
58960
58960
|
})
|
|
58961
58961
|
}), object({
|
|
58962
58962
|
/**
|
|
@@ -59004,7 +59004,7 @@ id: union([string(), number$1()]) }), {
|
|
|
59004
59004
|
namespace: string().optional(),
|
|
59005
59005
|
collection: string(),
|
|
59006
59006
|
id: string(),
|
|
59007
|
-
data: record(string(), unknown())
|
|
59007
|
+
data: record$1(string(), unknown())
|
|
59008
59008
|
}), _void(), {
|
|
59009
59009
|
kind: "mutation",
|
|
59010
59010
|
auth: "admin"
|
|
@@ -59026,7 +59026,7 @@ id: union([string(), number$1()]) }), {
|
|
|
59026
59026
|
namespace: string().optional(),
|
|
59027
59027
|
collection: string(),
|
|
59028
59028
|
filter: MutationFilterSchema,
|
|
59029
|
-
data: record(string(), unknown())
|
|
59029
|
+
data: record$1(string(), unknown())
|
|
59030
59030
|
}), object({ updated: number$1().int() }), {
|
|
59031
59031
|
kind: "mutation",
|
|
59032
59032
|
auth: "admin"
|
|
@@ -59527,7 +59527,7 @@ var AdoptInputSchema = object({
|
|
|
59527
59527
|
* area) into CamStack — fuzzy-match an existing location or create it, then
|
|
59528
59528
|
* assign. Omitted/false = no location work (back-compat). */
|
|
59529
59529
|
importLocations: boolean().optional(),
|
|
59530
|
-
perCandidate: record(string(), PerCandidateSchema).optional()
|
|
59530
|
+
perCandidate: record$1(string(), PerCandidateSchema).optional()
|
|
59531
59531
|
});
|
|
59532
59532
|
var AdoptResultSchema = object({ adopted: array(object({
|
|
59533
59533
|
childNativeId: string(),
|
|
@@ -59664,7 +59664,7 @@ var DeviceTemplateValueSchema = union([
|
|
|
59664
59664
|
*/
|
|
59665
59665
|
var DeviceTemplateThisDeviceSchema = object({
|
|
59666
59666
|
deviceId: number$1().int(),
|
|
59667
|
-
values: record(string().min(1).max(64), DeviceTemplateValueSchema).optional()
|
|
59667
|
+
values: record$1(string().min(1).max(64), DeviceTemplateValueSchema).optional()
|
|
59668
59668
|
});
|
|
59669
59669
|
var DeviceTemplateRefusalSchema = object({
|
|
59670
59670
|
reason: _enum([
|
|
@@ -59860,7 +59860,7 @@ object({
|
|
|
59860
59860
|
externalId: string(),
|
|
59861
59861
|
name: string(),
|
|
59862
59862
|
type: string(),
|
|
59863
|
-
metadata: record(string(), unknown()).optional()
|
|
59863
|
+
metadata: record$1(string(), unknown()).optional()
|
|
59864
59864
|
});
|
|
59865
59865
|
/**
|
|
59866
59866
|
* HOW a provider can be found on the network. The provider only DECLARES the
|
|
@@ -59918,7 +59918,7 @@ var DiscoveryHitSchema = object({
|
|
|
59918
59918
|
port: number$1().int(),
|
|
59919
59919
|
http: object({
|
|
59920
59920
|
status: number$1().int(),
|
|
59921
|
-
headers: record(string(), string()),
|
|
59921
|
+
headers: record$1(string(), string()),
|
|
59922
59922
|
/** At most 16 KiB. */
|
|
59923
59923
|
bodyText: string()
|
|
59924
59924
|
}).optional(),
|
|
@@ -59926,7 +59926,7 @@ var DiscoveryHitSchema = object({
|
|
|
59926
59926
|
instance: string(),
|
|
59927
59927
|
host: string(),
|
|
59928
59928
|
port: number$1().int(),
|
|
59929
|
-
txt: record(string(), string())
|
|
59929
|
+
txt: record$1(string(), string())
|
|
59930
59930
|
}).optional(),
|
|
59931
59931
|
udp: object({ payloadHex: string() }).optional(),
|
|
59932
59932
|
wsd: object({
|
|
@@ -59944,7 +59944,7 @@ var DiscoveryCandidateSchema = object({
|
|
|
59944
59944
|
stableId: string(),
|
|
59945
59945
|
type: _enum(DeviceType),
|
|
59946
59946
|
suggestedName: string(),
|
|
59947
|
-
prefilledConfig: record(string(), unknown()),
|
|
59947
|
+
prefilledConfig: record$1(string(), unknown()),
|
|
59948
59948
|
/**
|
|
59949
59949
|
* Optional upstream-system identity (HA entity_id, vendor MAC, …).
|
|
59950
59950
|
* Discovery pre-populates this for systems that know the upstream
|
|
@@ -60003,7 +60003,7 @@ var DeviceSummarySchema = object({
|
|
|
60003
60003
|
parentDeviceId: number$1().nullable(),
|
|
60004
60004
|
online: boolean(),
|
|
60005
60005
|
features: array(string()),
|
|
60006
|
-
config: record(string(), unknown()),
|
|
60006
|
+
config: record$1(string(), unknown()),
|
|
60007
60007
|
/** Optional upstream-system identity (dispatch key + system tag).
|
|
60008
60008
|
* See `SourceInfo`. Present when the device has a non-synthetic
|
|
60009
60009
|
* source identifier (HA entities, vendor MAC, …); omitted when the
|
|
@@ -60079,7 +60079,7 @@ var deviceProviderCapability = {
|
|
|
60079
60079
|
* shaped by `getDiscoveryParamsSchema`. Omitted for the generic scan
|
|
60080
60080
|
* (provider uses its local-network default).
|
|
60081
60081
|
*/
|
|
60082
|
-
discoverDevices: method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
60082
|
+
discoverDevices: method(object({ params: record$1(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
60083
60083
|
kind: "mutation",
|
|
60084
60084
|
auth: "admin"
|
|
60085
60085
|
}),
|
|
@@ -60096,7 +60096,7 @@ var deviceProviderCapability = {
|
|
|
60096
60096
|
*/
|
|
60097
60097
|
classifyDiscoveryHits: method(object({
|
|
60098
60098
|
hits: array(DiscoveryHitSchema),
|
|
60099
|
-
params: record(string(), unknown()).optional()
|
|
60099
|
+
params: record$1(string(), unknown()).optional()
|
|
60100
60100
|
}), array(DiscoveryCandidateSchema), {
|
|
60101
60101
|
kind: "mutation",
|
|
60102
60102
|
auth: "admin"
|
|
@@ -60139,7 +60139,7 @@ integrationId: string().optional() }), object({ deviceType: _enum(DeviceType).nu
|
|
|
60139
60139
|
}), CreationSchemaOutputSchema),
|
|
60140
60140
|
createDevice: method(object({
|
|
60141
60141
|
type: _enum(DeviceType),
|
|
60142
|
-
config: record(string(), unknown()),
|
|
60142
|
+
config: record$1(string(), unknown()),
|
|
60143
60143
|
/** The integration the operator adds the device to; a provider with several instances needs it. */
|
|
60144
60144
|
integrationId: string().optional()
|
|
60145
60145
|
}), DeviceSummarySchema, {
|
|
@@ -60162,7 +60162,7 @@ integrationId: string().optional() }), object({ deviceType: _enum(DeviceType).nu
|
|
|
60162
60162
|
type: _enum(DeviceType),
|
|
60163
60163
|
key: string(),
|
|
60164
60164
|
value: unknown(),
|
|
60165
|
-
formValues: record(string(), unknown()).optional()
|
|
60165
|
+
formValues: record$1(string(), unknown()).optional()
|
|
60166
60166
|
}), FieldProbeResultSchema, {
|
|
60167
60167
|
kind: "mutation",
|
|
60168
60168
|
auth: "admin"
|
|
@@ -60184,7 +60184,7 @@ var DiscoveryObservationSchema = discriminatedUnion("kind", [object({
|
|
|
60184
60184
|
/** The A record address when the announcement carried one. */
|
|
60185
60185
|
address: string().nullable(),
|
|
60186
60186
|
port: number$1().int(),
|
|
60187
|
-
txt: record(string(), string())
|
|
60187
|
+
txt: record$1(string(), string())
|
|
60188
60188
|
}), object({
|
|
60189
60189
|
kind: literal("ssdp"),
|
|
60190
60190
|
/** Sender address of the datagram. */
|
|
@@ -60192,7 +60192,7 @@ var DiscoveryObservationSchema = discriminatedUnion("kind", [object({
|
|
|
60192
60192
|
port: number$1().int(),
|
|
60193
60193
|
/** `NT` of a NOTIFY, `ST` of a search response. */
|
|
60194
60194
|
target: string(),
|
|
60195
|
-
headers: record(string(), string())
|
|
60195
|
+
headers: record$1(string(), string())
|
|
60196
60196
|
})]);
|
|
60197
60197
|
object({
|
|
60198
60198
|
addonId: string(),
|
|
@@ -60253,7 +60253,7 @@ var DeviceDisplayOverrideSchema = object({
|
|
|
60253
60253
|
unit: string().min(1).optional(),
|
|
60254
60254
|
precision: number$1().int().min(0).max(10).optional(),
|
|
60255
60255
|
hidden: boolean().optional(),
|
|
60256
|
-
perCap: record(string(), DeviceCapDisplayOverrideSchema).optional()
|
|
60256
|
+
perCap: record$1(string(), DeviceCapDisplayOverrideSchema).optional()
|
|
60257
60257
|
});
|
|
60258
60258
|
/** Cap-wire shape of a per-role display default — mirrors `RoleDisplayDefault`
|
|
60259
60259
|
* in `device-management.ts`. Keyed by `DeviceRole` string (role strings cross
|
|
@@ -60303,14 +60303,14 @@ var DeviceInfoSchema = object({
|
|
|
60303
60303
|
/** true when the device has a getStreamSources() method (ICameraDevice) */
|
|
60304
60304
|
isCamera: boolean(),
|
|
60305
60305
|
/** Current config values — serializable snapshot */
|
|
60306
|
-
config: record(string(), unknown()),
|
|
60306
|
+
config: record$1(string(), unknown()),
|
|
60307
60307
|
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
60308
60308
|
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
60309
60309
|
* when the owning runner has not reported them. */
|
|
60310
60310
|
secretConfigPaths: array(string()).optional(),
|
|
60311
60311
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
60312
60312
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
60313
|
-
metadata: record(string(), unknown()).nullable().optional(),
|
|
60313
|
+
metadata: record$1(string(), unknown()).nullable().optional(),
|
|
60314
60314
|
/** Optional upstream-system identity + rendering envelope. See
|
|
60315
60315
|
* `SourceInfo` in `packages/types/src/device/source-info.ts`. */
|
|
60316
60316
|
sourceInfo: SourceInfoSchema.optional(),
|
|
@@ -60457,7 +60457,7 @@ var DeviceMetaSchema = object({
|
|
|
60457
60457
|
location: string().nullable(),
|
|
60458
60458
|
disabled: boolean(),
|
|
60459
60459
|
parentDeviceId: number$1().nullable(),
|
|
60460
|
-
metadata: record(string(), unknown()).nullable().optional(),
|
|
60460
|
+
metadata: record$1(string(), unknown()).nullable().optional(),
|
|
60461
60461
|
/** Optional upstream-system identity + rendering envelope. See
|
|
60462
60462
|
* `SourceInfo`. Present when the device has been persisted with a
|
|
60463
60463
|
* non-synthetic source identifier (HA entities, vendor MAC, …);
|
|
@@ -60521,7 +60521,7 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
60521
60521
|
* call (workers re-register on init), so probe-driven updates
|
|
60522
60522
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
60523
60523
|
features: array(string()).optional(),
|
|
60524
|
-
config: record(string(), unknown()),
|
|
60524
|
+
config: record$1(string(), unknown()),
|
|
60525
60525
|
/** Config paths the device's own schema DECLARES secret
|
|
60526
60526
|
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
60527
60527
|
* `connection.password`). Re-published on every register; the non-admin
|
|
@@ -60542,7 +60542,7 @@ var DeviceTombstoneSchema = object({
|
|
|
60542
60542
|
var OrphanDeviceDataSchema = object({
|
|
60543
60543
|
deviceId: number$1().int().positive(),
|
|
60544
60544
|
/** Rows/files per store (`<addonId>:<store>`). */
|
|
60545
|
-
stores: record(string(), number$1().int().nonnegative())
|
|
60545
|
+
stores: record$1(string(), number$1().int().nonnegative())
|
|
60546
60546
|
});
|
|
60547
60547
|
var CleanupDeletedDevicesResultSchema = object({
|
|
60548
60548
|
/**
|
|
@@ -60564,7 +60564,7 @@ var CleanupDeletedDevicesResultSchema = object({
|
|
|
60564
60564
|
var DeviceRemovePayloadSchema = object({ deviceId: number$1() });
|
|
60565
60565
|
var DevicePersistConfigPayloadSchema = object({
|
|
60566
60566
|
deviceId: number$1(),
|
|
60567
|
-
data: record(string(), unknown()),
|
|
60567
|
+
data: record$1(string(), unknown()),
|
|
60568
60568
|
/** The paths the device's schema declares secret (D783), when the caller
|
|
60569
60569
|
* knows them — those values are kept in the keychain, not the blob (D787).
|
|
60570
60570
|
* Absent: the paths the device last reported at `registerDevice` apply. */
|
|
@@ -60606,7 +60606,7 @@ method(object({
|
|
|
60606
60606
|
}), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), {
|
|
60607
60607
|
kind: "mutation",
|
|
60608
60608
|
auth: "admin"
|
|
60609
|
-
}), method(object({ deviceId: number$1() }), record(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number$1() }), record(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number$1() }), DeviceMetaSchema.nullable()), method(object({
|
|
60609
|
+
}), method(object({ deviceId: number$1() }), record$1(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number$1() }), record$1(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number$1() }), DeviceMetaSchema.nullable()), method(object({
|
|
60610
60610
|
deviceId: number$1(),
|
|
60611
60611
|
name: string(),
|
|
60612
60612
|
/**
|
|
@@ -60708,10 +60708,10 @@ method(object({
|
|
|
60708
60708
|
}), _void(), {
|
|
60709
60709
|
kind: "mutation",
|
|
60710
60710
|
auth: "admin"
|
|
60711
|
-
}), method(object({}), object({ defaults: record(string(), RoleDisplayDefaultSchema) }), {
|
|
60711
|
+
}), method(object({}), object({ defaults: record$1(string(), RoleDisplayDefaultSchema) }), {
|
|
60712
60712
|
role: "viewer",
|
|
60713
60713
|
kind: "query"
|
|
60714
|
-
}), method(object({ defaults: record(string(), RoleDisplayDefaultSchema) }), _void(), {
|
|
60714
|
+
}), method(object({ defaults: record$1(string(), RoleDisplayDefaultSchema) }), _void(), {
|
|
60715
60715
|
kind: "mutation",
|
|
60716
60716
|
auth: "admin"
|
|
60717
60717
|
}), method(object({
|
|
@@ -60760,7 +60760,7 @@ method(object({
|
|
|
60760
60760
|
auth: "admin"
|
|
60761
60761
|
}), method(object({
|
|
60762
60762
|
deviceId: number$1(),
|
|
60763
|
-
patch: record(string(), unknown())
|
|
60763
|
+
patch: record$1(string(), unknown())
|
|
60764
60764
|
}), _void(), {
|
|
60765
60765
|
kind: "mutation",
|
|
60766
60766
|
auth: "admin"
|
|
@@ -60845,12 +60845,12 @@ method(object({
|
|
|
60845
60845
|
* it answers today and the caller filters as it already does.
|
|
60846
60846
|
*/
|
|
60847
60847
|
deviceIds: array(number$1()).optional()
|
|
60848
|
-
}), array(DeviceInfoSchema), { role: "viewer" }), method(DeviceSearchInputSchema, DeviceSearchResultSchema, { role: "viewer" }), method(object({ deviceId: number$1() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number$1() }), array(DeviceInfoSchema), { role: "viewer" }), method(object({ parentDeviceIds: array(number$1()).max(256) }), record(string(), array(DeviceInfoSchema))), method(object({ deviceId: number$1() }), object({
|
|
60848
|
+
}), array(DeviceInfoSchema), { role: "viewer" }), method(DeviceSearchInputSchema, DeviceSearchResultSchema, { role: "viewer" }), method(object({ deviceId: number$1() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number$1() }), array(DeviceInfoSchema), { role: "viewer" }), method(object({ parentDeviceIds: array(number$1()).max(256) }), record$1(string(), array(DeviceInfoSchema))), method(object({ deviceId: number$1() }), object({
|
|
60849
60849
|
mode: LinkedDevicesModeSchema,
|
|
60850
60850
|
devices: array(LinkedDeviceSchema)
|
|
60851
60851
|
}), { role: "viewer" }), method(object({ deviceIds: array(number$1()) }), array(LinkedDevicesForDeviceSchema), { role: "viewer" }), method(object({ deviceId: number$1() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number$1() }), array(ConfigEntrySchema)), method(object({ deviceId: number$1() }), ConfigUISchemaOutput), method(object({
|
|
60852
60852
|
deviceId: number$1(),
|
|
60853
|
-
values: record(string(), unknown())
|
|
60853
|
+
values: record$1(string(), unknown())
|
|
60854
60854
|
}), object({ success: literal(true) }), {
|
|
60855
60855
|
kind: "mutation",
|
|
60856
60856
|
auth: "admin"
|
|
@@ -60869,9 +60869,9 @@ method(object({
|
|
|
60869
60869
|
}), method(object({ integrationId: string() }), object({ removed: number$1() }), {
|
|
60870
60870
|
kind: "mutation",
|
|
60871
60871
|
auth: "admin"
|
|
60872
|
-
}), method(object({ deviceId: number$1() }), record(string(), string().nullable())), method(object({
|
|
60872
|
+
}), method(object({ deviceId: number$1() }), record$1(string(), string().nullable())), method(object({
|
|
60873
60873
|
deviceId: number$1(),
|
|
60874
|
-
profileMap: record(string(), string().nullable())
|
|
60874
|
+
profileMap: record$1(string(), string().nullable())
|
|
60875
60875
|
}), object({ success: literal(true) }), {
|
|
60876
60876
|
kind: "mutation",
|
|
60877
60877
|
auth: "admin"
|
|
@@ -60948,7 +60948,7 @@ method(object({
|
|
|
60948
60948
|
}), unknown().nullable()), method(object({
|
|
60949
60949
|
addonId: string(),
|
|
60950
60950
|
type: _enum(DeviceType),
|
|
60951
|
-
config: record(string(), unknown()),
|
|
60951
|
+
config: record$1(string(), unknown()),
|
|
60952
60952
|
/** Owning integration id, stamped onto the new device's meta by the
|
|
60953
60953
|
* device-manager forwarder so `removeByIntegration` can cascade it.
|
|
60954
60954
|
* Optional for back-compat (omitted = no stamp = pre-existing behavior). */
|
|
@@ -60961,7 +60961,7 @@ method(object({
|
|
|
60961
60961
|
type: _enum(DeviceType),
|
|
60962
60962
|
key: string(),
|
|
60963
60963
|
value: unknown(),
|
|
60964
|
-
formValues: record(string(), unknown()).optional()
|
|
60964
|
+
formValues: record$1(string(), unknown()).optional()
|
|
60965
60965
|
}), FieldProbeResultSchema, {
|
|
60966
60966
|
kind: "mutation",
|
|
60967
60967
|
auth: "admin"
|
|
@@ -61010,7 +61010,7 @@ method(object({
|
|
|
61010
61010
|
}
|
|
61011
61011
|
), method(object({
|
|
61012
61012
|
addonId: string(),
|
|
61013
|
-
params: record(string(), unknown()).optional(),
|
|
61013
|
+
params: record$1(string(), unknown()).optional(),
|
|
61014
61014
|
subnets: array(string()).optional()
|
|
61015
61015
|
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
61016
61016
|
kind: "mutation",
|
|
@@ -61042,10 +61042,10 @@ method(object({
|
|
|
61042
61042
|
}), method(object({
|
|
61043
61043
|
deviceId: number$1(),
|
|
61044
61044
|
caps: array(string()).readonly().optional()
|
|
61045
|
-
}), record(string(), unknown().nullable())), method(object({
|
|
61045
|
+
}), record$1(string(), unknown().nullable())), method(object({
|
|
61046
61046
|
deviceIds: array(number$1()).readonly(),
|
|
61047
61047
|
caps: array(string()).readonly().optional()
|
|
61048
|
-
}), record(string(), record(string(), unknown().nullable())), { role: "viewer" });
|
|
61048
|
+
}), record$1(string(), record$1(string(), unknown().nullable())), { role: "viewer" });
|
|
61049
61049
|
var ExtensionSlotIdSchema = _enum(["linked-devices"]);
|
|
61050
61050
|
DeviceType.Camera;
|
|
61051
61051
|
/** A slot's editable value, discriminated on `slot`. */
|
|
@@ -61266,7 +61266,7 @@ var QueryPointSchema = object({
|
|
|
61266
61266
|
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
61267
61267
|
state: string().nullable(),
|
|
61268
61268
|
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
61269
|
-
states: record(string(), number$1()).nullable()
|
|
61269
|
+
states: record$1(string(), number$1()).nullable()
|
|
61270
61270
|
});
|
|
61271
61271
|
var QuerySeriesSchema = object({
|
|
61272
61272
|
scope: string(),
|
|
@@ -61387,11 +61387,11 @@ var DeviceHistoryStatusSchema = object({
|
|
|
61387
61387
|
lastReconcileAt: number$1().nullable(),
|
|
61388
61388
|
lastFlushAt: number$1().nullable(),
|
|
61389
61389
|
flushFailures: number$1().int(),
|
|
61390
|
-
skipped: record(string(), number$1().int())
|
|
61390
|
+
skipped: record$1(string(), number$1().int())
|
|
61391
61391
|
}),
|
|
61392
61392
|
ingest: object({
|
|
61393
61393
|
accepted: number$1().int(),
|
|
61394
|
-
refused: record(string(), number$1().int())
|
|
61394
|
+
refused: record$1(string(), number$1().int())
|
|
61395
61395
|
}),
|
|
61396
61396
|
rollup: object({
|
|
61397
61397
|
last5mAt: number$1().nullable(),
|
|
@@ -61404,7 +61404,7 @@ var DeviceHistoryStatusSchema = object({
|
|
|
61404
61404
|
}),
|
|
61405
61405
|
retention: object({
|
|
61406
61406
|
lastRunAt: number$1().nullable(),
|
|
61407
|
-
deleted: record(string(), number$1().int()),
|
|
61407
|
+
deleted: record$1(string(), number$1().int()),
|
|
61408
61408
|
purgedSeries: number$1().int()
|
|
61409
61409
|
}),
|
|
61410
61410
|
directory: object({
|
|
@@ -61521,7 +61521,7 @@ var DeviceRemovedInputSchema = object({
|
|
|
61521
61521
|
providerAddonId: string()
|
|
61522
61522
|
});
|
|
61523
61523
|
/** Rows/files/refs deleted, per store this implementer owns. */
|
|
61524
|
-
var DeviceRemovedResultSchema = object({ counts: record(string(), number$1().int().nonnegative()) });
|
|
61524
|
+
var DeviceRemovedResultSchema = object({ counts: record$1(string(), number$1().int().nonnegative()) });
|
|
61525
61525
|
/** One (store, device) pair an implementer holds data for. */
|
|
61526
61526
|
var DeviceDataEntrySchema = object({
|
|
61527
61527
|
store: string(),
|
|
@@ -61674,20 +61674,20 @@ var ClaimsListingSchema = discriminatedUnion("state", [object({
|
|
|
61674
61674
|
state: literal("not-loaded"),
|
|
61675
61675
|
reason: string()
|
|
61676
61676
|
})]);
|
|
61677
|
-
method(object({ deviceId: number$1() }), record(string(), record(string(), unknown()))), method(object({
|
|
61677
|
+
method(object({ deviceId: number$1() }), record$1(string(), record$1(string(), unknown()))), method(object({
|
|
61678
61678
|
deviceId: number$1(),
|
|
61679
61679
|
capName: string()
|
|
61680
|
-
}), record(string(), unknown()).nullable()), method(object({}), record(string(), record(string(), record(string(), unknown())))), method(object({
|
|
61680
|
+
}), record$1(string(), unknown()).nullable()), method(object({}), record$1(string(), record$1(string(), record$1(string(), unknown())))), method(object({
|
|
61681
61681
|
deviceId: number$1(),
|
|
61682
61682
|
capName: string(),
|
|
61683
|
-
slice: record(string(), unknown())
|
|
61683
|
+
slice: record$1(string(), unknown())
|
|
61684
61684
|
}), _void(), { kind: "mutation" }), method(object({
|
|
61685
61685
|
deviceId: number$1(),
|
|
61686
61686
|
capName: string(),
|
|
61687
61687
|
owner: string().min(1),
|
|
61688
61688
|
mode: FieldClaimModeSchema,
|
|
61689
61689
|
fields: array(string().min(1)).min(1),
|
|
61690
|
-
values: record(string(), unknown())
|
|
61690
|
+
values: record$1(string(), unknown())
|
|
61691
61691
|
}), ClaimOutcomeSchema, {
|
|
61692
61692
|
kind: "mutation",
|
|
61693
61693
|
auth: "admin"
|
|
@@ -61695,7 +61695,7 @@ method(object({ deviceId: number$1() }), record(string(), record(string(), unkno
|
|
|
61695
61695
|
deviceId: number$1(),
|
|
61696
61696
|
capName: string(),
|
|
61697
61697
|
owner: string().min(1),
|
|
61698
|
-
values: record(string(), unknown())
|
|
61698
|
+
values: record$1(string(), unknown())
|
|
61699
61699
|
}), ClaimOutcomeSchema, {
|
|
61700
61700
|
kind: "mutation",
|
|
61701
61701
|
auth: "admin"
|
|
@@ -61709,10 +61709,10 @@ method(object({ deviceId: number$1() }), record(string(), record(string(), unkno
|
|
|
61709
61709
|
}), method(object({ ownerPrefix: string().optional() }), ClaimsListingSchema, { auth: "admin" }), method(object({
|
|
61710
61710
|
deviceId: number$1(),
|
|
61711
61711
|
capName: string()
|
|
61712
|
-
}), record(string(), unknown()).nullable(), { auth: "admin" }), event(object({
|
|
61712
|
+
}), record$1(string(), unknown()).nullable(), { auth: "admin" }), event(object({
|
|
61713
61713
|
deviceId: number$1(),
|
|
61714
61714
|
capName: string(),
|
|
61715
|
-
slice: record(string(), unknown())
|
|
61715
|
+
slice: record$1(string(), unknown())
|
|
61716
61716
|
}));
|
|
61717
61717
|
/**
|
|
61718
61718
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
@@ -61815,7 +61815,7 @@ var TransitionsStatusSchema = object({
|
|
|
61815
61815
|
rows: number$1().int().nullable(),
|
|
61816
61816
|
lastWriteAt: number$1().nullable(),
|
|
61817
61817
|
/** Refused rows since start, by reason. */
|
|
61818
|
-
refused: record(string(), number$1())
|
|
61818
|
+
refused: record$1(string(), number$1())
|
|
61819
61819
|
});
|
|
61820
61820
|
Object.values(DeviceType).filter((type) => type !== DeviceType.Hub && type !== DeviceType.Container), method(object({
|
|
61821
61821
|
deviceId: number$1().int(),
|
|
@@ -62036,7 +62036,7 @@ var dishwasherCapability = {
|
|
|
62036
62036
|
start: method(object({
|
|
62037
62037
|
deviceId: DeviceIdSchema$2,
|
|
62038
62038
|
program: string().min(1).optional(),
|
|
62039
|
-
options: record(string(), DishwasherValueSchema).optional()
|
|
62039
|
+
options: record$1(string(), DishwasherValueSchema).optional()
|
|
62040
62040
|
}), _void(), {
|
|
62041
62041
|
kind: "mutation",
|
|
62042
62042
|
auth: "protected",
|
|
@@ -62656,7 +62656,7 @@ var paletteReadySchema = object({
|
|
|
62656
62656
|
presetId: _enum(PALETTE_PRESET_IDS),
|
|
62657
62657
|
customized: boolean(),
|
|
62658
62658
|
source: _enum(["stored", "unconfigured"]),
|
|
62659
|
-
swatches: record(string(), paletteSwatchSchema),
|
|
62659
|
+
swatches: record$1(string(), paletteSwatchSchema),
|
|
62660
62660
|
fallbacks: array(paletteHexSchema).length(8)
|
|
62661
62661
|
});
|
|
62662
62662
|
var paletteResultSchema = discriminatedUnion("status", [paletteReadySchema, object({
|
|
@@ -62665,11 +62665,11 @@ var paletteResultSchema = discriminatedUnion("status", [paletteReadySchema, obje
|
|
|
62665
62665
|
})]);
|
|
62666
62666
|
var setPaletteInputSchema = union([object({ presetId: string() }), object({
|
|
62667
62667
|
presetId: string(),
|
|
62668
|
-
overrides: record(string(), paletteSwatchSchema)
|
|
62668
|
+
overrides: record$1(string(), paletteSwatchSchema)
|
|
62669
62669
|
})]);
|
|
62670
62670
|
object({
|
|
62671
62671
|
presetId: string(),
|
|
62672
|
-
overrides: record(string(), paletteSwatchSchema)
|
|
62672
|
+
overrides: record$1(string(), paletteSwatchSchema)
|
|
62673
62673
|
});
|
|
62674
62674
|
function solid(hex) {
|
|
62675
62675
|
return {
|
|
@@ -62753,7 +62753,7 @@ function paintHex(swatches, fallbacks, kind) {
|
|
|
62753
62753
|
var presetSummarySchema = object({
|
|
62754
62754
|
id: string(),
|
|
62755
62755
|
name: string(),
|
|
62756
|
-
swatches: record(string(), paletteSwatchSchema),
|
|
62756
|
+
swatches: record$1(string(), paletteSwatchSchema),
|
|
62757
62757
|
fallbacks: array(string())
|
|
62758
62758
|
});
|
|
62759
62759
|
method(_void(), paletteResultSchema, {
|
|
@@ -64331,7 +64331,7 @@ var FeatureProbeStatusSchema = object({
|
|
|
64331
64331
|
* `hasPirSensor`, `hasAutotrack`, `hasBattery`. Hikvision keys:
|
|
64332
64332
|
* `hasSupplementalLight`, `lightHasWhiteLight`, `hasAlarmIo`, `hasPtz`.
|
|
64333
64333
|
*/
|
|
64334
|
-
flags: record(string(), unknown()),
|
|
64334
|
+
flags: record$1(string(), unknown()),
|
|
64335
64335
|
/**
|
|
64336
64336
|
* Coarse driver-classification — lets cross-process consumers tell apart
|
|
64337
64337
|
* cameras / battery-cams / NVRs without re-running the probe. `null`
|
|
@@ -65802,9 +65802,9 @@ var HeroArgValueSchema = lazy(() => union([
|
|
|
65802
65802
|
string(),
|
|
65803
65803
|
number$1(),
|
|
65804
65804
|
boolean(),
|
|
65805
|
-
record(string(), HeroArgValueSchema)
|
|
65805
|
+
record$1(string(), HeroArgValueSchema)
|
|
65806
65806
|
]));
|
|
65807
|
-
var HeroArgsSchema = record(string(), HeroArgValueSchema);
|
|
65807
|
+
var HeroArgsSchema = record$1(string(), HeroArgValueSchema);
|
|
65808
65808
|
/** A cap method called on the hero's device. */
|
|
65809
65809
|
var HeroCallSchema = object({
|
|
65810
65810
|
cap: string(),
|
|
@@ -65860,7 +65860,7 @@ var HeroControlSchema = discriminatedUnion("kind", [
|
|
|
65860
65860
|
current: string().nullable(),
|
|
65861
65861
|
options: array(string()),
|
|
65862
65862
|
/** A readable label per option value; an option without one is drawn as its raw value. */
|
|
65863
|
-
optionLabels: record(string(), HeroTextSchema).optional(),
|
|
65863
|
+
optionLabels: record$1(string(), HeroTextSchema).optional(),
|
|
65864
65864
|
call: HeroCallSchema,
|
|
65865
65865
|
valueArg: string()
|
|
65866
65866
|
}),
|
|
@@ -66703,7 +66703,7 @@ var IntegrationWithStateSchema = object({
|
|
|
66703
66703
|
* must not draw it as on or off (D315).
|
|
66704
66704
|
*/
|
|
66705
66705
|
switchUnknown: literal(true).optional(),
|
|
66706
|
-
info: record(string(), unknown()).readonly(),
|
|
66706
|
+
info: record$1(string(), unknown()).readonly(),
|
|
66707
66707
|
/** The discovery candidate this integration was set up from (D984). */
|
|
66708
66708
|
originStableId: string().optional(),
|
|
66709
66709
|
createdAt: number$1(),
|
|
@@ -66722,7 +66722,7 @@ var IntegrationLiteSchema = object({
|
|
|
66722
66722
|
* must not draw it as on or off (D315).
|
|
66723
66723
|
*/
|
|
66724
66724
|
switchUnknown: literal(true).optional(),
|
|
66725
|
-
info: record(string(), unknown()).readonly(),
|
|
66725
|
+
info: record$1(string(), unknown()).readonly(),
|
|
66726
66726
|
/** The discovery candidate this integration was set up from (D984). */
|
|
66727
66727
|
originStableId: string().optional(),
|
|
66728
66728
|
createdAt: number$1(),
|
|
@@ -66831,7 +66831,7 @@ var UpdateIntegrationInputSchema = object({
|
|
|
66831
66831
|
* switch is `integration-instances.setInstanceEnabled`.
|
|
66832
66832
|
*/
|
|
66833
66833
|
enabled: boolean().optional(),
|
|
66834
|
-
info: record(string(), unknown()).optional()
|
|
66834
|
+
info: record$1(string(), unknown()).optional()
|
|
66835
66835
|
});
|
|
66836
66836
|
var DeleteIntegrationResultSchema = object({
|
|
66837
66837
|
success: boolean(),
|
|
@@ -67029,7 +67029,7 @@ var IntegrationInstanceSchema = object({
|
|
|
67029
67029
|
/** The kind of this instance: exactly one of `describe().kinds[].id` (D1013 rule 2). */
|
|
67030
67030
|
kind: string().min(1),
|
|
67031
67031
|
/** Values for the instance form; a secret is a `SecretFieldView`, never text. */
|
|
67032
|
-
formValues: record(string(), unknown()),
|
|
67032
|
+
formValues: record$1(string(), unknown()),
|
|
67033
67033
|
status: IntegrationInstanceStatusSchema.optional(),
|
|
67034
67034
|
/** Epoch ms of the last probe of the remote that produced `status`; absent when never checked. */
|
|
67035
67035
|
lastCheckedAt: number$1().optional()
|
|
@@ -67038,7 +67038,7 @@ var IntegrationInstancePatchSchema = object({
|
|
|
67038
67038
|
id: IntegrationInstanceIdSchema,
|
|
67039
67039
|
name: string().min(1).optional(),
|
|
67040
67040
|
/** Omitted / '' / redaction token keeps a secret; `{ $secretClear: true }` clears it. */
|
|
67041
|
-
values: record(string(), unknown())
|
|
67041
|
+
values: record$1(string(), unknown())
|
|
67042
67042
|
});
|
|
67043
67043
|
var integrationInstancesCapability = {
|
|
67044
67044
|
name: "integration-instances",
|
|
@@ -67083,7 +67083,7 @@ var integrationInstancesCapability = {
|
|
|
67083
67083
|
name: string().min(1),
|
|
67084
67084
|
kind: string().min(1).optional(),
|
|
67085
67085
|
/** Form values written with the record (a link picked in the create dialog). */
|
|
67086
|
-
values: record(string(), unknown()).optional(),
|
|
67086
|
+
values: record$1(string(), unknown()).optional(),
|
|
67087
67087
|
/**
|
|
67088
67088
|
* The discovery candidate (`stableId`) the instance is set up from. Kept on the integration
|
|
67089
67089
|
* registry row of an instance that brings devices, so discovery stops offering a candidate
|
|
@@ -67097,7 +67097,7 @@ var integrationInstancesCapability = {
|
|
|
67097
67097
|
* caller the transport stamped as the addon itself (`callerAddonId`): an admin session
|
|
67098
67098
|
* cannot send it, and the wizard never does. `values` are the settings it is seeded with.
|
|
67099
67099
|
*/
|
|
67100
|
-
seed: object({ info: record(string(), unknown()) }).optional()
|
|
67100
|
+
seed: object({ info: record$1(string(), unknown()) }).optional()
|
|
67101
67101
|
}), object({ id: string() }), {
|
|
67102
67102
|
kind: "mutation",
|
|
67103
67103
|
auth: "protected",
|
|
@@ -67133,7 +67133,7 @@ var integrationInstancesCapability = {
|
|
|
67133
67133
|
}),
|
|
67134
67134
|
testInstance: optionalMethod(object({
|
|
67135
67135
|
id: IntegrationInstanceIdSchema.nullable(),
|
|
67136
|
-
values: record(string(), unknown()),
|
|
67136
|
+
values: record$1(string(), unknown()),
|
|
67137
67137
|
/** The kind to test when `id` is null and the provider has several. */
|
|
67138
67138
|
kind: string().min(1).optional()
|
|
67139
67139
|
}), TestConnectionResultSchema, {
|
|
@@ -67552,7 +67552,7 @@ var KeychainResolveEntrySchema = discriminatedUnion("kind", [
|
|
|
67552
67552
|
}),
|
|
67553
67553
|
object({ kind: literal("forbidden") })
|
|
67554
67554
|
]);
|
|
67555
|
-
var KeychainResolveResultSchema = record(string(), KeychainResolveEntrySchema);
|
|
67555
|
+
var KeychainResolveResultSchema = record$1(string(), KeychainResolveEntrySchema);
|
|
67556
67556
|
/** Metadata of one stored value — never the value. */
|
|
67557
67557
|
var KeychainSecretMetaSchema = object({
|
|
67558
67558
|
ref: string(),
|
|
@@ -68025,7 +68025,7 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
68025
68025
|
/** v1: single-turn. `messages[]` is a v2 additive field. */
|
|
68026
68026
|
prompt: string(),
|
|
68027
68027
|
/** Structured output — adapter-mapped (response_format / forced tool / responseSchema). */
|
|
68028
|
-
jsonSchema: record(string(), unknown()).optional(),
|
|
68028
|
+
jsonSchema: record$1(string(), unknown()).optional(),
|
|
68029
68029
|
/** Per-call override of the profile default. */
|
|
68030
68030
|
maxTokens: number$1().int().positive().optional(),
|
|
68031
68031
|
temperature: number$1().optional(),
|
|
@@ -68350,7 +68350,7 @@ var LlmModelInfoSchema = object({
|
|
|
68350
68350
|
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
68351
68351
|
* keychain, never in the row, and reads back as the redaction marker.
|
|
68352
68352
|
*/
|
|
68353
|
-
var LlmProviderConfigSchema = record(string(), unknown());
|
|
68353
|
+
var LlmProviderConfigSchema = record$1(string(), unknown());
|
|
68354
68354
|
object({
|
|
68355
68355
|
id: string(),
|
|
68356
68356
|
name: string(),
|
|
@@ -69022,7 +69022,7 @@ var ScanStatsSchema = object({
|
|
|
69022
69022
|
hostsProbed: number$1().int(),
|
|
69023
69023
|
hits: number$1().int(),
|
|
69024
69024
|
timeouts: number$1().int(),
|
|
69025
|
-
byMode: record(string(), object({
|
|
69025
|
+
byMode: record$1(string(), object({
|
|
69026
69026
|
probed: number$1().int(),
|
|
69027
69027
|
hits: number$1().int(),
|
|
69028
69028
|
timeouts: number$1().int()
|
|
@@ -69364,8 +69364,8 @@ var LogEntrySchema = object({
|
|
|
69364
69364
|
level: LogLevelSchema,
|
|
69365
69365
|
scope: array(string()),
|
|
69366
69366
|
message: string(),
|
|
69367
|
-
meta: record(string(), unknown()).optional(),
|
|
69368
|
-
tags: record(string(), string()).optional()
|
|
69367
|
+
meta: record$1(string(), unknown()).optional(),
|
|
69368
|
+
tags: record$1(string(), string()).optional()
|
|
69369
69369
|
});
|
|
69370
69370
|
/**
|
|
69371
69371
|
* A history READ against one destination (D898).
|
|
@@ -69405,7 +69405,7 @@ var LogReadQuerySchema = object({
|
|
|
69405
69405
|
*/
|
|
69406
69406
|
fromNodeId: string().min(1).max(200).optional(),
|
|
69407
69407
|
/** Any other tag, exact match (AND). */
|
|
69408
|
-
tags: record(string(), union([string(), number$1()])).optional(),
|
|
69408
|
+
tags: record$1(string(), union([string(), number$1()])).optional(),
|
|
69409
69409
|
/** Severity FLOOR: this level and above. */
|
|
69410
69410
|
level: LogLevelSchema.optional(),
|
|
69411
69411
|
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
@@ -69432,8 +69432,8 @@ var LogReadResultSchema = object({
|
|
|
69432
69432
|
level: LogLevelSchema,
|
|
69433
69433
|
scope: string().optional(),
|
|
69434
69434
|
message: string(),
|
|
69435
|
-
tags: record(string(), union([string(), number$1()])).optional(),
|
|
69436
|
-
meta: record(string(), unknown()).optional()
|
|
69435
|
+
tags: record$1(string(), union([string(), number$1()])).optional(),
|
|
69436
|
+
meta: record$1(string(), unknown()).optional()
|
|
69437
69437
|
})),
|
|
69438
69438
|
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
69439
69439
|
nextBefore: string().nullable(),
|
|
@@ -70137,7 +70137,7 @@ method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSna
|
|
|
70137
70137
|
*/
|
|
70138
70138
|
var RecordIdSchema = string().min(1).max(256);
|
|
70139
70139
|
/** A JSON object body. Size is the engine's check (`maxDataBytes`), not a schema's. */
|
|
70140
|
-
var RecordBodySchema = record(string(), unknown());
|
|
70140
|
+
var RecordBodySchema = record$1(string(), unknown());
|
|
70141
70141
|
var RecordInputSchema = object({
|
|
70142
70142
|
id: RecordIdSchema,
|
|
70143
70143
|
/** The device this row belongs to (D865 removal, per-device reads). */
|
|
@@ -70158,7 +70158,7 @@ var RecordViewSchema = object({
|
|
|
70158
70158
|
data: RecordBodySchema
|
|
70159
70159
|
});
|
|
70160
70160
|
/** Declared index fields only. Anything else does not compile, by design. */
|
|
70161
|
-
var RecordWhereSchema = record(RecordFieldPathSchema, union([
|
|
70161
|
+
var RecordWhereSchema = record$1(RecordFieldPathSchema, union([
|
|
70162
70162
|
string(),
|
|
70163
70163
|
number$1(),
|
|
70164
70164
|
boolean(),
|
|
@@ -70233,8 +70233,8 @@ var RecordTransactOpSchema = discriminatedUnion("op", [
|
|
|
70233
70233
|
id: RecordIdSchema
|
|
70234
70234
|
})
|
|
70235
70235
|
]);
|
|
70236
|
-
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
70237
|
-
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
70236
|
+
var RecordSecretRefsSchema = record$1(string(), record$1(string(), string()));
|
|
70237
|
+
method(object({ kinds: record$1(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record$1(string(), DeclareKindResultSchema) }), {
|
|
70238
70238
|
kind: "mutation",
|
|
70239
70239
|
auth: "admin"
|
|
70240
70240
|
}), method(object({
|
|
@@ -70353,7 +70353,7 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
|
|
|
70353
70353
|
deviceId: number$1().int(),
|
|
70354
70354
|
kinds: array(RecordKindNameSchema).optional()
|
|
70355
70355
|
}), object({
|
|
70356
|
-
deleted: record(string(), number$1().int()),
|
|
70356
|
+
deleted: record$1(string(), number$1().int()),
|
|
70357
70357
|
secretRefs: SecretRefsList
|
|
70358
70358
|
}), {
|
|
70359
70359
|
kind: "mutation",
|
|
@@ -70377,7 +70377,7 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
|
|
|
70377
70377
|
* `scripts/migration-api-contract.json`, and every `behaviours` id below must have an
|
|
70378
70378
|
* `it('<id>'` in `migration-api.contract.spec.ts`.
|
|
70379
70379
|
*/
|
|
70380
|
-
var Rows = record(string(), unknown());
|
|
70380
|
+
var Rows = record$1(string(), unknown());
|
|
70381
70381
|
var IntegrationId = object({ integrationId: string().min(1) });
|
|
70382
70382
|
var RecordId = object({ id: string().min(1) });
|
|
70383
70383
|
var RecordRowSchema = object({
|
|
@@ -70476,7 +70476,7 @@ object({
|
|
|
70476
70476
|
deviceId: number$1().int().optional(),
|
|
70477
70477
|
atBefore: number$1().optional(),
|
|
70478
70478
|
where: RecordWhereSchema.optional()
|
|
70479
|
-
}), object({ count: number$1().int().nonnegative() }), object({}), object({ store: Rows }), object({ patch: Rows }), object({}), object({ keys: array(string().min(1)) }), object({ removed: array(string()) }), object({}), object({ deviceIds: array(number$1().int()) }), object({ deviceIds: array(number$1().int()) }), object({ blobs: record(string(), Rows) }), object({ refs: array(string()) }), object({ values: record(string(), string().nullable()) }), object({
|
|
70479
|
+
}), object({ count: number$1().int().nonnegative() }), object({}), object({ store: Rows }), object({ patch: Rows }), object({}), object({ keys: array(string().min(1)) }), object({ removed: array(string()) }), object({}), object({ deviceIds: array(number$1().int()) }), object({ deviceIds: array(number$1().int()) }), object({ blobs: record$1(string(), Rows) }), object({ refs: array(string()) }), object({ values: record$1(string(), string().nullable()) }), object({
|
|
70480
70480
|
ref: string().min(1),
|
|
70481
70481
|
value: string()
|
|
70482
70482
|
}), object({}), object({ refs: array(string()) }), object({ deleted: number$1().int().nonnegative() }), object({}), object({ integrations: array(MigrationIntegrationSchema) }), object({ id: string().min(1) }), MigrationIntegrationSchema.nullable(), object({
|
|
@@ -70487,7 +70487,7 @@ object({
|
|
|
70487
70487
|
integrationId: string().nullable(),
|
|
70488
70488
|
/** Whether the device carries any stored config; its content is not offered. */
|
|
70489
70489
|
hasConfig: boolean()
|
|
70490
|
-
}).nullable(), object({ deviceIds: array(number$1().int()) }), object({ aliases: record(string(), string()) }), object({
|
|
70490
|
+
}).nullable(), object({ deviceIds: array(number$1().int()) }), object({ aliases: record$1(string(), string()) }), object({
|
|
70491
70491
|
deviceId: number$1().int(),
|
|
70492
70492
|
integrationId: string().min(1)
|
|
70493
70493
|
}), object({}), object({}), object({ nodeId: string() }), object({}), object({});
|
|
@@ -70543,7 +70543,7 @@ method(object({}), object({ entries: array(MigrationLedgerEntrySchema) }), { aut
|
|
|
70543
70543
|
}), {
|
|
70544
70544
|
kind: "mutation",
|
|
70545
70545
|
auth: "admin"
|
|
70546
|
-
}), method(object({ integrationId: string().min(1) }), record(string(), unknown()), { auth: "admin" }), method(object({ integrationId: string().min(1) }), object({
|
|
70546
|
+
}), method(object({ integrationId: string().min(1) }), record$1(string(), unknown()), { auth: "admin" }), method(object({ integrationId: string().min(1) }), object({
|
|
70547
70547
|
rows: number$1().int().nonnegative(),
|
|
70548
70548
|
secrets: number$1().int().nonnegative()
|
|
70549
70549
|
}), {
|
|
@@ -70551,7 +70551,7 @@ method(object({}), object({ entries: array(MigrationLedgerEntrySchema) }), { aut
|
|
|
70551
70551
|
auth: "admin"
|
|
70552
70552
|
}), method(object({
|
|
70553
70553
|
integrationId: string().min(1),
|
|
70554
|
-
patch: record(string(), unknown())
|
|
70554
|
+
patch: record$1(string(), unknown())
|
|
70555
70555
|
}), object({ written: boolean() }), {
|
|
70556
70556
|
kind: "mutation",
|
|
70557
70557
|
auth: "admin"
|
|
@@ -70560,7 +70560,7 @@ method(object({}), object({ entries: array(MigrationLedgerEntrySchema) }), { aut
|
|
|
70560
70560
|
keys: array(string().min(1))
|
|
70561
70561
|
}), object({
|
|
70562
70562
|
present: boolean(),
|
|
70563
|
-
removed: record(string(), unknown())
|
|
70563
|
+
removed: record$1(string(), unknown())
|
|
70564
70564
|
}), {
|
|
70565
70565
|
kind: "mutation",
|
|
70566
70566
|
auth: "admin"
|
|
@@ -71058,7 +71058,7 @@ var SensorEventSchema = object({
|
|
|
71058
71058
|
/** Event kind id — matches an `EventKindDescriptor.kind`. */
|
|
71059
71059
|
kind: string(),
|
|
71060
71060
|
/** Snapshot of the sensor cap's runtime-state slice at the change. */
|
|
71061
|
-
value: record(string(), unknown()).nullable(),
|
|
71061
|
+
value: record$1(string(), unknown()).nullable(),
|
|
71062
71062
|
timestamp: number$1()
|
|
71063
71063
|
});
|
|
71064
71064
|
/**
|
|
@@ -72012,7 +72012,7 @@ var RetrainFrameReviewSchema = object({
|
|
|
72012
72012
|
iou: number$1().optional()
|
|
72013
72013
|
})).readonly(),
|
|
72014
72014
|
summary: object({
|
|
72015
|
-
counts: record(RetrainReviewStatusSchema, number$1().int()),
|
|
72015
|
+
counts: record$1(RetrainReviewStatusSchema, number$1().int()),
|
|
72016
72016
|
total: number$1().int(),
|
|
72017
72017
|
changed: number$1().int(),
|
|
72018
72018
|
approximate: boolean()
|
|
@@ -72303,7 +72303,7 @@ var RetrainArchiveTargetSchema = object({
|
|
|
72303
72303
|
kind: literal("http"),
|
|
72304
72304
|
method: _enum(["PUT", "POST"]),
|
|
72305
72305
|
url: string().url(),
|
|
72306
|
-
headers: record(string(), string()).optional()
|
|
72306
|
+
headers: record$1(string(), string()).optional()
|
|
72307
72307
|
});
|
|
72308
72308
|
var RetrainArchiveResultSchema = object({
|
|
72309
72309
|
batchId: string(),
|
|
@@ -73642,12 +73642,12 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
73642
73642
|
modelId: string(),
|
|
73643
73643
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
73644
73644
|
group: string().optional(),
|
|
73645
|
-
settings: record(string(), unknown()).optional()
|
|
73645
|
+
settings: record$1(string(), unknown()).optional()
|
|
73646
73646
|
}));
|
|
73647
73647
|
var PipelineModelOptionSchema = object({
|
|
73648
73648
|
id: string(),
|
|
73649
73649
|
name: string(),
|
|
73650
|
-
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
73650
|
+
formats: record$1(string(), PipelineModelFormatStatusSchema),
|
|
73651
73651
|
group: ModelVariantGroupSchema.optional(),
|
|
73652
73652
|
legacy: boolean().optional(),
|
|
73653
73653
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -73664,7 +73664,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
73664
73664
|
childSlots: array(PipelineSlotSchema).readonly(),
|
|
73665
73665
|
models: array(PipelineModelOptionSchema).readonly(),
|
|
73666
73666
|
defaultModelId: string(),
|
|
73667
|
-
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
73667
|
+
defaultModelIdByFormat: record$1(string(), string()).optional(),
|
|
73668
73668
|
enabledByDefault: boolean().optional(),
|
|
73669
73669
|
defaultConfidence: number$1(),
|
|
73670
73670
|
group: string().optional(),
|
|
@@ -73788,12 +73788,12 @@ var ConfigUISchemaBridge = custom();
|
|
|
73788
73788
|
var ConfigUISchemaNullableBridge = custom();
|
|
73789
73789
|
var InferenceCapabilitiesBridge = custom();
|
|
73790
73790
|
var ModelAvailabilityListBridge = custom();
|
|
73791
|
-
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(object({ nodeId: string() }), EngineProvisioningSchema), method(_void(), record(string(), object({
|
|
73791
|
+
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(object({ nodeId: string() }), EngineProvisioningSchema), method(_void(), record$1(string(), object({
|
|
73792
73792
|
modelId: string(),
|
|
73793
|
-
settings: record(string(), unknown()).readonly()
|
|
73794
|
-
}))), method(object({ steps: record(string(), object({
|
|
73793
|
+
settings: record$1(string(), unknown()).readonly()
|
|
73794
|
+
}))), method(object({ steps: record$1(string(), object({
|
|
73795
73795
|
modelId: string(),
|
|
73796
|
-
settings: record(string(), unknown()).readonly()
|
|
73796
|
+
settings: record$1(string(), unknown()).readonly()
|
|
73797
73797
|
})) }), object({ success: literal(true) }), {
|
|
73798
73798
|
kind: "mutation",
|
|
73799
73799
|
auth: "admin"
|
|
@@ -73946,7 +73946,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
73946
73946
|
* their warmup `runPipeline` reported: the model that actually ran.
|
|
73947
73947
|
*/
|
|
73948
73948
|
modelId: string().min(1)
|
|
73949
|
-
}), record(string(), unknown()), { kind: "mutation" }), method(object({ frameId: number$1().int() }), _void(), { kind: "mutation" }), method(object({ deviceKey: string().optional() }), EffectiveTuningSchema), method(_void(), array(object({
|
|
73949
|
+
}), record$1(string(), unknown()), { kind: "mutation" }), method(object({ frameId: number$1().int() }), _void(), { kind: "mutation" }), method(object({ deviceKey: string().optional() }), EffectiveTuningSchema), method(_void(), array(object({
|
|
73950
73950
|
engineKey: string(),
|
|
73951
73951
|
engine: PipelineEngineChoiceSchema,
|
|
73952
73952
|
modelsLoaded: array(string()).readonly(),
|
|
@@ -73984,7 +73984,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
73984
73984
|
addonId: string(),
|
|
73985
73985
|
modelId: string(),
|
|
73986
73986
|
filename: string().optional(),
|
|
73987
|
-
settings: record(string(), unknown()).optional()
|
|
73987
|
+
settings: record$1(string(), unknown()).optional()
|
|
73988
73988
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge), NOT_A_DEVICE.PIPELINE;
|
|
73989
73989
|
object({
|
|
73990
73990
|
activeCameras: number$1(),
|
|
@@ -74309,7 +74309,7 @@ var NodeBenchFingerprintSchema = object({
|
|
|
74309
74309
|
ramGb: number$1().nullable(),
|
|
74310
74310
|
os: string().nullable(),
|
|
74311
74311
|
/** Per device: the pool the cells ran on (runtime + tuning). */
|
|
74312
|
-
pools: record(string(), object({
|
|
74312
|
+
pools: record$1(string(), object({
|
|
74313
74313
|
runtime: string(),
|
|
74314
74314
|
numWorkers: number$1(),
|
|
74315
74315
|
concurrency: number$1(),
|
|
@@ -74967,7 +74967,7 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
74967
74967
|
*/
|
|
74968
74968
|
var RunnerJumpStepProvisioningSchema = object({
|
|
74969
74969
|
modelId: string().optional(),
|
|
74970
|
-
settings: record(string(), unknown()).optional()
|
|
74970
|
+
settings: record$1(string(), unknown()).optional()
|
|
74971
74971
|
});
|
|
74972
74972
|
/**
|
|
74973
74973
|
* One ENABLED inference device on the runner's node, as the step-tree
|
|
@@ -74990,7 +74990,7 @@ var RunnerInferenceDeviceSchema = object({
|
|
|
74990
74990
|
* Absent field ⇒ an orchestrator that predates D650: the jumped step keeps
|
|
74991
74991
|
* the elected device's provisioning, as before.
|
|
74992
74992
|
*/
|
|
74993
|
-
steps: record(string(), RunnerJumpStepProvisioningSchema).optional()
|
|
74993
|
+
steps: record$1(string(), RunnerJumpStepProvisioningSchema).optional()
|
|
74994
74994
|
});
|
|
74995
74995
|
/**
|
|
74996
74996
|
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
@@ -76853,7 +76853,7 @@ var ClientNetworkStatsSchema = object({
|
|
|
76853
76853
|
});
|
|
76854
76854
|
var DeviceNetworkStatsSchema = object({
|
|
76855
76855
|
deviceId: number$1(),
|
|
76856
|
-
streams: record(string(), StreamNetworkStatsSchema),
|
|
76856
|
+
streams: record$1(string(), StreamNetworkStatsSchema),
|
|
76857
76857
|
client: ClientNetworkStatsSchema.optional()
|
|
76858
76858
|
});
|
|
76859
76859
|
method(object({ deviceId: number$1() }), DeviceNetworkStatsSchema.nullable()), method(_void(), array(DeviceNetworkStatsSchema).readonly()), method(object({
|
|
@@ -76957,7 +76957,7 @@ method(object({
|
|
|
76957
76957
|
nodeId: string().min(1),
|
|
76958
76958
|
/** Epoch ms the node was forgotten (the tombstone's `removedAt`). */
|
|
76959
76959
|
removedAt: number$1()
|
|
76960
|
-
}), object({ counts: record(string(), number$1().int().nonnegative()) }), {
|
|
76960
|
+
}), object({ counts: record$1(string(), number$1().int().nonnegative()) }), {
|
|
76961
76961
|
kind: "mutation",
|
|
76962
76962
|
auth: "admin"
|
|
76963
76963
|
}), NOT_A_DEVICE.INTERNAL;
|
|
@@ -77149,7 +77149,7 @@ method(_void(), array(TopologyNodeSchema).readonly(), { auth: "admin" }), method
|
|
|
77149
77149
|
}), RenameNodeResultSchema, {
|
|
77150
77150
|
kind: "mutation",
|
|
77151
77151
|
auth: "admin"
|
|
77152
|
-
}), method(_void(), record(string(), ClusterAddonStatusEntrySchema), { auth: "admin" }), method(object({ windowSeconds: number$1().int().positive().max(300).default(60) }), array(CapUsageEdgeSchema).readonly(), { auth: "admin" }), method(object({ nodeId: string() }), array(NodeAddonEntrySchema).readonly(), { auth: "admin" }), method(object({
|
|
77152
|
+
}), method(_void(), record$1(string(), ClusterAddonStatusEntrySchema), { auth: "admin" }), method(object({ windowSeconds: number$1().int().positive().max(300).default(60) }), array(CapUsageEdgeSchema).readonly(), { auth: "admin" }), method(object({ nodeId: string() }), array(NodeAddonEntrySchema).readonly(), { auth: "admin" }), method(object({
|
|
77153
77153
|
nodeId: string(),
|
|
77154
77154
|
level: string()
|
|
77155
77155
|
}), SuccessSchema, {
|
|
@@ -77159,7 +77159,7 @@ method(_void(), array(TopologyNodeSchema).readonly(), { auth: "admin" }), method
|
|
|
77159
77159
|
nodeId: string(),
|
|
77160
77160
|
addonId: string(),
|
|
77161
77161
|
queryName: string(),
|
|
77162
|
-
params: record(string(), unknown()).optional()
|
|
77162
|
+
params: record$1(string(), unknown()).optional()
|
|
77163
77163
|
}), unknown(), {
|
|
77164
77164
|
kind: "mutation",
|
|
77165
77165
|
auth: "admin"
|
|
@@ -78476,7 +78476,7 @@ var NcRuleTargetSchema = object({
|
|
|
78476
78476
|
* Notification (`priority`, `level`, `sound`, `clickUrl`, `ttl`); the
|
|
78477
78477
|
* degrade engine drops what the backend can't render.
|
|
78478
78478
|
*/
|
|
78479
|
-
params: record(string(), unknown()).optional()
|
|
78479
|
+
params: record$1(string(), unknown()).optional()
|
|
78480
78480
|
});
|
|
78481
78481
|
/** Which picture kind one target receives (#487). */
|
|
78482
78482
|
var NcTargetAttachmentSchema = _enum([
|
|
@@ -78497,7 +78497,7 @@ var NcTargetOverrideSchema = object({
|
|
|
78497
78497
|
actions: boolean().optional()
|
|
78498
78498
|
});
|
|
78499
78499
|
/** Per-target settings keyed by target id (#487). */
|
|
78500
|
-
var NcTargetOverridesSchema = record(string(), NcTargetOverrideSchema);
|
|
78500
|
+
var NcTargetOverridesSchema = record$1(string(), NcTargetOverrideSchema);
|
|
78501
78501
|
/**
|
|
78502
78502
|
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
78503
78503
|
*
|
|
@@ -79004,7 +79004,7 @@ var NcStateSummaryPreviewSchema = object({
|
|
|
79004
79004
|
count: number$1().int().nonnegative(),
|
|
79005
79005
|
text: string(),
|
|
79006
79006
|
sections: array(NcStateSummaryPreviewSectionSchema),
|
|
79007
|
-
dropped: record(string(), number$1().int().nonnegative()),
|
|
79007
|
+
dropped: record$1(string(), number$1().int().nonnegative()),
|
|
79008
79008
|
excludedGroups: array(string()),
|
|
79009
79009
|
split: NcStateSummarySplitSchema.optional(),
|
|
79010
79010
|
rows: array(NcStateSummaryPreviewRowSchema).optional()
|
|
@@ -79260,7 +79260,7 @@ var NcHistorySubjectSchema = object({
|
|
|
79260
79260
|
subject: string(),
|
|
79261
79261
|
title: string(),
|
|
79262
79262
|
body: string(),
|
|
79263
|
-
data: record(string(), unknown())
|
|
79263
|
+
data: record$1(string(), unknown())
|
|
79264
79264
|
}).optional()
|
|
79265
79265
|
});
|
|
79266
79266
|
/**
|
|
@@ -80038,7 +80038,7 @@ var NotifierSendInputSchema = object({
|
|
|
80038
80038
|
actions: array(NotifierActionSchema).optional(),
|
|
80039
80039
|
/** Free-form platform-specific payload — passed through to the
|
|
80040
80040
|
* upstream service untouched. */
|
|
80041
|
-
data: record(string(), unknown()).optional()
|
|
80041
|
+
data: record$1(string(), unknown()).optional()
|
|
80042
80042
|
});
|
|
80043
80043
|
var NotifierSendResultSchema = object({
|
|
80044
80044
|
/** Provider-assigned id for the delivery. Used for `cancel`. */
|
|
@@ -81319,9 +81319,9 @@ var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
|
81319
81319
|
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
81320
81320
|
var LoadBalancingSharesInputSchema = object({
|
|
81321
81321
|
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
81322
|
-
nodes: record(string(), number$1().positive()).default({}),
|
|
81322
|
+
nodes: record$1(string(), number$1().positive()).default({}),
|
|
81323
81323
|
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
81324
|
-
devices: record(string(), record(string(), number$1().positive())).default({})
|
|
81324
|
+
devices: record$1(string(), record$1(string(), number$1().positive())).default({})
|
|
81325
81325
|
});
|
|
81326
81326
|
var PlacementStatsInputSchema = object({
|
|
81327
81327
|
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
@@ -81438,8 +81438,8 @@ var ShareSourceSchema = _enum([
|
|
|
81438
81438
|
]);
|
|
81439
81439
|
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
81440
81440
|
object({
|
|
81441
|
-
nodes: record(string(), number$1()),
|
|
81442
|
-
devices: record(string(), record(string(), number$1()))
|
|
81441
|
+
nodes: record$1(string(), number$1()),
|
|
81442
|
+
devices: record$1(string(), record$1(string(), number$1()))
|
|
81443
81443
|
});
|
|
81444
81444
|
var EffectiveDeviceShareSchema = object({
|
|
81445
81445
|
deviceKey: string(),
|
|
@@ -81472,8 +81472,8 @@ var EffectiveSharesSchema = object({
|
|
|
81472
81472
|
trigger: string().nullable(),
|
|
81473
81473
|
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
81474
81474
|
/** The relative weights the election reads (before eligibility). */
|
|
81475
|
-
nodeWeights: record(string(), number$1()),
|
|
81476
|
-
deviceWeights: record(string(), record(string(), number$1()))
|
|
81475
|
+
nodeWeights: record$1(string(), number$1()),
|
|
81476
|
+
deviceWeights: record$1(string(), record$1(string(), number$1()))
|
|
81477
81477
|
});
|
|
81478
81478
|
var CameraPipelineConfigSchema = object({
|
|
81479
81479
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
@@ -81482,12 +81482,12 @@ var CameraPipelineConfigSchema = object({
|
|
|
81482
81482
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
81483
81483
|
modelId: string().optional(),
|
|
81484
81484
|
enabled: boolean(),
|
|
81485
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
81485
|
+
settings: record$1(string(), unknown()).readonly().optional()
|
|
81486
81486
|
}).nullable().optional()
|
|
81487
81487
|
});
|
|
81488
81488
|
var DeviceStepConfigSchema = object({
|
|
81489
81489
|
modelId: string().optional(),
|
|
81490
|
-
settings: record(string(), unknown()).optional(),
|
|
81490
|
+
settings: record$1(string(), unknown()).optional(),
|
|
81491
81491
|
/**
|
|
81492
81492
|
* Step-tree device jump (same-node, phase 1) — OPTIONAL manual override.
|
|
81493
81493
|
* When set, this step runs on the named enabled device of the SAME node
|
|
@@ -81538,7 +81538,7 @@ var AgentPipelineSettingsSchema = object({
|
|
|
81538
81538
|
* every accelerator of the node under the device's own settings. Never a
|
|
81539
81539
|
* model or a model-bound threshold. Written by `setNodeStepSettings`.
|
|
81540
81540
|
*/
|
|
81541
|
-
stepSettings: record(string(), record(string(), unknown()).readonly()).optional(),
|
|
81541
|
+
stepSettings: record$1(string(), record$1(string(), unknown()).readonly()).optional(),
|
|
81542
81542
|
/**
|
|
81543
81543
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
81544
81544
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
@@ -81548,14 +81548,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
81548
81548
|
* the default model/settings for every camera landing on that accelerator;
|
|
81549
81549
|
* a stepId absent ⇒ the step uses that device's format default.
|
|
81550
81550
|
*/
|
|
81551
|
-
inferenceDevices: record(string(), object({
|
|
81551
|
+
inferenceDevices: record$1(string(), object({
|
|
81552
81552
|
enabled: boolean(),
|
|
81553
81553
|
weight: number$1().positive().optional(),
|
|
81554
81554
|
maxSessions: number$1().int().positive().optional(),
|
|
81555
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
81555
|
+
steps: record$1(string(), DeviceStepConfigSchema).optional()
|
|
81556
81556
|
})).optional()
|
|
81557
81557
|
});
|
|
81558
|
-
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
81558
|
+
var CameraStepSettingsSchema = record$1(string(), record$1(string(), unknown()).readonly());
|
|
81559
81559
|
/** The three root-detector choices a camera has (D507: at most one root). */
|
|
81560
81560
|
var CameraDetectionSourceSchema = _enum([
|
|
81561
81561
|
"pipeline",
|
|
@@ -81563,7 +81563,7 @@ var CameraDetectionSourceSchema = _enum([
|
|
|
81563
81563
|
"none"
|
|
81564
81564
|
]);
|
|
81565
81565
|
var CameraPipelineSettingsSchema = object({
|
|
81566
|
-
stepToggles: record(string(), boolean()).optional(),
|
|
81566
|
+
stepToggles: record$1(string(), boolean()).optional(),
|
|
81567
81567
|
stepSettings: CameraStepSettingsSchema.optional()
|
|
81568
81568
|
});
|
|
81569
81569
|
/**
|
|
@@ -81635,7 +81635,7 @@ var GlobalMetricsSchema = object({
|
|
|
81635
81635
|
* `capability.binding-changed` event subscription) when resolving
|
|
81636
81636
|
* capability providers.
|
|
81637
81637
|
*/
|
|
81638
|
-
var CapabilityBindingsSchema = record(string(), string());
|
|
81638
|
+
var CapabilityBindingsSchema = record$1(string(), string());
|
|
81639
81639
|
/**
|
|
81640
81640
|
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
81641
81641
|
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
@@ -81906,7 +81906,7 @@ var NodeInferenceDeviceSchema = object({
|
|
|
81906
81906
|
* available per format; this is the stored selection that becomes the
|
|
81907
81907
|
* default for EVERY camera landing on this accelerator.
|
|
81908
81908
|
*/
|
|
81909
|
-
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
81909
|
+
steps: record$1(string(), DeviceStepConfigSchema).optional(),
|
|
81910
81910
|
/**
|
|
81911
81911
|
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
81912
81912
|
* the reason the dispatcher drops it. Computed by the SAME
|
|
@@ -82101,11 +82101,11 @@ method(object({
|
|
|
82101
82101
|
auth: "admin"
|
|
82102
82102
|
}), method(object({
|
|
82103
82103
|
agentNodeId: string(),
|
|
82104
|
-
inferenceDevices: record(string(), object({
|
|
82104
|
+
inferenceDevices: record$1(string(), object({
|
|
82105
82105
|
enabled: boolean(),
|
|
82106
82106
|
weight: number$1().positive().optional(),
|
|
82107
82107
|
maxSessions: number$1().int().positive().optional(),
|
|
82108
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
82108
|
+
steps: record$1(string(), DeviceStepConfigSchema).optional()
|
|
82109
82109
|
}))
|
|
82110
82110
|
}), object({ success: literal(true) }), {
|
|
82111
82111
|
kind: "mutation",
|
|
@@ -82113,7 +82113,7 @@ method(object({
|
|
|
82113
82113
|
}), method(object({
|
|
82114
82114
|
agentNodeId: string(),
|
|
82115
82115
|
addonId: string(),
|
|
82116
|
-
settings: record(string(), unknown()).nullable()
|
|
82116
|
+
settings: record$1(string(), unknown()).nullable()
|
|
82117
82117
|
}), object({ success: literal(true) }), {
|
|
82118
82118
|
kind: "mutation",
|
|
82119
82119
|
auth: "admin"
|
|
@@ -82184,7 +82184,7 @@ method(object({
|
|
|
82184
82184
|
}), method(object({
|
|
82185
82185
|
deviceId: number$1(),
|
|
82186
82186
|
addonId: string(),
|
|
82187
|
-
settings: record(string(), unknown()).nullable()
|
|
82187
|
+
settings: record$1(string(), unknown()).nullable()
|
|
82188
82188
|
}), object({ success: literal(true) }), {
|
|
82189
82189
|
kind: "mutation",
|
|
82190
82190
|
auth: "admin"
|
|
@@ -83808,7 +83808,7 @@ var EntryKindInfoSchema = object({
|
|
|
83808
83808
|
title: string(),
|
|
83809
83809
|
nameField: string(),
|
|
83810
83810
|
/** JSON Schema of the body; `secret: true` marks a password field. */
|
|
83811
|
-
fields: record(string(), unknown()),
|
|
83811
|
+
fields: record$1(string(), unknown()),
|
|
83812
83812
|
secretPaths: array(string()),
|
|
83813
83813
|
rows: number$1().int().nonnegative()
|
|
83814
83814
|
});
|
|
@@ -84388,7 +84388,7 @@ var RecordingDevicePinSchema = object({
|
|
|
84388
84388
|
var RecordingPlacementViewSchema = object({
|
|
84389
84389
|
assignments: array(RecordingDevicePlacementSchema),
|
|
84390
84390
|
pins: array(RecordingDevicePinSchema),
|
|
84391
|
-
defaultLocations: record(string(), string())
|
|
84391
|
+
defaultLocations: record$1(string(), string())
|
|
84392
84392
|
});
|
|
84393
84393
|
var RecordingSetDevicePlacementInputSchema = object({
|
|
84394
84394
|
deviceId: number$1().int(),
|
|
@@ -86029,9 +86029,9 @@ var RemoteBindingSchema = object({ action: object({
|
|
|
86029
86029
|
deviceId: number$1().int().nonnegative(),
|
|
86030
86030
|
cap: string().min(1),
|
|
86031
86031
|
method: string().min(1),
|
|
86032
|
-
args: record(string(), unknown()).optional(),
|
|
86032
|
+
args: record$1(string(), unknown()).optional(),
|
|
86033
86033
|
/** The unit the person picked per arg (display only); `args` always hold the cap's own unit. */
|
|
86034
|
-
argUnits: record(string(), string().min(1)).optional()
|
|
86034
|
+
argUnits: record$1(string(), string().min(1)).optional()
|
|
86035
86035
|
}) });
|
|
86036
86036
|
var RemoteCustomButtonSchema = object({
|
|
86037
86037
|
/** The slug after `custom:` in the role. */
|
|
@@ -86110,7 +86110,7 @@ var RemoteConfigSchema = object({
|
|
|
86110
86110
|
*/
|
|
86111
86111
|
defaultTransmitterId: number$1().int().nonnegative().nullable().default(null),
|
|
86112
86112
|
/** Keyed by role. A role with no entry falls back to the native cap. */
|
|
86113
|
-
bindings: record(string(), RemoteBindingSchema),
|
|
86113
|
+
bindings: record$1(string(), RemoteBindingSchema),
|
|
86114
86114
|
customButtons: array(RemoteCustomButtonSchema).max(100),
|
|
86115
86115
|
/**
|
|
86116
86116
|
* The sources the operator DECLARED (planning#460). A custom button is a
|
|
@@ -87206,7 +87206,7 @@ var scriptRunnerCapability = {
|
|
|
87206
87206
|
/** Optional variables map — passed through to the upstream
|
|
87207
87207
|
* script. Provider rejects when the script doesn't declare
|
|
87208
87208
|
* input fields (gated by `DeviceFeature.ScriptVariables`). */
|
|
87209
|
-
variables: record(string(), unknown()).optional()
|
|
87209
|
+
variables: record$1(string(), unknown()).optional()
|
|
87210
87210
|
}), _void(), {
|
|
87211
87211
|
kind: "mutation",
|
|
87212
87212
|
auth: "admin",
|
|
@@ -88376,7 +88376,7 @@ var ReadChunkInputSchema = object({
|
|
|
88376
88376
|
length: number$1()
|
|
88377
88377
|
});
|
|
88378
88378
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
88379
|
-
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
88379
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record$1(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
88380
88380
|
location: StorageLocationSchema,
|
|
88381
88381
|
relativePath: string()
|
|
88382
88382
|
}), string(), { auth: "admin" }), method(object({
|
|
@@ -88453,7 +88453,7 @@ var CamStreamDescriptorSchema = object({
|
|
|
88453
88453
|
/** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
|
|
88454
88454
|
profileHint: CamProfileSchema.optional(),
|
|
88455
88455
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
88456
|
-
metadata: record(string(), unknown()).optional()
|
|
88456
|
+
metadata: record$1(string(), unknown()).optional()
|
|
88457
88457
|
});
|
|
88458
88458
|
/**
|
|
88459
88459
|
* `stream-catalog` — device-scoped, provider-implemented. The pull counterpart
|
|
@@ -89618,7 +89618,7 @@ var DebugWatchResultSchema = object({
|
|
|
89618
89618
|
/** Channels a `rearm` found already lapsed: nothing was revived. */
|
|
89619
89619
|
lapsed: array(string()).readonly()
|
|
89620
89620
|
});
|
|
89621
|
-
method(_void(), SystemInfoSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
89621
|
+
method(_void(), SystemInfoSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record$1(string(), unknown()), _null(), {
|
|
89622
89622
|
kind: "mutation",
|
|
89623
89623
|
auth: "admin"
|
|
89624
89624
|
}), method(_void(), _void(), {
|
|
@@ -89913,7 +89913,7 @@ var AutomationTemplatePayloadSchema = object({
|
|
|
89913
89913
|
version: literal(1),
|
|
89914
89914
|
description: string().max(500).optional(),
|
|
89915
89915
|
/** The automation body; a recipe once the inputs are written into it. */
|
|
89916
|
-
body: record(string(), unknown()),
|
|
89916
|
+
body: record$1(string(), unknown()),
|
|
89917
89917
|
inputs: array(TemplateInputSchema).max(30),
|
|
89918
89918
|
bindings: array(TemplateBindingSchema).max(100)
|
|
89919
89919
|
}).superRefine(bindingProblems);
|
|
@@ -90000,7 +90000,7 @@ method(object({ kind: TemplateKindSchema.optional() }), array(TemplateRecordSche
|
|
|
90000
90000
|
});
|
|
90001
90001
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
90002
90002
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
90003
|
-
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
90003
|
+
var ProfileSettingsBagSchema = record$1(string(), unknown());
|
|
90004
90004
|
/**
|
|
90005
90005
|
* A live terminal session hosted by the provider addon. Output and input do
|
|
90006
90006
|
* NOT flow through the capability — they use the addon data plane
|
|
@@ -90272,7 +90272,7 @@ var TrainingProviderDescriptorSchema = object({
|
|
|
90272
90272
|
* fields are keychain {@link SecretFieldView} or `null` / `''` (create),
|
|
90273
90273
|
* never plaintext. Same hydrate contract as settings forms (D789).
|
|
90274
90274
|
*/
|
|
90275
|
-
formValues: record(string(), unknown()).optional()
|
|
90275
|
+
formValues: record$1(string(), unknown()).optional()
|
|
90276
90276
|
});
|
|
90277
90277
|
var ProviderJobStateSchema = _enum([
|
|
90278
90278
|
"pending",
|
|
@@ -90429,7 +90429,7 @@ var TrainingBaseModelSchema = object({
|
|
|
90429
90429
|
weights: string(),
|
|
90430
90430
|
imgsz: number$1().int(),
|
|
90431
90431
|
baselineOnnxUrl: string(),
|
|
90432
|
-
baselineFloors: record(string(), number$1()),
|
|
90432
|
+
baselineFloors: record$1(string(), number$1()),
|
|
90433
90433
|
/** The base the fleet runs most — the UI's default. */
|
|
90434
90434
|
recommended: boolean()
|
|
90435
90435
|
});
|
|
@@ -90460,7 +90460,7 @@ var TrainingSplitPlanSchema = object({
|
|
|
90460
90460
|
/** Used when no camera is held out: the last N days of every camera. */
|
|
90461
90461
|
holdoutLastDays: number$1().int().nonnegative(),
|
|
90462
90462
|
/** Holdout subjects per class (camera holdout only; `null` = known only after the split). */
|
|
90463
|
-
holdoutSupport: record(string(), number$1().int()).nullable(),
|
|
90463
|
+
holdoutSupport: record$1(string(), number$1().int()).nullable(),
|
|
90464
90464
|
trainSubjects: number$1().int()
|
|
90465
90465
|
});
|
|
90466
90466
|
var TrainingRefusalReasonSchema = _enum([
|
|
@@ -90772,7 +90772,7 @@ var UserSummarySchema = object({
|
|
|
90772
90772
|
username: string(),
|
|
90773
90773
|
isAdmin: boolean().default(false),
|
|
90774
90774
|
allowedProviders: union([array(string()), literal("*")]),
|
|
90775
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])),
|
|
90775
|
+
allowedDevices: record$1(string(), union([array(string()), literal("*")])),
|
|
90776
90776
|
/** Capability rows, or ONE viewer row (D921) — see `UserScopeSchema`. */
|
|
90777
90777
|
scopes: array(UserScopeSchema).default([]),
|
|
90778
90778
|
/**
|
|
@@ -90790,14 +90790,14 @@ var CreateUserInputSchema = object({
|
|
|
90790
90790
|
password: string().min(6),
|
|
90791
90791
|
isAdmin: boolean().default(false),
|
|
90792
90792
|
allowedProviders: union([array(string()), literal("*")]).optional(),
|
|
90793
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
90793
|
+
allowedDevices: record$1(string(), union([array(string()), literal("*")])).optional(),
|
|
90794
90794
|
scopes: array(UserScopeSchema).optional()
|
|
90795
90795
|
});
|
|
90796
90796
|
var UpdateUserInputSchema = object({
|
|
90797
90797
|
id: string(),
|
|
90798
90798
|
isAdmin: boolean().optional(),
|
|
90799
90799
|
allowedProviders: union([array(string()), literal("*")]).optional(),
|
|
90800
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
90800
|
+
allowedDevices: record$1(string(), union([array(string()), literal("*")])).optional(),
|
|
90801
90801
|
scopes: array(UserScopeSchema).optional()
|
|
90802
90802
|
});
|
|
90803
90803
|
var OauthSessionSummarySchema = object({
|
|
@@ -91029,14 +91029,14 @@ var PasskeySummarySchema = object({
|
|
|
91029
91029
|
method(object({
|
|
91030
91030
|
userId: string(),
|
|
91031
91031
|
username: string()
|
|
91032
|
-
}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
91032
|
+
}), object({ optionsJSON: record$1(string(), unknown()) }), {
|
|
91033
91033
|
kind: "mutation",
|
|
91034
91034
|
auth: "admin",
|
|
91035
91035
|
access: "create"
|
|
91036
91036
|
}), method(object({
|
|
91037
91037
|
userId: string(),
|
|
91038
91038
|
/** RegistrationResponseJSON from the browser. */
|
|
91039
|
-
response: record(string(), unknown()),
|
|
91039
|
+
response: record$1(string(), unknown()),
|
|
91040
91040
|
/** Operator-visible label (e.g. "MacBook Touch ID"). */
|
|
91041
91041
|
label: string()
|
|
91042
91042
|
}), object({
|
|
@@ -91046,7 +91046,7 @@ method(object({
|
|
|
91046
91046
|
kind: "mutation",
|
|
91047
91047
|
auth: "admin",
|
|
91048
91048
|
access: "create"
|
|
91049
|
-
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
91049
|
+
}), method(object({ userId: string().optional() }), object({ optionsJSON: record$1(string(), unknown()) }), {
|
|
91050
91050
|
kind: "mutation",
|
|
91051
91051
|
access: "view",
|
|
91052
91052
|
auth: "admin"
|
|
@@ -91054,18 +91054,18 @@ method(object({
|
|
|
91054
91054
|
/** Required — the user the assertion belongs to (verified). */
|
|
91055
91055
|
userId: string(),
|
|
91056
91056
|
/** AuthenticationResponseJSON from the browser. */
|
|
91057
|
-
response: record(string(), unknown())
|
|
91057
|
+
response: record$1(string(), unknown())
|
|
91058
91058
|
}), object({ verified: boolean() }), {
|
|
91059
91059
|
kind: "mutation",
|
|
91060
91060
|
access: "view",
|
|
91061
91061
|
auth: "admin"
|
|
91062
|
-
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
91062
|
+
}), method(object({}), object({ optionsJSON: record$1(string(), unknown()) }), {
|
|
91063
91063
|
kind: "mutation",
|
|
91064
91064
|
access: "view",
|
|
91065
91065
|
auth: "admin"
|
|
91066
91066
|
}), method(object({
|
|
91067
91067
|
/** AuthenticationResponseJSON from the browser. */
|
|
91068
|
-
response: record(string(), unknown()) }), object({
|
|
91068
|
+
response: record$1(string(), unknown()) }), object({
|
|
91069
91069
|
verified: boolean(),
|
|
91070
91070
|
userId: string().nullable()
|
|
91071
91071
|
}), {
|
|
@@ -91502,7 +91502,7 @@ var VectorMetricSchema = _enum([
|
|
|
91502
91502
|
* Callers keep their rich records in their own store and put only the filterable
|
|
91503
91503
|
* columns here (deviceId, timestamp, className, modelId, …).
|
|
91504
91504
|
*/
|
|
91505
|
-
var VectorMetadataSchema = record(string(), union([
|
|
91505
|
+
var VectorMetadataSchema = record$1(string(), union([
|
|
91506
91506
|
string(),
|
|
91507
91507
|
number$1(),
|
|
91508
91508
|
boolean()
|
|
@@ -91515,12 +91515,12 @@ var VectorMetadataSchema = record(string(), union([
|
|
|
91515
91515
|
* caller will treat as matches.
|
|
91516
91516
|
*/
|
|
91517
91517
|
var VectorFilterSchema = object({
|
|
91518
|
-
equals: record(string(), union([
|
|
91518
|
+
equals: record$1(string(), union([
|
|
91519
91519
|
string(),
|
|
91520
91520
|
number$1(),
|
|
91521
91521
|
boolean()
|
|
91522
91522
|
])).optional(),
|
|
91523
|
-
between: record(string(), tuple([number$1(), number$1()])).optional()
|
|
91523
|
+
between: record$1(string(), tuple([number$1(), number$1()])).optional()
|
|
91524
91524
|
});
|
|
91525
91525
|
/** One vector plus its identity and filterable metadata. */
|
|
91526
91526
|
var VectorItemSchema = object({
|
|
@@ -92549,7 +92549,7 @@ var PerScopeBreakdownSchema = object({
|
|
|
92549
92549
|
/** Total tracked objects in this scope (frame / zone / unzoned). */
|
|
92550
92550
|
totalObjects: number$1().int().nonnegative(),
|
|
92551
92551
|
/** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
|
|
92552
|
-
byClass: record(string(), number$1().int().nonnegative()),
|
|
92552
|
+
byClass: record$1(string(), number$1().int().nonnegative()),
|
|
92553
92553
|
/**
|
|
92554
92554
|
* Of `totalObjects`, how many are STANDING — objects the census holds,
|
|
92555
92555
|
* present but not going anywhere (a parked car, a bin, a statue).
|
|
@@ -112337,7 +112337,7 @@ new Set([
|
|
|
112337
112337
|
"audio-silence"
|
|
112338
112338
|
]);
|
|
112339
112339
|
AppPageLangSchema.options;
|
|
112340
|
-
record(string().min(1), string());
|
|
112340
|
+
record$1(string().min(1), string());
|
|
112341
112341
|
/**
|
|
112342
112342
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
112343
112343
|
*
|
|
@@ -112567,7 +112567,7 @@ TimelapseRuleInputSchema.extend({
|
|
|
112567
112567
|
* "never generated" would re-render and re-notify every camera of every rule
|
|
112568
112568
|
* once, on the deploy that shipped the map.
|
|
112569
112569
|
*/
|
|
112570
|
-
generatedByDevice: record(string(), number$1()).optional(),
|
|
112570
|
+
generatedByDevice: record$1(string(), number$1()).optional(),
|
|
112571
112571
|
/** userId of the caller who created the rule (server-stamped). */
|
|
112572
112572
|
createdBy: string(),
|
|
112573
112573
|
createdAt: number$1(),
|
|
@@ -113023,7 +113023,7 @@ object({
|
|
|
113023
113023
|
supportedController: string().optional(),
|
|
113024
113024
|
commandsEncoding: string(),
|
|
113025
113025
|
delay: number$1().nonnegative().optional(),
|
|
113026
|
-
commands: record(string(), unknown())
|
|
113026
|
+
commands: record$1(string(), unknown())
|
|
113027
113027
|
});
|
|
113028
113028
|
//#endregion
|
|
113029
113029
|
//#region src/homematic-reconciler.ts
|
|
@@ -113423,7 +113423,7 @@ function requireConfirmed(confirmed) {
|
|
|
113423
113423
|
//#endregion
|
|
113424
113424
|
//#region src/ccu/hm-channel-names.ts
|
|
113425
113425
|
/** The device part of a `DEVICE:index` channel address. */
|
|
113426
|
-
function deviceAddressOf$
|
|
113426
|
+
function deviceAddressOf$3(channelAddress) {
|
|
113427
113427
|
const idx = channelAddress.lastIndexOf(":");
|
|
113428
113428
|
return idx === -1 ? channelAddress : channelAddress.slice(0, idx);
|
|
113429
113429
|
}
|
|
@@ -113435,7 +113435,7 @@ function deviceAddressOf$2(channelAddress) {
|
|
|
113435
113435
|
function channelNameLookup(devices) {
|
|
113436
113436
|
const byAddress = new Map(devices.map((device) => [device.address, device]));
|
|
113437
113437
|
return (channelAddress) => {
|
|
113438
|
-
const device = byAddress.get(deviceAddressOf$
|
|
113438
|
+
const device = byAddress.get(deviceAddressOf$3(channelAddress));
|
|
113439
113439
|
if (device === void 0) return {
|
|
113440
113440
|
channelName: null,
|
|
113441
113441
|
deviceName: null,
|
|
@@ -113462,7 +113462,39 @@ function directLinksOfKey(keyAddress, links, names) {
|
|
|
113462
113462
|
};
|
|
113463
113463
|
});
|
|
113464
113464
|
}
|
|
113465
|
-
|
|
113465
|
+
/** A HmIP device sends presses only while a CCU program uses the key (a central link is not enough). */
|
|
113466
|
+
function isHmipDevice(device) {
|
|
113467
|
+
return /^hmip/i.test(device.type);
|
|
113468
|
+
}
|
|
113469
|
+
/** The one CCU program that carries a device's key events. It is found by this name; nothing else is stored. */
|
|
113470
|
+
function keyEventProgramName(device) {
|
|
113471
|
+
return `CamStack: ${hmName(device.name) ?? device.address} events`;
|
|
113472
|
+
}
|
|
113473
|
+
function deviceAddressOf$2(channelAddress) {
|
|
113474
|
+
const colon = channelAddress.lastIndexOf(":");
|
|
113475
|
+
return colon === -1 ? channelAddress : channelAddress.slice(0, colon);
|
|
113476
|
+
}
|
|
113477
|
+
/**
|
|
113478
|
+
* The key channels the device's program listens to: an empty set when there is
|
|
113479
|
+
* no program, `null` when the read failed (the row then says `unknown`).
|
|
113480
|
+
*/
|
|
113481
|
+
async function programChannelsOf(deps, integrationId, facade, device, deviceId) {
|
|
113482
|
+
try {
|
|
113483
|
+
const program = await facade.getKeyEventProgram(keyEventProgramName(device));
|
|
113484
|
+
return new Set(program?.channelAddresses ?? []);
|
|
113485
|
+
} catch (err) {
|
|
113486
|
+
deps.logger.warn("Homematic key event program could not be read", {
|
|
113487
|
+
...deviceId !== void 0 ? { tags: { deviceId } } : {},
|
|
113488
|
+
meta: {
|
|
113489
|
+
integrationId,
|
|
113490
|
+
address: device.address,
|
|
113491
|
+
error: errorText(err)
|
|
113492
|
+
}
|
|
113493
|
+
});
|
|
113494
|
+
return null;
|
|
113495
|
+
}
|
|
113496
|
+
}
|
|
113497
|
+
async function keyChannelRow(deps, integrationId, facade, names, channel, programChannels) {
|
|
113466
113498
|
const row = {
|
|
113467
113499
|
address: channel.address,
|
|
113468
113500
|
index: channelIndexFromAddress(channel.address) ?? String(channel.index),
|
|
@@ -113470,9 +113502,15 @@ async function keyChannelRow(deps, integrationId, facade, names, channel) {
|
|
|
113470
113502
|
};
|
|
113471
113503
|
try {
|
|
113472
113504
|
const state = await facade.getChannelLinkState(channel.address);
|
|
113505
|
+
if (programChannels === null) return {
|
|
113506
|
+
...row,
|
|
113507
|
+
central: "unknown",
|
|
113508
|
+
links: []
|
|
113509
|
+
};
|
|
113510
|
+
const covered = programChannels === void 0 || programChannels.has(channel.address);
|
|
113473
113511
|
return {
|
|
113474
113512
|
...row,
|
|
113475
|
-
central: state.central ? "on" : "off",
|
|
113513
|
+
central: state.central && covered ? "on" : "off",
|
|
113476
113514
|
links: directLinksOfKey(channel.address, state.links, names)
|
|
113477
113515
|
};
|
|
113478
113516
|
} catch (err) {
|
|
@@ -113496,7 +113534,8 @@ async function keyChannelsForDevice(deps, integrationId, device, adopted) {
|
|
|
113496
113534
|
const facade = deps.facade(integrationId);
|
|
113497
113535
|
if (facade === null) return [];
|
|
113498
113536
|
const names = channelNameLookup(facade.devices());
|
|
113499
|
-
|
|
113537
|
+
const programChannels = isHmipDevice(device) ? await programChannelsOf(deps, integrationId, facade, device, (await deps.adoptedAddresses(integrationId)).get(device.address)) : void 0;
|
|
113538
|
+
return Promise.all(keys.map((channel) => keyChannelRow(deps, integrationId, facade, names, channel, programChannels)));
|
|
113500
113539
|
}
|
|
113501
113540
|
function withKeyChannels(row, keyChannels) {
|
|
113502
113541
|
return {
|
|
@@ -113504,27 +113543,76 @@ function withKeyChannels(row, keyChannels) {
|
|
|
113504
113543
|
keyChannels: [...keyChannels]
|
|
113505
113544
|
};
|
|
113506
113545
|
}
|
|
113507
|
-
/**
|
|
113546
|
+
/**
|
|
113547
|
+
* Enable or disable the events of one key channel. Direct links stay. A HmIP
|
|
113548
|
+
* key also needs a CCU program that uses it (one per device, found by name):
|
|
113549
|
+
* enabling puts the channel in it, disabling takes it out and deletes the
|
|
113550
|
+
* program when it was the last key.
|
|
113551
|
+
*/
|
|
113508
113552
|
function buildButtonEventHandlers(deps) {
|
|
113509
113553
|
return { setButtonEvents: async (input) => {
|
|
113510
113554
|
requireConfirmed(input.confirmed);
|
|
113511
113555
|
const facade = requireFacade(deps, input.integrationId);
|
|
113556
|
+
const deviceAddress = deviceAddressOf$2(input.address);
|
|
113557
|
+
const device = facade.devices().find((candidate) => candidate.address === deviceAddress);
|
|
113558
|
+
const deviceId = (await deps.adoptedAddresses(input.integrationId)).get(deviceAddress);
|
|
113559
|
+
const tags = deviceId !== void 0 ? { tags: { deviceId } } : {};
|
|
113512
113560
|
try {
|
|
113513
113561
|
if (input.enabled) await facade.createCentralLink(input.address);
|
|
113514
113562
|
else await facade.removeCentralLink(input.address);
|
|
113563
|
+
if (device !== void 0 && isHmipDevice(device)) await syncKeyEventProgram(deps, facade, device, input.address, input.enabled, tags);
|
|
113515
113564
|
} catch (err) {
|
|
113516
|
-
deps.logger.warn("Homematic
|
|
113517
|
-
|
|
113518
|
-
|
|
113519
|
-
|
|
113520
|
-
|
|
113521
|
-
|
|
113565
|
+
deps.logger.warn("Homematic button events change failed", {
|
|
113566
|
+
...tags,
|
|
113567
|
+
meta: {
|
|
113568
|
+
integrationId: input.integrationId,
|
|
113569
|
+
address: input.address,
|
|
113570
|
+
enabled: input.enabled,
|
|
113571
|
+
error: errorText(err)
|
|
113572
|
+
}
|
|
113573
|
+
});
|
|
113522
113574
|
throw err;
|
|
113523
113575
|
}
|
|
113576
|
+
deps.logger.info(`Homematic: button events ${input.enabled ? "enabled" : "disabled"}`, {
|
|
113577
|
+
...tags,
|
|
113578
|
+
meta: {
|
|
113579
|
+
integrationId: input.integrationId,
|
|
113580
|
+
address: input.address
|
|
113581
|
+
}
|
|
113582
|
+
});
|
|
113524
113583
|
deps.ccuChanged(input.integrationId);
|
|
113525
113584
|
return { ok: true };
|
|
113526
113585
|
} };
|
|
113527
113586
|
}
|
|
113587
|
+
/** Put the channel in the device's key event program, or take it out (deleting an emptied program). */
|
|
113588
|
+
async function syncKeyEventProgram(deps, facade, device, channelAddress, enabled, tags) {
|
|
113589
|
+
const name = keyEventProgramName(device);
|
|
113590
|
+
const current = (await facade.getKeyEventProgram(name))?.channelAddresses ?? [];
|
|
113591
|
+
const wanted = enabled ? [...new Set([...current, channelAddress])] : current.filter((address) => address !== channelAddress);
|
|
113592
|
+
if (wanted.length === 0) {
|
|
113593
|
+
const { removed } = await facade.removeKeyEventProgram(name);
|
|
113594
|
+
deps.logger.info("Homematic: key event program removed", {
|
|
113595
|
+
...tags,
|
|
113596
|
+
meta: {
|
|
113597
|
+
program: name,
|
|
113598
|
+
removed
|
|
113599
|
+
}
|
|
113600
|
+
});
|
|
113601
|
+
return;
|
|
113602
|
+
}
|
|
113603
|
+
const { programId, created } = await facade.ensureKeyEventProgram({
|
|
113604
|
+
name,
|
|
113605
|
+
channelAddresses: wanted
|
|
113606
|
+
});
|
|
113607
|
+
deps.logger.info(`Homematic: key event program ${created ? "created" : "updated"}`, {
|
|
113608
|
+
...tags,
|
|
113609
|
+
meta: {
|
|
113610
|
+
program: name,
|
|
113611
|
+
programId,
|
|
113612
|
+
channels: wanted
|
|
113613
|
+
}
|
|
113614
|
+
});
|
|
113615
|
+
}
|
|
113528
113616
|
//#endregion
|
|
113529
113617
|
//#region src/ccu/ccu-device-rows.ts
|
|
113530
113618
|
/** `RSSI_*` reports this when the device has no signal reading. */
|
|
@@ -113930,7 +114018,7 @@ var DeviceConfigSchema = object({ channels: array(object({
|
|
|
113930
114018
|
var DeviceRefSchema = IntegrationRefSchema.extend({ address: string().min(1) });
|
|
113931
114019
|
var SetChannelConfigInputSchema = IntegrationRefSchema.extend({
|
|
113932
114020
|
channel: string().min(1),
|
|
113933
|
-
values: record(string(), ConfigValueSchema),
|
|
114021
|
+
values: record$1(string(), ConfigValueSchema),
|
|
113934
114022
|
confirmed: ConfirmedSchema
|
|
113935
114023
|
});
|
|
113936
114024
|
var LinkPressActionSchema = _enum([
|
|
@@ -132401,9 +132489,9 @@ function parseParams(paramsChildren) {
|
|
|
132401
132489
|
function parseFault(faultChildren) {
|
|
132402
132490
|
const valueNodes = childrenOf(faultChildren, "value");
|
|
132403
132491
|
const struct = valueNodes === void 0 ? {} : parseValue(valueNodes);
|
|
132404
|
-
const
|
|
132405
|
-
const rawCode =
|
|
132406
|
-
const rawString =
|
|
132492
|
+
const record2 = typeof struct === "object" && struct !== null && !Array.isArray(struct) ? struct : {};
|
|
132493
|
+
const rawCode = record2["faultCode"];
|
|
132494
|
+
const rawString = record2["faultString"];
|
|
132407
132495
|
return {
|
|
132408
132496
|
faultCode: typeof rawCode === "number" ? rawCode : Number(rawCode),
|
|
132409
132497
|
faultString: typeof rawString === "string" ? rawString : ""
|
|
@@ -133690,21 +133778,207 @@ var CcuTopology = class {
|
|
|
133690
133778
|
throw new ValidationError(answer["reason"] === "channel" ? `Unknown channel "${channelAddress2}".` : `Unknown room "${id}".`);
|
|
133691
133779
|
}
|
|
133692
133780
|
};
|
|
133781
|
+
var DATAPOINT_NAME = /^[0-9A-Za-z_-]+\.[0-9A-Za-z_-]+:\d+\.PRESS_(?:SHORT|LONG)$/;
|
|
133782
|
+
function checkedDatapoints(datapoints) {
|
|
133783
|
+
if (datapoints.length === 0) throw new ValidationError("A key event program needs at least one data point.");
|
|
133784
|
+
for (const name of datapoints) if (!DATAPOINT_NAME.test(name)) throw new ValidationError(`Invalid key data point "${name}".`);
|
|
133785
|
+
return datapoints;
|
|
133786
|
+
}
|
|
133787
|
+
var FIND_PROGRAM = `string sName = "##name##";
|
|
133788
|
+
object oPrograms = dom.GetObject(ID_PROGRAMS);
|
|
133789
|
+
object oProg;
|
|
133790
|
+
string sPid;
|
|
133791
|
+
foreach(sPid, oPrograms.EnumUsedIDs()) {
|
|
133792
|
+
object oCand = dom.GetObject(sPid);
|
|
133793
|
+
if (oCand) {
|
|
133794
|
+
if (oCand.Name() == sName) {
|
|
133795
|
+
oProg = oCand;
|
|
133796
|
+
}
|
|
133797
|
+
}
|
|
133798
|
+
}`;
|
|
133799
|
+
function buildEnsureKeyEventProgram(datapoints) {
|
|
133800
|
+
const dps = checkedDatapoints(datapoints);
|
|
133801
|
+
return `! nodehomematic:ensureKeyEventProgram
|
|
133802
|
+
${FIND_PROGRAM}
|
|
133803
|
+
string sMissing = "";
|
|
133804
|
+
string sMissSep = "";
|
|
133805
|
+
${dps.map((dp, i) => `object oDp${i} = dom.GetObject("${dp}");
|
|
133806
|
+
if (!oDp${i}) {
|
|
133807
|
+
sMissing = sMissing # sMissSep # "\\"${dp}\\"";
|
|
133808
|
+
sMissSep = ",";
|
|
133809
|
+
}`).join("\n")}
|
|
133810
|
+
if (sMissing != "") {
|
|
133811
|
+
Write("{\\"error\\":\\"datapoint\\",\\"missing\\":[" # sMissing # "]}");
|
|
133812
|
+
} else {
|
|
133813
|
+
boolean bCreated = false;
|
|
133814
|
+
if (!oProg) {
|
|
133815
|
+
oProg = dom.CreateObject(OT_PROGRAM);
|
|
133816
|
+
oProg.Name(sName);
|
|
133817
|
+
oPrograms.Add(oProg.ID());
|
|
133818
|
+
bCreated = true;
|
|
133819
|
+
}
|
|
133820
|
+
object oRule = oProg.Rule();
|
|
133821
|
+
oRule.RuleOperatorType(2);
|
|
133822
|
+
integer iCnt = oRule.RuleConditions().Count();
|
|
133823
|
+
while (iCnt > 0) {
|
|
133824
|
+
object oOld = oRule.RuleCondition(0);
|
|
133825
|
+
oRule.RuleDelCondition(oOld.ID());
|
|
133826
|
+
iCnt = iCnt - 1;
|
|
133827
|
+
}
|
|
133828
|
+
object oCnd = oRule.RuleAddCondition();
|
|
133829
|
+
oCnd.CndOperatorType(2);
|
|
133830
|
+
object oSc;
|
|
133831
|
+
${dps.map((_dp, i) => `oSc = oCnd.CndAddSingle();
|
|
133832
|
+
oSc.OperatorType(1);
|
|
133833
|
+
oSc.ConditionType(1);
|
|
133834
|
+
oSc.ConditionType2(13);
|
|
133835
|
+
oSc.LeftValType(ivtObjectId);
|
|
133836
|
+
oSc.LeftVal(oDp${i}.ID());
|
|
133837
|
+
oSc.ConditionChannel(oDp${i}.Channel());`).join("\n")}
|
|
133838
|
+
oProg.Internal(false);
|
|
133839
|
+
oProg.Active(true);
|
|
133840
|
+
dom.RTUpdate(0);
|
|
133841
|
+
Write("{\\"programId\\":\\"");
|
|
133842
|
+
Write(oProg.ID());
|
|
133843
|
+
Write("\\",\\"created\\":");
|
|
133844
|
+
if (bCreated) {
|
|
133845
|
+
Write("true");
|
|
133846
|
+
} else {
|
|
133847
|
+
Write("false");
|
|
133848
|
+
}
|
|
133849
|
+
Write("}");
|
|
133850
|
+
}`;
|
|
133851
|
+
}
|
|
133852
|
+
var REMOVE_KEY_EVENT_PROGRAM = `! nodehomematic:removeKeyEventProgram
|
|
133853
|
+
${FIND_PROGRAM}
|
|
133854
|
+
if (oProg) {
|
|
133855
|
+
dom.DeleteObject(oProg.ID());
|
|
133856
|
+
Write("{\\"removed\\":true}");
|
|
133857
|
+
} else {
|
|
133858
|
+
Write("{\\"removed\\":false}");
|
|
133859
|
+
}`;
|
|
133860
|
+
var GET_KEY_EVENT_PROGRAM = `! nodehomematic:getKeyEventProgram
|
|
133861
|
+
${FIND_PROGRAM}
|
|
133862
|
+
if (!oProg) {
|
|
133863
|
+
Write("{\\"found\\":false}");
|
|
133864
|
+
} else {
|
|
133865
|
+
Write("{\\"found\\":true,\\"programId\\":\\"");
|
|
133866
|
+
Write(oProg.ID());
|
|
133867
|
+
Write("\\",\\"datapoints\\":[");
|
|
133868
|
+
object oCnd = oProg.Rule().RuleCondition(0);
|
|
133869
|
+
if (oCnd) {
|
|
133870
|
+
integer iN = oCnd.CndSingleCount();
|
|
133871
|
+
integer iI = 0;
|
|
133872
|
+
string sSep = "";
|
|
133873
|
+
while (iI < iN) {
|
|
133874
|
+
object oSc = oCnd.CndSingleCondition(iI);
|
|
133875
|
+
object oDp = dom.GetObject(oSc.LeftVal());
|
|
133876
|
+
if (oDp) {
|
|
133877
|
+
Write(sSep);
|
|
133878
|
+
Write("\\"");
|
|
133879
|
+
Write(oDp.Name());
|
|
133880
|
+
Write("\\"");
|
|
133881
|
+
sSep = ",";
|
|
133882
|
+
}
|
|
133883
|
+
iI = iI + 1;
|
|
133884
|
+
}
|
|
133885
|
+
}
|
|
133886
|
+
Write("]}");
|
|
133887
|
+
}`;
|
|
133888
|
+
var CHANNEL_ADDRESS2 = /^[0-9A-Za-z_-]+:\d+$/;
|
|
133889
|
+
var CONTROL_CHARS3 = /[\u0000-\u001F\u007F]/;
|
|
133890
|
+
var MAX_NAME2 = 128;
|
|
133891
|
+
var DEFAULT_PARAMETERS = ["PRESS_SHORT", "PRESS_LONG"];
|
|
133892
|
+
function isRecord2(value) {
|
|
133893
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
133894
|
+
}
|
|
133895
|
+
function record(raw, label) {
|
|
133896
|
+
if (!isRecord2(raw)) throw new ClientError(`${label}: unexpected answer from the CCU.`);
|
|
133897
|
+
return raw;
|
|
133898
|
+
}
|
|
133899
|
+
function validName2(raw) {
|
|
133900
|
+
const name = raw.trim();
|
|
133901
|
+
if (name === "" || name.length > MAX_NAME2 || CONTROL_CHARS3.test(name)) throw new ValidationError(`Program name must be 1..${MAX_NAME2} characters without control characters.`);
|
|
133902
|
+
return name;
|
|
133903
|
+
}
|
|
133904
|
+
function interfaceNameOf(interfaceId2) {
|
|
133905
|
+
const match = Object.values(Interface).find((name) => interfaceId2.endsWith(`-${name}`));
|
|
133906
|
+
if (match === void 0) throw new ValidationError(`Cannot derive the CCU interface from "${interfaceId2}".`);
|
|
133907
|
+
return match;
|
|
133908
|
+
}
|
|
133909
|
+
var CcuKeyPrograms = class {
|
|
133910
|
+
#rega;
|
|
133911
|
+
constructor(rega) {
|
|
133912
|
+
this.#rega = rega;
|
|
133913
|
+
}
|
|
133914
|
+
/**
|
|
133915
|
+
* Create or rewrite the program so its conditions are exactly
|
|
133916
|
+
* `channelAddresses` x `parameters`. `interfaceName` is the CCU interface the
|
|
133917
|
+
* channels live on (`HmIP-RF`).
|
|
133918
|
+
*/
|
|
133919
|
+
async ensure(interfaceName, input) {
|
|
133920
|
+
const name = validName2(input.name);
|
|
133921
|
+
const parameters = input.parameters ?? DEFAULT_PARAMETERS;
|
|
133922
|
+
if (parameters.length === 0) throw new ValidationError("At least one key parameter is needed.");
|
|
133923
|
+
const datapoints = input.channelAddresses.flatMap((address) => {
|
|
133924
|
+
if (!CHANNEL_ADDRESS2.test(address)) throw new ValidationError(`Invalid channel address "${address}".`);
|
|
133925
|
+
return parameters.map((param) => `${interfaceName}.${address}.${param}`);
|
|
133926
|
+
});
|
|
133927
|
+
const label = "ReGa.runScript(ensureKeyEventProgram)";
|
|
133928
|
+
const answer = record(await this.#rega(label, buildEnsureKeyEventProgram(datapoints), { name }), label);
|
|
133929
|
+
if (answer["error"] === "datapoint") throw new ValidationError(`The CCU has no such key data point: ${Array.isArray(answer["missing"]) ? answer["missing"].join(", ") : "?"}.`);
|
|
133930
|
+
const programId = answer["programId"];
|
|
133931
|
+
const created = answer["created"];
|
|
133932
|
+
if (typeof programId !== "string" || programId === "" || typeof created !== "boolean") throw new ClientError(`${label}: the CCU did not return the program.`);
|
|
133933
|
+
return {
|
|
133934
|
+
programId,
|
|
133935
|
+
created
|
|
133936
|
+
};
|
|
133937
|
+
}
|
|
133938
|
+
/** Delete the program by name; `removed: false` when it does not exist. */
|
|
133939
|
+
async remove(rawName) {
|
|
133940
|
+
const name = validName2(rawName);
|
|
133941
|
+
const label = "ReGa.runScript(removeKeyEventProgram)";
|
|
133942
|
+
const answer = record(await this.#rega(label, REMOVE_KEY_EVENT_PROGRAM, { name }), label);
|
|
133943
|
+
if (typeof answer["removed"] !== "boolean") throw new ClientError(`${label}: unexpected answer from the CCU.`);
|
|
133944
|
+
return { removed: answer["removed"] };
|
|
133945
|
+
}
|
|
133946
|
+
/** The program and the channels it listens to, or `null` when absent. */
|
|
133947
|
+
async get(rawName) {
|
|
133948
|
+
const name = validName2(rawName);
|
|
133949
|
+
const label = "ReGa.runScript(getKeyEventProgram)";
|
|
133950
|
+
const answer = record(await this.#rega(label, GET_KEY_EVENT_PROGRAM, { name }), label);
|
|
133951
|
+
if (answer["found"] !== true) return null;
|
|
133952
|
+
const programId = answer["programId"];
|
|
133953
|
+
if (typeof programId !== "string" || programId === "") throw new ClientError(`${label}: the CCU did not return the program id.`);
|
|
133954
|
+
const datapoints = Array.isArray(answer["datapoints"]) ? answer["datapoints"] : [];
|
|
133955
|
+
const channels = /* @__PURE__ */ new Set();
|
|
133956
|
+
for (const dp of datapoints) {
|
|
133957
|
+
if (typeof dp !== "string") continue;
|
|
133958
|
+
const match = /\.([0-9A-Za-z_-]+:\d+)\.PRESS_(?:SHORT|LONG)$/.exec(dp);
|
|
133959
|
+
if (match?.[1] !== void 0) channels.add(match[1]);
|
|
133960
|
+
}
|
|
133961
|
+
return {
|
|
133962
|
+
programId,
|
|
133963
|
+
channelAddresses: [...channels]
|
|
133964
|
+
};
|
|
133965
|
+
}
|
|
133966
|
+
};
|
|
133693
133967
|
var GROUP_CREATE_PATH = "/pages/jpages/group/create";
|
|
133694
133968
|
var GROUP_SAVE_PATH = "/pages/jpages/group/save";
|
|
133695
133969
|
var GROUP_DELETE_PATH = "/pages/jpages/group/delete";
|
|
133696
133970
|
var DRAFT_GROUP_ID = /self\.groupId\s*=\s*(\d+)/;
|
|
133697
133971
|
var KNOWN_GROUP_TYPES = ["hmip.heating.group", "HomeMatic.heating"];
|
|
133698
|
-
var
|
|
133972
|
+
var CHANNEL_ADDRESS3 = /^[0-9A-Za-z_-]+:\d+$/;
|
|
133699
133973
|
var MAX_GROUP_NAME = 64;
|
|
133700
133974
|
var DEFAULT_INSTALL_SECONDS = 60;
|
|
133701
133975
|
var MAX_INSTALL_SECONDS = 3600;
|
|
133702
133976
|
var SERVICE_MESSAGE_ID = /^\d+$/;
|
|
133703
|
-
function
|
|
133977
|
+
function isRecord3(value) {
|
|
133704
133978
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
133705
133979
|
}
|
|
133706
133980
|
function asRecordArray(value) {
|
|
133707
|
-
return Array.isArray(value) ? value.filter(
|
|
133981
|
+
return Array.isArray(value) ? value.filter(isRecord3) : [];
|
|
133708
133982
|
}
|
|
133709
133983
|
function strOrNull(value) {
|
|
133710
133984
|
if (typeof value === "string") return value === "" ? null : value;
|
|
@@ -133846,7 +134120,7 @@ var CcuManagement = class {
|
|
|
133846
134120
|
async acknowledgeServiceMessage(id) {
|
|
133847
134121
|
if (!SERVICE_MESSAGE_ID.test(id)) throw new ValidationError(`Invalid service message id "${id}".`);
|
|
133848
134122
|
const raw = await this.rega("ReGa.runScript(acknowledgeServiceMessage)", ACKNOWLEDGE_SERVICE_MESSAGE, { id });
|
|
133849
|
-
if (!
|
|
134123
|
+
if (!isRecord3(raw) || raw["ok"] !== true) throw new ValidationError(`Unknown service message "${id}".`);
|
|
133850
134124
|
}
|
|
133851
134125
|
/** Version, product, serial and hostname; each `null` when unanswered. */
|
|
133852
134126
|
async ccuInfo() {
|
|
@@ -133856,8 +134130,8 @@ var CcuManagement = class {
|
|
|
133856
134130
|
this.rega("ReGa.runScript(ccuPlatform)", GET_CCU_PLATFORM)
|
|
133857
134131
|
]);
|
|
133858
134132
|
if (version.status === "rejected" && serial.status === "rejected" && platform.status === "rejected") throw version.reason instanceof CcuManagementError ? version.reason : new CcuManagementError(JsonRpcMethod.CCU_GET_VERSION, version.reason);
|
|
133859
|
-
const release = platform.status === "fulfilled" &&
|
|
133860
|
-
const hostname = platform.status === "fulfilled" &&
|
|
134133
|
+
const release = platform.status === "fulfilled" && isRecord3(platform.value) ? parseKeyValueLines(decodeRegaName(releaseText(platform.value))) : /* @__PURE__ */ new Map();
|
|
134134
|
+
const hostname = platform.status === "fulfilled" && isRecord3(platform.value) ? decodedOrNull(platform.value["host"]) : null;
|
|
133861
134135
|
const product = strOrNull(release.get("PRODUCT"));
|
|
133862
134136
|
return {
|
|
133863
134137
|
version: version.status === "fulfilled" ? strOrNull(version.value) : null,
|
|
@@ -133883,7 +134157,7 @@ var CcuManagement = class {
|
|
|
133883
134157
|
} catch (err) {
|
|
133884
134158
|
throw new CcuManagementError(JsonRpcMethod.CCU_GET_HEATING_GROUP_LIST, err);
|
|
133885
134159
|
}
|
|
133886
|
-
if (!
|
|
134160
|
+
if (!isRecord3(parsed)) return [];
|
|
133887
134161
|
return Object.keys(parsed).sort().flatMap((key) => asRecordArray(parsed[key])).flatMap((entry) => {
|
|
133888
134162
|
const group = toGroup(entry);
|
|
133889
134163
|
return group === null ? [] : [group];
|
|
@@ -134005,6 +134279,10 @@ var CcuManagement = class {
|
|
|
134005
134279
|
topology() {
|
|
134006
134280
|
return new CcuTopology((label, script, params) => this.rega(label, script, params));
|
|
134007
134281
|
}
|
|
134282
|
+
/** The key-event program service (HmIP key presses), on this service's session. */
|
|
134283
|
+
keyPrograms() {
|
|
134284
|
+
return new CcuKeyPrograms((label, script, params) => this.rega(label, script, params));
|
|
134285
|
+
}
|
|
134008
134286
|
requireClient(interfaceName) {
|
|
134009
134287
|
const iface = toInterface(interfaceName);
|
|
134010
134288
|
const client = this.interfaceClient(iface);
|
|
@@ -134083,8 +134361,8 @@ var DEVICE_ADDRESS_SUFFIX = /\b(INT\d{7})\s*$/;
|
|
|
134083
134361
|
function toGroup(entry) {
|
|
134084
134362
|
const id = numOrNull(entry["id"]);
|
|
134085
134363
|
if (id === null) return null;
|
|
134086
|
-
const props =
|
|
134087
|
-
const groupType =
|
|
134364
|
+
const props = isRecord3(entry["groupProperties"]) ? entry["groupProperties"] : {};
|
|
134365
|
+
const groupType = isRecord3(entry["groupType"]) ? entry["groupType"] : {};
|
|
134088
134366
|
const deviceName = strOrNull(props["GROUP_DEVICE_NAME"]);
|
|
134089
134367
|
const deviceMatch = deviceName === null ? null : DEVICE_ADDRESS_SUFFIX.exec(deviceName);
|
|
134090
134368
|
const members = asRecordArray(entry["groupMembers"]).flatMap((m) => {
|
|
@@ -134092,7 +134370,7 @@ function toGroup(entry) {
|
|
|
134092
134370
|
if (address === null) return [];
|
|
134093
134371
|
return [{
|
|
134094
134372
|
address,
|
|
134095
|
-
type: (
|
|
134373
|
+
type: (isRecord3(m["memberType"]) ? strOrNull(m["memberType"]["id"]) : null) ?? ""
|
|
134096
134374
|
}];
|
|
134097
134375
|
});
|
|
134098
134376
|
return {
|
|
@@ -134114,7 +134392,7 @@ function validateGroupName(raw) {
|
|
|
134114
134392
|
return name;
|
|
134115
134393
|
}
|
|
134116
134394
|
function validateMembers(members) {
|
|
134117
|
-
for (const address of members) if (!
|
|
134395
|
+
for (const address of members) if (!CHANNEL_ADDRESS3.test(address)) throw new ValidationError(`Invalid member channel address "${address}".`);
|
|
134118
134396
|
return [...new Set(members)];
|
|
134119
134397
|
}
|
|
134120
134398
|
function checkWebUiResponse(path, text) {
|
|
@@ -134124,8 +134402,8 @@ function checkWebUiResponse(path, text) {
|
|
|
134124
134402
|
} catch {
|
|
134125
134403
|
throw new CcuManagementError(path, new ClientError("response was not JSON"));
|
|
134126
134404
|
}
|
|
134127
|
-
if (!
|
|
134128
|
-
const code =
|
|
134405
|
+
if (!isRecord3(parsed) || parsed["isSuccessful"] !== true) {
|
|
134406
|
+
const code = isRecord3(parsed) ? strOrNull(parsed["errorCode"]) : null;
|
|
134129
134407
|
throw new CcuManagementError(path, new ClientError(code === "42" ? "session expired (errorCode 42)" : `refused (errorCode ${code ?? "none"})`));
|
|
134130
134408
|
}
|
|
134131
134409
|
const content = parsed["content"];
|
|
@@ -134508,8 +134786,8 @@ var DeviceRegistry = class {
|
|
|
134508
134786
|
function stableStringify2(value) {
|
|
134509
134787
|
if (value === null || typeof value !== "object") return JSON.stringify(value) ?? "null";
|
|
134510
134788
|
if (Array.isArray(value)) return `[${value.map(stableStringify2).join(",")}]`;
|
|
134511
|
-
const
|
|
134512
|
-
return `{${Object.keys(
|
|
134789
|
+
const record2 = value;
|
|
134790
|
+
return `{${Object.keys(record2).sort().map((key) => `${JSON.stringify(key)}:${stableStringify2(record2[key])}`).join(",")}}`;
|
|
134513
134791
|
}
|
|
134514
134792
|
var DescriptionCacheBase = class {
|
|
134515
134793
|
constructor(backend, fileName) {
|
|
@@ -134630,8 +134908,8 @@ var DeviceDescriptionCache = class _DeviceDescriptionCache extends DescriptionCa
|
|
|
134630
134908
|
}
|
|
134631
134909
|
fromData(data) {
|
|
134632
134910
|
const next = /* @__PURE__ */ new Map();
|
|
134633
|
-
const
|
|
134634
|
-
for (const [iface, addresses] of Object.entries(
|
|
134911
|
+
const record2 = data ?? {};
|
|
134912
|
+
for (const [iface, addresses] of Object.entries(record2)) {
|
|
134635
134913
|
const forIface = /* @__PURE__ */ new Map();
|
|
134636
134914
|
for (const [address, desc] of Object.entries(addresses)) forIface.set(address, desc);
|
|
134637
134915
|
next.set(iface, forIface);
|
|
@@ -134710,8 +134988,8 @@ var ParamsetDescriptionCache = class _ParamsetDescriptionCache extends Descripti
|
|
|
134710
134988
|
}
|
|
134711
134989
|
fromData(data) {
|
|
134712
134990
|
const next = /* @__PURE__ */ new Map();
|
|
134713
|
-
const
|
|
134714
|
-
for (const [iface, channels] of Object.entries(
|
|
134991
|
+
const record2 = data ?? {};
|
|
134992
|
+
for (const [iface, channels] of Object.entries(record2)) {
|
|
134715
134993
|
const forIface = /* @__PURE__ */ new Map();
|
|
134716
134994
|
for (const [channelAddress2, paramsets] of Object.entries(channels)) {
|
|
134717
134995
|
const forChannel = /* @__PURE__ */ new Map();
|
|
@@ -134979,12 +135257,12 @@ async function safePost(jsonClient, method, opts) {
|
|
|
134979
135257
|
}
|
|
134980
135258
|
}
|
|
134981
135259
|
function parseDeviceDetail(item, nameByAddress, channelIdToAddress) {
|
|
134982
|
-
const
|
|
134983
|
-
if (
|
|
134984
|
-
const address = asString(
|
|
134985
|
-
const name = asString(
|
|
135260
|
+
const record2 = asRecord(item);
|
|
135261
|
+
if (record2 === void 0) return;
|
|
135262
|
+
const address = asString(record2.address);
|
|
135263
|
+
const name = asString(record2.name);
|
|
134986
135264
|
if (address !== void 0 && name !== void 0) nameByAddress.set(address, name);
|
|
134987
|
-
for (const channel of asArray(
|
|
135265
|
+
for (const channel of asArray(record2.channels)) {
|
|
134988
135266
|
const ch = asRecord(channel);
|
|
134989
135267
|
if (ch === void 0) continue;
|
|
134990
135268
|
const chAddress = asString(ch.address);
|
|
@@ -135005,11 +135283,11 @@ function addGroupName(into, address, name) {
|
|
|
135005
135283
|
else if (!existing.includes(name)) existing.push(name);
|
|
135006
135284
|
}
|
|
135007
135285
|
function parseGroup(item, channelIdToAddress, into) {
|
|
135008
|
-
const
|
|
135009
|
-
if (
|
|
135010
|
-
const name = asString(
|
|
135286
|
+
const record2 = asRecord(item);
|
|
135287
|
+
if (record2 === void 0) return;
|
|
135288
|
+
const name = asString(record2.name);
|
|
135011
135289
|
if (name === void 0) return;
|
|
135012
|
-
const idMembers = asArray(
|
|
135290
|
+
const idMembers = asArray(record2.channelIds);
|
|
135013
135291
|
for (const member of idMembers) {
|
|
135014
135292
|
const channelId = asString(member);
|
|
135015
135293
|
if (channelId === void 0) continue;
|
|
@@ -135018,7 +135296,7 @@ function parseGroup(item, channelIdToAddress, into) {
|
|
|
135018
135296
|
addGroupName(into, channelAddress2, name);
|
|
135019
135297
|
addGroupName(into, deviceAddressOf(channelAddress2), name);
|
|
135020
135298
|
}
|
|
135021
|
-
const addressMembers = firstArray(
|
|
135299
|
+
const addressMembers = firstArray(record2.channelAddresses, record2.members);
|
|
135022
135300
|
for (const member of addressMembers) {
|
|
135023
135301
|
const channelAddress2 = asString(member);
|
|
135024
135302
|
if (channelAddress2 === void 0) continue;
|
|
@@ -135078,7 +135356,7 @@ function parseSysVarValue(type, raw) {
|
|
|
135078
135356
|
}
|
|
135079
135357
|
}
|
|
135080
135358
|
var WRITABLE_MARKER = "HAHM";
|
|
135081
|
-
function
|
|
135359
|
+
function isRecord4(value) {
|
|
135082
135360
|
return value !== null && typeof value === "object";
|
|
135083
135361
|
}
|
|
135084
135362
|
function asString2(value) {
|
|
@@ -135099,7 +135377,7 @@ function asOptionalNumber(value) {
|
|
|
135099
135377
|
}
|
|
135100
135378
|
function asRecordArray2(value) {
|
|
135101
135379
|
if (!Array.isArray(value)) return [];
|
|
135102
|
-
return value.filter(
|
|
135380
|
+
return value.filter(isRecord4);
|
|
135103
135381
|
}
|
|
135104
135382
|
var HubFetcher = class {
|
|
135105
135383
|
client;
|
|
@@ -135192,8 +135470,8 @@ var HubFetcher = class {
|
|
|
135192
135470
|
const sid = this.sid();
|
|
135193
135471
|
const parsed = await runScript(this.client, sid, GET_ROOMS_FUNCTIONS);
|
|
135194
135472
|
return {
|
|
135195
|
-
rooms: toDecodedMap(
|
|
135196
|
-
functions: toDecodedMap(
|
|
135473
|
+
rooms: toDecodedMap(isRecord4(parsed) ? parsed.rooms : void 0),
|
|
135474
|
+
functions: toDecodedMap(isRecord4(parsed) ? parsed.functions : void 0)
|
|
135197
135475
|
};
|
|
135198
135476
|
}
|
|
135199
135477
|
/** Build the `SYSVAR_DESCRIPTIONS` map: sysvar id → description text. */
|
|
@@ -135239,7 +135517,7 @@ function sidOpts(sid) {
|
|
|
135239
135517
|
}
|
|
135240
135518
|
function toDecodedMap(value) {
|
|
135241
135519
|
const map = /* @__PURE__ */ new Map();
|
|
135242
|
-
if (!
|
|
135520
|
+
if (!isRecord4(value)) return map;
|
|
135243
135521
|
for (const [addr, names] of Object.entries(value)) if (Array.isArray(names)) map.set(addr, names.filter((n) => typeof n === "string").map((n) => decodeRegaName(n)));
|
|
135244
135522
|
return map;
|
|
135245
135523
|
}
|
|
@@ -137894,6 +138172,31 @@ var Homematic = class {
|
|
|
137894
138172
|
if (!await this.#central.reportValueUsage(device.interfaceId, channelAddress2, REPORT_VALUE_USAGE_VALUE_ID, REPORT_VALUE_USAGE_REF_REMOVE)) throw new ClientError(`reportValueUsage refused for channel "${channelAddress2}".`);
|
|
137895
138173
|
}
|
|
137896
138174
|
/**
|
|
138175
|
+
* Make the CCU USE the given keys so a HmIP device sends their presses to the
|
|
138176
|
+
* access point: create the program `input.name`, or rewrite its conditions to
|
|
138177
|
+
* exactly `channelAddresses` x `parameters` (default short and long press).
|
|
138178
|
+
* Idempotent by name. The program has no destination; it exists only so the
|
|
138179
|
+
* CCU subscribes to the key data points (ReGa scripts and their eq-3/occu
|
|
138180
|
+
* sources: `central/rega/key-event-program.ts`). All channels must be on one
|
|
138181
|
+
* interface and the CCU must have their data points; a missing one is a
|
|
138182
|
+
* {@link ValidationError} naming it. Needs WebUI credentials.
|
|
138183
|
+
*/
|
|
138184
|
+
async ensureKeyEventProgram(input) {
|
|
138185
|
+
if (input.channelAddresses.length === 0) throw new ValidationError("ensureKeyEventProgram needs at least one channel.");
|
|
138186
|
+
const interfaces = new Set(input.channelAddresses.map((address) => interfaceNameOf(this.#requireKnownChannel(address).interfaceId)));
|
|
138187
|
+
const [iface] = [...interfaces];
|
|
138188
|
+
if (interfaces.size !== 1 || iface === void 0) throw new ValidationError("The key channels of one program must share an interface.");
|
|
138189
|
+
return this.#requireManagement().keyPrograms().ensure(iface, input);
|
|
138190
|
+
}
|
|
138191
|
+
/** Delete the key event program `name`; `removed: false` when it does not exist. Needs WebUI credentials. */
|
|
138192
|
+
async removeKeyEventProgram(name) {
|
|
138193
|
+
return this.#requireManagement().keyPrograms().remove(name);
|
|
138194
|
+
}
|
|
138195
|
+
/** The key event program `name` and the channels it listens to, or `null`. Needs WebUI credentials. */
|
|
138196
|
+
async getKeyEventProgram(name) {
|
|
138197
|
+
return this.#requireManagement().keyPrograms().get(name);
|
|
138198
|
+
}
|
|
138199
|
+
/**
|
|
137897
138200
|
* Create a direct link from `sender` to `receiver` (XML-RPC
|
|
137898
138201
|
* `addLink(sender, receiver, name, description)` on the sender's interface,
|
|
137899
138202
|
* as eq-3/occu `WebUI/www/api/methods/interface/addlink.tcl` forwards it).
|
|
@@ -143405,7 +143708,7 @@ var HomematicProviderAddon = class extends BaseDeviceProvider {
|
|
|
143405
143708
|
records: records.kind({
|
|
143406
143709
|
name: homematicConnectionsEntryKind.name,
|
|
143407
143710
|
declaration: homematicConnectionsEntryKind.declaration,
|
|
143408
|
-
schema: record(string(), unknown())
|
|
143711
|
+
schema: record$1(string(), unknown())
|
|
143409
143712
|
}),
|
|
143410
143713
|
log: { warn: (message) => this.ctx.logger.warn(message) }
|
|
143411
143714
|
})));
|