@camstack/types 1.2.270 → 1.2.272
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/control.cap.d.ts +4 -4
- package/dist/capabilities/core-blocks.cap.d.ts +1 -1
- package/dist/capabilities/device-discovery.cap.d.ts +1 -1
- package/dist/capabilities/device-extension.cap.d.ts +8 -8
- package/dist/capabilities/device-manager.cap.d.ts +50 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/integrations.cap.d.ts +3 -3
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/motion.cap.d.ts +12 -0
- package/dist/capabilities/notification-rules.cap.d.ts +9 -9
- package/dist/capabilities/osd-manager.cap.d.ts +10 -10
- package/dist/capabilities/pet-feeder.cap.d.ts +4 -4
- package/dist/capabilities/pipeline-analytics.cap.d.ts +22 -10
- package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +156 -6
- package/dist/capabilities/pipeline-runner.cap.d.ts +9 -0
- package/dist/capabilities/recording-archive.cap.d.ts +4 -4
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording-onboard.cap.d.ts +5 -5
- package/dist/capabilities/recording.cap.d.ts +5 -5
- package/dist/capabilities/snapshot.cap.d.ts +2 -2
- package/dist/capabilities/storage-provider.cap.d.ts +11 -11
- package/dist/capabilities/storage.cap.d.ts +3 -3
- package/dist/capabilities/stream-broker.cap.d.ts +1 -1
- package/dist/capabilities/videoclips.cap.d.ts +3 -3
- package/dist/capabilities/zone-analytics.cap.d.ts +2 -2
- package/dist/composition/composition-report.d.ts +3 -3
- package/dist/{composition-D5BQywfe.mjs → composition-BK-GTFYb.mjs} +27 -3
- package/dist/{composition-BAH3n-zq.js → composition-BRxAnxtU.js} +27 -3
- package/dist/device/base-device-provider.d.ts +19 -1
- package/dist/device/device-context.d.ts +12 -0
- package/dist/expression/builtins.d.ts +18 -0
- package/dist/expression/expression-source.d.ts +2 -0
- package/dist/generated/addon-api.d.ts +7 -66
- 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 +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +299 -23
- package/dist/index.mjs +284 -24
- package/dist/interfaces/addon.d.ts +9 -0
- package/dist/interfaces/storage-location-mode.d.ts +1 -1
- package/dist/interfaces/storage-location.d.ts +1 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/pipeline/camera-sensors.d.ts +146 -0
- package/dist/{sleep-Bg0IB7gg.js → sleep-DYGSsCgK.js} +1 -0
- package/dist/{sleep-E6eD4yQS.mjs → sleep-DlrgY4Qb.mjs} +1 -0
- package/package.json +1 -1
|
@@ -86,8 +86,8 @@ export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
|
86
86
|
export type EventKindCategory = z.infer<typeof EventKindCategorySchema>;
|
|
87
87
|
/** Taxonomy level — macro (timeline lane) vs sub (events-page leaf). */
|
|
88
88
|
export declare const EventKindLevelSchema: z.ZodEnum<{
|
|
89
|
-
macro: "macro";
|
|
90
89
|
sub: "sub";
|
|
90
|
+
macro: "macro";
|
|
91
91
|
}>;
|
|
92
92
|
export type EventKindLevel = z.infer<typeof EventKindLevelSchema>;
|
|
93
93
|
declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
@@ -121,8 +121,8 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
121
121
|
}>;
|
|
122
122
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
123
123
|
level: z.ZodEnum<{
|
|
124
|
-
macro: "macro";
|
|
125
124
|
sub: "sub";
|
|
125
|
+
macro: "macro";
|
|
126
126
|
}>;
|
|
127
127
|
source: z.ZodObject<{
|
|
128
128
|
capName: z.ZodString;
|
|
@@ -164,8 +164,8 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
|
|
|
164
164
|
}>;
|
|
165
165
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
166
166
|
level: z.ZodEnum<{
|
|
167
|
-
macro: "macro";
|
|
168
167
|
sub: "sub";
|
|
168
|
+
macro: "macro";
|
|
169
169
|
}>;
|
|
170
170
|
source: z.ZodObject<{
|
|
171
171
|
capName: z.ZodString;
|
|
@@ -556,6 +556,12 @@ declare const MotionEventSchema: z.ZodObject<{
|
|
|
556
556
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
557
557
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
558
558
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
559
|
+
triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"camera">;
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
|
+
kind: z.ZodLiteral<"sensor">;
|
|
563
|
+
deviceId: z.ZodNumber;
|
|
564
|
+
}, z.core.$strip>], "kind">>;
|
|
559
565
|
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
560
566
|
edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
561
567
|
id: z.ZodNumber;
|
|
@@ -891,9 +897,9 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
891
897
|
sceneFrame: "sceneFrame";
|
|
892
898
|
lastSceneFrame: "lastSceneFrame";
|
|
893
899
|
}>;
|
|
900
|
+
url: z.ZodString;
|
|
894
901
|
mediaId: z.ZodNumber;
|
|
895
902
|
sizeBytes: z.ZodNumber;
|
|
896
|
-
url: z.ZodString;
|
|
897
903
|
}, z.core.$strip>;
|
|
898
904
|
export type MediaFileInfo = z.infer<typeof MediaFileInfoSchema>;
|
|
899
905
|
/**
|
|
@@ -1617,8 +1623,8 @@ export declare const EVENT_DENSITY_BATCH_MAX = 200;
|
|
|
1617
1623
|
export declare const EventDensityForDeviceSchema: z.ZodObject<{
|
|
1618
1624
|
deviceId: z.ZodNumber;
|
|
1619
1625
|
read: z.ZodEnum<{
|
|
1620
|
-
read: "read";
|
|
1621
1626
|
unreadable: "unreadable";
|
|
1627
|
+
read: "read";
|
|
1622
1628
|
}>;
|
|
1623
1629
|
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1624
1630
|
bucketStart: z.ZodNumber;
|
|
@@ -2547,6 +2553,12 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2547
2553
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
2548
2554
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2549
2555
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
2556
|
+
triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2557
|
+
kind: z.ZodLiteral<"camera">;
|
|
2558
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2559
|
+
kind: z.ZodLiteral<"sensor">;
|
|
2560
|
+
deviceId: z.ZodNumber;
|
|
2561
|
+
}, z.core.$strip>], "kind">>;
|
|
2550
2562
|
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2551
2563
|
edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
2552
2564
|
id: z.ZodNumber;
|
|
@@ -2701,8 +2713,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2701
2713
|
}>;
|
|
2702
2714
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
2703
2715
|
level: z.ZodEnum<{
|
|
2704
|
-
macro: "macro";
|
|
2705
2716
|
sub: "sub";
|
|
2717
|
+
macro: "macro";
|
|
2706
2718
|
}>;
|
|
2707
2719
|
source: z.ZodObject<{
|
|
2708
2720
|
capName: z.ZodString;
|
|
@@ -2762,8 +2774,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2762
2774
|
}>;
|
|
2763
2775
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
2764
2776
|
level: z.ZodEnum<{
|
|
2765
|
-
macro: "macro";
|
|
2766
2777
|
sub: "sub";
|
|
2778
|
+
macro: "macro";
|
|
2767
2779
|
}>;
|
|
2768
2780
|
source: z.ZodObject<{
|
|
2769
2781
|
capName: z.ZodString;
|
|
@@ -2973,8 +2985,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2973
2985
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2974
2986
|
deviceId: z.ZodNumber;
|
|
2975
2987
|
read: z.ZodEnum<{
|
|
2976
|
-
read: "read";
|
|
2977
2988
|
unreadable: "unreadable";
|
|
2989
|
+
read: "read";
|
|
2978
2990
|
}>;
|
|
2979
2991
|
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2980
2992
|
bucketStart: z.ZodNumber;
|
|
@@ -4210,9 +4222,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4210
4222
|
sceneFrame: "sceneFrame";
|
|
4211
4223
|
lastSceneFrame: "lastSceneFrame";
|
|
4212
4224
|
}>;
|
|
4225
|
+
url: z.ZodString;
|
|
4213
4226
|
mediaId: z.ZodNumber;
|
|
4214
4227
|
sizeBytes: z.ZodNumber;
|
|
4215
|
-
url: z.ZodString;
|
|
4216
4228
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
4217
4229
|
/**
|
|
4218
4230
|
* What media an EVENT has, without any of it — the twin `getEventMedia`
|
|
@@ -4260,9 +4272,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4260
4272
|
sceneFrame: "sceneFrame";
|
|
4261
4273
|
lastSceneFrame: "lastSceneFrame";
|
|
4262
4274
|
}>;
|
|
4275
|
+
url: z.ZodString;
|
|
4263
4276
|
mediaId: z.ZodNumber;
|
|
4264
4277
|
sizeBytes: z.ZodNumber;
|
|
4265
|
-
url: z.ZodString;
|
|
4266
4278
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
4267
4279
|
/**
|
|
4268
4280
|
* Which of `ownerIds` hold at least ONE media row — an INDEX read, never a
|
|
@@ -456,9 +456,9 @@ declare const EngineProvisioningSchema: z.ZodObject<{
|
|
|
456
456
|
state: z.ZodEnum<{
|
|
457
457
|
failed: "failed";
|
|
458
458
|
verifying: "verifying";
|
|
459
|
+
ready: "ready";
|
|
459
460
|
idle: "idle";
|
|
460
461
|
installing: "installing";
|
|
461
|
-
ready: "ready";
|
|
462
462
|
}>;
|
|
463
463
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
464
464
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -598,9 +598,9 @@ export declare const pipelineExecutorCapability: {
|
|
|
598
598
|
state: z.ZodEnum<{
|
|
599
599
|
failed: "failed";
|
|
600
600
|
verifying: "verifying";
|
|
601
|
+
ready: "ready";
|
|
601
602
|
idle: "idle";
|
|
602
603
|
installing: "installing";
|
|
603
|
-
ready: "ready";
|
|
604
604
|
}>;
|
|
605
605
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
606
606
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -256,18 +256,18 @@ declare const CameraMotionStatusSchema: z.ZodObject<{
|
|
|
256
256
|
declare const CameraDetectionProvisioningStateSchema: z.ZodEnum<{
|
|
257
257
|
failed: "failed";
|
|
258
258
|
verifying: "verifying";
|
|
259
|
+
ready: "ready";
|
|
259
260
|
idle: "idle";
|
|
260
261
|
installing: "installing";
|
|
261
|
-
ready: "ready";
|
|
262
262
|
}>;
|
|
263
263
|
/** Detection provisioning sub-block. */
|
|
264
264
|
declare const CameraDetectionProvisioningSchema: z.ZodObject<{
|
|
265
265
|
state: z.ZodEnum<{
|
|
266
266
|
failed: "failed";
|
|
267
267
|
verifying: "verifying";
|
|
268
|
+
ready: "ready";
|
|
268
269
|
idle: "idle";
|
|
269
270
|
installing: "installing";
|
|
270
|
-
ready: "ready";
|
|
271
271
|
}>;
|
|
272
272
|
error: z.ZodOptional<z.ZodString>;
|
|
273
273
|
}, z.core.$strip>;
|
|
@@ -297,9 +297,9 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
|
|
|
297
297
|
state: z.ZodEnum<{
|
|
298
298
|
failed: "failed";
|
|
299
299
|
verifying: "verifying";
|
|
300
|
+
ready: "ready";
|
|
300
301
|
idle: "idle";
|
|
301
302
|
installing: "installing";
|
|
302
|
-
ready: "ready";
|
|
303
303
|
}>;
|
|
304
304
|
error: z.ZodOptional<z.ZodString>;
|
|
305
305
|
}, z.core.$strip>;
|
|
@@ -478,9 +478,9 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
478
478
|
state: z.ZodEnum<{
|
|
479
479
|
failed: "failed";
|
|
480
480
|
verifying: "verifying";
|
|
481
|
+
ready: "ready";
|
|
481
482
|
idle: "idle";
|
|
482
483
|
installing: "installing";
|
|
483
|
-
ready: "ready";
|
|
484
484
|
}>;
|
|
485
485
|
error: z.ZodOptional<z.ZodString>;
|
|
486
486
|
}, z.core.$strip>;
|
|
@@ -510,6 +510,56 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
510
510
|
"broker-audio": "broker-audio";
|
|
511
511
|
"event-saving": "event-saving";
|
|
512
512
|
}>>>;
|
|
513
|
+
cameraSensors: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
514
|
+
state: z.ZodLiteral<"not-configured">;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
516
|
+
state: z.ZodLiteral<"unreadable">;
|
|
517
|
+
reason: z.ZodString;
|
|
518
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
519
|
+
state: z.ZodLiteral<"configured">;
|
|
520
|
+
mode: z.ZodEnum<{
|
|
521
|
+
"in-addition": "in-addition";
|
|
522
|
+
}>;
|
|
523
|
+
sensors: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
524
|
+
state: z.ZodLiteral<"ready">;
|
|
525
|
+
deviceId: z.ZodNumber;
|
|
526
|
+
name: z.ZodString;
|
|
527
|
+
caps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
528
|
+
addonId: z.ZodString;
|
|
529
|
+
stableId: z.ZodString;
|
|
530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
531
|
+
state: z.ZodLiteral<"offline">;
|
|
532
|
+
deviceId: z.ZodNumber;
|
|
533
|
+
name: z.ZodString;
|
|
534
|
+
reason: z.ZodEnum<{
|
|
535
|
+
offline: "offline";
|
|
536
|
+
disabled: "disabled";
|
|
537
|
+
}>;
|
|
538
|
+
addonId: z.ZodString;
|
|
539
|
+
stableId: z.ZodString;
|
|
540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
541
|
+
state: z.ZodLiteral<"missing">;
|
|
542
|
+
reason: z.ZodString;
|
|
543
|
+
addonId: z.ZodString;
|
|
544
|
+
stableId: z.ZodString;
|
|
545
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
546
|
+
state: z.ZodLiteral<"unsupported">;
|
|
547
|
+
deviceId: z.ZodNumber;
|
|
548
|
+
name: z.ZodString;
|
|
549
|
+
reason: z.ZodString;
|
|
550
|
+
addonId: z.ZodString;
|
|
551
|
+
stableId: z.ZodString;
|
|
552
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
553
|
+
state: z.ZodLiteral<"unreadable">;
|
|
554
|
+
reason: z.ZodString;
|
|
555
|
+
addonId: z.ZodString;
|
|
556
|
+
stableId: z.ZodString;
|
|
557
|
+
}, z.core.$strip>], "state">>>;
|
|
558
|
+
notForwarded: z.ZodOptional<z.ZodEnum<{
|
|
559
|
+
"onboard-not-listed": "onboard-not-listed";
|
|
560
|
+
"no-active-detection": "no-active-detection";
|
|
561
|
+
}>>;
|
|
562
|
+
}, z.core.$strip>], "state">>;
|
|
513
563
|
degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
514
564
|
stage: z.ZodEnum<{
|
|
515
565
|
recording: "recording";
|
|
@@ -1508,9 +1558,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1508
1558
|
state: z.ZodEnum<{
|
|
1509
1559
|
failed: "failed";
|
|
1510
1560
|
verifying: "verifying";
|
|
1561
|
+
ready: "ready";
|
|
1511
1562
|
idle: "idle";
|
|
1512
1563
|
installing: "installing";
|
|
1513
|
-
ready: "ready";
|
|
1514
1564
|
}>;
|
|
1515
1565
|
error: z.ZodOptional<z.ZodString>;
|
|
1516
1566
|
}, z.core.$strip>;
|
|
@@ -1540,6 +1590,56 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1540
1590
|
"broker-audio": "broker-audio";
|
|
1541
1591
|
"event-saving": "event-saving";
|
|
1542
1592
|
}>>>;
|
|
1593
|
+
cameraSensors: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1594
|
+
state: z.ZodLiteral<"not-configured">;
|
|
1595
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1596
|
+
state: z.ZodLiteral<"unreadable">;
|
|
1597
|
+
reason: z.ZodString;
|
|
1598
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1599
|
+
state: z.ZodLiteral<"configured">;
|
|
1600
|
+
mode: z.ZodEnum<{
|
|
1601
|
+
"in-addition": "in-addition";
|
|
1602
|
+
}>;
|
|
1603
|
+
sensors: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1604
|
+
state: z.ZodLiteral<"ready">;
|
|
1605
|
+
deviceId: z.ZodNumber;
|
|
1606
|
+
name: z.ZodString;
|
|
1607
|
+
caps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1608
|
+
addonId: z.ZodString;
|
|
1609
|
+
stableId: z.ZodString;
|
|
1610
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1611
|
+
state: z.ZodLiteral<"offline">;
|
|
1612
|
+
deviceId: z.ZodNumber;
|
|
1613
|
+
name: z.ZodString;
|
|
1614
|
+
reason: z.ZodEnum<{
|
|
1615
|
+
offline: "offline";
|
|
1616
|
+
disabled: "disabled";
|
|
1617
|
+
}>;
|
|
1618
|
+
addonId: z.ZodString;
|
|
1619
|
+
stableId: z.ZodString;
|
|
1620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1621
|
+
state: z.ZodLiteral<"missing">;
|
|
1622
|
+
reason: z.ZodString;
|
|
1623
|
+
addonId: z.ZodString;
|
|
1624
|
+
stableId: z.ZodString;
|
|
1625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1626
|
+
state: z.ZodLiteral<"unsupported">;
|
|
1627
|
+
deviceId: z.ZodNumber;
|
|
1628
|
+
name: z.ZodString;
|
|
1629
|
+
reason: z.ZodString;
|
|
1630
|
+
addonId: z.ZodString;
|
|
1631
|
+
stableId: z.ZodString;
|
|
1632
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1633
|
+
state: z.ZodLiteral<"unreadable">;
|
|
1634
|
+
reason: z.ZodString;
|
|
1635
|
+
addonId: z.ZodString;
|
|
1636
|
+
stableId: z.ZodString;
|
|
1637
|
+
}, z.core.$strip>], "state">>>;
|
|
1638
|
+
notForwarded: z.ZodOptional<z.ZodEnum<{
|
|
1639
|
+
"onboard-not-listed": "onboard-not-listed";
|
|
1640
|
+
"no-active-detection": "no-active-detection";
|
|
1641
|
+
}>>;
|
|
1642
|
+
}, z.core.$strip>], "state">>;
|
|
1543
1643
|
degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1544
1644
|
stage: z.ZodEnum<{
|
|
1545
1645
|
recording: "recording";
|
|
@@ -1645,9 +1745,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1645
1745
|
state: z.ZodEnum<{
|
|
1646
1746
|
failed: "failed";
|
|
1647
1747
|
verifying: "verifying";
|
|
1748
|
+
ready: "ready";
|
|
1648
1749
|
idle: "idle";
|
|
1649
1750
|
installing: "installing";
|
|
1650
|
-
ready: "ready";
|
|
1651
1751
|
}>;
|
|
1652
1752
|
error: z.ZodOptional<z.ZodString>;
|
|
1653
1753
|
}, z.core.$strip>;
|
|
@@ -1677,6 +1777,56 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1677
1777
|
"broker-audio": "broker-audio";
|
|
1678
1778
|
"event-saving": "event-saving";
|
|
1679
1779
|
}>>>;
|
|
1780
|
+
cameraSensors: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1781
|
+
state: z.ZodLiteral<"not-configured">;
|
|
1782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1783
|
+
state: z.ZodLiteral<"unreadable">;
|
|
1784
|
+
reason: z.ZodString;
|
|
1785
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1786
|
+
state: z.ZodLiteral<"configured">;
|
|
1787
|
+
mode: z.ZodEnum<{
|
|
1788
|
+
"in-addition": "in-addition";
|
|
1789
|
+
}>;
|
|
1790
|
+
sensors: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1791
|
+
state: z.ZodLiteral<"ready">;
|
|
1792
|
+
deviceId: z.ZodNumber;
|
|
1793
|
+
name: z.ZodString;
|
|
1794
|
+
caps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1795
|
+
addonId: z.ZodString;
|
|
1796
|
+
stableId: z.ZodString;
|
|
1797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1798
|
+
state: z.ZodLiteral<"offline">;
|
|
1799
|
+
deviceId: z.ZodNumber;
|
|
1800
|
+
name: z.ZodString;
|
|
1801
|
+
reason: z.ZodEnum<{
|
|
1802
|
+
offline: "offline";
|
|
1803
|
+
disabled: "disabled";
|
|
1804
|
+
}>;
|
|
1805
|
+
addonId: z.ZodString;
|
|
1806
|
+
stableId: z.ZodString;
|
|
1807
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1808
|
+
state: z.ZodLiteral<"missing">;
|
|
1809
|
+
reason: z.ZodString;
|
|
1810
|
+
addonId: z.ZodString;
|
|
1811
|
+
stableId: z.ZodString;
|
|
1812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1813
|
+
state: z.ZodLiteral<"unsupported">;
|
|
1814
|
+
deviceId: z.ZodNumber;
|
|
1815
|
+
name: z.ZodString;
|
|
1816
|
+
reason: z.ZodString;
|
|
1817
|
+
addonId: z.ZodString;
|
|
1818
|
+
stableId: z.ZodString;
|
|
1819
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1820
|
+
state: z.ZodLiteral<"unreadable">;
|
|
1821
|
+
reason: z.ZodString;
|
|
1822
|
+
addonId: z.ZodString;
|
|
1823
|
+
stableId: z.ZodString;
|
|
1824
|
+
}, z.core.$strip>], "state">>>;
|
|
1825
|
+
notForwarded: z.ZodOptional<z.ZodEnum<{
|
|
1826
|
+
"onboard-not-listed": "onboard-not-listed";
|
|
1827
|
+
"no-active-detection": "no-active-detection";
|
|
1828
|
+
}>>;
|
|
1829
|
+
}, z.core.$strip>], "state">>;
|
|
1680
1830
|
degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1681
1831
|
stage: z.ZodEnum<{
|
|
1682
1832
|
recording: "recording";
|
|
@@ -200,6 +200,15 @@ export declare const MotionSourcesSchema: z.ZodArray<z.ZodEnum<{
|
|
|
200
200
|
"device-activity": "device-activity";
|
|
201
201
|
}>>;
|
|
202
202
|
export type MotionSources = z.infer<typeof MotionSourcesSchema>;
|
|
203
|
+
/**
|
|
204
|
+
* The operator-facing name of each MOTION source (D672: `onboard` = the
|
|
205
|
+
* camera's sensors — its own motion plus any sensor attached to it). The wire
|
|
206
|
+
* value stays `onboard`; only the label changed. `detectionSources: 'onboard'`
|
|
207
|
+
* ("Camera onboard AI") and the notification source filter keep their labels.
|
|
208
|
+
*/
|
|
209
|
+
export declare const MOTION_SOURCE_LABELS: Readonly<Record<MotionSource, string>>;
|
|
210
|
+
/** A value this build does not know (a newer node's) is shown as itself. */
|
|
211
|
+
export declare function motionSourceLabel(value: string): string;
|
|
203
212
|
/**
|
|
204
213
|
* Which root detector a camera runs — EXACTLY ONE.
|
|
205
214
|
*
|
|
@@ -95,8 +95,8 @@ export declare const RECORDING_TIMELINE_BATCH_MAX = 200;
|
|
|
95
95
|
export declare const RecordingAvailabilityForDeviceSchema: z.ZodObject<{
|
|
96
96
|
deviceId: z.ZodNumber;
|
|
97
97
|
read: z.ZodEnum<{
|
|
98
|
-
read: "read";
|
|
99
98
|
unreadable: "unreadable";
|
|
99
|
+
read: "read";
|
|
100
100
|
}>;
|
|
101
101
|
ranges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
102
102
|
profile: z.ZodString;
|
|
@@ -115,8 +115,8 @@ export type RecordingAvailabilityForDevice = z.infer<typeof RecordingAvailabilit
|
|
|
115
115
|
export declare const RecordingDaysForDeviceSchema: z.ZodObject<{
|
|
116
116
|
deviceId: z.ZodNumber;
|
|
117
117
|
read: z.ZodEnum<{
|
|
118
|
-
read: "read";
|
|
119
118
|
unreadable: "unreadable";
|
|
119
|
+
read: "read";
|
|
120
120
|
}>;
|
|
121
121
|
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
122
122
|
}, z.core.$strip>;
|
|
@@ -423,8 +423,8 @@ export declare const recordingArchiveCapability: {
|
|
|
423
423
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
424
424
|
deviceId: z.ZodNumber;
|
|
425
425
|
read: z.ZodEnum<{
|
|
426
|
-
read: "read";
|
|
427
426
|
unreadable: "unreadable";
|
|
427
|
+
read: "read";
|
|
428
428
|
}>;
|
|
429
429
|
ranges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
430
430
|
profile: z.ZodString;
|
|
@@ -454,8 +454,8 @@ export declare const recordingArchiveCapability: {
|
|
|
454
454
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
455
455
|
deviceId: z.ZodNumber;
|
|
456
456
|
read: z.ZodEnum<{
|
|
457
|
-
read: "read";
|
|
458
457
|
unreadable: "unreadable";
|
|
458
|
+
read: "read";
|
|
459
459
|
}>;
|
|
460
460
|
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
461
461
|
}, z.core.$strip>>>, "query">;
|
|
@@ -107,8 +107,8 @@ export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
|
107
107
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
108
108
|
queued: "queued";
|
|
109
109
|
failed: "failed";
|
|
110
|
-
deleted: "deleted";
|
|
111
110
|
ready: "ready";
|
|
111
|
+
deleted: "deleted";
|
|
112
112
|
rendering: "rendering";
|
|
113
113
|
expired: "expired";
|
|
114
114
|
}>;
|
|
@@ -285,8 +285,8 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
285
285
|
state: z.ZodEnum<{
|
|
286
286
|
queued: "queued";
|
|
287
287
|
failed: "failed";
|
|
288
|
-
deleted: "deleted";
|
|
289
288
|
ready: "ready";
|
|
289
|
+
deleted: "deleted";
|
|
290
290
|
rendering: "rendering";
|
|
291
291
|
expired: "expired";
|
|
292
292
|
}>;
|
|
@@ -612,8 +612,8 @@ export declare const recordingExportCapability: {
|
|
|
612
612
|
state: z.ZodEnum<{
|
|
613
613
|
queued: "queued";
|
|
614
614
|
failed: "failed";
|
|
615
|
-
deleted: "deleted";
|
|
616
615
|
ready: "ready";
|
|
616
|
+
deleted: "deleted";
|
|
617
617
|
rendering: "rendering";
|
|
618
618
|
expired: "expired";
|
|
619
619
|
}>;
|
|
@@ -683,8 +683,8 @@ export declare const recordingExportCapability: {
|
|
|
683
683
|
state: z.ZodEnum<{
|
|
684
684
|
queued: "queued";
|
|
685
685
|
failed: "failed";
|
|
686
|
-
deleted: "deleted";
|
|
687
686
|
ready: "ready";
|
|
687
|
+
deleted: "deleted";
|
|
688
688
|
rendering: "rendering";
|
|
689
689
|
expired: "expired";
|
|
690
690
|
}>;
|
|
@@ -753,8 +753,8 @@ export declare const recordingExportCapability: {
|
|
|
753
753
|
state: z.ZodEnum<{
|
|
754
754
|
queued: "queued";
|
|
755
755
|
failed: "failed";
|
|
756
|
-
deleted: "deleted";
|
|
757
756
|
ready: "ready";
|
|
757
|
+
deleted: "deleted";
|
|
758
758
|
rendering: "rendering";
|
|
759
759
|
expired: "expired";
|
|
760
760
|
}>;
|
|
@@ -824,8 +824,8 @@ export declare const recordingExportCapability: {
|
|
|
824
824
|
state: z.ZodEnum<{
|
|
825
825
|
queued: "queued";
|
|
826
826
|
failed: "failed";
|
|
827
|
-
deleted: "deleted";
|
|
828
827
|
ready: "ready";
|
|
828
|
+
deleted: "deleted";
|
|
829
829
|
rendering: "rendering";
|
|
830
830
|
expired: "expired";
|
|
831
831
|
}>;
|
|
@@ -895,8 +895,8 @@ export declare const recordingExportCapability: {
|
|
|
895
895
|
state: z.ZodEnum<{
|
|
896
896
|
queued: "queued";
|
|
897
897
|
failed: "failed";
|
|
898
|
-
deleted: "deleted";
|
|
899
898
|
ready: "ready";
|
|
899
|
+
deleted: "deleted";
|
|
900
900
|
rendering: "rendering";
|
|
901
901
|
expired: "expired";
|
|
902
902
|
}>;
|
|
@@ -110,8 +110,8 @@ export declare const OnboardStorageVolumeSchema: z.ZodObject<{
|
|
|
110
110
|
status: z.ZodEnum<{
|
|
111
111
|
unknown: "unknown";
|
|
112
112
|
error: "error";
|
|
113
|
-
ok: "ok";
|
|
114
113
|
offline: "offline";
|
|
114
|
+
ok: "ok";
|
|
115
115
|
unformatted: "unformatted";
|
|
116
116
|
}>;
|
|
117
117
|
capacityMb: z.ZodNullable<z.ZodNumber>;
|
|
@@ -134,8 +134,8 @@ export declare const OnboardStorageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
134
134
|
status: z.ZodEnum<{
|
|
135
135
|
unknown: "unknown";
|
|
136
136
|
error: "error";
|
|
137
|
-
ok: "ok";
|
|
138
137
|
offline: "offline";
|
|
138
|
+
ok: "ok";
|
|
139
139
|
unformatted: "unformatted";
|
|
140
140
|
}>;
|
|
141
141
|
capacityMb: z.ZodNullable<z.ZodNumber>;
|
|
@@ -186,8 +186,8 @@ export declare const RecordingOnboardStatusSchema: z.ZodObject<{
|
|
|
186
186
|
status: z.ZodEnum<{
|
|
187
187
|
unknown: "unknown";
|
|
188
188
|
error: "error";
|
|
189
|
-
ok: "ok";
|
|
190
189
|
offline: "offline";
|
|
190
|
+
ok: "ok";
|
|
191
191
|
unformatted: "unformatted";
|
|
192
192
|
}>;
|
|
193
193
|
capacityMb: z.ZodNullable<z.ZodNumber>;
|
|
@@ -579,8 +579,8 @@ export declare const recordingOnboardCapability: {
|
|
|
579
579
|
status: z.ZodEnum<{
|
|
580
580
|
unknown: "unknown";
|
|
581
581
|
error: "error";
|
|
582
|
-
ok: "ok";
|
|
583
582
|
offline: "offline";
|
|
583
|
+
ok: "ok";
|
|
584
584
|
unformatted: "unformatted";
|
|
585
585
|
}>;
|
|
586
586
|
capacityMb: z.ZodNullable<z.ZodNumber>;
|
|
@@ -639,8 +639,8 @@ export declare const recordingOnboardCapability: {
|
|
|
639
639
|
status: z.ZodEnum<{
|
|
640
640
|
unknown: "unknown";
|
|
641
641
|
error: "error";
|
|
642
|
-
ok: "ok";
|
|
643
642
|
offline: "offline";
|
|
643
|
+
ok: "ok";
|
|
644
644
|
unformatted: "unformatted";
|
|
645
645
|
}>;
|
|
646
646
|
capacityMb: z.ZodNullable<z.ZodNumber>;
|
|
@@ -82,15 +82,15 @@ export declare const RecordingRangeSchema: z.ZodObject<{
|
|
|
82
82
|
* a fleet of cameras that appear to have lost their recordings (D315, D393).
|
|
83
83
|
*/
|
|
84
84
|
export declare const RecordingReadSchema: z.ZodEnum<{
|
|
85
|
-
read: "read";
|
|
86
85
|
unreadable: "unreadable";
|
|
86
|
+
read: "read";
|
|
87
87
|
}>;
|
|
88
88
|
export type RecordingRead = z.infer<typeof RecordingReadSchema>;
|
|
89
89
|
export declare const RecordingAvailabilitySchema: z.ZodObject<{
|
|
90
90
|
deviceId: z.ZodNumber;
|
|
91
91
|
read: z.ZodEnum<{
|
|
92
|
-
read: "read";
|
|
93
92
|
unreadable: "unreadable";
|
|
93
|
+
read: "read";
|
|
94
94
|
}>;
|
|
95
95
|
ranges: z.ZodArray<z.ZodObject<{
|
|
96
96
|
profile: z.ZodString;
|
|
@@ -103,8 +103,8 @@ export type RecordingAvailability = z.infer<typeof RecordingAvailabilitySchema>;
|
|
|
103
103
|
export declare const RecordingDaysSchema: z.ZodObject<{
|
|
104
104
|
deviceId: z.ZodNumber;
|
|
105
105
|
read: z.ZodEnum<{
|
|
106
|
-
read: "read";
|
|
107
106
|
unreadable: "unreadable";
|
|
107
|
+
read: "read";
|
|
108
108
|
}>;
|
|
109
109
|
days: z.ZodArray<z.ZodNumber>;
|
|
110
110
|
}, z.core.$strip>;
|
|
@@ -273,8 +273,8 @@ export declare const recordingCapability: {
|
|
|
273
273
|
}, z.core.$strip>, z.ZodObject<{
|
|
274
274
|
deviceId: z.ZodNumber;
|
|
275
275
|
read: z.ZodEnum<{
|
|
276
|
-
read: "read";
|
|
277
276
|
unreadable: "unreadable";
|
|
277
|
+
read: "read";
|
|
278
278
|
}>;
|
|
279
279
|
ranges: z.ZodArray<z.ZodObject<{
|
|
280
280
|
profile: z.ZodString;
|
|
@@ -296,8 +296,8 @@ export declare const recordingCapability: {
|
|
|
296
296
|
}, z.core.$strip>, z.ZodObject<{
|
|
297
297
|
deviceId: z.ZodNumber;
|
|
298
298
|
read: z.ZodEnum<{
|
|
299
|
-
read: "read";
|
|
300
299
|
unreadable: "unreadable";
|
|
300
|
+
read: "read";
|
|
301
301
|
}>;
|
|
302
302
|
days: z.ZodArray<z.ZodNumber>;
|
|
303
303
|
}, z.core.$strip>, "query">;
|
|
@@ -101,10 +101,10 @@ export declare const snapshotCapability: {
|
|
|
101
101
|
state: z.ZodObject<{
|
|
102
102
|
isBattery: z.ZodBoolean;
|
|
103
103
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
104
|
+
offline: "offline";
|
|
104
105
|
disabled: "disabled";
|
|
105
106
|
sleeping: "sleeping";
|
|
106
107
|
unreachable: "unreachable";
|
|
107
|
-
offline: "offline";
|
|
108
108
|
waking: "waking";
|
|
109
109
|
}>>;
|
|
110
110
|
}, z.core.$strip>;
|
|
@@ -174,10 +174,10 @@ export declare const snapshotCapability: {
|
|
|
174
174
|
neverCaptured: z.ZodBoolean;
|
|
175
175
|
sleeping: z.ZodBoolean;
|
|
176
176
|
stateReason: z.ZodNullable<z.ZodEnum<{
|
|
177
|
+
offline: "offline";
|
|
177
178
|
disabled: "disabled";
|
|
178
179
|
sleeping: "sleeping";
|
|
179
180
|
unreachable: "unreachable";
|
|
180
|
-
offline: "offline";
|
|
181
181
|
waking: "waking";
|
|
182
182
|
}>>;
|
|
183
183
|
battery: z.ZodBoolean;
|