@camstack/types 1.2.141 → 1.2.143
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/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/backup.cap.d.ts +149 -7
- package/dist/capabilities/device-manager.cap.d.ts +7 -0
- package/dist/capabilities/device-provider.cap.d.ts +30 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +31 -0
- package/dist/device/base-device-provider.d.ts +67 -1
- package/dist/device/device-restore-retry.d.ts +93 -0
- package/dist/device/index.d.ts +3 -1
- package/dist/generated/addon-api.d.ts +28 -0
- package/dist/generated/device-proxy.d.ts +3 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +581 -26
- package/dist/index.mjs +575 -27
- package/dist/{sleep-C1mz-ocE.mjs → sleep-B195W080.mjs} +2 -0
- package/dist/{sleep-BwGJ_wL_.js → sleep-jdpPltQH.js} +2 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-BZL-fdNj.mjs";
|
|
2
|
-
import { $ as DecodedFrameSchema, A as event, B as ReadinessRegistry, C as DeviceFeature, Ct as isEvent, D as DEFAULT_RUNTIME_STATE_DURABILITY, Dt as collectHydratedFieldValues, E as adminUiCapability, Et as collectHydratedFieldEntries, F as systemMethod, G as BrokerStatsSchema, H as emitDownForOwnedCaps, I as CAP_NODE_PIN_CONTEXT_KEY, J as CamProfileSchema, K as BrokerStatusSchema, L as nodePin, M as isDeviceConfigCap, N as method, O as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Ot as hydrateSchema, P as resolveCapMount, Q as DecodedAudioChunkSchema, R as readNodePin, S as ChargingStatus, St as emitReadiness, T as DeviceType, Tt as WELL_KNOWN_TAB_MAP, U as readinessKey, V as ReadinessTimeoutError, W as scopeKey, X as CamStreamResolutionSchema, Y as CamStreamKindSchema, Z as CameraStreamSchema, _ as createMirrorSource, _t as DisposerChain, a as asJsonObject, at as ProfileSlotStatusSchema, b as deviceOpsCapability, bt as createDurableState, c as parseJsonArray, ct as SubscribeAudioChunksInputSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as SubscribeFramesResultSchema, et as EncodedPacketSchema, f as DEVICE_SCOPED_CAPS, ft as makeProfileBrokerId, g as createLazyTrpcSource, gt as DATAPLANE_SECRET_HEADER, h as createEventBusSliceSource, ht as selectAssignedProfileSlots, i as asJsonArray, it as ProfileSlotSchema, j as expandCapMethods, k as DEVICE_STATUS_METHOD, kt as resolveHydratedFieldValue, l as parseJsonObject, lt as SubscribeAudioChunksResultSchema, m as createDeviceProxy, mt as parseProfileBrokerId, n as sleepCancellable, nt as FrameHandleSchema, o as asNumber, ot as StreamSourceEntrySchema, p as isDeviceScopedCap, pt as makeSourceBrokerId, q as CAM_PROFILE_ORDER, r as asBoolean, rt as ProfileRtspEntrySchema, s as asString, st as StreamSourceSchema, t as sleep, tt as FrameHandleFormatSchema, u as parseJsonUnknown, ut as SubscribeFramesInputSchema, v as createSliceHandle, vt as BaseAddon, w as DeviceRole, wt as WELL_KNOWN_TABS, x as viewerUiCapability, xt as createEvent, y as RawStateResultSchema, yt as normalizeAddonInitResult, z as toNodeId } from "./sleep-
|
|
2
|
+
import { $ as DecodedFrameSchema, A as event, B as ReadinessRegistry, C as DeviceFeature, Ct as isEvent, D as DEFAULT_RUNTIME_STATE_DURABILITY, Dt as collectHydratedFieldValues, E as adminUiCapability, Et as collectHydratedFieldEntries, F as systemMethod, G as BrokerStatsSchema, H as emitDownForOwnedCaps, I as CAP_NODE_PIN_CONTEXT_KEY, J as CamProfileSchema, K as BrokerStatusSchema, L as nodePin, M as isDeviceConfigCap, N as method, O as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Ot as hydrateSchema, P as resolveCapMount, Q as DecodedAudioChunkSchema, R as readNodePin, S as ChargingStatus, St as emitReadiness, T as DeviceType, Tt as WELL_KNOWN_TAB_MAP, U as readinessKey, V as ReadinessTimeoutError, W as scopeKey, X as CamStreamResolutionSchema, Y as CamStreamKindSchema, Z as CameraStreamSchema, _ as createMirrorSource, _t as DisposerChain, a as asJsonObject, at as ProfileSlotStatusSchema, b as deviceOpsCapability, bt as createDurableState, c as parseJsonArray, ct as SubscribeAudioChunksInputSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as SubscribeFramesResultSchema, et as EncodedPacketSchema, f as DEVICE_SCOPED_CAPS, ft as makeProfileBrokerId, g as createLazyTrpcSource, gt as DATAPLANE_SECRET_HEADER, h as createEventBusSliceSource, ht as selectAssignedProfileSlots, i as asJsonArray, it as ProfileSlotSchema, j as expandCapMethods, k as DEVICE_STATUS_METHOD, kt as resolveHydratedFieldValue, l as parseJsonObject, lt as SubscribeAudioChunksResultSchema, m as createDeviceProxy, mt as parseProfileBrokerId, n as sleepCancellable, nt as FrameHandleSchema, o as asNumber, ot as StreamSourceEntrySchema, p as isDeviceScopedCap, pt as makeSourceBrokerId, q as CAM_PROFILE_ORDER, r as asBoolean, rt as ProfileRtspEntrySchema, s as asString, st as StreamSourceSchema, t as sleep, tt as FrameHandleFormatSchema, u as parseJsonUnknown, ut as SubscribeFramesInputSchema, v as createSliceHandle, vt as BaseAddon, w as DeviceRole, wt as WELL_KNOWN_TABS, x as viewerUiCapability, xt as createEvent, y as RawStateResultSchema, yt as normalizeAddonInitResult, z as toNodeId } from "./sleep-B195W080.mjs";
|
|
3
3
|
import { a as buildAudioArgs, c as buildVideoArgs, d as logBannerArgs, f as pickVideoEncoder, i as audioPlanFromEncodeProfile, l as invocationFromEncodeProfile, n as Fmp4BoxSplitter, o as buildFfmpegArgs, r as AUDIO_PRESETS, s as buildInputArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-rO1sRmEK.mjs";
|
|
4
4
|
import { EventSourceType } from "./enums.mjs";
|
|
5
5
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
@@ -6615,6 +6615,89 @@ var LocationStatSchema = z.object({
|
|
|
6615
6615
|
fileCount: z.number(),
|
|
6616
6616
|
present: z.boolean()
|
|
6617
6617
|
});
|
|
6618
|
+
/** Lifecycle of a backup run. Terminal states: succeeded / failed / cancelled. */
|
|
6619
|
+
var BackupRunStateSchema = z.enum([
|
|
6620
|
+
"queued",
|
|
6621
|
+
"running",
|
|
6622
|
+
"succeeded",
|
|
6623
|
+
"failed",
|
|
6624
|
+
"cancelled"
|
|
6625
|
+
]);
|
|
6626
|
+
/**
|
|
6627
|
+
* Where a running backup currently is. `queued` before it starts,
|
|
6628
|
+
* `building` while the tar.gz is being staged, `uploading` during the
|
|
6629
|
+
* per-destination fan-out, `done` once terminal.
|
|
6630
|
+
*/
|
|
6631
|
+
var BackupRunPhaseSchema = z.enum([
|
|
6632
|
+
"queued",
|
|
6633
|
+
"building",
|
|
6634
|
+
"uploading",
|
|
6635
|
+
"done"
|
|
6636
|
+
]);
|
|
6637
|
+
/**
|
|
6638
|
+
* Observable state of one backup run — readable WHILE it runs via
|
|
6639
|
+
* `backup.listRuns`. This is what makes the execution queue and
|
|
6640
|
+
* `backup.cancel` usable: the 2026-09-04 incident (two concurrent
|
|
6641
|
+
* multi-GB builds, staging 5.1 GB → 18 GB, load 62) was only
|
|
6642
|
+
* diagnosable with `du` because nothing reported that runs existed or
|
|
6643
|
+
* how large the staged archive had grown.
|
|
6644
|
+
*/
|
|
6645
|
+
var BackupRunSchema = z.object({
|
|
6646
|
+
/** Stable run id — the handle `backup.cancel` takes. */
|
|
6647
|
+
id: z.string(),
|
|
6648
|
+
state: BackupRunStateSchema,
|
|
6649
|
+
phase: BackupRunPhaseSchema,
|
|
6650
|
+
/**
|
|
6651
|
+
* Resolved destination location ids. Empty while queued (targets are
|
|
6652
|
+
* resolved when the run starts, against the then-current policies).
|
|
6653
|
+
*/
|
|
6654
|
+
destinationIds: z.array(z.string()).readonly(),
|
|
6655
|
+
label: z.string().optional(),
|
|
6656
|
+
/** ms-epoch when the run was submitted (trigger call / schedule fire). */
|
|
6657
|
+
requestedAt: z.number(),
|
|
6658
|
+
/** ms-epoch when the run left the queue and started building. */
|
|
6659
|
+
startedAt: z.number().optional(),
|
|
6660
|
+
/** ms-epoch when the run reached a terminal state. */
|
|
6661
|
+
finishedAt: z.number().optional(),
|
|
6662
|
+
/** Compressed bytes of the staging archive written so far. */
|
|
6663
|
+
stagedBytes: z.number(),
|
|
6664
|
+
/** Final staged archive size, once the build phase completes. */
|
|
6665
|
+
archiveSizeBytes: z.number().optional(),
|
|
6666
|
+
/** Bytes pushed to the destination currently uploading. */
|
|
6667
|
+
uploadedBytes: z.number(),
|
|
6668
|
+
/** Destinations where the archive fully landed (uploaded + indexed). */
|
|
6669
|
+
completedDestinationIds: z.array(z.string()).readonly(),
|
|
6670
|
+
/** Destinations that failed during the fan-out. */
|
|
6671
|
+
failedDestinationIds: z.array(z.string()).readonly(),
|
|
6672
|
+
/** Failure message when `state === 'failed'`. */
|
|
6673
|
+
error: z.string().optional(),
|
|
6674
|
+
/**
|
|
6675
|
+
* 1-based place in the execution queue — 1 = runs next. Present only
|
|
6676
|
+
* while `state === 'queued'`. Stamped by the orchestrator from the
|
|
6677
|
+
* queue's OWN pending order, never derived from timestamps, so the
|
|
6678
|
+
* UI cannot show an order the executor will not honour.
|
|
6679
|
+
*/
|
|
6680
|
+
queuePosition: z.number().int().min(1).optional()
|
|
6681
|
+
});
|
|
6682
|
+
/**
|
|
6683
|
+
* Result of `backup.trigger`. The call still resolves when the run
|
|
6684
|
+
* terminates (compat with schedule-driven runs and the admin UI), but
|
|
6685
|
+
* it now names the run and says whether it had to WAIT: a trigger that
|
|
6686
|
+
* arrives while another run is in flight is enqueued (or joined onto
|
|
6687
|
+
* an identical already-queued run), never started concurrently.
|
|
6688
|
+
*/
|
|
6689
|
+
var BackupTriggerResultSchema = z.object({
|
|
6690
|
+
/** The run this trigger mapped to — poll it via `listRuns`, stop it via `cancel`. */
|
|
6691
|
+
runId: z.string(),
|
|
6692
|
+
/** True when the run waited behind an in-flight run instead of starting immediately. */
|
|
6693
|
+
queued: z.boolean(),
|
|
6694
|
+
/** True when this trigger was coalesced onto an identical already-queued run. */
|
|
6695
|
+
joined: z.boolean(),
|
|
6696
|
+
/** True when the run was cancelled before completing every destination. */
|
|
6697
|
+
cancelled: z.boolean(),
|
|
6698
|
+
/** One entry per destination the archive landed at (partial on cancel). */
|
|
6699
|
+
entries: z.array(BackupEntrySchema).readonly()
|
|
6700
|
+
});
|
|
6618
6701
|
/**
|
|
6619
6702
|
* A backup schedule — the N:M "entry" that binds one cron cadence to a
|
|
6620
6703
|
* SET of destination locations. Supersedes the per-location cron on
|
|
@@ -6672,6 +6755,11 @@ var backupCapability = {
|
|
|
6672
6755
|
* Trigger a backup. Without `destinations` the orchestrator fans
|
|
6673
6756
|
* out to every destination flagged as enabled in the routing
|
|
6674
6757
|
* config; with it, only the listed addons receive the archive.
|
|
6758
|
+
*
|
|
6759
|
+
* At most ONE backup run executes at a time — the source tree and
|
|
6760
|
+
* the staging disk are shared by every run, so a second trigger
|
|
6761
|
+
* while one is in flight is enqueued (or joined onto an identical
|
|
6762
|
+
* queued run) and the result says so. See D342.
|
|
6675
6763
|
*/
|
|
6676
6764
|
trigger: method(z.object({
|
|
6677
6765
|
/** Subset of registered `backup-destination` addon ids to write to. */
|
|
@@ -6685,7 +6773,30 @@ var backupCapability = {
|
|
|
6685
6773
|
* retention (manual runs).
|
|
6686
6774
|
*/
|
|
6687
6775
|
retentionCount: z.number().int().min(1).max(1e3).optional()
|
|
6688
|
-
}).optional(),
|
|
6776
|
+
}).optional(), BackupTriggerResultSchema, {
|
|
6777
|
+
kind: "mutation",
|
|
6778
|
+
auth: "admin"
|
|
6779
|
+
}),
|
|
6780
|
+
/**
|
|
6781
|
+
* Every run the orchestrator knows about, in EXECUTION order: the
|
|
6782
|
+
* running run first, then queued runs in the exact order they will
|
|
6783
|
+
* execute (each with `queuePosition`, 1 = next), then the bounded
|
|
6784
|
+
* finished history newest-first. Only one run executes at a time
|
|
6785
|
+
* (D342) — the queued section IS the line. Each run carries live
|
|
6786
|
+
* phase + byte counters so a runaway build is visible in seconds,
|
|
6787
|
+
* not via `du`.
|
|
6788
|
+
*/
|
|
6789
|
+
listRuns: method(z.void(), z.array(BackupRunSchema).readonly(), { auth: "admin" }),
|
|
6790
|
+
/**
|
|
6791
|
+
* Stop a backup run. Mirrors `storage-migration.cancel` semantics:
|
|
6792
|
+
* id in, `{ cancelled }` out — `false` when the run is unknown or
|
|
6793
|
+
* already terminal. A QUEUED run is removed before it ever starts;
|
|
6794
|
+
* the RUNNING run has its tar/upload stream actually aborted, the
|
|
6795
|
+
* half-written staging archive is deleted, and the in-flight
|
|
6796
|
+
* destination upload is aborted server-side (partial discarded).
|
|
6797
|
+
* Destinations that already completed keep their archive.
|
|
6798
|
+
*/
|
|
6799
|
+
cancel: method(z.object({ runId: z.string() }), z.object({ cancelled: z.boolean() }), {
|
|
6689
6800
|
kind: "mutation",
|
|
6690
6801
|
auth: "admin"
|
|
6691
6802
|
}),
|
|
@@ -7569,6 +7680,38 @@ var streamBrokerCapability = {
|
|
|
7569
7680
|
auth: "admin"
|
|
7570
7681
|
}),
|
|
7571
7682
|
/**
|
|
7683
|
+
* The HARDWARE behind a device number was replaced
|
|
7684
|
+
* (`deviceManager.migrateDevice`). Forget every piece of broker state that
|
|
7685
|
+
* described the old box, so the next catalog pull derives everything from
|
|
7686
|
+
* the camera that is actually there:
|
|
7687
|
+
*
|
|
7688
|
+
* - every `derived:*` stream definition — a derived is authored against a
|
|
7689
|
+
* specific profile layout, and against the wrong hardware its feeder
|
|
7690
|
+
* respawns forever (observed at attempt 2732 on the live hub,
|
|
7691
|
+
* 2026-09-01);
|
|
7692
|
+
* - the profile-slot assignment entry, PURGED (not unassigned — unassign
|
|
7693
|
+
* marks the slot manual, which would pin the stale choice instead of
|
|
7694
|
+
* letting `computeInitialAssignment` re-derive it);
|
|
7695
|
+
* - the probe snapshots (`<deviceId>/…` — probed codec/resolution of the
|
|
7696
|
+
* old hardware);
|
|
7697
|
+
* - the persisted RTSP token rows for the device's brokers (keyed
|
|
7698
|
+
* `<deviceId>/<camStreamId>`; the stream ids change with the hardware,
|
|
7699
|
+
* so the rows are dead URLs).
|
|
7700
|
+
*
|
|
7701
|
+
* An RPC, deliberately — an event is telemetry and may be dropped (D8),
|
|
7702
|
+
* and a dropped forget leaves a feeder respawning against a stream that
|
|
7703
|
+
* does not exist.
|
|
7704
|
+
*/
|
|
7705
|
+
forgetDeviceHardware: method(z.object({ deviceId: z.number().int().nonnegative() }), z.object({
|
|
7706
|
+
derivedStreamsDeleted: z.array(z.string()).readonly(),
|
|
7707
|
+
assignmentsPurged: z.boolean(),
|
|
7708
|
+
probeSnapshotsDropped: z.number().int().nonnegative(),
|
|
7709
|
+
rtspTokenRowsDeleted: z.number().int().nonnegative()
|
|
7710
|
+
}), {
|
|
7711
|
+
kind: "mutation",
|
|
7712
|
+
auth: "admin"
|
|
7713
|
+
}),
|
|
7714
|
+
/**
|
|
7572
7715
|
* Render a short GIF or MP4 from the broker's PRE-BUFFER around an instant.
|
|
7573
7716
|
*
|
|
7574
7717
|
* The pre-buffer is the only source that already holds the seconds BEFORE
|
|
@@ -9973,6 +10116,35 @@ var deviceProviderCapability = {
|
|
|
9973
10116
|
name: z.string(),
|
|
9974
10117
|
type: z.string()
|
|
9975
10118
|
}))),
|
|
10119
|
+
/**
|
|
10120
|
+
* Tear down and reconstruct ONE device in place from its persisted rows —
|
|
10121
|
+
* touching no other device this provider owns.
|
|
10122
|
+
*
|
|
10123
|
+
* The primitive `deviceManager.migrateDevice` uses to flush the two
|
|
10124
|
+
* migrated numbers: after `swapIds` the runner's live instance still
|
|
10125
|
+
* carries the PRE-swap numeric id (baked into the object, its native-cap
|
|
10126
|
+
* registrations and its log tags), and a live object cannot be renumbered.
|
|
10127
|
+
* Before this method the only flush was restarting the whole owning addon
|
|
10128
|
+
* — which took every camera the provider owns down with it (28 devices
|
|
10129
|
+
* for one migrated camera, measured 2026-09-04, and the morning of the
|
|
10130
|
+
* same day ~27 devices' native caps did not come back on their own).
|
|
10131
|
+
*
|
|
10132
|
+
* Keyed by `stableId`, deliberately: the numeric id is exactly the thing
|
|
10133
|
+
* that changes. The reply carries the id the device answers on NOW.
|
|
10134
|
+
* Implemented once in `BaseDeviceProvider` — decommission the live
|
|
10135
|
+
* instance (if any), then re-create from the persisted row: the same
|
|
10136
|
+
* teardown/rehydrate pair every graceful shutdown + boot already uses.
|
|
10137
|
+
* An RPC, never an event: a dropped event would leave the runner writing
|
|
10138
|
+
* against the wrong camera (D8).
|
|
10139
|
+
*
|
|
10140
|
+
* Construction can dial hardware, and the migrated source is
|
|
10141
|
+
* characteristically dead — the timeout covers a full activate window
|
|
10142
|
+
* rather than the 60 s default.
|
|
10143
|
+
*/
|
|
10144
|
+
reloadDevice: method(z.object({ stableId: z.string() }), z.object({ deviceId: z.number() }), {
|
|
10145
|
+
kind: "mutation",
|
|
10146
|
+
timeoutMs: 3 * 6e4
|
|
10147
|
+
}),
|
|
9976
10148
|
supportsDiscovery: method(z.object({}), z.boolean()),
|
|
9977
10149
|
/**
|
|
9978
10150
|
* Run a network scan. `params` carries optional provider-specific scan
|
|
@@ -10367,13 +10539,21 @@ var deviceManagerCapability = {
|
|
|
10367
10539
|
* `sourceStillLive` names what stayed live; empty is the only value that
|
|
10368
10540
|
* means the old hardware is quiet. The migration proceeds either way —
|
|
10369
10541
|
* refusing would refuse the case this exists for.
|
|
10542
|
+
*
|
|
10543
|
+
* **Safe to retry.** A duplicate call while a migration involving either
|
|
10544
|
+
* device is in flight is REFUSED, never queued; a repeat of a swap that
|
|
10545
|
+
* already completed (matched against the `addonId`/`stableId` fingerprint
|
|
10546
|
+
* the swap left on the rows, within 15 min) is a no-op returning the
|
|
10547
|
+
* original report. A blind re-run can no longer silently undo the
|
|
10548
|
+
* migration it retried.
|
|
10370
10549
|
*/
|
|
10371
10550
|
migrateDevice: method(z.object({
|
|
10372
10551
|
sourceId: z.number(),
|
|
10373
10552
|
targetId: z.number()
|
|
10374
10553
|
}), MigrateDeviceResultSchema, {
|
|
10375
10554
|
kind: "mutation",
|
|
10376
|
-
auth: "admin"
|
|
10555
|
+
auth: "admin",
|
|
10556
|
+
timeoutMs: 12 * 6e4
|
|
10377
10557
|
}),
|
|
10378
10558
|
/** Register a device in the DB + in-memory registry. Called by DeviceManagerApi.register(). */
|
|
10379
10559
|
registerDevice: method(DeviceRegisterPayloadSchema, z.void(), { kind: "mutation" }),
|
|
@@ -36240,6 +36420,152 @@ var BaseDevice = class {
|
|
|
36240
36420
|
}
|
|
36241
36421
|
};
|
|
36242
36422
|
//#endregion
|
|
36423
|
+
//#region src/device/device-restore-retry.ts
|
|
36424
|
+
/**
|
|
36425
|
+
* Delays before retry rounds 1..N — the round count IS the bound.
|
|
36426
|
+
* 10 s catches "the hub was busy for a moment"; the full schedule
|
|
36427
|
+
* (10 + 30 + 90 s of waiting, plus up to one 60 s transport timeout
|
|
36428
|
+
* per attempt) covers a device-manager lock held for minutes — the
|
|
36429
|
+
* 2026-09-04 outage's migration hold was ~3.5 min.
|
|
36430
|
+
*/
|
|
36431
|
+
var DEVICE_RESTORE_RETRY_DELAYS_MS = [
|
|
36432
|
+
1e4,
|
|
36433
|
+
3e4,
|
|
36434
|
+
9e4
|
|
36435
|
+
];
|
|
36436
|
+
/** Lane width for retry rounds. See module docblock — retries are
|
|
36437
|
+
* evidence of congestion, so they never re-stampede full-width. */
|
|
36438
|
+
var DEVICE_RESTORE_RETRY_CONCURRENCY = 4;
|
|
36439
|
+
/** Abortable sleep — resolves early (never rejects) on abort. */
|
|
36440
|
+
function sleep$1(ms, signal) {
|
|
36441
|
+
return new Promise((resolve) => {
|
|
36442
|
+
if (signal.aborted) {
|
|
36443
|
+
resolve();
|
|
36444
|
+
return;
|
|
36445
|
+
}
|
|
36446
|
+
const onAbort = () => {
|
|
36447
|
+
clearTimeout(timer);
|
|
36448
|
+
resolve();
|
|
36449
|
+
};
|
|
36450
|
+
const timer = setTimeout(() => {
|
|
36451
|
+
signal.removeEventListener("abort", onAbort);
|
|
36452
|
+
resolve();
|
|
36453
|
+
}, ms);
|
|
36454
|
+
timer.unref?.();
|
|
36455
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
36456
|
+
});
|
|
36457
|
+
}
|
|
36458
|
+
/** Drain `items` through at most `width` concurrent lanes. `fn` must
|
|
36459
|
+
* not reject (callers wrap their own try/catch). */
|
|
36460
|
+
async function runWithConcurrency(items, width, fn) {
|
|
36461
|
+
const queue = [...items];
|
|
36462
|
+
const laneCount = Math.max(1, Math.min(width, queue.length));
|
|
36463
|
+
const lane = async () => {
|
|
36464
|
+
for (;;) {
|
|
36465
|
+
const item = queue.shift();
|
|
36466
|
+
if (item === void 0) return;
|
|
36467
|
+
await fn(item);
|
|
36468
|
+
}
|
|
36469
|
+
};
|
|
36470
|
+
await Promise.all(Array.from({ length: laneCount }, lane));
|
|
36471
|
+
}
|
|
36472
|
+
var DeviceRestoreRetryScheduler = class {
|
|
36473
|
+
#logger;
|
|
36474
|
+
#attempt;
|
|
36475
|
+
#onPermanentFailure;
|
|
36476
|
+
#delaysMs;
|
|
36477
|
+
#concurrency;
|
|
36478
|
+
#now;
|
|
36479
|
+
#abort = new AbortController();
|
|
36480
|
+
constructor(options) {
|
|
36481
|
+
this.#logger = options.logger;
|
|
36482
|
+
this.#attempt = options.attempt;
|
|
36483
|
+
this.#onPermanentFailure = options.onPermanentFailure;
|
|
36484
|
+
this.#delaysMs = options.delaysMs ?? DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
36485
|
+
this.#concurrency = options.concurrency ?? 4;
|
|
36486
|
+
this.#now = options.now ?? Date.now;
|
|
36487
|
+
}
|
|
36488
|
+
/** Stop retrying (shutdown). Pending entries are NOT marked
|
|
36489
|
+
* permanently failed — the next boot restores them from disk. */
|
|
36490
|
+
cancel() {
|
|
36491
|
+
this.#abort.abort();
|
|
36492
|
+
}
|
|
36493
|
+
/**
|
|
36494
|
+
* Run the bounded retry rounds. Resolves when every entry has either
|
|
36495
|
+
* restored, been marked permanently failed, or the scheduler was
|
|
36496
|
+
* cancelled. Never rejects.
|
|
36497
|
+
*/
|
|
36498
|
+
async run(initialFailures) {
|
|
36499
|
+
let pending = initialFailures.map((failure) => ({
|
|
36500
|
+
saved: failure.saved,
|
|
36501
|
+
lastError: failure.error,
|
|
36502
|
+
attempts: 1
|
|
36503
|
+
}));
|
|
36504
|
+
for (let round = 0; round < this.#delaysMs.length; round += 1) {
|
|
36505
|
+
if (pending.length === 0 || this.#abort.signal.aborted) break;
|
|
36506
|
+
await sleep$1(this.#delaysMs[round] ?? 0, this.#abort.signal);
|
|
36507
|
+
if (this.#abort.signal.aborted) break;
|
|
36508
|
+
pending = await this.#runRound(pending, round);
|
|
36509
|
+
}
|
|
36510
|
+
if (this.#abort.signal.aborted) return [];
|
|
36511
|
+
const terminal = pending.map((entry) => ({
|
|
36512
|
+
deviceId: entry.saved.id,
|
|
36513
|
+
stableId: entry.saved.stableId,
|
|
36514
|
+
type: String(entry.saved.type),
|
|
36515
|
+
attempts: entry.attempts,
|
|
36516
|
+
lastError: entry.lastError,
|
|
36517
|
+
failedAt: this.#now()
|
|
36518
|
+
}));
|
|
36519
|
+
for (const failure of terminal) this.#onPermanentFailure(failure);
|
|
36520
|
+
return terminal;
|
|
36521
|
+
}
|
|
36522
|
+
/** One retry round: parents first (phase 0), then hub-adopted
|
|
36523
|
+
* children (phase 1) — a child's attempt depends on its parent
|
|
36524
|
+
* having landed, exactly like the initial two-pass restore. */
|
|
36525
|
+
async #runRound(pending, round) {
|
|
36526
|
+
const next = [];
|
|
36527
|
+
const parents = pending.filter((entry) => entry.saved.parentDeviceId === null);
|
|
36528
|
+
const children = pending.filter((entry) => entry.saved.parentDeviceId !== null);
|
|
36529
|
+
for (const phase of [parents, children]) await runWithConcurrency(phase, this.#concurrency, async (entry) => {
|
|
36530
|
+
if (this.#abort.signal.aborted) {
|
|
36531
|
+
next.push(entry);
|
|
36532
|
+
return;
|
|
36533
|
+
}
|
|
36534
|
+
const attemptNo = entry.attempts + 1;
|
|
36535
|
+
try {
|
|
36536
|
+
await this.#attempt(entry.saved);
|
|
36537
|
+
this.#logger.info("Device restored on retry", {
|
|
36538
|
+
tags: {
|
|
36539
|
+
deviceId: entry.saved.id,
|
|
36540
|
+
stableId: entry.saved.stableId
|
|
36541
|
+
},
|
|
36542
|
+
meta: { attempt: attemptNo }
|
|
36543
|
+
});
|
|
36544
|
+
} catch (err) {
|
|
36545
|
+
const lastError = err instanceof Error ? err.message : String(err);
|
|
36546
|
+
const remainingRetries = this.#delaysMs.length - (round + 1);
|
|
36547
|
+
this.#logger.warn("Device restore retry failed", {
|
|
36548
|
+
tags: {
|
|
36549
|
+
deviceId: entry.saved.id,
|
|
36550
|
+
stableId: entry.saved.stableId
|
|
36551
|
+
},
|
|
36552
|
+
meta: {
|
|
36553
|
+
attempt: attemptNo,
|
|
36554
|
+
remainingRetries,
|
|
36555
|
+
error: lastError
|
|
36556
|
+
}
|
|
36557
|
+
});
|
|
36558
|
+
next.push({
|
|
36559
|
+
saved: entry.saved,
|
|
36560
|
+
lastError,
|
|
36561
|
+
attempts: attemptNo
|
|
36562
|
+
});
|
|
36563
|
+
}
|
|
36564
|
+
});
|
|
36565
|
+
return next;
|
|
36566
|
+
}
|
|
36567
|
+
};
|
|
36568
|
+
//#endregion
|
|
36243
36569
|
//#region src/device/base-device-provider.ts
|
|
36244
36570
|
/**
|
|
36245
36571
|
* Convert an IDevice to the flat DeviceSummary shape expected by the
|
|
@@ -36290,6 +36616,7 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
36290
36616
|
}];
|
|
36291
36617
|
}
|
|
36292
36618
|
async onShutdown() {
|
|
36619
|
+
this.cancelRestoreRetries();
|
|
36293
36620
|
const devices = await this.ctx.kernel.devices?.getAll() ?? [];
|
|
36294
36621
|
for (const device of devices) try {
|
|
36295
36622
|
await this.ctx.kernel.devices?.decommission(device.id);
|
|
@@ -36307,9 +36634,16 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
36307
36634
|
async start() {}
|
|
36308
36635
|
async stop() {}
|
|
36309
36636
|
async getStatus() {
|
|
36637
|
+
const all = await this.ctx.kernel.devices?.getAll() ?? [];
|
|
36638
|
+
const summary = this.restoreFailureSummary();
|
|
36639
|
+
if (summary === null) return {
|
|
36640
|
+
connected: true,
|
|
36641
|
+
deviceCount: all.length
|
|
36642
|
+
};
|
|
36310
36643
|
return {
|
|
36311
36644
|
connected: true,
|
|
36312
|
-
deviceCount:
|
|
36645
|
+
deviceCount: all.length,
|
|
36646
|
+
error: summary
|
|
36313
36647
|
};
|
|
36314
36648
|
}
|
|
36315
36649
|
async getDevices() {
|
|
@@ -36399,8 +36733,137 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
36399
36733
|
};
|
|
36400
36734
|
}
|
|
36401
36735
|
async restoreDevices(savedDevices) {
|
|
36402
|
-
await this.onRestoreDevices(savedDevices);
|
|
36403
|
-
if (savedDevices.length
|
|
36736
|
+
const report = await this.onRestoreDevices(savedDevices);
|
|
36737
|
+
if (savedDevices.length === 0) return;
|
|
36738
|
+
if (report && report.failedCount > 0) {
|
|
36739
|
+
this.ctx.logger.warn(`Restored ${report.restoredCount}/${savedDevices.length} ${this.providerName} device(s) — ${report.failedCount} failed, bounded retry scheduled`);
|
|
36740
|
+
return;
|
|
36741
|
+
}
|
|
36742
|
+
const restoredCount = report ? report.restoredCount : savedDevices.length;
|
|
36743
|
+
this.ctx.logger.info(`Restored ${restoredCount} ${this.providerName} device(s)`);
|
|
36744
|
+
}
|
|
36745
|
+
/** Retry schedule. Overridable (tests use millisecond delays). */
|
|
36746
|
+
restoreRetryDelaysMs = DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
36747
|
+
/** Retry lane width. See `device-restore-retry.ts` for why retries
|
|
36748
|
+
* never re-stampede full-width while the initial pass does (D167). */
|
|
36749
|
+
restoreRetryConcurrency = 4;
|
|
36750
|
+
_restoreRetryScheduler = null;
|
|
36751
|
+
_restoreRetryCompletion = null;
|
|
36752
|
+
_permanentRestoreFailures = /* @__PURE__ */ new Map();
|
|
36753
|
+
/** Settles when the background retry rounds finish (or `null` when
|
|
36754
|
+
* nothing failed). Exposed for tests and subclass diagnostics —
|
|
36755
|
+
* boot NEVER awaits this: the runner's post-init handshake goes out
|
|
36756
|
+
* with the devices that restored, and a late success is announced
|
|
36757
|
+
* through the `native-cap-change` → `updateCaps` path. */
|
|
36758
|
+
get restoreRetryCompletion() {
|
|
36759
|
+
return this._restoreRetryCompletion;
|
|
36760
|
+
}
|
|
36761
|
+
/** Devices that exhausted the retry bound this process lifetime. */
|
|
36762
|
+
get permanentRestoreFailures() {
|
|
36763
|
+
return [...this._permanentRestoreFailures.values()];
|
|
36764
|
+
}
|
|
36765
|
+
/** One-line operator-facing summary for `getStatus().error`, or
|
|
36766
|
+
* `null` when every device restored. */
|
|
36767
|
+
restoreFailureSummary() {
|
|
36768
|
+
if (this._permanentRestoreFailures.size === 0) return null;
|
|
36769
|
+
const ids = [...this._permanentRestoreFailures.keys()].join(", ");
|
|
36770
|
+
return `${this._permanentRestoreFailures.size} device(s) permanently failed restore (deviceIds: ${ids}) — restart the ${this.providerName} provider to retry`;
|
|
36771
|
+
}
|
|
36772
|
+
cancelRestoreRetries() {
|
|
36773
|
+
this._restoreRetryScheduler?.cancel();
|
|
36774
|
+
this._restoreRetryScheduler = null;
|
|
36775
|
+
}
|
|
36776
|
+
recordPermanentRestoreFailure(failure) {
|
|
36777
|
+
this._permanentRestoreFailures.set(failure.deviceId, failure);
|
|
36778
|
+
this.ctx.logger.error("Device restore permanently failed — its capabilities will not register until the provider restarts", {
|
|
36779
|
+
tags: {
|
|
36780
|
+
deviceId: failure.deviceId,
|
|
36781
|
+
stableId: failure.stableId
|
|
36782
|
+
},
|
|
36783
|
+
meta: {
|
|
36784
|
+
type: failure.type,
|
|
36785
|
+
attempts: failure.attempts,
|
|
36786
|
+
error: failure.lastError
|
|
36787
|
+
}
|
|
36788
|
+
});
|
|
36789
|
+
}
|
|
36790
|
+
scheduleRestoreRetries(failures, attempt) {
|
|
36791
|
+
const scheduler = new DeviceRestoreRetryScheduler({
|
|
36792
|
+
logger: this.ctx.logger,
|
|
36793
|
+
delaysMs: this.restoreRetryDelaysMs,
|
|
36794
|
+
concurrency: this.restoreRetryConcurrency,
|
|
36795
|
+
attempt,
|
|
36796
|
+
onPermanentFailure: (failure) => this.recordPermanentRestoreFailure(failure)
|
|
36797
|
+
});
|
|
36798
|
+
this._restoreRetryScheduler = scheduler;
|
|
36799
|
+
this._restoreRetryCompletion = scheduler.run(failures).then(() => void 0).catch((err) => {
|
|
36800
|
+
this.ctx.logger.error("Restore retry scheduler crashed", { meta: { error: err instanceof Error ? err.message : String(err) } });
|
|
36801
|
+
});
|
|
36802
|
+
}
|
|
36803
|
+
/**
|
|
36804
|
+
* Tear down and reconstruct ONE device from its persisted rows — the
|
|
36805
|
+
* `deviceProvider.reloadDevice` cap method. Persistence is never touched,
|
|
36806
|
+
* and no other device this provider owns is disturbed.
|
|
36807
|
+
*
|
|
36808
|
+
* Keyed by `stableId` because the caller's whole reason to be here is that
|
|
36809
|
+
* the NUMERIC id changed (`deviceManager.migrateDevice` swapped it): the
|
|
36810
|
+
* fresh instance resolves its id through `allocateDeviceId`, which returns
|
|
36811
|
+
* whatever number the row carries NOW. The teardown is `decommission` —
|
|
36812
|
+
* exactly what a graceful shutdown runs per device (fires `removeDevice()`,
|
|
36813
|
+
* unregisters native caps, drops the registry entry) — and the rebuild is
|
|
36814
|
+
* the boot restore's own `create()` path, including its pass 2: first-class
|
|
36815
|
+
* children (hub-adopted cameras under an NVR) are decommissioned with the
|
|
36816
|
+
* parent by the cascade and must be re-created explicitly, because only
|
|
36817
|
+
* accessory children come back through `getAccessoryChildren()`.
|
|
36818
|
+
*
|
|
36819
|
+
* Reloading an accessory child directly is refused (no device class) —
|
|
36820
|
+
* reload its parent instead.
|
|
36821
|
+
*/
|
|
36822
|
+
async reloadDevice(input) {
|
|
36823
|
+
const { stableId } = input;
|
|
36824
|
+
const devices = this.ctx.kernel.devices;
|
|
36825
|
+
if (!devices) throw new Error(`${this.providerName}: kernel.devices unavailable — cannot reload`);
|
|
36826
|
+
const live = (await devices.getAll()).find((d) => d.stableId === stableId);
|
|
36827
|
+
if (live) await devices.decommission(live.id);
|
|
36828
|
+
const { id } = await this.ctx.api.deviceManager.allocateDeviceId.mutate({
|
|
36829
|
+
addonId: this.addonId,
|
|
36830
|
+
stableId
|
|
36831
|
+
});
|
|
36832
|
+
const meta = await this.ctx.api.deviceManager.loadMeta.query({ deviceId: id });
|
|
36833
|
+
if (meta === null) throw new Error(`${this.providerName}: no persisted meta for "${stableId}" (id ${id}) — cannot reload`);
|
|
36834
|
+
const deviceType = Object.values(DeviceType).find((t) => t === meta.type);
|
|
36835
|
+
const Class = deviceType !== void 0 ? this.deviceClasses[deviceType] : void 0;
|
|
36836
|
+
if (!Class) throw new Error(`${this.providerName}: no device class for type "${meta.type}" — "${stableId}" is an accessory child; reload its parent instead`);
|
|
36837
|
+
await devices.create(stableId, Class, {}, meta.parentDeviceId ?? null);
|
|
36838
|
+
const rows = await this.ctx.api.deviceManager.listPersistedByAddon.query({ addonId: this.addonId });
|
|
36839
|
+
for (const row of rows) {
|
|
36840
|
+
if (row.parentDeviceId !== id) continue;
|
|
36841
|
+
const childType = Object.values(DeviceType).find((t) => t === row.type);
|
|
36842
|
+
const ChildClass = childType !== void 0 ? this.deviceClasses[childType] : void 0;
|
|
36843
|
+
if (!ChildClass) continue;
|
|
36844
|
+
try {
|
|
36845
|
+
await devices.create(row.stableId, ChildClass, {}, id);
|
|
36846
|
+
} catch (err) {
|
|
36847
|
+
this.ctx.logger.warn("reloadDevice: failed to re-create first-class child", {
|
|
36848
|
+
tags: {
|
|
36849
|
+
deviceId: row.id,
|
|
36850
|
+
stableId: row.stableId
|
|
36851
|
+
},
|
|
36852
|
+
meta: {
|
|
36853
|
+
parentDeviceId: id,
|
|
36854
|
+
error: err instanceof Error ? err.message : String(err)
|
|
36855
|
+
}
|
|
36856
|
+
});
|
|
36857
|
+
}
|
|
36858
|
+
}
|
|
36859
|
+
this.ctx.logger.info("device reloaded in place from persisted rows", {
|
|
36860
|
+
tags: { deviceId: id },
|
|
36861
|
+
meta: {
|
|
36862
|
+
stableId,
|
|
36863
|
+
type: meta.type
|
|
36864
|
+
}
|
|
36865
|
+
});
|
|
36866
|
+
return { deviceId: id };
|
|
36404
36867
|
}
|
|
36405
36868
|
/**
|
|
36406
36869
|
* Restore devices from persisted state. Two-pass:
|
|
@@ -36426,55 +36889,108 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
36426
36889
|
* accessory-spawn flow handles via the parent's
|
|
36427
36890
|
* `getAccessoryChildren()`. Override only when the default doesn't
|
|
36428
36891
|
* fit.
|
|
36892
|
+
*
|
|
36893
|
+
* A row that fails either pass is NOT terminal (D347): it is handed
|
|
36894
|
+
* to a bounded background retry (`DeviceRestoreRetryScheduler`).
|
|
36895
|
+
* Only after the bound is exhausted is the device marked permanently
|
|
36896
|
+
* failed — logged at ERROR with `tags.deviceId` and surfaced via
|
|
36897
|
+
* `getStatus().error`.
|
|
36429
36898
|
*/
|
|
36430
36899
|
async onRestoreDevices(savedDevices) {
|
|
36431
36900
|
const restored = /* @__PURE__ */ new Set();
|
|
36901
|
+
const failures = [];
|
|
36902
|
+
const attemptRestore = async (saved) => {
|
|
36903
|
+
if (restored.has(saved.id)) return;
|
|
36904
|
+
const Class = this.deviceClasses[saved.type];
|
|
36905
|
+
if (!Class) throw new Error(`no device class registered for type "${saved.type}"`);
|
|
36906
|
+
if (saved.parentDeviceId !== null && !restored.has(saved.parentDeviceId)) throw new Error(`parent device ${saved.parentDeviceId} not restored`);
|
|
36907
|
+
await this.ctx.kernel.devices.create(saved.stableId, Class, {}, saved.parentDeviceId);
|
|
36908
|
+
restored.add(saved.id);
|
|
36909
|
+
};
|
|
36432
36910
|
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
36433
36911
|
const restoreOne = async (saved) => {
|
|
36434
|
-
|
|
36435
|
-
if (!Class) {
|
|
36912
|
+
if (!this.deviceClasses[saved.type]) {
|
|
36436
36913
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
36437
|
-
tags: {
|
|
36914
|
+
tags: {
|
|
36915
|
+
deviceId: saved.id,
|
|
36916
|
+
stableId: saved.stableId
|
|
36917
|
+
},
|
|
36438
36918
|
meta: { type: saved.type }
|
|
36439
36919
|
});
|
|
36440
36920
|
return;
|
|
36441
36921
|
}
|
|
36442
36922
|
try {
|
|
36443
|
-
await
|
|
36444
|
-
restored.add(saved.id);
|
|
36923
|
+
await attemptRestore(saved);
|
|
36445
36924
|
} catch (err) {
|
|
36446
|
-
|
|
36447
|
-
|
|
36925
|
+
const error = err instanceof Error ? err.message : String(err);
|
|
36926
|
+
this.ctx.logger.warn("Failed to restore device — bounded retry scheduled", {
|
|
36927
|
+
tags: {
|
|
36928
|
+
deviceId: saved.id,
|
|
36929
|
+
stableId: saved.stableId
|
|
36930
|
+
},
|
|
36448
36931
|
meta: {
|
|
36449
36932
|
type: saved.type,
|
|
36450
|
-
|
|
36933
|
+
attempt: 1,
|
|
36934
|
+
error
|
|
36451
36935
|
}
|
|
36452
36936
|
});
|
|
36937
|
+
failures.push({
|
|
36938
|
+
saved,
|
|
36939
|
+
error
|
|
36940
|
+
});
|
|
36453
36941
|
}
|
|
36454
36942
|
};
|
|
36455
36943
|
await Promise.all(topLevel.map((saved) => restoreOne(saved)));
|
|
36944
|
+
const failedTopLevelIds = new Set(failures.map((failure) => failure.saved.id));
|
|
36456
36945
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
36457
36946
|
for (const saved of childRows) {
|
|
36458
|
-
|
|
36459
|
-
if (!Class) continue;
|
|
36947
|
+
if (!this.deviceClasses[saved.type]) continue;
|
|
36460
36948
|
if (saved.parentDeviceId === null) continue;
|
|
36461
|
-
if (
|
|
36462
|
-
|
|
36463
|
-
|
|
36464
|
-
|
|
36465
|
-
|
|
36466
|
-
|
|
36949
|
+
if (restored.has(saved.parentDeviceId)) {
|
|
36950
|
+
try {
|
|
36951
|
+
await attemptRestore(saved);
|
|
36952
|
+
} catch (err) {
|
|
36953
|
+
const error = err instanceof Error ? err.message : String(err);
|
|
36954
|
+
this.ctx.logger.warn("Failed to restore hub-adopted child — bounded retry scheduled", {
|
|
36955
|
+
tags: {
|
|
36956
|
+
deviceId: saved.id,
|
|
36957
|
+
stableId: saved.stableId,
|
|
36958
|
+
parentDeviceId: saved.parentDeviceId
|
|
36959
|
+
},
|
|
36960
|
+
meta: {
|
|
36961
|
+
type: saved.type,
|
|
36962
|
+
attempt: 1,
|
|
36963
|
+
error
|
|
36964
|
+
}
|
|
36965
|
+
});
|
|
36966
|
+
failures.push({
|
|
36967
|
+
saved,
|
|
36968
|
+
error
|
|
36969
|
+
});
|
|
36970
|
+
}
|
|
36971
|
+
continue;
|
|
36972
|
+
}
|
|
36973
|
+
if (failedTopLevelIds.has(saved.parentDeviceId)) {
|
|
36974
|
+
this.ctx.logger.warn("Hub-adopted child deferred — parent failed initial restore", {
|
|
36467
36975
|
tags: {
|
|
36976
|
+
deviceId: saved.id,
|
|
36468
36977
|
stableId: saved.stableId,
|
|
36469
36978
|
parentDeviceId: saved.parentDeviceId
|
|
36470
36979
|
},
|
|
36471
|
-
meta: {
|
|
36472
|
-
|
|
36473
|
-
|
|
36474
|
-
|
|
36980
|
+
meta: { type: saved.type }
|
|
36981
|
+
});
|
|
36982
|
+
failures.push({
|
|
36983
|
+
saved,
|
|
36984
|
+
error: `parent device ${saved.parentDeviceId} not restored`
|
|
36475
36985
|
});
|
|
36986
|
+
continue;
|
|
36476
36987
|
}
|
|
36477
36988
|
}
|
|
36989
|
+
if (failures.length > 0) this.scheduleRestoreRetries(failures, attemptRestore);
|
|
36990
|
+
return {
|
|
36991
|
+
restoredCount: restored.size,
|
|
36992
|
+
failedCount: failures.length
|
|
36993
|
+
};
|
|
36478
36994
|
}
|
|
36479
36995
|
/** Convert an IDevice to the flat DeviceSummary for the cap router. */
|
|
36480
36996
|
toSummary(device) {
|
|
@@ -39628,6 +40144,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39628
40144
|
addonId: null,
|
|
39629
40145
|
access: "create"
|
|
39630
40146
|
},
|
|
40147
|
+
"backup.cancel": {
|
|
40148
|
+
capName: "backup",
|
|
40149
|
+
capScope: "system",
|
|
40150
|
+
addonId: null,
|
|
40151
|
+
access: "create"
|
|
40152
|
+
},
|
|
39631
40153
|
"backup.delete": {
|
|
39632
40154
|
capName: "backup",
|
|
39633
40155
|
capScope: "system",
|
|
@@ -39670,6 +40192,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39670
40192
|
addonId: null,
|
|
39671
40193
|
access: "view"
|
|
39672
40194
|
},
|
|
40195
|
+
"backup.listRuns": {
|
|
40196
|
+
capName: "backup",
|
|
40197
|
+
capScope: "system",
|
|
40198
|
+
addonId: null,
|
|
40199
|
+
access: "view"
|
|
40200
|
+
},
|
|
39673
40201
|
"backup.listSchedules": {
|
|
39674
40202
|
capName: "backup",
|
|
39675
40203
|
capScope: "system",
|
|
@@ -40870,6 +41398,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
40870
41398
|
addonId: null,
|
|
40871
41399
|
access: "view"
|
|
40872
41400
|
},
|
|
41401
|
+
"deviceProvider.reloadDevice": {
|
|
41402
|
+
capName: "device-provider",
|
|
41403
|
+
capScope: "system",
|
|
41404
|
+
addonId: null,
|
|
41405
|
+
access: "create"
|
|
41406
|
+
},
|
|
40873
41407
|
"deviceProvider.start": {
|
|
40874
41408
|
capName: "device-provider",
|
|
40875
41409
|
capScope: "system",
|
|
@@ -44236,6 +44770,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
44236
44770
|
addonId: null,
|
|
44237
44771
|
access: "create"
|
|
44238
44772
|
},
|
|
44773
|
+
"streamBroker.forgetDeviceHardware": {
|
|
44774
|
+
capName: "stream-broker",
|
|
44775
|
+
capScope: "system",
|
|
44776
|
+
addonId: null,
|
|
44777
|
+
access: "delete"
|
|
44778
|
+
},
|
|
44239
44779
|
"streamBroker.getAllRtspEntries": {
|
|
44240
44780
|
capName: "stream-broker",
|
|
44241
44781
|
capScope: "system",
|
|
@@ -46957,6 +47497,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
46957
47497
|
form: "single",
|
|
46958
47498
|
optional: false
|
|
46959
47499
|
}],
|
|
47500
|
+
"streamBroker.forgetDeviceHardware": [{
|
|
47501
|
+
name: "deviceId",
|
|
47502
|
+
form: "single",
|
|
47503
|
+
optional: false
|
|
47504
|
+
}],
|
|
46960
47505
|
"streamBroker.getDeviceAudioMute": [{
|
|
46961
47506
|
name: "deviceId",
|
|
46962
47507
|
form: "single",
|
|
@@ -47330,6 +47875,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
|
|
|
47330
47875
|
"recordingExport.listExports",
|
|
47331
47876
|
"streamBroker.acquireEgressTranscode",
|
|
47332
47877
|
"streamBroker.assignProfile",
|
|
47878
|
+
"streamBroker.forgetDeviceHardware",
|
|
47333
47879
|
"streamBroker.getDeviceAudioMute",
|
|
47334
47880
|
"streamBroker.getStreamWithCodec",
|
|
47335
47881
|
"streamBroker.produceEventMedia",
|
|
@@ -47873,6 +48419,8 @@ function createSystemProxy(api) {
|
|
|
47873
48419
|
backup: {
|
|
47874
48420
|
listDestinations: (input) => dispatch("backup", "listDestinations", "query", input),
|
|
47875
48421
|
trigger: (input) => dispatch("backup", "trigger", "mutation", input),
|
|
48422
|
+
listRuns: (input) => dispatch("backup", "listRuns", "query", input),
|
|
48423
|
+
cancel: (input) => dispatch("backup", "cancel", "mutation", input),
|
|
47876
48424
|
list: (input) => dispatch("backup", "list", "query", input),
|
|
47877
48425
|
listLocations: (input) => dispatch("backup", "listLocations", "query", input),
|
|
47878
48426
|
getEntries: (input) => dispatch("backup", "getEntries", "query", input),
|
|
@@ -52364,4 +52912,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
52364
52912
|
return out;
|
|
52365
52913
|
}
|
|
52366
52914
|
//#endregion
|
|
52367
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, 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, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, 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, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, 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_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_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, DetectionCatalogClassMapSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, GasStatusSchema, GetLoggingSettingsInputSchema, 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, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, 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, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, 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, PoolMemoryWatchdog, 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, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STORAGE_ACCESS_FALLBACK, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, 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, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isFirstLevelMacroClass, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, 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, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, reducePoints, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveBucketMs, resolveCapMount, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
52915
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, 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, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, 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, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, 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_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, GasStatusSchema, GetLoggingSettingsInputSchema, 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, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, 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, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, 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, PoolMemoryWatchdog, 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, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STORAGE_ACCESS_FALLBACK, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, 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, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isFirstLevelMacroClass, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, 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, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, reducePoints, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveBucketMs, resolveCapMount, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|