@camstack/types 1.2.189 → 1.2.191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -1
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/native-object-detection.cap.d.ts +68 -0
- package/dist/capabilities/notification-rules.cap.d.ts +14 -14
- package/dist/capabilities/osd-manager.cap.d.ts +10 -10
- package/dist/capabilities/pipeline-analytics.cap.d.ts +35 -35
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-runner.cap.d.ts +23 -3
- package/dist/capabilities/recording.cap.d.ts +2 -2
- package/dist/capabilities/server-management.cap.d.ts +3 -3
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.js +131 -10
- package/dist/index.mjs +128 -11
- package/dist/interfaces/event-bus.d.ts +18 -0
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/interfaces/pipeline-runner-capability.d.ts +7 -0
- package/dist/interfaces/stream-broker.d.ts +5 -0
- package/dist/{sleep-D7dV-FZB.js → sleep-B8nfmQ8a.js} +2 -0
- package/dist/{sleep-DEuj7E3j.mjs → sleep-BEyvfshj.mjs} +2 -0
- package/package.json +1 -1
|
@@ -69,9 +69,9 @@ export declare const EventKindIconSchema: z.ZodEnum<{
|
|
|
69
69
|
audio: "audio";
|
|
70
70
|
motion: "motion";
|
|
71
71
|
smoke: "smoke";
|
|
72
|
-
water: "water";
|
|
73
72
|
door: "door";
|
|
74
73
|
pir: "pir";
|
|
74
|
+
water: "water";
|
|
75
75
|
}>;
|
|
76
76
|
export type EventKindIcon = z.infer<typeof EventKindIconSchema>;
|
|
77
77
|
export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
@@ -106,9 +106,9 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
106
106
|
audio: "audio";
|
|
107
107
|
motion: "motion";
|
|
108
108
|
smoke: "smoke";
|
|
109
|
-
water: "water";
|
|
110
109
|
door: "door";
|
|
111
110
|
pir: "pir";
|
|
111
|
+
water: "water";
|
|
112
112
|
}>;
|
|
113
113
|
category: z.ZodEnum<{
|
|
114
114
|
sensor: "sensor";
|
|
@@ -149,9 +149,9 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
|
|
|
149
149
|
audio: "audio";
|
|
150
150
|
motion: "motion";
|
|
151
151
|
smoke: "smoke";
|
|
152
|
-
water: "water";
|
|
153
152
|
door: "door";
|
|
154
153
|
pir: "pir";
|
|
154
|
+
water: "water";
|
|
155
155
|
}>;
|
|
156
156
|
category: z.ZodEnum<{
|
|
157
157
|
sensor: "sensor";
|
|
@@ -701,7 +701,6 @@ export type AudioEventDraft = Omit<AudioEvent, 'id'>;
|
|
|
701
701
|
declare const MediaFileKindEnum: z.ZodEnum<{
|
|
702
702
|
crop: "crop";
|
|
703
703
|
snapshot: "snapshot";
|
|
704
|
-
keyFrame: "keyFrame";
|
|
705
704
|
thumbnail: "thumbnail";
|
|
706
705
|
firstFrame: "firstFrame";
|
|
707
706
|
lastFrame: "lastFrame";
|
|
@@ -709,6 +708,7 @@ declare const MediaFileKindEnum: z.ZodEnum<{
|
|
|
709
708
|
fullFrameBoxed: "fullFrameBoxed";
|
|
710
709
|
faceCrop: "faceCrop";
|
|
711
710
|
plateCrop: "plateCrop";
|
|
711
|
+
keyFrame: "keyFrame";
|
|
712
712
|
keyFrameSmall: "keyFrameSmall";
|
|
713
713
|
thumbnailSmall: "thumbnailSmall";
|
|
714
714
|
sceneFrame: "sceneFrame";
|
|
@@ -728,7 +728,6 @@ declare const MediaFileRefSchema: z.ZodObject<{
|
|
|
728
728
|
kind: z.ZodEnum<{
|
|
729
729
|
crop: "crop";
|
|
730
730
|
snapshot: "snapshot";
|
|
731
|
-
keyFrame: "keyFrame";
|
|
732
731
|
thumbnail: "thumbnail";
|
|
733
732
|
firstFrame: "firstFrame";
|
|
734
733
|
lastFrame: "lastFrame";
|
|
@@ -736,6 +735,7 @@ declare const MediaFileRefSchema: z.ZodObject<{
|
|
|
736
735
|
fullFrameBoxed: "fullFrameBoxed";
|
|
737
736
|
faceCrop: "faceCrop";
|
|
738
737
|
plateCrop: "plateCrop";
|
|
738
|
+
keyFrame: "keyFrame";
|
|
739
739
|
keyFrameSmall: "keyFrameSmall";
|
|
740
740
|
thumbnailSmall: "thumbnailSmall";
|
|
741
741
|
sceneFrame: "sceneFrame";
|
|
@@ -802,7 +802,6 @@ declare const MediaFileSchema: z.ZodObject<{
|
|
|
802
802
|
kind: z.ZodEnum<{
|
|
803
803
|
crop: "crop";
|
|
804
804
|
snapshot: "snapshot";
|
|
805
|
-
keyFrame: "keyFrame";
|
|
806
805
|
thumbnail: "thumbnail";
|
|
807
806
|
firstFrame: "firstFrame";
|
|
808
807
|
lastFrame: "lastFrame";
|
|
@@ -810,6 +809,7 @@ declare const MediaFileSchema: z.ZodObject<{
|
|
|
810
809
|
fullFrameBoxed: "fullFrameBoxed";
|
|
811
810
|
faceCrop: "faceCrop";
|
|
812
811
|
plateCrop: "plateCrop";
|
|
812
|
+
keyFrame: "keyFrame";
|
|
813
813
|
keyFrameSmall: "keyFrameSmall";
|
|
814
814
|
thumbnailSmall: "thumbnailSmall";
|
|
815
815
|
sceneFrame: "sceneFrame";
|
|
@@ -839,7 +839,6 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
839
839
|
kind: z.ZodEnum<{
|
|
840
840
|
crop: "crop";
|
|
841
841
|
snapshot: "snapshot";
|
|
842
|
-
keyFrame: "keyFrame";
|
|
843
842
|
thumbnail: "thumbnail";
|
|
844
843
|
firstFrame: "firstFrame";
|
|
845
844
|
lastFrame: "lastFrame";
|
|
@@ -847,6 +846,7 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
847
846
|
fullFrameBoxed: "fullFrameBoxed";
|
|
848
847
|
faceCrop: "faceCrop";
|
|
849
848
|
plateCrop: "plateCrop";
|
|
849
|
+
keyFrame: "keyFrame";
|
|
850
850
|
keyFrameSmall: "keyFrameSmall";
|
|
851
851
|
thumbnailSmall: "thumbnailSmall";
|
|
852
852
|
sceneFrame: "sceneFrame";
|
|
@@ -948,6 +948,7 @@ export declare const RetrainAnnotationDraftSchema: z.ZodObject<{
|
|
|
948
948
|
operator: "operator";
|
|
949
949
|
assist: "assist";
|
|
950
950
|
}>;
|
|
951
|
+
subLabel: z.ZodOptional<z.ZodString>;
|
|
951
952
|
macroClass: z.ZodEnum<{
|
|
952
953
|
person: "person";
|
|
953
954
|
vehicle: "vehicle";
|
|
@@ -956,7 +957,6 @@ export declare const RetrainAnnotationDraftSchema: z.ZodObject<{
|
|
|
956
957
|
face: "face";
|
|
957
958
|
plate: "plate";
|
|
958
959
|
}>;
|
|
959
|
-
subLabel: z.ZodOptional<z.ZodString>;
|
|
960
960
|
assistModelId: z.ZodOptional<z.ZodString>;
|
|
961
961
|
assistScore: z.ZodOptional<z.ZodNumber>;
|
|
962
962
|
}, z.core.$strip>;
|
|
@@ -979,7 +979,6 @@ export declare const RetrainFrameCandidateSchema: z.ZodObject<{
|
|
|
979
979
|
kind: z.ZodEnum<{
|
|
980
980
|
crop: "crop";
|
|
981
981
|
snapshot: "snapshot";
|
|
982
|
-
keyFrame: "keyFrame";
|
|
983
982
|
thumbnail: "thumbnail";
|
|
984
983
|
firstFrame: "firstFrame";
|
|
985
984
|
lastFrame: "lastFrame";
|
|
@@ -987,6 +986,7 @@ export declare const RetrainFrameCandidateSchema: z.ZodObject<{
|
|
|
987
986
|
fullFrameBoxed: "fullFrameBoxed";
|
|
988
987
|
faceCrop: "faceCrop";
|
|
989
988
|
plateCrop: "plateCrop";
|
|
989
|
+
keyFrame: "keyFrame";
|
|
990
990
|
keyFrameSmall: "keyFrameSmall";
|
|
991
991
|
thumbnailSmall: "thumbnailSmall";
|
|
992
992
|
sceneFrame: "sceneFrame";
|
|
@@ -1005,7 +1005,6 @@ export declare const RetrainFrameSchema: z.ZodObject<{
|
|
|
1005
1005
|
sourceKind: z.ZodEnum<{
|
|
1006
1006
|
crop: "crop";
|
|
1007
1007
|
snapshot: "snapshot";
|
|
1008
|
-
keyFrame: "keyFrame";
|
|
1009
1008
|
thumbnail: "thumbnail";
|
|
1010
1009
|
firstFrame: "firstFrame";
|
|
1011
1010
|
lastFrame: "lastFrame";
|
|
@@ -1013,6 +1012,7 @@ export declare const RetrainFrameSchema: z.ZodObject<{
|
|
|
1013
1012
|
fullFrameBoxed: "fullFrameBoxed";
|
|
1014
1013
|
faceCrop: "faceCrop";
|
|
1015
1014
|
plateCrop: "plateCrop";
|
|
1015
|
+
keyFrame: "keyFrame";
|
|
1016
1016
|
keyFrameSmall: "keyFrameSmall";
|
|
1017
1017
|
thumbnailSmall: "thumbnailSmall";
|
|
1018
1018
|
sceneFrame: "sceneFrame";
|
|
@@ -1038,7 +1038,6 @@ export declare const RetrainFrameSelectionSchema: z.ZodObject<{
|
|
|
1038
1038
|
sourceKind: z.ZodEnum<{
|
|
1039
1039
|
crop: "crop";
|
|
1040
1040
|
snapshot: "snapshot";
|
|
1041
|
-
keyFrame: "keyFrame";
|
|
1042
1041
|
thumbnail: "thumbnail";
|
|
1043
1042
|
firstFrame: "firstFrame";
|
|
1044
1043
|
lastFrame: "lastFrame";
|
|
@@ -1046,6 +1045,7 @@ export declare const RetrainFrameSelectionSchema: z.ZodObject<{
|
|
|
1046
1045
|
fullFrameBoxed: "fullFrameBoxed";
|
|
1047
1046
|
faceCrop: "faceCrop";
|
|
1048
1047
|
plateCrop: "plateCrop";
|
|
1048
|
+
keyFrame: "keyFrame";
|
|
1049
1049
|
keyFrameSmall: "keyFrameSmall";
|
|
1050
1050
|
thumbnailSmall: "thumbnailSmall";
|
|
1051
1051
|
sceneFrame: "sceneFrame";
|
|
@@ -1071,7 +1071,6 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
|
|
|
1071
1071
|
kind: z.ZodEnum<{
|
|
1072
1072
|
crop: "crop";
|
|
1073
1073
|
snapshot: "snapshot";
|
|
1074
|
-
keyFrame: "keyFrame";
|
|
1075
1074
|
thumbnail: "thumbnail";
|
|
1076
1075
|
firstFrame: "firstFrame";
|
|
1077
1076
|
lastFrame: "lastFrame";
|
|
@@ -1079,6 +1078,7 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
|
|
|
1079
1078
|
fullFrameBoxed: "fullFrameBoxed";
|
|
1080
1079
|
faceCrop: "faceCrop";
|
|
1081
1080
|
plateCrop: "plateCrop";
|
|
1081
|
+
keyFrame: "keyFrame";
|
|
1082
1082
|
keyFrameSmall: "keyFrameSmall";
|
|
1083
1083
|
thumbnailSmall: "thumbnailSmall";
|
|
1084
1084
|
sceneFrame: "sceneFrame";
|
|
@@ -1095,7 +1095,6 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
|
|
|
1095
1095
|
sourceKind: z.ZodEnum<{
|
|
1096
1096
|
crop: "crop";
|
|
1097
1097
|
snapshot: "snapshot";
|
|
1098
|
-
keyFrame: "keyFrame";
|
|
1099
1098
|
thumbnail: "thumbnail";
|
|
1100
1099
|
firstFrame: "firstFrame";
|
|
1101
1100
|
lastFrame: "lastFrame";
|
|
@@ -1103,6 +1102,7 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
|
|
|
1103
1102
|
fullFrameBoxed: "fullFrameBoxed";
|
|
1104
1103
|
faceCrop: "faceCrop";
|
|
1105
1104
|
plateCrop: "plateCrop";
|
|
1105
|
+
keyFrame: "keyFrame";
|
|
1106
1106
|
keyFrameSmall: "keyFrameSmall";
|
|
1107
1107
|
thumbnailSmall: "thumbnailSmall";
|
|
1108
1108
|
sceneFrame: "sceneFrame";
|
|
@@ -1155,6 +1155,7 @@ export declare const RetrainAssistResultSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1155
1155
|
operator: "operator";
|
|
1156
1156
|
assist: "assist";
|
|
1157
1157
|
}>;
|
|
1158
|
+
subLabel: z.ZodOptional<z.ZodString>;
|
|
1158
1159
|
macroClass: z.ZodEnum<{
|
|
1159
1160
|
person: "person";
|
|
1160
1161
|
vehicle: "vehicle";
|
|
@@ -1163,7 +1164,6 @@ export declare const RetrainAssistResultSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1163
1164
|
face: "face";
|
|
1164
1165
|
plate: "plate";
|
|
1165
1166
|
}>;
|
|
1166
|
-
subLabel: z.ZodOptional<z.ZodString>;
|
|
1167
1167
|
assistModelId: z.ZodOptional<z.ZodString>;
|
|
1168
1168
|
assistScore: z.ZodOptional<z.ZodNumber>;
|
|
1169
1169
|
}, z.core.$strip>>>;
|
|
@@ -1184,11 +1184,11 @@ export declare const RetrainTransitionResultSchema: z.ZodObject<{
|
|
|
1184
1184
|
}>;
|
|
1185
1185
|
changed: z.ZodBoolean;
|
|
1186
1186
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1187
|
-
unchanged: "unchanged";
|
|
1188
1187
|
"unknown-track": "unknown-track";
|
|
1189
1188
|
"no-frames-copied": "no-frames-copied";
|
|
1190
1189
|
"not-staging": "not-staging";
|
|
1191
1190
|
"not-trained": "not-trained";
|
|
1191
|
+
unchanged: "unchanged";
|
|
1192
1192
|
}>>;
|
|
1193
1193
|
}, z.core.$strip>;
|
|
1194
1194
|
export type RetrainTransitionResult = z.infer<typeof RetrainTransitionResultSchema>;
|
|
@@ -1694,7 +1694,6 @@ declare const EventMediaKindFootprintSchema: z.ZodObject<{
|
|
|
1694
1694
|
kind: z.ZodEnum<{
|
|
1695
1695
|
crop: "crop";
|
|
1696
1696
|
snapshot: "snapshot";
|
|
1697
|
-
keyFrame: "keyFrame";
|
|
1698
1697
|
thumbnail: "thumbnail";
|
|
1699
1698
|
firstFrame: "firstFrame";
|
|
1700
1699
|
lastFrame: "lastFrame";
|
|
@@ -1702,6 +1701,7 @@ declare const EventMediaKindFootprintSchema: z.ZodObject<{
|
|
|
1702
1701
|
fullFrameBoxed: "fullFrameBoxed";
|
|
1703
1702
|
faceCrop: "faceCrop";
|
|
1704
1703
|
plateCrop: "plateCrop";
|
|
1704
|
+
keyFrame: "keyFrame";
|
|
1705
1705
|
keyFrameSmall: "keyFrameSmall";
|
|
1706
1706
|
thumbnailSmall: "thumbnailSmall";
|
|
1707
1707
|
sceneFrame: "sceneFrame";
|
|
@@ -1741,7 +1741,6 @@ declare const EventMediaKindBreakdownSchema: z.ZodObject<{
|
|
|
1741
1741
|
kind: z.ZodEnum<{
|
|
1742
1742
|
crop: "crop";
|
|
1743
1743
|
snapshot: "snapshot";
|
|
1744
|
-
keyFrame: "keyFrame";
|
|
1745
1744
|
thumbnail: "thumbnail";
|
|
1746
1745
|
firstFrame: "firstFrame";
|
|
1747
1746
|
lastFrame: "lastFrame";
|
|
@@ -1749,6 +1748,7 @@ declare const EventMediaKindBreakdownSchema: z.ZodObject<{
|
|
|
1749
1748
|
fullFrameBoxed: "fullFrameBoxed";
|
|
1750
1749
|
faceCrop: "faceCrop";
|
|
1751
1750
|
plateCrop: "plateCrop";
|
|
1751
|
+
keyFrame: "keyFrame";
|
|
1752
1752
|
keyFrameSmall: "keyFrameSmall";
|
|
1753
1753
|
thumbnailSmall: "thumbnailSmall";
|
|
1754
1754
|
sceneFrame: "sceneFrame";
|
|
@@ -2530,9 +2530,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2530
2530
|
audio: "audio";
|
|
2531
2531
|
motion: "motion";
|
|
2532
2532
|
smoke: "smoke";
|
|
2533
|
-
water: "water";
|
|
2534
2533
|
door: "door";
|
|
2535
2534
|
pir: "pir";
|
|
2535
|
+
water: "water";
|
|
2536
2536
|
}>;
|
|
2537
2537
|
category: z.ZodEnum<{
|
|
2538
2538
|
sensor: "sensor";
|
|
@@ -2591,9 +2591,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2591
2591
|
audio: "audio";
|
|
2592
2592
|
motion: "motion";
|
|
2593
2593
|
smoke: "smoke";
|
|
2594
|
-
water: "water";
|
|
2595
2594
|
door: "door";
|
|
2596
2595
|
pir: "pir";
|
|
2596
|
+
water: "water";
|
|
2597
2597
|
}>;
|
|
2598
2598
|
category: z.ZodEnum<{
|
|
2599
2599
|
sensor: "sensor";
|
|
@@ -3073,7 +3073,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3073
3073
|
kind: z.ZodEnum<{
|
|
3074
3074
|
crop: "crop";
|
|
3075
3075
|
snapshot: "snapshot";
|
|
3076
|
-
keyFrame: "keyFrame";
|
|
3077
3076
|
thumbnail: "thumbnail";
|
|
3078
3077
|
firstFrame: "firstFrame";
|
|
3079
3078
|
lastFrame: "lastFrame";
|
|
@@ -3081,6 +3080,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3081
3080
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3082
3081
|
faceCrop: "faceCrop";
|
|
3083
3082
|
plateCrop: "plateCrop";
|
|
3083
|
+
keyFrame: "keyFrame";
|
|
3084
3084
|
keyFrameSmall: "keyFrameSmall";
|
|
3085
3085
|
thumbnailSmall: "thumbnailSmall";
|
|
3086
3086
|
sceneFrame: "sceneFrame";
|
|
@@ -3101,9 +3101,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3101
3101
|
olderThanMs: z.ZodNumber;
|
|
3102
3102
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
3103
3103
|
manual: "manual";
|
|
3104
|
-
operator: "operator";
|
|
3105
3104
|
retention: "retention";
|
|
3106
3105
|
quota: "quota";
|
|
3106
|
+
operator: "operator";
|
|
3107
3107
|
maintenance: "maintenance";
|
|
3108
3108
|
"orphaned-device": "orphaned-device";
|
|
3109
3109
|
}>>;
|
|
@@ -3313,9 +3313,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3313
3313
|
}>;
|
|
3314
3314
|
reason: z.ZodEnum<{
|
|
3315
3315
|
manual: "manual";
|
|
3316
|
-
operator: "operator";
|
|
3317
3316
|
retention: "retention";
|
|
3318
3317
|
quota: "quota";
|
|
3318
|
+
operator: "operator";
|
|
3319
3319
|
maintenance: "maintenance";
|
|
3320
3320
|
"orphaned-device": "orphaned-device";
|
|
3321
3321
|
}>;
|
|
@@ -3465,7 +3465,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3465
3465
|
kind: z.ZodEnum<{
|
|
3466
3466
|
crop: "crop";
|
|
3467
3467
|
snapshot: "snapshot";
|
|
3468
|
-
keyFrame: "keyFrame";
|
|
3469
3468
|
thumbnail: "thumbnail";
|
|
3470
3469
|
firstFrame: "firstFrame";
|
|
3471
3470
|
lastFrame: "lastFrame";
|
|
@@ -3473,6 +3472,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3473
3472
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3474
3473
|
faceCrop: "faceCrop";
|
|
3475
3474
|
plateCrop: "plateCrop";
|
|
3475
|
+
keyFrame: "keyFrame";
|
|
3476
3476
|
keyFrameSmall: "keyFrameSmall";
|
|
3477
3477
|
thumbnailSmall: "thumbnailSmall";
|
|
3478
3478
|
sceneFrame: "sceneFrame";
|
|
@@ -3489,7 +3489,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3489
3489
|
sourceKind: z.ZodEnum<{
|
|
3490
3490
|
crop: "crop";
|
|
3491
3491
|
snapshot: "snapshot";
|
|
3492
|
-
keyFrame: "keyFrame";
|
|
3493
3492
|
thumbnail: "thumbnail";
|
|
3494
3493
|
firstFrame: "firstFrame";
|
|
3495
3494
|
lastFrame: "lastFrame";
|
|
@@ -3497,6 +3496,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3497
3496
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3498
3497
|
faceCrop: "faceCrop";
|
|
3499
3498
|
plateCrop: "plateCrop";
|
|
3499
|
+
keyFrame: "keyFrame";
|
|
3500
3500
|
keyFrameSmall: "keyFrameSmall";
|
|
3501
3501
|
thumbnailSmall: "thumbnailSmall";
|
|
3502
3502
|
sceneFrame: "sceneFrame";
|
|
@@ -3535,7 +3535,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3535
3535
|
sourceKind: z.ZodEnum<{
|
|
3536
3536
|
crop: "crop";
|
|
3537
3537
|
snapshot: "snapshot";
|
|
3538
|
-
keyFrame: "keyFrame";
|
|
3539
3538
|
thumbnail: "thumbnail";
|
|
3540
3539
|
firstFrame: "firstFrame";
|
|
3541
3540
|
lastFrame: "lastFrame";
|
|
@@ -3543,6 +3542,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3543
3542
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3544
3543
|
faceCrop: "faceCrop";
|
|
3545
3544
|
plateCrop: "plateCrop";
|
|
3545
|
+
keyFrame: "keyFrame";
|
|
3546
3546
|
keyFrameSmall: "keyFrameSmall";
|
|
3547
3547
|
thumbnailSmall: "thumbnailSmall";
|
|
3548
3548
|
sceneFrame: "sceneFrame";
|
|
@@ -3642,6 +3642,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3642
3642
|
operator: "operator";
|
|
3643
3643
|
assist: "assist";
|
|
3644
3644
|
}>;
|
|
3645
|
+
subLabel: z.ZodOptional<z.ZodString>;
|
|
3645
3646
|
macroClass: z.ZodEnum<{
|
|
3646
3647
|
person: "person";
|
|
3647
3648
|
vehicle: "vehicle";
|
|
@@ -3650,7 +3651,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3650
3651
|
face: "face";
|
|
3651
3652
|
plate: "plate";
|
|
3652
3653
|
}>;
|
|
3653
|
-
subLabel: z.ZodOptional<z.ZodString>;
|
|
3654
3654
|
assistModelId: z.ZodOptional<z.ZodString>;
|
|
3655
3655
|
assistScore: z.ZodOptional<z.ZodNumber>;
|
|
3656
3656
|
}, z.core.$strip>>>;
|
|
@@ -3797,6 +3797,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3797
3797
|
operator: "operator";
|
|
3798
3798
|
assist: "assist";
|
|
3799
3799
|
}>;
|
|
3800
|
+
subLabel: z.ZodOptional<z.ZodString>;
|
|
3800
3801
|
macroClass: z.ZodEnum<{
|
|
3801
3802
|
person: "person";
|
|
3802
3803
|
vehicle: "vehicle";
|
|
@@ -3805,7 +3806,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3805
3806
|
face: "face";
|
|
3806
3807
|
plate: "plate";
|
|
3807
3808
|
}>;
|
|
3808
|
-
subLabel: z.ZodOptional<z.ZodString>;
|
|
3809
3809
|
assistModelId: z.ZodOptional<z.ZodString>;
|
|
3810
3810
|
assistScore: z.ZodOptional<z.ZodNumber>;
|
|
3811
3811
|
}, z.core.$strip>>;
|
|
@@ -3864,11 +3864,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3864
3864
|
}>;
|
|
3865
3865
|
changed: z.ZodBoolean;
|
|
3866
3866
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
3867
|
-
unchanged: "unchanged";
|
|
3868
3867
|
"unknown-track": "unknown-track";
|
|
3869
3868
|
"no-frames-copied": "no-frames-copied";
|
|
3870
3869
|
"not-staging": "not-staging";
|
|
3871
3870
|
"not-trained": "not-trained";
|
|
3871
|
+
unchanged: "unchanged";
|
|
3872
3872
|
}>>;
|
|
3873
3873
|
}, z.core.$strip>, "mutation">;
|
|
3874
3874
|
/**
|
|
@@ -3893,11 +3893,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3893
3893
|
}>;
|
|
3894
3894
|
changed: z.ZodBoolean;
|
|
3895
3895
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
3896
|
-
unchanged: "unchanged";
|
|
3897
3896
|
"unknown-track": "unknown-track";
|
|
3898
3897
|
"no-frames-copied": "no-frames-copied";
|
|
3899
3898
|
"not-staging": "not-staging";
|
|
3900
3899
|
"not-trained": "not-trained";
|
|
3900
|
+
unchanged: "unchanged";
|
|
3901
3901
|
}>>;
|
|
3902
3902
|
}, z.core.$strip>, "mutation">;
|
|
3903
3903
|
/**
|
|
@@ -3945,7 +3945,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3945
3945
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3946
3946
|
crop: "crop";
|
|
3947
3947
|
snapshot: "snapshot";
|
|
3948
|
-
keyFrame: "keyFrame";
|
|
3949
3948
|
thumbnail: "thumbnail";
|
|
3950
3949
|
firstFrame: "firstFrame";
|
|
3951
3950
|
lastFrame: "lastFrame";
|
|
@@ -3953,6 +3952,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3953
3952
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3954
3953
|
faceCrop: "faceCrop";
|
|
3955
3954
|
plateCrop: "plateCrop";
|
|
3955
|
+
keyFrame: "keyFrame";
|
|
3956
3956
|
keyFrameSmall: "keyFrameSmall";
|
|
3957
3957
|
thumbnailSmall: "thumbnailSmall";
|
|
3958
3958
|
sceneFrame: "sceneFrame";
|
|
@@ -3963,7 +3963,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3963
3963
|
kind: z.ZodEnum<{
|
|
3964
3964
|
crop: "crop";
|
|
3965
3965
|
snapshot: "snapshot";
|
|
3966
|
-
keyFrame: "keyFrame";
|
|
3967
3966
|
thumbnail: "thumbnail";
|
|
3968
3967
|
firstFrame: "firstFrame";
|
|
3969
3968
|
lastFrame: "lastFrame";
|
|
@@ -3971,6 +3970,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3971
3970
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3972
3971
|
faceCrop: "faceCrop";
|
|
3973
3972
|
plateCrop: "plateCrop";
|
|
3973
|
+
keyFrame: "keyFrame";
|
|
3974
3974
|
keyFrameSmall: "keyFrameSmall";
|
|
3975
3975
|
thumbnailSmall: "thumbnailSmall";
|
|
3976
3976
|
sceneFrame: "sceneFrame";
|
|
@@ -3989,7 +3989,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3989
3989
|
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3990
3990
|
crop: "crop";
|
|
3991
3991
|
snapshot: "snapshot";
|
|
3992
|
-
keyFrame: "keyFrame";
|
|
3993
3992
|
thumbnail: "thumbnail";
|
|
3994
3993
|
firstFrame: "firstFrame";
|
|
3995
3994
|
lastFrame: "lastFrame";
|
|
@@ -3997,6 +3996,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3997
3996
|
fullFrameBoxed: "fullFrameBoxed";
|
|
3998
3997
|
faceCrop: "faceCrop";
|
|
3999
3998
|
plateCrop: "plateCrop";
|
|
3999
|
+
keyFrame: "keyFrame";
|
|
4000
4000
|
keyFrameSmall: "keyFrameSmall";
|
|
4001
4001
|
thumbnailSmall: "thumbnailSmall";
|
|
4002
4002
|
sceneFrame: "sceneFrame";
|
|
@@ -4007,7 +4007,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4007
4007
|
kind: z.ZodEnum<{
|
|
4008
4008
|
crop: "crop";
|
|
4009
4009
|
snapshot: "snapshot";
|
|
4010
|
-
keyFrame: "keyFrame";
|
|
4011
4010
|
thumbnail: "thumbnail";
|
|
4012
4011
|
firstFrame: "firstFrame";
|
|
4013
4012
|
lastFrame: "lastFrame";
|
|
@@ -4015,6 +4014,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4015
4014
|
fullFrameBoxed: "fullFrameBoxed";
|
|
4016
4015
|
faceCrop: "faceCrop";
|
|
4017
4016
|
plateCrop: "plateCrop";
|
|
4017
|
+
keyFrame: "keyFrame";
|
|
4018
4018
|
keyFrameSmall: "keyFrameSmall";
|
|
4019
4019
|
thumbnailSmall: "thumbnailSmall";
|
|
4020
4020
|
sceneFrame: "sceneFrame";
|
|
@@ -4047,7 +4047,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4047
4047
|
kind: z.ZodEnum<{
|
|
4048
4048
|
crop: "crop";
|
|
4049
4049
|
snapshot: "snapshot";
|
|
4050
|
-
keyFrame: "keyFrame";
|
|
4051
4050
|
thumbnail: "thumbnail";
|
|
4052
4051
|
firstFrame: "firstFrame";
|
|
4053
4052
|
lastFrame: "lastFrame";
|
|
@@ -4055,6 +4054,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4055
4054
|
fullFrameBoxed: "fullFrameBoxed";
|
|
4056
4055
|
faceCrop: "faceCrop";
|
|
4057
4056
|
plateCrop: "plateCrop";
|
|
4057
|
+
keyFrame: "keyFrame";
|
|
4058
4058
|
keyFrameSmall: "keyFrameSmall";
|
|
4059
4059
|
thumbnailSmall: "thumbnailSmall";
|
|
4060
4060
|
sceneFrame: "sceneFrame";
|
|
@@ -4094,7 +4094,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4094
4094
|
kind: z.ZodEnum<{
|
|
4095
4095
|
crop: "crop";
|
|
4096
4096
|
snapshot: "snapshot";
|
|
4097
|
-
keyFrame: "keyFrame";
|
|
4098
4097
|
thumbnail: "thumbnail";
|
|
4099
4098
|
firstFrame: "firstFrame";
|
|
4100
4099
|
lastFrame: "lastFrame";
|
|
@@ -4102,6 +4101,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4102
4101
|
fullFrameBoxed: "fullFrameBoxed";
|
|
4103
4102
|
faceCrop: "faceCrop";
|
|
4104
4103
|
plateCrop: "plateCrop";
|
|
4104
|
+
keyFrame: "keyFrame";
|
|
4105
4105
|
keyFrameSmall: "keyFrameSmall";
|
|
4106
4106
|
thumbnailSmall: "thumbnailSmall";
|
|
4107
4107
|
sceneFrame: "sceneFrame";
|
|
@@ -352,8 +352,8 @@ declare const CameraStatusStageSchema: z.ZodEnum<{
|
|
|
352
352
|
source: "source";
|
|
353
353
|
broker: "broker";
|
|
354
354
|
recording: "recording";
|
|
355
|
-
switches: "switches";
|
|
356
355
|
detection: "detection";
|
|
356
|
+
switches: "switches";
|
|
357
357
|
}>;
|
|
358
358
|
/**
|
|
359
359
|
* WHY a stage could not be trusted.
|
|
@@ -376,8 +376,8 @@ declare const CameraStatusDegradationSchema: z.ZodObject<{
|
|
|
376
376
|
source: "source";
|
|
377
377
|
broker: "broker";
|
|
378
378
|
recording: "recording";
|
|
379
|
-
switches: "switches";
|
|
380
379
|
detection: "detection";
|
|
380
|
+
switches: "switches";
|
|
381
381
|
}>;
|
|
382
382
|
reason: z.ZodEnum<{
|
|
383
383
|
error: "error";
|
|
@@ -525,8 +525,8 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
525
525
|
source: "source";
|
|
526
526
|
broker: "broker";
|
|
527
527
|
recording: "recording";
|
|
528
|
-
switches: "switches";
|
|
529
528
|
detection: "detection";
|
|
529
|
+
switches: "switches";
|
|
530
530
|
}>;
|
|
531
531
|
reason: z.ZodEnum<{
|
|
532
532
|
error: "error";
|
|
@@ -1495,8 +1495,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1495
1495
|
source: "source";
|
|
1496
1496
|
broker: "broker";
|
|
1497
1497
|
recording: "recording";
|
|
1498
|
-
switches: "switches";
|
|
1499
1498
|
detection: "detection";
|
|
1499
|
+
switches: "switches";
|
|
1500
1500
|
}>;
|
|
1501
1501
|
reason: z.ZodEnum<{
|
|
1502
1502
|
error: "error";
|
|
@@ -1631,8 +1631,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1631
1631
|
source: "source";
|
|
1632
1632
|
broker: "broker";
|
|
1633
1633
|
recording: "recording";
|
|
1634
|
-
switches: "switches";
|
|
1635
1634
|
detection: "detection";
|
|
1635
|
+
switches: "switches";
|
|
1636
1636
|
}>;
|
|
1637
1637
|
reason: z.ZodEnum<{
|
|
1638
1638
|
error: "error";
|
|
@@ -40,8 +40,8 @@ export type NativeCropCapResult = z.infer<typeof NativeCropResultSchema>;
|
|
|
40
40
|
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
41
41
|
*/
|
|
42
42
|
export declare const ParkedFrameKindSchema: z.ZodEnum<{
|
|
43
|
-
keyFrame: "keyFrame";
|
|
44
43
|
thumbnail: "thumbnail";
|
|
44
|
+
keyFrame: "keyFrame";
|
|
45
45
|
}>;
|
|
46
46
|
export type ParkedFrameKind = z.infer<typeof ParkedFrameKindSchema>;
|
|
47
47
|
/**
|
|
@@ -196,6 +196,18 @@ export declare const MotionSourcesSchema: z.ZodArray<z.ZodEnum<{
|
|
|
196
196
|
"device-activity": "device-activity";
|
|
197
197
|
}>>;
|
|
198
198
|
export type MotionSources = z.infer<typeof MotionSourcesSchema>;
|
|
199
|
+
/**
|
|
200
|
+
* Which root detectors a camera runs. Deliberately the SAME vocabulary
|
|
201
|
+
* post-analysis already tags every detection with (`DetectionSource`) rather
|
|
202
|
+
* than a second spelling of the same two ideas — the value an operator picks
|
|
203
|
+
* here is the value that comes back on the track, the overlay and the debug
|
|
204
|
+
* row.
|
|
205
|
+
*/
|
|
206
|
+
export declare const DetectionSourcesSchema: z.ZodArray<z.ZodEnum<{
|
|
207
|
+
pipeline: "pipeline";
|
|
208
|
+
onboard: "onboard";
|
|
209
|
+
}>>;
|
|
210
|
+
export type DetectionSources = z.infer<typeof DetectionSourcesSchema>;
|
|
199
211
|
/**
|
|
200
212
|
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
201
213
|
* so cap-side consumers (the orchestrator forward, the runner addon's
|
|
@@ -299,6 +311,10 @@ declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
|
299
311
|
analyzer: "analyzer";
|
|
300
312
|
"device-activity": "device-activity";
|
|
301
313
|
}>>>;
|
|
314
|
+
detectionSources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
315
|
+
pipeline: "pipeline";
|
|
316
|
+
onboard: "onboard";
|
|
317
|
+
}>>>;
|
|
302
318
|
pipelineEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
303
319
|
steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>>;
|
|
304
320
|
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -561,6 +577,10 @@ export declare const pipelineRunnerCapability: {
|
|
|
561
577
|
analyzer: "analyzer";
|
|
562
578
|
"device-activity": "device-activity";
|
|
563
579
|
}>>>;
|
|
580
|
+
detectionSources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
581
|
+
pipeline: "pipeline";
|
|
582
|
+
onboard: "onboard";
|
|
583
|
+
}>>>;
|
|
564
584
|
pipelineEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
565
585
|
steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>>;
|
|
566
586
|
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1018,8 +1038,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
1018
1038
|
deviceId: z.ZodNumber;
|
|
1019
1039
|
trackId: z.ZodString;
|
|
1020
1040
|
kind: z.ZodEnum<{
|
|
1021
|
-
keyFrame: "keyFrame";
|
|
1022
1041
|
thumbnail: "thumbnail";
|
|
1042
|
+
keyFrame: "keyFrame";
|
|
1023
1043
|
}>;
|
|
1024
1044
|
handle: z.ZodObject<{
|
|
1025
1045
|
shmId: z.ZodString;
|
|
@@ -1073,8 +1093,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
1073
1093
|
deviceId: z.ZodNumber;
|
|
1074
1094
|
trackId: z.ZodString;
|
|
1075
1095
|
kind: z.ZodEnum<{
|
|
1076
|
-
keyFrame: "keyFrame";
|
|
1077
1096
|
thumbnail: "thumbnail";
|
|
1097
|
+
keyFrame: "keyFrame";
|
|
1078
1098
|
}>;
|
|
1079
1099
|
acceptJpegBytes: z.ZodOptional<z.ZodBoolean>;
|
|
1080
1100
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
@@ -706,9 +706,9 @@ export declare const recordingCapability: {
|
|
|
706
706
|
deviceId: z.ZodNumber;
|
|
707
707
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
708
708
|
manual: "manual";
|
|
709
|
-
operator: "operator";
|
|
710
709
|
retention: "retention";
|
|
711
710
|
quota: "quota";
|
|
711
|
+
operator: "operator";
|
|
712
712
|
maintenance: "maintenance";
|
|
713
713
|
"orphaned-device": "orphaned-device";
|
|
714
714
|
}>>;
|
|
@@ -753,9 +753,9 @@ export declare const recordingCapability: {
|
|
|
753
753
|
}>;
|
|
754
754
|
reason: z.ZodEnum<{
|
|
755
755
|
manual: "manual";
|
|
756
|
-
operator: "operator";
|
|
757
756
|
retention: "retention";
|
|
758
757
|
quota: "quota";
|
|
758
|
+
operator: "operator";
|
|
759
759
|
maintenance: "maintenance";
|
|
760
760
|
"orphaned-device": "orphaned-device";
|
|
761
761
|
}>;
|
|
@@ -50,8 +50,8 @@ declare const ServerBootModeSchema: z.ZodEnum<{
|
|
|
50
50
|
*/
|
|
51
51
|
declare const ServerUpdateStateSchema: z.ZodEnum<{
|
|
52
52
|
idle: "idle";
|
|
53
|
-
checking: "checking";
|
|
54
53
|
staging: "staging";
|
|
54
|
+
checking: "checking";
|
|
55
55
|
"pending-restart": "pending-restart";
|
|
56
56
|
"awaiting-confirmation": "awaiting-confirmation";
|
|
57
57
|
}>;
|
|
@@ -220,8 +220,8 @@ declare const ServerPackageStatusSchema: z.ZodObject<{
|
|
|
220
220
|
}>;
|
|
221
221
|
updateState: z.ZodEnum<{
|
|
222
222
|
idle: "idle";
|
|
223
|
-
checking: "checking";
|
|
224
223
|
staging: "staging";
|
|
224
|
+
checking: "checking";
|
|
225
225
|
"pending-restart": "pending-restart";
|
|
226
226
|
"awaiting-confirmation": "awaiting-confirmation";
|
|
227
227
|
}>;
|
|
@@ -310,8 +310,8 @@ export declare const serverManagementCapability: {
|
|
|
310
310
|
}>;
|
|
311
311
|
updateState: z.ZodEnum<{
|
|
312
312
|
idle: "idle";
|
|
313
|
-
checking: "checking";
|
|
314
313
|
staging: "staging";
|
|
314
|
+
checking: "checking";
|
|
315
315
|
"pending-restart": "pending-restart";
|
|
316
316
|
"awaiting-confirmation": "awaiting-confirmation";
|
|
317
317
|
}>;
|