@camstack/types 1.2.58 → 1.2.60

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
@@ -1,5 +1,5 @@
1
1
  import { t as EventCategory } from "./event-category-Cv9dO26A.mjs";
2
- import { $ as FrameHandleSchema, A as method, B as readinessKey, C as DeviceType, Ct as collectHydratedFieldEntries, D as event, E as DEVICE_STATUS_METHOD, Et as resolveHydratedFieldValue, F as readNodePin, G as CamProfileSchema, H as BrokerStatsSchema, I as toNodeId, J as CameraStreamSchema, K as CamStreamKindSchema, L as ReadinessRegistry, M as systemMethod, N as CAP_NODE_PIN_CONTEXT_KEY, O as expandCapMethods, P as nodePin, Q as FrameHandleFormatSchema, R as ReadinessTimeoutError, S as DeviceRole, St as WELL_KNOWN_TAB_MAP, T as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Tt as hydrateSchema, U as BrokerStatusSchema, V as scopeKey, W as CAM_PROFILE_ORDER, X as DecodedFrameSchema, Y as DecodedAudioChunkSchema, Z as EncodedPacketSchema, _ as RawStateResultSchema, _t as createDurableState, a as asJsonObject, at as SubscribeAudioChunksInputSchema, b as ChargingStatus, bt as isEvent, c as parseJsonArray, ct as SubscribeFramesResultSchema, d as DEVICE_SCOPED_CAPS, dt as parseProfileBrokerId, et as ProfileRtspEntrySchema, f as isDeviceScopedCap, ft as selectAssignedProfileSlots, g as createSliceHandle, gt as normalizeAddonInitResult, h as createMirrorSource, ht as BaseAddon, i as asJsonArray, it as StreamSourceSchema, j as resolveCapMount, k as isDeviceConfigCap, l as parseJsonObject, lt as makeProfileBrokerId, m as createLazyTrpcSource, mt as DisposerChain, n as sleepCancellable, nt as ProfileSlotStatusSchema, o as asNumber, ot as SubscribeAudioChunksResultSchema, p as createDeviceProxy, pt as DATAPLANE_SECRET_HEADER, q as CamStreamResolutionSchema, r as asBoolean, rt as StreamSourceEntrySchema, s as asString, st as SubscribeFramesInputSchema, t as sleep, tt as ProfileSlotSchema, u as parseJsonUnknown, ut as makeSourceBrokerId, v as deviceOpsCapability, vt as createEvent, w as adminUiCapability, wt as collectHydratedFieldValues, x as DeviceFeature, xt as WELL_KNOWN_TABS, y as viewerUiCapability, yt as emitReadiness, z as emitDownForOwnedCaps } from "./sleep-m2HUob6m.mjs";
2
+ import { $ as FrameHandleSchema, A as method, B as readinessKey, C as DeviceType, Ct as collectHydratedFieldEntries, D as event, E as DEVICE_STATUS_METHOD, Et as resolveHydratedFieldValue, F as readNodePin, G as CamProfileSchema, H as BrokerStatsSchema, I as toNodeId, J as CameraStreamSchema, K as CamStreamKindSchema, L as ReadinessRegistry, M as systemMethod, N as CAP_NODE_PIN_CONTEXT_KEY, O as expandCapMethods, P as nodePin, Q as FrameHandleFormatSchema, R as ReadinessTimeoutError, S as DeviceRole, St as WELL_KNOWN_TAB_MAP, T as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Tt as hydrateSchema, U as BrokerStatusSchema, V as scopeKey, W as CAM_PROFILE_ORDER, X as DecodedFrameSchema, Y as DecodedAudioChunkSchema, Z as EncodedPacketSchema, _ as RawStateResultSchema, _t as createDurableState, a as asJsonObject, at as SubscribeAudioChunksInputSchema, b as ChargingStatus, bt as isEvent, c as parseJsonArray, ct as SubscribeFramesResultSchema, d as DEVICE_SCOPED_CAPS, dt as parseProfileBrokerId, et as ProfileRtspEntrySchema, f as isDeviceScopedCap, ft as selectAssignedProfileSlots, g as createSliceHandle, gt as normalizeAddonInitResult, h as createMirrorSource, ht as BaseAddon, i as asJsonArray, it as StreamSourceSchema, j as resolveCapMount, k as isDeviceConfigCap, l as parseJsonObject, lt as makeProfileBrokerId, m as createLazyTrpcSource, mt as DisposerChain, n as sleepCancellable, nt as ProfileSlotStatusSchema, o as asNumber, ot as SubscribeAudioChunksResultSchema, p as createDeviceProxy, pt as DATAPLANE_SECRET_HEADER, q as CamStreamResolutionSchema, r as asBoolean, rt as StreamSourceEntrySchema, s as asString, st as SubscribeFramesInputSchema, t as sleep, tt as ProfileSlotSchema, u as parseJsonUnknown, ut as makeSourceBrokerId, v as deviceOpsCapability, vt as createEvent, w as adminUiCapability, wt as collectHydratedFieldValues, x as DeviceFeature, xt as WELL_KNOWN_TABS, y as viewerUiCapability, yt as emitReadiness, z as emitDownForOwnedCaps } from "./sleep-BxjBLp3L.mjs";
3
3
  import { a as buildAudioArgs, c as buildVideoArgs, d as logBannerArgs, f as pickVideoEncoder, i as audioPlanFromEncodeProfile, l as invocationFromEncodeProfile, n as Fmp4BoxSplitter, o as buildFfmpegArgs, r as AUDIO_PRESETS, s as buildInputArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-rO1sRmEK.mjs";
4
4
  import { EventSourceType } from "./enums.mjs";
5
5
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
@@ -1609,12 +1609,11 @@ function deriveRecordingMode(config) {
1609
1609
  /**
1610
1610
  * Entity-relocation job state (storage entity-routing spec, Phase 4).
1611
1611
  *
1612
- * One shape shared by the recorder's `relocateFootage` (segments) and
1613
- * pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
1614
- * page renders both movers with one component. Jobs are in-RAM (a restart
1615
- * forgets them re-running is safe by construction: copy-if-absent, delete
1616
- * after verify) and each completed/failed run also lands one durable ops-log
1617
- * row on the owning addon's surface.
1612
+ * One shape shared by the recorder and pipeline-analytics internal movers.
1613
+ * The public admin surface is `storage-migration`; child jobs remain in RAM
1614
+ * because copy-if-absent, verify, delete and index/row repoint are resumable.
1615
+ * Each completed/failed run also lands one durable ops-log row on its owning
1616
+ * addon surface.
1618
1617
  */
1619
1618
  var RelocateJobStateSchema = z.enum([
1620
1619
  "running",
@@ -1641,20 +1640,102 @@ var RelocateJobSchema = z.object({
1641
1640
  finishedAt: z.number().nullable(),
1642
1641
  error: z.string().nullable()
1643
1642
  });
1643
+ /** Profile-derived footage selection used only by the migration coordinator:
1644
+ * `recordings` owns high+mid; `recordingsLow` owns low. */
1645
+ var RelocateFootageClassSchema = z.enum(["recordings", "recordingsLow"]);
1644
1646
  var RelocateFootageInputSchema = z.object({
1645
- deviceId: z.number().optional(),
1646
1647
  fromLocationId: z.string(),
1647
1648
  toLocationId: z.string(),
1648
1649
  entities: z.array(z.enum(["segments"])).optional(),
1650
+ /** Limits relocation to the logical profile class. Omit only for the
1651
+ * pre-orchestration compatibility path. */
1652
+ footageClass: RelocateFootageClassSchema.optional(),
1649
1653
  /** Copy throttle in MB/s (default 40) — the drain is a background chore,
1650
1654
  * never allowed to starve live writers. */
1651
1655
  throttleMbps: z.number().min(1).max(1e3).optional()
1652
1656
  });
1657
+ /** Internal, lease-scoped participant operation. It is intentionally separate
1658
+ * from persistent recording settings: a migration never changes
1659
+ * `RecordingConfig.enabled` or camera wrapper bindings. */
1660
+ var StorageMigrationLeaseInputSchema = z.object({ leaseId: z.string().min(1) });
1661
+ var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: z.string().min(1) });
1653
1662
  var RelocateMediaInputSchema = z.object({
1654
- deviceId: z.number().optional(),
1655
1663
  toLocationId: z.string(),
1656
1664
  throttleMbps: z.number().min(1).max(1e3).optional()
1657
1665
  });
1666
+ var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: z.string().min(1) });
1667
+ /** The independently selectable logical storage classes. `recordings`
1668
+ * encompasses the high and mid segment profiles; `recordingsLow` is low
1669
+ * segments; `eventMedia` is post-analysis blobs. */
1670
+ var StorageMigrationClassSchema = z.enum([
1671
+ "recordings",
1672
+ "recordingsLow",
1673
+ "eventMedia"
1674
+ ]);
1675
+ /** A destination is always an existing, fully-qualified location id. The
1676
+ * migration API intentionally never changes a source location's `basePath`:
1677
+ * callers create a new `<type>:<slug>` location, then select it here. */
1678
+ var StorageMigrationDestinationsSchema = z.object({
1679
+ recordings: z.string().min(1).optional(),
1680
+ recordingsLow: z.string().min(1).optional(),
1681
+ eventMedia: z.string().min(1).optional()
1682
+ }).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
1683
+ /** Shared input for planning and starting an orchestrated storage migration. */
1684
+ var StorageMigrationInputSchema = z.object({
1685
+ destinations: StorageMigrationDestinationsSchema,
1686
+ throttleMbps: z.number().min(1).max(1e3).optional()
1687
+ });
1688
+ /** The durable coordinator state machine. The only phase that changes default
1689
+ * locations is `repointing`, after every selected mover has completed and been
1690
+ * verified. */
1691
+ var StorageMigrationPhaseSchema = z.enum([
1692
+ "planning",
1693
+ "pausing",
1694
+ "moving",
1695
+ "verifying",
1696
+ "repointing",
1697
+ "refreshing",
1698
+ "resuming",
1699
+ "done",
1700
+ "failed",
1701
+ "cancelled"
1702
+ ]);
1703
+ var StorageMigrationParticipantSchema = z.enum([
1704
+ "pipeline",
1705
+ "recorder",
1706
+ "analytics"
1707
+ ]);
1708
+ var StorageMigrationMoveSchema = z.object({
1709
+ storageClass: StorageMigrationClassSchema,
1710
+ fromLocationId: z.string(),
1711
+ toLocationId: z.string(),
1712
+ moverJobId: z.string().nullable(),
1713
+ state: RelocateJobStateSchema.nullable(),
1714
+ error: z.string().nullable()
1715
+ });
1716
+ var StorageMigrationJobSchema = z.object({
1717
+ jobId: z.string(),
1718
+ phase: StorageMigrationPhaseSchema,
1719
+ destinations: StorageMigrationDestinationsSchema,
1720
+ throttleMbps: z.number(),
1721
+ moves: z.array(StorageMigrationMoveSchema),
1722
+ pauseLeaseId: z.string().nullable(),
1723
+ pausedParticipants: z.array(StorageMigrationParticipantSchema),
1724
+ repointed: z.boolean(),
1725
+ cancelRequested: z.boolean(),
1726
+ startedAt: z.number(),
1727
+ updatedAt: z.number(),
1728
+ finishedAt: z.number().nullable(),
1729
+ error: z.string().nullable()
1730
+ });
1731
+ var StorageMigrationPlanSchema = z.object({
1732
+ destinations: StorageMigrationDestinationsSchema,
1733
+ moves: z.array(z.object({
1734
+ storageClass: StorageMigrationClassSchema,
1735
+ fromLocationId: z.string(),
1736
+ toLocationId: z.string()
1737
+ }))
1738
+ });
1658
1739
  //#endregion
