@camstack/types 1.2.360 → 1.2.362

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"
@@ -8930,7 +9526,8 @@ var backupCapability = {
8930
9526
  enabled: z.boolean(),
8931
9527
  locationIds: z.array(z.string()).readonly(),
8932
9528
  retentionCount: z.number().int().min(1).max(1e3),
8933
- dataSources: z.array(z.string()).readonly().optional()
9529
+ dataSources: z.array(z.string()).readonly().optional(),
9530
+ databases: z.array(DataStoreDatabaseSchema).readonly().optional()
8934
9531
  }), BackupScheduleSchema, {
8935
9532
  kind: "mutation",
8936
9533
  auth: "admin"
@@ -12304,780 +12901,279 @@ var CoreBlockCompileResultSchema = z.object({
12304
12901
  * Compile input: legacy single-file `{ code }`, or a multi-file project.
12305
12902
  * When `files` is present, it wins over `code`.
12306
12903
  */
12307
- var CoreBlockCompileInputSchema = z.object({
12308
- code: z.string().optional(),
12309
- files: CoreBlockFilesSchema.optional(),
12310
- entry: z.string().min(1).max(260).optional()
12311
- }).superRefine((val, ctx) => {
12312
- if (val.files !== void 0) {
12313
- const entry = val.entry ?? "main.ts";
12314
- if (val.files[entry] === void 0) ctx.addIssue({
12315
- code: "custom",
12316
- message: `files must include the entry "${entry}"`,
12317
- path: ["files"]
12318
- });
12319
- return;
12320
- }
12321
- 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
- * One write inside a {@link settingsStoreCapability.methods.transact} call.
12669
- * Only the three that a "replace this set, bump that revision" write needs.
12670
- */
12671
- var TransactOpSchema = z.discriminatedUnion("op", [
12672
- z.object({
12673
- op: z.literal("deleteWhere"),
12674
- collection: z.string(),
12675
- filter: MutationFilterSchema
12676
- }),
12677
- z.object({
12678
- op: z.literal("insertMany"),
12679
- collection: z.string(),
12680
- records: z.array(BulkRecordSchema).readonly()
12681
- }),
12682
- z.object({
12683
- op: z.literal("update"),
12684
- collection: z.string(),
12685
- id: z.string(),
12686
- data: z.record(z.string(), z.unknown())
12687
- })
12688
- ]);
12689
- /**
12690
- * The precondition of a transaction: the row `key` of `collection` must hold
12691
- * `equals` in `column`, read INSIDE the transaction.
12692
- */
12693
- var TransactGuardSchema = z.object({
12694
- collection: z.string(),
12695
- key: z.string(),
12696
- column: z.string(),
12697
- equals: z.unknown()
12698
- });
12699
- /**
12700
- * Column declaration for a structured (SQL-backed) collection.
12701
- *
12702
- * Logical types — the backend translates each to the matching SQLite
12703
- * storage class and handles per-type marshaling:
12704
- * - `TEXT` / `INTEGER` / `REAL` — native SQLite types, pass-through
12705
- * - `JSON` — TEXT under the hood; serialised on write, parsed on read
12706
- * - `BOOLEAN` — INTEGER 0/1 under the hood; coerced both directions
12707
- */
12708
- var CollectionColumnSchema = z.object({
12709
- name: z.string(),
12710
- type: z.enum([
12711
- "TEXT",
12712
- "INTEGER",
12713
- "REAL",
12714
- "JSON",
12715
- "BOOLEAN"
12716
- ]),
12717
- primaryKey: z.boolean().optional(),
12718
- notNull: z.boolean().optional(),
12719
- unique: z.boolean().optional(),
12720
- /**
12721
- * Column DEFAULT. Required for B2: the four `ensureTable` consumers declare
12722
- * columns like `enabled INTEGER NOT NULL DEFAULT 1`, and without this the
12723
- * collection surface simply cannot express their existing tables — which is
12724
- * why they were still on the uncapped `table*` API.
12725
- */
12726
- defaultValue: z.union([
12727
- z.string(),
12728
- z.number(),
12729
- z.boolean()
12730
- ]).optional()
12731
- });
12732
- var CollectionIndexSchema = z.object({
12733
- name: z.string(),
12734
- columns: z.array(z.string()).readonly(),
12735
- unique: z.boolean().optional()
12736
- });
12737
- /**
12738
- * settings-store — singleton capability for addon-scoped persistence.
12739
- *
12740
- * Every method operates within a `collection`. An optional `namespace`
12741
- * field provides access to additional data spaces beyond the default
12742
- * addon settings — useful for business data (events, tracks, faces, etc.).
12743
- *
12744
- * **Scoping is the CALLER's, and it is opt-in.** The table is
12745
- * `namespace ? `${namespace}:${collection}` : collection` — nothing
12746
- * consults the identity of the caller. An earlier version of this comment
12747
- * claimed the implementation prefixes every collection with the calling
12748
- * addon's ID and that "addons never see each other's data"; that was never
12749
- * true, and this same file contradicted it under `declareCollection`. What
12750
- * exists is `addon-context-factory`, which passes `namespace: addonId` ON
12751
- * THE ADDON'S BEHALF for the `addon-settings` / `addon-devices` paths only.
12752
- * Business collections use bare names, and any caller may name any
12753
- * namespace, or none. Making the door enforce it is tracked separately —
12754
- * it renames tables, so it needs a migration.
12755
- *
12756
- * **So every method is `auth: 'admin'` (D634).** Because nothing scopes a
12757
- * call to its caller, a `protected` method here was a raw, unredacted read
12758
- * (and write) of every addon's collections for any role holding
12759
- * `category:system` — which is every role: a `viewer` could read every
12760
- * notifier token in plaintext from `notifiers:notification-targets`. No
12761
- * browser or app client calls this cap. Addons are not affected: an
12762
- * addon's `ctx.api` cap call is resolved to the provider directly and never
12763
- * enters the tRPC router (so the tier gates sessions and tokens, never
12764
- * addons), and the hub itself calls it through the capability registry.
12765
- *
12766
- * - `{ collection: 'addon-settings' }` → table `addon-settings`
12767
- * - `{ namespace: 'my-addon', collection: 'addon-settings' }` →
12768
- * table `my-addon:addon-settings`
12769
- *
12770
- * Served by the **storage-orchestrator** builtin, which dispatches to the
12771
- * `data-store-provider` engine registered for the collection
12772
- * (`sqlite-settings`, a SQLite WAL backend, today). One addon owns the
12773
- * data door; engines sit behind it
12774
- * ([D44](../../../../docs/decisions/adr-0044.md)).
12775
- * Addons access it via `ctx.api.settingsStore.*`.
12776
- */
12777
- var settingsStoreCapability = {
12778
- name: "settings-store",
12904
+ var CoreBlockCompileInputSchema = z.object({
12905
+ code: z.string().optional(),
12906
+ files: CoreBlockFilesSchema.optional(),
12907
+ entry: z.string().min(1).max(260).optional()
12908
+ }).superRefine((val, ctx) => {
12909
+ if (val.files !== void 0) {
12910
+ const entry = val.entry ?? "main.ts";
12911
+ if (val.files[entry] === void 0) ctx.addIssue({
12912
+ code: "custom",
12913
+ message: `files must include the entry "${entry}"`,
12914
+ path: ["files"]
12915
+ });
12916
+ return;
12917
+ }
12918
+ if (val.code === void 0) ctx.addIssue({
12919
+ code: "custom",
12920
+ message: "code or files is required",
12921
+ path: ["code"]
12922
+ });
12923
+ });
12924
+ var coreBlocksCapability = {
12925
+ name: "core-blocks",
12779
12926
  scope: "system",
12780
12927
  mode: "singleton",
12781
12928
  methods: {
12782
- /** Get a single value by key from a collection. */
12783
- get: method(z.object({
12784
- namespace: z.string().optional(),
12785
- collection: z.string(),
12786
- key: z.string()
12787
- }), z.unknown(), { auth: "admin" }),
12788
- /** Set a value by key in a collection (upsert). */
12789
- set: method(z.object({
12790
- namespace: z.string().optional(),
12791
- collection: z.string(),
12792
- key: z.string(),
12793
- value: z.unknown()
12794
- }), z.void(), {
12795
- kind: "mutation",
12796
- auth: "admin"
12797
- }),
12798
- /**
12799
- * Rows matching a filter.
12800
- *
12801
- * `columns` is a SQL-level projection: the engine SELECTs only those
12802
- * columns (plus the primary key) instead of the whole row. It is the only
12803
- * way to stop paying disk for a column that is discarded — a heavy JSON
12804
- * column dominates the row, and dropping it in JS after the read pays every
12805
- * byte first. Measured on the live `pipeline-analytics:tracks` table: a
12806
- * 501-row page is 4.6 MB whole and 0.11 MB projected, same index, same
12807
- * plan.
12808
- *
12809
- * The engine REFUSES a column it cannot serve rather than omitting it —
12810
- * see `SettingsQueryInput.columns` for why a projection may not be
12811
- * forgiving the way a predicate is.
12812
- */
12813
- query: method(z.object({
12814
- namespace: z.string().optional(),
12815
- collection: z.string(),
12816
- filter: QueryFilterSchema.optional(),
12817
- columns: z.array(z.string()).readonly().optional()
12818
- }), z.array(SettingsRecordSchema).readonly(), { auth: "admin" }),
12929
+ list: method(z.object({}), z.object({ blocks: z.array(CoreBlockSchema) }), { auth: "admin" }),
12930
+ get: method(z.object({ blockId: z.string() }), z.object({ block: CoreBlockSchema.nullable() }), { auth: "admin" }),
12819
12931
  /**
12820
- * Make a SLOT hold this row — insert it, or update whatever already
12821
- * occupies the slot — and answer with the id the row HAS.
12822
- *
12823
- * ## Why the store needed this
12824
- *
12825
- * {@link set} is already an upsert, but its slot is the PRIMARY KEY: the
12826
- * caller has to know the id to address the row. That is exactly what a
12827
- * collection keyed by an `INTEGER` rowid alias cannot do — SQLite assigns
12828
- * the id, so a writer whose uniqueness rule is "one row per
12829
- * `(ownerKind, ownerId, kind, slot)`" has no id to name and no way to
12830
- * express the rule. {@link insert} can express it (a UNIQUE index
12831
- * arbitrates) but only by THROWING at the loser of a race, and the loser
12832
- * here is a legitimate re-capture, not an error.
12833
- *
12834
- * Getting there without this method means read-then-write: query the slot,
12835
- * then `insert` or `update`. Two statements instead of one, a race between
12836
- * them, and a recovery path that has to recognise a UNIQUE violation by its
12837
- * MESSAGE — across a process boundary, because the store lives behind an
12838
- * RPC door. A string match would be the whole gate, and a store that
12839
- * rephrased its error would lose the row silently. One statement has no
12840
- * such gate (D482).
12841
- *
12842
- * ## The contract
12843
- *
12844
- * `conflict` names the DECLARED columns that identify the slot. They must
12845
- * be covered by a UNIQUE index on the collection — SQLite resolves an
12846
- * `ON CONFLICT` target against its indexes and REFUSES the statement when
12847
- * none matches, so a wrong list is a loud error on the first write, never a
12848
- * silently duplicated row. An empty list is refused rather than passed on:
12849
- * `ON CONFLICT()` is not valid SQL, and the intent it would most likely
12850
- * encode ("no slot, just insert") is {@link insert}.
12851
- *
12852
- * Row shape is {@link insert}'s: `record.id` is used when the collection
12853
- * needs a supplied key and IGNORED when the primary key is an `INTEGER`
12854
- * rowid alias — exactly as `insert` and `insertMany` already treat it.
12855
- *
12856
- * Returns the id either way: the one SQLite assigned on an insert, or the
12857
- * one the row it updated already had. A caller cannot tell which happened,
12858
- * and deliberately — every caller wants the slot's id, and one that needed
12859
- * to distinguish creation from replacement would have to read first anyway.
12932
+ * Create a block. The code is COMPILED first: storing source that does not
12933
+ * compile turns an editor error into a fork failure the operator meets
12934
+ * minutes later in a log.
12860
12935
  */
12861
- upsert: method(z.object({
12862
- namespace: z.string().optional(),
12863
- collection: z.string(),
12864
- /** Declared columns identifying the slot; must be covered by a UNIQUE
12865
- * index on the collection. Never empty. */
12866
- conflict: z.array(z.string()).readonly(),
12867
- record: BulkRecordSchema
12868
- }), z.object({
12869
- /** The id the row HAS: assigned by SQLite on an insert, or the existing
12870
- * row's own id on an update. */
12871
- id: z.union([z.string(), z.number()]) }), {
12936
+ create: method(z.object({ block: CoreBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
12872
12937
  kind: "mutation",
12873
- auth: "admin"
12938
+ auth: "admin",
12939
+ caller: "required"
12874
12940
  }),
12875
- /** Insert a new record. */
12876
- insert: method(z.object({
12877
- namespace: z.string().optional(),
12878
- collection: z.string(),
12879
- record: z.object({
12880
- id: z.string().optional(),
12881
- data: z.record(z.string(), z.unknown())
12882
- })
12883
- }), z.object({
12884
- /**
12885
- * The id the row ACTUALLY got (D473): the one supplied, the UUID minted
12886
- * for an absent one, or the ROWID SQLite assigned on an `INTEGER`
12887
- * primary key — which is the only place an auto key is knowable.
12888
- */
12889
- id: z.union([z.string(), z.number()]) }), {
12941
+ update: method(z.object({
12942
+ blockId: z.string(),
12943
+ block: CoreBlockInputFieldsSchema.partial()
12944
+ }), z.object({ block: CoreBlockSchema }), {
12945
+ kind: "mutation",
12946
+ auth: "admin",
12947
+ caller: "required"
12948
+ }),
12949
+ delete: method(z.object({ blockId: z.string() }), z.object({ success: z.literal(true) }), {
12890
12950
  kind: "mutation",
12891
12951
  auth: "admin"
12892
12952
  }),
12893
- /**
12894
- * Insert MANY records in ONE transaction, returning how many landed.
12895
- *
12896
- * The write-side twin of {@link deleteWhere}, and it exists for the same
12897
- * reason: without it, appending a batch is N round trips and N COMMITs on
12898
- * the single shared connection that also serves every cluster-wide
12899
- * configuration read. The durable load series writes one process row per
12900
- * process per sample — 76 rows every 10 s on the live fleet — and the
12901
- * operator's rule for it is *one transaction per sample, never one per
12902
- * row*. `insert` cannot express that; nothing else could.
12903
- *
12904
- * **All or nothing.** A batch that fails on its fifth row leaves none of
12905
- * the five behind. A half-written sample is worse than a missing one: the
12906
- * missing one reads as "nobody reported", which is true, while the half
12907
- * one reads as "these were the only processes running", which is not.
12908
- *
12909
- * `id` is OPTIONAL per record, and that is the difference from
12910
- * {@link insert}. A collection whose primary key is an `INTEGER` rowid
12911
- * alias has no id to supply — SQLite assigns it, for free, and inventing a
12912
- * `randomUUID()` for such a column would write a 36-character string into
12913
- * an integer key. Omitted on a TEXT key, a uuid is generated exactly as
12914
- * `insert` does.
12915
- */
12916
- insertMany: method(z.object({
12917
- namespace: z.string().optional(),
12918
- collection: z.string(),
12919
- records: z.array(BulkRecordSchema).readonly()
12920
- }), z.object({ inserted: z.number().int() }), {
12953
+ setEnabled: method(z.object({
12954
+ blockId: z.string(),
12955
+ enabled: z.boolean()
12956
+ }), z.object({ block: CoreBlockSchema }), {
12921
12957
  kind: "mutation",
12922
12958
  auth: "admin"
12923
12959
  }),
12924
12960
  /**
12925
- * Several writes, ONE transaction, behind an optional precondition.
12926
- *
12927
- * The multi-collection twin of {@link insertMany}: a write that has to move
12928
- * a set of rows in one collection AND a revision in another cannot be
12929
- * expressed as separate calls without a window in which a reader (or a
12930
- * crash) sees half of it. The retrain annotation save replaces a frame's
12931
- * rows, its dismissed set and its revision this way.
12961
+ * Stop this block's runner and let the supervisor bring it back.
12932
12962
  *
12933
- * `guard`, when given, is read inside the transaction: if the row is
12934
- * missing or its column differs from `equals`, NOTHING is written and the
12935
- * answer is `{ applied: false, current }` with what was found — the
12936
- * compare-and-set a revisioned write needs, with no second reader able to
12937
- * slip between the check and the writes.
12963
+ * **It stores nothing.** There is no "restart requested" flag and no second
12964
+ * lifecycle field: the supervisor already stops and respawns a runner when
12965
+ * the code hash changes, and this exposes that same path deliberately
12966
+ * (D62 — a switch writes the authority that already owned the function).
12967
+ * The next reconcile pass remains the authority, so a restart that lost a
12968
+ * race is corrected within one pass rather than leaving a stale flag behind.
12938
12969
  *
12939
- * **All or nothing**, like {@link insertMany}: a throw in any op rolls the
12940
- * whole call back. Ops run in the order given (delete before insert to
12941
- * replace a set). `namespace` applies to every collection named.
12970
+ * Refused for a DISABLED block: nothing would come back, and a button that
12971
+ * silently does nothing is worse than one that says why.
12942
12972
  */
12943
- transact: method(z.object({
12944
- namespace: z.string().optional(),
12945
- guard: TransactGuardSchema.optional(),
12946
- ops: z.array(TransactOpSchema).readonly()
12947
- }), z.object({
12948
- applied: z.boolean(),
12949
- current: z.unknown().optional()
12950
- }), {
12973
+ restart: method(z.object({ blockId: z.string() }), z.object({ block: CoreBlockSchema }), {
12951
12974
  kind: "mutation",
12952
12975
  auth: "admin"
12953
12976
  }),
12954
- /** Update an existing record by ID. */
12955
- update: method(z.object({
12956
- namespace: z.string().optional(),
12957
- collection: z.string(),
12958
- id: z.string(),
12959
- data: z.record(z.string(), z.unknown())
12960
- }), z.void(), {
12977
+ /**
12978
+ * Type-check without saving — what the editor calls as the author types, so
12979
+ * the compiler's verdict is the same one the server will reach.
12980
+ * Accepts `{ code }` or `{ files, entry }` (multi-file project).
12981
+ */
12982
+ compile: method(CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, {
12961
12983
  kind: "mutation",
12962
12984
  auth: "admin"
12963
12985
  }),
12964
- /** Delete a record by key/ID. */
12965
- delete: method(z.object({
12966
- namespace: z.string().optional(),
12967
- collection: z.string(),
12968
- key: z.string()
12969
- }), z.void(), {
12986
+ /**
12987
+ * Hydrated settings form for one block, or null until a `settingsSchema`
12988
+ * is known (extracted from the compiled entry's named export, or set on
12989
+ * the block). Values live in the `core-blocks:settings` collection.
12990
+ */
12991
+ getBlockSettings: method(z.object({ blockId: z.string() }), SettingsSchemaWithValuesSchema.nullable(), { auth: "admin" }),
12992
+ /**
12993
+ * Patch persisted preference values for one block. The schema is not
12994
+ * rewritten here — only values. Scripts read the same blob via
12995
+ * `ctx.settings.readAddonStore()` (mirrored into the block addon's
12996
+ * `addon-settings` namespace on every patch).
12997
+ */
12998
+ updateBlockSettings: method(z.object({
12999
+ blockId: z.string(),
13000
+ patch: SettingsPatchSchema
13001
+ }), SettingsUpdateResultSchema, {
12970
13002
  kind: "mutation",
12971
13003
  auth: "admin"
12972
13004
  }),
12973
13005
  /**
12974
- * Delete every record matching `filter`, in ONE statement, returning how
12975
- * many rows went. This exists because its absence made every retention
12976
- * path in the system an N+1 drain loop: `delete` takes a key, so a sweep
12977
- * had to SELECT a page of full rows — every column, including the fat
12978
- * ones — purely to learn their ids, then issue one call per row.
13006
+ * The declaration files the editor type-checks against.
12979
13007
  *
12980
- * **The filter is required and must resolve.** A predicate naming
12981
- * something the collection cannot express is an ERROR here, not a
12982
- * widening as it is on `query`, and a filter with no predicates is an
12983
- * error rather than "every row". Deleting a whole collection is a
12984
- * legitimate intent, but it must be asked for by name — not reached by
12985
- * an empty object.
13008
+ * Served rather than bundled: the graph is 3.4 MB across 344 files, and
13009
+ * bundling it would roughly double the admin remote. Served rather than
13010
+ * hand-stubbed: a block runs with the same `ctx` an addon gets, so a stub
13011
+ * would drift and the editor would confidently autocomplete methods that
13012
+ * do not exist.
12986
13013
  */
12987
- deleteWhere: method(z.object({
12988
- namespace: z.string().optional(),
12989
- collection: z.string(),
12990
- filter: MutationFilterSchema
12991
- }), z.object({ deleted: z.number().int() }), {
13014
+ getTypeDefs: method(z.object({}), z.object({ libs: z.array(z.object({
13015
+ filePath: z.string(),
13016
+ content: z.string()
13017
+ })) }), { auth: "admin" }),
13018
+ /**
13019
+ * Create a composition block (D659). VALIDATED first against the live
13020
+ * sources and every stored composition; a refusal names every problem by
13021
+ * path and reason (D391) and stores nothing.
13022
+ */
13023
+ createComposition: method(z.object({ block: CompositionBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
12992
13024
  kind: "mutation",
12993
- auth: "admin"
13025
+ auth: "admin",
13026
+ caller: "required"
12994
13027
  }),
12995
13028
  /**
12996
- * Apply `data` to every record matching `filter`, in one statement,
12997
- * returning how many rows changed. Same filter contract as
12998
- * {@link deleteWhere} — an unresolvable predicate is an error.
13029
+ * Patch a composition block. A changed `composition` is validated exactly
13030
+ * as on create. `expectedUpdatedAt` is the `updatedAt` the caller READ: a
13031
+ * block changed since is refused by name, never silently overwritten.
12999
13032
  */
13000
- updateWhere: method(z.object({
13001
- namespace: z.string().optional(),
13002
- collection: z.string(),
13003
- filter: MutationFilterSchema,
13004
- data: z.record(z.string(), z.unknown())
13005
- }), z.object({ updated: z.number().int() }), {
13033
+ updateComposition: method(z.object({
13034
+ blockId: z.string(),
13035
+ expectedUpdatedAt: z.number(),
13036
+ block: CompositionBlockInputSchema.partial()
13037
+ }), z.object({ block: CoreBlockSchema }), {
13006
13038
  kind: "mutation",
13007
- auth: "admin"
13039
+ auth: "admin",
13040
+ caller: "required"
13008
13041
  }),
13009
- /** Count entries in a collection, optionally filtered. */
13010
- count: method(z.object({
13011
- namespace: z.string().optional(),
13012
- collection: z.string(),
13013
- filter: QueryFilterSchema.optional()
13014
- }), z.number(), { auth: "admin" }),
13042
+ /** One composition and the composer's state for it, or `not-loaded` (D315). */
13043
+ getComposition: method(z.object({ blockId: z.string() }), CompositionGetReadSchema, { auth: "admin" }),
13044
+ listCompositions: method(z.object({}), CompositionListReadSchema, { auth: "admin" }),
13015
13045
  /**
13016
- * `COUNT(*)` and one `SUM` / `MIN` / `MAX` per requested field, in ONE
13017
- * statement, over the rows `filter` selects.
13018
- *
13019
- * Exists because "how much is there" was being answered by materialising
13020
- * "what is there". The recorder's storage-pressure sweep asked its in-RAM
13021
- * footage index for bytes/count/oldest/newest across a set of storage
13022
- * locations twice a minute, and the only way to answer that from a map is
13023
- * to visit every row — 7.1 M of them on the live hub, ~15 M row visits a
13024
- * minute on the main thread, which is also why the whole archive had to
13025
- * stay resident to be visited. The question is a sum; nothing needs to be
13026
- * materialised to answer it.
13027
- *
13028
- * **The engine REFUSES a field it cannot serve**, exactly as
13029
- * `query.columns` does and unlike a PREDICATE, which is skipped when
13030
- * unresolvable. A dropped predicate over-matches and the caller sees extra
13031
- * rows; a dropped aggregate returns a NUMBER that is wrong and looks
13032
- * exactly like a real one. That asymmetry is what this repo has already
13033
- * paid for once in `count`.
13046
+ * The composition that customizes an existing device (D663), found by its
13047
+ * TARGET — never by the block's derived name. One per device at most.
13034
13048
  */
13035
- aggregate: method(z.object({
13036
- namespace: z.string().optional(),
13037
- collection: z.string(),
13038
- fields: z.array(AggregateFieldSchema).readonly(),
13039
- filter: QueryFilterSchema.optional()
13040
- }), AggregateResultSchema, { auth: "admin" }),
13041
- /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
13042
- histogram: method(z.object({
13043
- namespace: z.string().optional(),
13044
- collection: z.string(),
13045
- field: z.string(),
13046
- bucketSize: z.number().int().positive(),
13047
- origin: z.number().int(),
13048
- filter: QueryFilterSchema.optional()
13049
- }), z.array(z.object({
13050
- bucket: z.number().int(),
13051
- count: z.number().int()
13052
- })).readonly(), { auth: "admin" }),
13053
- /** Check if a collection is empty. */
13054
- isEmpty: method(z.object({
13055
- namespace: z.string().optional(),
13056
- collection: z.string()
13057
- }), z.boolean(), { auth: "admin" }),
13049
+ getCustomization: method(z.object({
13050
+ addonId: z.string().min(1),
13051
+ stableId: z.string().min(1)
13052
+ }), CompositionCustomizationReadSchema, { auth: "admin" }),
13058
13053
  /**
13059
- * Declare a typed (SQL-backed) collection with explicit columns +
13060
- * indexes. Idempotent: re-declaring an existing collection with the
13061
- * same shape is a no-op; shape changes (new columns, new indexes)
13062
- * are applied additively. Subsequent `insert` / `update` / `delete`
13063
- * / `query` calls on this collection use typed columns instead of
13064
- * JSON-blob storage — `record.data` fields are spread across
13065
- * columns, `query.filter.where` matches real columns (no
13066
- * `json_extract` overhead), `orderBy` uses column indexes.
13067
- *
13068
- * Addons call this in `onInitialize` before their first read/write.
13069
- * Collection names should be namespaced by addon (e.g.
13070
- * `pipeline-analytics:object-events`) to avoid cross-addon
13071
- * clashes — no automatic prefix is added.
13054
+ * The capabilities a composition may BUILD on a device of `deviceType`
13055
+ * (a new device, or added to an existing one), with their fields — the
13056
+ * editor's feature list and the presets' availability (G2, D676). Built
13057
+ * from the validator's own blockers; a replace of a BOUND cap is not
13058
+ * listed here (the device's bindings say what it has).
13072
13059
  */
13073
- declareCollection: method(z.object({
13074
- namespace: z.string().optional(),
13075
- collection: z.string(),
13076
- columns: z.array(CollectionColumnSchema).readonly(),
13077
- indexes: z.array(CollectionIndexSchema).readonly().optional()
13078
- }), z.void(), {
13060
+ listComposableCaps: method(z.object({ deviceType: z.enum(DeviceType) }), ComposableCapabilitiesSchema, { auth: "admin" }),
13061
+ /**
13062
+ * Validate without saving — the same verdict the save reaches. A mutation
13063
+ * for its body size; it writes nothing, so its access is `view`.
13064
+ */
13065
+ validateComposition: method(z.object({
13066
+ composition: CompositionSchema,
13067
+ blockId: z.string().optional()
13068
+ }), CompositionValidationSchema, {
13079
13069
  kind: "mutation",
13080
- auth: "admin"
13070
+ auth: "admin",
13071
+ access: "view"
13072
+ })
13073
+ }
13074
+ };
13075
+ //#endregion
13076
+ //#region src/capabilities/custom-model-registry.cap.ts
13077
+ /**
13078
+ * `custom-model-registry` — collection cap exposing operator-registered
13079
+ * custom detection models. Each provider (today: `addon-model-studio`)
13080
+ * contributes a list of `CustomModelDescriptor`s; the hub auto-concatenates
13081
+ * them across providers (`concatCollection`).
13082
+ *
13083
+ * The detection-pipeline is *aware* of this cap: when at least one provider
13084
+ * exists it unions these descriptors into the per-step model picker and the
13085
+ * runtime model-resolution path, alongside the static catalog. When no
13086
+ * provider exists the consumer no-ops entirely (identical to the catalog-only
13087
+ * behaviour).
13088
+ *
13089
+ * A descriptor carries a full `ModelCatalogEntry` directly — the same shape
13090
+ * the static catalog uses — so the existing download/resolution code consumes
13091
+ * it unchanged. `stepId` is the detection step the model targets
13092
+ * (e.g. `'object-detection'`).
13093
+ */
13094
+ var CustomModelDescriptorSchema = z.object({
13095
+ stepId: z.string(),
13096
+ entry: ModelCatalogEntrySchema
13097
+ });
13098
+ /** One regular file of an imported bundle, as the producer measured it. */
13099
+ var ModelBundleFileSchema = z.object({
13100
+ /** Relative path inside the bundle tar; an mlpackage member is `<x>.mlpackage/<member>`. */
13101
+ path: z.string().min(1),
13102
+ bytes: z.number().int().nonnegative(),
13103
+ sha256: z.string().regex(/^[0-9a-f]{64}$/)
13104
+ });
13105
+ var ImportModelBundleInputSchema = z.object({
13106
+ /** The registry provider that keeps the model (Model Studio). */
13107
+ addonId: z.string(),
13108
+ stepId: z.string().min(1),
13109
+ /**
13110
+ * The catalog rows to register, complete, every format URL already
13111
+ * `camstack-local://<modelId>/<file>` naming a file of the bundle. One
13112
+ * bundle may carry several rows (a base and its INT8 variant).
13113
+ */
13114
+ entries: z.array(ModelCatalogEntrySchema).min(1).max(4),
13115
+ /** The bundle tar, offered by the producer over `ctx.peerBytes` (same host). */
13116
+ bundle: z.object({
13117
+ ticket: PeerBytesTicketSchema,
13118
+ bytes: z.number().int().positive(),
13119
+ sha256: z.string().regex(/^[0-9a-f]{64}$/)
13120
+ }),
13121
+ /** Every file the tar must hold; anything missing, extra or different is refused. */
13122
+ files: z.array(ModelBundleFileSchema).min(1).max(64),
13123
+ /** Convert missing engine formats and push the model to every agent afterwards. */
13124
+ distribute: z.boolean()
13125
+ });
13126
+ var ImportModelBundleResultSchema = z.discriminatedUnion("kind", [z.object({
13127
+ kind: z.literal("imported"),
13128
+ modelIds: z.array(z.string()).readonly(),
13129
+ distributed: z.array(z.object({
13130
+ modelId: z.string(),
13131
+ nodeId: z.string(),
13132
+ format: z.enum(MODEL_FORMATS),
13133
+ ok: z.boolean(),
13134
+ error: z.string().optional()
13135
+ })).readonly()
13136
+ }), z.object({
13137
+ kind: z.literal("refused"),
13138
+ reason: z.enum([
13139
+ "transfer-failed",
13140
+ "checksum-mismatch",
13141
+ "bundle-mismatch",
13142
+ "invalid-entry",
13143
+ "id-taken"
13144
+ ]),
13145
+ detail: z.string()
13146
+ })]);
13147
+ var customModelRegistryCapability = {
13148
+ name: "custom-model-registry",
13149
+ scope: "system",
13150
+ mode: "collection",
13151
+ internal: true,
13152
+ methods: {
13153
+ /**
13154
+ * `internal: true` did not gate the mount (see the 2026-08-26 note on
13155
+ * `data-store-provider`) — this was reachable on the AppRouter by ANY
13156
+ * authenticated session at the default `auth: 'protected'`. The only
13157
+ * consumer, the detection-pipeline's model resolution
13158
+ * (`addon-pipeline/src/detection-pipeline/provider.ts`), calls
13159
+ * `ctx.api.customModelRegistry.listModels.query()` — UDS/Moleculer,
13160
+ * never tRPC — so `auth: 'admin'` costs it nothing.
13161
+ */
13162
+ listModels: method(z.void(), z.array(CustomModelDescriptorSchema).readonly(), { auth: "admin" }),
13163
+ /**
13164
+ * Register a model whose files arrive as ONE bundle tar (D806): the tar
13165
+ * is taken over `ctx.peerBytes`, checked against `bundle.sha256` and
13166
+ * every row of `files`, unpacked into the hub's flat modelsDir (directory
13167
+ * formats included), each format's `.revision` record written, the rows
13168
+ * upserted under the operator's name, the hub marked available and —
13169
+ * when asked — engine formats converted and the model distributed. A
13170
+ * model id already registered by another source is refused, never
13171
+ * overwritten.
13172
+ */
13173
+ importModelBundle: method(ImportModelBundleInputSchema, ImportModelBundleResultSchema, {
13174
+ kind: "mutation",
13175
+ auth: "admin",
13176
+ timeoutMs: 30 * 6e4
13081
13177
  })
13082
13178
  }
13083
13179
  };
@@ -13228,6 +13324,16 @@ id: z.union([z.string(), z.number()]) }), {
13228
13324
  kind: "mutation",
13229
13325
  auth: "admin"
13230
13326
  }),
13327
+ /** Upsert many records in ONE transaction; see the door's `upsertMany`. */
13328
+ upsertMany: method(z.object({
13329
+ namespace: z.string().optional(),
13330
+ collection: z.string(),
13331
+ conflict: z.array(z.string()).readonly(),
13332
+ records: z.array(BulkRecordSchema).readonly()
13333
+ }), z.object({ upserted: z.number().int() }), {
13334
+ kind: "mutation",
13335
+ auth: "admin"
13336
+ }),
13231
13337
  /** Insert many records in ONE transaction. All or nothing. */
13232
13338
  insertMany: method(z.object({
13233
13339
  namespace: z.string().optional(),
@@ -13320,12 +13426,7 @@ id: z.union([z.string(), z.number()]) }), {
13320
13426
  collection: z.string()
13321
13427
  }), z.boolean(), { auth: "admin" }),
13322
13428
  /** Declare a typed (SQL-backed) collection with columns + indexes. */
13323
- declareCollection: method(z.object({
13324
- namespace: z.string().optional(),
13325
- collection: z.string(),
13326
- columns: z.array(CollectionColumnSchema).readonly(),
13327
- indexes: z.array(CollectionIndexSchema).readonly().optional()
13328
- }), z.void(), {
13429
+ declareCollection: method(DeclareCollectionInputSchema, z.void(), {
13329
13430
  kind: "mutation",
13330
13431
  auth: "admin"
13331
13432
  })
@@ -56051,6 +56152,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
56051
56152
  addonId: null,
56052
56153
  access: "create"
56053
56154
  },
56155
+ "dataStoreProvider.upsertMany": {
56156
+ capName: "data-store-provider",
56157
+ capScope: "system",
56158
+ addonId: null,
56159
+ access: "create"
56160
+ },
56054
56161
  "dayNight.getOptions": {
56055
56162
  capName: "day-night",
56056
56163
  capScope: "device",
@@ -60899,6 +61006,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
60899
61006
  addonId: null,
60900
61007
  access: "create"
60901
61008
  },
61009
+ "settingsStore.upsertMany": {
61010
+ capName: "settings-store",
61011
+ capScope: "system",
61012
+ addonId: null,
61013
+ access: "create"
61014
+ },
60902
61015
  "smoke.getStatus": {
60903
61016
  capName: "smoke",
60904
61017
  capScope: "device",
@@ -71130,6 +71243,7 @@ function createSystemProxy(api) {
71130
71243
  set: (input) => dispatch("settingsStore", "set", "mutation", input),
71131
71244
  query: (input) => dispatch("settingsStore", "query", "query", input),
71132
71245
  upsert: (input) => dispatch("settingsStore", "upsert", "mutation", input),
71246
+ upsertMany: (input) => dispatch("settingsStore", "upsertMany", "mutation", input),
71133
71247
  insert: (input) => dispatch("settingsStore", "insert", "mutation", input),
71134
71248
  insertMany: (input) => dispatch("settingsStore", "insertMany", "mutation", input),
71135
71249
  transact: (input) => dispatch("settingsStore", "transact", "mutation", input),
@@ -79742,4 +79856,4 @@ function enumerateInferenceDevices(hw) {
79742
79856
  return out;
79743
79857
  }
79744
79858
  //#endregion
79745
- 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, 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, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, 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 };
79859
+ 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, 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 };