@camstack/types 1.2.16 → 1.2.18
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.d.ts +1 -0
- package/dist/addon.js +266 -2
- package/dist/addon.mjs +265 -3
- package/dist/capabilities/addons.cap.d.ts +7 -7
- package/dist/capabilities/broker.cap.d.ts +8 -8
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +8 -8
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/decoder.cap.d.ts +2 -2
- package/dist/capabilities/device-manager.cap.d.ts +24 -2
- package/dist/capabilities/face-gallery.cap.d.ts +1 -1
- package/dist/capabilities/image-settings.cap.d.ts +16 -16
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/intercom.cap.d.ts +6 -6
- package/dist/capabilities/lawn-mower-control.cap.d.ts +4 -4
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/local-network.cap.d.ts +38 -0
- package/dist/capabilities/media-player.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/mqtt-broker.cap.d.ts +3 -3
- package/dist/capabilities/notification-output.cap.d.ts +4 -0
- package/dist/capabilities/notification-rules.cap.d.ts +378 -18
- package/dist/capabilities/pipeline-analytics.cap.d.ts +133 -27
- package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +15 -15
- package/dist/capabilities/pipeline-runner.cap.d.ts +2 -2
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording.cap.d.ts +102 -129
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +2 -2
- package/dist/capabilities/schemas/streaming-shared.d.ts +4 -4
- package/dist/capabilities/storage-provider.cap.d.ts +44 -0
- package/dist/capabilities/storage.cap.d.ts +17 -1
- package/dist/capabilities/stream-broker.cap.d.ts +58 -12
- package/dist/capabilities/webrtc-session.cap.d.ts +6 -6
- package/dist/enums/event-category.d.ts +13 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-Cdyife4p.js → event-category-39bpf1r_.js} +13 -0
- package/dist/{event-category-BLcNejAE.mjs → event-category-Bz24uP1U.mjs} +13 -0
- package/dist/generated/addon-api.d.ts +5358 -30965
- package/dist/generated/cap-input-defaults.d.ts +29 -0
- package/dist/generated/device-proxy.d.ts +2 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +724 -138
- package/dist/index.mjs +711 -135
- package/dist/interfaces/addon.d.ts +9 -0
- package/dist/interfaces/ops-log.d.ts +2 -0
- package/dist/interfaces/recording-config.d.ts +33 -91
- package/dist/interfaces/relocate.d.ts +55 -0
- package/dist/interfaces/storage-location-declaration.d.ts +1 -1
- package/dist/interfaces/storage-location.d.ts +4 -0
- package/dist/interfaces/stream-broker.d.ts +1 -1
- package/dist/lifecycle/job.d.ts +6 -6
- package/dist/node.js +1 -0
- package/dist/node.mjs +1 -0
- package/dist/notification/condition-taxonomy.d.ts +61 -0
- package/dist/notification/format-transcode.d.ts +12 -1
- package/dist/{sleep-C3ceNSsf.mjs → sleep-B_Uaqbai.mjs} +7 -1
- package/dist/{sleep-DRg9F6JJ.js → sleep-DETsT9rJ.js} +7 -1
- package/package.json +1 -1
- package/dist/interfaces/recording-config-migrate.d.ts +0 -12
|
@@ -26,9 +26,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
26
26
|
* (per-device surface) and `track-trail` caps — see P11 cleanup.
|
|
27
27
|
*/
|
|
28
28
|
declare const TrackStateSchema: z.ZodEnum<{
|
|
29
|
-
moving: "moving";
|
|
30
|
-
left: "left";
|
|
31
29
|
idle: "idle";
|
|
30
|
+
left: "left";
|
|
31
|
+
moving: "moving";
|
|
32
32
|
new: "new";
|
|
33
33
|
entered: "entered";
|
|
34
34
|
}>;
|
|
@@ -68,10 +68,10 @@ export declare const EventKindIconSchema: z.ZodEnum<{
|
|
|
68
68
|
animal: "animal";
|
|
69
69
|
motion: "motion";
|
|
70
70
|
package: "package";
|
|
71
|
+
water: "water";
|
|
71
72
|
door: "door";
|
|
72
73
|
pir: "pir";
|
|
73
74
|
smoke: "smoke";
|
|
74
|
-
water: "water";
|
|
75
75
|
}>;
|
|
76
76
|
export type EventKindIcon = z.infer<typeof EventKindIconSchema>;
|
|
77
77
|
export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
@@ -105,10 +105,10 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
105
105
|
animal: "animal";
|
|
106
106
|
motion: "motion";
|
|
107
107
|
package: "package";
|
|
108
|
+
water: "water";
|
|
108
109
|
door: "door";
|
|
109
110
|
pir: "pir";
|
|
110
111
|
smoke: "smoke";
|
|
111
|
-
water: "water";
|
|
112
112
|
}>;
|
|
113
113
|
category: z.ZodEnum<{
|
|
114
114
|
sensor: "sensor";
|
|
@@ -237,9 +237,9 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
237
237
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
238
238
|
totalDistance: z.ZodNumber;
|
|
239
239
|
state: z.ZodEnum<{
|
|
240
|
-
moving: "moving";
|
|
241
|
-
left: "left";
|
|
242
240
|
idle: "idle";
|
|
241
|
+
left: "left";
|
|
242
|
+
moving: "moving";
|
|
243
243
|
new: "new";
|
|
244
244
|
entered: "entered";
|
|
245
245
|
}>;
|
|
@@ -296,6 +296,43 @@ export declare const DetectionSourceSchema: z.ZodEnum<{
|
|
|
296
296
|
onboard: "onboard";
|
|
297
297
|
}>;
|
|
298
298
|
export type DetectionSource = z.infer<typeof DetectionSourceSchema>;
|
|
299
|
+
/**
|
|
300
|
+
* Which WAY a subject crossed a zone boundary. An entry and an exit are two
|
|
301
|
+
* different notifications ("the parcel arrived" / "the car left the drive"),
|
|
302
|
+
* and until this existed they were indistinguishable on the persisted record —
|
|
303
|
+
* which is why exits were computed and dropped at the emit boundary rather
|
|
304
|
+
* than doubling every zone-scoped rule.
|
|
305
|
+
*/
|
|
306
|
+
export declare const ZoneCrossingDirectionSchema: z.ZodEnum<{
|
|
307
|
+
enter: "enter";
|
|
308
|
+
exit: "exit";
|
|
309
|
+
}>;
|
|
310
|
+
export type ZoneCrossingDirection = z.infer<typeof ZoneCrossingDirectionSchema>;
|
|
311
|
+
/**
|
|
312
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
313
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
314
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
315
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
316
|
+
* on them.
|
|
317
|
+
*
|
|
318
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
319
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
320
|
+
* produces two events with two directions — never one ambiguous row.
|
|
321
|
+
*
|
|
322
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
323
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
324
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
325
|
+
* the exit it asked for.
|
|
326
|
+
*/
|
|
327
|
+
export declare const ZoneCrossingSchema: z.ZodObject<{
|
|
328
|
+
direction: z.ZodEnum<{
|
|
329
|
+
enter: "enter";
|
|
330
|
+
exit: "exit";
|
|
331
|
+
}>;
|
|
332
|
+
zoneId: z.ZodString;
|
|
333
|
+
zoneName: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, z.core.$strip>;
|
|
335
|
+
export type ZoneCrossing = z.infer<typeof ZoneCrossingSchema>;
|
|
299
336
|
declare const ObjectEventSchema: z.ZodObject<{
|
|
300
337
|
kind: z.ZodLiteral<"object">;
|
|
301
338
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -315,12 +352,20 @@ declare const ObjectEventSchema: z.ZodObject<{
|
|
|
315
352
|
}, z.core.$strip>>;
|
|
316
353
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
317
354
|
state: z.ZodOptional<z.ZodEnum<{
|
|
318
|
-
moving: "moving";
|
|
319
|
-
left: "left";
|
|
320
355
|
idle: "idle";
|
|
356
|
+
left: "left";
|
|
357
|
+
moving: "moving";
|
|
321
358
|
new: "new";
|
|
322
359
|
entered: "entered";
|
|
323
360
|
}>>;
|
|
361
|
+
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
direction: z.ZodEnum<{
|
|
363
|
+
enter: "enter";
|
|
364
|
+
exit: "exit";
|
|
365
|
+
}>;
|
|
366
|
+
zoneId: z.ZodString;
|
|
367
|
+
zoneName: z.ZodOptional<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
324
369
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
325
370
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
326
371
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
@@ -438,9 +483,9 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
438
483
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
439
484
|
totalDistance: z.ZodNumber;
|
|
440
485
|
state: z.ZodEnum<{
|
|
441
|
-
moving: "moving";
|
|
442
|
-
left: "left";
|
|
443
486
|
idle: "idle";
|
|
487
|
+
left: "left";
|
|
488
|
+
moving: "moving";
|
|
444
489
|
new: "new";
|
|
445
490
|
entered: "entered";
|
|
446
491
|
}>;
|
|
@@ -488,9 +533,9 @@ declare const TrackedDetectionSchema: z.ZodObject<{
|
|
|
488
533
|
}, z.core.$strip>;
|
|
489
534
|
zones: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
490
535
|
state: z.ZodEnum<{
|
|
491
|
-
moving: "moving";
|
|
492
|
-
left: "left";
|
|
493
536
|
idle: "idle";
|
|
537
|
+
left: "left";
|
|
538
|
+
moving: "moving";
|
|
494
539
|
new: "new";
|
|
495
540
|
entered: "entered";
|
|
496
541
|
}>;
|
|
@@ -514,12 +559,20 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
|
514
559
|
}, z.core.$strip>>;
|
|
515
560
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
516
561
|
state: z.ZodOptional<z.ZodEnum<{
|
|
517
|
-
moving: "moving";
|
|
518
|
-
left: "left";
|
|
519
562
|
idle: "idle";
|
|
563
|
+
left: "left";
|
|
564
|
+
moving: "moving";
|
|
520
565
|
new: "new";
|
|
521
566
|
entered: "entered";
|
|
522
567
|
}>>;
|
|
568
|
+
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
569
|
+
direction: z.ZodEnum<{
|
|
570
|
+
enter: "enter";
|
|
571
|
+
exit: "exit";
|
|
572
|
+
}>;
|
|
573
|
+
zoneId: z.ZodString;
|
|
574
|
+
zoneName: z.ZodOptional<z.ZodString>;
|
|
575
|
+
}, z.core.$strip>>;
|
|
523
576
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
524
577
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
525
578
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
@@ -619,9 +672,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
619
672
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
620
673
|
totalDistance: z.ZodNumber;
|
|
621
674
|
state: z.ZodEnum<{
|
|
622
|
-
moving: "moving";
|
|
623
|
-
left: "left";
|
|
624
675
|
idle: "idle";
|
|
676
|
+
left: "left";
|
|
677
|
+
moving: "moving";
|
|
625
678
|
new: "new";
|
|
626
679
|
entered: "entered";
|
|
627
680
|
}>;
|
|
@@ -688,9 +741,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
688
741
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
689
742
|
totalDistance: z.ZodNumber;
|
|
690
743
|
state: z.ZodEnum<{
|
|
691
|
-
moving: "moving";
|
|
692
|
-
left: "left";
|
|
693
744
|
idle: "idle";
|
|
745
|
+
left: "left";
|
|
746
|
+
moving: "moving";
|
|
694
747
|
new: "new";
|
|
695
748
|
entered: "entered";
|
|
696
749
|
}>;
|
|
@@ -779,9 +832,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
779
832
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
780
833
|
totalDistance: z.ZodNumber;
|
|
781
834
|
state: z.ZodEnum<{
|
|
782
|
-
moving: "moving";
|
|
783
|
-
left: "left";
|
|
784
835
|
idle: "idle";
|
|
836
|
+
left: "left";
|
|
837
|
+
moving: "moving";
|
|
785
838
|
new: "new";
|
|
786
839
|
entered: "entered";
|
|
787
840
|
}>;
|
|
@@ -866,9 +919,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
866
919
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
867
920
|
totalDistance: z.ZodNumber;
|
|
868
921
|
state: z.ZodEnum<{
|
|
869
|
-
moving: "moving";
|
|
870
|
-
left: "left";
|
|
871
922
|
idle: "idle";
|
|
923
|
+
left: "left";
|
|
924
|
+
moving: "moving";
|
|
872
925
|
new: "new";
|
|
873
926
|
entered: "entered";
|
|
874
927
|
}>;
|
|
@@ -953,12 +1006,20 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
953
1006
|
}, z.core.$strip>>;
|
|
954
1007
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
955
1008
|
state: z.ZodOptional<z.ZodEnum<{
|
|
956
|
-
moving: "moving";
|
|
957
|
-
left: "left";
|
|
958
1009
|
idle: "idle";
|
|
1010
|
+
left: "left";
|
|
1011
|
+
moving: "moving";
|
|
959
1012
|
new: "new";
|
|
960
1013
|
entered: "entered";
|
|
961
1014
|
}>>;
|
|
1015
|
+
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
direction: z.ZodEnum<{
|
|
1017
|
+
enter: "enter";
|
|
1018
|
+
exit: "exit";
|
|
1019
|
+
}>;
|
|
1020
|
+
zoneId: z.ZodString;
|
|
1021
|
+
zoneName: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
}, z.core.$strip>>;
|
|
962
1023
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
963
1024
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
964
1025
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1015,10 +1076,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1015
1076
|
animal: "animal";
|
|
1016
1077
|
motion: "motion";
|
|
1017
1078
|
package: "package";
|
|
1079
|
+
water: "water";
|
|
1018
1080
|
door: "door";
|
|
1019
1081
|
pir: "pir";
|
|
1020
1082
|
smoke: "smoke";
|
|
1021
|
-
water: "water";
|
|
1022
1083
|
}>;
|
|
1023
1084
|
category: z.ZodEnum<{
|
|
1024
1085
|
sensor: "sensor";
|
|
@@ -1220,6 +1281,42 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1220
1281
|
}, z.core.$strip>, "mutation">;
|
|
1221
1282
|
/** The events ops-log rows (newest-first), optionally scoped to one camera.
|
|
1222
1283
|
* Backed by a declared pipeline-analytics SQLite collection. */
|
|
1284
|
+
/**
|
|
1285
|
+
* Move event-media blobs onto `toLocationId` (entity-routing spec Phase
|
|
1286
|
+
* 4): per-row copy → stamp row.locationId → delete old blob. Rows already
|
|
1287
|
+
* at the target are skipped, so a re-run resumes. Single-flight.
|
|
1288
|
+
*/
|
|
1289
|
+
readonly relocateMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1290
|
+
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
+
toLocationId: z.ZodString;
|
|
1292
|
+
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
1293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1294
|
+
jobId: z.ZodString;
|
|
1295
|
+
}, z.core.$strip>, "mutation">;
|
|
1296
|
+
readonly getMediaRelocateStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1297
|
+
jobId: z.ZodString;
|
|
1298
|
+
state: z.ZodEnum<{
|
|
1299
|
+
running: "running";
|
|
1300
|
+
done: "done";
|
|
1301
|
+
failed: "failed";
|
|
1302
|
+
cancelled: "cancelled";
|
|
1303
|
+
}>;
|
|
1304
|
+
fromLocationId: z.ZodString;
|
|
1305
|
+
toLocationId: z.ZodString;
|
|
1306
|
+
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
1307
|
+
entities: z.ZodArray<z.ZodString>;
|
|
1308
|
+
filesMoved: z.ZodNumber;
|
|
1309
|
+
bytesMoved: z.ZodNumber;
|
|
1310
|
+
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
1311
|
+
startedAt: z.ZodNumber;
|
|
1312
|
+
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
1313
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1314
|
+
}, z.core.$strip>>>, "query">;
|
|
1315
|
+
readonly cancelMediaRelocate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1316
|
+
jobId: z.ZodString;
|
|
1317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1318
|
+
cancelled: z.ZodBoolean;
|
|
1319
|
+
}, z.core.$strip>, "mutation">;
|
|
1223
1320
|
readonly listOpsLog: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1224
1321
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
1225
1322
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1235,6 +1332,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1235
1332
|
"manual-delete": "manual-delete";
|
|
1236
1333
|
rescan: "rescan";
|
|
1237
1334
|
"retention-run": "retention-run";
|
|
1335
|
+
relocate: "relocate";
|
|
1238
1336
|
}>;
|
|
1239
1337
|
reason: z.ZodEnum<{
|
|
1240
1338
|
manual: "manual";
|
|
@@ -1360,12 +1458,20 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1360
1458
|
}, z.core.$strip>>;
|
|
1361
1459
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1362
1460
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1363
|
-
moving: "moving";
|
|
1364
|
-
left: "left";
|
|
1365
1461
|
idle: "idle";
|
|
1462
|
+
left: "left";
|
|
1463
|
+
moving: "moving";
|
|
1366
1464
|
new: "new";
|
|
1367
1465
|
entered: "entered";
|
|
1368
1466
|
}>>;
|
|
1467
|
+
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
1468
|
+
direction: z.ZodEnum<{
|
|
1469
|
+
enter: "enter";
|
|
1470
|
+
exit: "exit";
|
|
1471
|
+
}>;
|
|
1472
|
+
zoneId: z.ZodString;
|
|
1473
|
+
zoneName: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
}, z.core.$strip>>;
|
|
1369
1475
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
1370
1476
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
1371
1477
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
@@ -382,10 +382,10 @@ declare const EngineProvisioningSchema: z.ZodObject<{
|
|
|
382
382
|
device: z.ZodNullable<z.ZodString>;
|
|
383
383
|
state: z.ZodEnum<{
|
|
384
384
|
ready: "ready";
|
|
385
|
+
failed: "failed";
|
|
385
386
|
idle: "idle";
|
|
386
387
|
installing: "installing";
|
|
387
388
|
verifying: "verifying";
|
|
388
|
-
failed: "failed";
|
|
389
389
|
}>;
|
|
390
390
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
391
391
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -531,10 +531,10 @@ export declare const pipelineExecutorCapability: {
|
|
|
531
531
|
device: z.ZodNullable<z.ZodString>;
|
|
532
532
|
state: z.ZodEnum<{
|
|
533
533
|
ready: "ready";
|
|
534
|
+
failed: "failed";
|
|
534
535
|
idle: "idle";
|
|
535
536
|
installing: "installing";
|
|
536
537
|
verifying: "verifying";
|
|
537
|
-
failed: "failed";
|
|
538
538
|
}>;
|
|
539
539
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
540
540
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -106,8 +106,8 @@ declare const PipelineAssignmentSchema: z.ZodObject<{
|
|
|
106
106
|
agentNodeId: z.ZodString;
|
|
107
107
|
pinned: z.ZodBoolean;
|
|
108
108
|
reason: z.ZodEnum<{
|
|
109
|
-
manual: "manual";
|
|
110
109
|
capacity: "capacity";
|
|
110
|
+
manual: "manual";
|
|
111
111
|
"hardware-affinity": "hardware-affinity";
|
|
112
112
|
failover: "failover";
|
|
113
113
|
rebalance: "rebalance";
|
|
@@ -266,26 +266,26 @@ declare const CameraMotionStatusSchema: z.ZodObject<{
|
|
|
266
266
|
/** Detection engine provisioning state (mirrors pipeline-executor provisioning states). */
|
|
267
267
|
declare const CameraDetectionProvisioningStateSchema: z.ZodEnum<{
|
|
268
268
|
ready: "ready";
|
|
269
|
+
failed: "failed";
|
|
269
270
|
idle: "idle";
|
|
270
271
|
installing: "installing";
|
|
271
272
|
verifying: "verifying";
|
|
272
|
-
failed: "failed";
|
|
273
273
|
}>;
|
|
274
274
|
/** Detection provisioning sub-block. */
|
|
275
275
|
declare const CameraDetectionProvisioningSchema: z.ZodObject<{
|
|
276
276
|
state: z.ZodEnum<{
|
|
277
277
|
ready: "ready";
|
|
278
|
+
failed: "failed";
|
|
278
279
|
idle: "idle";
|
|
279
280
|
installing: "installing";
|
|
280
281
|
verifying: "verifying";
|
|
281
|
-
failed: "failed";
|
|
282
282
|
}>;
|
|
283
283
|
error: z.ZodOptional<z.ZodString>;
|
|
284
284
|
}, z.core.$strip>;
|
|
285
285
|
/** Detection phase — derived from the runner's engine phase. */
|
|
286
286
|
declare const CameraDetectionPhaseSchema: z.ZodEnum<{
|
|
287
|
-
idle: "idle";
|
|
288
287
|
active: "active";
|
|
288
|
+
idle: "idle";
|
|
289
289
|
watching: "watching";
|
|
290
290
|
}>;
|
|
291
291
|
/** Detection block — null when no detection node is assigned or reachable. */
|
|
@@ -296,8 +296,8 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
|
|
|
296
296
|
device: z.ZodString;
|
|
297
297
|
}, z.core.$strip>;
|
|
298
298
|
phase: z.ZodEnum<{
|
|
299
|
-
idle: "idle";
|
|
300
299
|
active: "active";
|
|
300
|
+
idle: "idle";
|
|
301
301
|
watching: "watching";
|
|
302
302
|
}>;
|
|
303
303
|
configuredFps: z.ZodNumber;
|
|
@@ -307,10 +307,10 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
|
|
|
307
307
|
provisioning: z.ZodObject<{
|
|
308
308
|
state: z.ZodEnum<{
|
|
309
309
|
ready: "ready";
|
|
310
|
+
failed: "failed";
|
|
310
311
|
idle: "idle";
|
|
311
312
|
installing: "installing";
|
|
312
313
|
verifying: "verifying";
|
|
313
|
-
failed: "failed";
|
|
314
314
|
}>;
|
|
315
315
|
error: z.ZodOptional<z.ZodString>;
|
|
316
316
|
}, z.core.$strip>;
|
|
@@ -409,8 +409,8 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
409
409
|
device: z.ZodString;
|
|
410
410
|
}, z.core.$strip>;
|
|
411
411
|
phase: z.ZodEnum<{
|
|
412
|
-
idle: "idle";
|
|
413
412
|
active: "active";
|
|
413
|
+
idle: "idle";
|
|
414
414
|
watching: "watching";
|
|
415
415
|
}>;
|
|
416
416
|
configuredFps: z.ZodNumber;
|
|
@@ -420,10 +420,10 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
420
420
|
provisioning: z.ZodObject<{
|
|
421
421
|
state: z.ZodEnum<{
|
|
422
422
|
ready: "ready";
|
|
423
|
+
failed: "failed";
|
|
423
424
|
idle: "idle";
|
|
424
425
|
installing: "installing";
|
|
425
426
|
verifying: "verifying";
|
|
426
|
-
failed: "failed";
|
|
427
427
|
}>;
|
|
428
428
|
error: z.ZodOptional<z.ZodString>;
|
|
429
429
|
}, z.core.$strip>;
|
|
@@ -587,8 +587,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
587
587
|
agentNodeId: z.ZodString;
|
|
588
588
|
pinned: z.ZodBoolean;
|
|
589
589
|
reason: z.ZodEnum<{
|
|
590
|
-
manual: "manual";
|
|
591
590
|
capacity: "capacity";
|
|
591
|
+
manual: "manual";
|
|
592
592
|
"hardware-affinity": "hardware-affinity";
|
|
593
593
|
failover: "failover";
|
|
594
594
|
rebalance: "rebalance";
|
|
@@ -603,8 +603,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
603
603
|
agentNodeId: z.ZodString;
|
|
604
604
|
pinned: z.ZodBoolean;
|
|
605
605
|
reason: z.ZodEnum<{
|
|
606
|
-
manual: "manual";
|
|
607
606
|
capacity: "capacity";
|
|
607
|
+
manual: "manual";
|
|
608
608
|
"hardware-affinity": "hardware-affinity";
|
|
609
609
|
failover: "failover";
|
|
610
610
|
rebalance: "rebalance";
|
|
@@ -670,8 +670,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
670
670
|
avgInferenceTimeMs: z.ZodNumber;
|
|
671
671
|
droppedFrames: z.ZodNumber;
|
|
672
672
|
phase: z.ZodEnum<{
|
|
673
|
-
idle: "idle";
|
|
674
673
|
active: "active";
|
|
674
|
+
idle: "idle";
|
|
675
675
|
watching: "watching";
|
|
676
676
|
}>;
|
|
677
677
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -1139,8 +1139,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1139
1139
|
device: z.ZodString;
|
|
1140
1140
|
}, z.core.$strip>;
|
|
1141
1141
|
phase: z.ZodEnum<{
|
|
1142
|
-
idle: "idle";
|
|
1143
1142
|
active: "active";
|
|
1143
|
+
idle: "idle";
|
|
1144
1144
|
watching: "watching";
|
|
1145
1145
|
}>;
|
|
1146
1146
|
configuredFps: z.ZodNumber;
|
|
@@ -1150,10 +1150,10 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1150
1150
|
provisioning: z.ZodObject<{
|
|
1151
1151
|
state: z.ZodEnum<{
|
|
1152
1152
|
ready: "ready";
|
|
1153
|
+
failed: "failed";
|
|
1153
1154
|
idle: "idle";
|
|
1154
1155
|
installing: "installing";
|
|
1155
1156
|
verifying: "verifying";
|
|
1156
|
-
failed: "failed";
|
|
1157
1157
|
}>;
|
|
1158
1158
|
error: z.ZodOptional<z.ZodString>;
|
|
1159
1159
|
}, z.core.$strip>;
|
|
@@ -1249,8 +1249,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1249
1249
|
device: z.ZodString;
|
|
1250
1250
|
}, z.core.$strip>;
|
|
1251
1251
|
phase: z.ZodEnum<{
|
|
1252
|
-
idle: "idle";
|
|
1253
1252
|
active: "active";
|
|
1253
|
+
idle: "idle";
|
|
1254
1254
|
watching: "watching";
|
|
1255
1255
|
}>;
|
|
1256
1256
|
configuredFps: z.ZodNumber;
|
|
@@ -1260,10 +1260,10 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1260
1260
|
provisioning: z.ZodObject<{
|
|
1261
1261
|
state: z.ZodEnum<{
|
|
1262
1262
|
ready: "ready";
|
|
1263
|
+
failed: "failed";
|
|
1263
1264
|
idle: "idle";
|
|
1264
1265
|
installing: "installing";
|
|
1265
1266
|
verifying: "verifying";
|
|
1266
|
-
failed: "failed";
|
|
1267
1267
|
}>;
|
|
1268
1268
|
error: z.ZodOptional<z.ZodString>;
|
|
1269
1269
|
}, z.core.$strip>;
|
|
@@ -449,8 +449,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
449
449
|
avgInferenceTimeMs: z.ZodNumber;
|
|
450
450
|
droppedFrames: z.ZodNumber;
|
|
451
451
|
phase: z.ZodEnum<{
|
|
452
|
-
idle: "idle";
|
|
453
452
|
active: "active";
|
|
453
|
+
idle: "idle";
|
|
454
454
|
watching: "watching";
|
|
455
455
|
}>;
|
|
456
456
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -467,8 +467,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
467
467
|
avgInferenceTimeMs: z.ZodNumber;
|
|
468
468
|
droppedFrames: z.ZodNumber;
|
|
469
469
|
phase: z.ZodEnum<{
|
|
470
|
-
idle: "idle";
|
|
471
470
|
active: "active";
|
|
471
|
+
idle: "idle";
|
|
472
472
|
watching: "watching";
|
|
473
473
|
}>;
|
|
474
474
|
deviceId: z.ZodNumber;
|
|
@@ -41,8 +41,8 @@ export declare const ExportOptionsSchema: z.ZodObject<{
|
|
|
41
41
|
export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
42
42
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
43
43
|
ready: "ready";
|
|
44
|
-
failed: "failed";
|
|
45
44
|
queued: "queued";
|
|
45
|
+
failed: "failed";
|
|
46
46
|
deleted: "deleted";
|
|
47
47
|
rendering: "rendering";
|
|
48
48
|
expired: "expired";
|
|
@@ -68,8 +68,8 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
state: z.ZodEnum<{
|
|
70
70
|
ready: "ready";
|
|
71
|
-
failed: "failed";
|
|
72
71
|
queued: "queued";
|
|
72
|
+
failed: "failed";
|
|
73
73
|
deleted: "deleted";
|
|
74
74
|
rendering: "rendering";
|
|
75
75
|
expired: "expired";
|
|
@@ -132,8 +132,8 @@ export declare const recordingExportCapability: {
|
|
|
132
132
|
}, z.core.$strip>;
|
|
133
133
|
state: z.ZodEnum<{
|
|
134
134
|
ready: "ready";
|
|
135
|
-
failed: "failed";
|
|
136
135
|
queued: "queued";
|
|
136
|
+
failed: "failed";
|
|
137
137
|
deleted: "deleted";
|
|
138
138
|
rendering: "rendering";
|
|
139
139
|
expired: "expired";
|
|
@@ -169,8 +169,8 @@ export declare const recordingExportCapability: {
|
|
|
169
169
|
}, z.core.$strip>;
|
|
170
170
|
state: z.ZodEnum<{
|
|
171
171
|
ready: "ready";
|
|
172
|
-
failed: "failed";
|
|
173
172
|
queued: "queued";
|
|
173
|
+
failed: "failed";
|
|
174
174
|
deleted: "deleted";
|
|
175
175
|
rendering: "rendering";
|
|
176
176
|
expired: "expired";
|
|
@@ -205,8 +205,8 @@ export declare const recordingExportCapability: {
|
|
|
205
205
|
}, z.core.$strip>;
|
|
206
206
|
state: z.ZodEnum<{
|
|
207
207
|
ready: "ready";
|
|
208
|
-
failed: "failed";
|
|
209
208
|
queued: "queued";
|
|
209
|
+
failed: "failed";
|
|
210
210
|
deleted: "deleted";
|
|
211
211
|
rendering: "rendering";
|
|
212
212
|
expired: "expired";
|
|
@@ -242,8 +242,8 @@ export declare const recordingExportCapability: {
|
|
|
242
242
|
}, z.core.$strip>;
|
|
243
243
|
state: z.ZodEnum<{
|
|
244
244
|
ready: "ready";
|
|
245
|
-
failed: "failed";
|
|
246
245
|
queued: "queued";
|
|
246
|
+
failed: "failed";
|
|
247
247
|
deleted: "deleted";
|
|
248
248
|
rendering: "rendering";
|
|
249
249
|
expired: "expired";
|
|
@@ -279,8 +279,8 @@ export declare const recordingExportCapability: {
|
|
|
279
279
|
}, z.core.$strip>;
|
|
280
280
|
state: z.ZodEnum<{
|
|
281
281
|
ready: "ready";
|
|
282
|
-
failed: "failed";
|
|
283
282
|
queued: "queued";
|
|
283
|
+
failed: "failed";
|
|
284
284
|
deleted: "deleted";
|
|
285
285
|
rendering: "rendering";
|
|
286
286
|
expired: "expired";
|