1659
1740
  //#region src/interfaces/server-analysis.ts
1660
1741
  var SUB_DETECTION_TYPES = ["face", "plate"];
@@ -14574,20 +14655,28 @@ var pipelineAnalyticsCapability = {
14574
14655
  }),
14575
14656
  /** The events ops-log rows (newest-first), optionally scoped to one camera.
14576
14657
  * Backed by a declared pipeline-analytics SQLite collection. */
14577
- /**
14578
- * Move event-media blobs onto `toLocationId` (entity-routing spec Phase
14579
- * 4): per-row copy → stamp row.locationId delete old blob. Rows already
14580
- * at the target are skipped, so a re-run resumes. Single-flight.
14581
- */
14582
- relocateMedia: method(RelocateMediaInputSchema, z.object({ jobId: z.string() }), {
14658
+ /** Internal migration-participant lease. It drains active MediaStore
14659
+ * writes and refuses new ones without changing analytics bindings. */
14660
+ pauseForStorageMigration: method(StorageMigrationLeaseInputSchema, z.object({ paused: z.literal(true) }), {
14583
14661
  kind: "mutation",
14584
14662
  auth: "admin"
14585
14663
  }),
14586
- getMediaRelocateStatus: method(z.object({}), z.array(RelocateJobSchema).readonly(), {
14587
- kind: "query",
14664
+ resumeForStorageMigration: method(StorageMigrationLeaseInputSchema, z.object({ resumed: z.literal(true) }), {
14665
+ kind: "mutation",
14588
14666
  auth: "admin"
14589
14667
  }),
14590
- cancelMediaRelocate: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
14668
+ /** Drops cached location roots after the storage coordinator repoints a
14669
+ * default so future event-media writes use the new root. */
14670
+ refreshStorageLocationsForMigration: method(StorageMigrationLeaseInputSchema, z.object({ refreshed: z.literal(true) }), {
14671
+ kind: "mutation",
14672
+ auth: "admin"
14673
+ }),
14674
+ startStorageMigrationMove: method(StorageMigrationMediaMoveInputSchema, z.object({ jobId: z.string() }), {
14675
+ kind: "mutation",
14676
+ auth: "admin"
14677
+ }),
14678
+ getStorageMigrationMoveStatus: method(z.object({ jobId: z.string() }), RelocateJobSchema.nullable(), { auth: "admin" }),
14679
+ cancelStorageMigrationMove: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
14591
14680
  kind: "mutation",
14592
14681
  auth: "admin"
14593
14682
  }),
@@ -16815,6 +16904,16 @@ var pipelineOrchestratorCapability = {
16815
16904
  nodeIdMode: "data",
16816
16905
  exposesDeviceSettings: true,
16817
16906
  methods: {
16907
+ /** Internal storage-migration participant lease. While held, dispatch
16908
+ * requests are accepted as pending but no new runner attachment starts. */
16909
+ pauseForStorageMigration: method(StorageMigrationLeaseInputSchema, z.object({ paused: z.literal(true) }), {
16910
+ kind: "mutation",
16911
+ auth: "admin"
16912
+ }),
16913
+ resumeForStorageMigration: method(StorageMigrationLeaseInputSchema, z.object({ resumed: z.literal(true) }), {
16914
+ kind: "mutation",
16915
+ auth: "admin"
16916
+ }),
16818
16917
  /**
16819
16918
  * Pin a camera's pipeline to a specific agent (L1 affinity).
16820
16919
  * The orchestrator re-evaluates the assignment immediately and persists
@@ -17715,24 +17814,28 @@ var snapshotCapability = {
17715
17814
  *
17716
17815
  * `getSnapshotOverview` is cache-only by contract: it answers from whatever
17717
17816
  * the wrapper happens to hold and never captures. Under D93 the client
17718
- * versions its image URL on that answer, and an image REQUEST is what enrols
17719
- * a camera in the keep-warm loop. Both of those are satisfiable by the
17720
- * client's own image cache — `expo-image` is URL-keyed and never revalidates
17721
- * — so a URL painted in a previous session comes off disk with no network,
17722
- * no enrolment, and nothing warming. Measured on the live hub: reopening
17723
- * after two minutes idle painted 15 of 16 tiles at **168 s old** with zero
17724
- * HTTP requests, and the fleet only recovered because a later poll happened
17725
- * to observe a different identity.
17817
+ * versions its image URL on that answer, and an image REQUEST was the only
17818
+ * demand signal. Both of those are satisfiable by the client's own image
17819
+ * cache — `expo-image` is URL-keyed and never revalidates — so a URL painted
17820
+ * in a previous session comes off disk with no network, no demand, and no
17821
+ * capture. Measured on the live hub: reopening after two minutes idle
17822
+ * painted 15 of 16 tiles at **168 s old** with zero HTTP requests, and the
17823
+ * fleet only recovered because a later poll happened to observe a different
17824
+ * identity.
17726
17825
  *
17727
17826
  * ## The two properties that fix it
17728
17827
  *
17729
17828
  * **It is an RPC, so no client cache can answer it.** The demand signal
17730
- * always reaches the wrapper. This method therefore MAY create keep-warm
17731
- * subscriptions, where `getSnapshotOverview` must never (D93) — the
17732
- * distinction is not "one is newer" but that the overview poll is app-wide
17733
- * (a creating overview would warm every camera on the install) while this is
17734
- * called by a rendered surface naming the tiles it is actually painting, at
17735
- * the width it is painting them.
17829
+ * always reaches the wrapper. This method therefore CAPTURES, where
17830
+ * `getSnapshotOverview` must never (D93) — the distinction is not "one is
17831
+ * newer" but that the overview poll is app-wide (a capturing overview would
17832
+ * dial every camera on the install) while this is called by a rendered
17833
+ * surface naming the tiles it is actually painting, at the width it is
17834
+ * painting them.
17835
+ *
17836
+ * Since 2026-08-11 this is the ONLY thing that refreshes a snapshot: the
17837
+ * server-side keep-warm loop was removed (operator directive — on-demand,
17838
+ * always), so a camera nobody is looking at costs nothing at all.
17736
17839
  *
17737
17840
  * **It waits, briefly and boundedly, for the capture it triggered.** The
17738
17841
  * returned `capturedAt` is the frame the link will serve, not the frame the
@@ -18027,6 +18130,30 @@ var storageEvictableCapability = {
18027
18130
  }
18028
18131
  };
18029
18132
  //#endregion
18133
+ //#region src/capabilities/storage-migration.cap.ts
18134
+ /**
18135
+ * The single operator-facing storage migration surface. It coordinates the
18136
+ * pipeline, recorder and post-analysis participants; callers never mutate a
18137
+ * camera recording config or invoke an individual mover directly.
18138
+ */
18139
+ var storageMigrationCapability = {
18140
+ name: "storage-migration",
18141
+ scope: "system",
18142
+ mode: "singleton",
18143
+ methods: {
18144
+ plan: method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }),
18145
+ start: method(StorageMigrationInputSchema, z.object({ jobId: z.string() }), {
18146
+ kind: "mutation",
18147
+ auth: "admin"
18148
+ }),
18149
+ status: method(z.object({ jobId: z.string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }),
18150
+ cancel: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
18151
+ kind: "mutation",
18152
+ auth: "admin"
18153
+ })
18154
+ }
18155
+ };
18156
+ //#endregion
18030
18157
  //#region src/capabilities/storage-provider.cap.ts
18031
18158
  var ProviderInfoSchema = z.discriminatedUnion("shouldSaveDiskSpace", [z.object({
18032
18159
  providerId: z.string().min(1),
@@ -18178,6 +18305,28 @@ var TerminalProfileInfoSchema = z.object({
18178
18305
  label: z.string(),
18179
18306
  description: z.string().optional()
18180
18307
  });
18308
+ /**
18309
+ * A durable operator-created Terminal instance. Profiles are templates; only
18310
+ * an instance declares a camera.
18311
+ */
18312
+ var TerminalInstanceInfoSchema = z.object({
18313
+ instanceId: z.string(),
18314
+ cameraStableId: z.string(),
18315
+ nodeId: z.string(),
18316
+ profileId: z.string(),
18317
+ profileLabel: z.string(),
18318
+ name: z.string(),
18319
+ enabled: z.boolean()
18320
+ });
18321
+ var TerminalLegacyCameraSchema = z.object({
18322
+ stableId: z.string(),
18323
+ nodeId: z.string(),
18324
+ profileId: z.string(),
18325
+ profileLabel: z.string(),
18326
+ name: z.string(),
18327
+ /** Only legacy monitor cameras can retain their historic stable identity. */
18328
+ adoptable: z.boolean()
18329
+ });
18181
18330
  var TerminalOutputEventSchema = z.discriminatedUnion("kind", [z.object({
18182
18331
  seq: z.number().int().positive(),
18183
18332
  kind: z.literal("data"),
@@ -18197,10 +18346,9 @@ var TerminalOutputBatchSchema = z.object({
18197
18346
  /**
18198
18347
  * terminal-session — singleton system capability for interactive TTY sessions.
18199
18348
  *
18200
- * Phase 1 (this cap): open/resize/close/list a pty running an allowlisted
18201
- * profile, streamed to xterm.js over the data plane. Phase 2 (streaming a
18202
- * session as a camera) is a separate device-provider concern and does not
18203
- * change this contract.
18349
+ * Owns both live PTY lifecycle and durable Terminal instance management.
18350
+ * Profiles are allowlisted templates; an explicit instance is the only path
18351
+ * that declares a camera.
18204
18352
  */
18205
18353
  var terminalSessionCapability = {
18206
18354
  name: "terminal-session",
@@ -18209,6 +18357,37 @@ var terminalSessionCapability = {
18209
18357
  methods: {
18210
18358
  /** Pre-declared profiles the operator may open. */
18211
18359
  listProfiles: method(z.void(), z.array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18360
+ /** Explicit durable Terminal instances, managed centrally on the hub. */
18361
+ listInstances: method(z.void(), z.array(TerminalInstanceInfoSchema).readonly(), { auth: "admin" }),
18362
+ createInstance: method(z.object({
18363
+ targetNodeId: z.string().min(1),
18364
+ profileId: z.string().min(1),
18365
+ name: z.string().trim().min(1).max(160).optional()
18366
+ }), TerminalInstanceInfoSchema, {
18367
+ kind: "mutation",
18368
+ auth: "admin"
18369
+ }),
18370
+ deleteInstance: method(z.object({ instanceId: z.string().min(1) }), z.void(), {
18371
+ kind: "mutation",
18372
+ auth: "admin"
18373
+ }),
18374
+ setInstanceEnabled: method(z.object({
18375
+ instanceId: z.string().min(1),
18376
+ enabled: z.boolean()
18377
+ }), TerminalInstanceInfoSchema, {
18378
+ kind: "mutation",
18379
+ auth: "admin"
18380
+ }),
18381
+ /** Existing automatic cameras are shown for explicit migration only. */
18382
+ listLegacyCameras: method(z.void(), z.array(TerminalLegacyCameraSchema).readonly(), { auth: "admin" }),
18383
+ /** Explicitly adopt one legacy monitor camera, retaining its stable id. */
18384
+ adoptLegacyMonitor: method(z.object({
18385
+ stableId: z.string().min(1),
18386
+ name: z.string().trim().min(1).max(160).optional()
18387
+ }), TerminalInstanceInfoSchema, {
18388
+ kind: "mutation",
18389
+ auth: "admin"
18390
+ }),
18212
18391
  /** Live sessions currently hosted by the provider. */
18213
18392
  listSessions: method(z.void(), z.array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }),
18214
18393
  /**
@@ -18240,7 +18419,13 @@ var terminalSessionCapability = {
18240
18419
  pullOutput: method(z.object({
18241
18420
  sessionId: z.string(),
18242
18421
  afterSeq: z.number().int().nonnegative(),
18243
- waitMs: z.number().int().min(0).max(2e3).default(0)
18422
+ waitMs: z.number().int().min(0).max(2e3).default(0),
18423
+ /**
18424
+ * Wait when a just-opened session has no output yet. Kept opt-in so a
18425
+ * browser's initial repaint remains immediate; the camera snapshot
18426
+ * relay uses it to avoid encoding a blank startup frame.
18427
+ */
18428
+ waitForOutput: z.boolean().optional()
18244
18429
  }), TerminalOutputBatchSchema, {
18245
18430
  kind: "mutation",
18246
18431
  auth: "admin",
@@ -25531,12 +25716,6 @@ var recordingCapability = {
25531
25716
  auth: "admin"
25532
25717
  }),
25533
25718
  /**
25534
- * Move footage (recorded segments) from one recordings location to
25535
- * another — the drain workflow's mover (entity-routing spec Phase 4).
25536
- * Throttled copy → size-verify → delete source → index refresh; resumable
25537
- * by construction (copy-if-absent). Single-flight: one job at a time.
25538
- */
25539
- /**
25540
25719
  * Render a short GIF from recorded footage around `aroundMs` (low profile,
25541
25720
  * palette-free ffmpeg gif). Synchronous — the window is a few seconds of
25542
25721
  * `low`, rendering in ~1-2s. Built for notification attachments: the
@@ -25588,16 +25767,28 @@ var recordingCapability = {
25588
25767
  kind: "mutation",
25589
25768
  auth: "admin"
25590
25769
  }),
25591
- relocateFootage: method(RelocateFootageInputSchema, z.object({ jobId: z.string() }), {
25770
+ /** Internal migration-participant lease. Blocks new recorder attaches and
25771
+ * waits for writers to exit while their watchers index final segments. */
25772
+ pauseForStorageMigration: method(StorageMigrationLeaseInputSchema, z.object({ paused: z.literal(true) }), {
25592
25773
  kind: "mutation",
25593
25774
  auth: "admin"
25594
25775
  }),
25595
- /** Every known relocate job (in-RAM, newest-first). */
25596
- getRelocateStatus: method(z.object({}), z.array(RelocateJobSchema).readonly(), {
25597
- kind: "query",
25776
+ resumeForStorageMigration: method(StorageMigrationLeaseInputSchema, z.object({ resumed: z.literal(true) }), {
25777
+ kind: "mutation",
25598
25778
  auth: "admin"
25599
25779
  }),
25600
- cancelRelocate: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
25780
+ /** Re-resolve location roots after the coordinator changes defaults. */
25781
+ refreshStorageLocationsForMigration: method(StorageMigrationLeaseInputSchema, z.object({ refreshed: z.literal(true) }), {
25782
+ kind: "mutation",
25783
+ auth: "admin"
25784
+ }),
25785
+ /** Internal mover, callable only by the storage-migration coordinator. */
25786
+ startStorageMigrationMove: method(StorageMigrationFootageMoveInputSchema, z.object({ jobId: z.string() }), {
25787
+ kind: "mutation",
25788
+ auth: "admin"
25789
+ }),
25790
+ getStorageMigrationMoveStatus: method(z.object({ jobId: z.string() }), RelocateJobSchema.nullable(), { auth: "admin" }),
25791
+ cancelStorageMigrationMove: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
25601
25792
  kind: "mutation",
25602
25793
  auth: "admin"
25603
25794
  })
@@ -28960,9 +29151,10 @@ var DeclaredDevices = class {
28960
29151
  }
28961
29152
  const integrationId = spec.integrationId ?? await this.ensureIntegration(spec.integrationName);
28962
29153
  const index = await this.readIndex();
29154
+ const live = await this.readLiveByStableId();
28963
29155
  const outcomes = [];
28964
29156
  for (const declaration of spec.devices) {
28965
- const outcome = await this.applyDeclaration(declaration, integrationId, index);
29157
+ const outcome = await this.applyDeclaration(declaration, integrationId, index, live);
28966
29158
  if (outcome !== null) outcomes.push(outcome);
28967
29159
  }
28968
29160
  return {
@@ -29008,6 +29200,26 @@ var DeclaredDevices = class {
29008
29200
  return new Map(rows.map((row) => [row.stableId, row]));
29009
29201
  }
29010
29202
  /**
29203
+ * Devices this kernel already has CONSTRUCTED, by stableId.
29204
+ *
29205
+ * Distinct from {@link readIndex}, and the distinction is the bug: the index
29206
+ * is persisted rows, this is live objects. A row without an object must be
29207
+ * adopted; an object must be left exactly as it is.
29208
+ *
29209
+ * Failure is non-fatal and deliberately so — an empty map degrades to the
29210
+ * previous behaviour (attempt the adopt) rather than skipping a device that
29211
+ * genuinely needs bringing up.
29212
+ */
29213
+ async readLiveByStableId() {
29214
+ try {
29215
+ const devices = await this.ports.devices.getAll();
29216
+ return new Map(devices.map((device) => [device.stableId, device]));
29217
+ } catch (err) {
29218
+ this.ports.logger.warn("could not read live devices — falling back to adopt-by-row", { meta: { error: err instanceof Error ? err.message : String(err) } });
29219
+ return /* @__PURE__ */ new Map();
29220
+ }
29221
+ }
29222
+ /**
29011
29223
  * One declaration: adopt what exists, create what does not.
29012
29224
  *
29013
29225
  * The create branch is the destructive one — it seeds `initialMeta`, and
@@ -29016,8 +29228,15 @@ var DeclaredDevices = class {
29016
29228
  * the declared name over the operator's rename. D49: that branch needs a
29017
29229
  * second read to agree.
29018
29230
  */
29019
- async applyDeclaration(declaration, integrationId, index) {
29231
+ async applyDeclaration(declaration, integrationId, index, live) {
29020
29232
  try {
29233
+ const alreadyLive = live.get(declaration.stableId);
29234
+ if (alreadyLive !== void 0) return {
29235
+ stableId: declaration.stableId,
29236
+ deviceId: alreadyLive.id,
29237
+ device: alreadyLive,
29238
+ created: false
29239
+ };
29021
29240
  let existing = index.get(declaration.stableId);
29022
29241
  if (existing === void 0) {
29023
29242
  existing = (await this.readIndex()).get(declaration.stableId);
@@ -30560,6 +30779,7 @@ var CAPABILITY_NAMES = {
30560
30779
  ssoBridge: "sso-bridge",
30561
30780
  storage: "storage",
30562
30781
  storageEvictable: "storage-evictable",
30782
+ storageMigration: "storage-migration",
30563
30783
  storageProvider: "storage-provider",
30564
30784
  streamBroker: "stream-broker",
30565
30785
  streamCatalog: "stream-catalog",
@@ -31077,6 +31297,10 @@ var CAPABILITY_ROUTER_KEYS = [
31077
31297
  key: "storageEvictable",
31078
31298
  name: "storage-evictable"
31079
31299
  },
31300
+ {
31301
+ key: "storageMigration",
31302
+ name: "storage-migration"
31303
+ },
31080
31304
  {
31081
31305
  key: "storageProvider",
31082
31306
  name: "storage-provider"
@@ -31314,6 +31538,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
31314
31538
  ssoBridgeCapability,
31315
31539
  storageCapability,
31316
31540
  storageEvictableCapability,
31541
+ storageMigrationCapability,
31317
31542
  storageProviderCapability,
31318
31543
  streamBrokerCapability,
31319
31544
  streamCatalogCapability,
@@ -34344,7 +34569,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
34344
34569
  addonId: null,
34345
34570
  access: "create"
34346
34571
  },
34347
- "pipelineAnalytics.cancelMediaRelocate": {
34572
+ "pipelineAnalytics.cancelStorageMigrationMove": {
34348
34573
  capName: "pipeline-analytics",
34349
34574
  capScope: "device",
34350
34575
  addonId: null,
@@ -34416,12 +34641,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
34416
34641
  addonId: null,
34417
34642
  access: "view"
34418
34643
  },
34419
- "pipelineAnalytics.getMediaRelocateStatus": {
34420
- capName: "pipeline-analytics",
34421
- capScope: "device",
34422
- addonId: null,
34423
- access: "view"
34424
- },
34425
34644
  "pipelineAnalytics.getMotionEvents": {
34426
34645
  capName: "pipeline-analytics",
34427
34646
  capScope: "device",
@@ -34458,6 +34677,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
34458
34677
  addonId: null,
34459
34678
  access: "view"
34460
34679
  },
34680
+ "pipelineAnalytics.getStorageMigrationMoveStatus": {
34681
+ capName: "pipeline-analytics",
34682
+ capScope: "device",
34683
+ addonId: null,
34684
+ access: "view"
34685
+ },
34461
34686
  "pipelineAnalytics.getTrack": {
34462
34687
  capName: "pipeline-analytics",
34463
34688
  capScope: "device",
@@ -34536,6 +34761,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
34536
34761
  addonId: null,
34537
34762
  access: "view"
34538
34763
  },
34764
+ "pipelineAnalytics.pauseForStorageMigration": {
34765
+ capName: "pipeline-analytics",
34766
+ capScope: "device",
34767
+ addonId: null,
34768
+ access: "create"
34769
+ },
34539
34770
  "pipelineAnalytics.proposeRetrainAnnotations": {
34540
34771
  capName: "pipeline-analytics",
34541
34772
  capScope: "device",
@@ -34566,7 +34797,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
34566
34797
  addonId: null,
34567
34798
  access: "create"
34568
34799
  },
34569
- "pipelineAnalytics.relocateMedia": {
34800
+ "pipelineAnalytics.refreshStorageLocationsForMigration": {
34570
34801
  capName: "pipeline-analytics",
34571
34802
  capScope: "device",
34572
34803
  addonId: null,
@@ -34578,6 +34809,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
34578
34809
  addonId: null,
34579
34810
  access: "create"
34580
34811
  },
34812
+ "pipelineAnalytics.resumeForStorageMigration": {
34813
+ capName: "pipeline-analytics",
34814
+ capScope: "device",
34815
+ addonId: null,
34816
+ access: "create"
34817
+ },
34581
34818
  "pipelineAnalytics.saveRetrainAnnotations": {
34582
34819
  capName: "pipeline-analytics",
34583
34820
  capScope: "device",
@@ -34602,6 +34839,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
34602
34839
  addonId: null,
34603
34840
  access: "create"
34604
34841
  },
34842
+ "pipelineAnalytics.startStorageMigrationMove": {
34843
+ capName: "pipeline-analytics",
34844
+ capScope: "device",
34845
+ addonId: null,
34846
+ access: "create"
34847
+ },
34605
34848
  "pipelineAnalytics.wipeAllAnalytics": {
34606
34849
  capName: "pipeline-analytics",
34607
34850
  capScope: "device",
@@ -34968,6 +35211,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
34968
35211
  addonId: null,
34969
35212
  access: "view"
34970
35213
  },
35214
+ "pipelineOrchestrator.pauseForStorageMigration": {
35215
+ capName: "pipeline-orchestrator",
35216
+ capScope: "system",
35217
+ addonId: null,
35218
+ access: "create"
35219
+ },
34971
35220
  "pipelineOrchestrator.rebalance": {
34972
35221
  capName: "pipeline-orchestrator",
34973
35222
  capScope: "system",
@@ -34992,6 +35241,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
34992
35241
  addonId: null,
34993
35242
  access: "view"
34994
35243
  },
35244
+ "pipelineOrchestrator.resumeForStorageMigration": {
35245
+ capName: "pipeline-orchestrator",
35246
+ capScope: "system",
35247
+ addonId: null,
35248
+ access: "create"
35249
+ },
34995
35250
  "pipelineOrchestrator.saveTemplate": {
34996
35251
  capName: "pipeline-orchestrator",
34997
35252
  capScope: "system",
@@ -35388,7 +35643,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
35388
35643
  addonId: null,
35389
35644
  access: "create"
35390
35645
  },
35391
- "recording.cancelRelocate": {
35646
+ "recording.cancelStorageMigrationMove": {
35392
35647
  capName: "recording",
35393
35648
  capScope: "system",
35394
35649
  addonId: null,
@@ -35424,7 +35679,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
35424
35679
  addonId: null,
35425
35680
  access: "view"
35426
35681
  },
35427
- "recording.getRelocateStatus": {
35682
+ "recording.getStorageMigrationMoveStatus": {
35428
35683
  capName: "recording",
35429
35684
  capScope: "system",
35430
35685
  addonId: null,
@@ -35448,6 +35703,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
35448
35703
  addonId: null,
35449
35704
  access: "view"
35450
35705
  },
35706
+ "recording.pauseForStorageMigration": {
35707
+ capName: "recording",
35708
+ capScope: "system",
35709
+ addonId: null,
35710
+ access: "create"
35711
+ },
35451
35712
  "recording.pruneFootage": {
35452
35713
  capName: "recording",
35453
35714
  capScope: "system",
@@ -35466,7 +35727,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
35466
35727
  addonId: null,
35467
35728
  access: "view"
35468
35729
  },
35469
- "recording.relocateFootage": {
35730
+ "recording.refreshStorageLocationsForMigration": {
35470
35731
  capName: "recording",
35471
35732
  capScope: "system",
35472
35733
  addonId: null,
@@ -35490,12 +35751,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
35490
35751
  addonId: null,
35491
35752
  access: "create"
35492
35753
  },
35754
+ "recording.resumeForStorageMigration": {
35755
+ capName: "recording",
35756
+ capScope: "system",
35757
+ addonId: null,
35758
+ access: "create"
35759
+ },
35493
35760
  "recording.setDeviceConfig": {
35494
35761
  capName: "recording",
35495
35762
  capScope: "system",
35496
35763
  addonId: null,
35497
35764
  access: "create"
35498
35765
  },
35766
+ "recording.startStorageMigrationMove": {
35767
+ capName: "recording",
35768
+ capScope: "system",
35769
+ addonId: null,
35770
+ access: "create"
35771
+ },
35499
35772
  "recordingExport.cancelExport": {
35500
35773
  capName: "recordingExport",
35501
35774
  capScope: "system",
@@ -35886,6 +36159,30 @@ var METHOD_ACCESS_MAP = Object.freeze({
35886
36159
  addonId: null,
35887
36160
  access: "view"
35888
36161
  },
36162
+ "storageMigration.cancel": {
36163
+ capName: "storage-migration",
36164
+ capScope: "system",
36165
+ addonId: null,
36166
+ access: "create"
36167
+ },
36168
+ "storageMigration.plan": {
36169
+ capName: "storage-migration",
36170
+ capScope: "system",
36171
+ addonId: null,
36172
+ access: "view"
36173
+ },
36174
+ "storageMigration.start": {
36175
+ capName: "storage-migration",
36176
+ capScope: "system",
36177
+ addonId: null,
36178
+ access: "create"
36179
+ },
36180
+ "storageMigration.status": {
36181
+ capName: "storage-migration",
36182
+ capScope: "system",
36183
+ addonId: null,
36184
+ access: "view"
36185
+ },
35889
36186
  "storageProvider.abortUpload": {
35890
36187
  capName: "storage-provider",
35891
36188
  capScope: "system",
@@ -36264,12 +36561,42 @@ var METHOD_ACCESS_MAP = Object.freeze({
36264
36561
  addonId: null,
36265
36562
  access: "create"
36266
36563
  },
36564
+ "terminalSession.adoptLegacyMonitor": {
36565
+ capName: "terminal-session",
36566
+ capScope: "system",
36567
+ addonId: null,
36568
+ access: "create"
36569
+ },
36267
36570
  "terminalSession.close": {
36268
36571
  capName: "terminal-session",
36269
36572
  capScope: "system",
36270
36573
  addonId: null,
36271
36574
  access: "create"
36272
36575
  },
36576
+ "terminalSession.createInstance": {
36577
+ capName: "terminal-session",
36578
+ capScope: "system",
36579
+ addonId: null,
36580
+ access: "create"
36581
+ },
36582
+ "terminalSession.deleteInstance": {
36583
+ capName: "terminal-session",
36584
+ capScope: "system",
36585
+ addonId: null,
36586
+ access: "delete"
36587
+ },
36588
+ "terminalSession.listInstances": {
36589
+ capName: "terminal-session",
36590
+ capScope: "system",
36591
+ addonId: null,
36592
+ access: "view"
36593
+ },
36594
+ "terminalSession.listLegacyCameras": {
36595
+ capName: "terminal-session",
36596
+ capScope: "system",
36597
+ addonId: null,
36598
+ access: "view"
36599
+ },
36273
36600
  "terminalSession.listProfiles": {
36274
36601
  capName: "terminal-session",
36275
36602
  capScope: "system",
@@ -36300,6 +36627,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
36300
36627
  addonId: null,
36301
36628
  access: "create"
36302
36629
  },
36630
+ "terminalSession.setInstanceEnabled": {
36631
+ capName: "terminal-session",
36632
+ capScope: "system",
36633
+ addonId: null,
36634
+ access: "create"
36635
+ },
36303
36636
  "terminalSession.writeInput": {
36304
36637
  capName: "terminal-session",
36305
36638
  capScope: "system",
@@ -36901,6 +37234,7 @@ var KNOWN_CAP_NAMES = [
36901
37234
  "sso-bridge",
36902
37235
  "storage",
36903
37236
  "storage-evictable",
37237
+ "storage-migration",
36904
37238
  "storage-provider",
36905
37239
  "stream-broker",
36906
37240
  "stream-catalog",
@@ -37041,6 +37375,7 @@ var SYSTEM_CAP_NAMES = [
37041
37375
  "sso-bridge",
37042
37376
  "storage",
37043
37377
  "storage-evictable",
37378
+ "storage-migration",
37044
37379
  "storage-provider",
37045
37380
  "stream-broker",
37046
37381
  "system",
@@ -37534,6 +37869,8 @@ function createSystemProxy(api) {
37534
37869
  getDetectionConfigSchema: (input) => dispatch("pipelineExecutor", "getDetectionConfigSchema", "query", input)
37535
37870
  },
37536
37871
  pipelineOrchestrator: {
37872
+ pauseForStorageMigration: (input) => dispatch("pipelineOrchestrator", "pauseForStorageMigration", "mutation", input),
37873
+ resumeForStorageMigration: (input) => dispatch("pipelineOrchestrator", "resumeForStorageMigration", "mutation", input),
37537
37874
  rebalance: (input) => dispatch("pipelineOrchestrator", "rebalance", "mutation", input),
37538
37875
  getPipelineAssignments: (input) => dispatch("pipelineOrchestrator", "getPipelineAssignments", "query", input),
37539
37876
  getAgentLoad: (input) => dispatch("pipelineOrchestrator", "getAgentLoad", "query", input),
@@ -37588,9 +37925,12 @@ function createSystemProxy(api) {
37588
37925
  recording: {
37589
37926
  getStorageUsage: (input) => dispatch("recording", "getStorageUsage", "query", input),
37590
37927
  listOpsLog: (input) => dispatch("recording", "listOpsLog", "query", input),
37591
- relocateFootage: (input) => dispatch("recording", "relocateFootage", "mutation", input),
37592
- getRelocateStatus: (input) => dispatch("recording", "getRelocateStatus", "query", input),
37593
- cancelRelocate: (input) => dispatch("recording", "cancelRelocate", "mutation", input)
37928
+ pauseForStorageMigration: (input) => dispatch("recording", "pauseForStorageMigration", "mutation", input),
37929
+ resumeForStorageMigration: (input) => dispatch("recording", "resumeForStorageMigration", "mutation", input),
37930
+ refreshStorageLocationsForMigration: (input) => dispatch("recording", "refreshStorageLocationsForMigration", "mutation", input),
37931
+ startStorageMigrationMove: (input) => dispatch("recording", "startStorageMigrationMove", "mutation", input),
37932
+ getStorageMigrationMoveStatus: (input) => dispatch("recording", "getStorageMigrationMoveStatus", "query", input),
37933
+ cancelStorageMigrationMove: (input) => dispatch("recording", "cancelStorageMigrationMove", "mutation", input)
37594
37934
  },
37595
37935
  recordingExport: {
37596
37936
  getExport: (input) => dispatch("recordingExport", "getExport", "query", input),
@@ -37643,6 +37983,12 @@ function createSystemProxy(api) {
37643
37983
  listProviders: (input) => dispatch("storage", "listProviders", "query", input),
37644
37984
  testConfig: (input) => dispatch("storage", "testConfig", "query", input)
37645
37985
  },
37986
+ storageMigration: {
37987
+ plan: (input) => dispatch("storageMigration", "plan", "query", input),
37988
+ start: (input) => dispatch("storageMigration", "start", "mutation", input),
37989
+ status: (input) => dispatch("storageMigration", "status", "query", input),
37990
+ cancel: (input) => dispatch("storageMigration", "cancel", "mutation", input)
37991
+ },
37646
37992
  streamBroker: {
37647
37993
  fetchEventMedia: (input) => dispatch("streamBroker", "fetchEventMedia", "mutation", input),
37648
37994
  listAllCameraStreams: (input) => dispatch("streamBroker", "listAllCameraStreams", "query", input),
@@ -37682,6 +38028,12 @@ function createSystemProxy(api) {
37682
38028
  },
37683
38029
  terminalSession: {
37684
38030
  listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
38031
+ listInstances: (input) => dispatch("terminalSession", "listInstances", "query", input),
38032
+ createInstance: (input) => dispatch("terminalSession", "createInstance", "mutation", input),
38033
+ deleteInstance: (input) => dispatch("terminalSession", "deleteInstance", "mutation", input),
38034
+ setInstanceEnabled: (input) => dispatch("terminalSession", "setInstanceEnabled", "mutation", input),
38035
+ listLegacyCameras: (input) => dispatch("terminalSession", "listLegacyCameras", "query", input),
38036
+ adoptLegacyMonitor: (input) => dispatch("terminalSession", "adoptLegacyMonitor", "mutation", input),
37685
38037
  listSessions: (input) => dispatch("terminalSession", "listSessions", "query", input),
37686
38038
  openSession: (input) => dispatch("terminalSession", "openSession", "mutation", input),
37687
38039
  resize: (input) => dispatch("terminalSession", "resize", "mutation", input),
@@ -39956,4 +40308,4 @@ function enumerateInferenceDevices(hw) {
39956
40308
  return out;
39957
40309
  }
39958
40310
  //#endregion
39959
- export { ACCESSORY_LABEL, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
40311
+ export { ACCESSORY_LABEL, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };