@camstack/types 1.2.243 → 1.2.245

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,4 +1,4 @@
1
- import { $ as AudioStreamPickSchema, A as DeviceType, At as createDurableState, B as optionalMethod, Bt as AUDIO_CHUNK_FORMATS, C as customAction, Ct as parseProfileBrokerId, D as ChargingStatus, Dt as DisposerChain, E as deviceCustomAction, Et as SHARE_VIEW_KINDS, F as PROVIDER_PIN_FIELD, Ft as WELL_KNOWN_TAB_MAP, G as readNodePin, H as systemMethod, Ht as expandAudioChunkToF32le, I as event, It as collectHydratedFieldEntries, J as ReadinessTimeoutError, K as toNodeId, L as expandCapMethods, Lt as collectHydratedFieldValues, M as DEFAULT_RUNTIME_STATE_DURABILITY, Mt as emitReadiness, N as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Nt as isEvent, O as DeviceFeature, Ot as BaseAddon, P as DEVICE_STATUS_METHOD, Pt as WELL_KNOWN_TABS, Q as AudioChunkFormatSchema, R as isDeviceConfigCap, Rt as hydrateSchema, S as DEVICE_CHILDREN_BATCH_MAX, St as makeSourceBrokerId, T as describeCustomActions, Tt as DATAPLANE_SECRET_HEADER, U as CAP_NODE_PIN_CONTEXT_KEY, Ut as isAudioChunkFormat, V as resolveCapMount, Vt as audioChunkBytesPerSample, W as nodePin, X as readinessKey, Y as emitDownForOwnedCaps, Z as scopeKey, _ as createMirrorSource, _t as SubscribeAudioChunksInputSchema, a as asJsonObject, at as CamStreamResolutionSchema, b as deviceOpsCapability, bt as SubscribeFramesResultSchema, c as parseJsonArray, ct as DecodedFrameSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as FrameHandleSchema, et as BrokerStatsSchema, f as DEVICE_SCOPED_CAPS, ft as ProfileRtspEntrySchema, g as createLazyTrpcSource, gt as StreamSourceSchema, h as createEventBusSliceSource, ht as StreamSourceEntrySchema, i as asJsonArray, it as CamStreamKindSchema, j as adminUiCapability, jt as createEvent, k as DeviceRole, kt as normalizeAddonInitResult, l as parseJsonObject, lt as EncodedPacketSchema, m as createDeviceProxy, mt as ProfileSlotStatusSchema, n as sleepCancellable, nt as CAM_PROFILE_ORDER, o as asNumber, ot as CameraStreamSchema, p as isDeviceScopedCap, pt as ProfileSlotSchema, q as ReadinessRegistry, r as asBoolean, rt as CamProfileSchema, s as asString, st as DecodedAudioChunkSchema, t as sleep, tt as BrokerStatusSchema, u as parseJsonUnknown, ut as FrameHandleFormatSchema, v as createSliceHandle, vt as SubscribeAudioChunksResultSchema, w as defineCustomActions, wt as selectAssignedProfileSlots, x as viewerUiCapability, xt as makeProfileBrokerId, y as RawStateResultSchema, yt as SubscribeFramesInputSchema, z as method, zt as resolveHydratedFieldValue } from "./sleep-De1BvmWo.mjs";
1
+ import { $ as AudioStreamPickSchema, A as DeviceType, At as createDurableState, B as optionalMethod, Bt as AUDIO_CHUNK_FORMATS, C as customAction, Ct as parseProfileBrokerId, D as ChargingStatus, Dt as DisposerChain, E as deviceCustomAction, Et as SHARE_VIEW_KINDS, F as PROVIDER_PIN_FIELD, Ft as WELL_KNOWN_TAB_MAP, G as readNodePin, H as systemMethod, Ht as expandAudioChunkToF32le, I as event, It as collectHydratedFieldEntries, J as ReadinessTimeoutError, K as toNodeId, L as expandCapMethods, Lt as collectHydratedFieldValues, M as DEFAULT_RUNTIME_STATE_DURABILITY, Mt as emitReadiness, N as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Nt as isEvent, O as DeviceFeature, Ot as BaseAddon, P as DEVICE_STATUS_METHOD, Pt as WELL_KNOWN_TABS, Q as AudioChunkFormatSchema, R as isDeviceConfigCap, Rt as hydrateSchema, S as DEVICE_CHILDREN_BATCH_MAX, St as makeSourceBrokerId, T as describeCustomActions, Tt as DATAPLANE_SECRET_HEADER, U as CAP_NODE_PIN_CONTEXT_KEY, Ut as isAudioChunkFormat, V as resolveCapMount, Vt as audioChunkBytesPerSample, W as nodePin, X as readinessKey, Y as emitDownForOwnedCaps, Z as scopeKey, _ as createMirrorSource, _t as SubscribeAudioChunksInputSchema, a as asJsonObject, at as CamStreamResolutionSchema, b as deviceOpsCapability, bt as SubscribeFramesResultSchema, c as parseJsonArray, ct as DecodedFrameSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as FrameHandleSchema, et as BrokerStatsSchema, f as DEVICE_SCOPED_CAPS, ft as ProfileRtspEntrySchema, g as createLazyTrpcSource, gt as StreamSourceSchema, h as createEventBusSliceSource, ht as StreamSourceEntrySchema, i as asJsonArray, it as CamStreamKindSchema, j as adminUiCapability, jt as createEvent, k as DeviceRole, kt as normalizeAddonInitResult, l as parseJsonObject, lt as EncodedPacketSchema, m as createDeviceProxy, mt as ProfileSlotStatusSchema, n as sleepCancellable, nt as CAM_PROFILE_ORDER, o as asNumber, ot as CameraStreamSchema, p as isDeviceScopedCap, pt as ProfileSlotSchema, q as ReadinessRegistry, r as asBoolean, rt as CamProfileSchema, s as asString, st as DecodedAudioChunkSchema, t as sleep, tt as BrokerStatusSchema, u as parseJsonUnknown, ut as FrameHandleFormatSchema, v as createSliceHandle, vt as SubscribeAudioChunksResultSchema, w as defineCustomActions, wt as selectAssignedProfileSlots, x as viewerUiCapability, xt as makeProfileBrokerId, y as RawStateResultSchema, yt as SubscribeFramesInputSchema, z as method, zt as resolveHydratedFieldValue } from "./sleep-i3eUVc-d.mjs";
2
2
  import { t as EventCategory } from "./event-category-BVDXG4tB.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, p as resolveStreamMaps, r as AUDIO_PRESETS, s as buildInputArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-CPK2Dy60.mjs";
4
4
  import { EventSourceType } from "./enums.mjs";
@@ -11552,6 +11552,248 @@ var deviceAdoptionCapability = {
11552
11552
  }
11553
11553
  };
11554
11554
  //#endregion
11555
+ //#region src/capabilities/device-admin-link.cap.ts
11556
+ /**
11557
+ * device-admin-link — "this device has a management page of its own, and here
11558
+ * is its address".
11559
+ *
11560
+ * ## Why this is not a `deviceConfig` cap
11561
+ *
11562
+ * There is nothing to edit. A `deviceConfig` cap (D14) exists so the framework
11563
+ * can DERIVE a settings form from `getOptions` + `getStatus` and route a flat
11564
+ * patch back through a setter; it costs a `builderId` reducer in
11565
+ * `device-config-contribution.ts` and a `*-config-schema.ts` beside it, and it
11566
+ * renders a form section. This cap answers ONE question with ONE read and
11567
+ * renders a button. Nothing about it is a form, so it carries no `deviceConfig`
11568
+ * block, no `settings`, no `runtimeState` and no reducer — exactly like
11569
+ * `reboot`, the other pure-RPC device-native cap.
11570
+ *
11571
+ * ## Absent, and the difference between "no page" and "we cannot say"
11572
+ *
11573
+ * The two are answered at DIFFERENT layers, on purpose:
11574
+ *
11575
+ * - **"We cannot say"** → the provider never registers the cap for that
11576
+ * device. A VeSync humidifier, a Petkit feeder, a Dreame vacuum and a Dreo
11577
+ * fan are reached only through a vendor cloud; there is no address to hand
11578
+ * out and no page to open. A Tuya plug, a Wyze camera and a Gree air
11579
+ * conditioner DO have a LAN IP, and still have no HTTP management page
11580
+ * behind it. None of them register, so `deviceManager.getBindings` never
11581
+ * lists the cap and no surface asks.
11582
+ * - **"This device has no page, and I know that"** → the provider registers
11583
+ * and `getAdminLink` returns `null`. This is the answer for a device whose
11584
+ * sibling DOES have a page: a Reolink battery camera reached over UDP by
11585
+ * `uid` with a blank `host`, an Ecowitt gateway configured in `listener`
11586
+ * transport, a Home Assistant broker authenticated by supervisor token
11587
+ * (which carries no `baseUrl` at all).
11588
+ *
11589
+ * Both draw NOTHING. A button that opens a browser error is worse than no
11590
+ * button, and D62 is the same rule from the other side: an off switch is
11591
+ * reported off, never made to look broken. There is no third state where the
11592
+ * UI renders a disabled button "because the device might have a page".
11593
+ *
11594
+ * ## The URL never carries credentials
11595
+ *
11596
+ * Not in userinfo, not in a query string. Every provider builds through
11597
+ * `buildDeviceAdminUrl` (`device-admin-link-url.ts`), which takes host, port,
11598
+ * scheme and path as separate arguments — there is no parameter a secret could
11599
+ * arrive in — and re-checks its own output for the `scheme://user:pass@` shape
11600
+ * that `scripts/check-no-credential-urls-in-fixtures.ts` bans from recorded
11601
+ * output. `scripts/check-admin-link-builder-is-the-only-url-source.ts` is what
11602
+ * keeps providers from hand-rolling one anyway.
11603
+ *
11604
+ * This matters here more than anywhere else in the repo, because every provider
11605
+ * that knows a device's host knows its PASSWORD too: `{ host, port, username,
11606
+ * password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
11607
+ * and `http://admin:hunter2@192.168.50.139/` is a URL a browser accepts. The
11608
+ * camera's own page will ask for its own login. That is correct, and pre-
11609
+ * filling it is the operator's business, not ours.
11610
+ *
11611
+ * ## It is a LAN fact
11612
+ *
11613
+ * The URL addresses the device where the NODE can see it. It is not proxied,
11614
+ * not made reachable from outside, and not sent anywhere. A surface renders it
11615
+ * as a link the operator's own browser follows, on the operator's own network,
11616
+ * or renders nothing.
11617
+ */
11618
+ /**
11619
+ * Whose page is it. The distinction is for the OPERATOR, who needs to know
11620
+ * before clicking whether he is about to land on a camera's own web server or
11621
+ * inside Home Assistant.
11622
+ */
11623
+ var AdminLinkTargetEnum = z.enum(["device", "integration"]);
11624
+ var DeviceAdminLinkSchema = z.object({
11625
+ /**
11626
+ * Absolute `http(s)://` URL. Built by `buildDeviceAdminUrl` and therefore
11627
+ * free of userinfo and of any credential-shaped query key.
11628
+ */
11629
+ url: z.string(),
11630
+ /**
11631
+ * What the surface calls it — "Web UI", "Home Assistant", "UniFi controller".
11632
+ * The PROVIDER names it, because only the provider knows what the page is;
11633
+ * a UI that invented the label from the addon id would call the Home
11634
+ * Assistant device page "Provider Homeassistant".
11635
+ */
11636
+ label: z.string(),
11637
+ target: AdminLinkTargetEnum,
11638
+ /**
11639
+ * Host the URL points at, without scheme, port or path — for the tooltip, so
11640
+ * an operator can see WHERE the button goes before he follows it. Redundant
11641
+ * with `url` by construction; carried separately so no surface has to parse
11642
+ * a URL to show it.
11643
+ */
11644
+ host: z.string()
11645
+ });
11646
+ var deviceAdminLinkCapability = {
11647
+ name: "device-admin-link",
11648
+ scope: "device",
11649
+ deviceNative: true,
11650
+ mode: "singleton",
11651
+ methods: {
11652
+ /**
11653
+ * The device's management page, or `null` when this device has none.
11654
+ *
11655
+ * `auth: 'admin'` deliberately. This is administration, not actuation —
11656
+ * the same bucket as `reboot` and `camera-credentials`, and explicitly NOT
11657
+ * the actuation set `scripts/check-actuation-not-admin.ts` protects (D403).
11658
+ * The URL is also a statement about the LAN, which a household member with
11659
+ * a `view` grant on a light has no reason to be handed.
11660
+ *
11661
+ * The surfaces gate on the QUERY, never on a role they guessed: a caller
11662
+ * without the right loses the query and draws nothing, which is the same
11663
+ * thing a device with no page draws. There is no path on which a button
11664
+ * appears and then fails — the D403 failure mode, from the other end.
11665
+ */
11666
+ getAdminLink: method(z.object({ deviceId: z.number().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" }) }
11667
+ };
11668
+ //#endregion
11669
+ //#region src/capabilities/device-admin-link-url.ts
11670
+ /**
11671
+ * Query keys that may never appear on an admin link. A credential smuggled as
11672
+ * `?password=` is the same leak as userinfo, in a form the userinfo check
11673
+ * cannot see: it survives copy-paste, referrer headers and proxy logs
11674
+ * identically.
11675
+ */
11676
+ var CREDENTIAL_QUERY_KEYS = [
11677
+ "password",
11678
+ "passwd",
11679
+ "pwd",
11680
+ "pass",
11681
+ "user",
11682
+ "username",
11683
+ "usr",
11684
+ "login",
11685
+ "token",
11686
+ "access_token",
11687
+ "auth",
11688
+ "authorization",
11689
+ "apikey",
11690
+ "api_key",
11691
+ "secret",
11692
+ "credential",
11693
+ "credentials",
11694
+ "session",
11695
+ "sessionid",
11696
+ "key"
11697
+ ];
11698
+ /**
11699
+ * The same userinfo shape `scripts/check-no-credential-urls-in-fixtures.ts`
11700
+ * scans recorded fixtures for, applied to what we are about to EMIT. Kept
11701
+ * structurally identical on purpose: a URL this function returns is a URL that
11702
+ * guard would pass.
11703
+ */
11704
+ var CREDENTIAL_URL = /[a-z][a-z0-9+.-]*:\/\/[^/\s:@'"]+:[^/\s:@'"]+@/i;
11705
+ /** A host that is safe to place in an authority component verbatim. */
11706
+ var PLAIN_HOST = /^[a-zA-Z0-9._-]+$/;
11707
+ /** A bracketed IPv6 literal, the only other authority form we emit. */
11708
+ var IPV6_HOST = /^\[[0-9a-fA-F:.]+\]$/;
11709
+ function defaultPortFor(scheme) {
11710
+ return scheme === "https" ? 443 : 80;
11711
+ }
11712
+ /**
11713
+ * Build the admin-page URL, or refuse by name.
11714
+ *
11715
+ * The refusal is never thrown: a provider answering "no page for this device"
11716
+ * is an ordinary answer (`getAdminLink` → `null`), and a throw here would turn
11717
+ * a missing host on one device into a failed query for the whole surface.
11718
+ */
11719
+ function buildDeviceAdminUrl(parts) {
11720
+ const host = parts.host.trim();
11721
+ if (host.length === 0) return {
11722
+ ok: false,
11723
+ reason: "empty-host"
11724
+ };
11725
+ if (host.includes("@")) return {
11726
+ ok: false,
11727
+ reason: "host-carries-userinfo"
11728
+ };
11729
+ if (!PLAIN_HOST.test(host) && !IPV6_HOST.test(host)) return {
11730
+ ok: false,
11731
+ reason: "host-not-plain"
11732
+ };
11733
+ if (parts.port !== null) {
11734
+ if (!Number.isInteger(parts.port) || parts.port < 1 || parts.port > 65535) return {
11735
+ ok: false,
11736
+ reason: "port-out-of-range"
11737
+ };
11738
+ }
11739
+ if (!parts.path.startsWith("/")) return {
11740
+ ok: false,
11741
+ reason: "path-not-absolute"
11742
+ };
11743
+ const query = parts.query ?? {};
11744
+ for (const key of Object.keys(query)) if (CREDENTIAL_QUERY_KEYS.includes(key.toLowerCase())) return {
11745
+ ok: false,
11746
+ reason: "credential-query-key"
11747
+ };
11748
+ const authority = parts.port === null || parts.port === defaultPortFor(parts.scheme) ? host : `${host}:${String(parts.port)}`;
11749
+ const search = new URLSearchParams();
11750
+ for (const [key, value] of Object.entries(query)) search.append(key, value);
11751
+ const suffix = search.size > 0 ? `?${search.toString()}` : "";
11752
+ const url = `${parts.scheme}://${authority}${parts.path}${suffix}`;
11753
+ if (CREDENTIAL_URL.test(url)) return {
11754
+ ok: false,
11755
+ reason: "userinfo-in-result"
11756
+ };
11757
+ return {
11758
+ ok: true,
11759
+ url
11760
+ };
11761
+ }
11762
+ function parseAdminBase(baseUrl) {
11763
+ const raw = baseUrl.trim();
11764
+ if (raw.length === 0) return {
11765
+ ok: false,
11766
+ reason: "empty"
11767
+ };
11768
+ let parsed;
11769
+ try {
11770
+ parsed = new URL(raw);
11771
+ } catch {
11772
+ return {
11773
+ ok: false,
11774
+ reason: "unparseable"
11775
+ };
11776
+ }
11777
+ if (parsed.username !== "" || parsed.password !== "") return {
11778
+ ok: false,
11779
+ reason: "base-carries-userinfo"
11780
+ };
11781
+ if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return {
11782
+ ok: false,
11783
+ reason: "scheme-not-http"
11784
+ };
11785
+ const scheme = parsed.protocol === "https:" ? "https" : "http";
11786
+ const port = parsed.port === "" ? null : Number(parsed.port);
11787
+ const basePath = parsed.pathname === "/" ? "" : parsed.pathname.replace(/\/+$/, "");
11788
+ return {
11789
+ ok: true,
11790
+ host: parsed.hostname,
11791
+ port,
11792
+ scheme,
11793
+ basePath
11794
+ };
11795
+ }
11796
+ //#endregion
11555
11797
  //#region src/capabilities/device-export.cap.ts
11556
11798
  /**
11557
11799
  * `device-export` — collection cap for addons that export camstack
@@ -27259,6 +27501,41 @@ var ClipStillRefusalCodeSchema = z.enum([
27259
27501
  var ClipStillDispositionSchema = z.enum(["deferred", "final"]);
27260
27502
  /** The camera's / provider's own words. Kept verbatim, never parsed. */
27261
27503
  var CLIP_STILL_REASON_HEADER = "x-camstack-reason";
27504
+ /** Longest reason a header carries. Beyond this the sentence is cut. */
27505
+ var CLIP_REASON_HEADER_MAX = 500;
27506
+ /**
27507
+ * Make a refusal sentence safe to put in an HTTP header.
27508
+ *
27509
+ * **An HTTP header value is Latin-1.** Node throws `Invalid character in
27510
+ * header content` on anything above U+00FF, the handler dies mid-response,
27511
+ * and the client gets a socket hang up — no status, no reason, nothing. The
27512
+ * mechanism that exists to EXPLAIN a refusal is then the thing that silences
27513
+ * it, and the surface shows "nothing happened".
27514
+ *
27515
+ * That is not hypothetical: measured 2026-09-23 on 1436, a Hikvision replay
27516
+ * refusal read `SETUP of the video track answered 500 — the camera refused
27517
+ * this replay`, and the EM DASH in it threw on every clip the operator
27518
+ * opened. This repository writes its refusals in prose, and its prose uses
27519
+ * `—`, `’` and `…` everywhere, so every reason string is a candidate.
27520
+ *
27521
+ * Substitutes rather than strips: an operator reading a log or a response
27522
+ * should get a readable sentence, not one with holes in it. The typographic
27523
+ * characters this repo actually writes have exact ASCII equivalents; anything
27524
+ * else non-Latin-1 becomes `?`, which is visible rather than silent. Control
27525
+ * characters go too — a newline in a header value is a response-splitting
27526
+ * bug, not a formatting one.
27527
+ */
27528
+ function clipReasonHeaderValue(reason) {
27529
+ const folded = reason.replace(/[\u2013\u2014\u2212]/g, "-").replace(/[\u2018\u2019\u201b]/g, "'").replace(/[\u201c\u201d]/g, "\"").replace(/\u2026/g, "...").replace(/[\u00a0\u2007\u202f]/g, " ");
27530
+ let out = "";
27531
+ for (const ch of folded) {
27532
+ const code = ch.codePointAt(0) ?? 0;
27533
+ if (code < 32 || code === 127) out += " ";
27534
+ else if (code > 255) out += "?";
27535
+ else out += ch;
27536
+ }
27537
+ return out.slice(0, 500).trim();
27538
+ }
27262
27539
  /** One {@link ClipStillRefusalCodeSchema} token, alone. */
27263
27540
  var CLIP_STILL_REASON_CODE_HEADER = "x-camstack-reason-code";
27264
27541
  /** One {@link ClipStillDispositionSchema} token, alone. */
@@ -30622,6 +30899,632 @@ var dayNightCapability = {
30622
30899
  volatileStateFields: ["lastFetchedAt"]
30623
30900
  };
30624
30901
  //#endregion
30902
+ //#region src/capabilities/recording-onboard.cap.ts
30903
+ /**
30904
+ * Vendor-neutral **onboard** recording + storage cap — what the CAMERA
30905
+ * writes to the CAMERA's own card, on the camera's own schedule.
30906
+ *
30907
+ * This is NOT `recording.cap.ts`. That one is CamStack's recorder: our
30908
+ * footage ledger, our storage locations, our retention. This one has a
30909
+ * different authority — the camera's firmware — and per D62 it stores
30910
+ * nothing of its own. Every value here is read from the camera and every
30911
+ * write goes back to the camera; there is no CamStack-side mirror that
30912
+ * could disagree with the device.
30913
+ *
30914
+ * ## One shape, two firmwares
30915
+ *
30916
+ * Measured 2026-09-22 against the live fleet:
30917
+ *
30918
+ * | fact | Hikvision (ISAPI) | Reolink (Baichuan) |
30919
+ * | --- | --- | --- |
30920
+ * | storage | `ContentMgmt/Storage` `<hdd>` rows: status, capacity, freeSpace (MB) | `getHddInfoList` (cmd 102): `mount`, `format`, `capacity` GB + `capacityM` MB remainder |
30921
+ * | tracks | several (101 **and** 103 on both 1436 and 3833), each with its own schedule | one per channel |
30922
+ * | schedule | per track, 7 `ScheduleAction` blocks: DayOfWeek + TimeOfDay range + ONE `ActionRecordingMode` | per trigger type, a 168-char weekly HOUR mask |
30923
+ * | triggers | `CMR`, `MOTION` | `Normal`, `MD`, `people`, `vehicle`, `dog_cat`, `crossline`, `intrude`, `loitering` |
30924
+ * | pre-record | `PreRecordTimeSeconds` | `preRecordTime` |
30925
+ * | post-record | `PostRecordTimeSeconds` | `recordDelayTime` |
30926
+ * | overwrite | per track `LoopEnable` | `cycle`, with `cycleList` enumerating the accepted values |
30927
+ * | segment length | not exposed on V5.7.1 | `packageTime` (minutes) |
30928
+ *
30929
+ * The two schedule models look different and are the same thing in
30930
+ * different coordinates: both answer "for this trigger, during which
30931
+ * weekly windows does the camera record". {@link RecordWindow} is that
30932
+ * question in one shape — Hikvision's ranges map straight onto it,
30933
+ * Reolink's mask expands into hour-aligned windows.
30934
+ *
30935
+ * ## Union, not intersection
30936
+ *
30937
+ * **The same fields exist on every camera.** What differs per device is
30938
+ * which VALUES that device accepts, and that is what {@link
30939
+ * RecordingOnboardOptions} reports — a `{ readable, writable, reason }`
30940
+ * per field plus the schedule's own limits. A control a camera cannot
30941
+ * honour is rendered DISABLED WITH ITS REASON, never missing and never
30942
+ * dead: disabled must not look like broken.
30943
+ *
30944
+ * ## Refusal by name
30945
+ *
30946
+ * A write a camera cannot honour is refused with a sentence the operator
30947
+ * can read — never accepted and dropped. Both providers refuse through
30948
+ * {@link describeOnboardRefusal}, so the vocabulary is one function and
30949
+ * one test, not two hand-written vendor opinions.
30950
+ *
30951
+ * Follows the D14 `deviceConfig` archetype (see `stream-params.cap.ts`):
30952
+ * `getOptions` advertises per-camera availability, `getStatus` (auto-
30953
+ * injected from `status`) reports the live values, and a single
30954
+ * `setSettings` mutation applies a partial change. No hand-written
30955
+ * settings-contribution methods.
30956
+ */
30957
+ /**
30958
+ * What makes the camera start recording during a window.
30959
+ *
30960
+ * The union of both vendors' vocabularies. `continuous` is Hikvision's
30961
+ * `CMR` and Reolink's `Normal`; `motion` is `MOTION` / `MD`. The
30962
+ * object-class triggers are Reolink-only today and the smart-event ones
30963
+ * (`lineCrossing`, `intrusion`, `loitering`) are Reolink-only on the
30964
+ * firmwares measured — a camera that cannot record on a trigger simply
30965
+ * does not list it in `options.schedule.triggers`, and a window naming
30966
+ * it is REFUSED, not dropped.
30967
+ */
30968
+ var RecordTriggerSchema = z.enum([
30969
+ "continuous",
30970
+ "motion",
30971
+ "person",
30972
+ "vehicle",
30973
+ "animal",
30974
+ "lineCrossing",
30975
+ "intrusion",
30976
+ "loitering",
30977
+ "alarmInput"
30978
+ ]);
30979
+ /**
30980
+ * One weekly recording window: "on `day`, from `startMinute` to
30981
+ * `endMinute`, record on `trigger`".
30982
+ *
30983
+ * `day` is 0 = Monday … 6 = Sunday (ISO order, which is also the order
30984
+ * both firmwares enumerate). Minutes are local camera time since
30985
+ * midnight; `endMinute` may be 1440, meaning end of day — that is
30986
+ * Hikvision's literal `24:00` and Reolink's 24th mask slot, and
30987
+ * collapsing it to 0 would turn a whole-day window into an empty one.
30988
+ */
30989
+ var RecordWindowSchema = z.object({
30990
+ trigger: RecordTriggerSchema,
30991
+ day: z.number().int().min(0).max(6),
30992
+ startMinute: z.number().int().min(0).max(1439),
30993
+ endMinute: z.number().int().min(1).max(1440)
30994
+ });
30995
+ /** Status of one physical volume, as the camera itself describes it. */
30996
+ var OnboardStorageVolumeSchema = z.object({
30997
+ /** The camera's own id for the volume (`hdd/id`, Reolink `HddInfo/number`). */
30998
+ id: z.string(),
30999
+ /** The camera's own name for it, when it gives one (`hddName`). */
31000
+ label: z.string().optional(),
31001
+ status: z.enum([
31002
+ "ok",
31003
+ "unformatted",
31004
+ "error",
31005
+ "offline",
31006
+ "unknown"
31007
+ ]),
31008
+ /**
31009
+ * Total size in MB, or **null when the camera did not say**.
31010
+ *
31011
+ * Never 0 for an unreadable value: a measurement that failed is not a
31012
+ * measurement (D393), and a card whose size is unknown must not be
31013
+ * rendered as a card of size zero.
31014
+ */
31015
+ capacityMb: z.number().nullable(),
31016
+ /**
31017
+ * Free space in MB, or null when unknown.
31018
+ *
31019
+ * **Not a proxy for "has footage".** Measured 2026-09-22: 1436 and
31020
+ * 1439 both report exactly 11776 MB free — the fixed reserve a looping
31021
+ * card converges on once it has wrapped. At loop steady state the
31022
+ * number is identical whether the camera recorded yesterday or stopped
31023
+ * a month ago.
31024
+ */
31025
+ freeMb: z.number().nullable(),
31026
+ /** True when the camera reports the volume writable (`property` RW). */
31027
+ writable: z.boolean().optional()
31028
+ });
31029
+ /**
31030
+ * Whether the camera has usable onboard storage.
31031
+ *
31032
+ * Three states, never two: an unreadable answer is `unknown`, never
31033
+ * folded into `absent`. Folding a failed read into "no card" is how a
31034
+ * healthy camera gets reported as broken, and the inverse is how a
31035
+ * camera with no card reports `ok` and then an empty list (D393).
31036
+ */
31037
+ var OnboardStorageSchema = z.discriminatedUnion("kind", [
31038
+ z.object({
31039
+ kind: z.literal("present"),
31040
+ volumes: z.array(OnboardStorageVolumeSchema)
31041
+ }),
31042
+ z.object({
31043
+ kind: z.literal("absent"),
31044
+ reason: z.string()
31045
+ }),
31046
+ z.object({
31047
+ kind: z.literal("unknown"),
31048
+ reason: z.string()
31049
+ })
31050
+ ]);
31051
+ /**
31052
+ * One recording track the camera exposes. Read-only.
31053
+ *
31054
+ * Hikvision lists several — 1436 and 3833 each list 101 AND 103, with
31055
+ * DIFFERENT schedules (101 MOTION all day, 103 CMR 00:05–23:57) — so a
31056
+ * cap that reported one number for "the schedule" would be lying on
31057
+ * every Hikvision in the fleet. Reolink has exactly one per channel.
31058
+ *
31059
+ * There is deliberately **no `framerate`**. Hikvision declares it in the
31060
+ * track `Description` and it is WRONG: 1436 says `2.260000 fps` while
31061
+ * the media measures 12.55 fps. `codec` and `resolution` from the same
31062
+ * string ARE right — those are the only two worth surfacing.
31063
+ */
31064
+ var OnboardRecordTrackSchema = z.object({
31065
+ id: z.string(),
31066
+ enabled: z.boolean(),
31067
+ isVideo: z.boolean(),
31068
+ /** From the camera's own track description. Null when it does not say. */
31069
+ codec: z.string().nullable(),
31070
+ resolution: z.string().nullable(),
31071
+ /** Per-track overwrite flag, where the firmware keeps it per track. */
31072
+ overwriteWhenFull: z.boolean().nullable()
31073
+ });
31074
+ /**
31075
+ * What the camera is doing with its own storage, right now.
31076
+ *
31077
+ * Every scalar is nullable and **null means the camera did not answer**,
31078
+ * never a default. A form that seeds `0` from an unanswered read invites
31079
+ * the operator to save that 0 back onto the camera.
31080
+ */
31081
+ var RecordingOnboardStatusSchema = z.object({
31082
+ storage: OnboardStorageSchema,
31083
+ tracks: z.array(OnboardRecordTrackSchema),
31084
+ /**
31085
+ * The track the write path targets — the enabled VIDEO one. Null when
31086
+ * no track could be identified, which is itself a refusal reason.
31087
+ */
31088
+ primaryTrackId: z.string().nullable(),
31089
+ /** Master "record to the card at all" switch. */
31090
+ enabled: z.boolean().nullable(),
31091
+ overwriteWhenFull: z.boolean().nullable(),
31092
+ preRecordSec: z.number().nullable(),
31093
+ postRecordSec: z.number().nullable(),
31094
+ /** Length of one recorded file, in minutes. */
31095
+ segmentMinutes: z.number().nullable(),
31096
+ /** The primary track's weekly windows, flattened. */
31097
+ windows: z.array(RecordWindowSchema),
31098
+ /**
31099
+ * How many windows the camera described that CamStack could NOT read —
31100
+ * an unrecognised trigger, an unparseable clock, a weekday it does not
31101
+ * name.
31102
+ *
31103
+ * A dropped window is work the reader threw away, and a schedule that
31104
+ * silently shows fewer rows than the camera holds is how an operator
31105
+ * saves back a schedule shorter than the one they were looking at
31106
+ * (D391). Non-zero means the window list is INCOMPLETE and a write
31107
+ * that replaces it would delete what was not shown — which is why a
31108
+ * provider reporting a non-zero count also reports the schedule as not
31109
+ * writable.
31110
+ */
31111
+ unreadableWindows: z.number(),
31112
+ /**
31113
+ * The camera is scheduled to record and has NO usable storage.
31114
+ *
31115
+ * A first-class fact because it is the fleet's most common silent
31116
+ * defect: measured 2026-09-22, 1441 and 3831 are both motion-recording
31117
+ * to a card that is not there. Neither the schedule nor the storage
31118
+ * read says anything wrong on its own; only the pair does.
31119
+ */
31120
+ recordingToNowhere: z.boolean(),
31121
+ lastFetchedAt: z.number()
31122
+ });
31123
+ /** Numeric range descriptor — `{ min, max, step }` per the getOptions convention. */
31124
+ var RangeSchema = z.object({
31125
+ min: z.number(),
31126
+ max: z.number(),
31127
+ step: z.number()
31128
+ });
31129
+ /**
31130
+ * The values a camera actually takes for a numeric field, when they are a SET
31131
+ * rather than a range.
31132
+ *
31133
+ * `{min,max,step}` cannot say what these two firmwares do. Measured on 1436
31134
+ * (I91DN) on 2026-09-22 by writing each value and reading it back:
31135
+ *
31136
+ * - pre-record: `0, 5, 10, 15, 20, 25, 30` and `2147483647` (INT32_MAX, the
31137
+ * camera's "no limit" — `-1` and `4294967295` both land on it);
31138
+ * - post-record: `5, 10, 30, 60, 120, 300, 600`.
31139
+ *
31140
+ * Neither is expressible as a step: the first has a sentinel two billion away
31141
+ * from its neighbours, the second doubles and then jumps. A range that tried
31142
+ * would forbid values the camera takes AND permit values it silently replaces
31143
+ * with 5 — wrong in both directions at once.
31144
+ *
31145
+ * `sentinel` names the member that is not a duration, so a surface can render
31146
+ * "no limit" instead of `2147483647` seconds.
31147
+ */
31148
+ var AllowedValuesSchema = z.object({
31149
+ values: z.array(z.number()).min(1),
31150
+ sentinel: z.object({
31151
+ value: z.number(),
31152
+ meaning: z.enum(["no-limit", "disabled"])
31153
+ }).optional()
31154
+ });
31155
+ /**
31156
+ * Per-field availability on ONE camera.
31157
+ *
31158
+ * The field exists on every camera — this says whether this one can be
31159
+ * read and whether it can be written, and `reason` says why not when
31160
+ * either is false. The UI renders the control DISABLED with the reason
31161
+ * rather than hiding it, so a limitation is legible instead of looking
31162
+ * like a missing feature.
31163
+ */
31164
+ var OnboardFieldSupportSchema = z.object({
31165
+ readable: z.boolean(),
31166
+ writable: z.boolean(),
31167
+ /** Required whenever `readable` or `writable` is false. */
31168
+ reason: z.string().optional()
31169
+ });
31170
+ /** What this camera's schedule model can express. */
31171
+ var OnboardScheduleSupportSchema = z.object({
31172
+ support: OnboardFieldSupportSchema,
31173
+ /**
31174
+ * The smallest time step the camera can express, in minutes.
31175
+ *
31176
+ * Hikvision takes arbitrary minutes (`00:05:00`–`23:57:00` observed on
31177
+ * 1436's track 103). Reolink's schedule is a 7×24 HOUR mask, so 60. A
31178
+ * window whose edges are not a multiple of this is REFUSED rather than
31179
+ * quietly rounded — rounding is how an operator's 06:30 becomes 06:00
31180
+ * and nothing says so.
31181
+ */
31182
+ granularityMinutes: z.number(),
31183
+ /** Triggers this camera can record on. A window naming another is refused. */
31184
+ triggers: z.array(RecordTriggerSchema),
31185
+ /**
31186
+ * False when the camera stores ONE trigger per time range, so two
31187
+ * windows overlapping on the same day cannot carry different triggers.
31188
+ * True on Reolink, whose mask is per-trigger and independent.
31189
+ */
31190
+ supportsOverlappingTriggers: z.boolean()
31191
+ });
31192
+ var RecordingOnboardOptionsSchema = z.object({
31193
+ enabled: OnboardFieldSupportSchema,
31194
+ overwriteWhenFull: OnboardFieldSupportSchema,
31195
+ preRecordSec: OnboardFieldSupportSchema,
31196
+ preRecordSecRange: RangeSchema.optional(),
31197
+ /** Preferred over the range when the camera takes a SET, not a span. */
31198
+ preRecordSecAllowed: AllowedValuesSchema.optional(),
31199
+ postRecordSec: OnboardFieldSupportSchema,
31200
+ postRecordSecRange: RangeSchema.optional(),
31201
+ /** Preferred over the range when the camera takes a SET, not a span. */
31202
+ postRecordSecAllowed: AllowedValuesSchema.optional(),
31203
+ segmentMinutes: OnboardFieldSupportSchema,
31204
+ segmentMinutesRange: RangeSchema.optional(),
31205
+ /** Preferred over the range when the camera takes a SET, not a span. */
31206
+ segmentMinutesAllowed: AllowedValuesSchema.optional(),
31207
+ schedule: OnboardScheduleSupportSchema
31208
+ });
31209
+ /**
31210
+ * A partial change. Every field optional.
31211
+ *
31212
+ * Unlike the other `deviceConfig` caps, a provider here does **NOT**
31213
+ * silently ignore a field it cannot support — it refuses, by name,
31214
+ * through {@link describeOnboardRefusal}. Silence on a recording setting
31215
+ * is the failure D62 exists to prevent: the operator believes the camera
31216
+ * is recording the way the form says, and it is not.
31217
+ */
31218
+ var RecordingOnboardPatchSchema = z.object({
31219
+ enabled: z.boolean().optional(),
31220
+ overwriteWhenFull: z.boolean().optional(),
31221
+ preRecordSec: z.number().optional(),
31222
+ postRecordSec: z.number().optional(),
31223
+ segmentMinutes: z.number().optional(),
31224
+ /** The complete new window set for the primary track — not a delta. */
31225
+ windows: z.array(RecordWindowSchema).optional()
31226
+ });
31227
+ var recordingOnboardCapability = {
31228
+ name: "recording-onboard",
31229
+ scope: "device",
31230
+ deviceNative: true,
31231
+ mode: "singleton",
31232
+ deviceTypes: [DeviceType.Camera],
31233
+ deviceConfig: { ui: {
31234
+ kind: "derived-form",
31235
+ builderId: "recording-onboard",
31236
+ tab: "recording"
31237
+ } },
31238
+ methods: {
31239
+ getOptions: method(z.object({ deviceId: z.number() }), RecordingOnboardOptionsSchema),
31240
+ setSettings: method(z.object({
31241
+ deviceId: z.number(),
31242
+ settings: RecordingOnboardPatchSchema
31243
+ }), z.void(), {
31244
+ kind: "mutation",
31245
+ auth: "admin"
31246
+ })
31247
+ },
31248
+ status: {
31249
+ schema: RecordingOnboardStatusSchema,
31250
+ kind: "poll"
31251
+ },
31252
+ runtimeState: RecordingOnboardStatusSchema,
31253
+ /**
31254
+ * Runtime-state durability: **restored** — operator-set camera-side
31255
+ * recording config; mutation-driven, and the storage half is the last
31256
+ * thing the camera said about its own card.
31257
+ *
31258
+ * See `RuntimeStateDurability`. Enforced by
31259
+ * `scripts/check-runtime-state-durability.ts`.
31260
+ */
31261
+ durability: "restored",
31262
+ /** Clock fields: written, but excluded from the compare that decides
31263
+ * whether persisting is worth a SQLite commit. */
31264
+ volatileStateFields: ["lastFetchedAt"]
31265
+ };
31266
+ //#endregion
31267
+ //#region src/capabilities/recording-onboard-rules.ts
31268
+ /** Minutes in a day. `endMinute === 1440` means "to end of day". */
31269
+ var MINUTES_PER_DAY = 1440;
31270
+ /** Days in the cap's week, 0 = Monday. */
31271
+ var DAYS_PER_WEEK = 7;
31272
+ /** Hours per day — the resolution of Reolink's mask. */
31273
+ var HOURS_PER_DAY = 24;
31274
+ /** Length of a Reolink weekly `valueTable`: 7 days × 24 hours. */
31275
+ var WEEKLY_MASK_LENGTH = 168;
31276
+ /**
31277
+ * Day-of-week names in the cap's index order (0 = Monday), for messages
31278
+ * an operator reads and for Hikvision's `<DayOfWeek>` element.
31279
+ */
31280
+ var DAY_NAMES = [
31281
+ "Monday",
31282
+ "Tuesday",
31283
+ "Wednesday",
31284
+ "Thursday",
31285
+ "Friday",
31286
+ "Saturday",
31287
+ "Sunday"
31288
+ ];
31289
+ /**
31290
+ * Does `patch` ask this camera for something it cannot do?
31291
+ *
31292
+ * Returns the operator-readable reason, or `null` when every field in
31293
+ * the patch is within what `options` says this camera accepts. A
31294
+ * provider calls this BEFORE touching the camera and throws the string:
31295
+ * refusing is the point, and refusing identically on both vendors is why
31296
+ * this is one function.
31297
+ *
31298
+ * The order of checks is the order an operator would read them: the
31299
+ * scalar knobs first, then the schedule, because a schedule complaint is
31300
+ * longer and a scalar one is usually the real problem.
31301
+ */
31302
+ function describeOnboardRefusal(options, patch) {
31303
+ if (patch.enabled !== void 0 && !options.enabled.writable) return unwritable("the master recording switch", options.enabled.reason);
31304
+ if (patch.overwriteWhenFull !== void 0 && !options.overwriteWhenFull.writable) return unwritable("overwrite-when-full", options.overwriteWhenFull.reason);
31305
+ const preRefusal = refuseNumeric("pre-record seconds", patch.preRecordSec, options.preRecordSec, options.preRecordSecRange, options.preRecordSecAllowed);
31306
+ if (preRefusal) return preRefusal;
31307
+ const postRefusal = refuseNumeric("post-record seconds", patch.postRecordSec, options.postRecordSec, options.postRecordSecRange, options.postRecordSecAllowed);
31308
+ if (postRefusal) return postRefusal;
31309
+ const segmentRefusal = refuseNumeric("segment length (minutes)", patch.segmentMinutes, options.segmentMinutes, options.segmentMinutesRange, options.segmentMinutesAllowed);
31310
+ if (segmentRefusal) return segmentRefusal;
31311
+ if (patch.windows !== void 0) {
31312
+ const scheduleRefusal = refuseSchedule(options, patch.windows);
31313
+ if (scheduleRefusal) return scheduleRefusal;
31314
+ }
31315
+ return null;
31316
+ }
31317
+ function unwritable(what, reason) {
31318
+ return reason ? `this camera cannot change ${what}: ${reason}` : `this camera cannot change ${what}`;
31319
+ }
31320
+ function refuseNumeric(what, value, support, range, allowed) {
31321
+ if (value === void 0) return null;
31322
+ if (!support.writable) return unwritable(what, support.reason);
31323
+ if (!Number.isFinite(value)) return `${what} must be a number, got ${String(value)}`;
31324
+ if (allowed) {
31325
+ if (allowed.values.includes(value)) return null;
31326
+ const say = (v) => allowed.sentinel !== void 0 && v === allowed.sentinel.value ? allowed.sentinel.meaning === "no-limit" ? "no limit" : "off" : String(v);
31327
+ return `this camera accepts ${what} only as ${allowed.values.map(say).join(", ")}; ${say(value)} is not one of them`;
31328
+ }
31329
+ if (!range) return null;
31330
+ if (value < range.min || value > range.max) return `this camera accepts ${what} between ${String(range.min)} and ${String(range.max)}; ${String(value)} is outside that`;
31331
+ if (range.step > 0 && (value - range.min) % range.step !== 0) return `this camera accepts ${what} in steps of ${String(range.step)} from ${String(range.min)}; ${String(value)} is not one of them`;
31332
+ return null;
31333
+ }
31334
+ function refuseSchedule(options, windows) {
31335
+ const schedule = options.schedule;
31336
+ if (!schedule.support.writable) return unwritable("the recording schedule", schedule.support.reason);
31337
+ const allowed = new Set(schedule.triggers);
31338
+ for (const window of windows) {
31339
+ if (!allowed.has(window.trigger)) {
31340
+ const offer = schedule.triggers.length > 0 ? schedule.triggers.join(", ") : "none";
31341
+ return `this camera cannot record on "${window.trigger}"; it records on: ${offer}`;
31342
+ }
31343
+ if (window.endMinute <= window.startMinute) return `a window on ${dayName(window.day)} ends at or before it starts (${String(window.startMinute)} → ${String(window.endMinute)})`;
31344
+ const step = schedule.granularityMinutes;
31345
+ if (step > 1 && (window.startMinute % step !== 0 || window.endMinute % step !== 0)) return `this camera's schedule only moves in ${String(step)}-minute steps; the ${dayName(window.day)} window ${formatMinutes(window.startMinute)}–${formatMinutes(window.endMinute)} is not aligned to them`;
31346
+ }
31347
+ if (!schedule.supportsOverlappingTriggers) {
31348
+ const clash = findOverlapWithDifferentTrigger(windows);
31349
+ if (clash) return `this camera stores one trigger per time range, so "${clash.a.trigger}" and "${clash.b.trigger}" cannot both cover ${dayName(clash.a.day)} ${formatMinutes(Math.max(clash.a.startMinute, clash.b.startMinute))}–${formatMinutes(Math.min(clash.a.endMinute, clash.b.endMinute))}`;
31350
+ }
31351
+ return null;
31352
+ }
31353
+ function findOverlapWithDifferentTrigger(windows) {
31354
+ for (let i = 0; i < windows.length; i += 1) for (let j = i + 1; j < windows.length; j += 1) {
31355
+ const a = windows[i];
31356
+ const b = windows[j];
31357
+ if (!a || !b) continue;
31358
+ if (a.day !== b.day) continue;
31359
+ if (a.trigger === b.trigger) continue;
31360
+ if (a.startMinute < b.endMinute && b.startMinute < a.endMinute) return {
31361
+ a,
31362
+ b
31363
+ };
31364
+ }
31365
+ return null;
31366
+ }
31367
+ function dayName(day) {
31368
+ return DAY_NAMES[day] ?? `day ${String(day)}`;
31369
+ }
31370
+ /** `510` → `08:30`. For messages, not for the wire. */
31371
+ function formatMinutes(minute) {
31372
+ const hour = Math.floor(minute / 60);
31373
+ const rest = minute % 60;
31374
+ return `${String(hour).padStart(2, "0")}:${String(rest).padStart(2, "0")}`;
31375
+ }
31376
+ /**
31377
+ * Index of the mask character covering `day` at `hour`.
31378
+ *
31379
+ * **Layout: day-major, Monday first** — `day * 24 + hour`.
31380
+ *
31381
+ * This is an ASSUMPTION, and it is recorded as one because the fleet
31382
+ * cannot currently confirm it: every `valueTable` on every Reolink
31383
+ * measured on 2026-09-22 is uniform (all `1` or all `0`), and a uniform
31384
+ * mask reads identically under either layout. To settle it, set a single
31385
+ * hour on one day from the Reolink app and re-read `getRecordSchedule`.
31386
+ * Until then, a NON-uniform mask is reported as windows under this
31387
+ * layout and the day labels may be transposed; a uniform one is exact.
31388
+ */
31389
+ function weeklyMaskIndex(day, hour) {
31390
+ return day * 24 + hour;
31391
+ }
31392
+ /**
31393
+ * True when every slot of the mask carries the same value — the case in
31394
+ * which {@link weeklyMaskIndex}'s layout assumption cannot be wrong.
31395
+ */
31396
+ function weeklyMaskIsUniform(mask) {
31397
+ if (mask.length === 0) return true;
31398
+ const first = mask[0];
31399
+ for (const ch of mask) if (ch !== first) return false;
31400
+ return true;
31401
+ }
31402
+ /**
31403
+ * Expand one trigger's weekly hour mask into windows, merging adjacent
31404
+ * set hours into one window per run so a full day is ONE window rather
31405
+ * than twenty-four.
31406
+ *
31407
+ * A mask of the wrong length yields no windows: a truncated table is not
31408
+ * a schedule of fewer days, it is an answer we did not understand.
31409
+ */
31410
+ function weeklyMaskToWindows(mask, trigger) {
31411
+ if (mask.length !== 168) return [];
31412
+ const out = [];
31413
+ for (let day = 0; day < 7; day += 1) {
31414
+ let runStart = null;
31415
+ for (let hour = 0; hour <= 24; hour += 1) {
31416
+ const set = hour < 24 && mask[weeklyMaskIndex(day, hour)] === "1";
31417
+ if (set && runStart === null) runStart = hour;
31418
+ else if (!set && runStart !== null) {
31419
+ out.push({
31420
+ trigger,
31421
+ day,
31422
+ startMinute: runStart * 60,
31423
+ endMinute: hour * 60
31424
+ });
31425
+ runStart = null;
31426
+ }
31427
+ }
31428
+ }
31429
+ return out;
31430
+ }
31431
+ /**
31432
+ * Collapse this trigger's windows back into a weekly hour mask.
31433
+ *
31434
+ * Windows for other triggers are ignored — the mask is per trigger. A
31435
+ * window that is not hour-aligned is REFUSED upstream by
31436
+ * {@link describeOnboardRefusal}; this function rounds nothing, it
31437
+ * simply sets every hour the window fully or partly covers, so a caller
31438
+ * that skipped the refusal cannot silently lose coverage.
31439
+ */
31440
+ function windowsToWeeklyMask(windows, trigger) {
31441
+ const slots = new Array(168).fill("0");
31442
+ for (const window of windows) {
31443
+ if (window.trigger !== trigger) continue;
31444
+ if (window.day < 0 || window.day >= 7) continue;
31445
+ const firstHour = Math.floor(window.startMinute / 60);
31446
+ const lastHour = Math.ceil(window.endMinute / 60);
31447
+ for (let hour = firstHour; hour < lastHour && hour < 24; hour += 1) slots[weeklyMaskIndex(window.day, hour)] = "1";
31448
+ }
31449
+ return slots.join("");
31450
+ }
31451
+ /**
31452
+ * Parse a Hikvision `<TimeOfDay>` into minutes since midnight.
31453
+ *
31454
+ * The firmware is not self-consistent and both spellings are real, on
31455
+ * the same camera in the same block: a start time reads `00:00:00` and
31456
+ * the matching end time reads `24:00`. Seconds are accepted and
31457
+ * discarded — the cap's resolution is minutes — and `24:00` maps to
31458
+ * {@link MINUTES_PER_DAY}, not to 0.
31459
+ *
31460
+ * Returns null for anything else, which a caller reports as a window it
31461
+ * could not read rather than as midnight.
31462
+ */
31463
+ function timeOfDayToMinutes(value) {
31464
+ const match = /^(\d{1,2}):(\d{2})(?::(\d{2}))?$/.exec(value.trim());
31465
+ if (!match) return null;
31466
+ const hour = Number(match[1]);
31467
+ const minute = Number(match[2]);
31468
+ if (!Number.isInteger(hour) || !Number.isInteger(minute)) return null;
31469
+ if (minute > 59) return null;
31470
+ const total = hour * 60 + minute;
31471
+ if (total > 1440) return null;
31472
+ return total;
31473
+ }
31474
+ /**
31475
+ * Render minutes back as a Hikvision `TimeOfDay`.
31476
+ *
31477
+ * Emits the camera's own two spellings: `24:00` for end-of-day, because
31478
+ * that is what the firmware writes and `24:00:00` is not observed, and
31479
+ * `HH:MM:SS` otherwise.
31480
+ */
31481
+ function minutesToTimeOfDay(minute) {
31482
+ if (minute >= 1440) return "24:00";
31483
+ const hour = Math.floor(minute / 60);
31484
+ const rest = minute % 60;
31485
+ return `${String(hour).padStart(2, "0")}:${String(rest).padStart(2, "0")}:00`;
31486
+ }
31487
+ /** `'Monday'` → 0. Case-insensitive. Null for anything unrecognised. */
31488
+ function dayOfWeekToIndex(value) {
31489
+ const needle = value.trim().toLowerCase();
31490
+ const index = DAY_NAMES.findIndex((name) => name.toLowerCase() === needle);
31491
+ return index >= 0 ? index : null;
31492
+ }
31493
+ /**
31494
+ * Which fields of a patch the camera did NOT take verbatim.
31495
+ *
31496
+ * Measured on a Hikvision I91DN (1436, 2026-09-22): a `PUT` of
31497
+ * `PreRecordTimeSeconds: 8` answered `200`, `statusCode 1`, `OK` — and stored
31498
+ * **5**. Neither the asked value nor the previous one. The camera declares no
31499
+ * allowed set for that field, so there is nothing to refuse against before the
31500
+ * wire: `/capabilities` returns a plain value where a constrained field would
31501
+ * carry an `opt=` list.
31502
+ *
31503
+ * So the only honest moment is after the read-back, and re-reading alone is
31504
+ * not enough — it makes the difference VISIBLE while leaving it unexplained.
31505
+ * A write that reports success for a value the camera never took is the same
31506
+ * silent substitution D599 removed from the clip path, wearing a different hat.
31507
+ *
31508
+ * Compares only the fields the patch actually named: a field nobody asked
31509
+ * about cannot have been clamped, and a read-back that could not answer it is
31510
+ * `stored: null` rather than a claim.
31511
+ */
31512
+ function describeOnboardClamp(patch, landed) {
31513
+ const out = [];
31514
+ for (const [field, asked] of Object.entries(patch)) {
31515
+ if (asked === void 0) continue;
31516
+ if (typeof asked !== "number" && typeof asked !== "boolean" && typeof asked !== "string") continue;
31517
+ const raw = landed === null ? void 0 : landed[field];
31518
+ const stored = typeof raw === "number" || typeof raw === "boolean" || typeof raw === "string" ? raw : null;
31519
+ if (stored !== asked) out.push({
31520
+ field,
31521
+ asked,
31522
+ stored
31523
+ });
31524
+ }
31525
+ return out;
31526
+ }
31527
+ //#endregion
30625
31528
  //#region src/capabilities/device-status.cap.ts
30626
31529
  /**
30627
31530
  * Generic device-level status snapshot. Auto-registered by `BaseDevice`
@@ -41527,6 +42430,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
41527
42430
  pressureSensor: pressureSensorCapability,
41528
42431
  privacyMask: privacyMaskCapability,
41529
42432
  ptzAutotrack: ptzAutotrackCapability,
42433
+ recordingOnboard: recordingOnboardCapability,
41530
42434
  recordingSignal: recordingSignalCapability,
41531
42435
  sceneMonitor: sceneMonitorCapability,
41532
42436
  scriptRunner: scriptRunnerCapability,
@@ -45975,6 +46879,7 @@ var CAP_NAMES_WITH_STATUS = [
45975
46879
  "ptz",
45976
46880
  "ptz-autotrack",
45977
46881
  "recording",
46882
+ "recording-onboard",
45978
46883
  "recording-signal",
45979
46884
  "scene-monitor",
45980
46885
  "script-runner",
@@ -46038,6 +46943,7 @@ var CAPABILITY_NAMES = {
46038
46943
  dayNight: "day-night",
46039
46944
  decoder: "decoder",
46040
46945
  detectionPipeline: "detection-pipeline",
46946
+ deviceAdminLink: "device-admin-link",
46041
46947
  deviceAdoption: "device-adoption",
46042
46948
  deviceDiscovery: "device-discovery",
46043
46949
  deviceExport: "device-export",
@@ -46112,6 +47018,7 @@ var CAPABILITY_NAMES = {
46112
47018
  reboot: "reboot",
46113
47019
  recording: "recording",
46114
47020
  recordingExport: "recording-export",
47021
+ recordingOnboard: "recording-onboard",
46115
47022
  recordingSignal: "recording-signal",
46116
47023
  sceneMonitor: "scene-monitor",
46117
47024
  scriptRunner: "script-runner",
@@ -46331,6 +47238,10 @@ var CAPABILITY_ROUTER_KEYS = [
46331
47238
  key: "detectionPipeline",
46332
47239
  name: "detection-pipeline"
46333
47240
  },
47241
+ {
47242
+ key: "deviceAdminLink",
47243
+ name: "device-admin-link"
47244
+ },
46334
47245
  {
46335
47246
  key: "deviceAdoption",
46336
47247
  name: "device-adoption"
@@ -46627,6 +47538,10 @@ var CAPABILITY_ROUTER_KEYS = [
46627
47538
  key: "recordingExport",
46628
47539
  name: "recording-export"
46629
47540
  },
47541
+ {
47542
+ key: "recordingOnboard",
47543
+ name: "recording-onboard"
47544
+ },
46630
47545
  {
46631
47546
  key: "recordingSignal",
46632
47547
  name: "recording-signal"
@@ -46842,6 +47757,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
46842
47757
  dayNightCapability,
46843
47758
  decoderCapability,
46844
47759
  detectionPipelineCapability,
47760
+ deviceAdminLinkCapability,
46845
47761
  deviceAdoptionCapability,
46846
47762
  deviceDiscoveryCapability,
46847
47763
  deviceExportCapability,
@@ -46916,6 +47832,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
46916
47832
  rebootCapability,
46917
47833
  recordingCapability,
46918
47834
  recordingExportCapability,
47835
+ recordingOnboardCapability,
46919
47836
  recordingSignalCapability,
46920
47837
  sceneMonitorCapability,
46921
47838
  scriptRunnerCapability,
@@ -48262,6 +49179,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
48262
49179
  addonId: null,
48263
49180
  access: "view"
48264
49181
  },
49182
+ "deviceAdminLink.getAdminLink": {
49183
+ capName: "device-admin-link",
49184
+ capScope: "device",
49185
+ addonId: null,
49186
+ access: "view"
49187
+ },
48265
49188
  "deviceAdoption.adopt": {
48266
49189
  capName: "device-adoption",
48267
49190
  capScope: "system",
@@ -52300,6 +53223,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
52300
53223
  addonId: null,
52301
53224
  access: "view"
52302
53225
  },
53226
+ "recordingOnboard.getOptions": {
53227
+ capName: "recording-onboard",
53228
+ capScope: "device",
53229
+ addonId: null,
53230
+ access: "view"
53231
+ },
53232
+ "recordingOnboard.getStatus": {
53233
+ capName: "recording-onboard",
53234
+ capScope: "device",
53235
+ addonId: null,
53236
+ access: "view"
53237
+ },
53238
+ "recordingOnboard.setSettings": {
53239
+ capName: "recording-onboard",
53240
+ capScope: "device",
53241
+ addonId: null,
53242
+ access: "create"
53243
+ },
52303
53244
  "recordingSignal.getStatus": {
52304
53245
  capName: "recording-signal",
52305
53246
  capScope: "device",
@@ -53997,6 +54938,7 @@ var KNOWN_CAP_NAMES = [
53997
54938
  "day-night",
53998
54939
  "decoder",
53999
54940
  "detection-pipeline",
54941
+ "device-admin-link",
54000
54942
  "device-adoption",
54001
54943
  "device-discovery",
54002
54944
  "device-export",
@@ -54071,6 +55013,7 @@ var KNOWN_CAP_NAMES = [
54071
55013
  "reboot",
54072
55014
  "recording",
54073
55015
  "recording-export",
55016
+ "recording-onboard",
54074
55017
  "recording-signal",
54075
55018
  "scene-monitor",
54076
55019
  "script-runner",
@@ -54139,6 +55082,7 @@ var DEVICE_CAP_NAMES = [
54139
55082
  "cover",
54140
55083
  "day-night",
54141
55084
  "detection-pipeline",
55085
+ "device-admin-link",
54142
55086
  "device-discovery",
54143
55087
  "device-ops",
54144
55088
  "device-status",
@@ -54177,6 +55121,7 @@ var DEVICE_CAP_NAMES = [
54177
55121
  "ptz",
54178
55122
  "ptz-autotrack",
54179
55123
  "reboot",
55124
+ "recording-onboard",
54180
55125
  "recording-signal",
54181
55126
  "scene-monitor",
54182
55127
  "script-runner",
@@ -54513,6 +55458,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
54513
55458
  form: "single",
54514
55459
  optional: true
54515
55460
  }],
55461
+ "deviceAdminLink.getAdminLink": [{
55462
+ name: "deviceId",
55463
+ form: "single",
55464
+ optional: false
55465
+ }],
54516
55466
  "deviceAdoption.release": [{
54517
55467
  name: "camDeviceId",
54518
55468
  form: "single",
@@ -55898,6 +56848,16 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
55898
56848
  form: "single",
55899
56849
  optional: true
55900
56850
  }],
56851
+ "recordingOnboard.getOptions": [{
56852
+ name: "deviceId",
56853
+ form: "single",
56854
+ optional: false
56855
+ }],
56856
+ "recordingOnboard.setSettings": [{
56857
+ name: "deviceId",
56858
+ form: "single",
56859
+ optional: false
56860
+ }],
55901
56861
  "recordingSignal.getStatus": [{
55902
56862
  name: "deviceId",
55903
56863
  form: "single",
@@ -56449,7 +57409,7 @@ function getCapsByProviderKind(kind) {
56449
57409
  //#region src/generated/runtime-state-durability.ts
56450
57410
  /**
56451
57411
  * Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
56452
- * `runtimeState`. 68 caps: 35 `restored`, 33 `session`.
57412
+ * `runtimeState`. 69 caps: 36 `restored`, 33 `session`.
56453
57413
  *
56454
57414
  * A cap absent from this map has no runtime-state slice at all. A cap PRESENT
56455
57415
  * with `durability: 'session'` has one and has decided not to keep it.
@@ -56651,6 +57611,10 @@ var RUNTIME_STATE_POLICY = {
56651
57611
  durability: "session",
56652
57612
  volatileFields: []
56653
57613
  },
57614
+ "recording-onboard": {
57615
+ durability: "restored",
57616
+ volatileFields: ["lastFetchedAt"]
57617
+ },
56654
57618
  "recording-signal": {
56655
57619
  durability: "session",
56656
57620
  volatileFields: []
@@ -56775,6 +57739,7 @@ var RESTORED_CAP_NAMES = [
56775
57739
  "presence",
56776
57740
  "pressure-sensor",
56777
57741
  "privacy-mask",
57742
+ "recording-onboard",
56778
57743
  "smoke",
56779
57744
  "stream-catalog",
56780
57745
  "stream-params",
@@ -61624,4 +62589,4 @@ function enumerateInferenceDevices(hw) {
61624
62589
  return out;
61625
62590
  }
61626
62591
  //#endregion
61627
- export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, 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, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, 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, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_TRANSPORT_HEADER, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, 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, CameraOccupancySnapshotForDeviceSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesSchema, ClipExportFailureSchema, ClipPlaybackSchema, ClipSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LEGACY_READ_ONLY_CONFIG_KEY, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, 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_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SHARE_VIEW_KINDS, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SummarySchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VIDEOCLIPS_MAX_READ_BYTES, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clipExportFailure, clipExportFailureOf, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeCustomActions, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, displayIconEntry, displayIconsInGroup, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, exportSubjectOf, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForBackend, formatForRuntime, formatMediaOwnerKey, formatParkedFor, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioChunkFormat, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isEvent, isEventOwnerType, isFirstLevelMacroClass, isIsolatedBuiltin, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isStorageLocationMode, isSystemDelivery, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, modeMayRead, modeMayWrite, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, recordingSignalCapability, rectsToCells, reducePoints, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveBucketMs, resolveCapMount, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCreateExportSubject, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHydratedFieldValue, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, searchDisplayIcons, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
62592
+ export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, 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, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLIP_REASON_HEADER_MAX, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_TRANSPORT_HEADER, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, 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, CameraOccupancySnapshotForDeviceSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesSchema, ClipExportFailureSchema, ClipPlaybackSchema, ClipSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, 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, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LEGACY_READ_ONLY_CONFIG_KEY, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, 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_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SHARE_VIEW_KINDS, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SummarySchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VIDEOCLIPS_MAX_READ_BYTES, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildDeviceAdminUrl, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, displayIconEntry, displayIconsInGroup, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, exportSubjectOf, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForBackend, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioChunkFormat, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isEvent, isEventOwnerType, isFirstLevelMacroClass, isIsolatedBuiltin, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isStorageLocationMode, isSystemDelivery, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseAdminBase, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveBucketMs, resolveCapMount, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCreateExportSubject, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHydratedFieldValue, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, searchDisplayIcons, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };