@camstack/types 1.2.82 → 1.2.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/notification-rules.cap.d.ts +48 -0
- package/dist/capabilities/osd-manager.cap.d.ts +18 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +34 -1
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +63 -1
- package/dist/capabilities/recording-export.cap.d.ts +56 -3
- package/dist/capabilities/recording.cap.d.ts +2 -0
- package/dist/capabilities/videoclips.cap.d.ts +10 -0
- package/dist/device/base-device-provider.d.ts +0 -9
- package/dist/enums/event-category.d.ts +4 -3
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-Bxo5yJjt.mjs → event-category-C0lyLd5U.mjs} +4 -3
- package/dist/{event-category-D3gG7oil.js → event-category-DBHdQVIy.js} +4 -3
- package/dist/generated/addon-api.d.ts +21 -0
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.js +204 -35
- package/dist/index.mjs +188 -30
- package/dist/interfaces/event-bus.d.ts +30 -0
- package/dist/interfaces/recording-config.d.ts +34 -1
- package/dist/interfaces/relocate.d.ts +2 -0
- package/dist/{sleep-EYtyUX0L.js → sleep-DZAjGv1f.js} +3 -5
- package/dist/{sleep-BxO5xNe6.mjs → sleep-oYerbR6F.mjs} +3 -5
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_event_category = require("./event-category-
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_event_category = require("./event-category-DBHdQVIy.js");
|
|
3
|
+
const require_sleep = require("./sleep-DZAjGv1f.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
2
|
-
import { A as expandCapMethods, B as ReadinessTimeoutError, I as nodePin, L as readNodePin, T as adminUiCapability, U as scopeKey, _t as BaseAddon, a as asJsonObject, b as viewerUiCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, gt as DisposerChain, ht as DATAPLANE_SECRET_HEADER, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, vt as normalizeAddonInitResult, w as DeviceType, xt as emitReadiness, y as deviceOpsCapability, z as ReadinessRegistry } from "./sleep-
|
|
1
|
+
import { t as EventCategory } from "./event-category-C0lyLd5U.mjs";
|
|
2
|
+
import { A as expandCapMethods, B as ReadinessTimeoutError, I as nodePin, L as readNodePin, T as adminUiCapability, U as scopeKey, _t as BaseAddon, a as asJsonObject, b as viewerUiCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, gt as DisposerChain, ht as DATAPLANE_SECRET_HEADER, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, vt as normalizeAddonInitResult, w as DeviceType, xt as emitReadiness, y as deviceOpsCapability, z as ReadinessRegistry } from "./sleep-oYerbR6F.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
@@ -79,8 +79,8 @@ export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthI
|
|
|
79
79
|
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, type MediaFile, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, 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, 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';
|
|
80
80
|
export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
81
81
|
export { ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
82
|
-
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
83
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
82
|
+
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, DiskReconcileJob, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
83
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
84
84
|
export type { DetailParent, DetailResult, MotionSource, MotionSources, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
|
|
85
85
|
export { MotionSourceEnum, MotionSourcesSchema, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
86
86
|
export { AudioChunkInputSchema, AudioClassificationLabelSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
@@ -83,6 +83,9 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
83
83
|
"alarm-disarmed": "alarm-disarmed";
|
|
84
84
|
"alarm-arming": "alarm-arming";
|
|
85
85
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
86
|
+
"addon-updated": "addon-updated";
|
|
87
|
+
"server-updated": "server-updated";
|
|
88
|
+
"export-completed": "export-completed";
|
|
86
89
|
"camera-online": "camera-online";
|
|
87
90
|
"camera-offline": "camera-offline";
|
|
88
91
|
"camera-disabled": "camera-disabled";
|
|
@@ -132,6 +135,9 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
132
135
|
"alarm-disarmed": "alarm-disarmed";
|
|
133
136
|
"alarm-arming": "alarm-arming";
|
|
134
137
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
138
|
+
"addon-updated": "addon-updated";
|
|
139
|
+
"server-updated": "server-updated";
|
|
140
|
+
"export-completed": "export-completed";
|
|
135
141
|
"camera-online": "camera-online";
|
|
136
142
|
"camera-offline": "camera-offline";
|
|
137
143
|
"camera-disabled": "camera-disabled";
|
|
@@ -597,6 +603,9 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
597
603
|
"alarm-disarmed": "alarm-disarmed";
|
|
598
604
|
"alarm-arming": "alarm-arming";
|
|
599
605
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
606
|
+
"addon-updated": "addon-updated";
|
|
607
|
+
"server-updated": "server-updated";
|
|
608
|
+
"export-completed": "export-completed";
|
|
600
609
|
"camera-online": "camera-online";
|
|
601
610
|
"camera-offline": "camera-offline";
|
|
602
611
|
"camera-disabled": "camera-disabled";
|
|
@@ -875,6 +884,9 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
875
884
|
"alarm-disarmed": "alarm-disarmed";
|
|
876
885
|
"alarm-arming": "alarm-arming";
|
|
877
886
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
887
|
+
"addon-updated": "addon-updated";
|
|
888
|
+
"server-updated": "server-updated";
|
|
889
|
+
"export-completed": "export-completed";
|
|
878
890
|
"camera-online": "camera-online";
|
|
879
891
|
"camera-offline": "camera-offline";
|
|
880
892
|
"camera-disabled": "camera-disabled";
|
|
@@ -1217,6 +1229,9 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1217
1229
|
"alarm-disarmed": "alarm-disarmed";
|
|
1218
1230
|
"alarm-arming": "alarm-arming";
|
|
1219
1231
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
1232
|
+
"addon-updated": "addon-updated";
|
|
1233
|
+
"server-updated": "server-updated";
|
|
1234
|
+
"export-completed": "export-completed";
|
|
1220
1235
|
"camera-online": "camera-online";
|
|
1221
1236
|
"camera-offline": "camera-offline";
|
|
1222
1237
|
"camera-disabled": "camera-disabled";
|
|
@@ -1376,6 +1391,9 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
1376
1391
|
"alarm-disarmed": "alarm-disarmed";
|
|
1377
1392
|
"alarm-arming": "alarm-arming";
|
|
1378
1393
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
1394
|
+
"addon-updated": "addon-updated";
|
|
1395
|
+
"server-updated": "server-updated";
|
|
1396
|
+
"export-completed": "export-completed";
|
|
1379
1397
|
"camera-online": "camera-online";
|
|
1380
1398
|
"camera-offline": "camera-offline";
|
|
1381
1399
|
"camera-disabled": "camera-disabled";
|
|
@@ -1677,6 +1695,9 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
1677
1695
|
"alarm-disarmed": "alarm-disarmed";
|
|
1678
1696
|
"alarm-arming": "alarm-arming";
|
|
1679
1697
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
1698
|
+
"addon-updated": "addon-updated";
|
|
1699
|
+
"server-updated": "server-updated";
|
|
1700
|
+
"export-completed": "export-completed";
|
|
1680
1701
|
"camera-online": "camera-online";
|
|
1681
1702
|
"camera-offline": "camera-offline";
|
|
1682
1703
|
"camera-disabled": "camera-disabled";
|
|
@@ -1756,6 +1777,9 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
1756
1777
|
"alarm-disarmed": "alarm-disarmed";
|
|
1757
1778
|
"alarm-arming": "alarm-arming";
|
|
1758
1779
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
1780
|
+
"addon-updated": "addon-updated";
|
|
1781
|
+
"server-updated": "server-updated";
|
|
1782
|
+
"export-completed": "export-completed";
|
|
1759
1783
|
"camera-online": "camera-online";
|
|
1760
1784
|
"camera-offline": "camera-offline";
|
|
1761
1785
|
"camera-disabled": "camera-disabled";
|
|
@@ -2051,6 +2075,9 @@ export declare const notificationRulesCapability: {
|
|
|
2051
2075
|
"alarm-disarmed": "alarm-disarmed";
|
|
2052
2076
|
"alarm-arming": "alarm-arming";
|
|
2053
2077
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
2078
|
+
"addon-updated": "addon-updated";
|
|
2079
|
+
"server-updated": "server-updated";
|
|
2080
|
+
"export-completed": "export-completed";
|
|
2054
2081
|
"camera-online": "camera-online";
|
|
2055
2082
|
"camera-offline": "camera-offline";
|
|
2056
2083
|
"camera-disabled": "camera-disabled";
|
|
@@ -2304,6 +2331,9 @@ export declare const notificationRulesCapability: {
|
|
|
2304
2331
|
"alarm-disarmed": "alarm-disarmed";
|
|
2305
2332
|
"alarm-arming": "alarm-arming";
|
|
2306
2333
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
2334
|
+
"addon-updated": "addon-updated";
|
|
2335
|
+
"server-updated": "server-updated";
|
|
2336
|
+
"export-completed": "export-completed";
|
|
2307
2337
|
"camera-online": "camera-online";
|
|
2308
2338
|
"camera-offline": "camera-offline";
|
|
2309
2339
|
"camera-disabled": "camera-disabled";
|
|
@@ -2555,6 +2585,9 @@ export declare const notificationRulesCapability: {
|
|
|
2555
2585
|
"alarm-disarmed": "alarm-disarmed";
|
|
2556
2586
|
"alarm-arming": "alarm-arming";
|
|
2557
2587
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
2588
|
+
"addon-updated": "addon-updated";
|
|
2589
|
+
"server-updated": "server-updated";
|
|
2590
|
+
"export-completed": "export-completed";
|
|
2558
2591
|
"camera-online": "camera-online";
|
|
2559
2592
|
"camera-offline": "camera-offline";
|
|
2560
2593
|
"camera-disabled": "camera-disabled";
|
|
@@ -2800,6 +2833,9 @@ export declare const notificationRulesCapability: {
|
|
|
2800
2833
|
"alarm-disarmed": "alarm-disarmed";
|
|
2801
2834
|
"alarm-arming": "alarm-arming";
|
|
2802
2835
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
2836
|
+
"addon-updated": "addon-updated";
|
|
2837
|
+
"server-updated": "server-updated";
|
|
2838
|
+
"export-completed": "export-completed";
|
|
2803
2839
|
"camera-online": "camera-online";
|
|
2804
2840
|
"camera-offline": "camera-offline";
|
|
2805
2841
|
"camera-disabled": "camera-disabled";
|
|
@@ -3142,6 +3178,9 @@ export declare const notificationRulesCapability: {
|
|
|
3142
3178
|
"alarm-disarmed": "alarm-disarmed";
|
|
3143
3179
|
"alarm-arming": "alarm-arming";
|
|
3144
3180
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
3181
|
+
"addon-updated": "addon-updated";
|
|
3182
|
+
"server-updated": "server-updated";
|
|
3183
|
+
"export-completed": "export-completed";
|
|
3145
3184
|
"camera-online": "camera-online";
|
|
3146
3185
|
"camera-offline": "camera-offline";
|
|
3147
3186
|
"camera-disabled": "camera-disabled";
|
|
@@ -3300,6 +3339,9 @@ export declare const notificationRulesCapability: {
|
|
|
3300
3339
|
"alarm-disarmed": "alarm-disarmed";
|
|
3301
3340
|
"alarm-arming": "alarm-arming";
|
|
3302
3341
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
3342
|
+
"addon-updated": "addon-updated";
|
|
3343
|
+
"server-updated": "server-updated";
|
|
3344
|
+
"export-completed": "export-completed";
|
|
3303
3345
|
"camera-online": "camera-online";
|
|
3304
3346
|
"camera-offline": "camera-offline";
|
|
3305
3347
|
"camera-disabled": "camera-disabled";
|
|
@@ -3599,6 +3641,9 @@ export declare const notificationRulesCapability: {
|
|
|
3599
3641
|
"alarm-disarmed": "alarm-disarmed";
|
|
3600
3642
|
"alarm-arming": "alarm-arming";
|
|
3601
3643
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
3644
|
+
"addon-updated": "addon-updated";
|
|
3645
|
+
"server-updated": "server-updated";
|
|
3646
|
+
"export-completed": "export-completed";
|
|
3602
3647
|
"camera-online": "camera-online";
|
|
3603
3648
|
"camera-offline": "camera-offline";
|
|
3604
3649
|
"camera-disabled": "camera-disabled";
|
|
@@ -3945,6 +3990,9 @@ export declare const notificationRulesCapability: {
|
|
|
3945
3990
|
"alarm-disarmed": "alarm-disarmed";
|
|
3946
3991
|
"alarm-arming": "alarm-arming";
|
|
3947
3992
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
3993
|
+
"addon-updated": "addon-updated";
|
|
3994
|
+
"server-updated": "server-updated";
|
|
3995
|
+
"export-completed": "export-completed";
|
|
3948
3996
|
"camera-online": "camera-online";
|
|
3949
3997
|
"camera-offline": "camera-offline";
|
|
3950
3998
|
"camera-disabled": "camera-disabled";
|
|
@@ -162,6 +162,9 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
162
162
|
"alarm-disarmed": "alarm-disarmed";
|
|
163
163
|
"alarm-arming": "alarm-arming";
|
|
164
164
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
165
|
+
"addon-updated": "addon-updated";
|
|
166
|
+
"server-updated": "server-updated";
|
|
167
|
+
"export-completed": "export-completed";
|
|
165
168
|
"camera-online": "camera-online";
|
|
166
169
|
"camera-offline": "camera-offline";
|
|
167
170
|
"camera-disabled": "camera-disabled";
|
|
@@ -321,6 +324,9 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
321
324
|
"alarm-disarmed": "alarm-disarmed";
|
|
322
325
|
"alarm-arming": "alarm-arming";
|
|
323
326
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
327
|
+
"addon-updated": "addon-updated";
|
|
328
|
+
"server-updated": "server-updated";
|
|
329
|
+
"export-completed": "export-completed";
|
|
324
330
|
"camera-online": "camera-online";
|
|
325
331
|
"camera-offline": "camera-offline";
|
|
326
332
|
"camera-disabled": "camera-disabled";
|
|
@@ -552,6 +558,9 @@ export declare const osdManagerCapability: {
|
|
|
552
558
|
"alarm-disarmed": "alarm-disarmed";
|
|
553
559
|
"alarm-arming": "alarm-arming";
|
|
554
560
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
561
|
+
"addon-updated": "addon-updated";
|
|
562
|
+
"server-updated": "server-updated";
|
|
563
|
+
"export-completed": "export-completed";
|
|
555
564
|
"camera-online": "camera-online";
|
|
556
565
|
"camera-offline": "camera-offline";
|
|
557
566
|
"camera-disabled": "camera-disabled";
|
|
@@ -800,6 +809,9 @@ export declare const osdManagerCapability: {
|
|
|
800
809
|
"alarm-disarmed": "alarm-disarmed";
|
|
801
810
|
"alarm-arming": "alarm-arming";
|
|
802
811
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
812
|
+
"addon-updated": "addon-updated";
|
|
813
|
+
"server-updated": "server-updated";
|
|
814
|
+
"export-completed": "export-completed";
|
|
803
815
|
"camera-online": "camera-online";
|
|
804
816
|
"camera-offline": "camera-offline";
|
|
805
817
|
"camera-disabled": "camera-disabled";
|
|
@@ -958,6 +970,9 @@ export declare const osdManagerCapability: {
|
|
|
958
970
|
"alarm-disarmed": "alarm-disarmed";
|
|
959
971
|
"alarm-arming": "alarm-arming";
|
|
960
972
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
973
|
+
"addon-updated": "addon-updated";
|
|
974
|
+
"server-updated": "server-updated";
|
|
975
|
+
"export-completed": "export-completed";
|
|
961
976
|
"camera-online": "camera-online";
|
|
962
977
|
"camera-offline": "camera-offline";
|
|
963
978
|
"camera-disabled": "camera-disabled";
|
|
@@ -1148,6 +1163,9 @@ export declare const osdManagerCapability: {
|
|
|
1148
1163
|
"alarm-disarmed": "alarm-disarmed";
|
|
1149
1164
|
"alarm-arming": "alarm-arming";
|
|
1150
1165
|
"alarm-arm-refused": "alarm-arm-refused";
|
|
1166
|
+
"addon-updated": "addon-updated";
|
|
1167
|
+
"server-updated": "server-updated";
|
|
1168
|
+
"export-completed": "export-completed";
|
|
1151
1169
|
"camera-online": "camera-online";
|
|
1152
1170
|
"camera-offline": "camera-offline";
|
|
1153
1171
|
"camera-disabled": "camera-disabled";
|
|
@@ -280,6 +280,7 @@ export type RetrainStatus = z.infer<typeof RetrainStatusSchema>;
|
|
|
280
280
|
export declare const TrackFlagsPatchSchema: z.ZodObject<{
|
|
281
281
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
282
282
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
283
284
|
}, z.core.$strip>;
|
|
284
285
|
export type TrackFlagsPatch = z.infer<typeof TrackFlagsPatchSchema>;
|
|
285
286
|
/**
|
|
@@ -291,6 +292,7 @@ export declare const TrackFlagsSchema: z.ZodObject<{
|
|
|
291
292
|
trackId: z.ZodString;
|
|
292
293
|
markForTrain: z.ZodBoolean;
|
|
293
294
|
debug: z.ZodBoolean;
|
|
295
|
+
favourited: z.ZodBoolean;
|
|
294
296
|
retrainStatus: z.ZodEnum<{
|
|
295
297
|
none: "none";
|
|
296
298
|
staging: "staging";
|
|
@@ -369,6 +371,7 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
369
371
|
}>>;
|
|
370
372
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
371
373
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
374
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
372
375
|
producingDeviceName: z.ZodOptional<z.ZodString>;
|
|
373
376
|
source: z.ZodOptional<z.ZodEnum<{
|
|
374
377
|
audio: "audio";
|
|
@@ -1020,6 +1023,7 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1020
1023
|
}>>;
|
|
1021
1024
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1022
1025
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1023
1027
|
producingDeviceName: z.ZodOptional<z.ZodString>;
|
|
1024
1028
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1025
1029
|
audio: "audio";
|
|
@@ -1115,6 +1119,7 @@ declare const KeyEventSchema: z.ZodObject<{
|
|
|
1115
1119
|
}>>;
|
|
1116
1120
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1117
1121
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1122
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1118
1123
|
importance: z.ZodNumber;
|
|
1119
1124
|
bestEventId: z.ZodString;
|
|
1120
1125
|
windowMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1228,6 +1233,13 @@ declare const TrackCascadeCountsSchema: z.ZodObject<{
|
|
|
1228
1233
|
embeddings: z.ZodNumber;
|
|
1229
1234
|
}, z.core.$strip>;
|
|
1230
1235
|
export type TrackCascadeCounts = z.infer<typeof TrackCascadeCountsSchema>;
|
|
1236
|
+
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
1237
|
+
declare const DiskReconcileCountsSchema: z.ZodObject<{
|
|
1238
|
+
mediaDropped: z.ZodNumber;
|
|
1239
|
+
tracks: z.ZodNumber;
|
|
1240
|
+
events: z.ZodNumber;
|
|
1241
|
+
}, z.core.$strip>;
|
|
1242
|
+
export type DiskReconcileCounts = z.infer<typeof DiskReconcileCountsSchema>;
|
|
1231
1243
|
/** Event-store footprint for one camera. */
|
|
1232
1244
|
declare const EventStoreDeviceFootprintSchema: z.ZodObject<{
|
|
1233
1245
|
deviceId: z.ZodNumber;
|
|
@@ -1272,6 +1284,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1272
1284
|
}>>;
|
|
1273
1285
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1274
1286
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1287
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1275
1288
|
producingDeviceName: z.ZodOptional<z.ZodString>;
|
|
1276
1289
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1277
1290
|
audio: "audio";
|
|
@@ -1367,6 +1380,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1367
1380
|
}>>;
|
|
1368
1381
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1369
1382
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1383
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1370
1384
|
producingDeviceName: z.ZodOptional<z.ZodString>;
|
|
1371
1385
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1372
1386
|
audio: "audio";
|
|
@@ -1485,6 +1499,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1485
1499
|
}>>;
|
|
1486
1500
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1487
1501
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1502
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1488
1503
|
producingDeviceName: z.ZodOptional<z.ZodString>;
|
|
1489
1504
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1490
1505
|
audio: "audio";
|
|
@@ -1599,6 +1614,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1599
1614
|
}>>;
|
|
1600
1615
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1601
1616
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1617
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1602
1618
|
producingDeviceName: z.ZodOptional<z.ZodString>;
|
|
1603
1619
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1604
1620
|
audio: "audio";
|
|
@@ -1960,6 +1976,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1960
1976
|
}>>;
|
|
1961
1977
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
1962
1978
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
1979
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
1963
1980
|
importance: z.ZodNumber;
|
|
1964
1981
|
bestEventId: z.ZodString;
|
|
1965
1982
|
windowMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2056,6 +2073,20 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2056
2073
|
plates: z.ZodNumber;
|
|
2057
2074
|
embeddings: z.ZodNumber;
|
|
2058
2075
|
}, z.core.$strip>, "mutation">;
|
|
2076
|
+
/**
|
|
2077
|
+
* Disk-wins reconcile for one camera. Drops media index rows whose blobs
|
|
2078
|
+
* are gone, then cascades tracks (including favourited and staging) that
|
|
2079
|
+
* have no remaining files. Enrolled identity/vehicle/scene media is never
|
|
2080
|
+
* probed. Trackless motion/audio events with no remaining file are dropped,
|
|
2081
|
+
* including snapshot-less rows.
|
|
2082
|
+
*/
|
|
2083
|
+
readonly reconcileFromDisk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2084
|
+
deviceId: z.ZodNumber;
|
|
2085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2086
|
+
mediaDropped: z.ZodNumber;
|
|
2087
|
+
tracks: z.ZodNumber;
|
|
2088
|
+
events: z.ZodNumber;
|
|
2089
|
+
}, z.core.$strip>, "mutation">;
|
|
2059
2090
|
/**
|
|
2060
2091
|
* Delete whole tracks (object events) by id for the given device,
|
|
2061
2092
|
* cascading their media in lockstep. Returns the number of tracks
|
|
@@ -2072,7 +2103,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2072
2103
|
failed: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2073
2104
|
}, z.core.$strip>, "mutation">;
|
|
2074
2105
|
/**
|
|
2075
|
-
* Set the per-track operator flags (`markForTrain`, `debug`) on ONE track.
|
|
2106
|
+
* Set the per-track operator flags (`markForTrain`, `debug`, `favourited`) on ONE track.
|
|
2076
2107
|
* The patch is PARTIAL — an omitted key is left untouched — because the
|
|
2077
2108
|
* three surfaces that write it (admin Events grid, viewer track detail,
|
|
2078
2109
|
* viewer cluster detail) each own one toggle and must not clobber the other.
|
|
@@ -2114,11 +2145,13 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2114
2145
|
flags: z.ZodObject<{
|
|
2115
2146
|
markForTrain: z.ZodOptional<z.ZodBoolean>;
|
|
2116
2147
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
2148
|
+
favourited: z.ZodOptional<z.ZodBoolean>;
|
|
2117
2149
|
}, z.core.$strip>;
|
|
2118
2150
|
}, z.core.$strip>, z.ZodObject<{
|
|
2119
2151
|
trackId: z.ZodString;
|
|
2120
2152
|
markForTrain: z.ZodBoolean;
|
|
2121
2153
|
debug: z.ZodBoolean;
|
|
2154
|
+
favourited: z.ZodBoolean;
|
|
2122
2155
|
retrainStatus: z.ZodEnum<{
|
|
2123
2156
|
none: "none";
|
|
2124
2157
|
staging: "staging";
|
|
@@ -391,6 +391,24 @@ declare const CameraStatusDegradationSchema: z.ZodObject<{
|
|
|
391
391
|
*
|
|
392
392
|
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
393
393
|
*/
|
|
394
|
+
declare const DiskReconcileJobSchema: z.ZodObject<{
|
|
395
|
+
state: z.ZodEnum<{
|
|
396
|
+
error: "error";
|
|
397
|
+
done: "done";
|
|
398
|
+
running: "running";
|
|
399
|
+
idle: "idle";
|
|
400
|
+
}>;
|
|
401
|
+
total: z.ZodNumber;
|
|
402
|
+
completed: z.ZodNumber;
|
|
403
|
+
currentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
404
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
405
|
+
mediaDropped: z.ZodNumber;
|
|
406
|
+
tracks: z.ZodNumber;
|
|
407
|
+
events: z.ZodNumber;
|
|
408
|
+
startedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
409
|
+
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
410
|
+
error: z.ZodNullable<z.ZodString>;
|
|
411
|
+
}, z.core.$strip>;
|
|
394
412
|
declare const CameraStatusSchema: z.ZodObject<{
|
|
395
413
|
deviceId: z.ZodNumber;
|
|
396
414
|
assignment: z.ZodObject<{
|
|
@@ -1563,6 +1581,49 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1563
1581
|
}, z.core.$strip>>>;
|
|
1564
1582
|
fetchedAt: z.ZodNumber;
|
|
1565
1583
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Disk-wins fleet reconcile after a recordings wipe. Starts the walk in
|
|
1586
|
+
* the addon process and returns immediately with the job snapshot — the
|
|
1587
|
+
* work outlives the tRPC/UDS 60s timeout. Poll `getReconcileFromDiskStatus`.
|
|
1588
|
+
* Admin-only. Idempotent while a job is already running.
|
|
1589
|
+
*/
|
|
1590
|
+
readonly reconcileFromDisk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1591
|
+
state: z.ZodEnum<{
|
|
1592
|
+
error: "error";
|
|
1593
|
+
done: "done";
|
|
1594
|
+
running: "running";
|
|
1595
|
+
idle: "idle";
|
|
1596
|
+
}>;
|
|
1597
|
+
total: z.ZodNumber;
|
|
1598
|
+
completed: z.ZodNumber;
|
|
1599
|
+
currentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
1600
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
1601
|
+
mediaDropped: z.ZodNumber;
|
|
1602
|
+
tracks: z.ZodNumber;
|
|
1603
|
+
events: z.ZodNumber;
|
|
1604
|
+
startedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1605
|
+
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1606
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1607
|
+
}, z.core.$strip>, "mutation">;
|
|
1608
|
+
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
1609
|
+
readonly getReconcileFromDiskStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1610
|
+
state: z.ZodEnum<{
|
|
1611
|
+
error: "error";
|
|
1612
|
+
done: "done";
|
|
1613
|
+
running: "running";
|
|
1614
|
+
idle: "idle";
|
|
1615
|
+
}>;
|
|
1616
|
+
total: z.ZodNumber;
|
|
1617
|
+
completed: z.ZodNumber;
|
|
1618
|
+
currentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
1619
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
1620
|
+
mediaDropped: z.ZodNumber;
|
|
1621
|
+
tracks: z.ZodNumber;
|
|
1622
|
+
events: z.ZodNumber;
|
|
1623
|
+
startedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1624
|
+
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1625
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1626
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1566
1627
|
/** List every template the operator has saved. */
|
|
1567
1628
|
readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1568
1629
|
id: z.ZodString;
|
|
@@ -1803,6 +1864,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1803
1864
|
};
|
|
1804
1865
|
};
|
|
1805
1866
|
export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
|
|
1867
|
+
export type DiskReconcileJob = z.infer<typeof DiskReconcileJobSchema>;
|
|
1806
1868
|
export type CameraStatus = z.infer<typeof CameraStatusSchema>;
|
|
1807
1869
|
export type CameraStatusDegradation = z.infer<typeof CameraStatusDegradationSchema>;
|
|
1808
1870
|
export type CameraStatusStage = z.infer<typeof CameraStatusStageSchema>;
|
|
@@ -1825,4 +1887,4 @@ export type CameraRecordingMode = z.infer<typeof CameraRecordingModeSchema>;
|
|
|
1825
1887
|
export type IngestOwner = z.infer<typeof IngestOwnerSchema>;
|
|
1826
1888
|
export type NodeInferenceDevice = z.infer<typeof NodeInferenceDeviceSchema>;
|
|
1827
1889
|
export type NodeInferenceDevices = z.infer<typeof NodeInferenceDevicesSchema>;
|
|
1828
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
|
|
1890
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
|
|
@@ -101,6 +101,7 @@ export declare const ExportOptionsSchema: z.ZodObject<{
|
|
|
101
101
|
maxLifeMs: z.ZodNumber;
|
|
102
102
|
deleteAfterDownload: z.ZodBoolean;
|
|
103
103
|
title: z.ZodOptional<z.ZodString>;
|
|
104
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
105
|
}, z.core.$strip>;
|
|
105
106
|
export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
106
107
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
@@ -136,6 +137,7 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
136
137
|
maxLifeMs: z.ZodNumber;
|
|
137
138
|
deleteAfterDownload: z.ZodBoolean;
|
|
138
139
|
title: z.ZodOptional<z.ZodString>;
|
|
140
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
141
|
}, z.core.$strip>;
|
|
140
142
|
state: z.ZodEnum<{
|
|
141
143
|
queued: "queued";
|
|
@@ -193,16 +195,61 @@ export declare const ExportBytesSchema: z.ZodObject<{
|
|
|
193
195
|
bytes: z.ZodNumber;
|
|
194
196
|
}, z.core.$strip>;
|
|
195
197
|
export type ExportBytes = z.infer<typeof ExportBytesSchema>;
|
|
198
|
+
/**
|
|
199
|
+
* Rewrite a legacy `{ profile }` into `{ profiles: [profile] }` so one parse
|
|
200
|
+
* path serves both the multi-stream picker and the timelapse scheduler.
|
|
201
|
+
*
|
|
202
|
+
* Kept as a named function (not `z.preprocess` wrapping the method input)
|
|
203
|
+
* because generated routers call `.input.loose()` — a ZodObject method that a
|
|
204
|
+
* preprocess/pipe schema does not have. The object schema still *accepts* the
|
|
205
|
+
* singular field; this helper is the explicit rewrite the tests pin.
|
|
206
|
+
*/
|
|
207
|
+
export declare function preprocessCreateExportInput(raw: unknown): unknown;
|
|
208
|
+
/**
|
|
209
|
+
* `createExport` input. `profiles` is the canonical field (min 1). A legacy
|
|
210
|
+
* singular `profile` is still accepted so existing callers do not break.
|
|
211
|
+
*
|
|
212
|
+
* Must remain a ZodObject (`.loose()` for out-of-band `nodeId`).
|
|
213
|
+
*/
|
|
214
|
+
export declare const CreateExportInputSchema: z.ZodObject<{
|
|
215
|
+
deviceId: z.ZodNumber;
|
|
216
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
217
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
|
+
fromMs: z.ZodNumber;
|
|
219
|
+
toMs: z.ZodNumber;
|
|
220
|
+
options: z.ZodObject<{
|
|
221
|
+
speed: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
timelapse: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
everyMs: z.ZodNumber;
|
|
224
|
+
outputFps: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
dense: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
everyMs: z.ZodNumber;
|
|
227
|
+
ranges: z.ZodArray<z.ZodObject<{
|
|
228
|
+
fromSec: z.ZodNumber;
|
|
229
|
+
toSec: z.ZodNumber;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
includeAudio: z.ZodBoolean;
|
|
234
|
+
maxLifeMs: z.ZodNumber;
|
|
235
|
+
deleteAfterDownload: z.ZodBoolean;
|
|
236
|
+
title: z.ZodOptional<z.ZodString>;
|
|
237
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
export type CreateExportInput = z.infer<typeof CreateExportInputSchema>;
|
|
196
241
|
export declare const recordingExportCapability: {
|
|
197
242
|
readonly name: "recording-export";
|
|
198
243
|
readonly scope: "system";
|
|
199
244
|
readonly mode: "singleton";
|
|
200
245
|
readonly methods: {
|
|
201
|
-
/** Queue a render of `[fromMs,toMs)` for `deviceId`/`
|
|
202
|
-
*
|
|
246
|
+
/** Queue a render of `[fromMs,toMs)` for `deviceId`/`profiles` (legacy
|
|
247
|
+
* singular `profile` still accepted). Fails fast when no footage covers
|
|
248
|
+
* the range. One job per profile; returns the first queued record. */
|
|
203
249
|
readonly createExport: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
204
250
|
deviceId: z.ZodNumber;
|
|
205
|
-
profile: z.ZodString
|
|
251
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
252
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
253
|
fromMs: z.ZodNumber;
|
|
207
254
|
toMs: z.ZodNumber;
|
|
208
255
|
options: z.ZodObject<{
|
|
@@ -222,6 +269,7 @@ export declare const recordingExportCapability: {
|
|
|
222
269
|
maxLifeMs: z.ZodNumber;
|
|
223
270
|
deleteAfterDownload: z.ZodBoolean;
|
|
224
271
|
title: z.ZodOptional<z.ZodString>;
|
|
272
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
225
273
|
}, z.core.$strip>;
|
|
226
274
|
}, z.core.$strip>, z.ZodObject<{
|
|
227
275
|
id: z.ZodString;
|
|
@@ -246,6 +294,7 @@ export declare const recordingExportCapability: {
|
|
|
246
294
|
maxLifeMs: z.ZodNumber;
|
|
247
295
|
deleteAfterDownload: z.ZodBoolean;
|
|
248
296
|
title: z.ZodOptional<z.ZodString>;
|
|
297
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
249
298
|
}, z.core.$strip>;
|
|
250
299
|
state: z.ZodEnum<{
|
|
251
300
|
queued: "queued";
|
|
@@ -290,6 +339,7 @@ export declare const recordingExportCapability: {
|
|
|
290
339
|
maxLifeMs: z.ZodNumber;
|
|
291
340
|
deleteAfterDownload: z.ZodBoolean;
|
|
292
341
|
title: z.ZodOptional<z.ZodString>;
|
|
342
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
293
343
|
}, z.core.$strip>;
|
|
294
344
|
state: z.ZodEnum<{
|
|
295
345
|
queued: "queued";
|
|
@@ -333,6 +383,7 @@ export declare const recordingExportCapability: {
|
|
|
333
383
|
maxLifeMs: z.ZodNumber;
|
|
334
384
|
deleteAfterDownload: z.ZodBoolean;
|
|
335
385
|
title: z.ZodOptional<z.ZodString>;
|
|
386
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
336
387
|
}, z.core.$strip>;
|
|
337
388
|
state: z.ZodEnum<{
|
|
338
389
|
queued: "queued";
|
|
@@ -377,6 +428,7 @@ export declare const recordingExportCapability: {
|
|
|
377
428
|
maxLifeMs: z.ZodNumber;
|
|
378
429
|
deleteAfterDownload: z.ZodBoolean;
|
|
379
430
|
title: z.ZodOptional<z.ZodString>;
|
|
431
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
380
432
|
}, z.core.$strip>;
|
|
381
433
|
state: z.ZodEnum<{
|
|
382
434
|
queued: "queued";
|
|
@@ -421,6 +473,7 @@ export declare const recordingExportCapability: {
|
|
|
421
473
|
maxLifeMs: z.ZodNumber;
|
|
422
474
|
deleteAfterDownload: z.ZodBoolean;
|
|
423
475
|
title: z.ZodOptional<z.ZodString>;
|
|
476
|
+
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
424
477
|
}, z.core.$strip>;
|
|
425
478
|
state: z.ZodEnum<{
|
|
426
479
|
queued: "queued";
|
|
@@ -594,6 +594,7 @@ export declare const recordingCapability: {
|
|
|
594
594
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
595
595
|
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
596
596
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
sinceMs: z.ZodOptional<z.ZodNumber>;
|
|
597
598
|
leaseId: z.ZodString;
|
|
598
599
|
}, z.core.$strip>, z.ZodObject<{
|
|
599
600
|
jobId: z.ZodString;
|
|
@@ -643,6 +644,7 @@ export declare const recordingCapability: {
|
|
|
643
644
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
644
645
|
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
645
646
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
647
|
+
sinceMs: z.ZodOptional<z.ZodNumber>;
|
|
646
648
|
}, z.core.$strip>, z.ZodObject<{
|
|
647
649
|
jobId: z.ZodString;
|
|
648
650
|
}, z.core.$strip>, "mutation">;
|