@camstack/types 1.2.195 → 1.2.197
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/index.d.ts +1 -1
- package/dist/capabilities/notification-rules.cap.d.ts +4 -4
- package/dist/capabilities/osd-manager.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-analytics.cap.d.ts +90 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +51 -0
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +163 -2
- package/dist/index.mjs +157 -3
- package/dist/{sleep-B9qx0cEV.mjs → sleep-BfJ2k1jm.mjs} +1 -0
- package/dist/{sleep-9Ix5MtX4.js → sleep-CrFT9yK7.js} +1 -0
- package/dist/types/overlay-layer.d.ts +53 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-CrFT9yK7.js");
|
|
3
3
|
const require_event_category = require("./event-category-BVfsrBYA.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DeviceType, Et as normalizeAddonInitResult, G as ReadinessRegistry, H as nodePin, I as expandCapMethods, K as ReadinessTimeoutError, S as DEVICE_CHILDREN_BATCH_MAX, St as DATAPLANE_SECRET_HEADER, T as describeCustomActions, Tt as BaseAddon, U as readNodePin, Y as scopeKey, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, j as adminUiCapability, kt as emitReadiness, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, wt as DisposerChain, x as viewerUiCapability } from "./sleep-
|
|
1
|
+
import { A as DeviceType, Et as normalizeAddonInitResult, G as ReadinessRegistry, H as nodePin, I as expandCapMethods, K as ReadinessTimeoutError, S as DEVICE_CHILDREN_BATCH_MAX, St as DATAPLANE_SECRET_HEADER, T as describeCustomActions, Tt as BaseAddon, U as readNodePin, Y as scopeKey, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, j as adminUiCapability, kt as emitReadiness, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, wt as DisposerChain, x as viewerUiCapability } from "./sleep-BfJ2k1jm.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
@@ -83,7 +83,7 @@ export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapabili
|
|
|
83
83
|
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
84
84
|
export { type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, 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_SNOOZE_MAX_MINUTES, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleInput, NcRuleInputSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
85
85
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
86
|
-
export { type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, type SummariesPage, type Summary, type SummaryDetail, type SummaryListItem, SummarySchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
86
|
+
export { type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, type SummariesPage, type Summary, type SummaryDetail, type SummaryListItem, SummarySchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, AnalyticsLtsSeriesSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, occupancyScope, parseOccupancyScope, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
87
87
|
export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
88
88
|
export { ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
89
89
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
@@ -1648,9 +1648,9 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
|
|
|
1648
1648
|
device: "device";
|
|
1649
1649
|
system: "system";
|
|
1650
1650
|
zones: "zones";
|
|
1651
|
+
occupancy: "occupancy";
|
|
1651
1652
|
scope: "scope";
|
|
1652
1653
|
schedule: "schedule";
|
|
1653
|
-
occupancy: "occupancy";
|
|
1654
1654
|
quality: "quality";
|
|
1655
1655
|
}>;
|
|
1656
1656
|
label: z.ZodString;
|
|
@@ -1658,11 +1658,11 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
|
|
|
1658
1658
|
number: "number";
|
|
1659
1659
|
scene: "scene";
|
|
1660
1660
|
audio: "audio";
|
|
1661
|
+
occupancy: "occupancy";
|
|
1661
1662
|
deviceState: "deviceState";
|
|
1662
1663
|
schedule: "schedule";
|
|
1663
1664
|
packagePhase: "packagePhase";
|
|
1664
1665
|
systemEvent: "systemEvent";
|
|
1665
|
-
occupancy: "occupancy";
|
|
1666
1666
|
deviceIdList: "deviceIdList";
|
|
1667
1667
|
stringList: "stringList";
|
|
1668
1668
|
number01: "number01";
|
|
@@ -3983,9 +3983,9 @@ export declare const notificationRulesCapability: {
|
|
|
3983
3983
|
device: "device";
|
|
3984
3984
|
system: "system";
|
|
3985
3985
|
zones: "zones";
|
|
3986
|
+
occupancy: "occupancy";
|
|
3986
3987
|
scope: "scope";
|
|
3987
3988
|
schedule: "schedule";
|
|
3988
|
-
occupancy: "occupancy";
|
|
3989
3989
|
quality: "quality";
|
|
3990
3990
|
}>;
|
|
3991
3991
|
label: z.ZodString;
|
|
@@ -3993,11 +3993,11 @@ export declare const notificationRulesCapability: {
|
|
|
3993
3993
|
number: "number";
|
|
3994
3994
|
scene: "scene";
|
|
3995
3995
|
audio: "audio";
|
|
3996
|
+
occupancy: "occupancy";
|
|
3996
3997
|
deviceState: "deviceState";
|
|
3997
3998
|
schedule: "schedule";
|
|
3998
3999
|
packagePhase: "packagePhase";
|
|
3999
4000
|
systemEvent: "systemEvent";
|
|
4000
|
-
occupancy: "occupancy";
|
|
4001
4001
|
deviceIdList: "deviceIdList";
|
|
4002
4002
|
stringList: "stringList";
|
|
4003
4003
|
number01: "number01";
|
|
@@ -669,9 +669,9 @@ export declare const osdManagerCapability: {
|
|
|
669
669
|
device: "device";
|
|
670
670
|
system: "system";
|
|
671
671
|
zones: "zones";
|
|
672
|
+
occupancy: "occupancy";
|
|
672
673
|
scope: "scope";
|
|
673
674
|
schedule: "schedule";
|
|
674
|
-
occupancy: "occupancy";
|
|
675
675
|
quality: "quality";
|
|
676
676
|
}>;
|
|
677
677
|
label: z.ZodString;
|
|
@@ -679,11 +679,11 @@ export declare const osdManagerCapability: {
|
|
|
679
679
|
number: "number";
|
|
680
680
|
scene: "scene";
|
|
681
681
|
audio: "audio";
|
|
682
|
+
occupancy: "occupancy";
|
|
682
683
|
deviceState: "deviceState";
|
|
683
684
|
schedule: "schedule";
|
|
684
685
|
packagePhase: "packagePhase";
|
|
685
686
|
systemEvent: "systemEvent";
|
|
686
|
-
occupancy: "occupancy";
|
|
687
687
|
deviceIdList: "deviceIdList";
|
|
688
688
|
stringList: "stringList";
|
|
689
689
|
number01: "number01";
|
|
@@ -1795,6 +1795,61 @@ declare const RunReplayFrameProcessorResultSchema: z.ZodObject<{
|
|
|
1795
1795
|
}, z.core.$strip>;
|
|
1796
1796
|
export type ReplayTrack = z.infer<typeof ReplayTrackSchema>;
|
|
1797
1797
|
export type RunReplayFrameProcessorResult = z.infer<typeof RunReplayFrameProcessorResultSchema>;
|
|
1798
|
+
/**
|
|
1799
|
+
* The long-term series a camera produces. A closed union so a typo cannot
|
|
1800
|
+
* invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
|
|
1801
|
+
* is an alias of this, not a second list.
|
|
1802
|
+
*/
|
|
1803
|
+
export declare const AnalyticsLtsSeriesSchema: z.ZodEnum<{
|
|
1804
|
+
motion: "motion";
|
|
1805
|
+
"audio-dbfs": "audio-dbfs";
|
|
1806
|
+
battery: "battery";
|
|
1807
|
+
occupancy: "occupancy";
|
|
1808
|
+
}>;
|
|
1809
|
+
/**
|
|
1810
|
+
* The separator between a scope's PLACE and its CLASS.
|
|
1811
|
+
*
|
|
1812
|
+
* A zone id is a uuid and never contains it, so the grammar cannot be
|
|
1813
|
+
* ambiguous. It lives HERE, in types, because a writer in the addon and a
|
|
1814
|
+
* reader in the viewer that each spell the scope their own way are two
|
|
1815
|
+
* authorities on one string — and the one that drifts fails silently, as an
|
|
1816
|
+
* empty chart.
|
|
1817
|
+
*/
|
|
1818
|
+
export declare const LTS_SCOPE_CLASS_SEPARATOR = "|";
|
|
1819
|
+
/**
|
|
1820
|
+
* Spell one occupancy scope.
|
|
1821
|
+
*
|
|
1822
|
+
* `occupancyScope()` → `''` (frame, every class)
|
|
1823
|
+
* `occupancyScope('z1')` → `'z1'` (zone, every class)
|
|
1824
|
+
* `occupancyScope(undefined, 'person')` → `'|person'`
|
|
1825
|
+
* `occupancyScope('z1', 'person')` → `'z1|person'`
|
|
1826
|
+
*
|
|
1827
|
+
* The two aggregate spellings are the ones that existed before the class
|
|
1828
|
+
* dimension and they mean exactly what they always did.
|
|
1829
|
+
*/
|
|
1830
|
+
export declare function occupancyScope(zoneId?: string, className?: string): string;
|
|
1831
|
+
/** Read a scope back. An absent `className` means "aggregates every class". */
|
|
1832
|
+
export declare function parseOccupancyScope(scope: string): {
|
|
1833
|
+
readonly zoneId: string;
|
|
1834
|
+
readonly className?: string;
|
|
1835
|
+
};
|
|
1836
|
+
/**
|
|
1837
|
+
* One closed 5-minute bucket of a long-term series.
|
|
1838
|
+
*
|
|
1839
|
+
* `samples` is how many readings the bucket folded — it is the ACTIVITY for a
|
|
1840
|
+
* series like `motion`, and the confidence for one like `occupancy`. A bucket
|
|
1841
|
+
* that exists at all was measured; a bucket that is absent was not, which is a
|
|
1842
|
+
* different claim from zero and the reason this is a sparse series.
|
|
1843
|
+
*/
|
|
1844
|
+
export declare const LtsBucketSchema: z.ZodObject<{
|
|
1845
|
+
scope: z.ZodString;
|
|
1846
|
+
bucketStart: z.ZodNumber;
|
|
1847
|
+
samples: z.ZodNumber;
|
|
1848
|
+
sum: z.ZodNumber;
|
|
1849
|
+
min: z.ZodNumber;
|
|
1850
|
+
max: z.ZodNumber;
|
|
1851
|
+
}, z.core.$strip>;
|
|
1852
|
+
export type LtsBucket = z.infer<typeof LtsBucketSchema>;
|
|
1798
1853
|
export declare const pipelineAnalyticsCapability: {
|
|
1799
1854
|
readonly name: "pipeline-analytics";
|
|
1800
1855
|
readonly scope: "device";
|
|
@@ -2744,6 +2799,41 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2744
2799
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
2745
2800
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
2746
2801
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
2802
|
+
/**
|
|
2803
|
+
* Read one camera's long-term series — 5-minute buckets, kept for a year.
|
|
2804
|
+
*
|
|
2805
|
+
* This is the history surface for every chart that used to be served from a
|
|
2806
|
+
* RAM ring: the ring dies with the process, cannot answer about last night,
|
|
2807
|
+
* and had a 60-minute horizon, while these rows are ~60 bytes and already
|
|
2808
|
+
* written. `scope` is the series' own dimension — for `occupancy`, spell it
|
|
2809
|
+
* with {@link occupancyScope} rather than by hand, and omit it to get every
|
|
2810
|
+
* scope back at once (the caller then groups with
|
|
2811
|
+
* {@link parseOccupancyScope}).
|
|
2812
|
+
*
|
|
2813
|
+
* Bounds are inclusive on the BUCKET START, so a range that ends mid-bucket
|
|
2814
|
+
* still returns the bucket it lands in — the alternative is a chart whose
|
|
2815
|
+
* last column silently disappears for five minutes out of every five.
|
|
2816
|
+
*/
|
|
2817
|
+
readonly readLongTermSeries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2818
|
+
deviceId: z.ZodNumber;
|
|
2819
|
+
series: z.ZodEnum<{
|
|
2820
|
+
motion: "motion";
|
|
2821
|
+
"audio-dbfs": "audio-dbfs";
|
|
2822
|
+
battery: "battery";
|
|
2823
|
+
occupancy: "occupancy";
|
|
2824
|
+
}>;
|
|
2825
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
2826
|
+
from: z.ZodNumber;
|
|
2827
|
+
to: z.ZodNumber;
|
|
2828
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2829
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2830
|
+
scope: z.ZodString;
|
|
2831
|
+
bucketStart: z.ZodNumber;
|
|
2832
|
+
samples: z.ZodNumber;
|
|
2833
|
+
sum: z.ZodNumber;
|
|
2834
|
+
min: z.ZodNumber;
|
|
2835
|
+
max: z.ZodNumber;
|
|
2836
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
2747
2837
|
readonly getEventDensity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2748
2838
|
deviceId: z.ZodNumber;
|
|
2749
2839
|
since: z.ZodNumber;
|
|
@@ -21,10 +21,14 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
21
21
|
declare const PerScopeBreakdownSchema: z.ZodObject<{
|
|
22
22
|
totalObjects: z.ZodNumber;
|
|
23
23
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
24
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
24
26
|
}, z.core.$strip>;
|
|
25
27
|
declare const ZoneScopeBreakdownSchema: z.ZodObject<{
|
|
26
28
|
totalObjects: z.ZodNumber;
|
|
27
29
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
30
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
28
32
|
zoneId: z.ZodString;
|
|
29
33
|
zoneName: z.ZodString;
|
|
30
34
|
trackIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -62,6 +66,8 @@ export declare const CameraOccupancySnapshotSchema: z.ZodObject<{
|
|
|
62
66
|
zones: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
63
67
|
totalObjects: z.ZodNumber;
|
|
64
68
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
69
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
65
71
|
zoneId: z.ZodString;
|
|
66
72
|
zoneName: z.ZodString;
|
|
67
73
|
trackIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -69,10 +75,14 @@ export declare const CameraOccupancySnapshotSchema: z.ZodObject<{
|
|
|
69
75
|
frame: z.ZodObject<{
|
|
70
76
|
totalObjects: z.ZodNumber;
|
|
71
77
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
78
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
72
80
|
}, z.core.$strip>;
|
|
73
81
|
unzoned: z.ZodObject<{
|
|
74
82
|
totalObjects: z.ZodNumber;
|
|
75
83
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
84
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
76
86
|
}, z.core.$strip>;
|
|
77
87
|
stationaryObjects: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
78
88
|
id: z.ZodString;
|
|
@@ -122,6 +132,8 @@ export declare const CameraOccupancySnapshotForDeviceSchema: z.ZodObject<{
|
|
|
122
132
|
zones: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
123
133
|
totalObjects: z.ZodNumber;
|
|
124
134
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
135
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
125
137
|
zoneId: z.ZodString;
|
|
126
138
|
zoneName: z.ZodString;
|
|
127
139
|
trackIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -129,10 +141,14 @@ export declare const CameraOccupancySnapshotForDeviceSchema: z.ZodObject<{
|
|
|
129
141
|
frame: z.ZodObject<{
|
|
130
142
|
totalObjects: z.ZodNumber;
|
|
131
143
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
144
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
132
146
|
}, z.core.$strip>;
|
|
133
147
|
unzoned: z.ZodObject<{
|
|
134
148
|
totalObjects: z.ZodNumber;
|
|
135
149
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
150
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
136
152
|
}, z.core.$strip>;
|
|
137
153
|
stationaryObjects: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
138
154
|
id: z.ZodString;
|
|
@@ -203,6 +219,23 @@ export type HistoryPoint = z.infer<typeof HistoryPointSchema>;
|
|
|
203
219
|
* triple covers the three spatial scopes (per-zone, frame-wide,
|
|
204
220
|
* outside-any-zone). Crossing them with `className?` gives the full
|
|
205
221
|
* combinatorial coverage the operator UI requested.
|
|
222
|
+
*
|
|
223
|
+
* ## ⚠️ The three history methods are DEPRECATED
|
|
224
|
+
*
|
|
225
|
+
* They are served from a 60-MINUTE in-memory ring. It dies with the process,
|
|
226
|
+
* so after a restart they report nothing about a night that did happen, and any
|
|
227
|
+
* window past an hour is silently clamped — a caller cannot tell a clamp from
|
|
228
|
+
* an empty scene. The presets in the occupancy chart existed to hide that
|
|
229
|
+
* horizon rather than to answer a question.
|
|
230
|
+
*
|
|
231
|
+
* Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
|
|
232
|
+
* instead. Those rows are already written for every camera, ~60 bytes per
|
|
233
|
+
* (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
|
|
234
|
+
* Spell the scope with `occupancyScope(zoneId?, className?)` — the same
|
|
235
|
+
* function the writer uses, so the two cannot drift.
|
|
236
|
+
*
|
|
237
|
+
* The ring stays until these three go, and it is the only thing left reading
|
|
238
|
+
* it. Do not add a fourth caller.
|
|
206
239
|
*/
|
|
207
240
|
export declare const zoneAnalyticsCapability: {
|
|
208
241
|
readonly name: "zone-analytics";
|
|
@@ -223,6 +256,8 @@ export declare const zoneAnalyticsCapability: {
|
|
|
223
256
|
zones: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
224
257
|
totalObjects: z.ZodNumber;
|
|
225
258
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
259
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
226
261
|
zoneId: z.ZodString;
|
|
227
262
|
zoneName: z.ZodString;
|
|
228
263
|
trackIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -230,10 +265,14 @@ export declare const zoneAnalyticsCapability: {
|
|
|
230
265
|
frame: z.ZodObject<{
|
|
231
266
|
totalObjects: z.ZodNumber;
|
|
232
267
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
268
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
269
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
233
270
|
}, z.core.$strip>;
|
|
234
271
|
unzoned: z.ZodObject<{
|
|
235
272
|
totalObjects: z.ZodNumber;
|
|
236
273
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
274
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
237
276
|
}, z.core.$strip>;
|
|
238
277
|
stationaryObjects: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
239
278
|
id: z.ZodString;
|
|
@@ -281,6 +320,8 @@ export declare const zoneAnalyticsCapability: {
|
|
|
281
320
|
zones: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
282
321
|
totalObjects: z.ZodNumber;
|
|
283
322
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
323
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
324
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
284
325
|
zoneId: z.ZodString;
|
|
285
326
|
zoneName: z.ZodString;
|
|
286
327
|
trackIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -288,10 +329,14 @@ export declare const zoneAnalyticsCapability: {
|
|
|
288
329
|
frame: z.ZodObject<{
|
|
289
330
|
totalObjects: z.ZodNumber;
|
|
290
331
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
332
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
291
334
|
}, z.core.$strip>;
|
|
292
335
|
unzoned: z.ZodObject<{
|
|
293
336
|
totalObjects: z.ZodNumber;
|
|
294
337
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
338
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
295
340
|
}, z.core.$strip>;
|
|
296
341
|
stationaryObjects: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
297
342
|
id: z.ZodString;
|
|
@@ -374,6 +419,8 @@ export declare const zoneAnalyticsCapability: {
|
|
|
374
419
|
zones: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
375
420
|
totalObjects: z.ZodNumber;
|
|
376
421
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
422
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
377
424
|
zoneId: z.ZodString;
|
|
378
425
|
zoneName: z.ZodString;
|
|
379
426
|
trackIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -381,10 +428,14 @@ export declare const zoneAnalyticsCapability: {
|
|
|
381
428
|
frame: z.ZodObject<{
|
|
382
429
|
totalObjects: z.ZodNumber;
|
|
383
430
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
431
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
384
433
|
}, z.core.$strip>;
|
|
385
434
|
unzoned: z.ZodObject<{
|
|
386
435
|
totalObjects: z.ZodNumber;
|
|
387
436
|
byClass: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
437
|
+
standingObjects: z.ZodOptional<z.ZodNumber>;
|
|
438
|
+
transientObjects: z.ZodOptional<z.ZodNumber>;
|
|
388
439
|
}, z.core.$strip>;
|
|
389
440
|
stationaryObjects: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
390
441
|
id: z.ZodString;
|
|
@@ -5188,6 +5188,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5188
5188
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.getKeyEventsBatch.output>;
|
|
5189
5189
|
meta: object;
|
|
5190
5190
|
}>;
|
|
5191
|
+
readLongTermSeries: TRPCQueryProcedure<{
|
|
5192
|
+
input: {
|
|
5193
|
+
[x: string]: unknown;
|
|
5194
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.readLongTermSeries.input>;
|
|
5195
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.readLongTermSeries.output>;
|
|
5196
|
+
meta: object;
|
|
5197
|
+
}>;
|
|
5191
5198
|
getEventDensity: TRPCQueryProcedure<{
|
|
5192
5199
|
input: {
|
|
5193
5200
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1037 method paths across 130 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 379 methods carry a device reference, of which
|
|
10
10
|
* 140 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
package/dist/index.d.ts
CHANGED
|
@@ -119,6 +119,7 @@ export * from './types/analytics.js';
|
|
|
119
119
|
export type { CameraPipelineConfig, PipelineTemplate as CameraPipelineTemplate, } from './types/camera-pipeline.js';
|
|
120
120
|
export * from './types/config.js';
|
|
121
121
|
export * from './types/detection.js';
|
|
122
|
+
export * from './types/overlay-layer.js';
|
|
122
123
|
export type { EngineOutput } from './types/engine-output.js';
|
|
123
124
|
export * from './types/entities.js';
|
|
124
125
|
export * from './types/events.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-CrFT9yK7.js");
|
|
3
3
|
const require_event_category = require("./event-category-BVfsrBYA.js");
|
|
4
4
|
const require_canonical_hash = require("./canonical-hash-9lydiEzx.js");
|
|
5
5
|
const require_enums = require("./enums.js");
|
|
@@ -4686,6 +4686,26 @@ function pickClosestResolution(entries, target) {
|
|
|
4686
4686
|
}])].sort((a, b) => compareToTarget(a.pixels, b.pixels, targetPixels))[0]?.entry;
|
|
4687
4687
|
}
|
|
4688
4688
|
//#endregion
|
|
4689
|
+
//#region src/types/overlay-layer.ts
|
|
4690
|
+
var OVERLAY_LAYERS = [
|
|
4691
|
+
"motion",
|
|
4692
|
+
"objects",
|
|
4693
|
+
"discarded",
|
|
4694
|
+
"stationary"
|
|
4695
|
+
];
|
|
4696
|
+
/**
|
|
4697
|
+
* Which layers a surface draws by default.
|
|
4698
|
+
*
|
|
4699
|
+
* `discarded` is off: it is a diagnostic — the boxes the pipeline REFUSED —
|
|
4700
|
+
* and on a busy camera it outnumbers everything else. The other three are on,
|
|
4701
|
+
* because a viewer that opens showing nothing reads as broken.
|
|
4702
|
+
*/
|
|
4703
|
+
var DEFAULT_OVERLAY_LAYERS = [
|
|
4704
|
+
"motion",
|
|
4705
|
+
"objects",
|
|
4706
|
+
"stationary"
|
|
4707
|
+
];
|
|
4708
|
+
//#endregion
|
|
4689
4709
|
//#region src/types/model-variant-groups.ts
|
|
4690
4710
|
var FORMAT_KEYS = [
|
|
4691
4711
|
"onnx",
|
|
@@ -21024,6 +21044,67 @@ var ReplayTrackSchema = zod.z.object({
|
|
|
21024
21044
|
framesMatched: zod.z.number().int()
|
|
21025
21045
|
});
|
|
21026
21046
|
var RunReplayFrameProcessorResultSchema = zod.z.object({ tracks: zod.z.array(ReplayTrackSchema).readonly() });
|
|
21047
|
+
/**
|
|
21048
|
+
* The long-term series a camera produces. A closed union so a typo cannot
|
|
21049
|
+
* invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
|
|
21050
|
+
* is an alias of this, not a second list.
|
|
21051
|
+
*/
|
|
21052
|
+
var AnalyticsLtsSeriesSchema = zod.z.enum([
|
|
21053
|
+
"motion",
|
|
21054
|
+
"audio-dbfs",
|
|
21055
|
+
"battery",
|
|
21056
|
+
"occupancy"
|
|
21057
|
+
]);
|
|
21058
|
+
/**
|
|
21059
|
+
* The separator between a scope's PLACE and its CLASS.
|
|
21060
|
+
*
|
|
21061
|
+
* A zone id is a uuid and never contains it, so the grammar cannot be
|
|
21062
|
+
* ambiguous. It lives HERE, in types, because a writer in the addon and a
|
|
21063
|
+
* reader in the viewer that each spell the scope their own way are two
|
|
21064
|
+
* authorities on one string — and the one that drifts fails silently, as an
|
|
21065
|
+
* empty chart.
|
|
21066
|
+
*/
|
|
21067
|
+
var LTS_SCOPE_CLASS_SEPARATOR = "|";
|
|
21068
|
+
/**
|
|
21069
|
+
* Spell one occupancy scope.
|
|
21070
|
+
*
|
|
21071
|
+
* `occupancyScope()` → `''` (frame, every class)
|
|
21072
|
+
* `occupancyScope('z1')` → `'z1'` (zone, every class)
|
|
21073
|
+
* `occupancyScope(undefined, 'person')` → `'|person'`
|
|
21074
|
+
* `occupancyScope('z1', 'person')` → `'z1|person'`
|
|
21075
|
+
*
|
|
21076
|
+
* The two aggregate spellings are the ones that existed before the class
|
|
21077
|
+
* dimension and they mean exactly what they always did.
|
|
21078
|
+
*/
|
|
21079
|
+
function occupancyScope(zoneId, className) {
|
|
21080
|
+
const place = zoneId ?? "";
|
|
21081
|
+
return className === void 0 ? place : `${place}|${className}`;
|
|
21082
|
+
}
|
|
21083
|
+
/** Read a scope back. An absent `className` means "aggregates every class". */
|
|
21084
|
+
function parseOccupancyScope(scope) {
|
|
21085
|
+
const at = scope.indexOf("|");
|
|
21086
|
+
if (at < 0) return { zoneId: scope };
|
|
21087
|
+
return {
|
|
21088
|
+
zoneId: scope.slice(0, at),
|
|
21089
|
+
className: scope.slice(at + 1)
|
|
21090
|
+
};
|
|
21091
|
+
}
|
|
21092
|
+
/**
|
|
21093
|
+
* One closed 5-minute bucket of a long-term series.
|
|
21094
|
+
*
|
|
21095
|
+
* `samples` is how many readings the bucket folded — it is the ACTIVITY for a
|
|
21096
|
+
* series like `motion`, and the confidence for one like `occupancy`. A bucket
|
|
21097
|
+
* that exists at all was measured; a bucket that is absent was not, which is a
|
|
21098
|
+
* different claim from zero and the reason this is a sparse series.
|
|
21099
|
+
*/
|
|
21100
|
+
var LtsBucketSchema = zod.z.object({
|
|
21101
|
+
scope: zod.z.string(),
|
|
21102
|
+
bucketStart: zod.z.number().int(),
|
|
21103
|
+
samples: zod.z.number().int().nonnegative(),
|
|
21104
|
+
sum: zod.z.number(),
|
|
21105
|
+
min: zod.z.number(),
|
|
21106
|
+
max: zod.z.number()
|
|
21107
|
+
});
|
|
21027
21108
|
var pipelineAnalyticsCapability = {
|
|
21028
21109
|
name: "pipeline-analytics",
|
|
21029
21110
|
scope: "device",
|
|
@@ -21167,6 +21248,30 @@ var pipelineAnalyticsCapability = {
|
|
|
21167
21248
|
getKeyEventsBatch: require_sleep.method(KeyEventBatchQueryInput, zod.z.array(KeyEventsForDeviceSchema).readonly()),
|
|
21168
21249
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
21169
21250
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
21251
|
+
/**
|
|
21252
|
+
* Read one camera's long-term series — 5-minute buckets, kept for a year.
|
|
21253
|
+
*
|
|
21254
|
+
* This is the history surface for every chart that used to be served from a
|
|
21255
|
+
* RAM ring: the ring dies with the process, cannot answer about last night,
|
|
21256
|
+
* and had a 60-minute horizon, while these rows are ~60 bytes and already
|
|
21257
|
+
* written. `scope` is the series' own dimension — for `occupancy`, spell it
|
|
21258
|
+
* with {@link occupancyScope} rather than by hand, and omit it to get every
|
|
21259
|
+
* scope back at once (the caller then groups with
|
|
21260
|
+
* {@link parseOccupancyScope}).
|
|
21261
|
+
*
|
|
21262
|
+
* Bounds are inclusive on the BUCKET START, so a range that ends mid-bucket
|
|
21263
|
+
* still returns the bucket it lands in — the alternative is a chart whose
|
|
21264
|
+
* last column silently disappears for five minutes out of every five.
|
|
21265
|
+
*/
|
|
21266
|
+
readLongTermSeries: require_sleep.method(zod.z.object({
|
|
21267
|
+
deviceId: zod.z.number(),
|
|
21268
|
+
series: AnalyticsLtsSeriesSchema,
|
|
21269
|
+
/** Omit for EVERY scope of this series in the range. */
|
|
21270
|
+
scope: zod.z.string().optional(),
|
|
21271
|
+
from: zod.z.number(),
|
|
21272
|
+
to: zod.z.number(),
|
|
21273
|
+
limit: zod.z.number().int().positive().optional()
|
|
21274
|
+
}), zod.z.array(LtsBucketSchema).readonly()),
|
|
21170
21275
|
getEventDensity: require_sleep.method(zod.z.object({
|
|
21171
21276
|
deviceId: zod.z.number(),
|
|
21172
21277
|
since: zod.z.number(),
|
|
@@ -38035,7 +38140,28 @@ var PerScopeBreakdownSchema = zod.z.object({
|
|
|
38035
38140
|
/** Total tracked objects in this scope (frame / zone / unzoned). */
|
|
38036
38141
|
totalObjects: zod.z.number().int().nonnegative(),
|
|
38037
38142
|
/** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
|
|
38038
|
-
byClass: zod.z.record(zod.z.string(), zod.z.number().int().nonnegative())
|
|
38143
|
+
byClass: zod.z.record(zod.z.string(), zod.z.number().int().nonnegative()),
|
|
38144
|
+
/**
|
|
38145
|
+
* Of `totalObjects`, how many are STANDING — objects the census holds,
|
|
38146
|
+
* present but not going anywhere (a parked car, a bin, a statue).
|
|
38147
|
+
*
|
|
38148
|
+
* The operator's question about a scene has two halves and they answer
|
|
38149
|
+
* different things: "what is parked here" is stable for hours and must not
|
|
38150
|
+
* flap, while "who is walking through" is the thing an alert is about. One
|
|
38151
|
+
* number could only serve one of them, and `totalObjects` served the first
|
|
38152
|
+
* badly — a passer-by moved it and every occupancy rule saw a change.
|
|
38153
|
+
*
|
|
38154
|
+
* `standing + transient === totalObjects`, always. The total keeps its old
|
|
38155
|
+
* meaning exactly, so no rule written against it changes behaviour.
|
|
38156
|
+
*
|
|
38157
|
+
* ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
|
|
38158
|
+
* this field cannot say, and a reader that folds absence in as 0 reports "no
|
|
38159
|
+
* parked objects here" about a camera whose lot is full.
|
|
38160
|
+
*/
|
|
38161
|
+
standingObjects: zod.z.number().int().nonnegative().optional(),
|
|
38162
|
+
/** Of `totalObjects`, how many are passing through. See `standingObjects` —
|
|
38163
|
+
* same absence rule. */
|
|
38164
|
+
transientObjects: zod.z.number().int().nonnegative().optional()
|
|
38039
38165
|
});
|
|
38040
38166
|
var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
|
|
38041
38167
|
zoneId: zod.z.string(),
|
|
@@ -38158,6 +38284,23 @@ var HistoryPointSchema = zod.z.object({
|
|
|
38158
38284
|
* triple covers the three spatial scopes (per-zone, frame-wide,
|
|
38159
38285
|
* outside-any-zone). Crossing them with `className?` gives the full
|
|
38160
38286
|
* combinatorial coverage the operator UI requested.
|
|
38287
|
+
*
|
|
38288
|
+
* ## ⚠️ The three history methods are DEPRECATED
|
|
38289
|
+
*
|
|
38290
|
+
* They are served from a 60-MINUTE in-memory ring. It dies with the process,
|
|
38291
|
+
* so after a restart they report nothing about a night that did happen, and any
|
|
38292
|
+
* window past an hour is silently clamped — a caller cannot tell a clamp from
|
|
38293
|
+
* an empty scene. The presets in the occupancy chart existed to hide that
|
|
38294
|
+
* horizon rather than to answer a question.
|
|
38295
|
+
*
|
|
38296
|
+
* Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
|
|
38297
|
+
* instead. Those rows are already written for every camera, ~60 bytes per
|
|
38298
|
+
* (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
|
|
38299
|
+
* Spell the scope with `occupancyScope(zoneId?, className?)` — the same
|
|
38300
|
+
* function the writer uses, so the two cannot drift.
|
|
38301
|
+
*
|
|
38302
|
+
* The ring stays until these three go, and it is the only thing left reading
|
|
38303
|
+
* it. Do not add a fourth caller.
|
|
38161
38304
|
*/
|
|
38162
38305
|
var zoneAnalyticsCapability = {
|
|
38163
38306
|
name: "zone-analytics",
|
|
@@ -46531,6 +46674,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
46531
46674
|
addonId: null,
|
|
46532
46675
|
access: "create"
|
|
46533
46676
|
},
|
|
46677
|
+
"pipelineAnalytics.readLongTermSeries": {
|
|
46678
|
+
capName: "pipeline-analytics",
|
|
46679
|
+
capScope: "device",
|
|
46680
|
+
addonId: null,
|
|
46681
|
+
access: "view"
|
|
46682
|
+
},
|
|
46534
46683
|
"pipelineAnalytics.rebuildObjectEmbeddings": {
|
|
46535
46684
|
capName: "pipeline-analytics",
|
|
46536
46685
|
capScope: "device",
|
|
@@ -50618,6 +50767,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
50618
50767
|
form: "single",
|
|
50619
50768
|
optional: false
|
|
50620
50769
|
}],
|
|
50770
|
+
"pipelineAnalytics.readLongTermSeries": [{
|
|
50771
|
+
name: "deviceId",
|
|
50772
|
+
form: "single",
|
|
50773
|
+
optional: false
|
|
50774
|
+
}],
|
|
50621
50775
|
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
50622
50776
|
name: "deviceId",
|
|
50623
50777
|
form: "single",
|
|
@@ -56776,6 +56930,7 @@ exports.AlertSeveritySchema = AlertSeveritySchema;
|
|
|
56776
56930
|
exports.AlertSourceSchema = AlertSourceSchema;
|
|
56777
56931
|
exports.AlertStatusSchema = AlertStatusSchema;
|
|
56778
56932
|
exports.AmbientLightSensorStatusSchema = AmbientLightSensorStatusSchema;
|
|
56933
|
+
exports.AnalyticsLtsSeriesSchema = AnalyticsLtsSeriesSchema;
|
|
56779
56934
|
exports.ApiKeyRecordSchema = ApiKeyRecordSchema;
|
|
56780
56935
|
exports.ApiKeySummarySchema = ApiKeySummarySchema;
|
|
56781
56936
|
exports.ArchiveEntrySchema = ArchiveEntrySchema;
|
|
@@ -56970,6 +57125,7 @@ exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
|
|
|
56970
57125
|
exports.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS = DEFAULT_FIRST_SIGHTING_FRESHNESS_MS;
|
|
56971
57126
|
exports.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = DEFAULT_MIN_LANDMARK_FACE_SIZE_PX;
|
|
56972
57127
|
exports.DEFAULT_NATIVE_LEASE_SETTINGS = DEFAULT_NATIVE_LEASE_SETTINGS;
|
|
57128
|
+
exports.DEFAULT_OVERLAY_LAYERS = DEFAULT_OVERLAY_LAYERS;
|
|
56973
57129
|
exports.DEFAULT_POOL_MEMORY_POLICY = DEFAULT_POOL_MEMORY_POLICY;
|
|
56974
57130
|
exports.DEFAULT_RECORDING_PROFILES = DEFAULT_RECORDING_PROFILES;
|
|
56975
57131
|
exports.DEFAULT_RETENTION = DEFAULT_RETENTION;
|
|
@@ -57153,6 +57309,7 @@ exports.LOAD_CONTRIBUTION_ATTRIBUTIONS = LOAD_CONTRIBUTION_ATTRIBUTIONS;
|
|
|
57153
57309
|
exports.LOAD_CONTRIBUTION_ROLES = LOAD_CONTRIBUTION_ROLES;
|
|
57154
57310
|
exports.LOG_CHANNEL_TICK_MS = LOG_CHANNEL_TICK_MS;
|
|
57155
57311
|
exports.LOG_LEVEL_RANK = LOG_LEVEL_RANK;
|
|
57312
|
+
exports.LTS_SCOPE_CLASS_SEPARATOR = LTS_SCOPE_CLASS_SEPARATOR;
|
|
57156
57313
|
exports.LabelAttributionSchema = LabelAttributionSchema;
|
|
57157
57314
|
exports.LabelDefinitionSchema = LabelDefinitionSchema;
|
|
57158
57315
|
exports.LabelTierSchema = LabelTierSchema;
|
|
@@ -57213,6 +57370,7 @@ exports.LoggingSettingsPatchSchema = LoggingSettingsPatchSchema;
|
|
|
57213
57370
|
exports.LoggingSettingsStateSchema = LoggingSettingsStateSchema;
|
|
57214
57371
|
exports.LoginMethodContributionSchema = LoginMethodContributionSchema;
|
|
57215
57372
|
exports.LoginStageEnum = LoginStageEnum;
|
|
57373
|
+
exports.LtsBucketSchema = LtsBucketSchema;
|
|
57216
57374
|
exports.MACRO_LABELS = MACRO_LABELS;
|
|
57217
57375
|
exports.MAX_ARCHIVED_DEBUG_NOTES = MAX_ARCHIVED_DEBUG_NOTES;
|
|
57218
57376
|
exports.MAX_BIRTH_DECISION_RECORDS = MAX_BIRTH_DECISION_RECORDS;
|
|
@@ -57427,6 +57585,7 @@ exports.OPERATOR_WRITTEN_STALE_MS = OPERATOR_WRITTEN_STALE_MS;
|
|
|
57427
57585
|
exports.OPS_LOG_DEFAULT_LIMIT = OPS_LOG_DEFAULT_LIMIT;
|
|
57428
57586
|
exports.OPS_LOG_RING_DEFAULT_MAX = OPS_LOG_RING_DEFAULT_MAX;
|
|
57429
57587
|
exports.OVERFLOW_REASON = OVERFLOW_REASON;
|
|
57588
|
+
exports.OVERLAY_LAYERS = OVERLAY_LAYERS;
|
|
57430
57589
|
exports.OauthIntegrationDescriptorSchema = OauthIntegrationDescriptorSchema;
|
|
57431
57590
|
exports.ObjectEventSchema = ObjectEventSchema;
|
|
57432
57591
|
exports.OpsLogDomainSchema = OpsLogDomainSchema;
|
|
@@ -58131,6 +58290,7 @@ exports.notifierCapability = notifierCapability;
|
|
|
58131
58290
|
exports.numericSensorCapability = numericSensorCapability;
|
|
58132
58291
|
exports.oauthIntegrationCapability = oauthIntegrationCapability;
|
|
58133
58292
|
exports.objectInputDeclaresAddonId = objectInputDeclaresAddonId;
|
|
58293
|
+
exports.occupancyScope = occupancyScope;
|
|
58134
58294
|
exports.osdCapability = osdCapability;
|
|
58135
58295
|
exports.osdManagerCapability = osdManagerCapability;
|
|
58136
58296
|
exports.overlayClusterStepSettings = overlayClusterStepSettings;
|
|
@@ -58140,6 +58300,7 @@ exports.parseJsonArray = require_sleep.parseJsonArray;
|
|
|
58140
58300
|
exports.parseJsonObject = require_sleep.parseJsonObject;
|
|
58141
58301
|
exports.parseJsonUnknown = require_sleep.parseJsonUnknown;
|
|
58142
58302
|
exports.parseMediaOwnerKey = parseMediaOwnerKey;
|
|
58303
|
+
exports.parseOccupancyScope = parseOccupancyScope;
|
|
58143
58304
|
exports.parseProcStatus = parseProcStatus;
|
|
58144
58305
|
exports.parseProfileBrokerId = require_sleep.parseProfileBrokerId;
|
|
58145
58306
|
exports.parseRuleSection = parseRuleSection;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CAM_PROFILE_ORDER, A as DeviceType, At as isEvent, B as systemMethod, Bt as isAudioChunkFormat, C as customAction, Ct as SHARE_VIEW_KINDS, D as ChargingStatus, Dt as createDurableState, E as deviceCustomAction, Et as normalizeAddonInitResult, F as event, Ft as hydrateSchema, G as ReadinessRegistry, H as nodePin, I as expandCapMethods, It as resolveHydratedFieldValue, J as readinessKey, K as ReadinessTimeoutError, L as isDeviceConfigCap, Lt as AUDIO_CHUNK_FORMATS, M as DEFAULT_RUNTIME_STATE_DURABILITY, Mt as WELL_KNOWN_TAB_MAP, N as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Nt as collectHydratedFieldEntries, O as DeviceFeature, Ot as createEvent, P as DEVICE_STATUS_METHOD, Pt as collectHydratedFieldValues, Q as BrokerStatusSchema, R as method, Rt as audioChunkBytesPerSample, S as DEVICE_CHILDREN_BATCH_MAX, St as DATAPLANE_SECRET_HEADER, T as describeCustomActions, Tt as BaseAddon, U as readNodePin, V as CAP_NODE_PIN_CONTEXT_KEY, W as toNodeId, X as AudioChunkFormatSchema, Y as scopeKey, Z as BrokerStatsSchema, _ as createMirrorSource, _t as SubscribeFramesResultSchema, a as asJsonObject, at as DecodedFrameSchema, b as deviceOpsCapability, bt as parseProfileBrokerId, c as parseJsonArray, ct as FrameHandleSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as ProfileSlotStatusSchema, et as CamProfileSchema, f as DEVICE_SCOPED_CAPS, ft as StreamSourceEntrySchema, g as createLazyTrpcSource, gt as SubscribeFramesInputSchema, h as createEventBusSliceSource, ht as SubscribeAudioChunksResultSchema, i as asJsonArray, it as DecodedAudioChunkSchema, j as adminUiCapability, jt as WELL_KNOWN_TABS, k as DeviceRole, kt as emitReadiness, l as parseJsonObject, lt as ProfileRtspEntrySchema, m as createDeviceProxy, mt as SubscribeAudioChunksInputSchema, n as sleepCancellable, nt as CamStreamResolutionSchema, o as asNumber, ot as EncodedPacketSchema, p as isDeviceScopedCap, pt as StreamSourceSchema, q as emitDownForOwnedCaps, r as asBoolean, rt as CameraStreamSchema, s as asString, st as FrameHandleFormatSchema, t as sleep, tt as CamStreamKindSchema, u as parseJsonUnknown, ut as ProfileSlotSchema, v as createSliceHandle, vt as makeProfileBrokerId, w as defineCustomActions, wt as DisposerChain, x as viewerUiCapability, xt as selectAssignedProfileSlots, y as RawStateResultSchema, yt as makeSourceBrokerId, z as resolveCapMount, zt as expandAudioChunkToF32le } from "./sleep-
|
|
1
|
+
import { $ as CAM_PROFILE_ORDER, A as DeviceType, At as isEvent, B as systemMethod, Bt as isAudioChunkFormat, C as customAction, Ct as SHARE_VIEW_KINDS, D as ChargingStatus, Dt as createDurableState, E as deviceCustomAction, Et as normalizeAddonInitResult, F as event, Ft as hydrateSchema, G as ReadinessRegistry, H as nodePin, I as expandCapMethods, It as resolveHydratedFieldValue, J as readinessKey, K as ReadinessTimeoutError, L as isDeviceConfigCap, Lt as AUDIO_CHUNK_FORMATS, M as DEFAULT_RUNTIME_STATE_DURABILITY, Mt as WELL_KNOWN_TAB_MAP, N as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Nt as collectHydratedFieldEntries, O as DeviceFeature, Ot as createEvent, P as DEVICE_STATUS_METHOD, Pt as collectHydratedFieldValues, Q as BrokerStatusSchema, R as method, Rt as audioChunkBytesPerSample, S as DEVICE_CHILDREN_BATCH_MAX, St as DATAPLANE_SECRET_HEADER, T as describeCustomActions, Tt as BaseAddon, U as readNodePin, V as CAP_NODE_PIN_CONTEXT_KEY, W as toNodeId, X as AudioChunkFormatSchema, Y as scopeKey, Z as BrokerStatsSchema, _ as createMirrorSource, _t as SubscribeFramesResultSchema, a as asJsonObject, at as DecodedFrameSchema, b as deviceOpsCapability, bt as parseProfileBrokerId, c as parseJsonArray, ct as FrameHandleSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as ProfileSlotStatusSchema, et as CamProfileSchema, f as DEVICE_SCOPED_CAPS, ft as StreamSourceEntrySchema, g as createLazyTrpcSource, gt as SubscribeFramesInputSchema, h as createEventBusSliceSource, ht as SubscribeAudioChunksResultSchema, i as asJsonArray, it as DecodedAudioChunkSchema, j as adminUiCapability, jt as WELL_KNOWN_TABS, k as DeviceRole, kt as emitReadiness, l as parseJsonObject, lt as ProfileRtspEntrySchema, m as createDeviceProxy, mt as SubscribeAudioChunksInputSchema, n as sleepCancellable, nt as CamStreamResolutionSchema, o as asNumber, ot as EncodedPacketSchema, p as isDeviceScopedCap, pt as StreamSourceSchema, q as emitDownForOwnedCaps, r as asBoolean, rt as CameraStreamSchema, s as asString, st as FrameHandleFormatSchema, t as sleep, tt as CamStreamKindSchema, u as parseJsonUnknown, ut as ProfileSlotSchema, v as createSliceHandle, vt as makeProfileBrokerId, w as defineCustomActions, wt as DisposerChain, x as viewerUiCapability, xt as selectAssignedProfileSlots, y as RawStateResultSchema, yt as makeSourceBrokerId, z as resolveCapMount, zt as expandAudioChunkToF32le } from "./sleep-BfJ2k1jm.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
|
|
3
3
|
import { a as buildAudioArgs, c as buildVideoArgs, d as logBannerArgs, f as pickVideoEncoder, i as audioPlanFromEncodeProfile, l as invocationFromEncodeProfile, n as Fmp4BoxSplitter, o as buildFfmpegArgs, r as AUDIO_PRESETS, s as buildInputArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-Ch5bSjFG.mjs";
|
|
4
4
|
import { EventSourceType } from "./enums.mjs";
|
|
@@ -4685,6 +4685,26 @@ function pickClosestResolution(entries, target) {
|
|
|
4685
4685
|
}])].sort((a, b) => compareToTarget(a.pixels, b.pixels, targetPixels))[0]?.entry;
|
|
4686
4686
|
}
|
|
4687
4687
|
//#endregion
|
|
4688
|
+
//#region src/types/overlay-layer.ts
|
|
4689
|
+
var OVERLAY_LAYERS = [
|
|
4690
|
+
"motion",
|
|
4691
|
+
"objects",
|
|
4692
|
+
"discarded",
|
|
4693
|
+
"stationary"
|
|
4694
|
+
];
|
|
4695
|
+
/**
|
|
4696
|
+
* Which layers a surface draws by default.
|
|
4697
|
+
*
|
|
4698
|
+
* `discarded` is off: it is a diagnostic — the boxes the pipeline REFUSED —
|
|
4699
|
+
* and on a busy camera it outnumbers everything else. The other three are on,
|
|
4700
|
+
* because a viewer that opens showing nothing reads as broken.
|
|
4701
|
+
*/
|
|
4702
|
+
var DEFAULT_OVERLAY_LAYERS = [
|
|
4703
|
+
"motion",
|
|
4704
|
+
"objects",
|
|
4705
|
+
"stationary"
|
|
4706
|
+
];
|
|
4707
|
+
//#endregion
|
|
4688
4708
|
//#region src/types/model-variant-groups.ts
|
|
4689
4709
|
var FORMAT_KEYS = [
|
|
4690
4710
|
"onnx",
|
|
@@ -21023,6 +21043,67 @@ var ReplayTrackSchema = z.object({
|
|
|
21023
21043
|
framesMatched: z.number().int()
|
|
21024
21044
|
});
|
|
21025
21045
|
var RunReplayFrameProcessorResultSchema = z.object({ tracks: z.array(ReplayTrackSchema).readonly() });
|
|
21046
|
+
/**
|
|
21047
|
+
* The long-term series a camera produces. A closed union so a typo cannot
|
|
21048
|
+
* invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
|
|
21049
|
+
* is an alias of this, not a second list.
|
|
21050
|
+
*/
|
|
21051
|
+
var AnalyticsLtsSeriesSchema = z.enum([
|
|
21052
|
+
"motion",
|
|
21053
|
+
"audio-dbfs",
|
|
21054
|
+
"battery",
|
|
21055
|
+
"occupancy"
|
|
21056
|
+
]);
|
|
21057
|
+
/**
|
|
21058
|
+
* The separator between a scope's PLACE and its CLASS.
|
|
21059
|
+
*
|
|
21060
|
+
* A zone id is a uuid and never contains it, so the grammar cannot be
|
|
21061
|
+
* ambiguous. It lives HERE, in types, because a writer in the addon and a
|
|
21062
|
+
* reader in the viewer that each spell the scope their own way are two
|
|
21063
|
+
* authorities on one string — and the one that drifts fails silently, as an
|
|
21064
|
+
* empty chart.
|
|
21065
|
+
*/
|
|
21066
|
+
var LTS_SCOPE_CLASS_SEPARATOR = "|";
|
|
21067
|
+
/**
|
|
21068
|
+
* Spell one occupancy scope.
|
|
21069
|
+
*
|
|
21070
|
+
* `occupancyScope()` → `''` (frame, every class)
|
|
21071
|
+
* `occupancyScope('z1')` → `'z1'` (zone, every class)
|
|
21072
|
+
* `occupancyScope(undefined, 'person')` → `'|person'`
|
|
21073
|
+
* `occupancyScope('z1', 'person')` → `'z1|person'`
|
|
21074
|
+
*
|
|
21075
|
+
* The two aggregate spellings are the ones that existed before the class
|
|
21076
|
+
* dimension and they mean exactly what they always did.
|
|
21077
|
+
*/
|
|
21078
|
+
function occupancyScope(zoneId, className) {
|
|
21079
|
+
const place = zoneId ?? "";
|
|
21080
|
+
return className === void 0 ? place : `${place}|${className}`;
|
|
21081
|
+
}
|
|
21082
|
+
/** Read a scope back. An absent `className` means "aggregates every class". */
|
|
21083
|
+
function parseOccupancyScope(scope) {
|
|
21084
|
+
const at = scope.indexOf("|");
|
|
21085
|
+
if (at < 0) return { zoneId: scope };
|
|
21086
|
+
return {
|
|
21087
|
+
zoneId: scope.slice(0, at),
|
|
21088
|
+
className: scope.slice(at + 1)
|
|
21089
|
+
};
|
|
21090
|
+
}
|
|
21091
|
+
/**
|
|
21092
|
+
* One closed 5-minute bucket of a long-term series.
|
|
21093
|
+
*
|
|
21094
|
+
* `samples` is how many readings the bucket folded — it is the ACTIVITY for a
|
|
21095
|
+
* series like `motion`, and the confidence for one like `occupancy`. A bucket
|
|
21096
|
+
* that exists at all was measured; a bucket that is absent was not, which is a
|
|
21097
|
+
* different claim from zero and the reason this is a sparse series.
|
|
21098
|
+
*/
|
|
21099
|
+
var LtsBucketSchema = z.object({
|
|
21100
|
+
scope: z.string(),
|
|
21101
|
+
bucketStart: z.number().int(),
|
|
21102
|
+
samples: z.number().int().nonnegative(),
|
|
21103
|
+
sum: z.number(),
|
|
21104
|
+
min: z.number(),
|
|
21105
|
+
max: z.number()
|
|
21106
|
+
});
|
|
21026
21107
|
var pipelineAnalyticsCapability = {
|
|
21027
21108
|
name: "pipeline-analytics",
|
|
21028
21109
|
scope: "device",
|
|
@@ -21166,6 +21247,30 @@ var pipelineAnalyticsCapability = {
|
|
|
21166
21247
|
getKeyEventsBatch: method(KeyEventBatchQueryInput, z.array(KeyEventsForDeviceSchema).readonly()),
|
|
21167
21248
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
21168
21249
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
21250
|
+
/**
|
|
21251
|
+
* Read one camera's long-term series — 5-minute buckets, kept for a year.
|
|
21252
|
+
*
|
|
21253
|
+
* This is the history surface for every chart that used to be served from a
|
|
21254
|
+
* RAM ring: the ring dies with the process, cannot answer about last night,
|
|
21255
|
+
* and had a 60-minute horizon, while these rows are ~60 bytes and already
|
|
21256
|
+
* written. `scope` is the series' own dimension — for `occupancy`, spell it
|
|
21257
|
+
* with {@link occupancyScope} rather than by hand, and omit it to get every
|
|
21258
|
+
* scope back at once (the caller then groups with
|
|
21259
|
+
* {@link parseOccupancyScope}).
|
|
21260
|
+
*
|
|
21261
|
+
* Bounds are inclusive on the BUCKET START, so a range that ends mid-bucket
|
|
21262
|
+
* still returns the bucket it lands in — the alternative is a chart whose
|
|
21263
|
+
* last column silently disappears for five minutes out of every five.
|
|
21264
|
+
*/
|
|
21265
|
+
readLongTermSeries: method(z.object({
|
|
21266
|
+
deviceId: z.number(),
|
|
21267
|
+
series: AnalyticsLtsSeriesSchema,
|
|
21268
|
+
/** Omit for EVERY scope of this series in the range. */
|
|
21269
|
+
scope: z.string().optional(),
|
|
21270
|
+
from: z.number(),
|
|
21271
|
+
to: z.number(),
|
|
21272
|
+
limit: z.number().int().positive().optional()
|
|
21273
|
+
}), z.array(LtsBucketSchema).readonly()),
|
|
21169
21274
|
getEventDensity: method(z.object({
|
|
21170
21275
|
deviceId: z.number(),
|
|
21171
21276
|
since: z.number(),
|
|
@@ -38027,7 +38132,28 @@ var PerScopeBreakdownSchema = z.object({
|
|
|
38027
38132
|
/** Total tracked objects in this scope (frame / zone / unzoned). */
|
|
38028
38133
|
totalObjects: z.number().int().nonnegative(),
|
|
38029
38134
|
/** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
|
|
38030
|
-
byClass: z.record(z.string(), z.number().int().nonnegative())
|
|
38135
|
+
byClass: z.record(z.string(), z.number().int().nonnegative()),
|
|
38136
|
+
/**
|
|
38137
|
+
* Of `totalObjects`, how many are STANDING — objects the census holds,
|
|
38138
|
+
* present but not going anywhere (a parked car, a bin, a statue).
|
|
38139
|
+
*
|
|
38140
|
+
* The operator's question about a scene has two halves and they answer
|
|
38141
|
+
* different things: "what is parked here" is stable for hours and must not
|
|
38142
|
+
* flap, while "who is walking through" is the thing an alert is about. One
|
|
38143
|
+
* number could only serve one of them, and `totalObjects` served the first
|
|
38144
|
+
* badly — a passer-by moved it and every occupancy rule saw a change.
|
|
38145
|
+
*
|
|
38146
|
+
* `standing + transient === totalObjects`, always. The total keeps its old
|
|
38147
|
+
* meaning exactly, so no rule written against it changes behaviour.
|
|
38148
|
+
*
|
|
38149
|
+
* ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
|
|
38150
|
+
* this field cannot say, and a reader that folds absence in as 0 reports "no
|
|
38151
|
+
* parked objects here" about a camera whose lot is full.
|
|
38152
|
+
*/
|
|
38153
|
+
standingObjects: z.number().int().nonnegative().optional(),
|
|
38154
|
+
/** Of `totalObjects`, how many are passing through. See `standingObjects` —
|
|
38155
|
+
* same absence rule. */
|
|
38156
|
+
transientObjects: z.number().int().nonnegative().optional()
|
|
38031
38157
|
});
|
|
38032
38158
|
var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
|
|
38033
38159
|
zoneId: z.string(),
|
|
@@ -38150,6 +38276,23 @@ var HistoryPointSchema = z.object({
|
|
|
38150
38276
|
* triple covers the three spatial scopes (per-zone, frame-wide,
|
|
38151
38277
|
* outside-any-zone). Crossing them with `className?` gives the full
|
|
38152
38278
|
* combinatorial coverage the operator UI requested.
|
|
38279
|
+
*
|
|
38280
|
+
* ## ⚠️ The three history methods are DEPRECATED
|
|
38281
|
+
*
|
|
38282
|
+
* They are served from a 60-MINUTE in-memory ring. It dies with the process,
|
|
38283
|
+
* so after a restart they report nothing about a night that did happen, and any
|
|
38284
|
+
* window past an hour is silently clamped — a caller cannot tell a clamp from
|
|
38285
|
+
* an empty scene. The presets in the occupancy chart existed to hide that
|
|
38286
|
+
* horizon rather than to answer a question.
|
|
38287
|
+
*
|
|
38288
|
+
* Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
|
|
38289
|
+
* instead. Those rows are already written for every camera, ~60 bytes per
|
|
38290
|
+
* (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
|
|
38291
|
+
* Spell the scope with `occupancyScope(zoneId?, className?)` — the same
|
|
38292
|
+
* function the writer uses, so the two cannot drift.
|
|
38293
|
+
*
|
|
38294
|
+
* The ring stays until these three go, and it is the only thing left reading
|
|
38295
|
+
* it. Do not add a fourth caller.
|
|
38153
38296
|
*/
|
|
38154
38297
|
var zoneAnalyticsCapability = {
|
|
38155
38298
|
name: "zone-analytics",
|
|
@@ -46523,6 +46666,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
46523
46666
|
addonId: null,
|
|
46524
46667
|
access: "create"
|
|
46525
46668
|
},
|
|
46669
|
+
"pipelineAnalytics.readLongTermSeries": {
|
|
46670
|
+
capName: "pipeline-analytics",
|
|
46671
|
+
capScope: "device",
|
|
46672
|
+
addonId: null,
|
|
46673
|
+
access: "view"
|
|
46674
|
+
},
|
|
46526
46675
|
"pipelineAnalytics.rebuildObjectEmbeddings": {
|
|
46527
46676
|
capName: "pipeline-analytics",
|
|
46528
46677
|
capScope: "device",
|
|
@@ -50610,6 +50759,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
50610
50759
|
form: "single",
|
|
50611
50760
|
optional: false
|
|
50612
50761
|
}],
|
|
50762
|
+
"pipelineAnalytics.readLongTermSeries": [{
|
|
50763
|
+
name: "deviceId",
|
|
50764
|
+
form: "single",
|
|
50765
|
+
optional: false
|
|
50766
|
+
}],
|
|
50613
50767
|
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
50614
50768
|
name: "deviceId",
|
|
50615
50769
|
form: "single",
|
|
@@ -56726,4 +56880,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
56726
56880
|
return out;
|
|
56727
56881
|
}
|
|
56728
56882
|
//#endregion
|
|
56729
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, 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, DetectionSourcesSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, 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, G711_SCALE_CORRECTION_DB, 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, LEGACY_READ_ONLY_CONFIG_KEY, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, 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_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MEDIA_OWNER_TYPES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, 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, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, 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_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SHARE_VIEW_KINDS, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, 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, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SummarySchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, 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, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeCustomActions, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForBackend, formatForRuntime, formatMediaOwnerKey, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioChunkFormat, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isEventOwnerType, isFirstLevelMacroClass, isIsolatedBuiltin, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isStorageLocationMode, isSystemDelivery, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, modeMayRead, modeMayWrite, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, recordingSignalCapability, rectsToCells, reducePoints, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveBucketMs, resolveCapMount, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveLocationMode, 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, signalPercentFromBars, signalPercentFromRssi, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
56883
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, 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_OVERLAY_LAYERS, 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, DetectionSourcesSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, 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, G711_SCALE_CORRECTION_DB, 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, LEGACY_READ_ONLY_CONFIG_KEY, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MEDIA_OWNER_TYPES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OauthIntegrationDescriptorSchema, ObjectEventSchema, 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, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, 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_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SHARE_VIEW_KINDS, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, 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, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SummarySchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, 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, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeCustomActions, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForBackend, formatForRuntime, formatMediaOwnerKey, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioChunkFormat, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isEventOwnerType, isFirstLevelMacroClass, isIsolatedBuiltin, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isStorageLocationMode, isSystemDelivery, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, modeMayRead, modeMayWrite, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, occupancyScope, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, recordingSignalCapability, rectsToCells, reducePoints, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveBucketMs, resolveCapMount, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveLocationMode, 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, signalPercentFromBars, signalPercentFromRssi, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -3697,6 +3697,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3697
3697
|
getSensorEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getSensorEvents", "query", input),
|
|
3698
3698
|
getKeyEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getKeyEvents", "query", input),
|
|
3699
3699
|
getKeyEventsBatch: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getKeyEventsBatch", "query", input),
|
|
3700
|
+
readLongTermSeries: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "readLongTermSeries", "query", input),
|
|
3700
3701
|
getEventDensity: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventDensity", "query", input),
|
|
3701
3702
|
getEventDensityBatch: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventDensityBatch", "query", input),
|
|
3702
3703
|
pruneEventsBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneEventsBefore", "mutation", input),
|
|
@@ -3697,6 +3697,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3697
3697
|
getSensorEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getSensorEvents", "query", input),
|
|
3698
3698
|
getKeyEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getKeyEvents", "query", input),
|
|
3699
3699
|
getKeyEventsBatch: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getKeyEventsBatch", "query", input),
|
|
3700
|
+
readLongTermSeries: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "readLongTermSeries", "query", input),
|
|
3700
3701
|
getEventDensity: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventDensity", "query", input),
|
|
3701
3702
|
getEventDensityBatch: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventDensityBatch", "query", input),
|
|
3702
3703
|
pruneEventsBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneEventsBefore", "mutation", input),
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a live overlay can draw, named once for every surface that draws it.
|
|
3
|
+
*
|
|
4
|
+
* The viewer and the admin UI each grew their own set of switches over the same
|
|
5
|
+
* four things, with their own spellings, and a layer added to one was simply
|
|
6
|
+
* missing from the other. This is the shared vocabulary: one union, one place
|
|
7
|
+
* to add the fifth layer when there is one.
|
|
8
|
+
*
|
|
9
|
+
* ## Three of these come from the detection stream. One does not.
|
|
10
|
+
*
|
|
11
|
+
* `motion`, `objects` and `discarded` are all views of what the pipeline
|
|
12
|
+
* emitted for THIS frame. `stationary` is not: when the evidence ledger
|
|
13
|
+
* promotes a parked object, the tracker is told to FORGET it — that is the
|
|
14
|
+
* whole point, it stops re-spawning tracks and events — so from that instant
|
|
15
|
+
* the object is absent from the detection stream and exists only as a row of
|
|
16
|
+
* the census, on the occupancy snapshot's `stationaryObjects`.
|
|
17
|
+
*
|
|
18
|
+
* A surface that implements `stationary` by filtering detections on
|
|
19
|
+
* `track.movementState === 'idle'` therefore draws almost nothing: it can only
|
|
20
|
+
* catch the narrow window between the tracker calling a track idle and the
|
|
21
|
+
* ledger promoting it away (measured on device 617: 28 of 235 tracks in 24 h
|
|
22
|
+
* ever reach `idle`, and the ones that park leave the stream shortly after).
|
|
23
|
+
* The census is the source for this layer. Nothing else is.
|
|
24
|
+
*/
|
|
25
|
+
export type OverlayLayer = 'motion' | 'objects' | 'discarded' | 'stationary';
|
|
26
|
+
export declare const OVERLAY_LAYERS: readonly OverlayLayer[];
|
|
27
|
+
/**
|
|
28
|
+
* Which layers a surface draws by default.
|
|
29
|
+
*
|
|
30
|
+
* `discarded` is off: it is a diagnostic — the boxes the pipeline REFUSED —
|
|
31
|
+
* and on a busy camera it outnumbers everything else. The other three are on,
|
|
32
|
+
* because a viewer that opens showing nothing reads as broken.
|
|
33
|
+
*/
|
|
34
|
+
export declare const DEFAULT_OVERLAY_LAYERS: readonly OverlayLayer[];
|
|
35
|
+
/**
|
|
36
|
+
* One box of the census, ready to draw: normalised to [0,1] against the frame
|
|
37
|
+
* it was measured in, so a surface never needs the census's own pixel dims.
|
|
38
|
+
*
|
|
39
|
+
* `becameStationaryAt` is what lets a surface say "parked 3 h" — the fact an
|
|
40
|
+
* operator actually reads off a parked object, and the one thing a detection
|
|
41
|
+
* box can never carry.
|
|
42
|
+
*/
|
|
43
|
+
export interface StationaryOverlayBox {
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly className: string;
|
|
46
|
+
/** Normalised [0,1], same convention as a detection box. */
|
|
47
|
+
readonly x1: number;
|
|
48
|
+
readonly y1: number;
|
|
49
|
+
readonly x2: number;
|
|
50
|
+
readonly y2: number;
|
|
51
|
+
readonly becameStationaryAt: number;
|
|
52
|
+
readonly label?: string;
|
|
53
|
+
}
|