@camstack/types 1.2.114 → 1.2.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1367,6 +1367,378 @@ function logLevelAtMost(level, threshold) {
1367
1367
  return LOG_LEVEL_RANK[level] <= LOG_LEVEL_RANK[threshold];
1368
1368
  }
1369
1369
  //#endregion
1370
+ //#region src/logging/log-channel.ts
1371
+ /**
1372
+ * Per-component log CHANNELS — the gate a hot path consults, and the registry
1373
+ * an addon declares its channels in.
1374
+ *
1375
+ * ## Two axes, deliberately separated
1376
+ *
1377
+ * - **DECLARATION** — which channels exist. Only the addon knows:
1378
+ * `stream-broker` knows webrtc/ICE/RTP, `provider-reolink` knows
1379
+ * baichuan/handshake. A hand-wired central list rots at the first addition,
1380
+ * and rots silently. So a channel is declared where it is consulted, and the
1381
+ * `log-channels` capability enumerates the declarations.
1382
+ * - **VALUE** — at which level, for which scope, until when. That stays ONE
1383
+ * thing: the logging settings document on the `system` cap. Two authorities
1384
+ * over the values is the exact defect
1385
+ * `docs/design/plans/2026-08-26-logging-per-componente.md` was written to
1386
+ * remove; re-introducing it from the cure side would be grotesque.
1387
+ *
1388
+ * Nothing in this file reads a clock, an env var or a store. The registry is
1389
+ * a MIRROR: it is moved only by {@link LogChannelRegistry.apply}, called off
1390
+ * the hot path with a value somebody actually read, and by
1391
+ * {@link LogChannelRegistry.tick}, called on a timer. A store read that fails
1392
+ * never reaches here, so it can neither disarm an armed channel nor arm a
1393
+ * disarmed one (D49).
1394
+ *
1395
+ * ## The canonical call shape
1396
+ *
1397
+ * ```ts
1398
+ * if (CH_RTP.on && CH_RTP.wants(deviceId)) {
1399
+ * CH_RTP.log(logger, 'rtp subscriber added', { tags: { deviceId }, meta: { ssrc } })
1400
+ * }
1401
+ * ```
1402
+ *
1403
+ * `on` is a plain boolean FIELD — never a getter — and it is the FIRST thing
1404
+ * read. Disarmed, a call site costs one load and one branch, and the `extras`
1405
+ * object literal is never constructed because it lives inside the branch. It
1406
+ * is the same shape already proven in production at `stream-broker.ts:1650`,
1407
+ * and the same discipline `LoggingGate.allowsDestination` uses for the
1408
+ * destination floor (measured at 1.93 ns/call when off).
1409
+ *
1410
+ * ## Why a channel emits at `info`
1411
+ *
1412
+ * `loki-logging.addon.ts` pins the destination default at `info` and
1413
+ * `loki-destination.ts` drops everything below it, so a line emitted at
1414
+ * `debug` never reaches Loki and the hub's in-memory ring only holds ~35
1415
+ * minutes. A diagnostic that cannot be read an hour later is worse than no
1416
+ * diagnostic, because it looks done. {@link LogChannelGate.log} therefore
1417
+ * emits at the channel's declared level, whose schema floor is `info`.
1418
+ */
1419
+ /**
1420
+ * The level a channel writes at once armed.
1421
+ *
1422
+ * `debug` is absent ON PURPOSE and not by omission: below `info` the line does
1423
+ * not leave the process for Loki, and the whole point of arming a channel is
1424
+ * to read it later.
1425
+ */
1426
+ var LogChannelLevelSchema = z.enum([
1427
+ "info",
1428
+ "warn",
1429
+ "error"
1430
+ ]);
1431
+ /**
1432
+ * What an addon declares about one channel. No value, no state — a
1433
+ * declaration is inert.
1434
+ */
1435
+ var LogChannelDescriptorSchema = z.object({
1436
+ /**
1437
+ * Dotted `area.thing`, unique across the workspace. `area` is conventionally
1438
+ * the addon's short name so an operator reading a channel list can tell who
1439
+ * owns it without a second lookup.
1440
+ */
1441
+ name: z.string().min(3).regex(/^[a-z0-9-]+(\.[a-z0-9-]+)+$/, "a channel name is dotted lower-kebab, e.g. area.thing"),
1442
+ /** One sentence: what the operator will SEE after arming it. */
1443
+ description: z.string().min(1),
1444
+ /** The level its lines are emitted at. Never below `info`. */
1445
+ defaultLevel: LogChannelLevelSchema,
1446
+ /**
1447
+ * Whether this channel can be narrowed to a camera.
1448
+ *
1449
+ * `true` is a PROMISE with two halves, and both must hold: the gate is
1450
+ * consulted with the numeric device id, AND every line the channel admits
1451
+ * carries `tags: { deviceId }` with that same numeric id. The second half is
1452
+ * what makes `| json | deviceId="617"` work in Loki — `loki-payload.ts`
1453
+ * keeps `deviceId` out of the stream labels for cardinality, so the tag in
1454
+ * the body is the only way to filter.
1455
+ *
1456
+ * A channel whose lines carry the device only in `meta` (or not at all) is
1457
+ * declared `false`. Declaring it `true` anyway would be a lie the UI repeats:
1458
+ * the operator narrows to one camera, sees nothing, and concludes the code
1459
+ * path was never taken.
1460
+ */
1461
+ perDevice: z.boolean()
1462
+ });
1463
+ /**
1464
+ * An armed window over one channel, as the document hands it to a mirror.
1465
+ *
1466
+ * A window is a DEADLINE, never a flag (ADR-0244): a channel somebody forgot
1467
+ * expires by itself, which is the one failure a boolean cannot avoid.
1468
+ */
1469
+ var LogChannelWindowSchema = z.object({
1470
+ channel: z.string().min(1),
1471
+ /** Epoch ms the window closes at. */
1472
+ armedUntilMs: z.number(),
1473
+ /** `null` = every camera. A non-empty list narrows to those numeric ids. */
1474
+ deviceIds: z.array(z.number().int()).readonly().nullable()
1475
+ });
1476
+ /**
1477
+ * The gate a hot path holds.
1478
+ *
1479
+ * Obtain it ONCE — at module scope or in a constructor — and keep the
1480
+ * reference. Looking a channel up by name per line would put a Map lookup on
1481
+ * the path this class exists to keep free.
1482
+ */
1483
+ var LogChannelGate = class {
1484
+ descriptor;
1485
+ /**
1486
+ * HOT PATH GUARD. A plain data FIELD, and it must stay one.
1487
+ *
1488
+ * `log-channel.spec.ts` asserts the property descriptor has no getter and
1489
+ * booby-traps the device set, so turning this into an accessor — or reading
1490
+ * anything before it — fails the spec instead of taxing every line the
1491
+ * process emits.
1492
+ */
1493
+ on = false;
1494
+ /** `null` while armed for every camera. Never read while `on` is false. */
1495
+ devices = null;
1496
+ level;
1497
+ closesAtMs = 0;
1498
+ constructor(descriptor) {
1499
+ this.descriptor = descriptor;
1500
+ this.level = descriptor.defaultLevel;
1501
+ }
1502
+ /** Epoch ms this channel disarms itself at. 0 when disarmed. */
1503
+ get armedUntilMs() {
1504
+ return this.on ? this.closesAtMs : 0;
1505
+ }
1506
+ /**
1507
+ * Does this channel want a line about `deviceId`?
1508
+ *
1509
+ * Call it only behind `gate.on &&`. On its own it is still correct — the
1510
+ * guard is repeated inside — but the point of the prefix is that a disarmed
1511
+ * channel must not pay the call at all.
1512
+ */
1513
+ wants(deviceId) {
1514
+ if (!this.on) return false;
1515
+ return this.devices === null || this.devices.has(deviceId);
1516
+ }
1517
+ /**
1518
+ * Emit one line on this channel, at the channel's declared level.
1519
+ *
1520
+ * The channel name is added as `tags.logChannel` so LogQL can select the
1521
+ * channel without matching on the message text, and whatever `tags` the
1522
+ * caller passed — `deviceId` above all — is preserved.
1523
+ */
1524
+ log(logger, message, extras) {
1525
+ if (!this.on) return;
1526
+ const tags = {
1527
+ ...extras.tags,
1528
+ logChannel: this.descriptor.name
1529
+ };
1530
+ const line = {
1531
+ ...extras,
1532
+ tags
1533
+ };
1534
+ if (this.level === "error") logger.error(message, line);
1535
+ else if (this.level === "warn") logger.warn(message, line);
1536
+ else logger.info(message, line);
1537
+ }
1538
+ /**
1539
+ * Arm (or RE-arm, restarting) this channel. Off the hot path only.
1540
+ *
1541
+ * An empty `deviceIds` list is treated as "every camera" rather than "no
1542
+ * camera": a window that matches nothing is indistinguishable from a
1543
+ * disarmed one, and the operator who asked for it would wait for lines that
1544
+ * can never come.
1545
+ */
1546
+ arm(window) {
1547
+ const ids = window.deviceIds;
1548
+ this.devices = ids === null || ids.length === 0 ? null : new Set(ids);
1549
+ this.closesAtMs = window.armedUntilMs;
1550
+ this.on = true;
1551
+ }
1552
+ /** Disarm. Off the hot path only. */
1553
+ disarm() {
1554
+ this.on = false;
1555
+ this.devices = null;
1556
+ this.closesAtMs = 0;
1557
+ }
1558
+ };
1559
+ /**
1560
+ * Every channel this PROCESS declares, and the mirror of what is armed on it.
1561
+ *
1562
+ * One per process. A forked runner has its own, and it is refreshed through
1563
+ * the `log-channels` capability by the hub that owns the document — the
1564
+ * registry never reaches for a value itself.
1565
+ */
1566
+ var LogChannelRegistry = class {
1567
+ gates = /* @__PURE__ */ new Map();
1568
+ /**
1569
+ * Declare a channel and get its gate.
1570
+ *
1571
+ * A duplicate name throws. Two declarations of one name is a programming
1572
+ * error, not a merge: the operator would arm one and the other would stay
1573
+ * dark, which is the dead-knob shape (D62) with an extra step.
1574
+ */
1575
+ declare(descriptor) {
1576
+ const parsed = LogChannelDescriptorSchema.parse(descriptor);
1577
+ if (this.gates.get(parsed.name) !== void 0) throw new Error(`log channel "${parsed.name}" is already declared in this process — two declarations of one name is a programming error, not a merge`);
1578
+ const gate = new LogChannelGate(parsed);
1579
+ this.gates.set(parsed.name, gate);
1580
+ return gate;
1581
+ }
1582
+ /** The declarations, sorted by name so a list is stable to read and diff. */
1583
+ list() {
1584
+ return [...this.gates.values()].map((gate) => gate.descriptor).sort((a, b) => a.name.localeCompare(b.name));
1585
+ }
1586
+ /** The gate for a declared channel, or `undefined`. */
1587
+ gate(name) {
1588
+ return this.gates.get(name);
1589
+ }
1590
+ /**
1591
+ * Apply the FULL set of armed windows. Off the hot path.
1592
+ *
1593
+ * Full, not incremental, and that is the whole design: the document is the
1594
+ * authority, so a channel the document does not name is disarmed here. An
1595
+ * incremental apply would let a disarm get lost in transit and leave a
1596
+ * channel running that nobody can see is running.
1597
+ *
1598
+ * A window already past its deadline is ignored rather than armed — a
1599
+ * restore that re-armed an expired window would make a forgotten diagnostic
1600
+ * immortal across restarts.
1601
+ *
1602
+ * Returns the names it could not place, so the caller can log them: a
1603
+ * channel named in the document that this process does not declare is
1604
+ * either a typo or an addon that has not booted yet, and both deserve a
1605
+ * line rather than silence.
1606
+ */
1607
+ apply(windows, nowMs) {
1608
+ const wanted = /* @__PURE__ */ new Map();
1609
+ const unknown = [];
1610
+ for (const window of windows) {
1611
+ if (window.armedUntilMs <= nowMs) continue;
1612
+ if (!this.gates.has(window.channel)) {
1613
+ unknown.push(window.channel);
1614
+ continue;
1615
+ }
1616
+ wanted.set(window.channel, window);
1617
+ }
1618
+ for (const [name, gate] of this.gates) {
1619
+ const window = wanted.get(name);
1620
+ if (window === void 0) gate.disarm();
1621
+ else gate.arm(window);
1622
+ }
1623
+ return unknown;
1624
+ }
1625
+ /**
1626
+ * Disarm whatever has run out. Called on a timer, NEVER from a log path — a
1627
+ * diagnostic that adds a `Date.now()` to the path it is measuring measures
1628
+ * itself.
1629
+ *
1630
+ * Returns the names it closed, so the caller can write the one line that
1631
+ * says a window ended and stops "it went quiet" from reading as "the branch
1632
+ * was not taken".
1633
+ */
1634
+ tick(nowMs) {
1635
+ const closed = [];
1636
+ for (const [name, gate] of this.gates) if (gate.on && gate.armedUntilMs <= nowMs) {
1637
+ gate.disarm();
1638
+ closed.push(name);
1639
+ }
1640
+ return closed;
1641
+ }
1642
+ /** The channels armed right now, as the document would describe them. */
1643
+ armed() {
1644
+ const out = [];
1645
+ for (const [name, gate] of this.gates) if (gate.on) out.push({
1646
+ channel: name,
1647
+ armedUntilMs: gate.armedUntilMs,
1648
+ deviceIds: null
1649
+ });
1650
+ return out;
1651
+ }
1652
+ };
1653
+ //#endregion
1654
+ //#region src/logging/log-channel.singleton.ts
1655
+ /**
1656
+ * Process-wide holder for the {@link LogChannelRegistry}.
1657
+ *
1658
+ * Three call sites that never meet need the SAME instance: the hot paths that
1659
+ * declare a gate at module scope, the `log-channels` provider that enumerates
1660
+ * the declarations for the hub, and the same provider applying the windows the
1661
+ * document hands down. A registry built inside any one of them would be
1662
+ * refreshed and collected — the shape of a knob that never does anything.
1663
+ *
1664
+ * Same idiom as `logging-gate.singleton.ts` and
1665
+ * `http-request-census.singleton.ts`.
1666
+ */
1667
+ var instance = null;
1668
+ /** The process-wide log channel registry. Created empty on first use. */
1669
+ function getLogChannelRegistry() {
1670
+ instance ??= new LogChannelRegistry();
1671
+ return instance;
1672
+ }
1673
+ /**
1674
+ * Declare a channel on the process-wide registry and get its gate.
1675
+ *
1676
+ * The one call an addon makes. Keep the returned gate in a module-scope
1677
+ * `const`: looking a channel up by name per line would put a Map lookup on
1678
+ * exactly the path this mechanism exists to keep free.
1679
+ *
1680
+ * `scripts/check-log-channel-gated.ts` reads these call sites. It pairs the
1681
+ * declared name with the binding it is assigned to and refuses to let a
1682
+ * channel ship that no `<binding>.on` anywhere consults — a declared channel
1683
+ * nobody reads is a knob the operator turns with nothing happening, forever,
1684
+ * and without a line. That is D62, and this repo has now shipped it three
1685
+ * times (`audioThresholdDbfs`, the HA entities with no source, the second
1686
+ * per-camera switch that wrote a store nobody read).
1687
+ */
1688
+ function declareLogChannel(descriptor) {
1689
+ return getLogChannelRegistry().declare(descriptor);
1690
+ }
1691
+ /** Test-only: drop the instance so a spec starts from an empty registry. */
1692
+ function __resetLogChannelRegistryForTests() {
1693
+ instance = null;
1694
+ }
1695
+ //#endregion
1696
+ //#region src/logging/log-channel-provider.ts
1697
+ /**
1698
+ * How often expiry is noticed. Coarse on purpose: the cost of a channel
1699
+ * running a few seconds past its deadline is a few extra lines, and the cost
1700
+ * of a tight timer in every addon process is paid forever.
1701
+ */
1702
+ var LOG_CHANNEL_TICK_MS = 5e3;
1703
+ /**
1704
+ * Build the `log-channels` provider for this process.
1705
+ *
1706
+ * `logger` is used ONLY off the hot path — for the arm/expiry lines — so a
1707
+ * channel that is never armed costs this module nothing but a timer.
1708
+ */
1709
+ function createLogChannelsProvider(logger, options = {}) {
1710
+ const registry = getLogChannelRegistry();
1711
+ const now = options.now ?? Date.now;
1712
+ const tickMs = options.tickMs ?? 5e3;
1713
+ const timer = setInterval(() => {
1714
+ const closed = registry.tick(now());
1715
+ for (const name of closed) logger.info("log channel window closed", {
1716
+ tags: { logChannel: name },
1717
+ meta: { channel: name }
1718
+ });
1719
+ }, tickMs);
1720
+ timer.unref?.();
1721
+ return {
1722
+ list: () => registry.list(),
1723
+ apply: (input) => {
1724
+ const unknown = registry.apply(input.windows, now());
1725
+ const armed = registry.armed();
1726
+ logger.info("log channels applied", { meta: {
1727
+ armed: armed.map((window) => window.channel),
1728
+ unknown,
1729
+ declared: registry.list().length
1730
+ } });
1731
+ return {
1732
+ armed: armed.length,
1733
+ unknown
1734
+ };
1735
+ },
1736
+ stop: () => {
1737
+ clearInterval(timer);
1738
+ }
1739
+ };
1740
+ }
1741
+ //#endregion
1370
1742
  //#region src/interfaces/ops-log.ts
1371
1743
  /**
1372
1744
  * Ops-log — the durable, append-only operations audit shared by the
@@ -7311,6 +7683,35 @@ var MutationFilterSchema = z.object({
7311
7683
  whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
7312
7684
  whereNot: z.record(z.string(), z.unknown()).optional()
7313
7685
  });
7686
+ /**
7687
+ * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
7688
+ *
7689
+ * `as` names the slot in the result, so the SAME column may be asked twice with
7690
+ * two operations (`MIN(startMs)` and `MAX(startMs)` in one round trip) — which
7691
+ * a `Record<column, op>` shape could not express.
7692
+ */
7693
+ var AggregateFieldSchema = z.object({
7694
+ /** Result key. */
7695
+ as: z.string().min(1),
7696
+ /** Column to aggregate. Must be a real column of a declared collection. */
7697
+ field: z.string().min(1),
7698
+ op: z.enum([
7699
+ "sum",
7700
+ "min",
7701
+ "max"
7702
+ ])
7703
+ });
7704
+ /**
7705
+ * `COUNT(*)` plus one number per requested field.
7706
+ *
7707
+ * `null` means NO ROW MATCHED, never zero: a `SUM` over an empty set and a sum
7708
+ * that really is 0 are different facts, and an accounting caller that renders
7709
+ * "0 bytes, oldest = 0" for "nothing here" reports a lie about a disk.
7710
+ */
7711
+ var AggregateResultSchema = z.object({
7712
+ count: z.number().int(),
7713
+ values: z.record(z.string(), z.number().nullable())
7714
+ });
7314
7715
  /** A single stored record: `{ id, data }`. */
7315
7716
  var SettingsRecordSchema = z.object({
7316
7717
  id: z.string(),
@@ -7478,6 +7879,32 @@ var settingsStoreCapability = {
7478
7879
  collection: z.string(),
7479
7880
  filter: QueryFilterSchema.optional()
7480
7881
  }), z.number()),
7882
+ /**
7883
+ * `COUNT(*)` and one `SUM` / `MIN` / `MAX` per requested field, in ONE
7884
+ * statement, over the rows `filter` selects.
7885
+ *
7886
+ * Exists because "how much is there" was being answered by materialising
7887
+ * "what is there". The recorder's storage-pressure sweep asked its in-RAM
7888
+ * footage index for bytes/count/oldest/newest across a set of storage
7889
+ * locations twice a minute, and the only way to answer that from a map is
7890
+ * to visit every row — 7.1 M of them on the live hub, ~15 M row visits a
7891
+ * minute on the main thread, which is also why the whole archive had to
7892
+ * stay resident to be visited. The question is a sum; nothing needs to be
7893
+ * materialised to answer it.
7894
+ *
7895
+ * **The engine REFUSES a field it cannot serve**, exactly as
7896
+ * `query.columns` does and unlike a PREDICATE, which is skipped when
7897
+ * unresolvable. A dropped predicate over-matches and the caller sees extra
7898
+ * rows; a dropped aggregate returns a NUMBER that is wrong and looks
7899
+ * exactly like a real one. That asymmetry is what this repo has already
7900
+ * paid for once in `count`.
7901
+ */
7902
+ aggregate: method(z.object({
7903
+ namespace: z.string().optional(),
7904
+ collection: z.string(),
7905
+ fields: z.array(AggregateFieldSchema).readonly(),
7906
+ filter: QueryFilterSchema.optional()
7907
+ }), AggregateResultSchema),
7481
7908
  /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
