@camstack/types 1.2.63 → 1.2.64

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
@@ -583,6 +583,19 @@ function resolveRunnerId(decl, addonId) {
583
583
  function resolveAddonPlacement(decl) {
584
584
  return resolveAddonExecution(decl).placement;
585
585
  }
586
+ /**
587
+ * True when a `@camstack/system` builtin opted out of the in-process rule and
588
+ * must be planned as a forked runner (`execution.isolate`).
589
+ *
590
+ * ONE predicate, because the hub asks this question in three places that must
591
+ * agree: the runner plan (`buildAddonGroupPlan`), the "does this boot
592
+ * in-process" filter, and `isForkedAddonEntry` (which decides route mounts,
593
+ * data-plane mounts, restart and uninstall). They diverged once before for
594
+ * `auth-oidc` and the addon's routes were mounted against an async UDS proxy.
595
+ */
596
+ function isIsolatedBuiltin(decl) {
597
+ return decl.execution?.isolate === true;
598
+ }
586
599
  //#endregion
587
600
  //#region src/interfaces/adoption-job.ts
588
601
  /**
@@ -1674,7 +1687,15 @@ function deriveRecordingMode(config) {
1674
1687
  * Each completed/failed run also lands one durable ops-log row on its owning
1675
1688
  * addon surface.
1676
1689
  */
1690
+ /**
1691
+ * `queued` exists because the recorder mover is SINGLE-FLIGHT and an operator
1692
+ * rebalance enqueues one job per (camera, profile). Refusing the second job —
1693
+ * what the engine did before — turned a fifteen-camera rebalance into fifteen
1694
+ * manual retries. Queued jobs run FIFO; a queued job that is cancelled never
1695
+ * runs at all.
1696
+ */
1677
1697
  var RelocateJobStateSchema = z.enum([
1698
+ "queued",
1678
1699
  "running",
1679
1700
  "done",
1680
1701
  "failed",
@@ -1709,6 +1730,15 @@ var RelocateFootageInputSchema = z.object({
1709
1730
  /** Limits relocation to the logical profile class. Omit only for the
1710
1731
  * pre-orchestration compatibility path. */
1711
1732
  footageClass: RelocateFootageClassSchema.optional(),
1733
+ /** Scope the move to ONE camera. Absent = every camera on the source, which
1734
+ * is what a whole-disk drain means. The rebalance path always sets it: its
1735
+ * unit is a (camera, profile) pile, not a disk. */
1736
+ deviceId: z.number().int().optional(),
1737
+ /** Scope the move to specific segment profiles (`high` / `mid` / `low`).
1738
+ * Finer than `footageClass`, which cannot separate high from mid — and the
1739
+ * placement plan assigns those two independently, so a rebalance that could
1740
+ * only say "recordings" would move footage the plan never asked to move. */
1741
+ profiles: z.array(z.string()).optional(),
1712
1742
  /** Copy throttle in MB/s (default 40) — the drain is a background chore,
1713
1743
  * never allowed to starve live writers. */
1714
1744
  throttleMbps: z.number().min(1).max(1e3).optional()
@@ -11809,6 +11839,13 @@ var MaskGridDimsSchema = z.object({
11809
11839
  * `package-event` are pure trigger kinds (no urgency dimension). Extending
11810
11840
  * this one field keeps the schema additive — a rule still declares exactly
11811
11841
  * one trigger.
11842
+ *
11843
+ * AUDIO rules add no member here, for the reason occupancy added none: the
11844
+ * enum is mirrored by hand in the viewer (`scripts/check-viewer-condition-
11845
+ * mirror.ts` fails the build on a member the app cannot render) and every
11846
+ * member costs a release train. A sustained-sound rule is therefore an
11847
+ * `immediate` rule carrying {@link NcConditions.audio} — the condition is the
11848
+ * trigger discriminator, exactly as `occupancy` is on `device-event`.
11812
11849
  */
11813
11850
  var NcDeliverySchema = z.enum([
11814
11851
  "immediate",
@@ -11823,15 +11860,50 @@ var NcDeliverySchema = z.enum([
11823
11860
  * depend on a provider's raw event name or payload shape.
11824
11861
  */
11825
11862
  var NcSystemEventKindSchema = z.enum([
11826
- "camera-online",
11827
- "camera-offline",
11863
+ "device-online",
11864
+ "device-offline",
11865
+ "device-disabled",
11866
+ "device-enabled",
11828
11867
  "stream-online",
11829
11868
  "stream-offline",
11830
11869
  "node-online",
11831
11870
  "node-offline",
11832
11871
  "addon-update-available",
11833
- "server-update-available"
11872
+ "server-update-available",
11873
+ "alarm-triggered",
11874
+ "alarm-armed",
11875
+ "alarm-disarmed",
11876
+ "camera-online",
11877
+ "camera-offline",
11878
+ "camera-disabled",
11879
+ "camera-enabled"
11834
11880
  ]);
11881
+ /** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
11882
+ var NC_LEGACY_SYSTEM_EVENT_KINDS = new Set([
11883
+ "camera-online",
11884
+ "camera-offline",
11885
+ "camera-disabled",
11886
+ "camera-enabled"
11887
+ ]);
11888
+ /**
11889
+ * The kinds a rule may be AUTHORED with — every schema member except the
11890
+ * legacy tail. Editors render THIS list; the schema still parses the tail so a
11891
+ * durable row (and an unmigrated rule) survives being read.
11892
+ */
11893
+ var NC_AUTHORABLE_SYSTEM_EVENT_KINDS = NcSystemEventKindSchema.options.filter((kind) => !NC_LEGACY_SYSTEM_EVENT_KINDS.has(kind));
11894
+ /**
11895
+ * The panel's three transitions, as ONE list.
11896
+ *
11897
+ * Named here rather than spelled out at each of the four sites that need them
11898
+ * (the emitter, the intake, the editor group, the combined-notification gate),
11899
+ * because a fourth transition added to the enum and forgotten at one of them is
11900
+ * an alarm state nobody can be notified about.
11901
+ */
11902
+ var NC_ALARM_SYSTEM_EVENT_KINDS = [
11903
+ "alarm-triggered",
11904
+ "alarm-armed",
11905
+ "alarm-disarmed"
11906
+ ];
11835
11907
  /**
11836
11908
  * One coherent system-event condition. `kinds` is the required opt-in safety
11837
11909
  * gate; the remaining lists are optional narrowing filters relevant to the
@@ -11840,6 +11912,18 @@ var NcSystemEventKindSchema = z.enum([
11840
11912
  var NcSystemEventConditionSchema = z.object({
11841
11913
  kinds: z.array(NcSystemEventKindSchema).min(1),
11842
11914
  deviceIds: z.array(z.number().int()).min(1).optional(),
11915
+ /**
11916
+ * Narrow a `device-*` kind to these device TYPES (`DeviceType` values —
11917
+ * `camera`, `switch`, `sensor`, `container`, …). Absent = every type, which
11918
+ * is what a liveness rule means when nobody said otherwise.
11919
+ *
11920
+ * This is where "only my cameras" is expressed, and it lives on the rule for
11921
+ * one reason: the intake cannot know which devices this household cares
11922
+ * about, and a producer-side filter is one no operator can change. Fails
11923
+ * CLOSED — a subject whose device type is unknown (an id the device mirror
11924
+ * does not carry) matches no `deviceTypes` list.
11925
+ */
11926
+ deviceTypes: z.array(z.string().min(1)).min(1).optional(),
11843
11927
  nodeIds: z.array(z.string().min(1)).min(1).optional(),
11844
11928
  packageNames: z.array(z.string().min(1)).min(1).optional()
11845
11929
  });
@@ -11898,6 +11982,59 @@ var NcOccupancyConditionSchema = z.object({
11898
11982
  sustainSeconds: z.number().int().min(0).max(3600).default(15)
11899
11983
  });
11900
11984
  /**
11985
+ * The dBFS floor the analyzer reports on digital silence
11986
+ * (`audio-analyzer-provider.ts`: `dbfs = rms > 0 ? 20*log10(rms) : -96`).
11987
+ *
11988
+ * It is the lower bound of {@link NcAudioConditionSchema.shape.dbThreshold} for
11989
+ * one reason worth stating out loud: **the scale is dBFS and it is
11990
+ * NEGATIVE-GOING** — `0` is full scale and silence reads as a large negative
11991
+ * number. An operator (or a UI) that writes `60` meaning "60 decibels, quite
11992
+ * loud" would author a threshold NO sample can ever reach, and the rule would
11993
+ * look broken rather than mis-configured. The schema range rejects it instead.
11994
+ */
11995
+ var NC_AUDIO_DBFS_FLOOR = -96;
11996
+ /**
11997
+ * Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
11998
+ *
11999
+ * Operator-approved vocabulary (2026-08-12, option A — the same one the
12000
+ * reference notifier uses, so an operator moving between them re-uses what
12001
+ * they already know): a rule matches when, over a sampling window of
12002
+ * `samplingSeconds`, at least `hitPercent`% of the audio samples in that
12003
+ * window are HITS. A sample is a hit when it satisfies BOTH present filters:
12004
+ *
12005
+ * - `dbThreshold` — its level is at or above this many dBFS (see
12006
+ * {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale);
12007
+ * - `labels` — the classifier put at least one of these labels on it.
12008
+ *
12009
+ * Both are OPTIONAL and independent, which is the point of the shape: a
12010
+ * loudness rule ("something loud at 3am") needs no model to be right, and a
12011
+ * label rule ("a dog barked") needs no threshold. **Fail-closed when NEITHER
12012
+ * is given** — a window in which every sample is trivially a hit would fire on
12013
+ * silence, so the engine refuses such a condition rather than notifying on
12014
+ * nothing (the schema cannot express "at least one of" without becoming a
12015
+ * ZodEffects the cap path would have to special-case).
12016
+ *
12017
+ * `hitPercent` is over the samples the window actually HOLDS, and the window
12018
+ * must be FULL before it can match — a window that has been open for two
12019
+ * seconds of its ten is 100% of nothing, and firing on it would make
12020
+ * `samplingSeconds` decorative.
12021
+ *
12022
+ * Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
12023
+ * `audio-*` ids). Both spellings are accepted — the matcher normalizes the
12024
+ * `audio-` prefix away on both sides, so a picker that offers taxonomy ids and
12025
+ * an operator who typed `dog` mean the same thing.
12026
+ */
12027
+ var NcAudioConditionSchema = z.object({
12028
+ /** Audio macro labels; absent = any sound (level-only rule). */
12029
+ labels: z.array(z.string().min(1)).min(1).optional(),
12030
+ /** Level floor in dBFS (negative-going, `0` = full scale); absent = any level. */
12031
+ dbThreshold: z.number().min(-96).max(0).optional(),
12032
+ /** Percentage of the window's samples that must be hits (1–100). */
12033
+ hitPercent: z.number().int().min(1).max(100).default(60),
12034
+ /** Length of the sampling window in seconds. */
12035
+ samplingSeconds: z.number().int().min(1).max(300).default(10)
12036
+ });
12037
+ /**
11901
12038
  * Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
11902
12039
  *
11903
12040
  * The values are not symmetric, and deliberately so — the absent value has to
@@ -12181,7 +12318,33 @@ var NcConditionsSchema = z.object({
12181
12318
  * threshold and holds for `sustainSeconds`. Fail-closed on missing
12182
12319
  * substrate (no snapshot / missing zone). See {@link NcOccupancyCondition}.
12183
12320
  */
12184
- occupancy: NcOccupancyConditionSchema.optional()
12321
+ occupancy: NcOccupancyConditionSchema.optional(),
12322
+ /**
12323
+ * IMMEDIATE only. Sustained-sound matcher — `hitPercent` of the samples in a
12324
+ * `samplingSeconds` window clear the optional `dbThreshold` and carry one of
12325
+ * the optional `labels`. Fail-closed on missing substrate (no audio samples,
12326
+ * a window that is not full yet, neither filter given). See
12327
+ * {@link NcAudioCondition}.
12328
+ *
12329
+ * Presence of this key is what makes a rule an AUDIO rule: the engine fires
12330
+ * it ONLY on a confirmed audio window, and a rule carrying it never fires on
12331
+ * a detection, a track or a device event (the same fail-closed pairing
12332
+ * `occupancy` has with the `device-event` trigger). That is how audio labels
12333
+ * leave `classes`: an audio rule names its sounds HERE, and the legacy path
12334
+ * (an `immediate` rule naming an `audio-*` class, one notification per
12335
+ * classified sample) stays exactly as it was for rules that already use it.
12336
+ *
12337
+ * NOT in {@link NC_CONDITION_CATALOG} yet, and that is the sequencing rule
12338
+ * rather than an oversight: the viewer mirrors the descriptor enums BY HAND
12339
+ * (`camstack/src/data/notification-center.ts`, guarded by
12340
+ * `scripts/check-viewer-condition-mirror.ts`) and its rule editor STRIPS the
12341
+ * condition fields it does not know when a rule is saved from the phone.
12342
+ * Publishing an editor for a condition the app cannot round-trip is how an
12343
+ * operator loses a rule's conditions by opening it — so the descriptor, the
12344
+ * admin widget and the viewer mirror land together (P2 + P3), and only then
12345
+ * does an audio rule become authorable.
12346
+ */
12347
+ audio: NcAudioConditionSchema.optional()
12185
12348
  });
12186
12349
  /** One delivery target: a `notification-output` Target ref + passthrough params. */
12187
12350
  var NcRuleTargetSchema = z.object({
@@ -12295,6 +12458,74 @@ var NcThrottleSchema = z.object({
12295
12458
  */
12296
12459
  granularity: NcThrottleGranularitySchema.optional()
12297
12460
  });
12461
+ /**
12462
+ * How long the confirm gate may hold ONE notification, and how big the picture
12463
+ * it judges may be.
12464
+ *
12465
+ * The clamp is the product decision, not a coincidence of the model: p50 was
12466
+ * 4.9 s warm and 15.3 s cold against qwen3-vl-8b, and a notification that
12467
+ * arrives after the visitor has gone is not a notification. 448 px was enough
12468
+ * to score 16/16 on the operator's parking scenario — bigger costs latency and
12469
+ * tokens for pixels the model pools away.
12470
+ */
12471
+ var NC_CONFIRM_MIN_TIMEOUT_MS = 1e3;
12472
+ var NC_CONFIRM_MAX_TIMEOUT_MS = 2e4;
12473
+ var NC_CONFIRM_DEFAULT_TIMEOUT_MS = 8e3;
12474
+ var NC_CONFIRM_DEFAULT_MAX_IMAGE_PX = 448;
12475
+ /** Comparison the model's COUNT must satisfy for the notification to fire. */
12476
+ var NcConfirmExpectSchema = z.object({
12477
+ op: z.enum([
12478
+ ">=",
12479
+ ">",
12480
+ "<=",
12481
+ "<",
12482
+ "=="
12483
+ ]),
12484
+ count: z.number().int().min(0).max(1e3)
12485
+ });
12486
+ /**
12487
+ * AI CONFIRM — a vision model looks at the picture this notification is about
12488
+ * to ship and says whether it agrees with the rule.
12489
+ *
12490
+ * It runs AFTER the attachments resolve, deliberately: the crop JUDGED is the
12491
+ * crop SHIPPED (D52). A verdict about a different pixel rectangle than the one
12492
+ * on the operator's phone is not a verdict about this notification.
12493
+ *
12494
+ * FAIL-OPEN is the only safe default. A gate that cannot reach its model, or
12495
+ * whose model is cold, must not silence a camera — so `onTimeout: 'fire'` is
12496
+ * the default and every fail-open is COUNTED, because a gate that always fails
12497
+ * open looks in the log exactly like a gate that works.
12498
+ *
12499
+ * Every field is `.optional()` rather than relied on as a Zod default at the
12500
+ * runtime seam: a Zod default does NOT run on the addon→addon cap path (three
12501
+ * production failures in one day), so the gate reads absent as the constant
12502
+ * above rather than trusting a parse it may never have seen.
12503
+ */
12504
+ var NcConfirmSchema = z.object({
12505
+ /** Off unless asked for. An absent `confirm` and `enabled:false` are the
12506
+ * same thing, and both mean "deliver exactly as before". */
12507
+ enabled: z.boolean().default(false),
12508
+ /** Explicit vision profile; absent = the `purpose:'vision'` cluster default. */
12509
+ profileId: z.string().optional(),
12510
+ /**
12511
+ * The operator's question, in his own words. Absent = a question derived
12512
+ * from the rule (its class and its expectation).
12513
+ *
12514
+ * NEVER composed with text READ OUT OF THE FRAME. The model reads OSD
12515
+ * banners, signage and plates as instructions if you let them reach the
12516
+ * prompt — proven live — so the authoritative contract stays in the system
12517
+ * turn and only rule-authored words land here.
12518
+ */
12519
+ prompt: z.string().max(1e3).optional(),
12520
+ /** Fire only when the model's count satisfies this. Absent = the model's
12521
+ * own boolean verdict decides. */
12522
+ expect: NcConfirmExpectSchema.optional(),
12523
+ timeoutMs: z.number().int().min(NC_CONFIRM_MIN_TIMEOUT_MS).max(NC_CONFIRM_MAX_TIMEOUT_MS).default(NC_CONFIRM_DEFAULT_TIMEOUT_MS),
12524
+ /** What a timeout / unreachable model MEANS. `fire` (default) = fail-open. */
12525
+ onTimeout: z.enum(["fire", "suppress"]).default("fire"),
12526
+ /** Longest edge the judged image is downscaled to before it is sent. */
12527
+ maxImagePx: z.number().int().min(64).max(2048).default(448)
12528
+ });
12298
12529
  /** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
12299
12530
  var NcRuleInputSchema = z.object({
12300
12531
  name: z.string().min(1).max(200),
@@ -12355,7 +12586,13 @@ var NcRuleInputSchema = z.object({
12355
12586
  * `{ cap: 'alarm-panel', method: 'arm', args: { mode: 'away' } }`, the same
12356
12587
  * shape as every other actuation.
12357
12588
  */
12358
- actions: NcRuleActionsSchema.optional()
12589
+ actions: NcRuleActionsSchema.optional(),
12590
+ /**
12591
+ * AI CONFIRM — see {@link NcConfirmSchema}. `.optional()`, never defaulted:
12592
+ * a rule that predates the gate must keep delivering byte-for-byte as it
12593
+ * did, and absent is the only way to say that without a migration.
12594
+ */
12595
+ confirm: NcConfirmSchema.optional()
12359
12596
  });
12360
12597
  /**
12361
12598
  * Partial patch for `updateRule` — any subset of the input fields, plus the
@@ -12366,7 +12603,37 @@ var NcRuleInputSchema = z.object({
12366
12603
  * still flow through `nc.setRuleTargetEnabled` (owner-checked), never a raw
12367
12604
  * `updateRule` patch.
12368
12605
  */
12369
- var NcRulePatchSchema = NcRuleInputSchema.partial().extend({ disabledTargetIds: z.array(z.string()).optional() });
12606
+ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
12607
+ disabledTargetIds: z.array(z.string()).optional(),
12608
+ /**
12609
+ * `.partial()` DOES NOT REMOVE A FIELD'S `.default()`.
12610
+ *
12611
+ * It makes the key optional to SUPPLY; the parse still materialises the
12612
+ * default when the key is absent. And `NcRuleStore.update` merges with
12613
+ * `{ ...existing, ...patch }`, so a materialised key OVERWRITES the stored
12614
+ * one — which made every partial edit destructive:
12615
+ *
12616
+ * nc.updateRule({ throttle }) → conditions reset to `{}`
12617
+ * nc.setRuleTargetEnabled(...) → conditions reset to `{}`
12618
+ * setEnabled(ruleId, false) → conditions reset to `{}`
12619
+ *
12620
+ * A rule scoped to one camera and one zone silently became a rule that
12621
+ * matches EVERY event on EVERY camera, and lost its `media` policy
12622
+ * (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
12623
+ * live on 2026-08-12: a rule scoped to device 617 fired on 590 and 615
12624
+ * within a minute of a two-field patch.
12625
+ *
12626
+ * So every defaulted field is re-declared here WITHOUT its default. The
12627
+ * inner defaults still apply when the caller DOES send the key — `{}` for
12628
+ * conditions remains a real instruction ("clear them") — and only the
12629
+ * absent key is now genuinely absent.
12630
+ */
12631
+ enabled: z.boolean().optional(),
12632
+ conditions: NcConditionsSchema.optional(),
12633
+ media: NcMediaPolicySchema.optional(),
12634
+ throttle: NcThrottleSchema.optional(),
12635
+ priority: z.number().int().min(1).max(5).optional()
12636
+ });
12370
12637
  /** A persisted rule. */
12371
12638
  var NcRuleSchema = NcRuleInputSchema.extend({
12372
12639
  id: z.string(),
@@ -12479,12 +12746,20 @@ var NC_CONDITION_CATALOG = [
12479
12746
  valueType: "systemEvent",
12480
12747
  options: [
12481
12748
  {
12482
- value: "camera-online",
12483
- label: "Camera online"
12749
+ value: "device-online",
12750
+ label: "Device online"
12751
+ },
12752
+ {
12753
+ value: "device-offline",
12754
+ label: "Device offline"
12755
+ },
12756
+ {
12757
+ value: "device-disabled",
12758
+ label: "Device switched off"
12484
12759
  },
12485
12760
  {
12486
- value: "camera-offline",
12487
- label: "Camera offline"
12761
+ value: "device-enabled",
12762
+ label: "Device switched on"
12488
12763
  },
12489
12764
  {
12490
12765
  value: "stream-online",
@@ -12509,12 +12784,24 @@ var NC_CONDITION_CATALOG = [
12509
12784
  {
12510
12785
  value: "server-update-available",
12511
12786
  label: "Server update available"
12787
+ },
12788
+ {
12789
+ value: "alarm-triggered",
12790
+ label: "Alarm triggered"
12791
+ },
12792
+ {
12793
+ value: "alarm-armed",
12794
+ label: "Alarm armed"
12795
+ },
12796
+ {
12797
+ value: "alarm-disarmed",
12798
+ label: "Alarm disarmed"
12512
12799
  }
12513
12800
  ],
12514
12801
  operator: "in",
12515
12802
  appliesTo: ["system-event"],
12516
12803
  phase: "P1",
12517
- description: "Infrastructure and update events. Optionally narrow camera/stream events by device, node events by node id, and addon updates by package name."
12804
+ description: "Infrastructure and update events. Device liveness covers EVERY device type — narrow it by device type (cameras only, say) and/or by device, node events by node id, and addon updates by package name."
12518
12805
  },
12519
12806
  {
12520
12807
  id: "devices",
@@ -13044,6 +13331,25 @@ var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.partial();
13044
13331
  * Never authored, never stored — see `alarm-mode-coverage.ts` for why a stored
13045
13332
  * copy would lie the first time a rule is disabled.
13046
13333
  */
13334
+ /**
13335
+ * Why a device a mode NAMES is nonetheless not armed by it.
13336
+ *
13337
+ * Each value is an existing authority, never a new flag (D62): `muted` is the
13338
+ * per-camera notification switch the Notification Center already owns,
13339
+ * `detection-off` is the device's own detection binding being inactive, and
13340
+ * `offline` is the device manager's liveness. A fourth reason would mean a
13341
+ * fourth authority, and inventing one here is how a panel starts disagreeing
13342
+ * with the switches the operator actually used.
13343
+ */
13344
+ var NcAlarmSkipReasonSchema = z.enum([
13345
+ "muted",
13346
+ "detection-off",
13347
+ "offline"
13348
+ ]);
13349
+ var NcAlarmSkippedDeviceSchema = z.object({
13350
+ deviceId: z.number().int(),
13351
+ reason: NcAlarmSkipReasonSchema
13352
+ });
13047
13353
  var NcAlarmModeCoverageSchema = z.object({
13048
13354
  mode: AlarmArmModeSchema,
13049
13355
  /** Enabled rules gated on `armed_<mode>`. Zero means the mode does nothing. */
@@ -13051,7 +13357,18 @@ var NcAlarmModeCoverageSchema = z.object({
13051
13357
  /** At least one covering rule has no device scope, so the mode covers all. */
13052
13358
  allDevices: z.boolean(),
13053
13359
  /** Ids named by the covering rules. A SUBSET when `allDevices` is true. */
13054
- deviceIds: z.array(z.number().int())
13360
+ deviceIds: z.array(z.number().int()),
13361
+ /**
13362
+ * Devices this mode NAMES but cannot actually arm, each with the switch that
13363
+ * excludes it.
13364
+ *
13365
+ * "Away armed — 12 cameras" is a promise, and a muted camera among those
13366
+ * twelve makes it false in exactly the way nobody notices until an incident.
13367
+ * Defaulted to `[]` so a coverage answer computed before this field existed
13368
+ * still parses as "nothing known to be skipped" rather than failing the whole
13369
+ * alarm tab.
13370
+ */
13371
+ skippedDevices: z.array(NcAlarmSkippedDeviceSchema).default([])
13055
13372
  });
13056
13373
  var NcAlarmConfigSchema = z.object({
13057
13374
  /**
@@ -25620,7 +25937,19 @@ var RecordingManifestSchema = z.object({
25620
25937
  * profiles/subtrees/locations on this node). */
25621
25938
  var RecordingDeviceUsageSchema = z.object({
25622
25939
  deviceId: z.number(),
25623
- usedBytes: z.number()
25940
+ usedBytes: z.number(),
25941
+ /**
25942
+ * Start of this camera's OLDEST indexed segment, across every profile and
25943
+ * location — the "Oldest footage" column in Recordings → Storage, and the
25944
+ * only honest answer to "is retention actually holding?" per camera.
25945
+ *
25946
+ * `null` = the camera has no footage. OPTIONAL because a recorder that
25947
+ * predates this field omits it entirely, and a hub whose types carry the
25948
+ * field must keep validating that older provider's payload: the framework
25949
+ * (types) and the addon ship on different trains, and the addon is usually
25950
+ * the later of the two.
25951
+ */
25952
+ oldestMs: z.number().nullable().optional()
25624
25953
  });
25625
25954
  /** Recording storage usage + capacity for one storage location. */
25626
25955
  var RecordingLocationUsageSchema = z.object({
@@ -25648,6 +25977,57 @@ var RecordingStorageUsageSchema = z.object({
25648
25977
  locations: z.array(RecordingLocationUsageSchema)
25649
25978
  });
25650
25979
  /**
25980
+ * The OPERATOR-ARMED half of multi-location recordings (D116).
25981
+ *
25982
+ * The placement plan decides where NEW writes go and moves nothing. A rebalance
25983
+ * is the operator asking for the EXISTING archive to be brought into line with
25984
+ * that plan: one relocate job per (camera, profile) pile that sits on the wrong
25985
+ * location, run FIFO behind the single-flight mover.
25986
+ *
25987
+ * `plan…` and `start…` return the SAME shape deliberately — what the operator
25988
+ * confirms is exactly what gets enqueued, and `jobIds` is the only difference
25989
+ * (empty on the plan).
25990
+ */
25991
+ var RecordingRebalanceMoveSchema = z.object({
25992
+ deviceId: z.number(),
25993
+ profile: z.string(),
25994
+ fromLocationId: z.string(),
25995
+ toLocationId: z.string(),
25996
+ bytes: z.number(),
25997
+ files: z.number().int()
25998
+ });
25999
+ /** Why a pile that is out of place is staying there. Every refusal is
26000
+ * reported: a rebalance that silently drops a camera reads exactly like one
26001
+ * that had nothing to do. */
26002
+ var RecordingRebalanceSkipReasonSchema = z.enum([
26003
+ "unassigned",
26004
+ "target-not-writable",
26005
+ "below-threshold",
26006
+ "no-headroom"
26007
+ ]);
26008
+ var RecordingRebalanceSkipSchema = z.object({
26009
+ deviceId: z.number(),
26010
+ profile: z.string(),
26011
+ fromLocationId: z.string(),
26012
+ /** The location the plan wants; null when the camera has no assignment. */
26013
+ toLocationId: z.string().nullable(),
26014
+ bytes: z.number(),
26015
+ reason: RecordingRebalanceSkipReasonSchema
26016
+ });
26017
+ var RecordingRebalancePlanSchema = z.object({
26018
+ moves: z.array(RecordingRebalanceMoveSchema),
26019
+ skipped: z.array(RecordingRebalanceSkipSchema),
26020
+ bytesToMove: z.number(),
26021
+ /** Relocate job ids enqueued. Always empty for the plan (dry-run) call. */
26022
+ jobIds: z.array(z.string())
26023
+ });
26024
+ var RecordingRebalanceInputSchema = z.object({
26025
+ /** Copy throttle in MB/s (default 40) — a rebalance is a background chore. */
26026
+ throttleMbps: z.number().min(1).max(1e3).optional(),
26027
+ /** Ignore piles smaller than this (default 1 GB). */
26028
+ minMoveGb: z.number().min(0).optional()
26029
+ });
26030
+ /**
25651
26031
  * Result of locating footage at a wall-clock instant for one device/profile.
25652
26032
  * `segment` carries the covering segment's window; `gap` reports the forward
25653
26033
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -25891,6 +26271,36 @@ var recordingCapability = {
25891
26271
  cancelStorageMigrationMove: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
25892
26272
  kind: "mutation",
25893
26273
  auth: "admin"
26274
+ }),
26275
+ /**
26276
+ * Move footage between locations — the OPERATOR's mover, scoped to one
26277
+ * camera (and optionally to specific profiles) rather than a whole disk.
26278
+ * Queued FIFO behind the single-flight engine, so arming several is safe.
26279
+ */
26280
+ relocateFootage: method(RelocateFootageInputSchema, z.object({ jobId: z.string() }), {
26281
+ kind: "mutation",
26282
+ auth: "admin"
26283
+ }),
26284
+ /** Every relocate job this recorder knows about, newest first (in RAM: the
26285
+ * move is resumable, so a lost list costs nothing but the display). */
26286
+ listRelocateJobs: method(z.object({}), z.array(RelocateJobSchema).readonly(), {
26287
+ kind: "query",
26288
+ auth: "admin"
26289
+ }),
26290
+ /** Cancel a running or queued relocate job. A queued job never runs. */
26291
+ cancelRelocateJob: method(z.object({ jobId: z.string() }), z.object({ cancelled: z.boolean() }), {
26292
+ kind: "mutation",
26293
+ auth: "admin"
26294
+ }),
26295
+ /** What a rebalance WOULD move, and what it would refuse. Moves nothing. */
26296
+ planStorageRebalance: method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
26297
+ kind: "query",
26298
+ auth: "admin"
26299
+ }),
26300
+ /** Arm the rebalance: enqueue one relocate job per planned move. */
26301
+ startStorageRebalance: method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
26302
+ kind: "mutation",
26303
+ auth: "admin"
25894
26304
  })
25895
26305
  }
25896
26306
  };
@@ -35838,6 +36248,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
35838
36248
  addonId: null,
35839
36249
  access: "create"
35840
36250
  },
36251
+ "recording.cancelRelocateJob": {
36252
+ capName: "recording",
36253
+ capScope: "system",
36254
+ addonId: null,
36255
+ access: "create"
36256
+ },
35841
36257
  "recording.cancelStorageMigrationMove": {
35842
36258
  capName: "recording",
35843
36259
  capScope: "system",
@@ -35892,6 +36308,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
35892
36308
  addonId: null,
35893
36309
  access: "view"
35894
36310
  },
36311
+ "recording.listRelocateJobs": {
36312
+ capName: "recording",
36313
+ capScope: "system",
36314
+ addonId: null,
36315
+ access: "view"
36316
+ },
35895
36317
  "recording.locateSegment": {
35896
36318
  capName: "recording",
35897
36319
  capScope: "system",
@@ -35904,6 +36326,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
35904
36326
  addonId: null,
35905
36327
  access: "create"
35906
36328
  },
36329
+ "recording.planStorageRebalance": {
36330
+ capName: "recording",
36331
+ capScope: "system",
36332
+ addonId: null,
36333
+ access: "view"
36334
+ },
35907
36335
  "recording.pruneFootage": {
35908
36336
  capName: "recording",
35909
36337
  capScope: "system",
@@ -35928,6 +36356,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
35928
36356
  addonId: null,
35929
36357
  access: "create"
35930
36358
  },
36359
+ "recording.relocateFootage": {
36360
+ capName: "recording",
36361
+ capScope: "system",
36362
+ addonId: null,
36363
+ access: "create"
36364
+ },
35931
36365
  "recording.renderClip": {
35932
36366
  capName: "recording",
35933
36367
  capScope: "system",
@@ -35964,6 +36398,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
35964
36398
  addonId: null,
35965
36399
  access: "create"
35966
36400
  },
36401
+ "recording.startStorageRebalance": {
36402
+ capName: "recording",
36403
+ capScope: "system",
36404
+ addonId: null,
36405
+ access: "create"
36406
+ },
35967
36407
  "recordingExport.cancelExport": {
35968
36408
  capName: "recording-export",
35969
36409
  capScope: "system",
@@ -38131,7 +38571,12 @@ function createSystemProxy(api) {
38131
38571
  refreshStorageLocationsForMigration: (input) => dispatch("recording", "refreshStorageLocationsForMigration", "mutation", input),
38132
38572
  startStorageMigrationMove: (input) => dispatch("recording", "startStorageMigrationMove", "mutation", input),
38133
38573
  getStorageMigrationMoveStatus: (input) => dispatch("recording", "getStorageMigrationMoveStatus", "query", input),
38134
- cancelStorageMigrationMove: (input) => dispatch("recording", "cancelStorageMigrationMove", "mutation", input)
38574
+ cancelStorageMigrationMove: (input) => dispatch("recording", "cancelStorageMigrationMove", "mutation", input),
38575
+ relocateFootage: (input) => dispatch("recording", "relocateFootage", "mutation", input),
38576
+ listRelocateJobs: (input) => dispatch("recording", "listRelocateJobs", "query", input),
38577
+ cancelRelocateJob: (input) => dispatch("recording", "cancelRelocateJob", "mutation", input),
38578
+ planStorageRebalance: (input) => dispatch("recording", "planStorageRebalance", "query", input),
38579
+ startStorageRebalance: (input) => dispatch("recording", "startStorageRebalance", "mutation", input)
38135
38580
  },
38136
38581
  recordingExport: {
38137
38582
  getExport: (input) => dispatch("recordingExport", "getExport", "query", input),
@@ -38693,6 +39138,111 @@ var FramerateField = z.number().int().min(1).max(60);
38693
39138
  var TargetsField = z.array(NcRuleTargetSchema).min(1);
38694
39139
  var PriorityField = z.number().int().min(1).max(5);
38695
39140
  /**
39141
+ * Floor on any dense cadence, seconds — the recording's own frame interval.
39142
+ *
39143
+ * Declared here because it bounds BOTH the rule field and the renderer's
39144
+ * derivation, and two copies of a floor are two floors that can drift.
39145
+ */
39146
+ var TIMELAPSE_DENSE_FLOOR_SEC = .1;
39147
+ /**
39148
+ * Explicit override of the DENSE sampling cadence, seconds.
39149
+ *
39150
+ * Absent ⇒ derived as `max(1s, cadenceSec / 30)` — a 30 s base samples every
39151
+ * 1 s inside a detection range. (It was `base / 10` until 2026-08-12, which
39152
+ * made that same base 3 s and rendered a person pass as two frames.)
39153
+ *
39154
+ * THE ARITHMETIC. A detection range of `rangeSec` seconds sampled every
39155
+ * `denseCadenceSec` and played at `framerate` occupies
39156
+ *
39157
+ * outputSeconds = (rangeSec / denseCadenceSec) / framerate
39158
+ *
39159
+ * so a 7 s pass at 1 s / 12 fps is 0.58 s of video, and at 0.5 s it is 1.17 s.
39160
+ * Halving this field doubles the frames INSIDE ranges only — the base cadence,
39161
+ * and therefore the length of a quiet night, does not move.
39162
+ *
39163
+ * Floored at {@link TIMELAPSE_DENSE_FLOOR_SEC}: asking for frames faster than
39164
+ * the recording has them returns the same frames, requested twice. Must be
39165
+ * STRICTLY smaller than `cadenceSec` — a dense rate that is not denser renders
39166
+ * a uniform video the operator believes is two-rate — and upsert refuses it
39167
+ * rather than letting the export cap reject the render hours after the window.
39168
+ */
39169
+ var DenseCadenceSecField = z.number().min(TIMELAPSE_DENSE_FLOOR_SEC).max(3600);
39170
+ /**
39171
+ * Minimum seconds of OUTPUT video each detection range must occupy.
39172
+ *
39173
+ * The operator-facing form of the arithmetic above: instead of solving for a
39174
+ * cadence, state the dwell and let the renderer solve. `minDwellSec: 1` on a
39175
+ * 30 s base at 12 fps turns a 7 s pass into a full second of video by sampling
39176
+ * that range every ~583 ms.
39177
+ *
39178
+ * ONE CADENCE SERVES EVERY RANGE. `ExportDenseSchema.everyMs` is global — the
39179
+ * ranges are terms of a single ffmpeg `select` expression that cannot vary rate
39180
+ * per term — so the MOST DEMANDING (shortest) range sets the rate and longer
39181
+ * ranges are sampled denser than they need. Per-range cadences require a cap
39182
+ * schema change and are the tracked follow-up.
39183
+ *
39184
+ * A range too short to reach the dwell even at {@link TIMELAPSE_DENSE_FLOOR_SEC}
39185
+ * is rendered with every frame that EXISTS and no more: the guarantee is capped
39186
+ * by real footage, never met by duplicating frames into motion that never
39187
+ * happened.
39188
+ */
39189
+ var MinDwellSecField = z.number().min(0).max(60);
39190
+ /**
39191
+ * Caption burned into the notification's preview frame.
39192
+ *
39193
+ * Same `{{var}}` vocabulary as {@link TimelapseTemplateSchema} (`camera`,
39194
+ * `rule`, `from`, `to`) and rendered by the SAME renderer — a second
39195
+ * templating dialect for one field would be a second thing to explain.
39196
+ *
39197
+ * Absent ⇒ {@link DEFAULT_TIMELAPSE_PREVIEW_TEXT}. An EMPTY STRING is the
39198
+ * operator saying "the frame, no caption" — a distinct, reachable answer, and
39199
+ * the reason this is not `.min(1)`.
39200
+ */
39201
+ var PreviewTextField = z.string().max(200);
39202
+ /**
39203
+ * Whether the notification's preview is a STILL or a short animation.
39204
+ *
39205
+ * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
39206
+ * rule)"* — his Scrypted advanced-notifier has a `gifRule`, and a ten-hour
39207
+ * night reads better as three seconds of motion than as one frame of it. Both
39208
+ * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
39209
+ * simply applies it to a dozen frames sampled across the render and assembles
39210
+ * them.
39211
+ *
39212
+ * `'image'` is the default and stays the default: a GIF costs a dozen ffmpeg
39213
+ * seeks and a palette pass, and no rule that never asked for one should start
39214
+ * paying that on the deploy that shipped it.
39215
+ *
39216
+ * A GIF that cannot be assembled DEGRADES to the still — never to nothing.
39217
+ */
39218
+ var PreviewModeField = z.enum(["image", "gif"]);
39219
+ /**
39220
+ * Which detection classes the notification reports counts for.
39221
+ *
39222
+ * The counts come from the tracks the render ALREADY fetched for its dense-range
39223
+ * plan — no second query — aggregated per class. Absent or empty means "every
39224
+ * class the window actually contained", which is what an operator who never
39225
+ * opened the field wants; a list narrows it (`['person']` on a driveway that
39226
+ * counts cars all night).
39227
+ *
39228
+ * Class names are the tracker's own (`person`, `vehicle`, `animal`, `package`,
39229
+ * …). An unknown name simply never matches and reports nothing — it is not an
39230
+ * error, because a rule may legitimately name a class this camera's model does
39231
+ * not emit.
39232
+ *
39233
+ * The counts are exposed to {@link TimelapseTemplateSchema} as:
39234
+ * - `{{detections}}` — total over the reported classes
39235
+ * - `{{detectionSummary}}` — `2 persone, 1 veicolo`
39236
+ * - `{{count_person}}` / `{{count_vehicle}}` / `{{count_animal}}` / … —
39237
+ * one per class, `count_` + the class name
39238
+ *
39239
+ * With NO custom body template the summary is appended to the derived body, and
39240
+ * only when the total is non-zero: a nightly `0 rilevamenti` is a line nobody
39241
+ * reads. With a custom template the operator owns every word — nothing is
39242
+ * appended, so `{{detectionSummary}}` is how he asks for it.
39243
+ */
39244
+ var ReportClassesField = z.array(z.string().min(1).max(40)).max(20);
39245
+ /**
38696
39246
  * Client-supplied timelapse-rule fields. The server stamps id / createdBy /
38697
39247
  * createdAt / updatedAt / ownerUserId / lastGeneratedAt — none of them appear
38698
39248
  * here (see the ownership note above).
@@ -38712,13 +39262,42 @@ var TimelapseRuleInputSchema = z.object({
38712
39262
  cadenceSec: CadenceSecField.default(15),
38713
39263
  /** Output frames per second of the assembled mp4 (predecessor parity). */
38714
39264
  framerate: FramerateField.default(10),
39265
+ /**
39266
+ * Explicit dense cadence — see {@link DenseCadenceSecField}. Absent ⇒ derived
39267
+ * as `max(1s, cadenceSec / 30)`, which is what every rule written before this
39268
+ * field gets.
39269
+ */
39270
+ denseCadenceSec: DenseCadenceSecField.optional(),
39271
+ /** Output-seconds guarantee per detection range — see {@link MinDwellSecField}. */
39272
+ minDwellSec: MinDwellSecField.optional(),
38715
39273
  /** `notification-output` targets the finished video/thumbnail is sent to. */
38716
39274
  targets: TargetsField,
38717
39275
  template: TimelapseTemplateSchema.optional(),
39276
+ /**
39277
+ * Caption on the notification's PREVIEW FRAME — see {@link PreviewTextField}
39278
+ * and {@link DEFAULT_TIMELAPSE_PREVIEW_TEXT}.
39279
+ *
39280
+ * Deliberately NOT part of {@link TimelapseTemplateSchema}: that object is
39281
+ * the notification's title/body, and clearing it (`template: null`) must not
39282
+ * silently clear the caption too.
39283
+ */
39284
+ previewText: PreviewTextField.optional(),
39285
+ /** Still or animation — see {@link PreviewModeField}. */
39286
+ previewMode: PreviewModeField.default("image"),
39287
+ /** Classes the notification counts — see {@link ReportClassesField}. */
39288
+ reportClasses: ReportClassesField.optional(),
38718
39289
  /** Canonical notification priority ordinal (1..5); per-target overridable. */
38719
39290
  priority: PriorityField.default(3)
38720
39291
  });
38721
39292
  /**
39293
+ * The caption a rule that never set one gets.
39294
+ *
39295
+ * Rendered through the ordinary `{{var}}` pass at delivery, so a rule created
39296
+ * before this field existed still reads "Timelapse Videocamera ingresso" and
39297
+ * not the literal braces.
39298
+ */
39299
+ var DEFAULT_TIMELAPSE_PREVIEW_TEXT = "Timelapse {{camera}}";
39300
+ /**
38722
39301
  * Partial patch for an update — any subset of the INPUT fields, with NO
38723
39302
  * defaults (an absent key means "leave unchanged", never "reset to default").
38724
39303
  * Provenance and ownership are absent by construction: a patch can rename or
@@ -38741,8 +39320,13 @@ var TimelapseRulePatchSchema = z.object({
38741
39320
  schedule: NcScheduleSchema.optional(),
38742
39321
  cadenceSec: CadenceSecField.optional(),
38743
39322
  framerate: FramerateField.optional(),
39323
+ denseCadenceSec: DenseCadenceSecField.optional(),
39324
+ minDwellSec: MinDwellSecField.optional(),
38744
39325
  targets: TargetsField.optional(),
38745
39326
  template: TimelapseTemplateSchema.nullable().optional(),
39327
+ previewText: PreviewTextField.optional(),
39328
+ previewMode: PreviewModeField.optional(),
39329
+ reportClasses: ReportClassesField.optional(),
38746
39330
  priority: PriorityField.optional()
38747
39331
  });
38748
39332
  /** A persisted timelapse rule. */
@@ -38783,6 +39367,26 @@ var TimelapseRuleSchema = TimelapseRuleInputSchema.extend({
38783
39367
  updatedAt: z.number()
38784
39368
  });
38785
39369
  /**
39370
+ * Refuse a dense cadence that is not denser than the base.
39371
+ *
39372
+ * Called at UPSERT, on the MERGED rule — a patch that lowers `cadenceSec`
39373
+ * alone can invalidate a `denseCadenceSec` set months earlier, so checking the
39374
+ * patch in isolation would let the bad pair through.
39375
+ *
39376
+ * Refusing here and not at render time is the whole point: `ExportTimelapseSchema`
39377
+ * also rejects the pair, but it does so when the window has already closed and
39378
+ * the footage is being cut — the operator learns at 06:05 that last night was
39379
+ * never going to render, and a closed window does not come back. This turns
39380
+ * that into a failed edit he can see and correct.
39381
+ *
39382
+ * @throws Error naming both numbers, so the message is actionable in a toast.
39383
+ */
39384
+ function assertTimelapseCadences(pair) {
39385
+ const dense = pair.denseCadenceSec;
39386
+ if (dense === void 0) return;
39387
+ if (dense >= pair.cadenceSec) throw new Error(`denseCadenceSec (${dense}s) must be strictly smaller than cadenceSec (${pair.cadenceSec}s) — a dense cadence that is not denser renders a uniform timelapse`);
39388
+ }
39389
+ /**
38786
39390
  * The last successful generation for ONE camera of a rule, epoch-ms.
38787
39391
  *
38788
39392
  * The per-device map wins; a rule with no map falls back to the rule-wide
@@ -40545,4 +41149,4 @@ function enumerateInferenceDevices(hw) {
40545
41149
  return out;
40546
41150
  }
40547
41151
  //#endregion
40548
- export { ACCESSORY_LABEL, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
41152
+ export { ACCESSORY_LABEL, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, 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, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };