@camstack/types 1.2.361 → 1.2.363

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
@@ -8325,6 +8325,570 @@ var authProviderCapability = {
8325
8325
  mount: { kind: "skip" }
8326
8326
  };
8327
8327
  //#endregion
8328
+ //#region src/capabilities/settings-store.cap.ts
8329
+ /**
8330
+ * Query filter for settings-store collections.
8331
+ */
8332
+ var QueryFilterSchema = z.object({
8333
+ where: z.record(z.string(), z.unknown()).optional(),
8334
+ whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
8335
+ whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
8336
+ /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
8337
+ whereNot: z.record(z.string(), z.unknown()).optional(),
8338
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
8339
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
8340
+ whereNotIn: z.record(z.string(), z.array(z.unknown())).optional(),
8341
+ orderBy: z.object({
8342
+ field: z.string(),
8343
+ direction: z.enum(["asc", "desc"])
8344
+ }).optional(),
8345
+ limit: z.number().optional(),
8346
+ offset: z.number().optional()
8347
+ });
8348
+ /**
8349
+ * The predicate half of a filter, for BULK MUTATIONS.
8350
+ *
8351
+ * Deliberately not `QueryFilterSchema`: `orderBy` / `limit` / `offset` have no
8352
+ * meaning for a statement that rewrites a set, and accepting them would invite
8353
+ * a caller to believe `limit` bounds the damage. Every field is optional here
8354
+ * only so the shape stays composable — the implementation REJECTS a filter
8355
+ * that compiles to no predicate, because that is the whole collection.
8356
+ */
8357
+ var MutationFilterSchema = z.object({
8358
+ where: z.record(z.string(), z.unknown()).optional(),
8359
+ whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
8360
+ whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
8361
+ whereNot: z.record(z.string(), z.unknown()).optional(),
8362
+ whereNotIn: z.record(z.string(), z.array(z.unknown())).optional()
8363
+ });
8364
+ /**
8365
+ * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
8366
+ *
8367
+ * `as` names the slot in the result, so the SAME column may be asked twice with
8368
+ * two operations (`MIN(startMs)` and `MAX(startMs)` in one round trip) — which
8369
+ * a `Record<column, op>` shape could not express.
8370
+ */
8371
+ var AggregateFieldSchema = z.object({
8372
+ /** Result key. */
8373
+ as: z.string().min(1),
8374
+ /** Column to aggregate. Must be a real column of a declared collection. */
8375
+ field: z.string().min(1),
8376
+ op: z.enum([
8377
+ "sum",
8378
+ "min",
8379
+ "max"
8380
+ ])
8381
+ });
8382
+ /**
8383
+ * `COUNT(*)` plus one number per requested field.
8384
+ *
8385
+ * `null` means NO ROW MATCHED, never zero: a `SUM` over an empty set and a sum
8386
+ * that really is 0 are different facts, and an accounting caller that renders
8387
+ * "0 bytes, oldest = 0" for "nothing here" reports a lie about a disk.
8388
+ */
8389
+ var AggregateResultSchema = z.object({
8390
+ count: z.number().int(),
8391
+ values: z.record(z.string(), z.number().nullable())
8392
+ });
8393
+ /** A single stored record: `{ id, data }`. */
8394
+ var SettingsRecordSchema = z.object({
8395
+ id: z.string(),
8396
+ data: z.record(z.string(), z.unknown())
8397
+ });
8398
+ /**
8399
+ * One record of a BULK insert — {@link SettingsRecordSchema} with the id made
8400
+ * optional.
8401
+ *
8402
+ * A separate schema rather than loosening the shared one: every other method
8403
+ * on this cap addresses a row BY its id, and making that field optional
8404
+ * everywhere would turn a forgotten key into a silently generated one on
8405
+ * `update` and `delete` as well.
8406
+ */
8407
+ var BulkRecordSchema = z.object({
8408
+ id: z.string().optional(),
8409
+ data: z.record(z.string(), z.unknown())
8410
+ });
8411
+ /**
8412
+ * The database FILES one `sqlite-settings` engine process owns (D851).
8413
+ * Closed on purpose: a file is a thing the engine opens, backs up and gives a
8414
+ * serving thread, so a new one is a code change, never a string a caller
8415
+ * invents. `settings` is `camstack.db` and the default for every collection
8416
+ * that names no file.
8417
+ */
8418
+ var DataStoreDatabaseSchema = z.enum([
8419
+ "settings",
8420
+ "events",
8421
+ "history"
8422
+ ]);
8423
+ /** Every database file, in a stable order (settings first). */
8424
+ var DATA_STORE_DATABASES = DataStoreDatabaseSchema.options;
8425
+ /**
8426
+ * One write inside a {@link settingsStoreCapability.methods.transact} call.
8427
+ * The three that a "replace this set, bump that revision" write needs, plus
8428
+ * the batched upsert a rollup writer needs.
8429
+ */
8430
+ var TransactOpSchema = z.discriminatedUnion("op", [
8431
+ z.object({
8432
+ op: z.literal("deleteWhere"),
8433
+ collection: z.string(),
8434
+ filter: MutationFilterSchema
8435
+ }),
8436
+ z.object({
8437
+ op: z.literal("insertMany"),
8438
+ collection: z.string(),
8439
+ records: z.array(BulkRecordSchema).readonly()
8440
+ }),
8441
+ z.object({
8442
+ op: z.literal("update"),
8443
+ collection: z.string(),
8444
+ id: z.string(),
8445
+ data: z.record(z.string(), z.unknown())
8446
+ }),
8447
+ z.object({
8448
+ op: z.literal("upsertMany"),
8449
+ collection: z.string(),
8450
+ conflict: z.array(z.string()).readonly(),
8451
+ records: z.array(BulkRecordSchema).readonly()
8452
+ })
8453
+ ]);
8454
+ /**
8455
+ * The precondition of a transaction: the row `key` of `collection` must hold
8456
+ * `equals` in `column`, read INSIDE the transaction.
8457
+ */
8458
+ var TransactGuardSchema = z.object({
8459
+ collection: z.string(),
8460
+ key: z.string(),
8461
+ column: z.string(),
8462
+ equals: z.unknown()
8463
+ });
8464
+ /**
8465
+ * Column declaration for a structured (SQL-backed) collection.
8466
+ *
8467
+ * Logical types — the backend translates each to the matching SQLite
8468
+ * storage class and handles per-type marshaling:
8469
+ * - `TEXT` / `INTEGER` / `REAL` — native SQLite types, pass-through
8470
+ * - `JSON` — TEXT under the hood; serialised on write, parsed on read
8471
+ * - `BOOLEAN` — INTEGER 0/1 under the hood; coerced both directions
8472
+ */
8473
+ var CollectionColumnSchema = z.object({
8474
+ name: z.string(),
8475
+ type: z.enum([
8476
+ "TEXT",
8477
+ "INTEGER",
8478
+ "REAL",
8479
+ "JSON",
8480
+ "BOOLEAN"
8481
+ ]),
8482
+ primaryKey: z.boolean().optional(),
8483
+ notNull: z.boolean().optional(),
8484
+ unique: z.boolean().optional(),
8485
+ /**
8486
+ * Column DEFAULT. Required for B2: the four `ensureTable` consumers declare
8487
+ * columns like `enabled INTEGER NOT NULL DEFAULT 1`, and without this the
8488
+ * collection surface simply cannot express their existing tables — which is
8489
+ * why they were still on the uncapped `table*` API.
8490
+ */
8491
+ defaultValue: z.union([
8492
+ z.string(),
8493
+ z.number(),
8494
+ z.boolean()
8495
+ ]).optional()
8496
+ });
8497
+ var CollectionIndexSchema = z.object({
8498
+ name: z.string(),
8499
+ columns: z.array(z.string()).readonly(),
8500
+ unique: z.boolean().optional()
8501
+ });
8502
+ /**
8503
+ * The input of `declareCollection` — ONE schema for the door and for the
8504
+ * engine behind it, so the two surfaces cannot drift (the dispatcher forwards
8505
+ * the payload untouched).
8506
+ *
8507
+ * - `database` — the file the collection lives in (D851). Absent means
8508
+ * `settings`. A declaration naming a file other than the one the table is
8509
+ * already in is REFUSED by the engine, never moved.
8510
+ * - `primaryKey` — a COMPOSITE key, as column names. A single name is the same
8511
+ * as `primaryKey: true` on that column. A composite-keyed collection has no
8512
+ * `id`: it is written with `insertMany` / `upsertMany` / `transact` and read
8513
+ * with `query` / `count` / `aggregate` / `deleteWhere`; the calls that
8514
+ * address one row by id are refused.
8515
+ * - `withoutRowid` — emit `WITHOUT ROWID`. Requires a primary key.
8516
+ */
8517
+ var DeclareCollectionInputSchema = z.object({
8518
+ namespace: z.string().optional(),
8519
+ collection: z.string(),
8520
+ columns: z.array(CollectionColumnSchema).readonly(),
8521
+ indexes: z.array(CollectionIndexSchema).readonly().optional(),
8522
+ database: DataStoreDatabaseSchema.optional(),
8523
+ primaryKey: z.array(z.string()).readonly().optional(),
8524
+ withoutRowid: z.boolean().optional()
8525
+ });
8526
+ /**
8527
+ * settings-store — singleton capability for addon-scoped persistence.
8528
+ *
8529
+ * Every method operates within a `collection`. An optional `namespace`
8530
+ * field provides access to additional data spaces beyond the default
8531
+ * addon settings — useful for business data (events, tracks, faces, etc.).
8532
+ *
8533
+ * **Scoping is the CALLER's, and it is opt-in.** The table is
8534
+ * `namespace ? `${namespace}:${collection}` : collection` — nothing
8535
+ * consults the identity of the caller. An earlier version of this comment
8536
+ * claimed the implementation prefixes every collection with the calling
8537
+ * addon's ID and that "addons never see each other's data"; that was never
8538
+ * true, and this same file contradicted it under `declareCollection`. What
8539
+ * exists is `addon-context-factory`, which passes `namespace: addonId` ON
8540
+ * THE ADDON'S BEHALF for the `addon-settings` / `addon-devices` paths only.
8541
+ * Business collections use bare names, and any caller may name any
8542
+ * namespace, or none. Making the door enforce it is tracked separately —
8543
+ * it renames tables, so it needs a migration.
8544
+ *
8545
+ * **So every method is `auth: 'admin'` (D634).** Because nothing scopes a
8546
+ * call to its caller, a `protected` method here was a raw, unredacted read
8547
+ * (and write) of every addon's collections for any role holding
8548
+ * `category:system` — which is every role: a `viewer` could read every
8549
+ * notifier token in plaintext from `notifiers:notification-targets`. No
8550
+ * browser or app client calls this cap. Addons are not affected: an
8551
+ * addon's `ctx.api` cap call is resolved to the provider directly and never
8552
+ * enters the tRPC router (so the tier gates sessions and tokens, never
8553
+ * addons), and the hub itself calls it through the capability registry.
8554
+ *
8555
+ * - `{ collection: 'addon-settings' }` → table `addon-settings`
8556
+ * - `{ namespace: 'my-addon', collection: 'addon-settings' }` →
8557
+ * table `my-addon:addon-settings`
8558
+ *
8559
+ * Served by the **storage-orchestrator** builtin, which dispatches to the
8560
+ * `data-store-provider` engine registered for the collection
8561
+ * (`sqlite-settings`, a SQLite WAL backend, today). One addon owns the
8562
+ * data door; engines sit behind it
8563
+ * ([D44](../../../../docs/decisions/adr-0044.md)).
8564
+ * Addons access it via `ctx.api.settingsStore.*`.
8565
+ */
8566
+ var settingsStoreCapability = {
8567
+ name: "settings-store",
8568
+ scope: "system",
8569
+ mode: "singleton",
8570
+ methods: {
8571
+ /** Get a single value by key from a collection. */
8572
+ get: method(z.object({
8573
+ namespace: z.string().optional(),
8574
+ collection: z.string(),
8575
+ key: z.string()
8576
+ }), z.unknown(), { auth: "admin" }),
8577
+ /** Set a value by key in a collection (upsert). */
8578
+ set: method(z.object({
8579
+ namespace: z.string().optional(),
8580
+ collection: z.string(),
8581
+ key: z.string(),
8582
+ value: z.unknown()
8583
+ }), z.void(), {
8584
+ kind: "mutation",
8585
+ auth: "admin"
8586
+ }),
8587
+ /**
8588
+ * Rows matching a filter.
8589
+ *
8590
+ * `columns` is a SQL-level projection: the engine SELECTs only those
8591
+ * columns (plus the primary key) instead of the whole row. It is the only
8592
+ * way to stop paying disk for a column that is discarded — a heavy JSON
8593
+ * column dominates the row, and dropping it in JS after the read pays every
8594
+ * byte first. Measured on the live `pipeline-analytics:tracks` table: a
8595
+ * 501-row page is 4.6 MB whole and 0.11 MB projected, same index, same
8596
+ * plan.
8597
+ *
8598
+ * The engine REFUSES a column it cannot serve rather than omitting it —
8599
+ * see `SettingsQueryInput.columns` for why a projection may not be
8600
+ * forgiving the way a predicate is.
8601
+ */
8602
+ query: method(z.object({
8603
+ namespace: z.string().optional(),
8604
+ collection: z.string(),
8605
+ filter: QueryFilterSchema.optional(),
8606
+ columns: z.array(z.string()).readonly().optional()
8607
+ }), z.array(SettingsRecordSchema).readonly(), { auth: "admin" }),
8608
+ /**
8609
+ * Make a SLOT hold this row — insert it, or update whatever already
8610
+ * occupies the slot — and answer with the id the row HAS.
8611
+ *
8612
+ * ## Why the store needed this
8613
+ *
8614
+ * {@link set} is already an upsert, but its slot is the PRIMARY KEY: the
8615
+ * caller has to know the id to address the row. That is exactly what a
8616
+ * collection keyed by an `INTEGER` rowid alias cannot do — SQLite assigns
8617
+ * the id, so a writer whose uniqueness rule is "one row per
8618
+ * `(ownerKind, ownerId, kind, slot)`" has no id to name and no way to
8619
+ * express the rule. {@link insert} can express it (a UNIQUE index
8620
+ * arbitrates) but only by THROWING at the loser of a race, and the loser
8621
+ * here is a legitimate re-capture, not an error.
8622
+ *
8623
+ * Getting there without this method means read-then-write: query the slot,
8624
+ * then `insert` or `update`. Two statements instead of one, a race between
8625
+ * them, and a recovery path that has to recognise a UNIQUE violation by its
8626
+ * MESSAGE — across a process boundary, because the store lives behind an
8627
+ * RPC door. A string match would be the whole gate, and a store that
8628
+ * rephrased its error would lose the row silently. One statement has no
8629
+ * such gate (D482).
8630
+ *
8631
+ * ## The contract
8632
+ *
8633
+ * `conflict` names the DECLARED columns that identify the slot. They must
8634
+ * be covered by a UNIQUE index on the collection — SQLite resolves an
8635
+ * `ON CONFLICT` target against its indexes and REFUSES the statement when
8636
+ * none matches, so a wrong list is a loud error on the first write, never a
8637
+ * silently duplicated row. An empty list is refused rather than passed on:
8638
+ * `ON CONFLICT()` is not valid SQL, and the intent it would most likely
8639
+ * encode ("no slot, just insert") is {@link insert}.
8640
+ *
8641
+ * Row shape is {@link insert}'s: `record.id` is used when the collection
8642
+ * needs a supplied key and IGNORED when the primary key is an `INTEGER`
8643
+ * rowid alias — exactly as `insert` and `insertMany` already treat it.
8644
+ *
8645
+ * Returns the id either way: the one SQLite assigned on an insert, or the
8646
+ * one the row it updated already had. A caller cannot tell which happened,
8647
+ * and deliberately — every caller wants the slot's id, and one that needed
8648
+ * to distinguish creation from replacement would have to read first anyway.
8649
+ */
8650
+ upsert: method(z.object({
8651
+ namespace: z.string().optional(),
8652
+ collection: z.string(),
8653
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
8654
+ * index on the collection. Never empty. */
8655
+ conflict: z.array(z.string()).readonly(),
8656
+ record: BulkRecordSchema
8657
+ }), z.object({
8658
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
8659
+ * row's own id on an update. */
8660
+ id: z.union([z.string(), z.number()]) }), {
8661
+ kind: "mutation",
8662
+ auth: "admin"
8663
+ }),
8664
+ /**
8665
+ * {@link upsert} for a BATCH, in ONE transaction on ONE prepared statement.
8666
+ *
8667
+ * The write-side twin of {@link insertMany} for rows that may already
8668
+ * exist: a rollup writer recomputes a bucket and must overwrite it, and
8669
+ * N round trips with N COMMITs is the cost {@link insertMany} was added to
8670
+ * avoid. `conflict` has the meaning it has on {@link upsert} (declared
8671
+ * columns covered by a UNIQUE index or the primary key, never empty).
8672
+ *
8673
+ * Every record of a batch must carry the SAME set of declared columns and
8674
+ * every `conflict` column: one batch is one statement shape, and a record
8675
+ * that silently bound NULL over a column it did not mention would erase
8676
+ * it. A heterogeneous batch is refused whole. **All or nothing.**
8677
+ */
8678
+ upsertMany: method(z.object({
8679
+ namespace: z.string().optional(),
8680
+ collection: z.string(),
8681
+ conflict: z.array(z.string()).readonly(),
8682
+ records: z.array(BulkRecordSchema).readonly()
8683
+ }), z.object({ upserted: z.number().int() }), {
8684
+ kind: "mutation",
8685
+ auth: "admin"
8686
+ }),
8687
+ /** Insert a new record. */
8688
+ insert: method(z.object({
8689
+ namespace: z.string().optional(),
8690
+ collection: z.string(),
8691
+ record: z.object({
8692
+ id: z.string().optional(),
8693
+ data: z.record(z.string(), z.unknown())
8694
+ })
8695
+ }), z.object({
8696
+ /**
8697
+ * The id the row ACTUALLY got (D473): the one supplied, the UUID minted
8698
+ * for an absent one, or the ROWID SQLite assigned on an `INTEGER`
8699
+ * primary key — which is the only place an auto key is knowable.
8700
+ */
8701
+ id: z.union([z.string(), z.number()]) }), {
8702
+ kind: "mutation",
8703
+ auth: "admin"
8704
+ }),
8705
+ /**
8706
+ * Insert MANY records in ONE transaction, returning how many landed.
8707
+ *
8708
+ * The write-side twin of {@link deleteWhere}, and it exists for the same
8709
+ * reason: without it, appending a batch is N round trips and N COMMITs on
8710
+ * the single shared connection that also serves every cluster-wide
8711
+ * configuration read. The durable load series writes one process row per
8712
+ * process per sample — 76 rows every 10 s on the live fleet — and the
8713
+ * operator's rule for it is *one transaction per sample, never one per
8714
+ * row*. `insert` cannot express that; nothing else could.
8715
+ *
8716
+ * **All or nothing.** A batch that fails on its fifth row leaves none of
8717
+ * the five behind. A half-written sample is worse than a missing one: the
8718
+ * missing one reads as "nobody reported", which is true, while the half
8719
+ * one reads as "these were the only processes running", which is not.
8720
+ *
8721
+ * `id` is OPTIONAL per record, and that is the difference from
8722
+ * {@link insert}. A collection whose primary key is an `INTEGER` rowid
8723
+ * alias has no id to supply — SQLite assigns it, for free, and inventing a
8724
+ * `randomUUID()` for such a column would write a 36-character string into
8725
+ * an integer key. Omitted on a TEXT key, a uuid is generated exactly as
8726
+ * `insert` does.
8727
+ */
8728
+ insertMany: method(z.object({
8729
+ namespace: z.string().optional(),
8730
+ collection: z.string(),
8731
+ records: z.array(BulkRecordSchema).readonly()
8732
+ }), z.object({ inserted: z.number().int() }), {
8733
+ kind: "mutation",
8734
+ auth: "admin"
8735
+ }),
8736
+ /**
8737
+ * Several writes, ONE transaction, behind an optional precondition.
8738
+ *
8739
+ * The multi-collection twin of {@link insertMany}: a write that has to move
8740
+ * a set of rows in one collection AND a revision in another cannot be
8741
+ * expressed as separate calls without a window in which a reader (or a
8742
+ * crash) sees half of it. The retrain annotation save replaces a frame's
8743
+ * rows, its dismissed set and its revision this way.
8744
+ *
8745
+ * `guard`, when given, is read inside the transaction: if the row is
8746
+ * missing or its column differs from `equals`, NOTHING is written and the
8747
+ * answer is `{ applied: false, current }` with what was found — the
8748
+ * compare-and-set a revisioned write needs, with no second reader able to
8749
+ * slip between the check and the writes.
8750
+ *
8751
+ * **All or nothing**, like {@link insertMany}: a throw in any op rolls the
8752
+ * whole call back. Ops run in the order given (delete before insert to
8753
+ * replace a set). `namespace` applies to every collection named.
8754
+ */
8755
+ transact: method(z.object({
8756
+ namespace: z.string().optional(),
8757
+ guard: TransactGuardSchema.optional(),
8758
+ ops: z.array(TransactOpSchema).readonly()
8759
+ }), z.object({
8760
+ applied: z.boolean(),
8761
+ current: z.unknown().optional()
8762
+ }), {
8763
+ kind: "mutation",
8764
+ auth: "admin"
8765
+ }),
8766
+ /** Update an existing record by ID. */
8767
+ update: method(z.object({
8768
+ namespace: z.string().optional(),
8769
+ collection: z.string(),
8770
+ id: z.string(),
8771
+ data: z.record(z.string(), z.unknown())
8772
+ }), z.void(), {
8773
+ kind: "mutation",
8774
+ auth: "admin"
8775
+ }),
8776
+ /** Delete a record by key/ID. */
8777
+ delete: method(z.object({
8778
+ namespace: z.string().optional(),
8779
+ collection: z.string(),
8780
+ key: z.string()
8781
+ }), z.void(), {
8782
+ kind: "mutation",
8783
+ auth: "admin"
8784
+ }),
8785
+ /**
8786
+ * Delete every record matching `filter`, in ONE statement, returning how
8787
+ * many rows went. This exists because its absence made every retention
8788
+ * path in the system an N+1 drain loop: `delete` takes a key, so a sweep
8789
+ * had to SELECT a page of full rows — every column, including the fat
8790
+ * ones — purely to learn their ids, then issue one call per row.
8791
+ *
8792
+ * **The filter is required and must resolve.** A predicate naming
8793
+ * something the collection cannot express is an ERROR here, not a
8794
+ * widening as it is on `query`, and a filter with no predicates is an
8795
+ * error rather than "every row". Deleting a whole collection is a
8796
+ * legitimate intent, but it must be asked for by name — not reached by
8797
+ * an empty object.
8798
+ */
8799
+ deleteWhere: method(z.object({
8800
+ namespace: z.string().optional(),
8801
+ collection: z.string(),
8802
+ filter: MutationFilterSchema
8803
+ }), z.object({ deleted: z.number().int() }), {
8804
+ kind: "mutation",
8805
+ auth: "admin"
8806
+ }),
8807
+ /**
8808
+ * Apply `data` to every record matching `filter`, in one statement,
8809
+ * returning how many rows changed. Same filter contract as
8810
+ * {@link deleteWhere} — an unresolvable predicate is an error.
8811
+ */
8812
+ updateWhere: method(z.object({
8813
+ namespace: z.string().optional(),
8814
+ collection: z.string(),
8815
+ filter: MutationFilterSchema,
8816
+ data: z.record(z.string(), z.unknown())
8817
+ }), z.object({ updated: z.number().int() }), {
8818
+ kind: "mutation",
8819
+ auth: "admin"
8820
+ }),
8821
+ /** Count entries in a collection, optionally filtered. */
8822
+ count: method(z.object({
8823
+ namespace: z.string().optional(),
8824
+ collection: z.string(),
8825
+ filter: QueryFilterSchema.optional()
8826
+ }), z.number(), { auth: "admin" }),
8827
+ /**
8828
+ * `COUNT(*)` and one `SUM` / `MIN` / `MAX` per requested field, in ONE
8829
+ * statement, over the rows `filter` selects.
8830
+ *
8831
+ * Exists because "how much is there" was being answered by materialising
8832
+ * "what is there". The recorder's storage-pressure sweep asked its in-RAM
8833
+ * footage index for bytes/count/oldest/newest across a set of storage
8834
+ * locations twice a minute, and the only way to answer that from a map is
8835
+ * to visit every row — 7.1 M of them on the live hub, ~15 M row visits a
8836
+ * minute on the main thread, which is also why the whole archive had to
8837
+ * stay resident to be visited. The question is a sum; nothing needs to be
8838
+ * materialised to answer it.
8839
+ *
8840
+ * **The engine REFUSES a field it cannot serve**, exactly as
8841
+ * `query.columns` does and unlike a PREDICATE, which is skipped when
8842
+ * unresolvable. A dropped predicate over-matches and the caller sees extra
8843
+ * rows; a dropped aggregate returns a NUMBER that is wrong and looks
8844
+ * exactly like a real one. That asymmetry is what this repo has already
8845
+ * paid for once in `count`.
8846
+ */
8847
+ aggregate: method(z.object({
8848
+ namespace: z.string().optional(),
8849
+ collection: z.string(),
8850
+ fields: z.array(AggregateFieldSchema).readonly(),
8851
+ filter: QueryFilterSchema.optional()
8852
+ }), AggregateResultSchema, { auth: "admin" }),
8853
+ /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
8854
+ histogram: method(z.object({
8855
+ namespace: z.string().optional(),
8856
+ collection: z.string(),
8857
+ field: z.string(),
8858
+ bucketSize: z.number().int().positive(),
8859
+ origin: z.number().int(),
8860
+ filter: QueryFilterSchema.optional()
8861
+ }), z.array(z.object({
8862
+ bucket: z.number().int(),
8863
+ count: z.number().int()
8864
+ })).readonly(), { auth: "admin" }),
8865
+ /** Check if a collection is empty. */
8866
+ isEmpty: method(z.object({
8867
+ namespace: z.string().optional(),
8868
+ collection: z.string()
8869
+ }), z.boolean(), { auth: "admin" }),
8870
+ /**
8871
+ * Declare a typed (SQL-backed) collection with explicit columns +
8872
+ * indexes. Idempotent: re-declaring an existing collection with the
8873
+ * same shape is a no-op; shape changes (new columns, new indexes)
8874
+ * are applied additively. Subsequent `insert` / `update` / `delete`
8875
+ * / `query` calls on this collection use typed columns instead of
8876
+ * JSON-blob storage — `record.data` fields are spread across
8877
+ * columns, `query.filter.where` matches real columns (no
8878
+ * `json_extract` overhead), `orderBy` uses column indexes.
8879
+ *
8880
+ * Addons call this in `onInitialize` before their first read/write.
8881
+ * Collection names should be namespaced by addon (e.g.
8882
+ * `pipeline-analytics:object-events`) to avoid cross-addon
8883
+ * clashes — no automatic prefix is added.
8884
+ */
8885
+ declareCollection: method(DeclareCollectionInputSchema, z.void(), {
8886
+ kind: "mutation",
8887
+ auth: "admin"
8888
+ })
8889
+ }
8890
+ };
8891
+ //#endregion
8328
8892
  //#region src/capabilities/database-snapshot.cap.ts
8329
8893
  /**
8330
8894
  * The suffix of a verified snapshot, written next to the live database it
@@ -8353,7 +8917,11 @@ var DATABASE_SNAPSHOT_TIMEOUT_MS = 30 * 6e4;
8353
8917
  * database has no sidecars and is just as owned). Paths are absolute on the
8354
8918
  * owner's host.
8355
8919
  */
8356
- var DatabaseSnapshotTargetsSchema = z.object({ databases: z.array(z.object({ livePath: z.string() })) });
8920
+ var DatabaseSnapshotTargetsSchema = z.object({ databases: z.array(z.object({
8921
+ /** Which owned file this is — the handle `writeSnapshot` takes. */
8922
+ databaseId: DataStoreDatabaseSchema,
8923
+ livePath: z.string()
8924
+ })) });
8357
8925
  /** One b-tree table of the snapshot and the rows it holds. */
8358
8926
  var DatabaseSnapshotTableSchema = z.object({
8359
8927
  name: z.string(),
@@ -8386,6 +8954,10 @@ var DatabaseSnapshotResultSchema = z.object({
8386
8954
  /** When the pinned read transaction began (ms epoch) — the snapshot's instant. */
8387
8955
  takenAt: z.number()
8388
8956
  });
8957
+ /** A snapshot the owner wrote, with the file it belongs to. */
8958
+ var DatabaseSnapshotWrittenSchema = DatabaseSnapshotResultSchema.extend({ databaseId: DataStoreDatabaseSchema });
8959
+ /** Which database `writeSnapshot` copies. Required: an unstated ask is not guessed. */
8960
+ var DatabaseSnapshotRequestSchema = z.object({ databaseId: DataStoreDatabaseSchema });
8389
8961
  /**
8390
8962
  * A snapshot as an ARCHIVE records it (`ArchiveManifest.sqliteSnapshots`):
8391
8963
  * the same facts, with both paths relative to the archive root (the node's
@@ -8395,7 +8967,9 @@ var ArchiveSqliteSnapshotSchema = DatabaseSnapshotResultSchema.extend({
8395
8967
  /** Archive-relative path of the live database the archive does NOT carry. */
8396
8968
  livePath: z.string(),
8397
8969
  /** Archive-relative path of the verified copy it carries in its place. */
8398
- snapshotPath: z.string()
8970
+ snapshotPath: z.string(),
8971
+ /** Absent on an archive made before several files were owned: that was `settings`. */
8972
+ databaseId: DataStoreDatabaseSchema.optional()
8399
8973
  });
8400
8974
  /**
8401
8975
  * database-snapshot — the OWNER of a live SQLite database writes a consistent,
@@ -8420,17 +8994,21 @@ var databaseSnapshotCapability = {
8420
8994
  internal: true,
8421
8995
  methods: {
8422
8996
  /**
8423
- * Which databases this owner snapshots. Answered from memory — no file is
8424
- * touched — so a backup can ask it before deciding anything.
8997
+ * EVERY database file this owner has open, with its id. Answered from
8998
+ * memory — no file is touched — so a backup can ask it before deciding
8999
+ * anything. A file created at runtime is listed from the moment it opens,
9000
+ * so no backup can leave it out (D693).
8425
9001
  */
8426
9002
  listDatabases: method(z.object({}), DatabaseSnapshotTargetsSchema, { auth: "admin" }),
8427
9003
  /**
8428
- * Write `<db>.backup-snapshot` and return what it holds. Throws — and
8429
- * leaves no file under the final name — when the copy fails
8430
- * `integrity_check` or its row counts differ from the pinned source's.
8431
- * A second call while one is running joins it.
9004
+ * Write `<db>.backup-snapshot` for ONE database and return what it holds.
9005
+ * Throws — and leaves no file under the final name — when the copy fails
9006
+ * `integrity_check` or its row counts differ from the pinned source's, or
9007
+ * when the database is not open. A second call for the SAME database while
9008
+ * one is running joins it; different databases run one after the other
9009
+ * (the disk reserve check is per copy).
8432
9010
  */
8433
- writeSnapshot: method(z.object({}), DatabaseSnapshotResultSchema, {
9011
+ writeSnapshot: method(DatabaseSnapshotRequestSchema, DatabaseSnapshotWrittenSchema, {
8434
9012
  kind: "mutation",
8435
9013
  auth: "admin",
8436
9014
  timeoutMs: DATABASE_SNAPSHOT_TIMEOUT_MS
@@ -8553,7 +9131,12 @@ var BackupArchiveEntrySchema = z.object({
8553
9131
  /** Top-level locations included in the archive (db, addons, tls, …). */
8554
9132
  locations: z.array(z.string()).readonly(),
8555
9133
  /** Present when the archive is encrypted; restore then needs that key. */
8556
- encryption: BackupArchiveEncryptionSchema.optional()
9134
+ encryption: BackupArchiveEncryptionSchema.optional(),
9135
+ /**
9136
+ * The databases the run asked to carry (its retention class). Absent on an
9137
+ * archive made before several files were owned: that was `['settings']`.
9138
+ */
9139
+ databases: z.array(DataStoreDatabaseSchema).readonly().optional()
8557
9140
  });
8558
9141
  var BackupEntrySchema = z.object({
8559
9142
  id: z.string(),
@@ -8587,7 +9170,12 @@ var ArchiveManifestSchema = z.object({
8587
9170
  * Live SQLite databases this archive carries as their OWNER's verified
8588
9171
  * snapshot instead of as files (D693). Absent on archives made before.
8589
9172
  */
8590
- sqliteSnapshots: z.array(ArchiveSqliteSnapshotSchema).optional()
9173
+ sqliteSnapshots: z.array(ArchiveSqliteSnapshotSchema).optional(),
9174
+ /**
9175
+ * Owned database files the run did NOT carry (not selected): left out of the
9176
+ * tar and the entry list alike. Absent when every owned file was carried.
9177
+ */
9178
+ omittedDatabases: z.array(DataStoreDatabaseSchema).optional()
8591
9179
  });
8592
9180
  var LocationStatSchema = z.object({
8593
9181
  name: z.string(),
@@ -8709,6 +9297,12 @@ var BackupScheduleSchema = z.object({
8709
9297
  /** Optional subset of source locations to include; omitted = all. */
8710
9298
  dataSources: z.array(z.string()).readonly().optional(),
8711
9299
  /**
9300
+ * Which database files this schedule carries. Absent = `['settings']`
9301
+ * (an unstated ask is the minimum, D382). Events and history run weekly,
9302
+ * settings nightly (D852).
9303
+ */
9304
+ databases: z.array(DataStoreDatabaseSchema).readonly().optional(),
9305
+ /**
8712
9306
  * ms-epoch of the last tick that FIRED this schedule. Stamped before the
8713
9307
  * archive runs (it is the dedupe anchor), so it says "attempted", never
8714
9308
  * "succeeded" — a run refused by every destination stamps it too.
@@ -8760,7 +9354,9 @@ var backupCapability = {
8760
9354
  * retention). Omitted = each destination's own policy
8761
9355
  * retention (manual runs).
8762
9356
  */
8763
- retentionCount: z.number().int().min(1).max(1e3).optional()
9357
+ retentionCount: z.number().int().min(1).max(1e3).optional(),
9358
+ /** Database files to carry; omitted = `['settings']`. */
9359
+ databases: z.array(DataStoreDatabaseSchema).optional()
8764
9360
  }).optional(), BackupTriggerResultSchema, {
8765
9361
  kind: "mutation",
8766
9362
  auth: "admin"
@@ -8918,6 +9514,16 @@ var backupCapability = {
8918
9514
  */
8919
9515
  listSchedules: method(z.void(), z.array(BackupScheduleSchema).readonly(), { auth: "admin" }),
8920
9516
  /**
9517
+ * The database files that exist on this hub right now (the owner's open
9518
+ * files), so the selection UI can offer all of them and mark a file that
9519
+ * is not created yet. `answered: false` = the owner did not answer, which
9520
+ * is not the same as "none exist".
9521
+ */
9522
+ listAvailableDatabases: method(z.void(), z.object({
9523
+ answered: z.boolean(),
9524
+ databases: z.array(DataStoreDatabaseSchema).readonly()
9525
+ }), { auth: "admin" }),
9526
+ /**
8921
9527
  * Create or replace a schedule. An empty / absent `id` mints a new
8922
9528
  * one; a present `id` replaces in place. `cron` is validated
8923
9529
  * server-side; `locationIds` must reference existing `backups`
@@ -8930,7 +9536,8 @@ var backupCapability = {
8930
9536
  enabled: z.boolean(),
8931
9537
  locationIds: z.array(z.string()).readonly(),
8932
9538
  retentionCount: z.number().int().min(1).max(1e3),
8933
- dataSources: z.array(z.string()).readonly().optional()
9539
+ dataSources: z.array(z.string()).readonly().optional(),
9540
+ databases: z.array(DataStoreDatabaseSchema).readonly().optional()
8934
9541
  }), BackupScheduleSchema, {
8935
9542
  kind: "mutation",
8936
9543
  auth: "admin"
@@ -12319,828 +12926,264 @@ var CoreBlockCompileInputSchema = z.object({
12319
12926
  return;
12320
12927
  }
12321
12928
  if (val.code === void 0) ctx.addIssue({
12322
- code: "custom",
12323
- message: "code or files is required",
12324
- path: ["code"]
12325
- });
12326
- });
12327
- var coreBlocksCapability = {
12328
- name: "core-blocks",
12329
- scope: "system",
12330
- mode: "singleton",
12331
- methods: {
12332
- list: method(z.object({}), z.object({ blocks: z.array(CoreBlockSchema) }), { auth: "admin" }),
12333
- get: method(z.object({ blockId: z.string() }), z.object({ block: CoreBlockSchema.nullable() }), { auth: "admin" }),
12334
- /**
12335
- * Create a block. The code is COMPILED first: storing source that does not
12336
- * compile turns an editor error into a fork failure the operator meets
12337
- * minutes later in a log.
12338
- */
12339
- create: method(z.object({ block: CoreBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
12340
- kind: "mutation",
12341
- auth: "admin",
12342
- caller: "required"
12343
- }),
12344
- update: method(z.object({
12345
- blockId: z.string(),
12346
- block: CoreBlockInputFieldsSchema.partial()
12347
- }), z.object({ block: CoreBlockSchema }), {
12348
- kind: "mutation",
12349
- auth: "admin",
12350
- caller: "required"
12351
- }),
12352
- delete: method(z.object({ blockId: z.string() }), z.object({ success: z.literal(true) }), {
12353
- kind: "mutation",
12354
- auth: "admin"
12355
- }),
12356
- setEnabled: method(z.object({
12357
- blockId: z.string(),
12358
- enabled: z.boolean()
12359
- }), z.object({ block: CoreBlockSchema }), {
12360
- kind: "mutation",
12361
- auth: "admin"
12362
- }),
12363
- /**
12364
- * Stop this block's runner and let the supervisor bring it back.
12365
- *
12366
- * **It stores nothing.** There is no "restart requested" flag and no second
12367
- * lifecycle field: the supervisor already stops and respawns a runner when
12368
- * the code hash changes, and this exposes that same path deliberately
12369
- * (D62 — a switch writes the authority that already owned the function).
12370
- * The next reconcile pass remains the authority, so a restart that lost a
12371
- * race is corrected within one pass rather than leaving a stale flag behind.
12372
- *
12373
- * Refused for a DISABLED block: nothing would come back, and a button that
12374
- * silently does nothing is worse than one that says why.
12375
- */
12376
- restart: method(z.object({ blockId: z.string() }), z.object({ block: CoreBlockSchema }), {
12377
- kind: "mutation",
12378
- auth: "admin"
12379
- }),
12380
- /**
12381
- * Type-check without saving — what the editor calls as the author types, so
12382
- * the compiler's verdict is the same one the server will reach.
12383
- * Accepts `{ code }` or `{ files, entry }` (multi-file project).
12384
- */
12385
- compile: method(CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, {
12386
- kind: "mutation",
12387
- auth: "admin"
12388
- }),
12389
- /**
12390
- * Hydrated settings form for one block, or null until a `settingsSchema`
12391
- * is known (extracted from the compiled entry's named export, or set on
12392
- * the block). Values live in the `core-blocks:settings` collection.
12393
- */
12394
- getBlockSettings: method(z.object({ blockId: z.string() }), SettingsSchemaWithValuesSchema.nullable(), { auth: "admin" }),
12395
- /**
12396
- * Patch persisted preference values for one block. The schema is not
12397
- * rewritten here — only values. Scripts read the same blob via
12398
- * `ctx.settings.readAddonStore()` (mirrored into the block addon's
12399
- * `addon-settings` namespace on every patch).
12400
- */
12401
- updateBlockSettings: method(z.object({
12402
- blockId: z.string(),
12403
- patch: SettingsPatchSchema
12404
- }), SettingsUpdateResultSchema, {
12405
- kind: "mutation",
12406
- auth: "admin"
12407
- }),
12408
- /**
12409
- * The declaration files the editor type-checks against.
12410
- *
12411
- * Served rather than bundled: the graph is 3.4 MB across 344 files, and
12412
- * bundling it would roughly double the admin remote. Served rather than
12413
- * hand-stubbed: a block runs with the same `ctx` an addon gets, so a stub
12414
- * would drift and the editor would confidently autocomplete methods that
12415
- * do not exist.
12416
- */
12417
- getTypeDefs: method(z.object({}), z.object({ libs: z.array(z.object({
12418
- filePath: z.string(),
12419
- content: z.string()
12420
- })) }), { auth: "admin" }),
12421
- /**
12422
- * Create a composition block (D659). VALIDATED first against the live
12423
- * sources and every stored composition; a refusal names every problem by
12424
- * path and reason (D391) and stores nothing.
12425
- */
12426
- createComposition: method(z.object({ block: CompositionBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
12427
- kind: "mutation",
12428
- auth: "admin",
12429
- caller: "required"
12430
- }),
12431
- /**
12432
- * Patch a composition block. A changed `composition` is validated exactly
12433
- * as on create. `expectedUpdatedAt` is the `updatedAt` the caller READ: a
12434
- * block changed since is refused by name, never silently overwritten.
12435
- */
12436
- updateComposition: method(z.object({
12437
- blockId: z.string(),
12438
- expectedUpdatedAt: z.number(),
12439
- block: CompositionBlockInputSchema.partial()
12440
- }), z.object({ block: CoreBlockSchema }), {
12441
- kind: "mutation",
12442
- auth: "admin",
12443
- caller: "required"
12444
- }),
12445
- /** One composition and the composer's state for it, or `not-loaded` (D315). */
12446
- getComposition: method(z.object({ blockId: z.string() }), CompositionGetReadSchema, { auth: "admin" }),
12447
- listCompositions: method(z.object({}), CompositionListReadSchema, { auth: "admin" }),
12448
- /**
12449
- * The composition that customizes an existing device (D663), found by its
12450
- * TARGET — never by the block's derived name. One per device at most.
12451
- */
12452
- getCustomization: method(z.object({
12453
- addonId: z.string().min(1),
12454
- stableId: z.string().min(1)
12455
- }), CompositionCustomizationReadSchema, { auth: "admin" }),
12456
- /**
12457
- * The capabilities a composition may BUILD on a device of `deviceType`
12458
- * (a new device, or added to an existing one), with their fields — the
12459
- * editor's feature list and the presets' availability (G2, D676). Built
12460
- * from the validator's own blockers; a replace of a BOUND cap is not
12461
- * listed here (the device's bindings say what it has).
12462
- */
12463
- listComposableCaps: method(z.object({ deviceType: z.enum(DeviceType) }), ComposableCapabilitiesSchema, { auth: "admin" }),
12464
- /**
12465
- * Validate without saving — the same verdict the save reaches. A mutation
12466
- * for its body size; it writes nothing, so its access is `view`.
12467
- */
12468
- validateComposition: method(z.object({
12469
- composition: CompositionSchema,
12470
- blockId: z.string().optional()
12471
- }), CompositionValidationSchema, {
12472
- kind: "mutation",
12473
- auth: "admin",
12474
- access: "view"
12475
- })
12476
- }
12477
- };
12478
- //#endregion
12479
- //#region src/capabilities/custom-model-registry.cap.ts
12480
- /**
12481
- * `custom-model-registry` — collection cap exposing operator-registered
12482
- * custom detection models. Each provider (today: `addon-model-studio`)
12483
- * contributes a list of `CustomModelDescriptor`s; the hub auto-concatenates
12484
- * them across providers (`concatCollection`).
12485
- *
12486
- * The detection-pipeline is *aware* of this cap: when at least one provider
12487
- * exists it unions these descriptors into the per-step model picker and the
12488
- * runtime model-resolution path, alongside the static catalog. When no
12489
- * provider exists the consumer no-ops entirely (identical to the catalog-only
12490
- * behaviour).
12491
- *
12492
- * A descriptor carries a full `ModelCatalogEntry` directly — the same shape
12493
- * the static catalog uses — so the existing download/resolution code consumes
12494
- * it unchanged. `stepId` is the detection step the model targets
12495
- * (e.g. `'object-detection'`).
12496
- */
12497
- var CustomModelDescriptorSchema = z.object({
12498
- stepId: z.string(),
12499
- entry: ModelCatalogEntrySchema
12500
- });
12501
- /** One regular file of an imported bundle, as the producer measured it. */
12502
- var ModelBundleFileSchema = z.object({
12503
- /** Relative path inside the bundle tar; an mlpackage member is `<x>.mlpackage/<member>`. */
12504
- path: z.string().min(1),
12505
- bytes: z.number().int().nonnegative(),
12506
- sha256: z.string().regex(/^[0-9a-f]{64}$/)
12507
- });
12508
- var ImportModelBundleInputSchema = z.object({
12509
- /** The registry provider that keeps the model (Model Studio). */
12510
- addonId: z.string(),
12511
- stepId: z.string().min(1),
12512
- /**
12513
- * The catalog rows to register, complete, every format URL already
12514
- * `camstack-local://<modelId>/<file>` naming a file of the bundle. One
12515
- * bundle may carry several rows (a base and its INT8 variant).
12516
- */
12517
- entries: z.array(ModelCatalogEntrySchema).min(1).max(4),
12518
- /** The bundle tar, offered by the producer over `ctx.peerBytes` (same host). */
12519
- bundle: z.object({
12520
- ticket: PeerBytesTicketSchema,
12521
- bytes: z.number().int().positive(),
12522
- sha256: z.string().regex(/^[0-9a-f]{64}$/)
12523
- }),
12524
- /** Every file the tar must hold; anything missing, extra or different is refused. */
12525
- files: z.array(ModelBundleFileSchema).min(1).max(64),
12526
- /** Convert missing engine formats and push the model to every agent afterwards. */
12527
- distribute: z.boolean()
12528
- });
12529
- var ImportModelBundleResultSchema = z.discriminatedUnion("kind", [z.object({
12530
- kind: z.literal("imported"),
12531
- modelIds: z.array(z.string()).readonly(),
12532
- distributed: z.array(z.object({
12533
- modelId: z.string(),
12534
- nodeId: z.string(),
12535
- format: z.enum(MODEL_FORMATS),
12536
- ok: z.boolean(),
12537
- error: z.string().optional()
12538
- })).readonly()
12539
- }), z.object({
12540
- kind: z.literal("refused"),
12541
- reason: z.enum([
12542
- "transfer-failed",
12543
- "checksum-mismatch",
12544
- "bundle-mismatch",
12545
- "invalid-entry",
12546
- "id-taken"
12547
- ]),
12548
- detail: z.string()
12549
- })]);
12550
- var customModelRegistryCapability = {
12551
- name: "custom-model-registry",
12552
- scope: "system",
12553
- mode: "collection",
12554
- internal: true,
12555
- methods: {
12556
- /**
12557
- * `internal: true` did not gate the mount (see the 2026-08-26 note on
12558
- * `data-store-provider`) — this was reachable on the AppRouter by ANY
12559
- * authenticated session at the default `auth: 'protected'`. The only
12560
- * consumer, the detection-pipeline's model resolution
12561
- * (`addon-pipeline/src/detection-pipeline/provider.ts`), calls
12562
- * `ctx.api.customModelRegistry.listModels.query()` — UDS/Moleculer,
12563
- * never tRPC — so `auth: 'admin'` costs it nothing.
12564
- */
12565
- listModels: method(z.void(), z.array(CustomModelDescriptorSchema).readonly(), { auth: "admin" }),
12566
- /**
12567
- * Register a model whose files arrive as ONE bundle tar (D806): the tar
12568
- * is taken over `ctx.peerBytes`, checked against `bundle.sha256` and
12569
- * every row of `files`, unpacked into the hub's flat modelsDir (directory
12570
- * formats included), each format's `.revision` record written, the rows
12571
- * upserted under the operator's name, the hub marked available and —
12572
- * when asked — engine formats converted and the model distributed. A
12573
- * model id already registered by another source is refused, never
12574
- * overwritten.
12575
- */
12576
- importModelBundle: method(ImportModelBundleInputSchema, ImportModelBundleResultSchema, {
12577
- kind: "mutation",
12578
- auth: "admin",
12579
- timeoutMs: 30 * 6e4
12580
- })
12581
- }
12582
- };
12583
- //#endregion
12584
- //#region src/capabilities/settings-store.cap.ts
12585
- /**
12586
- * Query filter for settings-store collections.
12587
- */
12588
- var QueryFilterSchema = z.object({
12589
- where: z.record(z.string(), z.unknown()).optional(),
12590
- whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
12591
- whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
12592
- /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
12593
- whereNot: z.record(z.string(), z.unknown()).optional(),
12594
- /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
12595
- * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
12596
- whereNotIn: z.record(z.string(), z.array(z.unknown())).optional(),
12597
- orderBy: z.object({
12598
- field: z.string(),
12599
- direction: z.enum(["asc", "desc"])
12600
- }).optional(),
12601
- limit: z.number().optional(),
12602
- offset: z.number().optional()
12603
- });
12604
- /**
12605
- * The predicate half of a filter, for BULK MUTATIONS.
12606
- *
12607
- * Deliberately not `QueryFilterSchema`: `orderBy` / `limit` / `offset` have no
12608
- * meaning for a statement that rewrites a set, and accepting them would invite
12609
- * a caller to believe `limit` bounds the damage. Every field is optional here
12610
- * only so the shape stays composable — the implementation REJECTS a filter
12611
- * that compiles to no predicate, because that is the whole collection.
12612
- */
12613
- var MutationFilterSchema = z.object({
12614
- where: z.record(z.string(), z.unknown()).optional(),
12615
- whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
12616
- whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
12617
- whereNot: z.record(z.string(), z.unknown()).optional(),
12618
- whereNotIn: z.record(z.string(), z.array(z.unknown())).optional()
12619
- });
12620
- /**
12621
- * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
12622
- *
12623
- * `as` names the slot in the result, so the SAME column may be asked twice with
12624
- * two operations (`MIN(startMs)` and `MAX(startMs)` in one round trip) — which
12625
- * a `Record<column, op>` shape could not express.
12626
- */
12627
- var AggregateFieldSchema = z.object({
12628
- /** Result key. */
12629
- as: z.string().min(1),
12630
- /** Column to aggregate. Must be a real column of a declared collection. */
12631
- field: z.string().min(1),
12632
- op: z.enum([
12633
- "sum",
12634
- "min",
12635
- "max"
12636
- ])
12637
- });
12638
- /**
12639
- * `COUNT(*)` plus one number per requested field.
12640
- *
12641
- * `null` means NO ROW MATCHED, never zero: a `SUM` over an empty set and a sum
12642
- * that really is 0 are different facts, and an accounting caller that renders
12643
- * "0 bytes, oldest = 0" for "nothing here" reports a lie about a disk.
12644
- */
12645
- var AggregateResultSchema = z.object({
12646
- count: z.number().int(),
12647
- values: z.record(z.string(), z.number().nullable())
12648
- });
12649
- /** A single stored record: `{ id, data }`. */
12650
- var SettingsRecordSchema = z.object({
12651
- id: z.string(),
12652
- data: z.record(z.string(), z.unknown())
12653
- });
12654
- /**
12655
- * One record of a BULK insert — {@link SettingsRecordSchema} with the id made
12656
- * optional.
12657
- *
12658
- * A separate schema rather than loosening the shared one: every other method
12659
- * on this cap addresses a row BY its id, and making that field optional
12660
- * everywhere would turn a forgotten key into a silently generated one on
12661
- * `update` and `delete` as well.
12662
- */
12663
- var BulkRecordSchema = z.object({
12664
- id: z.string().optional(),
12665
- data: z.record(z.string(), z.unknown())
12666
- });
12667
- /**
12668
- * The database FILES one `sqlite-settings` engine process owns (D851).
12669
- * Closed on purpose: a file is a thing the engine opens, backs up and gives a
12670
- * serving thread, so a new one is a code change, never a string a caller
12671
- * invents. `settings` is `camstack.db` and the default for every collection
12672
- * that names no file.
12673
- */
12674
- var DataStoreDatabaseSchema = z.enum([
12675
- "settings",
12676
- "events",
12677
- "history"
12678
- ]);
12679
- /** Every database file, in a stable order (settings first). */
12680
- var DATA_STORE_DATABASES = DataStoreDatabaseSchema.options;
12681
- /**
12682
- * One write inside a {@link settingsStoreCapability.methods.transact} call.
12683
- * The three that a "replace this set, bump that revision" write needs, plus
12684
- * the batched upsert a rollup writer needs.
12685
- */
12686
- var TransactOpSchema = z.discriminatedUnion("op", [
12687
- z.object({
12688
- op: z.literal("deleteWhere"),
12689
- collection: z.string(),
12690
- filter: MutationFilterSchema
12691
- }),
12692
- z.object({
12693
- op: z.literal("insertMany"),
12694
- collection: z.string(),
12695
- records: z.array(BulkRecordSchema).readonly()
12696
- }),
12697
- z.object({
12698
- op: z.literal("update"),
12699
- collection: z.string(),
12700
- id: z.string(),
12701
- data: z.record(z.string(), z.unknown())
12702
- }),
12703
- z.object({
12704
- op: z.literal("upsertMany"),
12705
- collection: z.string(),
12706
- conflict: z.array(z.string()).readonly(),
12707
- records: z.array(BulkRecordSchema).readonly()
12708
- })
12709
- ]);
12710
- /**
12711
- * The precondition of a transaction: the row `key` of `collection` must hold
12712
- * `equals` in `column`, read INSIDE the transaction.
12713
- */
12714
- var TransactGuardSchema = z.object({
12715
- collection: z.string(),
12716
- key: z.string(),
12717
- column: z.string(),
12718
- equals: z.unknown()
12719
- });
12720
- /**
12721
- * Column declaration for a structured (SQL-backed) collection.
12722
- *
12723
- * Logical types — the backend translates each to the matching SQLite
12724
- * storage class and handles per-type marshaling:
12725
- * - `TEXT` / `INTEGER` / `REAL` — native SQLite types, pass-through
12726
- * - `JSON` — TEXT under the hood; serialised on write, parsed on read
12727
- * - `BOOLEAN` — INTEGER 0/1 under the hood; coerced both directions
12728
- */
12729
- var CollectionColumnSchema = z.object({
12730
- name: z.string(),
12731
- type: z.enum([
12732
- "TEXT",
12733
- "INTEGER",
12734
- "REAL",
12735
- "JSON",
12736
- "BOOLEAN"
12737
- ]),
12738
- primaryKey: z.boolean().optional(),
12739
- notNull: z.boolean().optional(),
12740
- unique: z.boolean().optional(),
12741
- /**
12742
- * Column DEFAULT. Required for B2: the four `ensureTable` consumers declare
12743
- * columns like `enabled INTEGER NOT NULL DEFAULT 1`, and without this the
12744
- * collection surface simply cannot express their existing tables — which is
12745
- * why they were still on the uncapped `table*` API.
12746
- */
12747
- defaultValue: z.union([
12748
- z.string(),
12749
- z.number(),
12750
- z.boolean()
12751
- ]).optional()
12752
- });
12753
- var CollectionIndexSchema = z.object({
12754
- name: z.string(),
12755
- columns: z.array(z.string()).readonly(),
12756
- unique: z.boolean().optional()
12757
- });
12758
- /**
12759
- * The input of `declareCollection` — ONE schema for the door and for the
12760
- * engine behind it, so the two surfaces cannot drift (the dispatcher forwards
12761
- * the payload untouched).
12762
- *
12763
- * - `database` — the file the collection lives in (D851). Absent means
12764
- * `settings`. A declaration naming a file other than the one the table is
12765
- * already in is REFUSED by the engine, never moved.
12766
- * - `primaryKey` — a COMPOSITE key, as column names. A single name is the same
12767
- * as `primaryKey: true` on that column. A composite-keyed collection has no
12768
- * `id`: it is written with `insertMany` / `upsertMany` / `transact` and read
12769
- * with `query` / `count` / `aggregate` / `deleteWhere`; the calls that
12770
- * address one row by id are refused.
12771
- * - `withoutRowid` — emit `WITHOUT ROWID`. Requires a primary key.
12772
- */
12773
- var DeclareCollectionInputSchema = z.object({
12774
- namespace: z.string().optional(),
12775
- collection: z.string(),
12776
- columns: z.array(CollectionColumnSchema).readonly(),
12777
- indexes: z.array(CollectionIndexSchema).readonly().optional(),
12778
- database: DataStoreDatabaseSchema.optional(),
12779
- primaryKey: z.array(z.string()).readonly().optional(),
12780
- withoutRowid: z.boolean().optional()
12781
- });
12782
- /**
12783
- * settings-store — singleton capability for addon-scoped persistence.
12784
- *
12785
- * Every method operates within a `collection`. An optional `namespace`
12786
- * field provides access to additional data spaces beyond the default
12787
- * addon settings — useful for business data (events, tracks, faces, etc.).
12788
- *
12789
- * **Scoping is the CALLER's, and it is opt-in.** The table is
12790
- * `namespace ? `${namespace}:${collection}` : collection` — nothing
12791
- * consults the identity of the caller. An earlier version of this comment
12792
- * claimed the implementation prefixes every collection with the calling
12793
- * addon's ID and that "addons never see each other's data"; that was never
12794
- * true, and this same file contradicted it under `declareCollection`. What
12795
- * exists is `addon-context-factory`, which passes `namespace: addonId` ON
12796
- * THE ADDON'S BEHALF for the `addon-settings` / `addon-devices` paths only.
12797
- * Business collections use bare names, and any caller may name any
12798
- * namespace, or none. Making the door enforce it is tracked separately —
12799
- * it renames tables, so it needs a migration.
12800
- *
12801
- * **So every method is `auth: 'admin'` (D634).** Because nothing scopes a
12802
- * call to its caller, a `protected` method here was a raw, unredacted read
12803
- * (and write) of every addon's collections for any role holding
12804
- * `category:system` — which is every role: a `viewer` could read every
12805
- * notifier token in plaintext from `notifiers:notification-targets`. No
12806
- * browser or app client calls this cap. Addons are not affected: an
12807
- * addon's `ctx.api` cap call is resolved to the provider directly and never
12808
- * enters the tRPC router (so the tier gates sessions and tokens, never
12809
- * addons), and the hub itself calls it through the capability registry.
12810
- *
12811
- * - `{ collection: 'addon-settings' }` → table `addon-settings`
12812
- * - `{ namespace: 'my-addon', collection: 'addon-settings' }` →
12813
- * table `my-addon:addon-settings`
12814
- *
12815
- * Served by the **storage-orchestrator** builtin, which dispatches to the
12816
- * `data-store-provider` engine registered for the collection
12817
- * (`sqlite-settings`, a SQLite WAL backend, today). One addon owns the
12818
- * data door; engines sit behind it
12819
- * ([D44](../../../../docs/decisions/adr-0044.md)).
12820
- * Addons access it via `ctx.api.settingsStore.*`.
12821
- */
12822
- var settingsStoreCapability = {
12823
- name: "settings-store",
12929
+ code: "custom",
12930
+ message: "code or files is required",
12931
+ path: ["code"]
12932
+ });
12933
+ });
12934
+ var coreBlocksCapability = {
12935
+ name: "core-blocks",
12824
12936
  scope: "system",
12825
12937
  mode: "singleton",
12826
12938
  methods: {
12827
- /** Get a single value by key from a collection. */
12828
- get: method(z.object({
12829
- namespace: z.string().optional(),
12830
- collection: z.string(),
12831
- key: z.string()
12832
- }), z.unknown(), { auth: "admin" }),
12833
- /** Set a value by key in a collection (upsert). */
12834
- set: method(z.object({
12835
- namespace: z.string().optional(),
12836
- collection: z.string(),
12837
- key: z.string(),
12838
- value: z.unknown()
12839
- }), z.void(), {
12939
+ list: method(z.object({}), z.object({ blocks: z.array(CoreBlockSchema) }), { auth: "admin" }),
12940
+ get: method(z.object({ blockId: z.string() }), z.object({ block: CoreBlockSchema.nullable() }), { auth: "admin" }),
12941
+ /**
12942
+ * Create a block. The code is COMPILED first: storing source that does not
12943
+ * compile turns an editor error into a fork failure the operator meets
12944
+ * minutes later in a log.
12945
+ */
12946
+ create: method(z.object({ block: CoreBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
12947
+ kind: "mutation",
12948
+ auth: "admin",
12949
+ caller: "required"
12950
+ }),
12951
+ update: method(z.object({
12952
+ blockId: z.string(),
12953
+ block: CoreBlockInputFieldsSchema.partial()
12954
+ }), z.object({ block: CoreBlockSchema }), {
12955
+ kind: "mutation",
12956
+ auth: "admin",
12957
+ caller: "required"
12958
+ }),
12959
+ delete: method(z.object({ blockId: z.string() }), z.object({ success: z.literal(true) }), {
12840
12960
  kind: "mutation",
12841
12961
  auth: "admin"
12842
12962
  }),
12843
- /**
12844
- * Rows matching a filter.
12845
- *
12846
- * `columns` is a SQL-level projection: the engine SELECTs only those
12847
- * columns (plus the primary key) instead of the whole row. It is the only
12848
- * way to stop paying disk for a column that is discarded — a heavy JSON
12849
- * column dominates the row, and dropping it in JS after the read pays every
12850
- * byte first. Measured on the live `pipeline-analytics:tracks` table: a
12851
- * 501-row page is 4.6 MB whole and 0.11 MB projected, same index, same
12852
- * plan.
12853
- *
12854
- * The engine REFUSES a column it cannot serve rather than omitting it —
12855
- * see `SettingsQueryInput.columns` for why a projection may not be
12856
- * forgiving the way a predicate is.
12857
- */
12858
- query: method(z.object({
12859
- namespace: z.string().optional(),
12860
- collection: z.string(),
12861
- filter: QueryFilterSchema.optional(),
12862
- columns: z.array(z.string()).readonly().optional()
12863
- }), z.array(SettingsRecordSchema).readonly(), { auth: "admin" }),
12864
- /**
12865
- * Make a SLOT hold this row — insert it, or update whatever already
12866
- * occupies the slot — and answer with the id the row HAS.
12867
- *
12868
- * ## Why the store needed this
12869
- *
12870
- * {@link set} is already an upsert, but its slot is the PRIMARY KEY: the
12871
- * caller has to know the id to address the row. That is exactly what a
12872
- * collection keyed by an `INTEGER` rowid alias cannot do — SQLite assigns
12873
- * the id, so a writer whose uniqueness rule is "one row per
12874
- * `(ownerKind, ownerId, kind, slot)`" has no id to name and no way to
12875
- * express the rule. {@link insert} can express it (a UNIQUE index
12876
- * arbitrates) but only by THROWING at the loser of a race, and the loser
12877
- * here is a legitimate re-capture, not an error.
12878
- *
12879
- * Getting there without this method means read-then-write: query the slot,
12880
- * then `insert` or `update`. Two statements instead of one, a race between
12881
- * them, and a recovery path that has to recognise a UNIQUE violation by its
12882
- * MESSAGE — across a process boundary, because the store lives behind an
12883
- * RPC door. A string match would be the whole gate, and a store that
12884
- * rephrased its error would lose the row silently. One statement has no
12885
- * such gate (D482).
12886
- *
12887
- * ## The contract
12888
- *
12889
- * `conflict` names the DECLARED columns that identify the slot. They must
12890
- * be covered by a UNIQUE index on the collection — SQLite resolves an
12891
- * `ON CONFLICT` target against its indexes and REFUSES the statement when
12892
- * none matches, so a wrong list is a loud error on the first write, never a
12893
- * silently duplicated row. An empty list is refused rather than passed on:
12894
- * `ON CONFLICT()` is not valid SQL, and the intent it would most likely
12895
- * encode ("no slot, just insert") is {@link insert}.
12896
- *
12897
- * Row shape is {@link insert}'s: `record.id` is used when the collection
12898
- * needs a supplied key and IGNORED when the primary key is an `INTEGER`
12899
- * rowid alias — exactly as `insert` and `insertMany` already treat it.
12900
- *
12901
- * Returns the id either way: the one SQLite assigned on an insert, or the
12902
- * one the row it updated already had. A caller cannot tell which happened,
12903
- * and deliberately — every caller wants the slot's id, and one that needed
12904
- * to distinguish creation from replacement would have to read first anyway.
12905
- */
12906
- upsert: method(z.object({
12907
- namespace: z.string().optional(),
12908
- collection: z.string(),
12909
- /** Declared columns identifying the slot; must be covered by a UNIQUE
12910
- * index on the collection. Never empty. */
12911
- conflict: z.array(z.string()).readonly(),
12912
- record: BulkRecordSchema
12913
- }), z.object({
12914
- /** The id the row HAS: assigned by SQLite on an insert, or the existing
12915
- * row's own id on an update. */
12916
- id: z.union([z.string(), z.number()]) }), {
12963
+ setEnabled: method(z.object({
12964
+ blockId: z.string(),
12965
+ enabled: z.boolean()
12966
+ }), z.object({ block: CoreBlockSchema }), {
12917
12967
  kind: "mutation",
12918
12968
  auth: "admin"
12919
12969
  }),
12920
12970
  /**
12921
- * {@link upsert} for a BATCH, in ONE transaction on ONE prepared statement.
12971
+ * Stop this block's runner and let the supervisor bring it back.
12922
12972
  *
12923
- * The write-side twin of {@link insertMany} for rows that may already
12924
- * exist: a rollup writer recomputes a bucket and must overwrite it, and
12925
- * N round trips with N COMMITs is the cost {@link insertMany} was added to
12926
- * avoid. `conflict` has the meaning it has on {@link upsert} (declared
12927
- * columns covered by a UNIQUE index or the primary key, never empty).
12973
+ * **It stores nothing.** There is no "restart requested" flag and no second
12974
+ * lifecycle field: the supervisor already stops and respawns a runner when
12975
+ * the code hash changes, and this exposes that same path deliberately
12976
+ * (D62 — a switch writes the authority that already owned the function).
12977
+ * The next reconcile pass remains the authority, so a restart that lost a
12978
+ * race is corrected within one pass rather than leaving a stale flag behind.
12928
12979
  *
12929
- * Every record of a batch must carry the SAME set of declared columns and
12930
- * every `conflict` column: one batch is one statement shape, and a record
12931
- * that silently bound NULL over a column it did not mention would erase
12932
- * it. A heterogeneous batch is refused whole. **All or nothing.**
12980
+ * Refused for a DISABLED block: nothing would come back, and a button that
12981
+ * silently does nothing is worse than one that says why.
12933
12982
  */
12934
- upsertMany: method(z.object({
12935
- namespace: z.string().optional(),
12936
- collection: z.string(),
12937
- conflict: z.array(z.string()).readonly(),
12938
- records: z.array(BulkRecordSchema).readonly()
12939
- }), z.object({ upserted: z.number().int() }), {
12983
+ restart: method(z.object({ blockId: z.string() }), z.object({ block: CoreBlockSchema }), {
12940
12984
  kind: "mutation",
12941
12985
  auth: "admin"
12942
12986
  }),
12943
- /** Insert a new record. */
12944
- insert: method(z.object({
12945
- namespace: z.string().optional(),
12946
- collection: z.string(),
12947
- record: z.object({
12948
- id: z.string().optional(),
12949
- data: z.record(z.string(), z.unknown())
12950
- })
12951
- }), z.object({
12952
12987
  /**
12953
- * The id the row ACTUALLY got (D473): the one supplied, the UUID minted
12954
- * for an absent one, or the ROWID SQLite assigned on an `INTEGER`
12955
- * primary key — which is the only place an auto key is knowable.
12988
+ * Type-check without saving — what the editor calls as the author types, so
12989
+ * the compiler's verdict is the same one the server will reach.
12990
+ * Accepts `{ code }` or `{ files, entry }` (multi-file project).
12956
12991
  */
12957
- id: z.union([z.string(), z.number()]) }), {
12992
+ compile: method(CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, {
12958
12993
  kind: "mutation",
12959
12994
  auth: "admin"
12960
12995
  }),
12961
12996
  /**
12962
- * Insert MANY records in ONE transaction, returning how many landed.
12963
- *
12964
- * The write-side twin of {@link deleteWhere}, and it exists for the same
12965
- * reason: without it, appending a batch is N round trips and N COMMITs on
12966
- * the single shared connection that also serves every cluster-wide
12967
- * configuration read. The durable load series writes one process row per
12968
- * process per sample — 76 rows every 10 s on the live fleet — and the
12969
- * operator's rule for it is *one transaction per sample, never one per
12970
- * row*. `insert` cannot express that; nothing else could.
12971
- *
12972
- * **All or nothing.** A batch that fails on its fifth row leaves none of
12973
- * the five behind. A half-written sample is worse than a missing one: the
12974
- * missing one reads as "nobody reported", which is true, while the half
12975
- * one reads as "these were the only processes running", which is not.
12976
- *
12977
- * `id` is OPTIONAL per record, and that is the difference from
12978
- * {@link insert}. A collection whose primary key is an `INTEGER` rowid
12979
- * alias has no id to supply — SQLite assigns it, for free, and inventing a
12980
- * `randomUUID()` for such a column would write a 36-character string into
12981
- * an integer key. Omitted on a TEXT key, a uuid is generated exactly as
12982
- * `insert` does.
12997
+ * Hydrated settings form for one block, or null until a `settingsSchema`
12998
+ * is known (extracted from the compiled entry's named export, or set on
12999
+ * the block). Values live in the `core-blocks:settings` collection.
12983
13000
  */
12984
- insertMany: method(z.object({
12985
- namespace: z.string().optional(),
12986
- collection: z.string(),
12987
- records: z.array(BulkRecordSchema).readonly()
12988
- }), z.object({ inserted: z.number().int() }), {
13001
+ getBlockSettings: method(z.object({ blockId: z.string() }), SettingsSchemaWithValuesSchema.nullable(), { auth: "admin" }),
13002
+ /**
13003
+ * Patch persisted preference values for one block. The schema is not
13004
+ * rewritten here — only values. Scripts read the same blob via
13005
+ * `ctx.settings.readAddonStore()` (mirrored into the block addon's
13006
+ * `addon-settings` namespace on every patch).
13007
+ */
13008
+ updateBlockSettings: method(z.object({
13009
+ blockId: z.string(),
13010
+ patch: SettingsPatchSchema
13011
+ }), SettingsUpdateResultSchema, {
12989
13012
  kind: "mutation",
12990
13013
  auth: "admin"
12991
13014
  }),
12992
13015
  /**
12993
- * Several writes, ONE transaction, behind an optional precondition.
12994
- *
12995
- * The multi-collection twin of {@link insertMany}: a write that has to move
12996
- * a set of rows in one collection AND a revision in another cannot be
12997
- * expressed as separate calls without a window in which a reader (or a
12998
- * crash) sees half of it. The retrain annotation save replaces a frame's
12999
- * rows, its dismissed set and its revision this way.
13000
- *
13001
- * `guard`, when given, is read inside the transaction: if the row is
13002
- * missing or its column differs from `equals`, NOTHING is written and the
13003
- * answer is `{ applied: false, current }` with what was found — the
13004
- * compare-and-set a revisioned write needs, with no second reader able to
13005
- * slip between the check and the writes.
13016
+ * The declaration files the editor type-checks against.
13006
13017
  *
13007
- * **All or nothing**, like {@link insertMany}: a throw in any op rolls the
13008
- * whole call back. Ops run in the order given (delete before insert to
13009
- * replace a set). `namespace` applies to every collection named.
13018
+ * Served rather than bundled: the graph is 3.4 MB across 344 files, and
13019
+ * bundling it would roughly double the admin remote. Served rather than
13020
+ * hand-stubbed: a block runs with the same `ctx` an addon gets, so a stub
13021
+ * would drift and the editor would confidently autocomplete methods that
13022
+ * do not exist.
13010
13023
  */
13011
- transact: method(z.object({
13012
- namespace: z.string().optional(),
13013
- guard: TransactGuardSchema.optional(),
13014
- ops: z.array(TransactOpSchema).readonly()
13015
- }), z.object({
13016
- applied: z.boolean(),
13017
- current: z.unknown().optional()
13018
- }), {
13019
- kind: "mutation",
13020
- auth: "admin"
13021
- }),
13022
- /** Update an existing record by ID. */
13023
- update: method(z.object({
13024
- namespace: z.string().optional(),
13025
- collection: z.string(),
13026
- id: z.string(),
13027
- data: z.record(z.string(), z.unknown())
13028
- }), z.void(), {
13029
- kind: "mutation",
13030
- auth: "admin"
13031
- }),
13032
- /** Delete a record by key/ID. */
13033
- delete: method(z.object({
13034
- namespace: z.string().optional(),
13035
- collection: z.string(),
13036
- key: z.string()
13037
- }), z.void(), {
13024
+ getTypeDefs: method(z.object({}), z.object({ libs: z.array(z.object({
13025
+ filePath: z.string(),
13026
+ content: z.string()
13027
+ })) }), { auth: "admin" }),
13028
+ /**
13029
+ * Create a composition block (D659). VALIDATED first against the live
13030
+ * sources and every stored composition; a refusal names every problem by
13031
+ * path and reason (D391) and stores nothing.
13032
+ */
13033
+ createComposition: method(z.object({ block: CompositionBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
13038
13034
  kind: "mutation",
13039
- auth: "admin"
13035
+ auth: "admin",
13036
+ caller: "required"
13040
13037
  }),
13041
13038
  /**
13042
- * Delete every record matching `filter`, in ONE statement, returning how
13043
- * many rows went. This exists because its absence made every retention
13044
- * path in the system an N+1 drain loop: `delete` takes a key, so a sweep
13045
- * had to SELECT a page of full rows — every column, including the fat
13046
- * ones — purely to learn their ids, then issue one call per row.
13047
- *
13048
- * **The filter is required and must resolve.** A predicate naming
13049
- * something the collection cannot express is an ERROR here, not a
13050
- * widening as it is on `query`, and a filter with no predicates is an
13051
- * error rather than "every row". Deleting a whole collection is a
13052
- * legitimate intent, but it must be asked for by name — not reached by
13053
- * an empty object.
13039
+ * Patch a composition block. A changed `composition` is validated exactly
13040
+ * as on create. `expectedUpdatedAt` is the `updatedAt` the caller READ: a
13041
+ * block changed since is refused by name, never silently overwritten.
13054
13042
  */
13055
- deleteWhere: method(z.object({
13056
- namespace: z.string().optional(),
13057
- collection: z.string(),
13058
- filter: MutationFilterSchema
13059
- }), z.object({ deleted: z.number().int() }), {
13043
+ updateComposition: method(z.object({
13044
+ blockId: z.string(),
13045
+ expectedUpdatedAt: z.number(),
13046
+ block: CompositionBlockInputSchema.partial()
13047
+ }), z.object({ block: CoreBlockSchema }), {
13060
13048
  kind: "mutation",
13061
- auth: "admin"
13049
+ auth: "admin",
13050
+ caller: "required"
13062
13051
  }),
13052
+ /** One composition and the composer's state for it, or `not-loaded` (D315). */
13053
+ getComposition: method(z.object({ blockId: z.string() }), CompositionGetReadSchema, { auth: "admin" }),
13054
+ listCompositions: method(z.object({}), CompositionListReadSchema, { auth: "admin" }),
13063
13055
  /**
13064
- * Apply `data` to every record matching `filter`, in one statement,
13065
- * returning how many rows changed. Same filter contract as
13066
- * {@link deleteWhere} — an unresolvable predicate is an error.
13056
+ * The composition that customizes an existing device (D663), found by its
13057
+ * TARGET — never by the block's derived name. One per device at most.
13067
13058
  */
13068
- updateWhere: method(z.object({
13069
- namespace: z.string().optional(),
13070
- collection: z.string(),
13071
- filter: MutationFilterSchema,
13072
- data: z.record(z.string(), z.unknown())
13073
- }), z.object({ updated: z.number().int() }), {
13059
+ getCustomization: method(z.object({
13060
+ addonId: z.string().min(1),
13061
+ stableId: z.string().min(1)
13062
+ }), CompositionCustomizationReadSchema, { auth: "admin" }),
13063
+ /**
13064
+ * The capabilities a composition may BUILD on a device of `deviceType`
13065
+ * (a new device, or added to an existing one), with their fields — the
13066
+ * editor's feature list and the presets' availability (G2, D676). Built
13067
+ * from the validator's own blockers; a replace of a BOUND cap is not
13068
+ * listed here (the device's bindings say what it has).
13069
+ */
13070
+ listComposableCaps: method(z.object({ deviceType: z.enum(DeviceType) }), ComposableCapabilitiesSchema, { auth: "admin" }),
13071
+ /**
13072
+ * Validate without saving — the same verdict the save reaches. A mutation
13073
+ * for its body size; it writes nothing, so its access is `view`.
13074
+ */
13075
+ validateComposition: method(z.object({
13076
+ composition: CompositionSchema,
13077
+ blockId: z.string().optional()
13078
+ }), CompositionValidationSchema, {
13074
13079
  kind: "mutation",
13075
- auth: "admin"
13076
- }),
13077
- /** Count entries in a collection, optionally filtered. */
13078
- count: method(z.object({
13079
- namespace: z.string().optional(),
13080
- collection: z.string(),
13081
- filter: QueryFilterSchema.optional()
13082
- }), z.number(), { auth: "admin" }),
13080
+ auth: "admin",
13081
+ access: "view"
13082
+ })
13083
+ }
13084
+ };
13085
+ //#endregion
13086
+ //#region src/capabilities/custom-model-registry.cap.ts
13087
+ /**
13088
+ * `custom-model-registry` — collection cap exposing operator-registered
13089
+ * custom detection models. Each provider (today: `addon-model-studio`)
13090
+ * contributes a list of `CustomModelDescriptor`s; the hub auto-concatenates
13091
+ * them across providers (`concatCollection`).
13092
+ *
13093
+ * The detection-pipeline is *aware* of this cap: when at least one provider
13094
+ * exists it unions these descriptors into the per-step model picker and the
13095
+ * runtime model-resolution path, alongside the static catalog. When no
13096
+ * provider exists the consumer no-ops entirely (identical to the catalog-only
13097
+ * behaviour).
13098
+ *
13099
+ * A descriptor carries a full `ModelCatalogEntry` directly — the same shape
13100
+ * the static catalog uses — so the existing download/resolution code consumes
13101
+ * it unchanged. `stepId` is the detection step the model targets
13102
+ * (e.g. `'object-detection'`).
13103
+ */
13104
+ var CustomModelDescriptorSchema = z.object({
13105
+ stepId: z.string(),
13106
+ entry: ModelCatalogEntrySchema
13107
+ });
13108
+ /** One regular file of an imported bundle, as the producer measured it. */
13109
+ var ModelBundleFileSchema = z.object({
13110
+ /** Relative path inside the bundle tar; an mlpackage member is `<x>.mlpackage/<member>`. */
13111
+ path: z.string().min(1),
13112
+ bytes: z.number().int().nonnegative(),
13113
+ sha256: z.string().regex(/^[0-9a-f]{64}$/)
13114
+ });
13115
+ var ImportModelBundleInputSchema = z.object({
13116
+ /** The registry provider that keeps the model (Model Studio). */
13117
+ addonId: z.string(),
13118
+ stepId: z.string().min(1),
13119
+ /**
13120
+ * The catalog rows to register, complete, every format URL already
13121
+ * `camstack-local://<modelId>/<file>` naming a file of the bundle. One
13122
+ * bundle may carry several rows (a base and its INT8 variant).
13123
+ */
13124
+ entries: z.array(ModelCatalogEntrySchema).min(1).max(4),
13125
+ /** The bundle tar, offered by the producer over `ctx.peerBytes` (same host). */
13126
+ bundle: z.object({
13127
+ ticket: PeerBytesTicketSchema,
13128
+ bytes: z.number().int().positive(),
13129
+ sha256: z.string().regex(/^[0-9a-f]{64}$/)
13130
+ }),
13131
+ /** Every file the tar must hold; anything missing, extra or different is refused. */
13132
+ files: z.array(ModelBundleFileSchema).min(1).max(64),
13133
+ /** Convert missing engine formats and push the model to every agent afterwards. */
13134
+ distribute: z.boolean()
13135
+ });
13136
+ var ImportModelBundleResultSchema = z.discriminatedUnion("kind", [z.object({
13137
+ kind: z.literal("imported"),
13138
+ modelIds: z.array(z.string()).readonly(),
13139
+ distributed: z.array(z.object({
13140
+ modelId: z.string(),
13141
+ nodeId: z.string(),
13142
+ format: z.enum(MODEL_FORMATS),
13143
+ ok: z.boolean(),
13144
+ error: z.string().optional()
13145
+ })).readonly()
13146
+ }), z.object({
13147
+ kind: z.literal("refused"),
13148
+ reason: z.enum([
13149
+ "transfer-failed",
13150
+ "checksum-mismatch",
13151
+ "bundle-mismatch",
13152
+ "invalid-entry",
13153
+ "id-taken"
13154
+ ]),
13155
+ detail: z.string()
13156
+ })]);
13157
+ var customModelRegistryCapability = {
13158
+ name: "custom-model-registry",
13159
+ scope: "system",
13160
+ mode: "collection",
13161
+ internal: true,
13162
+ methods: {
13083
13163
  /**
13084
- * `COUNT(*)` and one `SUM` / `MIN` / `MAX` per requested field, in ONE
13085
- * statement, over the rows `filter` selects.
13086
- *
13087
- * Exists because "how much is there" was being answered by materialising
13088
- * "what is there". The recorder's storage-pressure sweep asked its in-RAM
13089
- * footage index for bytes/count/oldest/newest across a set of storage
13090
- * locations twice a minute, and the only way to answer that from a map is
13091
- * to visit every row — 7.1 M of them on the live hub, ~15 M row visits a
13092
- * minute on the main thread, which is also why the whole archive had to
13093
- * stay resident to be visited. The question is a sum; nothing needs to be
13094
- * materialised to answer it.
13095
- *
13096
- * **The engine REFUSES a field it cannot serve**, exactly as
13097
- * `query.columns` does and unlike a PREDICATE, which is skipped when
13098
- * unresolvable. A dropped predicate over-matches and the caller sees extra
13099
- * rows; a dropped aggregate returns a NUMBER that is wrong and looks
13100
- * exactly like a real one. That asymmetry is what this repo has already
13101
- * paid for once in `count`.
13164
+ * `internal: true` did not gate the mount (see the 2026-08-26 note on
13165
+ * `data-store-provider`) — this was reachable on the AppRouter by ANY
13166
+ * authenticated session at the default `auth: 'protected'`. The only
13167
+ * consumer, the detection-pipeline's model resolution
13168
+ * (`addon-pipeline/src/detection-pipeline/provider.ts`), calls
13169
+ * `ctx.api.customModelRegistry.listModels.query()` — UDS/Moleculer,
13170
+ * never tRPC — so `auth: 'admin'` costs it nothing.
13102
13171
  */
13103
- aggregate: method(z.object({
13104
- namespace: z.string().optional(),
13105
- collection: z.string(),
13106
- fields: z.array(AggregateFieldSchema).readonly(),
13107
- filter: QueryFilterSchema.optional()
13108
- }), AggregateResultSchema, { auth: "admin" }),
13109
- /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
13110
- histogram: method(z.object({
13111
- namespace: z.string().optional(),
13112
- collection: z.string(),
13113
- field: z.string(),
13114
- bucketSize: z.number().int().positive(),
13115
- origin: z.number().int(),
13116
- filter: QueryFilterSchema.optional()
13117
- }), z.array(z.object({
13118
- bucket: z.number().int(),
13119
- count: z.number().int()
13120
- })).readonly(), { auth: "admin" }),
13121
- /** Check if a collection is empty. */
13122
- isEmpty: method(z.object({
13123
- namespace: z.string().optional(),
13124
- collection: z.string()
13125
- }), z.boolean(), { auth: "admin" }),
13172
+ listModels: method(z.void(), z.array(CustomModelDescriptorSchema).readonly(), { auth: "admin" }),
13126
13173
  /**
13127
- * Declare a typed (SQL-backed) collection with explicit columns +
13128
- * indexes. Idempotent: re-declaring an existing collection with the
13129
- * same shape is a no-op; shape changes (new columns, new indexes)
13130
- * are applied additively. Subsequent `insert` / `update` / `delete`
13131
- * / `query` calls on this collection use typed columns instead of
13132
- * JSON-blob storage — `record.data` fields are spread across
13133
- * columns, `query.filter.where` matches real columns (no
13134
- * `json_extract` overhead), `orderBy` uses column indexes.
13135
- *
13136
- * Addons call this in `onInitialize` before their first read/write.
13137
- * Collection names should be namespaced by addon (e.g.
13138
- * `pipeline-analytics:object-events`) to avoid cross-addon
13139
- * clashes — no automatic prefix is added.
13174
+ * Register a model whose files arrive as ONE bundle tar (D806): the tar
13175
+ * is taken over `ctx.peerBytes`, checked against `bundle.sha256` and
13176
+ * every row of `files`, unpacked into the hub's flat modelsDir (directory
13177
+ * formats included), each format's `.revision` record written, the rows
13178
+ * upserted under the operator's name, the hub marked available and —
13179
+ * when asked — engine formats converted and the model distributed. A
13180
+ * model id already registered by another source is refused, never
13181
+ * overwritten.
13140
13182
  */
13141
- declareCollection: method(DeclareCollectionInputSchema, z.void(), {
13183
+ importModelBundle: method(ImportModelBundleInputSchema, ImportModelBundleResultSchema, {
13142
13184
  kind: "mutation",
13143
- auth: "admin"
13185
+ auth: "admin",
13186
+ timeoutMs: 30 * 6e4
13144
13187
  })
13145
13188
  }
13146
13189
  };
@@ -37861,6 +37904,18 @@ var CalendarInfoSchema = z.object({
37861
37904
  source: CalendarSourceKindSchema,
37862
37905
  enabled: z.boolean()
37863
37906
  });
37907
+ /**
37908
+ * Time contract of {@link CalendarEvent}.
37909
+ *
37910
+ * - Timed event: `startMs` / `endMs` are real instants; `endMs` is exclusive.
37911
+ * - All-day event (`allDay: true`): the event is a run of calendar DATES, not
37912
+ * instants. `startMs` is UTC midnight of the first date and `endMs` is UTC
37913
+ * midnight of the day AFTER the last date (RFC 5545 exclusive DTEND), so a
37914
+ * one-day event spans exactly 24 h. Every provider produces that and no
37915
+ * consumer may read the instants in a local timezone: use
37916
+ * {@link calendarEventLocalSpan}. Reading UTC midnight as local time put an
37917
+ * all-day event on the following day for any viewer ahead of UTC.
37918
+ */
37864
37919
  var CalendarEventSchema = z.object({
37865
37920
  id: z.string().min(1),
37866
37921
  calendarId: z.string().min(1),
@@ -37887,6 +37942,40 @@ var calendarSourceCapability = {
37887
37942
  listEvents: method(CalendarListEventsInputSchema, z.array(CalendarEventSchema).readonly(), { auth: "admin" })
37888
37943
  }
37889
37944
  };
37945
+ function localMidnightOfUtcDate(utcMidnightMs) {
37946
+ const d = new Date(utcMidnightMs);
37947
+ return new Date(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate()).getTime();
37948
+ }
37949
+ /**
37950
+ * The interval an event occupies on the viewer's local clock, end exclusive.
37951
+ * A timed event is returned as is; an all-day event's UTC dates are re-read as
37952
+ * local calendar dates (local midnight to local midnight, DST-safe). A
37953
+ * degenerate all-day end (`<=` start) is widened to one day.
37954
+ */
37955
+ function calendarEventLocalSpan(ev) {
37956
+ if (ev.allDay !== true) return {
37957
+ startMs: ev.startMs,
37958
+ endMs: ev.endMs
37959
+ };
37960
+ const startMs = localMidnightOfUtcDate(ev.startMs);
37961
+ const endMs = localMidnightOfUtcDate(ev.endMs);
37962
+ if (endMs > startMs) return {
37963
+ startMs,
37964
+ endMs
37965
+ };
37966
+ const start = new Date(startMs);
37967
+ return {
37968
+ startMs,
37969
+ endMs: new Date(start.getFullYear(), start.getMonth(), start.getDate() + 1).getTime()
37970
+ };
37971
+ }
37972
+ /** Does the event touch the local calendar day starting at `dayStartMs`? */
37973
+ function calendarEventOnLocalDay(ev, dayStartMs) {
37974
+ const day = new Date(dayStartMs);
37975
+ const dayEndMs = new Date(day.getFullYear(), day.getMonth(), day.getDate() + 1).getTime();
37976
+ const span = calendarEventLocalSpan(ev);
37977
+ return span.startMs < dayEndMs && span.endMs > dayStartMs;
37978
+ }
37890
37979
  //#endregion
37891
37980
  //#region src/capabilities/calendars.cap.ts
37892
37981
  /**
@@ -41160,7 +41249,15 @@ var HubAddressBookSchema = z.object({
41160
41249
  publicEndpoint: HubAddressRoleResolutionSchema
41161
41250
  }),
41162
41251
  /** The `hub=` an app link carries (D709), or null. */
41163
- appLinkHub: z.string().nullable()
41252
+ appLinkHub: z.string().nullable(),
41253
+ /**
41254
+ * Every origin a browser can really reach this hub at, in the scheme each
41255
+ * listener serves: `https://<lan>:<httpsPort>`, and `http://<lan>:<httpPort>`
41256
+ * while LAN HTTP is on, plus the public and custom addresses. Distinct from
41257
+ * `rows`, which show `http://` only while LAN HTTP is on. Never loopback,
41258
+ * never the app link. Absent on a hub older than D794's amendment.
41259
+ */
41260
+ listenerOrigins: z.array(z.string()).readonly().optional()
41164
41261
  });
41165
41262
  var AllowedAddressesSchema = z.object({
41166
41263
  /**
@@ -55399,6 +55496,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
55399
55496
  addonId: null,
55400
55497
  access: "view"
55401
55498
  },
55499
+ "backup.listAvailableDatabases": {
55500
+ capName: "backup",
55501
+ capScope: "system",
55502
+ addonId: null,
55503
+ access: "view"
55504
+ },
55402
55505
  "backup.listDestinations": {
55403
55506
  capName: "backup",
55404
55507
  capScope: "system",
@@ -70715,6 +70818,7 @@ function createSystemProxy(api) {
70715
70818
  upsertDestinationPolicy: (input) => dispatch("backup", "upsertDestinationPolicy", "mutation", input),
70716
70819
  previewSchedule: (input) => dispatch("backup", "previewSchedule", "query", input),
70717
70820
  listSchedules: (input) => dispatch("backup", "listSchedules", "query", input),
70821
+ listAvailableDatabases: (input) => dispatch("backup", "listAvailableDatabases", "query", input),
70718
70822
  upsertSchedule: (input) => dispatch("backup", "upsertSchedule", "mutation", input),
70719
70823
  deleteSchedule: (input) => dispatch("backup", "deleteSchedule", "mutation", input)
70720
70824
  },
@@ -79823,4 +79927,4 @@ function enumerateInferenceDevices(hw) {
79823
79927
  return out;
79824
79928
  }
79825
79929
  //#endregion
79826
- export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPEARANCE_BIN_COUNT, APPEARANCE_BLOCKS, APPEARANCE_DESCRIPTOR_VERSION, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, APPLE_SA_TO_MACRO, APP_AUTH_CALLBACK_MAX_LENGTH, APP_AUTH_CALLBACK_URLS, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AUTOMATIC_HUB_ADDRESS_FLAGS, AUTO_SHARE_HEADROOM, AUTO_TUNE_FAMILY, AcceleratorKindSchema, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddRetrainFrameFromRecordingResultSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, 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, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchiveSqliteSnapshotSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, AutoTuneOptionsSchema, AutoTunePhaseResultSchema, AutoTunePlanSchema, AutoTuneWarningSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BENCH_ROOT_STEP_ID, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupArchiveEncryptionSchema, BackupDestinationInfoSchema, BackupEncryptionStatusSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerInfoSchema as UnifiedBrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BulkRecordSchema, CAMERA_SENSORS_NOT_LOADED, CAMERA_SENSORS_SETTINGS_KEY, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAMERA_TRIGGER, CAMSTACK_APP_LINK_ORIGIN, CAMSTACK_EVENT_PREFIX, 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, CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSED_ITEM_FIXED_FIELDS, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, COMPOSITION_EVENT_CATEGORY, COMPOSITION_ITEM_ARRAY_PATH, COMPOSITION_ITEM_KEY_RE, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, CUSTOMIZATION_BLOCK_NAME_PREFIX, CalendarColorSchema, CalendarEntrySchema, CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, CalendarSourceKindSchema, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionSourceSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraOverrideClearSchema, CameraOwnMotionSchema, CameraRawLevelSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSensorAttachmentSchema, CameraSensorEntrySchema, CameraSensorModeSchema, CameraSensorRefSchema, CameraSensorsConfigSchema, CameraSensorsNotEnforcedSchema, CameraSensorsNotForwardedSchema, CameraSensorsStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CapacityFallbackSchema, CapacitySourceSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClaimOutcomeSchema, ClaimsListingSchema, ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ComposableCapabilitiesSchema, ComposableCapabilitySchema, ComposableFieldSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionCustomizationReadSchema, CompositionEventPlanSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionFeatureModeSchema, CompositionFeaturePlanSchema, CompositionFeatureSchema, CompositionFieldItemSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionItemEntrySchema, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumableRemainingSchema, ConsumableRemainingUnitSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, CoreBlockFilesSchema, CoreBlockInputFieldsSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, DATAPLANE_SECRET_HEADER, DATA_STORE_DATABASES, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CAMERA_FPS, DEFAULT_CAMERA_SENSOR_MODE, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_CORE_BLOCK_ENTRY, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_HEADROOM, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_MIN_SESSIONS_PER_DEVICE, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SESSION_PLACEMENT_POLICY, DEFAULT_SHARE_SOURCE, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DETECTOR_ACCURACY, DETECTOR_PERF, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_DO_ACTIONS, DEVICE_PROFILES, DEVICE_RAMP, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_DO_CAPS, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, DOORBELL_RISE_DEBOUNCE_MS, DataStoreDatabaseSchema, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclareCollectionInputSchema, DeclaredDevices, DecodedAudioChunkSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DetectorStoreClearSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceModelChoiceSchema, DeviceNetworkStatsSchema, DeviceRecommendationSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_KIND_LABELS, EVENT_KIND_LABEL_KEYS, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveDeviceShareSchema, EffectiveNodeShareSchema, EffectiveSharesSchema, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, FEEDER_EXAMPLE_ADDON_ID, FEEDER_EXAMPLE_HA_DEVICE_ID, FFMPEG_PATH_ENV, FIRST_LEVEL_MACRO_CLASSES, FRIGATE_PLUS_CLASS_FLOORS, FRIGATE_PLUS_TO_MACRO, FRIGATE_PLUS_UNMAPPED_LABELS, FRIGATE_STOCK_CLASS_FLOORS, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FieldClaimModeSchema, FieldClaimSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HUB_ADDRESS_ROLES, HUB_MDNS_QUERY_NAME, HUB_MDNS_ROLE, HUB_MDNS_SERVICE_TYPE, HUB_MDNS_TXT_KEYS, HUB_VIEWER_MOUNT, HWACCEL_OPTIONS, HardwareClassIdSchema, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HubAddressRoleSchema, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, INVERTIBLE_CAPS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, ImportModelBundleInputSchema, ImportModelBundleResultSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KEYCHAIN_MAX_REFS_PER_CALL, KEYCHAIN_RESET_CONFIRMATION, KEYCHAIN_RESET_TRIGGER_ACTOR, KNOWN_CAP_NAMES, KeptReasonSchema, KeyEventSchema, KeychainAdminSecretSchema, KeychainAuditActionSchema, KeychainAuditEntrySchema, KeychainKeySourceKindSchema, KeychainKeySourceSchema, KeychainResetRecordSchema, KeychainResolveEntrySchema, KeychainResolveResultSchema, KeychainSecretMetaSchema, KeychainSecretUsageSchema, KeychainStateSchema, KeychainStatusSchema, KeychainUnavailableReasonSchema, KeychainWriteRefusedError, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, LEGACY_READ_ONLY_CONFIG_KEY, LINKED_DEVICES_SLOT, LINKED_LABEL_STEP_PREFIX, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LatencySourceSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, ListNodeBenchmarkResultsInputSchema, ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, LiveViewerCountSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadBalancingSharesInputSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CAMERA_SENSORS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_COMPOSITION_ITEMS, 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_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MAX_TRACK_PURITIES, MAX_TRACK_RELATIONS, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MIN_SCRUBBED_LENGTH, MIN_SESSIONS_PER_DEVICE_RANGE, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_SOURCE_LABELS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelBundleFileSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatPrecisionSchema, ModelFormatsSchema, ModelLicenseSchema, ModelOnDiskStateSchema, ModelPinChangeSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionTriggeredBySchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, BrokerInfoSchema$1 as MqttBrokerInfoSchema, 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, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_NOTIFY_FIELDS, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_DEFAULT_DELAYS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, 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_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, 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_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_RETIRED_CLEAR_KEYS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NODE_BENCHMARK_DEFAULTS, NODE_COLOR_IDS, NO_MEASURED_CAPACITY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcActionBindingSchema, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, NcAlarmConfigSchema, NcAlarmCreateProfileInputSchema, NcAlarmModeCoverageSchema, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, NcAlarmModeDeviceListSchema, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, NcAlarmPostTriggeredActionSchema, NcAlarmProfileIdInputSchema, NcAlarmProfileMetaSchema, NcAlarmProfilesViewSchema, NcAlarmRenameProfileInputSchema, NcAlarmSecureOnArmEditSchema, NcAlarmSecureOnArmOffSchema, NcAlarmSensorReadingSchema, NcAlarmSensorStateSchema, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcHookBindingsSchema, NcLegacyRuleActionSequenceSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSharedSequenceInputSchema, NcSharedSequenceSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcStateSummarySectionIdSchema, NcStateSummarySplitSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NodeBenchCellSchema, NodeBenchClipSchema, NodeBenchDeviceCellSchema, NodeBenchFingerprintSchema, NodeBenchLimitSchema, NodeBenchPipelineCellSchema, NodeBenchProgressSchema, NodeBenchRampStepSchema, NodeBenchRunnerInputSchema, NodeBenchRunnerStateSchema, NodeBenchRunnerStatusSchema, NodeBenchmarkCandidatesSchema, NodeBenchmarkDevicePlanSchema, NodeBenchmarkEndReasonSchema, NodeBenchmarkManifestSchema, NodeBenchmarkMovingCameraSchema, NodeBenchmarkPhaseSchema, NodeBenchmarkPlanSchema, NodeBenchmarkPreflightSchema, NodeBenchmarkRefusalKindSchema, NodeBenchmarkRefusalSchema, NodeBenchmarkResultSchema, NodeBenchmarkResultViewSchema, NodeBenchmarkRunSchema, NodeBenchmarkStateSchema, NodeBenchmarkStatusSchema, NodeBenchmarkStayingCameraSchema, NodeColorIdSchema, NodeDeviceChangeSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NodeRecommendationSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OWNER_ONLY_EVENT_CATEGORIES, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, OidcConnectionSchema, OidcConnectionUpdateInputSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdNamedTemplateSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, OsdTemplateBindingSchema, OsdTemplateFormatSchema, OsdTemplatePickSchema, OsdTemplateTokenKindSchema, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PENDING_BLOCK_ID, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PIPELINE_RAMP, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PUBLIC_ENDPOINT_HTTP_REASON, PYTHON_SCRIPT, PackageInstallationSchema, PackageInstallationsSchema, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelFormatStatusSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PlacementDeviceStatsSchema, PlacementNodeStatsSchema, PlacementStatsInputSchema, PlacementStatsSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProbeTargetConfigResultSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderJobStateSchema, ProviderJobStatusSchema, ProviderMotionDataSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECALL_TIE, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, REMOVED_MODEL_IDS, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESTORED_CAP_NAMES, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, REVALIDATE_AFTER_MS, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, ROOT_CHILD_CONTAINMENT_MIN, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, ROOT_SUPPLIABLE_STEP_IDS, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecommendationReasonSchema, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainArchiveResultSchema, RetrainArchiveTargetSchema, RetrainAssistProfileSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainBoxReviewSchema, RetrainCollectionCreateResultSchema, RetrainCollectionRenameResultSchema, RetrainCollectionSchema, RetrainCopyRefusalSchema, RetrainCorpusFilterSchema, RetrainCorpusKpiCameraRowSchema, RetrainCorpusKpiSchema, RetrainCorpusPageFrameSchema, RetrainCorpusPageSchema, RetrainDatasetSelectionSchema, RetrainDatasetStatsSchema, RetrainDatasetVersionSchema, RetrainDismissedSchema, RetrainExportFilterSchema, RetrainExportLayoutSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameOriginSchema, RetrainFrameReviewSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainFrameWorkStateSchema, RetrainLlmAssistResultSchema, RetrainLlmProposalSchema, RetrainLlmReviewSchema, RetrainMacroClassSchema, RetrainOriginSchema, RetrainPipelineBoxSchema, RetrainReviewStatusSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTrainingCorpusResolveResultSchema, RetrainTrainingCorpusSelectionSchema, RetrainTransitionResultSchema, RingBuffer, RootStepSupplySchema, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, 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, SECRET_CLEAR, SECRET_META, SECRET_REF_SCHEME, SENSOR_FEATURES, SENSOR_MAP, SESSION_PLACEMENT_SETTING_KEY, SHARE_SOURCE_SETTING_KEY, SHARE_VIEW_KINDS, SINGLE_HUB_ADDRESS_ROLES, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, SSO_STATE_COOKIE, SSO_STATE_COOKIE_MAX_AGE_SEC, STATE_LABELS, STATE_LABEL_KEYS, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SessionPlacementPolicySchema, SessionTriggerSchema, SetCameraSensorsInputSchema, SetLoggingSettingsInputSchema, SetShareSourceInputSchema, SetSiteLocationInputSchema, SetTrackPurityInputSchema, SetTrackPurityResultSchema, SetTrackRelationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShareSourceSchema, ShareWeightsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StaleDevicePinSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SuggestSharesInputSchema, SuggestSharesResultSchema, SuggestedDeviceShareSchema, SuggestedNodeShareSchema, SuppliedRootOutputSchema, SwitchStatusSchema, SystemHeldSecretNameSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRACK_RELATIONS_DEFAULT_LIMIT, TRAINING_JOB_SCHEMA, TRAINING_RESULT_SCHEMA, 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, TrackPuritySchema, TrackPurityValueSchema, TrackRelationKindSchema, TrackRelationRefusalSchema, TrackRelationSchema, TrackSchema, TrackSideSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainerSourceRefSchema, TrainingBaseModelSchema, TrainingCanarySchema, TrainingCatalogDraftSchema, TrainingCorpusSelectionSchema, TrainingCredentialCheckSchema, TrainingEvalClassSchema, TrainingEvalReportSchema, TrainingEventSchema, TrainingExportDeviceTotalsSchema, TrainingExportSchema, TrainingExportSummarySchema, TrainingFailureReasonSchema, TrainingGpuOptionSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobSpecSchema, TrainingJobStateSchema, TrainingLogLineSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingProviderDefaultsSchema, TrainingProviderDescriptorSchema, TrainingProviderEntrySchema, TrainingProviderTypeSchema, TrainingProviderUpdateEntryInputSchema, TrainingRefusalReasonSchema, TrainingRegionOptionSchema, TrainingResultFileSchema, TrainingResultSchema, TrainingSplitPlanSchema, TrainingStageSchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, 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_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperActivationReadSchema, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, acceleratorKindOf, accessoriesCapability, accessoryStableId, actionsForBoundCaps, actionsForDevice, actionsForDeviceType, actionsForDevices, activateAlarmProfile, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPanelCapability, alarmPatchLanded, alarmProfileById, alertsCapability, allDoActions, allowedSuppliedEffect, ambientLightSensorCapability, applyBlockingEdit, applyModeDelaysEdits, applyModeDeviceListEdit, applyModelBoundSettings, applyNonBlockingEdit, applySecureOnArmEdit, arrayItemFieldPath, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, assignNodeColorId, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildBenchStepTree, buildCapabilityLookup, buildDeviceAdminUrl, buildDoorbellCompositionFeature, buildEventKindDescriptor, buildFfmpegArgs, buildFrigateClassMap, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildSecretRef, buildStreamParamsConfigSchema, buildVideoArgs, buildViewerLink, builtCapabilityBlockers, buttonCapability, calendarSourceCapability, calendarsCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraOwnsMotionViaSensor, cameraPipelineConfigCapability, cameraSensorRefKey, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, canonicalizeAppCallback, capacitySessionsOf, carbonMonoxideCapability, cellsToRects, checkRoleAddress, classifyBearerPrincipal, classifyCamerasForBenchmark, classifyInferenceHardware, classifyRetrainReview, classifySecretWrite, classifyStream, classifyStreams, clearKnownSecrets, clearModelBoundOverrides, clearModelBoundSetting, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, cloneAlarmSettings, cloneStatefulExpressionMemory, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectKeychainStoredKeys, collectModelBoundKeys, collectSecretConfigKeys, collectSecretMarkerRefs, collectZodSecretPaths, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionFeatureEnabled, compositionFieldKey, compositionItemFieldPath, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, computeCapacityShares, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumableLowPercentOf, consumablesCapability, contactCapability, containingParentIndex, controlCapability, convertPresetFeature, convertUnit, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createAlarmProfile, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSecretsAccess, createSliceHandle, createStatefulExpressionMemory, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, databaseSnapshotCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, defineExtensionSlotProvider, deleteAlarmProfile, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveMaskSupplies, derivePostTriggeredAction, deriveRecordingMode, deriveRootFaceRefineRect, deriveRootSupplies, describeComposableCaps, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeRootSupplies, describeRootSupply, describeStateField, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceDoFamily, deviceExportCapability, deviceExtensionCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, diffStepSettings, disarmRoseMemory, displayIconEntry, displayIconsInGroup, doActionSelectValue, doorbellCapability, doorbellFeatureSources, droppedConditionsForKind, effectiveStepSettings, egressTranscodeSharingKey, egressTransportFromRequest, electByShare, eligibleUnderBenchmark, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, ensureAlarmProfiles, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, estimateNodeBenchmarkDurationMs, evaluateAst, evaluateCompositionField, evaluateCount, evaluateExpressionSource, evaluatePoolMemory, evaluateRose, evaluateSensorEdge, evaluateSensorLevelEdge, evaluateStatefulExpressionCall, evaluateZoneRules, event, eventEmitterCapability, eventKindLabel, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, exportSubjectOf, exposeBlockDevices, expressionContainsBuiltinCall, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureFieldEntries, featureProbeCapability, featureSources, feederCustomizationExample, feederExampleSources, ffmpegRate, fieldReads, fieldUnitKeys, fieldsPinnedAtValueBelow, filesystemBrowseCapability, findCandidateCycles, findCompositionCycles, findTimezone, floodCapability, foldSnapshotByFunction, forgetKnownSecret, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, formatSecretScope, freshResults, frigateDefaultClassFloors, frigateLabelFields, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, gifDeriveSpeed, gifFilterComplex, gifFromMp4Args, globalSecretScope, hasModelBoundOverrides, hasMotionTrigger, hasUrlScheme, hfModelUrl, htmlToText, hubAddressHostname, hubMotionNativeProvider, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferExpressionKinds, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, interpretStoredClusterModel, invalidClusterStepModelEntries, invertPresetFeature, invocationFromEncodeProfile, isAgentOnlyPlacement, isAlarmControllableCap, isAppLinkBase, isArrayOutputSchema, isAudioChunkFormat, isAudioClassName, isAudioLabelSelected, isAudioRule, isAutomaticShareSource, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDefaultAlarmProfileId, isDefaultAppConnectionEndpoint, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isDoActionActuatable, isDoPickerDeviceType, isEmbeddingModelFailed, isEvent, isEventKindLabelKey, isEventOwnerType, isFirstLevelMacroClass, isHeldBackTemplateVar, isIsolatedBuiltin, isKeychainStoredField, isKnownTemplateVar, isLabelSupplyStepId, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isOwnerOnlyEventCategory, isRemovedModelId, isRestoredCap, isRetiredClearKey, isRootSuppliableStepId, isSameAddonId, isScheduleActive, isSecretClear, isSecretConfigField, isSecretFieldView, isSecretMarker, isSecretMarkerLike, isSecretRef, isSingleHubAddressRole, isSoftwareDecode, isSourceCap, isStateLabelKey, isStatefulBuiltin, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventSummaryRule, isSystemRuleKind, isVectorIndexDimConflict, isVoidInput, isZodSecret, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, keychainAdminCapability, keychainCapability, kindOfValue, kindsForDiscriminator, knownSecretCount, knownValues, lawnMowerControlCapability, legacyAutoLinkIds, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, linkedLabelStepId, linkedStepOf, listBenchDetailSteps, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSecretMarker, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, matchDoAction, mayReadLocation, mayWriteToLocation, measuredCapacityFromResults, measuredDetectorCells, mediaPlayerCapability, memoizePinnedFfmpeg, mergeSecretStatePaths, mergeSettingsBags, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelBindingKey, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionSourceLabel, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, ncAlarmSystemDefaultSettings, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodeBenchmarkRefusals, nodePickerItems, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeCoreBlockWrite, normalizeNodeId, normalizeSecretOwner, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, oidcConnectionsCapability, optionalAncestors, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, packagePickerItems, parseAdminBase, parseAppAuthCallback, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRetrainRevisionConflict, parseRuleSection, parseSecretRef, parseSecretStatePath, parseSessionPlacementPolicy, parseShareSource, parseStreamParamsFormPatch, parseTrainingEventLine, patchAudio, petFeederCapability, pickAccessoryControl, pickAppLinkHub, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pickerForRuleClasses, pinUnderBenchmark, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, planCompositionEvents, planItems, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, providerMotionEvent, ptzAutotrackCapability, ptzCapability, publicEventCategories, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readHubMotionDetected, readHubMotionStatus, readMotionTriggeredBy, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readUseRootModel, readinessKey, rebootCapability, recommendNode, reconcileBlockDevices, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, registerKnownSecret, renameAlarmProfile, replacedFieldKeys, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAppConnections, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCoreBlockEntry, resolveCoreBlockFiles, resolveCreateExportSubject, resolveDeviceControlKind, resolveDeviceProfile, resolveDisplayIconKey, resolveEffectiveShares, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHubAddressRoles, resolveHydratedFieldValue, resolveInternalAddress, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveModeDelays, resolveModeNotifyPolicy, resolveModelBoundSetting, resolveMutate, resolveNotificationTapAddress, resolvePoolMemoryPolicy, resolvePublicEndpoint, resolveRecordingProfiles, resolveRootSupply, resolveRunnerId, resolveSecretMarkers, resolveSecretViewsIn, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, resultCellKey, resultStandings, retrainBoxIou, retrainRevisionConflictMessage, roleSpec, roomCompositionExample, rootSuppliesOf, rootSupplyServes, ruleAutoTriggersAlarm, ruleBelongsToAlarm, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleGatedOnArmedState, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sameDoFamily, sceneMonitorCapability, scheduleForSendTimes, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, scrubKnownSecrets, searchDisplayIcons, secretTreeFromPaths, secretTreeFromSchema, secureActuationFor, selectAppConnectionEndpoints, selectAssignedProfileSlots, sendTimesForEditor, sendTimesOfSchedule, sensorRaisedOf, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, setByPath, settingValuesEqual, settingsBelow, settingsStoreCapability, shortSecretRefHash, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateLabel, stateVocabularyFor, stepModelRunsOnFormat, stepSettingSource, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, summarizeReview, supplyFor, supportedRuntimes, switchCapability, switchedOffIds, syncActiveAlarmProfileSettings, synthesizeSourceInfo, systemCapability, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemEventSummarySplitOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toAppLinkHubOrigin, toDeviceSummary, toExpressionValue, toNodeId, toPercentShares, toSecretFieldView, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, trainingCapability, trainingProviderCapability, transcodeBody, transformSecretWrite, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, unreachableExtensionSlotRow, unwrapSchema, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateCustomAddress, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerLinkBaseOf, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withFieldFrom, withLocationMode, withoutField, writeModelBoundSetting, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
79930
+ export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPEARANCE_BIN_COUNT, APPEARANCE_BLOCKS, APPEARANCE_DESCRIPTOR_VERSION, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, APPLE_SA_TO_MACRO, APP_AUTH_CALLBACK_MAX_LENGTH, APP_AUTH_CALLBACK_URLS, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AUTOMATIC_HUB_ADDRESS_FLAGS, AUTO_SHARE_HEADROOM, AUTO_TUNE_FAMILY, AcceleratorKindSchema, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddRetrainFrameFromRecordingResultSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, 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, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchiveSqliteSnapshotSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, AutoTuneOptionsSchema, AutoTunePhaseResultSchema, AutoTunePlanSchema, AutoTuneWarningSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BENCH_ROOT_STEP_ID, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupArchiveEncryptionSchema, BackupDestinationInfoSchema, BackupEncryptionStatusSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerInfoSchema as UnifiedBrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BulkRecordSchema, CAMERA_SENSORS_NOT_LOADED, CAMERA_SENSORS_SETTINGS_KEY, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAMERA_TRIGGER, CAMSTACK_APP_LINK_ORIGIN, CAMSTACK_EVENT_PREFIX, 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, CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSED_ITEM_FIXED_FIELDS, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, COMPOSITION_EVENT_CATEGORY, COMPOSITION_ITEM_ARRAY_PATH, COMPOSITION_ITEM_KEY_RE, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, CUSTOMIZATION_BLOCK_NAME_PREFIX, CalendarColorSchema, CalendarEntrySchema, CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, CalendarSourceKindSchema, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionSourceSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraOverrideClearSchema, CameraOwnMotionSchema, CameraRawLevelSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSensorAttachmentSchema, CameraSensorEntrySchema, CameraSensorModeSchema, CameraSensorRefSchema, CameraSensorsConfigSchema, CameraSensorsNotEnforcedSchema, CameraSensorsNotForwardedSchema, CameraSensorsStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CapacityFallbackSchema, CapacitySourceSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClaimOutcomeSchema, ClaimsListingSchema, ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ComposableCapabilitiesSchema, ComposableCapabilitySchema, ComposableFieldSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionCustomizationReadSchema, CompositionEventPlanSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionFeatureModeSchema, CompositionFeaturePlanSchema, CompositionFeatureSchema, CompositionFieldItemSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionItemEntrySchema, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumableRemainingSchema, ConsumableRemainingUnitSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, CoreBlockFilesSchema, CoreBlockInputFieldsSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, DATAPLANE_SECRET_HEADER, DATA_STORE_DATABASES, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CAMERA_FPS, DEFAULT_CAMERA_SENSOR_MODE, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_CORE_BLOCK_ENTRY, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_HEADROOM, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_MIN_SESSIONS_PER_DEVICE, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SESSION_PLACEMENT_POLICY, DEFAULT_SHARE_SOURCE, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DETECTOR_ACCURACY, DETECTOR_PERF, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_DO_ACTIONS, DEVICE_PROFILES, DEVICE_RAMP, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_DO_CAPS, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, DOORBELL_RISE_DEBOUNCE_MS, DataStoreDatabaseSchema, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotRequestSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DatabaseSnapshotWrittenSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclareCollectionInputSchema, DeclaredDevices, DecodedAudioChunkSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DetectorStoreClearSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceModelChoiceSchema, DeviceNetworkStatsSchema, DeviceRecommendationSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_KIND_LABELS, EVENT_KIND_LABEL_KEYS, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveDeviceShareSchema, EffectiveNodeShareSchema, EffectiveSharesSchema, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, FEEDER_EXAMPLE_ADDON_ID, FEEDER_EXAMPLE_HA_DEVICE_ID, FFMPEG_PATH_ENV, FIRST_LEVEL_MACRO_CLASSES, FRIGATE_PLUS_CLASS_FLOORS, FRIGATE_PLUS_TO_MACRO, FRIGATE_PLUS_UNMAPPED_LABELS, FRIGATE_STOCK_CLASS_FLOORS, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FieldClaimModeSchema, FieldClaimSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HUB_ADDRESS_ROLES, HUB_MDNS_QUERY_NAME, HUB_MDNS_ROLE, HUB_MDNS_SERVICE_TYPE, HUB_MDNS_TXT_KEYS, HUB_VIEWER_MOUNT, HWACCEL_OPTIONS, HardwareClassIdSchema, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HubAddressRoleSchema, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, INVERTIBLE_CAPS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, ImportModelBundleInputSchema, ImportModelBundleResultSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KEYCHAIN_MAX_REFS_PER_CALL, KEYCHAIN_RESET_CONFIRMATION, KEYCHAIN_RESET_TRIGGER_ACTOR, KNOWN_CAP_NAMES, KeptReasonSchema, KeyEventSchema, KeychainAdminSecretSchema, KeychainAuditActionSchema, KeychainAuditEntrySchema, KeychainKeySourceKindSchema, KeychainKeySourceSchema, KeychainResetRecordSchema, KeychainResolveEntrySchema, KeychainResolveResultSchema, KeychainSecretMetaSchema, KeychainSecretUsageSchema, KeychainStateSchema, KeychainStatusSchema, KeychainUnavailableReasonSchema, KeychainWriteRefusedError, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, LEGACY_READ_ONLY_CONFIG_KEY, LINKED_DEVICES_SLOT, LINKED_LABEL_STEP_PREFIX, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LatencySourceSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, ListNodeBenchmarkResultsInputSchema, ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, LiveViewerCountSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadBalancingSharesInputSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CAMERA_SENSORS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_COMPOSITION_ITEMS, 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_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MAX_TRACK_PURITIES, MAX_TRACK_RELATIONS, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MIN_SCRUBBED_LENGTH, MIN_SESSIONS_PER_DEVICE_RANGE, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_SOURCE_LABELS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelBundleFileSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatPrecisionSchema, ModelFormatsSchema, ModelLicenseSchema, ModelOnDiskStateSchema, ModelPinChangeSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionTriggeredBySchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, BrokerInfoSchema$1 as MqttBrokerInfoSchema, 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, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_NOTIFY_FIELDS, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_DEFAULT_DELAYS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, 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_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, 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_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_RETIRED_CLEAR_KEYS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NODE_BENCHMARK_DEFAULTS, NODE_COLOR_IDS, NO_MEASURED_CAPACITY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcActionBindingSchema, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, NcAlarmConfigSchema, NcAlarmCreateProfileInputSchema, NcAlarmModeCoverageSchema, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, NcAlarmModeDeviceListSchema, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, NcAlarmPostTriggeredActionSchema, NcAlarmProfileIdInputSchema, NcAlarmProfileMetaSchema, NcAlarmProfilesViewSchema, NcAlarmRenameProfileInputSchema, NcAlarmSecureOnArmEditSchema, NcAlarmSecureOnArmOffSchema, NcAlarmSensorReadingSchema, NcAlarmSensorStateSchema, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcHookBindingsSchema, NcLegacyRuleActionSequenceSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSharedSequenceInputSchema, NcSharedSequenceSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcStateSummarySectionIdSchema, NcStateSummarySplitSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NodeBenchCellSchema, NodeBenchClipSchema, NodeBenchDeviceCellSchema, NodeBenchFingerprintSchema, NodeBenchLimitSchema, NodeBenchPipelineCellSchema, NodeBenchProgressSchema, NodeBenchRampStepSchema, NodeBenchRunnerInputSchema, NodeBenchRunnerStateSchema, NodeBenchRunnerStatusSchema, NodeBenchmarkCandidatesSchema, NodeBenchmarkDevicePlanSchema, NodeBenchmarkEndReasonSchema, NodeBenchmarkManifestSchema, NodeBenchmarkMovingCameraSchema, NodeBenchmarkPhaseSchema, NodeBenchmarkPlanSchema, NodeBenchmarkPreflightSchema, NodeBenchmarkRefusalKindSchema, NodeBenchmarkRefusalSchema, NodeBenchmarkResultSchema, NodeBenchmarkResultViewSchema, NodeBenchmarkRunSchema, NodeBenchmarkStateSchema, NodeBenchmarkStatusSchema, NodeBenchmarkStayingCameraSchema, NodeColorIdSchema, NodeDeviceChangeSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NodeRecommendationSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OWNER_ONLY_EVENT_CATEGORIES, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, OidcConnectionSchema, OidcConnectionUpdateInputSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdNamedTemplateSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, OsdTemplateBindingSchema, OsdTemplateFormatSchema, OsdTemplatePickSchema, OsdTemplateTokenKindSchema, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PENDING_BLOCK_ID, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PIPELINE_RAMP, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PUBLIC_ENDPOINT_HTTP_REASON, PYTHON_SCRIPT, PackageInstallationSchema, PackageInstallationsSchema, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelFormatStatusSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PlacementDeviceStatsSchema, PlacementNodeStatsSchema, PlacementStatsInputSchema, PlacementStatsSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProbeTargetConfigResultSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderJobStateSchema, ProviderJobStatusSchema, ProviderMotionDataSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECALL_TIE, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, REMOVED_MODEL_IDS, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESTORED_CAP_NAMES, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, REVALIDATE_AFTER_MS, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, ROOT_CHILD_CONTAINMENT_MIN, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, ROOT_SUPPLIABLE_STEP_IDS, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecommendationReasonSchema, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainArchiveResultSchema, RetrainArchiveTargetSchema, RetrainAssistProfileSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainBoxReviewSchema, RetrainCollectionCreateResultSchema, RetrainCollectionRenameResultSchema, RetrainCollectionSchema, RetrainCopyRefusalSchema, RetrainCorpusFilterSchema, RetrainCorpusKpiCameraRowSchema, RetrainCorpusKpiSchema, RetrainCorpusPageFrameSchema, RetrainCorpusPageSchema, RetrainDatasetSelectionSchema, RetrainDatasetStatsSchema, RetrainDatasetVersionSchema, RetrainDismissedSchema, RetrainExportFilterSchema, RetrainExportLayoutSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameOriginSchema, RetrainFrameReviewSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainFrameWorkStateSchema, RetrainLlmAssistResultSchema, RetrainLlmProposalSchema, RetrainLlmReviewSchema, RetrainMacroClassSchema, RetrainOriginSchema, RetrainPipelineBoxSchema, RetrainReviewStatusSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTrainingCorpusResolveResultSchema, RetrainTrainingCorpusSelectionSchema, RetrainTransitionResultSchema, RingBuffer, RootStepSupplySchema, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, 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, SECRET_CLEAR, SECRET_META, SECRET_REF_SCHEME, SENSOR_FEATURES, SENSOR_MAP, SESSION_PLACEMENT_SETTING_KEY, SHARE_SOURCE_SETTING_KEY, SHARE_VIEW_KINDS, SINGLE_HUB_ADDRESS_ROLES, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, SSO_STATE_COOKIE, SSO_STATE_COOKIE_MAX_AGE_SEC, STATE_LABELS, STATE_LABEL_KEYS, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SessionPlacementPolicySchema, SessionTriggerSchema, SetCameraSensorsInputSchema, SetLoggingSettingsInputSchema, SetShareSourceInputSchema, SetSiteLocationInputSchema, SetTrackPurityInputSchema, SetTrackPurityResultSchema, SetTrackRelationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShareSourceSchema, ShareWeightsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StaleDevicePinSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SuggestSharesInputSchema, SuggestSharesResultSchema, SuggestedDeviceShareSchema, SuggestedNodeShareSchema, SuppliedRootOutputSchema, SwitchStatusSchema, SystemHeldSecretNameSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRACK_RELATIONS_DEFAULT_LIMIT, TRAINING_JOB_SCHEMA, TRAINING_RESULT_SCHEMA, 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, TrackPuritySchema, TrackPurityValueSchema, TrackRelationKindSchema, TrackRelationRefusalSchema, TrackRelationSchema, TrackSchema, TrackSideSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainerSourceRefSchema, TrainingBaseModelSchema, TrainingCanarySchema, TrainingCatalogDraftSchema, TrainingCorpusSelectionSchema, TrainingCredentialCheckSchema, TrainingEvalClassSchema, TrainingEvalReportSchema, TrainingEventSchema, TrainingExportDeviceTotalsSchema, TrainingExportSchema, TrainingExportSummarySchema, TrainingFailureReasonSchema, TrainingGpuOptionSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobSpecSchema, TrainingJobStateSchema, TrainingLogLineSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingProviderDefaultsSchema, TrainingProviderDescriptorSchema, TrainingProviderEntrySchema, TrainingProviderTypeSchema, TrainingProviderUpdateEntryInputSchema, TrainingRefusalReasonSchema, TrainingRegionOptionSchema, TrainingResultFileSchema, TrainingResultSchema, TrainingSplitPlanSchema, TrainingStageSchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, 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_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperActivationReadSchema, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, acceleratorKindOf, accessoriesCapability, accessoryStableId, actionsForBoundCaps, actionsForDevice, actionsForDeviceType, actionsForDevices, activateAlarmProfile, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPanelCapability, alarmPatchLanded, alarmProfileById, alertsCapability, allDoActions, allowedSuppliedEffect, ambientLightSensorCapability, applyBlockingEdit, applyModeDelaysEdits, applyModeDeviceListEdit, applyModelBoundSettings, applyNonBlockingEdit, applySecureOnArmEdit, arrayItemFieldPath, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, assignNodeColorId, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildBenchStepTree, buildCapabilityLookup, buildDeviceAdminUrl, buildDoorbellCompositionFeature, buildEventKindDescriptor, buildFfmpegArgs, buildFrigateClassMap, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildSecretRef, buildStreamParamsConfigSchema, buildVideoArgs, buildViewerLink, builtCapabilityBlockers, buttonCapability, calendarEventLocalSpan, calendarEventOnLocalDay, calendarSourceCapability, calendarsCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraOwnsMotionViaSensor, cameraPipelineConfigCapability, cameraSensorRefKey, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, canonicalizeAppCallback, capacitySessionsOf, carbonMonoxideCapability, cellsToRects, checkRoleAddress, classifyBearerPrincipal, classifyCamerasForBenchmark, classifyInferenceHardware, classifyRetrainReview, classifySecretWrite, classifyStream, classifyStreams, clearKnownSecrets, clearModelBoundOverrides, clearModelBoundSetting, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, cloneAlarmSettings, cloneStatefulExpressionMemory, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectKeychainStoredKeys, collectModelBoundKeys, collectSecretConfigKeys, collectSecretMarkerRefs, collectZodSecretPaths, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionFeatureEnabled, compositionFieldKey, compositionItemFieldPath, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, computeCapacityShares, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumableLowPercentOf, consumablesCapability, contactCapability, containingParentIndex, controlCapability, convertPresetFeature, convertUnit, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createAlarmProfile, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSecretsAccess, createSliceHandle, createStatefulExpressionMemory, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, databaseSnapshotCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, defineExtensionSlotProvider, deleteAlarmProfile, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveMaskSupplies, derivePostTriggeredAction, deriveRecordingMode, deriveRootFaceRefineRect, deriveRootSupplies, describeComposableCaps, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeRootSupplies, describeRootSupply, describeStateField, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceDoFamily, deviceExportCapability, deviceExtensionCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, diffStepSettings, disarmRoseMemory, displayIconEntry, displayIconsInGroup, doActionSelectValue, doorbellCapability, doorbellFeatureSources, droppedConditionsForKind, effectiveStepSettings, egressTranscodeSharingKey, egressTransportFromRequest, electByShare, eligibleUnderBenchmark, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, ensureAlarmProfiles, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, estimateNodeBenchmarkDurationMs, evaluateAst, evaluateCompositionField, evaluateCount, evaluateExpressionSource, evaluatePoolMemory, evaluateRose, evaluateSensorEdge, evaluateSensorLevelEdge, evaluateStatefulExpressionCall, evaluateZoneRules, event, eventEmitterCapability, eventKindLabel, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, exportSubjectOf, exposeBlockDevices, expressionContainsBuiltinCall, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureFieldEntries, featureProbeCapability, featureSources, feederCustomizationExample, feederExampleSources, ffmpegRate, fieldReads, fieldUnitKeys, fieldsPinnedAtValueBelow, filesystemBrowseCapability, findCandidateCycles, findCompositionCycles, findTimezone, floodCapability, foldSnapshotByFunction, forgetKnownSecret, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, formatSecretScope, freshResults, frigateDefaultClassFloors, frigateLabelFields, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, gifDeriveSpeed, gifFilterComplex, gifFromMp4Args, globalSecretScope, hasModelBoundOverrides, hasMotionTrigger, hasUrlScheme, hfModelUrl, htmlToText, hubAddressHostname, hubMotionNativeProvider, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferExpressionKinds, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, interpretStoredClusterModel, invalidClusterStepModelEntries, invertPresetFeature, invocationFromEncodeProfile, isAgentOnlyPlacement, isAlarmControllableCap, isAppLinkBase, isArrayOutputSchema, isAudioChunkFormat, isAudioClassName, isAudioLabelSelected, isAudioRule, isAutomaticShareSource, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDefaultAlarmProfileId, isDefaultAppConnectionEndpoint, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isDoActionActuatable, isDoPickerDeviceType, isEmbeddingModelFailed, isEvent, isEventKindLabelKey, isEventOwnerType, isFirstLevelMacroClass, isHeldBackTemplateVar, isIsolatedBuiltin, isKeychainStoredField, isKnownTemplateVar, isLabelSupplyStepId, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isOwnerOnlyEventCategory, isRemovedModelId, isRestoredCap, isRetiredClearKey, isRootSuppliableStepId, isSameAddonId, isScheduleActive, isSecretClear, isSecretConfigField, isSecretFieldView, isSecretMarker, isSecretMarkerLike, isSecretRef, isSingleHubAddressRole, isSoftwareDecode, isSourceCap, isStateLabelKey, isStatefulBuiltin, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventSummaryRule, isSystemRuleKind, isVectorIndexDimConflict, isVoidInput, isZodSecret, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, keychainAdminCapability, keychainCapability, kindOfValue, kindsForDiscriminator, knownSecretCount, knownValues, lawnMowerControlCapability, legacyAutoLinkIds, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, linkedLabelStepId, linkedStepOf, listBenchDetailSteps, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSecretMarker, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, matchDoAction, mayReadLocation, mayWriteToLocation, measuredCapacityFromResults, measuredDetectorCells, mediaPlayerCapability, memoizePinnedFfmpeg, mergeSecretStatePaths, mergeSettingsBags, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelBindingKey, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionSourceLabel, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, ncAlarmSystemDefaultSettings, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodeBenchmarkRefusals, nodePickerItems, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeCoreBlockWrite, normalizeNodeId, normalizeSecretOwner, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, oidcConnectionsCapability, optionalAncestors, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, packagePickerItems, parseAdminBase, parseAppAuthCallback, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRetrainRevisionConflict, parseRuleSection, parseSecretRef, parseSecretStatePath, parseSessionPlacementPolicy, parseShareSource, parseStreamParamsFormPatch, parseTrainingEventLine, patchAudio, petFeederCapability, pickAccessoryControl, pickAppLinkHub, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pickerForRuleClasses, pinUnderBenchmark, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, planCompositionEvents, planItems, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, providerMotionEvent, ptzAutotrackCapability, ptzCapability, publicEventCategories, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readHubMotionDetected, readHubMotionStatus, readMotionTriggeredBy, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readUseRootModel, readinessKey, rebootCapability, recommendNode, reconcileBlockDevices, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, registerKnownSecret, renameAlarmProfile, replacedFieldKeys, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAppConnections, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCoreBlockEntry, resolveCoreBlockFiles, resolveCreateExportSubject, resolveDeviceControlKind, resolveDeviceProfile, resolveDisplayIconKey, resolveEffectiveShares, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHubAddressRoles, resolveHydratedFieldValue, resolveInternalAddress, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveModeDelays, resolveModeNotifyPolicy, resolveModelBoundSetting, resolveMutate, resolveNotificationTapAddress, resolvePoolMemoryPolicy, resolvePublicEndpoint, resolveRecordingProfiles, resolveRootSupply, resolveRunnerId, resolveSecretMarkers, resolveSecretViewsIn, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, resultCellKey, resultStandings, retrainBoxIou, retrainRevisionConflictMessage, roleSpec, roomCompositionExample, rootSuppliesOf, rootSupplyServes, ruleAutoTriggersAlarm, ruleBelongsToAlarm, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleGatedOnArmedState, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sameDoFamily, sceneMonitorCapability, scheduleForSendTimes, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, scrubKnownSecrets, searchDisplayIcons, secretTreeFromPaths, secretTreeFromSchema, secureActuationFor, selectAppConnectionEndpoints, selectAssignedProfileSlots, sendTimesForEditor, sendTimesOfSchedule, sensorRaisedOf, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, setByPath, settingValuesEqual, settingsBelow, settingsStoreCapability, shortSecretRefHash, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateLabel, stateVocabularyFor, stepModelRunsOnFormat, stepSettingSource, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, summarizeReview, supplyFor, supportedRuntimes, switchCapability, switchedOffIds, syncActiveAlarmProfileSettings, synthesizeSourceInfo, systemCapability, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemEventSummarySplitOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toAppLinkHubOrigin, toDeviceSummary, toExpressionValue, toNodeId, toPercentShares, toSecretFieldView, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, trainingCapability, trainingProviderCapability, transcodeBody, transformSecretWrite, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, unreachableExtensionSlotRow, unwrapSchema, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateCustomAddress, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerLinkBaseOf, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withFieldFrom, withLocationMode, withoutField, writeModelBoundSetting, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };