@camstack/types 1.2.271 → 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/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/index.d.ts +1 -1
- 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/index.d.ts +1 -0
- package/dist/index.js +176 -15
- package/dist/index.mjs +162 -16
- package/dist/interfaces/storage-location-mode.d.ts +1 -1
- package/dist/interfaces/storage-location.d.ts +1 -1
- package/dist/pipeline/camera-sensors.d.ts +146 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -31,9 +31,9 @@ declare const BeginUploadInputSchema: z.ZodObject<{
|
|
|
31
31
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
32
32
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
33
33
|
readonly: "readonly";
|
|
34
|
+
disabled: "disabled";
|
|
34
35
|
active: "active";
|
|
35
36
|
drain: "drain";
|
|
36
|
-
disabled: "disabled";
|
|
37
37
|
}>>;
|
|
38
38
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
totalBytes: z.ZodNumber;
|
|
@@ -75,9 +75,9 @@ declare const BeginDownloadInputSchema: z.ZodObject<{
|
|
|
75
75
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
77
77
|
readonly: "readonly";
|
|
78
|
+
disabled: "disabled";
|
|
78
79
|
active: "active";
|
|
79
80
|
drain: "drain";
|
|
80
|
-
disabled: "disabled";
|
|
81
81
|
}>>;
|
|
82
82
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
83
|
totalBytes: z.ZodNumber;
|
|
@@ -180,9 +180,9 @@ export declare const storageProviderCapability: {
|
|
|
180
180
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
181
181
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
182
182
|
readonly: "readonly";
|
|
183
|
+
disabled: "disabled";
|
|
183
184
|
active: "active";
|
|
184
185
|
drain: "drain";
|
|
185
|
-
disabled: "disabled";
|
|
186
186
|
}>>;
|
|
187
187
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
188
188
|
totalBytes: z.ZodNumber;
|
|
@@ -209,9 +209,9 @@ export declare const storageProviderCapability: {
|
|
|
209
209
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
210
210
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
211
211
|
readonly: "readonly";
|
|
212
|
+
disabled: "disabled";
|
|
212
213
|
active: "active";
|
|
213
214
|
drain: "drain";
|
|
214
|
-
disabled: "disabled";
|
|
215
215
|
}>>;
|
|
216
216
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
217
217
|
totalBytes: z.ZodNumber;
|
|
@@ -239,9 +239,9 @@ export declare const storageProviderCapability: {
|
|
|
239
239
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
240
240
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
241
241
|
readonly: "readonly";
|
|
242
|
+
disabled: "disabled";
|
|
242
243
|
active: "active";
|
|
243
244
|
drain: "drain";
|
|
244
|
-
disabled: "disabled";
|
|
245
245
|
}>>;
|
|
246
246
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
247
247
|
totalBytes: z.ZodNumber;
|
|
@@ -268,9 +268,9 @@ export declare const storageProviderCapability: {
|
|
|
268
268
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
269
269
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
270
270
|
readonly: "readonly";
|
|
271
|
+
disabled: "disabled";
|
|
271
272
|
active: "active";
|
|
272
273
|
drain: "drain";
|
|
273
|
-
disabled: "disabled";
|
|
274
274
|
}>>;
|
|
275
275
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
276
276
|
totalBytes: z.ZodNumber;
|
|
@@ -297,9 +297,9 @@ export declare const storageProviderCapability: {
|
|
|
297
297
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
298
298
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
299
299
|
readonly: "readonly";
|
|
300
|
+
disabled: "disabled";
|
|
300
301
|
active: "active";
|
|
301
302
|
drain: "drain";
|
|
302
|
-
disabled: "disabled";
|
|
303
303
|
}>>;
|
|
304
304
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
305
305
|
totalBytes: z.ZodNumber;
|
|
@@ -326,9 +326,9 @@ export declare const storageProviderCapability: {
|
|
|
326
326
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
327
327
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
328
328
|
readonly: "readonly";
|
|
329
|
+
disabled: "disabled";
|
|
329
330
|
active: "active";
|
|
330
331
|
drain: "drain";
|
|
331
|
-
disabled: "disabled";
|
|
332
332
|
}>>;
|
|
333
333
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
334
334
|
totalBytes: z.ZodNumber;
|
|
@@ -355,9 +355,9 @@ export declare const storageProviderCapability: {
|
|
|
355
355
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
356
356
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
357
357
|
readonly: "readonly";
|
|
358
|
+
disabled: "disabled";
|
|
358
359
|
active: "active";
|
|
359
360
|
drain: "drain";
|
|
360
|
-
disabled: "disabled";
|
|
361
361
|
}>>;
|
|
362
362
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
363
363
|
totalBytes: z.ZodNumber;
|
|
@@ -383,9 +383,9 @@ export declare const storageProviderCapability: {
|
|
|
383
383
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
384
384
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
385
385
|
readonly: "readonly";
|
|
386
|
+
disabled: "disabled";
|
|
386
387
|
active: "active";
|
|
387
388
|
drain: "drain";
|
|
388
|
-
disabled: "disabled";
|
|
389
389
|
}>>;
|
|
390
390
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
391
391
|
totalBytes: z.ZodNumber;
|
|
@@ -426,9 +426,9 @@ export declare const storageProviderCapability: {
|
|
|
426
426
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
427
427
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
428
428
|
readonly: "readonly";
|
|
429
|
+
disabled: "disabled";
|
|
429
430
|
active: "active";
|
|
430
431
|
drain: "drain";
|
|
431
|
-
disabled: "disabled";
|
|
432
432
|
}>>;
|
|
433
433
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
434
434
|
totalBytes: z.ZodNumber;
|
|
@@ -98,9 +98,9 @@ export declare const storageCapability: {
|
|
|
98
98
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
99
99
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
100
100
|
readonly: "readonly";
|
|
101
|
+
disabled: "disabled";
|
|
101
102
|
active: "active";
|
|
102
103
|
drain: "drain";
|
|
103
|
-
disabled: "disabled";
|
|
104
104
|
}>>;
|
|
105
105
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
106
106
|
totalBytes: z.ZodNumber;
|
|
@@ -138,9 +138,9 @@ export declare const storageCapability: {
|
|
|
138
138
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
139
139
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
140
140
|
readonly: "readonly";
|
|
141
|
+
disabled: "disabled";
|
|
141
142
|
active: "active";
|
|
142
143
|
drain: "drain";
|
|
143
|
-
disabled: "disabled";
|
|
144
144
|
}>>;
|
|
145
145
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
146
146
|
displayName: z.ZodString;
|
|
@@ -166,9 +166,9 @@ export declare const storageCapability: {
|
|
|
166
166
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
167
167
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
168
168
|
readonly: "readonly";
|
|
169
|
+
disabled: "disabled";
|
|
169
170
|
active: "active";
|
|
170
171
|
drain: "drain";
|
|
171
|
-
disabled: "disabled";
|
|
172
172
|
}>>;
|
|
173
173
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
174
174
|
totalBytes: z.ZodNumber;
|
|
@@ -294,10 +294,10 @@ export type BrokerDecodedClient = z.infer<typeof BrokerDecodedClientSchema>;
|
|
|
294
294
|
export type BrokerAudioClient = z.infer<typeof BrokerAudioClientSchema>;
|
|
295
295
|
export type BrokerClients = z.infer<typeof BrokerClientsSchema>;
|
|
296
296
|
export declare const PlaceholderReasonSchema: z.ZodEnum<{
|
|
297
|
+
offline: "offline";
|
|
297
298
|
disabled: "disabled";
|
|
298
299
|
sleeping: "sleeping";
|
|
299
300
|
reconnecting: "reconnecting";
|
|
300
|
-
offline: "offline";
|
|
301
301
|
waking: "waking";
|
|
302
302
|
}>;
|
|
303
303
|
export type PlaceholderReason = z.infer<typeof PlaceholderReasonSchema>;
|
|
@@ -61,9 +61,9 @@ export declare const MAX_CLIP_LABELS = 3;
|
|
|
61
61
|
* rendered as `Refused: <prose>`.
|
|
62
62
|
*/
|
|
63
63
|
export declare const ClipStillRefusalCodeSchema: z.ZodEnum<{
|
|
64
|
+
unsupported: "unsupported";
|
|
64
65
|
"unknown-device": "unknown-device";
|
|
65
66
|
sleeping: "sleeping";
|
|
66
|
-
unsupported: "unsupported";
|
|
67
67
|
"camera-refused": "camera-refused";
|
|
68
68
|
"no-keyframe": "no-keyframe";
|
|
69
69
|
"queue-full": "queue-full";
|
|
@@ -155,8 +155,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
155
155
|
thumbnailMint: z.ZodOptional<z.ZodString>;
|
|
156
156
|
thumbnailUnavailable: z.ZodOptional<z.ZodObject<{
|
|
157
157
|
reason: z.ZodEnum<{
|
|
158
|
-
sleeping: "sleeping";
|
|
159
158
|
unsupported: "unsupported";
|
|
159
|
+
sleeping: "sleeping";
|
|
160
160
|
"camera-refused": "camera-refused";
|
|
161
161
|
"no-keyframe": "no-keyframe";
|
|
162
162
|
}>;
|
|
@@ -627,8 +627,8 @@ export declare const videoclipsCapability: {
|
|
|
627
627
|
thumbnailMint: z.ZodOptional<z.ZodString>;
|
|
628
628
|
thumbnailUnavailable: z.ZodOptional<z.ZodObject<{
|
|
629
629
|
reason: z.ZodEnum<{
|
|
630
|
-
sleeping: "sleeping";
|
|
631
630
|
unsupported: "unsupported";
|
|
631
|
+
sleeping: "sleeping";
|
|
632
632
|
"camera-refused": "camera-refused";
|
|
633
633
|
"no-keyframe": "no-keyframe";
|
|
634
634
|
}>;
|