@camstack/types 1.1.47 → 1.1.49
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 +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +6 -0
- package/dist/capabilities/recording-export.cap.d.ts +305 -0
- package/dist/capabilities/recording.cap.d.ts +21 -0
- package/dist/capabilities/zone-rules.cap.d.ts +27 -3
- package/dist/enums/event-category.d.ts +24 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-AkBNxg_X.js → event-category-CGj9fI4L.js} +24 -0
- package/dist/{event-category-H4AVePnn.mjs → event-category-D4HJq7Mw.mjs} +24 -0
- package/dist/generated/addon-api.d.ts +418 -8
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/device-proxy.d.ts +2 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.js +299 -10
- package/dist/index.mjs +287 -11
- package/dist/interfaces/event-bus.d.ts +44 -0
- package/dist/interfaces/readiness.d.ts +8 -5
- package/dist/interfaces/recording-config.d.ts +54 -0
- package/dist/readiness/readiness-registry.d.ts +33 -10
- package/dist/{sleep-BkhAiFKX.js → sleep-BfvNtyu8.js} +71 -16
- package/dist/{sleep-CK899CTS.mjs → sleep-DOq2moJx.mjs} +71 -16
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as DisposerChain, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as DisposerChain, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-DOq2moJx.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-D4HJq7Mw.mjs";
|
|
3
3
|
import { EventSourceType } from "./enums.mjs";
|
|
4
4
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -869,6 +869,83 @@ var RecordingRetentionSchema = z.object({
|
|
|
869
869
|
maxSizeGb: z.number().min(0).optional()
|
|
870
870
|
});
|
|
871
871
|
/**
|
|
872
|
+
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
873
|
+
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
874
|
+
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
875
|
+
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
876
|
+
*
|
|
877
|
+
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
878
|
+
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
879
|
+
* preset changed over time renders every historical window at the dims it was
|
|
880
|
+
* written with.
|
|
881
|
+
*/
|
|
882
|
+
var ScrubThumbnailPresetSchema = z.enum([
|
|
883
|
+
"minimal",
|
|
884
|
+
"low",
|
|
885
|
+
"standard",
|
|
886
|
+
"high",
|
|
887
|
+
"max"
|
|
888
|
+
]);
|
|
889
|
+
/** The default preset when a config omits `scrubThumbnails`. */
|
|
890
|
+
var DEFAULT_SCRUB_THUMBNAIL_PRESET = "standard";
|
|
891
|
+
/**
|
|
892
|
+
* Preset → tile geometry + JPEG quality. Every step is 16:9; the graduated
|
|
893
|
+
* ladder trades sheet size (and remote fetch cost) for scrub crispness.
|
|
894
|
+
* `standard` matches the shipped `sheet-geometry`/`sheet-composer` defaults
|
|
895
|
+
* (480×270 q72), so an unset config is byte-identical to today. The map is
|
|
896
|
+
* strictly monotone in resolution AND quality across the ordered steps.
|
|
897
|
+
*/
|
|
898
|
+
var SCRUB_THUMBNAIL_PRESETS = {
|
|
899
|
+
minimal: {
|
|
900
|
+
tileWidth: 240,
|
|
901
|
+
tileHeight: 135,
|
|
902
|
+
quality: 55
|
|
903
|
+
},
|
|
904
|
+
low: {
|
|
905
|
+
tileWidth: 320,
|
|
906
|
+
tileHeight: 180,
|
|
907
|
+
quality: 60
|
|
908
|
+
},
|
|
909
|
+
standard: {
|
|
910
|
+
tileWidth: 480,
|
|
911
|
+
tileHeight: 270,
|
|
912
|
+
quality: 72
|
|
913
|
+
},
|
|
914
|
+
high: {
|
|
915
|
+
tileWidth: 640,
|
|
916
|
+
tileHeight: 360,
|
|
917
|
+
quality: 80
|
|
918
|
+
},
|
|
919
|
+
max: {
|
|
920
|
+
tileWidth: 960,
|
|
921
|
+
tileHeight: 540,
|
|
922
|
+
quality: 85
|
|
923
|
+
}
|
|
924
|
+
};
|
|
925
|
+
/** Human labels for each preset (resolution-tagged), for settings UIs. */
|
|
926
|
+
var SCRUB_THUMBNAIL_PRESET_LABELS = {
|
|
927
|
+
minimal: "Minimal (240p)",
|
|
928
|
+
low: "Low (320p)",
|
|
929
|
+
standard: "Standard (480p)",
|
|
930
|
+
high: "High (640p)",
|
|
931
|
+
max: "Max (960p)"
|
|
932
|
+
};
|
|
933
|
+
/** Ordered low→high so a UI can render the ladder in graduated order. */
|
|
934
|
+
var SCRUB_THUMBNAIL_PRESET_ORDER = [
|
|
935
|
+
"minimal",
|
|
936
|
+
"low",
|
|
937
|
+
"standard",
|
|
938
|
+
"high",
|
|
939
|
+
"max"
|
|
940
|
+
];
|
|
941
|
+
/**
|
|
942
|
+
* Resolve the geometry for a recording config's scrub-thumbnail preset,
|
|
943
|
+
* defaulting to `standard` when unset. Pure — no I/O.
|
|
944
|
+
*/
|
|
945
|
+
function resolveScrubThumbnailGeometry(preset) {
|
|
946
|
+
return SCRUB_THUMBNAIL_PRESETS[preset ?? "standard"];
|
|
947
|
+
}
|
|
948
|
+
/**
|
|
872
949
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
873
950
|
*
|
|
874
951
|
* `mode` is the authoritative storage choice; `schedule`/`triggers`/`pre`/`post`
|
|
@@ -905,7 +982,14 @@ var RecordingConfigSchema = z.object({
|
|
|
905
982
|
* derived into bands once via `migrateConfigToBands`.
|
|
906
983
|
*/
|
|
907
984
|
bands: z.array(RecordingBandSchema).optional(),
|
|
908
|
-
retention: RecordingRetentionSchema.optional()
|
|
985
|
+
retention: RecordingRetentionSchema.optional(),
|
|
986
|
+
/**
|
|
987
|
+
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
988
|
+
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
989
|
+
* windows only — existing sheets are immutable, and each window's index
|
|
990
|
+
* carries its own tile dims so mixed-preset history renders correctly.
|
|
991
|
+
*/
|
|
992
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
909
993
|
});
|
|
910
994
|
//#endregion
|
|
911
995
|
//#region src/interfaces/recording-config-migrate.ts
|
|
@@ -2186,6 +2270,10 @@ var MACRO_LABELS = [
|
|
|
2186
2270
|
{
|
|
2187
2271
|
id: "animal",
|
|
2188
2272
|
name: "Animal"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
id: "package",
|
|
2276
|
+
name: "Package"
|
|
2189
2277
|
}
|
|
2190
2278
|
];
|
|
2191
2279
|
var COCO_TO_MACRO = {
|
|
@@ -2208,7 +2296,10 @@ var COCO_TO_MACRO = {
|
|
|
2208
2296
|
elephant: "animal",
|
|
2209
2297
|
bear: "animal",
|
|
2210
2298
|
zebra: "animal",
|
|
2211
|
-
giraffe: "animal"
|
|
2299
|
+
giraffe: "animal",
|
|
2300
|
+
suitcase: "package",
|
|
2301
|
+
backpack: "package",
|
|
2302
|
+
handbag: "package"
|
|
2212
2303
|
},
|
|
2213
2304
|
preserveOriginal: false
|
|
2214
2305
|
};
|
|
@@ -10916,7 +11007,11 @@ var ZoneRulesArraySchema = z.array(ZoneRuleSchema).readonly();
|
|
|
10916
11007
|
* Extend the enum here when a new gating consumer comes online (audio
|
|
10917
11008
|
* gating, alert filtering, …) — no other surface needs to change.
|
|
10918
11009
|
*/
|
|
10919
|
-
var ZoneRuleStageEnum = z.enum([
|
|
11010
|
+
var ZoneRuleStageEnum = z.enum([
|
|
11011
|
+
"motion",
|
|
11012
|
+
"detection",
|
|
11013
|
+
"package"
|
|
11014
|
+
]);
|
|
10920
11015
|
/**
|
|
10921
11016
|
* Zone rules capability — per-camera CRUD over the {@link ZoneRule}
|
|
10922
11017
|
* arrays that decide how each pipeline stage uses the polygon zones.
|
|
@@ -10960,16 +11055,24 @@ var zoneRulesCapability = {
|
|
|
10960
11055
|
})
|
|
10961
11056
|
},
|
|
10962
11057
|
/**
|
|
10963
|
-
* Runtime-state slice —
|
|
11058
|
+
* Runtime-state slice — every stage mirrored together so consumers
|
|
10964
11059
|
* see one reactive handle (`device.state.zoneRules.value`) instead
|
|
10965
|
-
* of
|
|
10966
|
-
* `{motion, detection}` shape, so subscribers always get the
|
|
11060
|
+
* of one per stage. Bulk-replace mutations on any stage write the full
|
|
11061
|
+
* `{motion, detection, package}` shape, so subscribers always get the
|
|
10967
11062
|
* complete current set. Consumers that only care about one stage
|
|
10968
11063
|
* just read the matching property.
|
|
11064
|
+
*
|
|
11065
|
+
* `package` backs the package-drop detector — a package zone is a
|
|
11066
|
+
* `ZoneRule` on the `'package'` stage referencing drawn polygons
|
|
11067
|
+
* (see docs/superpowers/specs/2026-07-17-package-zones-design.md §3.1).
|
|
11068
|
+
* The orchestrator provider that writes this stage lands in a later
|
|
11069
|
+
* slice; until then the mirror carries only `{motion, detection}` and
|
|
11070
|
+
* consumers read `package` as absent (treat as `[]`).
|
|
10969
11071
|
*/
|
|
10970
11072
|
runtimeState: z.object({
|
|
10971
11073
|
motion: z.array(ZoneRuleSchema).readonly(),
|
|
10972
|
-
detection: z.array(ZoneRuleSchema).readonly()
|
|
11074
|
+
detection: z.array(ZoneRuleSchema).readonly(),
|
|
11075
|
+
package: z.array(ZoneRuleSchema).readonly()
|
|
10973
11076
|
})
|
|
10974
11077
|
};
|
|
10975
11078
|
//#endregion
|
|
@@ -12970,6 +13073,12 @@ function createSystemProxy(api) {
|
|
|
12970
13073
|
unassignPlates: (input) => dispatch("plateGallery", "unassignPlates", "mutation", input)
|
|
12971
13074
|
},
|
|
12972
13075
|
recording: { getStorageUsage: (input) => dispatch("recording", "getStorageUsage", "query", input) },
|
|
13076
|
+
recordingExport: {
|
|
13077
|
+
getExport: (input) => dispatch("recordingExport", "getExport", "query", input),
|
|
13078
|
+
cancelExport: (input) => dispatch("recordingExport", "cancelExport", "mutation", input),
|
|
13079
|
+
deleteExport: (input) => dispatch("recordingExport", "deleteExport", "mutation", input),
|
|
13080
|
+
getDownloadUrl: (input) => dispatch("recordingExport", "getDownloadUrl", "query", input)
|
|
13081
|
+
},
|
|
12973
13082
|
serverManagement: {
|
|
12974
13083
|
getServerPackageStatus: (input) => dispatch("serverManagement", "getServerPackageStatus", "query", input),
|
|
12975
13084
|
checkServerUpdate: (input) => dispatch("serverManagement", "checkServerUpdate", "mutation", input),
|
|
@@ -18234,6 +18343,7 @@ var EventKindIconSchema = z.enum([
|
|
|
18234
18343
|
"smoke",
|
|
18235
18344
|
"water",
|
|
18236
18345
|
"button",
|
|
18346
|
+
"package",
|
|
18237
18347
|
"generic"
|
|
18238
18348
|
]);
|
|
18239
18349
|
var EventKindCategorySchema = z.enum([
|
|
@@ -18241,7 +18351,8 @@ var EventKindCategorySchema = z.enum([
|
|
|
18241
18351
|
"audio",
|
|
18242
18352
|
"detection",
|
|
18243
18353
|
"sensor",
|
|
18244
|
-
"custom"
|
|
18354
|
+
"custom",
|
|
18355
|
+
"package"
|
|
18245
18356
|
]);
|
|
18246
18357
|
var EventKindDescriptorSchema = z.object({
|
|
18247
18358
|
/** Stable kind id (e.g. 'motion', 'person', 'contact'). */
|
|
@@ -23492,6 +23603,127 @@ var recordingCapability = {
|
|
|
23492
23603
|
}
|
|
23493
23604
|
};
|
|
23494
23605
|
//#endregion
|
|
23606
|
+
//#region src/capabilities/recording-export.cap.ts
|
|
23607
|
+
/**
|
|
23608
|
+
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
23609
|
+
* MP4 (regular / accelerated / decelerated / timelapse, ± audio), kept for a
|
|
23610
|
+
* bounded lifetime with a durable history, auto-expiry, and optional
|
|
23611
|
+
* delete-after-download.
|
|
23612
|
+
*
|
|
23613
|
+
* Like `recording` this is a `scope:'system', mode:'singleton'` cap: the
|
|
23614
|
+
* recorder self-gates so exactly ONE node (the designated `recordingNodeId`,
|
|
23615
|
+
* default `hub`) registers it. Device-scoped methods carry `deviceId` in their
|
|
23616
|
+
* input and dispatch to that single provider; the render runs on the node that
|
|
23617
|
+
* owns the footage (no cross-node segment transfer). Download rides the
|
|
23618
|
+
* framework addon data-plane. State persists in a DurableState blob (NOT
|
|
23619
|
+
* SQLite); history rows survive file deletion for audit.
|
|
23620
|
+
*/
|
|
23621
|
+
/** Playback-speed multiplier for the render (1 = realtime). */
|
|
23622
|
+
var ExportSpeedSchema = z.number().min(.25).max(32);
|
|
23623
|
+
/** Timelapse cadence — sample one source frame per `everyMs`, output at `outputFps`. */
|
|
23624
|
+
var ExportTimelapseSchema = z.object({
|
|
23625
|
+
everyMs: z.number().int().positive(),
|
|
23626
|
+
outputFps: z.number().int().min(1).max(60).optional()
|
|
23627
|
+
});
|
|
23628
|
+
/**
|
|
23629
|
+
* Render options. `speed` and `timelapse` are mutually exclusive. `includeAudio`
|
|
23630
|
+
* is honoured only for a realtime-ish speed (0.5–2×); timelapse is always
|
|
23631
|
+
* silent. `maxLifeMs` bounds how long the finished file is kept;
|
|
23632
|
+
* `deleteAfterDownload` removes it shortly after the first complete download.
|
|
23633
|
+
*/
|
|
23634
|
+
var ExportOptionsSchema = z.object({
|
|
23635
|
+
speed: ExportSpeedSchema.optional(),
|
|
23636
|
+
timelapse: ExportTimelapseSchema.optional(),
|
|
23637
|
+
includeAudio: z.boolean(),
|
|
23638
|
+
maxLifeMs: z.number().int().positive(),
|
|
23639
|
+
deleteAfterDownload: z.boolean(),
|
|
23640
|
+
title: z.string().max(200).optional()
|
|
23641
|
+
}).superRefine((v, ctx) => {
|
|
23642
|
+
if (v.speed !== void 0 && v.timelapse !== void 0) ctx.addIssue({
|
|
23643
|
+
code: z.ZodIssueCode.custom,
|
|
23644
|
+
message: "speed and timelapse are mutually exclusive",
|
|
23645
|
+
path: ["timelapse"]
|
|
23646
|
+
});
|
|
23647
|
+
});
|
|
23648
|
+
var ExportStateSchema = z.enum([
|
|
23649
|
+
"queued",
|
|
23650
|
+
"rendering",
|
|
23651
|
+
"ready",
|
|
23652
|
+
"failed",
|
|
23653
|
+
"expired",
|
|
23654
|
+
"deleted"
|
|
23655
|
+
]);
|
|
23656
|
+
/** One export job / history row. */
|
|
23657
|
+
var ExportRecordSchema = z.object({
|
|
23658
|
+
id: z.string(),
|
|
23659
|
+
deviceId: z.number(),
|
|
23660
|
+
profile: z.string(),
|
|
23661
|
+
fromMs: z.number(),
|
|
23662
|
+
toMs: z.number(),
|
|
23663
|
+
options: ExportOptionsSchema,
|
|
23664
|
+
state: ExportStateSchema,
|
|
23665
|
+
/** 0–100 while rendering; null otherwise. */
|
|
23666
|
+
progressPct: z.number().nullable(),
|
|
23667
|
+
/** File size once ready; null before. */
|
|
23668
|
+
fileBytes: z.number().nullable(),
|
|
23669
|
+
expiresAt: z.number(),
|
|
23670
|
+
deleteAfterDownload: z.boolean(),
|
|
23671
|
+
/** Epoch of the first complete download; null until then. */
|
|
23672
|
+
downloadedAt: z.number().nullable(),
|
|
23673
|
+
createdAt: z.number(),
|
|
23674
|
+
/** User id/name that requested the export. */
|
|
23675
|
+
createdBy: z.string(),
|
|
23676
|
+
/** Failure reason when state is 'failed'; null otherwise. */
|
|
23677
|
+
error: z.string().nullable()
|
|
23678
|
+
});
|
|
23679
|
+
/** Candidate download URLs (LAN first, then operator extra hosts). */
|
|
23680
|
+
var ExportDownloadSchema = z.object({
|
|
23681
|
+
url: z.string(),
|
|
23682
|
+
endpoints: z.array(z.string())
|
|
23683
|
+
});
|
|
23684
|
+
var recordingExportCapability = {
|
|
23685
|
+
name: "recordingExport",
|
|
23686
|
+
scope: "system",
|
|
23687
|
+
mode: "singleton",
|
|
23688
|
+
methods: {
|
|
23689
|
+
/** Queue a render of `[fromMs,toMs)` for `deviceId`/`profile`. Fails fast
|
|
23690
|
+
* when no footage covers the range. Returns the queued record. */
|
|
23691
|
+
createExport: method(z.object({
|
|
23692
|
+
deviceId: z.number(),
|
|
23693
|
+
profile: z.string(),
|
|
23694
|
+
fromMs: z.number(),
|
|
23695
|
+
toMs: z.number(),
|
|
23696
|
+
options: ExportOptionsSchema
|
|
23697
|
+
}), ExportRecordSchema, {
|
|
23698
|
+
kind: "mutation",
|
|
23699
|
+
auth: "protected"
|
|
23700
|
+
}),
|
|
23701
|
+
/** All export rows (history included), optionally scoped to one device. */
|
|
23702
|
+
listExports: method(z.object({ deviceId: z.number().optional() }), z.array(ExportRecordSchema), {
|
|
23703
|
+
kind: "query",
|
|
23704
|
+
auth: "protected"
|
|
23705
|
+
}),
|
|
23706
|
+
getExport: method(z.object({ exportId: z.string() }), ExportRecordSchema, {
|
|
23707
|
+
kind: "query",
|
|
23708
|
+
auth: "protected"
|
|
23709
|
+
}),
|
|
23710
|
+
/** Abort a queued/rendering export; the partial file is removed. */
|
|
23711
|
+
cancelExport: method(z.object({ exportId: z.string() }), ExportRecordSchema, {
|
|
23712
|
+
kind: "mutation",
|
|
23713
|
+
auth: "protected"
|
|
23714
|
+
}),
|
|
23715
|
+
/** Remove the file but keep the history row (state → 'deleted'). */
|
|
23716
|
+
deleteExport: method(z.object({ exportId: z.string() }), ExportRecordSchema, {
|
|
23717
|
+
kind: "mutation",
|
|
23718
|
+
auth: "protected"
|
|
23719
|
+
}),
|
|
23720
|
+
getDownloadUrl: method(z.object({ exportId: z.string() }), ExportDownloadSchema, {
|
|
23721
|
+
kind: "query",
|
|
23722
|
+
auth: "protected"
|
|
23723
|
+
})
|
|
23724
|
+
}
|
|
23725
|
+
};
|
|
23726
|
+
//#endregion
|
|
23495
23727
|
//#region src/capabilities/stream-catalog.cap.ts
|
|
23496
23728
|
/**
|
|
23497
23729
|
* One publishable camera stream as its OWNING PROVIDER describes it — the same
|
|
@@ -24283,6 +24515,7 @@ var CAPABILITY_NAMES = {
|
|
|
24283
24515
|
ptzAutotrack: "ptz-autotrack",
|
|
24284
24516
|
reboot: "reboot",
|
|
24285
24517
|
recording: "recording",
|
|
24518
|
+
recordingExport: "recordingExport",
|
|
24286
24519
|
sceneMonitor: "scene-monitor",
|
|
24287
24520
|
scriptRunner: "script-runner",
|
|
24288
24521
|
serverManagement: "server-management",
|
|
@@ -24748,6 +24981,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
24748
24981
|
key: "recording",
|
|
24749
24982
|
name: "recording"
|
|
24750
24983
|
},
|
|
24984
|
+
{
|
|
24985
|
+
key: "recordingExport",
|
|
24986
|
+
name: "recordingExport"
|
|
24987
|
+
},
|
|
24751
24988
|
{
|
|
24752
24989
|
key: "sceneMonitor",
|
|
24753
24990
|
name: "scene-monitor"
|
|
@@ -25002,6 +25239,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
25002
25239
|
ptzAutotrackCapability,
|
|
25003
25240
|
rebootCapability,
|
|
25004
25241
|
recordingCapability,
|
|
25242
|
+
recordingExportCapability,
|
|
25005
25243
|
sceneMonitorCapability,
|
|
25006
25244
|
scriptRunnerCapability,
|
|
25007
25245
|
serverManagementCapability,
|
|
@@ -28729,6 +28967,42 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28729
28967
|
addonId: null,
|
|
28730
28968
|
access: "create"
|
|
28731
28969
|
},
|
|
28970
|
+
"recordingExport.cancelExport": {
|
|
28971
|
+
capName: "recordingExport",
|
|
28972
|
+
capScope: "system",
|
|
28973
|
+
addonId: null,
|
|
28974
|
+
access: "create"
|
|
28975
|
+
},
|
|
28976
|
+
"recordingExport.createExport": {
|
|
28977
|
+
capName: "recordingExport",
|
|
28978
|
+
capScope: "system",
|
|
28979
|
+
addonId: null,
|
|
28980
|
+
access: "create"
|
|
28981
|
+
},
|
|
28982
|
+
"recordingExport.deleteExport": {
|
|
28983
|
+
capName: "recordingExport",
|
|
28984
|
+
capScope: "system",
|
|
28985
|
+
addonId: null,
|
|
28986
|
+
access: "delete"
|
|
28987
|
+
},
|
|
28988
|
+
"recordingExport.getDownloadUrl": {
|
|
28989
|
+
capName: "recordingExport",
|
|
28990
|
+
capScope: "system",
|
|
28991
|
+
addonId: null,
|
|
28992
|
+
access: "view"
|
|
28993
|
+
},
|
|
28994
|
+
"recordingExport.getExport": {
|
|
28995
|
+
capName: "recordingExport",
|
|
28996
|
+
capScope: "system",
|
|
28997
|
+
addonId: null,
|
|
28998
|
+
access: "view"
|
|
28999
|
+
},
|
|
29000
|
+
"recordingExport.listExports": {
|
|
29001
|
+
capName: "recordingExport",
|
|
29002
|
+
capScope: "system",
|
|
29003
|
+
addonId: null,
|
|
29004
|
+
access: "view"
|
|
29005
|
+
},
|
|
28732
29006
|
"sceneMonitor.captureReference": {
|
|
28733
29007
|
capName: "scene-monitor",
|
|
28734
29008
|
capScope: "device",
|
|
@@ -29940,6 +30214,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
29940
30214
|
"ptz-autotrack",
|
|
29941
30215
|
"reboot",
|
|
29942
30216
|
"recording",
|
|
30217
|
+
"recordingExport",
|
|
29943
30218
|
"scene-monitor",
|
|
29944
30219
|
"script-runner",
|
|
29945
30220
|
"server-management",
|
|
@@ -30076,6 +30351,7 @@ var SYSTEM_CAP_NAMES = [
|
|
|
30076
30351
|
"plate-gallery",
|
|
30077
30352
|
"platform-probe",
|
|
30078
30353
|
"recording",
|
|
30354
|
+
"recordingExport",
|
|
30079
30355
|
"server-management",
|
|
30080
30356
|
"settings-store",
|
|
30081
30357
|
"smtp-provider",
|
|
@@ -30659,4 +30935,4 @@ function scoreRuntimes(hw) {
|
|
|
30659
30935
|
};
|
|
30660
30936
|
}
|
|
30661
30937
|
//#endregion
|
|
30662
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, 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, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
30938
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, 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, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -221,6 +221,48 @@ export interface PipelineAnalyticsPlateGalleryChangedPayload {
|
|
|
221
221
|
readonly kind: 'buffered' | 'assigned' | 'unassigned' | 'deleted';
|
|
222
222
|
readonly [key: string]: unknown;
|
|
223
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* Emitted by `addon-post-analysis` when a package-drop is confirmed — a
|
|
226
|
+
* newly-appeared stationary object of a package class that cleared the
|
|
227
|
+
* class / zone / dwell / size gates inside a package zone. Telemetry (D8):
|
|
228
|
+
* the durable record is the `package-events` store row; this drives
|
|
229
|
+
* notifier rules + live UI. See
|
|
230
|
+
* docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
|
|
231
|
+
*/
|
|
232
|
+
export interface PipelineAnalyticsPackageDeliveredPayload {
|
|
233
|
+
readonly deviceId: number;
|
|
234
|
+
/** Stationary-registry entry id the delivery is paired to. */
|
|
235
|
+
readonly entryId: string;
|
|
236
|
+
/** Persisted `package-events` row id for this delivery. */
|
|
237
|
+
readonly eventId: string;
|
|
238
|
+
readonly className: string;
|
|
239
|
+
/** Package-zone ids the entry's centroid fell inside. */
|
|
240
|
+
readonly zoneIds: readonly string[];
|
|
241
|
+
/** Native-res key-frame crop key (resolve via the event-media plane). */
|
|
242
|
+
readonly keyFrameMediaKey?: string;
|
|
243
|
+
readonly bbox: {
|
|
244
|
+
readonly x: number;
|
|
245
|
+
readonly y: number;
|
|
246
|
+
readonly w: number;
|
|
247
|
+
readonly h: number;
|
|
248
|
+
};
|
|
249
|
+
readonly timestamp: number;
|
|
250
|
+
readonly [key: string]: unknown;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Emitted by `addon-post-analysis` when a previously-delivered package
|
|
254
|
+
* leaves its zone (its stationary entry departed — moved or TTL-swept).
|
|
255
|
+
* Telemetry (D8). See package-zones-design §5.2.
|
|
256
|
+
*/
|
|
257
|
+
export interface PipelineAnalyticsPackagePickedUpPayload {
|
|
258
|
+
readonly deviceId: number;
|
|
259
|
+
readonly entryId: string;
|
|
260
|
+
/** The `package-events` delivery row this pick-up pairs to. */
|
|
261
|
+
readonly deliveredEventId: string;
|
|
262
|
+
readonly className: string;
|
|
263
|
+
readonly timestamp: number;
|
|
264
|
+
readonly [key: string]: unknown;
|
|
265
|
+
}
|
|
224
266
|
/**
|
|
225
267
|
* Child steps enabled for a camera + their scheduling policy, as read
|
|
226
268
|
* from the pipeline catalog. Announced on `PipelineInferenceResultPayload`
|
|
@@ -723,6 +765,8 @@ export interface EventCatalog {
|
|
|
723
765
|
'pipeline-analytics.track-lifecycle': PipelineAnalyticsTrackLifecyclePayload;
|
|
724
766
|
'pipeline-analytics.face-gallery-changed': PipelineAnalyticsFaceGalleryChangedPayload;
|
|
725
767
|
'pipeline-analytics.plate-gallery-changed': PipelineAnalyticsPlateGalleryChangedPayload;
|
|
768
|
+
'pipeline-analytics.package-delivered': PipelineAnalyticsPackageDeliveredPayload;
|
|
769
|
+
'pipeline-analytics.package-picked-up': PipelineAnalyticsPackagePickedUpPayload;
|
|
726
770
|
/**
|
|
727
771
|
* On-board detection coming straight from the camera firmware (Reolink
|
|
728
772
|
* AI alarms, ONVIF analytics, etc.) — as opposed to `detection.result`
|
|
@@ -60,11 +60,14 @@ export interface IReadinessRegistry<TCapName extends string = string> {
|
|
|
60
60
|
onReadyState(capName: TCapName, scope: ReadinessScope, handler: IReadinessHandler): () => void;
|
|
61
61
|
/**
|
|
62
62
|
* Hydrate the snapshot from an authoritative source (typically the
|
|
63
|
-
* hub's `$readiness.getSnapshot` action)
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
63
|
+
* hub's `$readiness.getSnapshot` action) — a RECONCILE, not an
|
|
64
|
+
* add-only merge. Unseen keys are added; already-seen keys are
|
|
65
|
+
* ADVANCED when the authoritative record carries a new generation or
|
|
66
|
+
* a forward same-generation state move (starting → ready → down).
|
|
67
|
+
* Same-generation regressions and records this process is itself
|
|
68
|
+
* authoritative for are skipped. For each applied entry a one-shot
|
|
69
|
+
* transition is dispatched to matching subscriptions so pending
|
|
70
|
+
* `awaitReady` callers unblock without waiting for a fresh delta.
|
|
68
71
|
*/
|
|
69
72
|
hydrate(records: readonly IReadinessRegistryRecord[]): void;
|
|
70
73
|
/**
|
|
@@ -143,6 +143,53 @@ export declare const RecordingRetentionSchema: z.ZodObject<{
|
|
|
143
143
|
maxSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
export type RecordingRetention = z.infer<typeof RecordingRetentionSchema>;
|
|
146
|
+
/**
|
|
147
|
+
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
148
|
+
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
149
|
+
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
150
|
+
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
151
|
+
*
|
|
152
|
+
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
153
|
+
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
154
|
+
* preset changed over time renders every historical window at the dims it was
|
|
155
|
+
* written with.
|
|
156
|
+
*/
|
|
157
|
+
export declare const ScrubThumbnailPresetSchema: z.ZodEnum<{
|
|
158
|
+
standard: "standard";
|
|
159
|
+
high: "high";
|
|
160
|
+
low: "low";
|
|
161
|
+
max: "max";
|
|
162
|
+
minimal: "minimal";
|
|
163
|
+
}>;
|
|
164
|
+
export type ScrubThumbnailPreset = z.infer<typeof ScrubThumbnailPresetSchema>;
|
|
165
|
+
/** Resolved sprite geometry + encode quality for a scrub-thumbnail preset. */
|
|
166
|
+
export interface ScrubThumbnailGeometry {
|
|
167
|
+
/** Tile width in px (16:9). */
|
|
168
|
+
readonly tileWidth: number;
|
|
169
|
+
/** Tile height in px (16:9). */
|
|
170
|
+
readonly tileHeight: number;
|
|
171
|
+
/** Sheet JPEG quality, 1..100 (higher = better). */
|
|
172
|
+
readonly quality: number;
|
|
173
|
+
}
|
|
174
|
+
/** The default preset when a config omits `scrubThumbnails`. */
|
|
175
|
+
export declare const DEFAULT_SCRUB_THUMBNAIL_PRESET: ScrubThumbnailPreset;
|
|
176
|
+
/**
|
|
177
|
+
* Preset → tile geometry + JPEG quality. Every step is 16:9; the graduated
|
|
178
|
+
* ladder trades sheet size (and remote fetch cost) for scrub crispness.
|
|
179
|
+
* `standard` matches the shipped `sheet-geometry`/`sheet-composer` defaults
|
|
180
|
+
* (480×270 q72), so an unset config is byte-identical to today. The map is
|
|
181
|
+
* strictly monotone in resolution AND quality across the ordered steps.
|
|
182
|
+
*/
|
|
183
|
+
export declare const SCRUB_THUMBNAIL_PRESETS: Record<ScrubThumbnailPreset, ScrubThumbnailGeometry>;
|
|
184
|
+
/** Human labels for each preset (resolution-tagged), for settings UIs. */
|
|
185
|
+
export declare const SCRUB_THUMBNAIL_PRESET_LABELS: Record<ScrubThumbnailPreset, string>;
|
|
186
|
+
/** Ordered low→high so a UI can render the ladder in graduated order. */
|
|
187
|
+
export declare const SCRUB_THUMBNAIL_PRESET_ORDER: readonly ScrubThumbnailPreset[];
|
|
188
|
+
/**
|
|
189
|
+
* Resolve the geometry for a recording config's scrub-thumbnail preset,
|
|
190
|
+
* defaulting to `standard` when unset. Pure — no I/O.
|
|
191
|
+
*/
|
|
192
|
+
export declare function resolveScrubThumbnailGeometry(preset: ScrubThumbnailPreset | undefined): ScrubThumbnailGeometry;
|
|
146
193
|
/**
|
|
147
194
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
148
195
|
*
|
|
@@ -224,5 +271,12 @@ export declare const RecordingConfigSchema: z.ZodObject<{
|
|
|
224
271
|
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
225
272
|
maxSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
226
273
|
}, z.core.$strip>>;
|
|
274
|
+
scrubThumbnails: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
standard: "standard";
|
|
276
|
+
high: "high";
|
|
277
|
+
low: "low";
|
|
278
|
+
max: "max";
|
|
279
|
+
minimal: "minimal";
|
|
280
|
+
}>>;
|
|
227
281
|
}, z.core.$strip>;
|
|
228
282
|
export type RecordingConfig = z.infer<typeof RecordingConfigSchema>;
|