7482
7909
  histogram: method(z.object({
7483
7910
  namespace: z.string().optional(),
@@ -7686,6 +8113,15 @@ var dataStoreProviderCapability = {
7686
8113
  collection: z.string(),
7687
8114
  filter: QueryFilterSchema.optional()
7688
8115
  }), z.number(), { auth: "admin" }),
8116
+ /** `COUNT(*)` plus one SUM/MIN/MAX per field, in one statement. Mirror of
8117
+ * `settings-store.aggregate` — see it for why an unresolvable field is
8118
+ * refused rather than dropped. */
8119
+ aggregate: method(z.object({
8120
+ namespace: z.string().optional(),
8121
+ collection: z.string(),
8122
+ fields: z.array(AggregateFieldSchema).readonly(),
8123
+ filter: QueryFilterSchema.optional()
8124
+ }), AggregateResultSchema, { auth: "admin" }),
7689
8125
  /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
7690
8126
  histogram: method(z.object({
7691
8127
  namespace: z.string().optional(),
@@ -8662,6 +9098,28 @@ var deviceProviderCapability = {
8662
9098
  * Forked workers register devices back to the hub via `ctx.devices`
8663
9099
  * (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
8664
9100
  */
9101
+ /**
9102
+ * Most parents one `getChildrenBatch` may name.
9103
+ *
9104
+ * Every parent in the set becomes one bound `?` in the `parentDeviceId IN (…)`
9105
+ * the store compiles ({@link DeviceRowStore.listByParentMany} →
9106
+ * `filter-compiler.ts`), so the set size IS the SQL variable count. Two bounds
9107
+ * meet here and 256 clears both:
9108
+ *
9109
+ * - `SQLITE_MAX_VARIABLE_NUMBER` is 32 766 on SQLite ≥ 3.32 but **999** on
9110
+ * anything older, and better-sqlite3 links whatever amalgamation it was
9111
+ * built against on the host. A fleet-sized set (1 017 parents today) sits
9112
+ * ON that older limit; 256 stays a factor of four below it, so the batch
9113
+ * can never turn a boot into `too many SQL variables` on a host nobody
9114
+ * checked the build of.
9115
+ * - One call's answer is the children of those parents, and the answer
9116
+ * crosses a process boundary. Capping the ask caps the message.
9117
+ *
9118
+ * A caller with more parents sends ⌈n/256⌉ calls — four for today's fleet,
9119
+ * against 1 024 today. The cap is on the SCHEMA, not only on the caller: an
9120
+ * over-eager caller is refused, not silently truncated to a wrong answer.
9121
+ */
9122
+ var DEVICE_CHILDREN_BATCH_MAX = 256;
8665
9123
  /** One child-placement directive on a container's `childLayout`. Structurally
8666
9124
  * identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
8667
9125
  * shape for the same field. The child is identified by its re-sync-stable
@@ -9173,6 +9631,39 @@ var deviceManagerCapability = {
9173
9631
  /** List children of a parent device (by parent numeric id). */
9174
9632
  getChildren: method(z.object({ parentDeviceId: z.number() }), z.array(DeviceInfoSchema)),
9175
9633
  /**
9634
+ * `getChildren` for a NAMED SET of parents, in one call.
9635
+ *
9636
+ * The accessory reconcile in `device-cap-proxy.ts` asks this question once
9637
+ * per registered device — every `BaseDevice` inherits a
9638
+ * `getAccessoryChildren()` that returns `[]`, so even a leaf accessory
9639
+ * pays a round-trip to learn it has nothing to prune. Measured on the live
9640
+ * hub 2026-08-27 over a 120-second boot window, fleet of 1 017 devices:
9641
+ * `DeviceRowStore.list < DeviceRowStore.listByParent < getChildren` at
9642
+ * **1 024 calls** returning **919 rows in total** — 1 024 RPCs and 1 024
9643
+ * indexed scans to move less than one row each. `listByParentMany`
9644
+ * collapses the scans; this collapses the RPCs.
9645
+ *
9646
+ * Keyed by parent id as a STRING — a JSON object cannot key by number
9647
+ * (same reason as `getDeviceStatusAggregateBatch`). The per-parent value
9648
+ * is exactly what `getChildren` returns for that parent.
9649
+ *
9650
+ * A parent with no children — or one the fleet does not know — is ABSENT
9651
+ * from the record, never an invented empty row: the same contract as
9652
+ * `DeviceRowStore.getMany`/`listByParentMany`. An EMPTY `parentDeviceIds`
9653
+ * reads nothing at all rather than degrading to "every device".
9654
+ *
9655
+ * `parentDeviceIds` is capped at {@link DEVICE_CHILDREN_BATCH_MAX} — see
9656
+ * that constant for why. A caller with more parents than that sends more
9657
+ * than one call; it never sends one pathological one.
9658
+ *
9659
+ * Version skew: this is a NEW method, not a new field on `getChildren`, so
9660
+ * a hub that predates it answers NOT_FOUND rather than silently stripping
9661
+ * an unknown input key and answering a DIFFERENT question. The kernel-side
9662
+ * loader degrades to per-parent `getChildren` on that error — see
9663
+ * `children-batch-loader.ts`.
9664
+ */
9665
+ getChildrenBatch: method(z.object({ parentDeviceIds: z.array(z.number()).max(256) }), z.record(z.string(), z.array(DeviceInfoSchema))),
9666
+ /**
9176
9667
  * Resolve the devices LINKED to a camera — the single policy authority
9177
9668
  * both consumers call (viewer devices panel + pipeline-analytics event
9178
9669
  * kinds/ingest). Device-tree children are ALWAYS included; mode 'auto'
@@ -10354,6 +10845,82 @@ var llmCapability = {
10354
10845
  }
10355
10846
  };
10356
10847
  //#endregion
10848
+ //#region src/capabilities/log-channels.cap.ts
10849
+ /**
10850
+ * `log-channels` — the capability an addon DECLARES its diagnostic channels
10851
+ * through. It stores nothing.
10852
+ *
10853
+ * ## Why a capability at all, and why this shape
10854
+ *
10855
+ * Which channels exist is knowledge only the addon has: `stream-broker` knows
10856
+ * webrtc/ICE/RTP, `provider-reolink` knows baichuan/handshake. A central list
10857
+ * maintained by hand rots at the first addition and rots INVISIBLY — nothing
10858
+ * fails, an operator just never sees the channel somebody added. So the list
10859
+ * is assembled from declarations at runtime.
10860
+ *
10861
+ * The shape is copied from `log-destination.cap.ts`, which already does
10862
+ * exactly this job: `mode: 'collection'`, `internal: true`,
10863
+ * `mount: { kind: 'skip' }` — no tRPC route, no generated hooks — while
10864
+ * `addons.listCapabilityProviders` still enumerates it, and the hub's
10865
+ * `CapabilityRegistry` still holds an RPC proxy per provider so a forked
10866
+ * runner's declarations reach hub-main over the transport that already exists.
10867
+ * No new UDS message, no second registry.
10868
+ *
10869
+ * ## What it deliberately does NOT own
10870
+ *
10871
+ * The VALUES — which channel is armed, for which cameras, until when — live in
10872
+ * ONE place: the logging settings document on the `system` cap
10873
+ * (`getLoggingSettings` / `setLoggingSettings`). Two authorities over the same
10874
+ * value is the defect the plan behind this work exists to remove, and
10875
+ * `setRequestCensus` was retired (D245) rather than allowed to be a second
10876
+ * one. {@link logChannelsCapability} therefore has no getter for a level, no
10877
+ * setter for a window and no persistence of any kind.
10878
+ *
10879
+ * ## Why `apply` is here even so
10880
+ *
10881
+ * The gate lives in the addon's PROCESS; the document lives in hub-main. Some
10882
+ * seam has to carry the value from the authority to the mirror, and a channel
10883
+ * that cannot be reached is precisely the dead knob this whole slice exists to
10884
+ * make impossible (D62 — `audioThresholdDbfs`, the HA entities with no source).
10885
+ * `apply` is that seam and nothing more: it writes an in-memory mirror, it
10886
+ * persists nothing, it is never the source of a value, and it is called only
10887
+ * with a set the hub actually read (D49 — a read that fails does not call it
10888
+ * at all, so no channel is silently disarmed by a bad read).
10889
+ */
10890
+ /** What `apply` reports back — enough to log, not enough to be a second state. */
10891
+ var LogChannelApplyResultSchema = z.object({
10892
+ /** How many declared channels are armed in this process after the call. */
10893
+ armed: z.number().int().min(0),
10894
+ /**
10895
+ * Names the document armed that this process does not declare. Reported
10896
+ * rather than swallowed: a name here is either a typo or an addon that has
10897
+ * not booted, and both deserve a line instead of silence.
10898
+ */
10899
+ unknown: z.array(z.string()).readonly()
10900
+ });
10901
+ var logChannelsCapability = {
10902
+ name: "log-channels",
10903
+ scope: "system",
10904
+ mode: "collection",
10905
+ internal: true,
10906
+ methods: {
10907
+ /** The channels this addon declares. Inert: no value, no state. */
10908
+ list: method(z.void(), z.array(LogChannelDescriptorSchema).readonly()),
10909
+ /**
10910
+ * Refresh this process's mirror from the document's FULL set of armed
10911
+ * windows.
10912
+ *
10913
+ * Full and not incremental on purpose: the document is the authority, so a
10914
+ * channel it does not name is disarmed here. An incremental apply would
10915
+ * let a disarm get lost in transit and leave a channel running that
10916
+ * nobody can see is running.
10917
+ */
10918
+ apply: method(z.object({ windows: z.array(LogChannelWindowSchema).readonly() }), LogChannelApplyResultSchema, { kind: "mutation" })
10919
+ },
10920
+ /** In-process only — enumerated through `addons.listCapabilityProviders`. */
10921
+ mount: { kind: "skip" }
10922
+ };
10923
+ //#endregion
10357
10924
  //#region src/capabilities/log-destination.cap.ts
10358
10925
  var LogLevelSchema = z.enum([
10359
10926
  "debug",
@@ -30602,10 +31169,11 @@ var DiagnosticIdSchema = z.enum(["request-census"]);
30602
31169
  * The layers of the level hierarchy, general → specific. The most specific
30603
31170
  * layer that carries an explicit value wins.
30604
31171
  *
30605
- * `component` is DECLARED and not yet resolvable: the per-component channels
30606
- * are a later slice of the same plan, and a `levelSource` enum that has to
30607
- * grow later would force every consumer of this document to change with it.
30608
- * Nothing returns `component` today.
31172
+ * `component` became RESOLVABLE on 2026-08-27: a component is a declared log
31173
+ * CHANNEL (`stream-broker.webrtc`, `provider-reolink.baichuan`), named by
31174
+ * `scopeComponent`. It was declared-but-dark in the first slice precisely so
31175
+ * that turning it on would not force every consumer of this document to widen
31176
+ * a `levelSource` enum — which is what has now not happened.
30609
31177
  */
30610
31178
  var LoggingScopeKindSchema = z.enum([
30611
31179
  "cluster",
@@ -30632,6 +31200,14 @@ var LoggingLevelLayerSchema = z.object({
30632
31200
  scope: LoggingScopeKindSchema,
30633
31201
  /** The node this layer speaks for; `null` on the cluster layer. */
30634
31202
  nodeId: z.string().nullable(),
31203
+ /**
31204
+ * The declared channel this layer speaks for; `null` on every layer but
31205
+ * `component`. Never folded into `nodeId`: a component level is CLUSTER-WIDE
31206
+ * by design — the convention this repo settled on is one orchestrator-wide
31207
+ * setting, never per node (D52) — so a component layer that carried a node
31208
+ * would invite a per-node copy of a value that has no per-node meaning.
31209
+ */
31210
+ component: z.string().nullable(),
30635
31211
  /** Explicitly set here, or `null` when this layer inherits. */
30636
31212
  level: LogLevelSchema$1.nullable()
30637
31213
  });
@@ -30673,6 +31249,49 @@ var DiagnosticWindowPatchSchema = z.object({
30673
31249
  reportEveryMs: z.number().int().positive().optional()
30674
31250
  });
30675
31251
  /**
31252
+ * A channel ARMED, as the document reports it.
31253
+ *
31254
+ * `armMs` is not echoed back: what an operator needs to see is the deadline
31255
+ * and the time left, because a diagnostic left running is itself an incident
31256
+ * and "armed for 10 minutes" said an hour ago is not an answer.
31257
+ */
31258
+ var LogChannelWindowStateSchema = z.object({
31259
+ channel: z.string(),
31260
+ armed: z.boolean(),
31261
+ /** Epoch ms the window closes at. 0 when disarmed. */
31262
+ armedUntilMs: z.number(),
31263
+ /** Ms left before it expires on its own. 0 when disarmed. */
31264
+ remainingMs: z.number(),
31265
+ /**
31266
+ * The cameras it is narrowed to, or `null` for every camera.
31267
+ *
31268
+ * A channel declared `perDevice: false` can only ever report `null` here:
31269
+ * its lines do not carry `tags: { deviceId }`, so narrowing them would
31270
+ * produce a filter that silently matches nothing. The server REFUSES such a
31271
+ * patch rather than quietly widening it — ignoring the request would teach
31272
+ * the operator that per-camera filtering works on that channel when it does
31273
+ * not.
31274
+ */
31275
+ deviceIds: z.array(z.number().int()).readonly().nullable()
31276
+ });
31277
+ /**
31278
+ * `armMs: 0` DISARMS. Same grammar as {@link DiagnosticWindowPatchSchema}, and
31279
+ * for the same reason: a channel is a window with a deadline, never a switch.
31280
+ */
31281
+ var LogChannelWindowPatchSchema = z.object({
31282
+ channel: z.string().min(1),
31283
+ armMs: z.number().int().min(0),
31284
+ /**
31285
+ * Narrow to these numeric device ids. Absent or `null` = every camera.
31286
+ *
31287
+ * Numeric because the repo's own rule makes it possible: every log line
31288
+ * about a device carries `tags: { deviceId }` with the numeric id. That rule
31289
+ * was paid for with a 22% thumbnail gap and a 3-hour media blackout both
31290
+ * diagnosed by hand, and this is the first thing that collects on it.
31291
+ */
31292
+ deviceIds: z.array(z.number().int()).readonly().nullable().optional()
31293
+ });
31294
+ /**
30676
31295
  * A PATCH, and patches MERGE.
30677
31296
  *
30678
31297
  * A field absent from the patch is left exactly as it was — arming a
@@ -30691,7 +31310,14 @@ var LoggingSettingsPatchSchema = z.object({
30691
31310
  * Only the diagnostics NAMED here change. An armed window that is not listed
30692
31311
  * keeps running — a patch is never a full replacement.
30693
31312
  */
30694
- diagnostics: z.array(DiagnosticWindowPatchSchema).readonly().optional()
31313
+ diagnostics: z.array(DiagnosticWindowPatchSchema).readonly().optional(),
31314
+ /**
31315
+ * Only the channels NAMED here change. An armed channel that is not listed
31316
+ * keeps running — same rule as `diagnostics`, because a patch that silently
31317
+ * disarmed the channels it did not mention would make the Levels page and
31318
+ * the Diagnostics page fight over the same value.
31319
+ */
31320
+ channels: z.array(LogChannelWindowPatchSchema).readonly().optional()
30695
31321
  });
30696
31322
  /**
30697
31323
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -30704,9 +31330,22 @@ var LoggingSettingsPatchSchema = z.object({
30704
31330
  * authority over the whole hierarchy and answers for every layer, so the
30705
31331
  * layer selector needs a name the transport does not already own.
30706
31332
  */
30707
- var GetLoggingSettingsInputSchema = z.object({ scopeNodeId: z.string().optional() });
31333
+ var GetLoggingSettingsInputSchema = z.object({
31334
+ scopeNodeId: z.string().optional(),
31335
+ /**
31336
+ * The declared CHANNEL this document is addressed at, when the caller wants
31337
+ * the `component` layer. Absent = the node/cluster hierarchy only.
31338
+ *
31339
+ * Naming it separately rather than overloading `scopeNodeId` keeps the two
31340
+ * axes from collapsing: a component level is cluster-wide, a node level is
31341
+ * not, and one selector for both would make "which of these two did I just
31342
+ * set" unanswerable — the exact ambiguity `explicit` exists to remove.
31343
+ */
31344
+ scopeComponent: z.string().optional()
31345
+ });
30708
31346
  var SetLoggingSettingsInputSchema = z.object({
30709
31347
  scopeNodeId: z.string().optional(),
31348
+ scopeComponent: z.string().optional(),
30710
31349
  patch: LoggingSettingsPatchSchema
30711
31350
  });
30712
31351
  /**
@@ -30721,9 +31360,20 @@ var SetLoggingSettingsInputSchema = z.object({
30721
31360
  var LoggingSettingsStateSchema = z.object({
30722
31361
  /** The layer this document was read at. `null` = the cluster layer. */
30723
31362
  scopeNodeId: z.string().nullable(),
31363
+ /** The channel this document was read at. `null` = no component layer. */
31364
+ scopeComponent: z.string().nullable(),
30724
31365
  effective: LoggingEffectiveSchema,
30725
31366
  explicit: LoggingExplicitSchema,
30726
31367
  activeWindows: z.array(DiagnosticWindowSchema).readonly(),
31368
+ /**
31369
+ * Every channel the cluster's addons DECLARE, gathered from the
31370
+ * `log-channels` providers. Not stored anywhere: assembled per read, so a
31371
+ * channel added by a redeployed addon appears without anybody editing a
31372
+ * list, and a channel whose addon is gone stops being offered.
31373
+ */
31374
+ channels: z.array(LogChannelDescriptorSchema).readonly(),
31375
+ /** The channels ARMED right now, each with its deadline. */
31376
+ activeChannels: z.array(LogChannelWindowStateSchema).readonly(),
30727
31377
  persisted: z.boolean()
30728
31378
  });
30729
31379
  var systemCapability = {
@@ -35113,6 +35763,7 @@ var CAPABILITY_NAMES = {
35113
35763
  llmRuntime: "llm-runtime",
35114
35764
  localNetwork: "local-network",
35115
35765
  lockControl: "lock-control",
35766
+ logChannels: "log-channels",
35116
35767
  logDestination: "log-destination",
35117
35768
  loginMethod: "login-method",
35118
35769
  mediaPlayer: "media-player",
@@ -35484,6 +36135,10 @@ var CAPABILITY_ROUTER_KEYS = [
35484
36135
  key: "lockControl",
35485
36136
  name: "lock-control"
35486
36137
  },
36138
+ {
36139
+ key: "logChannels",
36140
+ name: "log-channels"
36141
+ },
35487
36142
  {
35488
36143
  key: "logDestination",
35489
36144
  name: "log-destination"
@@ -35872,6 +36527,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
35872
36527
  llmRuntimeCapability,
35873
36528
  localNetworkCapability,
35874
36529
  lockControlCapability,
36530
+ logChannelsCapability,
35875
36531
  logDestinationCapability,
35876
36532
  loginMethodCapability,
35877
36533
  mediaPlayerCapability,
@@ -36840,6 +37496,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
36840
37496
  addonId: null,
36841
37497
  access: "view"
36842
37498
  },
37499
+ "dataStoreProvider.aggregate": {
37500
+ capName: "data-store-provider",
37501
+ capScope: "system",
37502
+ addonId: null,
37503
+ access: "view"
37504
+ },
36843
37505
  "dataStoreProvider.count": {
36844
37506
  capName: "data-store-provider",
36845
37507
  capScope: "system",
@@ -37254,6 +37916,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
37254
37916
  addonId: null,
37255
37917
  access: "view"
37256
37918
  },
37919
+ "deviceManager.getChildrenBatch": {
37920
+ capName: "device-manager",
37921
+ capScope: "system",
37922
+ addonId: null,
37923
+ access: "view"
37924
+ },
37257
37925
  "deviceManager.getConfigSchema": {
37258
37926
  capName: "device-manager",
37259
37927
  capScope: "system",
@@ -38304,6 +38972,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
38304
38972
  addonId: null,
38305
38973
  access: "create"
38306
38974
  },
38975
+ "logChannels.apply": {
38976
+ capName: "log-channels",
38977
+ capScope: "system",
38978
+ addonId: null,
38979
+ access: "create"
38980
+ },
38981
+ "logChannels.list": {
38982
+ capName: "log-channels",
38983
+ capScope: "system",
38984
+ addonId: null,
38985
+ access: "view"
38986
+ },
38307
38987
  "logDestination.query": {
38308
38988
  capName: "log-destination",
38309
38989
  capScope: "system",
@@ -40458,6 +41138,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
40458
41138
  addonId: null,
40459
41139
  access: "create"
40460
41140
  },
41141
+ "settingsStore.aggregate": {
41142
+ capName: "settings-store",
41143
+ capScope: "system",
41144
+ addonId: null,
41145
+ access: "view"
41146
+ },
40461
41147
  "settingsStore.count": {
40462
41148
  capName: "settings-store",
40463
41149
  capScope: "system",
@@ -41807,6 +42493,7 @@ var KNOWN_CAP_NAMES = [
41807
42493
  "llm-runtime",
41808
42494
  "local-network",
41809
42495
  "lock-control",
42496
+ "log-channels",
41810
42497
  "log-destination",
41811
42498
  "login-method",
41812
42499
  "media-player",
@@ -41965,6 +42652,7 @@ var SYSTEM_CAP_NAMES = [
41965
42652
  "llm",
41966
42653
  "llm-runtime",
41967
42654
  "local-network",
42655
+ "log-channels",
41968
42656
  "log-destination",
41969
42657
  "login-method",
41970
42658
  "mesh-network",
@@ -42294,6 +42982,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
42294
42982
  form: "single",
42295
42983
  optional: false
42296
42984
  }],
42985
+ "deviceManager.getChildrenBatch": [{
42986
+ name: "parentDeviceIds",
42987
+ form: "array",
42988
+ optional: false
42989
+ }],
42297
42990
  "deviceManager.getConfigSchema": [{
42298
42991
  name: "deviceId",
42299
42992
  form: "single",
@@ -43770,6 +44463,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
43770
44463
  "deviceManager.getBindings",
43771
44464
  "deviceManager.getBindingsBatch",
43772
44465
  "deviceManager.getChildren",
44466
+ "deviceManager.getChildrenBatch",
43773
44467
  "deviceManager.getConfigSchema",
43774
44468
  "deviceManager.getDevice",
43775
44469
  "deviceManager.getDeviceAggregate",
@@ -44507,6 +45201,7 @@ function createSystemProxy(api) {
44507
45201
  listPersistedByAddon: (input) => dispatch("deviceManager", "listPersistedByAddon", "query", input),
44508
45202
  listAll: (input) => dispatch("deviceManager", "listAll", "query", input),
44509
45203
  getChildren: (input) => dispatch("deviceManager", "getChildren", "query", input),
45204
+ getChildrenBatch: (input) => dispatch("deviceManager", "getChildrenBatch", "query", input),
44510
45205
  getLinkedDevicesBatch: (input) => dispatch("deviceManager", "getLinkedDevicesBatch", "query", input),
44511
45206
  removeByIntegration: (input) => dispatch("deviceManager", "removeByIntegration", "mutation", input),
44512
45207
  getBindingsBatch: (input) => dispatch("deviceManager", "getBindingsBatch", "query", input),
@@ -44821,6 +45516,7 @@ function createSystemProxy(api) {
44821
45516
  deleteWhere: (input) => dispatch("settingsStore", "deleteWhere", "mutation", input),
44822
45517
  updateWhere: (input) => dispatch("settingsStore", "updateWhere", "mutation", input),
44823
45518
  count: (input) => dispatch("settingsStore", "count", "query", input),
45519
+ aggregate: (input) => dispatch("settingsStore", "aggregate", "query", input),
44824
45520
  histogram: (input) => dispatch("settingsStore", "histogram", "query", input),
44825
45521
  isEmpty: (input) => dispatch("settingsStore", "isEmpty", "query", input),
44826
45522
  declareCollection: (input) => dispatch("settingsStore", "declareCollection", "mutation", input)
@@ -48889,4 +49585,4 @@ function enumerateInferenceDevices(hw) {
48889
49585
  return out;
48890
49586
  }
48891
49587
  //#endregion
48892
- export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsGroupDetailSchema, AnalyticsGroupMemberSchema, AnalyticsGroupRecordSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, ListGroupsPageSchema, ListGroupsQueryInput, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_SENSOR_TRIGGER_DEVICES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isFirstLevelMacroClass, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSourceCap, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveClusterStepModelId, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
49588
+ export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsGroupDetailSchema, AnalyticsGroupMemberSchema, AnalyticsGroupRecordSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, ListGroupsPageSchema, ListGroupsQueryInput, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_SENSOR_TRIGGER_DEVICES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isFirstLevelMacroClass, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSourceCap, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveClusterStepModelId, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };