@camstack/types 1.2.108 → 1.2.110
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/addons.cap.d.ts +9 -9
- package/dist/capabilities/broker.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/cap-router-predicates.d.ts +38 -1
- package/dist/capabilities/capability-definition.d.ts +15 -2
- package/dist/capabilities/climate-control.cap.d.ts +8 -8
- package/dist/capabilities/core-blocks.cap.d.ts +16 -16
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/decoder.cap.d.ts +13 -13
- package/dist/capabilities/device-manager.cap.d.ts +5 -5
- 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 +1 -1
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/media-player.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +3 -3
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/notification-output.cap.d.ts +9 -9
- package/dist/capabilities/notification-rules.cap.d.ts +10 -10
- package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
- package/dist/capabilities/osd-manager.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-analytics.cap.d.ts +96 -54
- package/dist/capabilities/pipeline-executor.cap.d.ts +67 -19
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +21 -21
- package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
- package/dist/capabilities/platform-probe.cap.d.ts +2 -2
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording.cap.d.ts +7 -7
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +2 -2
- package/dist/capabilities/schemas/streaming-shared.d.ts +11 -11
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +4 -4
- package/dist/capabilities/storage.cap.d.ts +2 -2
- package/dist/capabilities/stream-broker.cap.d.ts +50 -50
- package/dist/capabilities/user-management.cap.d.ts +20 -20
- package/dist/capabilities/vacuum-control.cap.d.ts +26 -26
- package/dist/capabilities/webrtc-session.cap.d.ts +4 -4
- package/dist/generated/addon-api.d.ts +29 -8
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.js +109 -5
- package/dist/index.mjs +108 -5
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/relocate.d.ts +10 -10
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/lifecycle/job.d.ts +8 -8
- package/dist/{sleep-OOwhyQIx.js → sleep-DnbNfEhn.js} +4 -1
- package/dist/{sleep-DCBRhx0s.mjs → sleep-swxwnJmL.mjs} +4 -1
- package/dist/types/frame-view.d.ts +10 -24
- package/dist/types/labels.d.ts +30 -1
- package/dist/types/models.d.ts +4 -4
- package/package.json +1 -1
|
@@ -265,27 +265,27 @@ declare const CameraMotionStatusSchema: z.ZodObject<{
|
|
|
265
265
|
}, z.core.$strip>;
|
|
266
266
|
/** Detection engine provisioning state (mirrors pipeline-executor provisioning states). */
|
|
267
267
|
declare const CameraDetectionProvisioningStateSchema: z.ZodEnum<{
|
|
268
|
-
ready: "ready";
|
|
269
|
-
failed: "failed";
|
|
270
268
|
idle: "idle";
|
|
271
269
|
installing: "installing";
|
|
272
270
|
verifying: "verifying";
|
|
271
|
+
ready: "ready";
|
|
272
|
+
failed: "failed";
|
|
273
273
|
}>;
|
|
274
274
|
/** Detection provisioning sub-block. */
|
|
275
275
|
declare const CameraDetectionProvisioningSchema: z.ZodObject<{
|
|
276
276
|
state: z.ZodEnum<{
|
|
277
|
-
ready: "ready";
|
|
278
|
-
failed: "failed";
|
|
279
277
|
idle: "idle";
|
|
280
278
|
installing: "installing";
|
|
281
279
|
verifying: "verifying";
|
|
280
|
+
ready: "ready";
|
|
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
|
-
active: "active";
|
|
288
287
|
idle: "idle";
|
|
288
|
+
active: "active";
|
|
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
|
-
active: "active";
|
|
300
299
|
idle: "idle";
|
|
300
|
+
active: "active";
|
|
301
301
|
watching: "watching";
|
|
302
302
|
}>;
|
|
303
303
|
configuredFps: z.ZodNumber;
|
|
@@ -306,11 +306,11 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
|
|
|
306
306
|
avgInferenceMs: z.ZodNumber;
|
|
307
307
|
provisioning: z.ZodObject<{
|
|
308
308
|
state: z.ZodEnum<{
|
|
309
|
-
ready: "ready";
|
|
310
|
-
failed: "failed";
|
|
311
309
|
idle: "idle";
|
|
312
310
|
installing: "installing";
|
|
313
311
|
verifying: "verifying";
|
|
312
|
+
ready: "ready";
|
|
313
|
+
failed: "failed";
|
|
314
314
|
}>;
|
|
315
315
|
error: z.ZodOptional<z.ZodString>;
|
|
316
316
|
}, z.core.$strip>;
|
|
@@ -394,9 +394,9 @@ declare const CameraStatusDegradationSchema: z.ZodObject<{
|
|
|
394
394
|
declare const DiskReconcileJobSchema: z.ZodObject<{
|
|
395
395
|
state: z.ZodEnum<{
|
|
396
396
|
error: "error";
|
|
397
|
+
idle: "idle";
|
|
397
398
|
running: "running";
|
|
398
399
|
done: "done";
|
|
399
|
-
idle: "idle";
|
|
400
400
|
}>;
|
|
401
401
|
total: z.ZodNumber;
|
|
402
402
|
completed: z.ZodNumber;
|
|
@@ -473,8 +473,8 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
473
473
|
device: z.ZodString;
|
|
474
474
|
}, z.core.$strip>;
|
|
475
475
|
phase: z.ZodEnum<{
|
|
476
|
-
active: "active";
|
|
477
476
|
idle: "idle";
|
|
477
|
+
active: "active";
|
|
478
478
|
watching: "watching";
|
|
479
479
|
}>;
|
|
480
480
|
configuredFps: z.ZodNumber;
|
|
@@ -483,11 +483,11 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
483
483
|
avgInferenceMs: z.ZodNumber;
|
|
484
484
|
provisioning: z.ZodObject<{
|
|
485
485
|
state: z.ZodEnum<{
|
|
486
|
-
ready: "ready";
|
|
487
|
-
failed: "failed";
|
|
488
486
|
idle: "idle";
|
|
489
487
|
installing: "installing";
|
|
490
488
|
verifying: "verifying";
|
|
489
|
+
ready: "ready";
|
|
490
|
+
failed: "failed";
|
|
491
491
|
}>;
|
|
492
492
|
error: z.ZodOptional<z.ZodString>;
|
|
493
493
|
}, z.core.$strip>;
|
|
@@ -801,8 +801,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
801
801
|
avgInferenceTimeMs: z.ZodNumber;
|
|
802
802
|
droppedFrames: z.ZodNumber;
|
|
803
803
|
phase: z.ZodEnum<{
|
|
804
|
-
active: "active";
|
|
805
804
|
idle: "idle";
|
|
805
|
+
active: "active";
|
|
806
806
|
watching: "watching";
|
|
807
807
|
}>;
|
|
808
808
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -1423,8 +1423,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1423
1423
|
device: z.ZodString;
|
|
1424
1424
|
}, z.core.$strip>;
|
|
1425
1425
|
phase: z.ZodEnum<{
|
|
1426
|
-
active: "active";
|
|
1427
1426
|
idle: "idle";
|
|
1427
|
+
active: "active";
|
|
1428
1428
|
watching: "watching";
|
|
1429
1429
|
}>;
|
|
1430
1430
|
configuredFps: z.ZodNumber;
|
|
@@ -1433,11 +1433,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1433
1433
|
avgInferenceMs: z.ZodNumber;
|
|
1434
1434
|
provisioning: z.ZodObject<{
|
|
1435
1435
|
state: z.ZodEnum<{
|
|
1436
|
-
ready: "ready";
|
|
1437
|
-
failed: "failed";
|
|
1438
1436
|
idle: "idle";
|
|
1439
1437
|
installing: "installing";
|
|
1440
1438
|
verifying: "verifying";
|
|
1439
|
+
ready: "ready";
|
|
1440
|
+
failed: "failed";
|
|
1441
1441
|
}>;
|
|
1442
1442
|
error: z.ZodOptional<z.ZodString>;
|
|
1443
1443
|
}, z.core.$strip>;
|
|
@@ -1558,8 +1558,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1558
1558
|
device: z.ZodString;
|
|
1559
1559
|
}, z.core.$strip>;
|
|
1560
1560
|
phase: z.ZodEnum<{
|
|
1561
|
-
active: "active";
|
|
1562
1561
|
idle: "idle";
|
|
1562
|
+
active: "active";
|
|
1563
1563
|
watching: "watching";
|
|
1564
1564
|
}>;
|
|
1565
1565
|
configuredFps: z.ZodNumber;
|
|
@@ -1568,11 +1568,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1568
1568
|
avgInferenceMs: z.ZodNumber;
|
|
1569
1569
|
provisioning: z.ZodObject<{
|
|
1570
1570
|
state: z.ZodEnum<{
|
|
1571
|
-
ready: "ready";
|
|
1572
|
-
failed: "failed";
|
|
1573
1571
|
idle: "idle";
|
|
1574
1572
|
installing: "installing";
|
|
1575
1573
|
verifying: "verifying";
|
|
1574
|
+
ready: "ready";
|
|
1575
|
+
failed: "failed";
|
|
1576
1576
|
}>;
|
|
1577
1577
|
error: z.ZodOptional<z.ZodString>;
|
|
1578
1578
|
}, z.core.$strip>;
|
|
@@ -1626,9 +1626,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1626
1626
|
readonly reconcileFromDisk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1627
1627
|
state: z.ZodEnum<{
|
|
1628
1628
|
error: "error";
|
|
1629
|
+
idle: "idle";
|
|
1629
1630
|
running: "running";
|
|
1630
1631
|
done: "done";
|
|
1631
|
-
idle: "idle";
|
|
1632
1632
|
}>;
|
|
1633
1633
|
total: z.ZodNumber;
|
|
1634
1634
|
completed: z.ZodNumber;
|
|
@@ -1645,9 +1645,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1645
1645
|
readonly getReconcileFromDiskStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1646
1646
|
state: z.ZodEnum<{
|
|
1647
1647
|
error: "error";
|
|
1648
|
+
idle: "idle";
|
|
1648
1649
|
running: "running";
|
|
1649
1650
|
done: "done";
|
|
1650
|
-
idle: "idle";
|
|
1651
1651
|
}>;
|
|
1652
1652
|
total: z.ZodNumber;
|
|
1653
1653
|
completed: z.ZodNumber;
|
|
@@ -653,8 +653,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
653
653
|
avgInferenceTimeMs: z.ZodNumber;
|
|
654
654
|
droppedFrames: z.ZodNumber;
|
|
655
655
|
phase: z.ZodEnum<{
|
|
656
|
-
active: "active";
|
|
657
656
|
idle: "idle";
|
|
657
|
+
active: "active";
|
|
658
658
|
watching: "watching";
|
|
659
659
|
}>;
|
|
660
660
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -671,8 +671,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
671
671
|
avgInferenceTimeMs: z.ZodNumber;
|
|
672
672
|
droppedFrames: z.ZodNumber;
|
|
673
673
|
phase: z.ZodEnum<{
|
|
674
|
-
active: "active";
|
|
675
674
|
idle: "idle";
|
|
675
|
+
active: "active";
|
|
676
676
|
watching: "watching";
|
|
677
677
|
}>;
|
|
678
678
|
deviceId: z.ZodNumber;
|
|
@@ -702,11 +702,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
702
702
|
width: z.ZodNumber;
|
|
703
703
|
height: z.ZodNumber;
|
|
704
704
|
format: z.ZodEnum<{
|
|
705
|
-
rgb: "rgb";
|
|
706
|
-
gray: "gray";
|
|
707
705
|
jpeg: "jpeg";
|
|
706
|
+
rgb: "rgb";
|
|
708
707
|
bgr: "bgr";
|
|
709
708
|
yuv420: "yuv420";
|
|
709
|
+
gray: "gray";
|
|
710
710
|
}>;
|
|
711
711
|
pts: z.ZodNumber;
|
|
712
712
|
byteLength: z.ZodNumber;
|
|
@@ -770,11 +770,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
770
770
|
width: z.ZodNumber;
|
|
771
771
|
height: z.ZodNumber;
|
|
772
772
|
format: z.ZodEnum<{
|
|
773
|
-
rgb: "rgb";
|
|
774
|
-
gray: "gray";
|
|
775
773
|
jpeg: "jpeg";
|
|
774
|
+
rgb: "rgb";
|
|
776
775
|
bgr: "bgr";
|
|
777
776
|
yuv420: "yuv420";
|
|
777
|
+
gray: "gray";
|
|
778
778
|
}>;
|
|
779
779
|
pts: z.ZodNumber;
|
|
780
780
|
byteLength: z.ZodNumber;
|
|
@@ -276,12 +276,12 @@ export declare const platformProbeCapability: {
|
|
|
276
276
|
prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
277
277
|
coreml: "coreml";
|
|
278
278
|
openvino: "openvino";
|
|
279
|
+
tensorrt: "tensorrt";
|
|
280
|
+
cuda: "cuda";
|
|
279
281
|
none: "none";
|
|
280
282
|
videotoolbox: "videotoolbox";
|
|
281
283
|
vaapi: "vaapi";
|
|
282
284
|
qsv: "qsv";
|
|
283
|
-
cuda: "cuda";
|
|
284
|
-
tensorrt: "tensorrt";
|
|
285
285
|
nvdec: "nvdec";
|
|
286
286
|
d3d11va: "d3d11va";
|
|
287
287
|
dxva2: "dxva2";
|
|
@@ -106,8 +106,8 @@ export declare const ExportOptionsSchema: z.ZodObject<{
|
|
|
106
106
|
export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
107
107
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
108
108
|
ready: "ready";
|
|
109
|
-
queued: "queued";
|
|
110
109
|
failed: "failed";
|
|
110
|
+
queued: "queued";
|
|
111
111
|
deleted: "deleted";
|
|
112
112
|
rendering: "rendering";
|
|
113
113
|
expired: "expired";
|
|
@@ -141,8 +141,8 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
state: z.ZodEnum<{
|
|
143
143
|
ready: "ready";
|
|
144
|
-
queued: "queued";
|
|
145
144
|
failed: "failed";
|
|
145
|
+
queued: "queued";
|
|
146
146
|
deleted: "deleted";
|
|
147
147
|
rendering: "rendering";
|
|
148
148
|
expired: "expired";
|
|
@@ -298,8 +298,8 @@ export declare const recordingExportCapability: {
|
|
|
298
298
|
}, z.core.$strip>;
|
|
299
299
|
state: z.ZodEnum<{
|
|
300
300
|
ready: "ready";
|
|
301
|
-
queued: "queued";
|
|
302
301
|
failed: "failed";
|
|
302
|
+
queued: "queued";
|
|
303
303
|
deleted: "deleted";
|
|
304
304
|
rendering: "rendering";
|
|
305
305
|
expired: "expired";
|
|
@@ -343,8 +343,8 @@ export declare const recordingExportCapability: {
|
|
|
343
343
|
}, z.core.$strip>;
|
|
344
344
|
state: z.ZodEnum<{
|
|
345
345
|
ready: "ready";
|
|
346
|
-
queued: "queued";
|
|
347
346
|
failed: "failed";
|
|
347
|
+
queued: "queued";
|
|
348
348
|
deleted: "deleted";
|
|
349
349
|
rendering: "rendering";
|
|
350
350
|
expired: "expired";
|
|
@@ -387,8 +387,8 @@ export declare const recordingExportCapability: {
|
|
|
387
387
|
}, z.core.$strip>;
|
|
388
388
|
state: z.ZodEnum<{
|
|
389
389
|
ready: "ready";
|
|
390
|
-
queued: "queued";
|
|
391
390
|
failed: "failed";
|
|
391
|
+
queued: "queued";
|
|
392
392
|
deleted: "deleted";
|
|
393
393
|
rendering: "rendering";
|
|
394
394
|
expired: "expired";
|
|
@@ -432,8 +432,8 @@ export declare const recordingExportCapability: {
|
|
|
432
432
|
}, z.core.$strip>;
|
|
433
433
|
state: z.ZodEnum<{
|
|
434
434
|
ready: "ready";
|
|
435
|
-
queued: "queued";
|
|
436
435
|
failed: "failed";
|
|
436
|
+
queued: "queued";
|
|
437
437
|
deleted: "deleted";
|
|
438
438
|
rendering: "rendering";
|
|
439
439
|
expired: "expired";
|
|
@@ -477,8 +477,8 @@ export declare const recordingExportCapability: {
|
|
|
477
477
|
}, z.core.$strip>;
|
|
478
478
|
state: z.ZodEnum<{
|
|
479
479
|
ready: "ready";
|
|
480
|
-
queued: "queued";
|
|
481
480
|
failed: "failed";
|
|
481
|
+
queued: "queued";
|
|
482
482
|
deleted: "deleted";
|
|
483
483
|
rendering: "rendering";
|
|
484
484
|
expired: "expired";
|
|
@@ -112,8 +112,8 @@ export type RecordingRebalanceMove = z.infer<typeof RecordingRebalanceMoveSchema
|
|
|
112
112
|
* reported: a rebalance that silently drops a camera reads exactly like one
|
|
113
113
|
* that had nothing to do. */
|
|
114
114
|
export declare const RecordingRebalanceSkipReasonSchema: z.ZodEnum<{
|
|
115
|
-
"below-threshold": "below-threshold";
|
|
116
115
|
unassigned: "unassigned";
|
|
116
|
+
"below-threshold": "below-threshold";
|
|
117
117
|
"target-not-writable": "target-not-writable";
|
|
118
118
|
"no-headroom": "no-headroom";
|
|
119
119
|
}>;
|
|
@@ -125,8 +125,8 @@ export declare const RecordingRebalanceSkipSchema: z.ZodObject<{
|
|
|
125
125
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
126
126
|
bytes: z.ZodNumber;
|
|
127
127
|
reason: z.ZodEnum<{
|
|
128
|
-
"below-threshold": "below-threshold";
|
|
129
128
|
unassigned: "unassigned";
|
|
129
|
+
"below-threshold": "below-threshold";
|
|
130
130
|
"target-not-writable": "target-not-writable";
|
|
131
131
|
"no-headroom": "no-headroom";
|
|
132
132
|
}>;
|
|
@@ -148,8 +148,8 @@ export declare const RecordingRebalancePlanSchema: z.ZodObject<{
|
|
|
148
148
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
149
149
|
bytes: z.ZodNumber;
|
|
150
150
|
reason: z.ZodEnum<{
|
|
151
|
-
"below-threshold": "below-threshold";
|
|
152
151
|
unassigned: "unassigned";
|
|
152
|
+
"below-threshold": "below-threshold";
|
|
153
153
|
"target-not-writable": "target-not-writable";
|
|
154
154
|
"no-headroom": "no-headroom";
|
|
155
155
|
}>;
|
|
@@ -586,10 +586,10 @@ export declare const recordingCapability: {
|
|
|
586
586
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
587
587
|
jobId: z.ZodString;
|
|
588
588
|
state: z.ZodEnum<{
|
|
589
|
+
failed: "failed";
|
|
589
590
|
running: "running";
|
|
590
591
|
queued: "queued";
|
|
591
592
|
done: "done";
|
|
592
|
-
failed: "failed";
|
|
593
593
|
cancelled: "cancelled";
|
|
594
594
|
}>;
|
|
595
595
|
fromLocationId: z.ZodString;
|
|
@@ -635,10 +635,10 @@ export declare const recordingCapability: {
|
|
|
635
635
|
readonly listRelocateJobs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
636
636
|
jobId: z.ZodString;
|
|
637
637
|
state: z.ZodEnum<{
|
|
638
|
+
failed: "failed";
|
|
638
639
|
running: "running";
|
|
639
640
|
queued: "queued";
|
|
640
641
|
done: "done";
|
|
641
|
-
failed: "failed";
|
|
642
642
|
cancelled: "cancelled";
|
|
643
643
|
}>;
|
|
644
644
|
fromLocationId: z.ZodString;
|
|
@@ -678,8 +678,8 @@ export declare const recordingCapability: {
|
|
|
678
678
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
679
679
|
bytes: z.ZodNumber;
|
|
680
680
|
reason: z.ZodEnum<{
|
|
681
|
-
"below-threshold": "below-threshold";
|
|
682
681
|
unassigned: "unassigned";
|
|
682
|
+
"below-threshold": "below-threshold";
|
|
683
683
|
"target-not-writable": "target-not-writable";
|
|
684
684
|
"no-headroom": "no-headroom";
|
|
685
685
|
}>;
|
|
@@ -707,8 +707,8 @@ export declare const recordingCapability: {
|
|
|
707
707
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
708
708
|
bytes: z.ZodNumber;
|
|
709
709
|
reason: z.ZodEnum<{
|
|
710
|
-
"below-threshold": "below-threshold";
|
|
711
710
|
unassigned: "unassigned";
|
|
711
|
+
"below-threshold": "below-threshold";
|
|
712
712
|
"target-not-writable": "target-not-writable";
|
|
713
713
|
"no-headroom": "no-headroom";
|
|
714
714
|
}>;
|
|
@@ -8,20 +8,20 @@ import { z } from 'zod';
|
|
|
8
8
|
* `FrameFormat` type alias together.
|
|
9
9
|
*/
|
|
10
10
|
export declare const FrameFormatSchema: z.ZodEnum<{
|
|
11
|
-
rgb: "rgb";
|
|
12
|
-
gray: "gray";
|
|
13
11
|
jpeg: "jpeg";
|
|
12
|
+
rgb: "rgb";
|
|
14
13
|
bgr: "bgr";
|
|
15
14
|
yuv420: "yuv420";
|
|
15
|
+
gray: "gray";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const FrameInputSchema: z.ZodObject<{
|
|
18
18
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
19
19
|
format: z.ZodEnum<{
|
|
20
|
-
rgb: "rgb";
|
|
21
|
-
gray: "gray";
|
|
22
20
|
jpeg: "jpeg";
|
|
21
|
+
rgb: "rgb";
|
|
23
22
|
bgr: "bgr";
|
|
24
23
|
yuv420: "yuv420";
|
|
24
|
+
gray: "gray";
|
|
25
25
|
}>;
|
|
26
26
|
width: z.ZodNumber;
|
|
27
27
|
height: z.ZodNumber;
|
|
@@ -18,8 +18,8 @@ export declare const CameraMetricsSchema: z.ZodObject<{
|
|
|
18
18
|
avgInferenceTimeMs: z.ZodNumber;
|
|
19
19
|
droppedFrames: z.ZodNumber;
|
|
20
20
|
phase: z.ZodEnum<{
|
|
21
|
-
active: "active";
|
|
22
21
|
idle: "idle";
|
|
22
|
+
active: "active";
|
|
23
23
|
watching: "watching";
|
|
24
24
|
}>;
|
|
25
25
|
}, z.core.$strip>;
|
|
@@ -35,8 +35,8 @@ export declare const CameraMetricsWithDeviceIdSchema: z.ZodObject<{
|
|
|
35
35
|
avgInferenceTimeMs: z.ZodNumber;
|
|
36
36
|
droppedFrames: z.ZodNumber;
|
|
37
37
|
phase: z.ZodEnum<{
|
|
38
|
-
active: "active";
|
|
39
38
|
idle: "idle";
|
|
39
|
+
active: "active";
|
|
40
40
|
watching: "watching";
|
|
41
41
|
}>;
|
|
42
42
|
deviceId: z.ZodNumber;
|
|
@@ -49,9 +49,9 @@ export declare const CameraStreamSchema: z.ZodObject<{
|
|
|
49
49
|
export type CameraStream = z.infer<typeof CameraStreamSchema>;
|
|
50
50
|
export declare const ProfileSlotStatusSchema: z.ZodEnum<{
|
|
51
51
|
error: "error";
|
|
52
|
-
connecting: "connecting";
|
|
53
52
|
unassigned: "unassigned";
|
|
54
53
|
idle: "idle";
|
|
54
|
+
connecting: "connecting";
|
|
55
55
|
streaming: "streaming";
|
|
56
56
|
}>;
|
|
57
57
|
export type ProfileSlotStatus = z.infer<typeof ProfileSlotStatusSchema>;
|
|
@@ -66,9 +66,9 @@ export declare const ProfileSlotSchema: z.ZodObject<{
|
|
|
66
66
|
sourceCamStreamId: z.ZodNullable<z.ZodString>;
|
|
67
67
|
status: z.ZodEnum<{
|
|
68
68
|
error: "error";
|
|
69
|
-
connecting: "connecting";
|
|
70
69
|
unassigned: "unassigned";
|
|
71
70
|
idle: "idle";
|
|
71
|
+
connecting: "connecting";
|
|
72
72
|
streaming: "streaming";
|
|
73
73
|
}>;
|
|
74
74
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
@@ -151,8 +151,8 @@ export declare const StreamSourceSchema: z.ZodObject<{
|
|
|
151
151
|
}, z.core.$strip>;
|
|
152
152
|
export declare const EncodedPacketSchema: z.ZodObject<{
|
|
153
153
|
type: z.ZodEnum<{
|
|
154
|
-
audio: "audio";
|
|
155
154
|
video: "video";
|
|
155
|
+
audio: "audio";
|
|
156
156
|
}>;
|
|
157
157
|
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
158
158
|
pts: z.ZodNumber;
|
|
@@ -165,11 +165,11 @@ export declare const DecodedFrameSchema: z.ZodObject<{
|
|
|
165
165
|
width: z.ZodNumber;
|
|
166
166
|
height: z.ZodNumber;
|
|
167
167
|
format: z.ZodEnum<{
|
|
168
|
-
rgb: "rgb";
|
|
169
|
-
gray: "gray";
|
|
170
168
|
jpeg: "jpeg";
|
|
169
|
+
rgb: "rgb";
|
|
171
170
|
bgr: "bgr";
|
|
172
171
|
yuv420: "yuv420";
|
|
172
|
+
gray: "gray";
|
|
173
173
|
}>;
|
|
174
174
|
timestamp: z.ZodNumber;
|
|
175
175
|
}, z.core.$strip>;
|
|
@@ -191,11 +191,11 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
191
191
|
width: z.ZodNumber;
|
|
192
192
|
height: z.ZodNumber;
|
|
193
193
|
format: z.ZodEnum<{
|
|
194
|
-
rgb: "rgb";
|
|
195
|
-
gray: "gray";
|
|
196
194
|
jpeg: "jpeg";
|
|
195
|
+
rgb: "rgb";
|
|
197
196
|
bgr: "bgr";
|
|
198
197
|
yuv420: "yuv420";
|
|
198
|
+
gray: "gray";
|
|
199
199
|
}>;
|
|
200
200
|
pts: z.ZodNumber;
|
|
201
201
|
byteLength: z.ZodNumber;
|
|
@@ -211,9 +211,9 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
211
211
|
*/
|
|
212
212
|
export declare const FrameHandleFormatSchema: z.ZodEnum<{
|
|
213
213
|
rgb: "rgb";
|
|
214
|
-
gray: "gray";
|
|
215
214
|
bgr: "bgr";
|
|
216
215
|
yuv420: "yuv420";
|
|
216
|
+
gray: "gray";
|
|
217
217
|
}>;
|
|
218
218
|
export type FrameHandleFormat = z.infer<typeof FrameHandleFormatSchema>;
|
|
219
219
|
/**
|
|
@@ -227,9 +227,9 @@ export declare const SubscribeFramesInputSchema: z.ZodObject<{
|
|
|
227
227
|
brokerId: z.ZodString;
|
|
228
228
|
format: z.ZodEnum<{
|
|
229
229
|
rgb: "rgb";
|
|
230
|
-
gray: "gray";
|
|
231
230
|
bgr: "bgr";
|
|
232
231
|
yuv420: "yuv420";
|
|
232
|
+
gray: "gray";
|
|
233
233
|
}>;
|
|
234
234
|
maxFps: z.ZodOptional<z.ZodNumber>;
|
|
235
235
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -282,16 +282,16 @@ export declare const SubscribeAudioChunksResultSchema: z.ZodObject<{
|
|
|
282
282
|
export type SubscribeAudioChunksResult = z.infer<typeof SubscribeAudioChunksResultSchema>;
|
|
283
283
|
export declare const BrokerStatusSchema: z.ZodEnum<{
|
|
284
284
|
error: "error";
|
|
285
|
-
connecting: "connecting";
|
|
286
285
|
idle: "idle";
|
|
286
|
+
connecting: "connecting";
|
|
287
287
|
streaming: "streaming";
|
|
288
288
|
stopped: "stopped";
|
|
289
289
|
}>;
|
|
290
290
|
export declare const BrokerStatsSchema: z.ZodObject<{
|
|
291
291
|
status: z.ZodEnum<{
|
|
292
292
|
error: "error";
|
|
293
|
-
connecting: "connecting";
|
|
294
293
|
idle: "idle";
|
|
294
|
+
connecting: "connecting";
|
|
295
295
|
streaming: "streaming";
|
|
296
296
|
stopped: "stopped";
|
|
297
297
|
}>;
|
|
@@ -58,7 +58,7 @@ declare const SsoBridgeClaimsSchema: z.ZodObject<{
|
|
|
58
58
|
ids: z.ZodArray<z.ZodNumber>;
|
|
59
59
|
}, z.core.$strip>, z.ZodObject<{
|
|
60
60
|
kind: z.ZodLiteral<"types">;
|
|
61
|
-
types: z.ZodArray<z.ZodEnum<typeof import("../
|
|
61
|
+
types: z.ZodArray<z.ZodEnum<typeof import("../index.js").DeviceType>>;
|
|
62
62
|
}, z.core.$strip>, z.ZodObject<{
|
|
63
63
|
kind: z.ZodLiteral<"locations">;
|
|
64
64
|
locations: z.ZodArray<z.ZodString>;
|
|
@@ -142,7 +142,7 @@ export declare const ssoBridgeCapability: {
|
|
|
142
142
|
ids: z.ZodArray<z.ZodNumber>;
|
|
143
143
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
144
|
kind: z.ZodLiteral<"types">;
|
|
145
|
-
types: z.ZodArray<z.ZodEnum<typeof import("../
|
|
145
|
+
types: z.ZodArray<z.ZodEnum<typeof import("../index.js").DeviceType>>;
|
|
146
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
147
|
kind: z.ZodLiteral<"locations">;
|
|
148
148
|
locations: z.ZodArray<z.ZodString>;
|
|
@@ -211,7 +211,7 @@ export declare const ssoBridgeCapability: {
|
|
|
211
211
|
ids: z.ZodArray<z.ZodNumber>;
|
|
212
212
|
}, z.core.$strip>, z.ZodObject<{
|
|
213
213
|
kind: z.ZodLiteral<"types">;
|
|
214
|
-
types: z.ZodArray<z.ZodEnum<typeof import("../
|
|
214
|
+
types: z.ZodArray<z.ZodEnum<typeof import("../index.js").DeviceType>>;
|
|
215
215
|
}, z.core.$strip>, z.ZodObject<{
|
|
216
216
|
kind: z.ZodLiteral<"locations">;
|
|
217
217
|
locations: z.ZodArray<z.ZodString>;
|
|
@@ -48,11 +48,11 @@ export declare const storageMigrationCapability: {
|
|
|
48
48
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
49
49
|
jobId: z.ZodString;
|
|
50
50
|
phase: z.ZodEnum<{
|
|
51
|
-
done: "done";
|
|
52
|
-
failed: "failed";
|
|
53
|
-
cancelled: "cancelled";
|
|
54
51
|
moving: "moving";
|
|
55
52
|
verifying: "verifying";
|
|
53
|
+
failed: "failed";
|
|
54
|
+
done: "done";
|
|
55
|
+
cancelled: "cancelled";
|
|
56
56
|
planning: "planning";
|
|
57
57
|
pausing: "pausing";
|
|
58
58
|
repointing: "repointing";
|
|
@@ -75,10 +75,10 @@ export declare const storageMigrationCapability: {
|
|
|
75
75
|
toLocationId: z.ZodString;
|
|
76
76
|
moverJobId: z.ZodNullable<z.ZodString>;
|
|
77
77
|
state: z.ZodNullable<z.ZodEnum<{
|
|
78
|
+
failed: "failed";
|
|
78
79
|
running: "running";
|
|
79
80
|
queued: "queued";
|
|
80
81
|
done: "done";
|
|
81
|
-
failed: "failed";
|
|
82
82
|
cancelled: "cancelled";
|
|
83
83
|
}>>;
|
|
84
84
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -141,13 +141,13 @@ export declare const storageCapability: {
|
|
|
141
141
|
readonly upsertLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
142
142
|
id: z.ZodString;
|
|
143
143
|
type: z.ZodString;
|
|
144
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
145
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
144
146
|
displayName: z.ZodString;
|
|
145
147
|
providerId: z.ZodString;
|
|
146
148
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
147
|
-
nodeId: z.ZodOptional<z.ZodString>;
|
|
148
149
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
149
150
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
150
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
151
151
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
152
152
|
totalBytes: z.ZodNumber;
|
|
153
153
|
availableBytes: z.ZodNumber;
|