@camstack/types 1.1.43 → 1.1.45

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.
Files changed (41) hide show
  1. package/dist/addon.js +1 -1
  2. package/dist/addon.mjs +1 -1
  3. package/dist/capabilities/advanced-notifier.cap.d.ts +4 -0
  4. package/dist/capabilities/cap-router-predicates.d.ts +60 -0
  5. package/dist/capabilities/capability-definition.d.ts +1 -1
  6. package/dist/capabilities/custom-model-registry.cap.d.ts +24 -0
  7. package/dist/capabilities/index.d.ts +14 -7
  8. package/dist/capabilities/llm-runtime.cap.d.ts +286 -0
  9. package/dist/capabilities/llm-shared.d.ts +104 -0
  10. package/dist/capabilities/llm.cap.d.ts +596 -0
  11. package/dist/capabilities/login-method.cap.d.ts +53 -7
  12. package/dist/capabilities/model-convert.cap.d.ts +13 -0
  13. package/dist/capabilities/model-distributor.cap.d.ts +26 -0
  14. package/dist/capabilities/pipeline-analytics.cap.d.ts +144 -25
  15. package/dist/capabilities/pipeline-executor.cap.d.ts +24 -0
  16. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +16 -0
  17. package/dist/capabilities/plate-gallery.cap.d.ts +114 -0
  18. package/dist/capabilities/platform-probe.cap.d.ts +9 -0
  19. package/dist/capabilities/scene-monitor.cap.d.ts +483 -0
  20. package/dist/capabilities/zone-analytics.cap.d.ts +78 -1
  21. package/dist/enums/event-category.d.ts +41 -0
  22. package/dist/generated/addon-api.d.ts +3135 -933
  23. package/dist/generated/cap-status-types.d.ts +3 -1
  24. package/dist/generated/capability-router-map.d.ts +13 -4
  25. package/dist/generated/device-local-state.d.ts +3 -0
  26. package/dist/generated/device-proxy.d.ts +3 -0
  27. package/dist/generated/method-access-map.d.ts +1 -1
  28. package/dist/generated/provider-kind-map.d.ts +1 -1
  29. package/dist/generated/system-proxy.d.ts +3 -1
  30. package/dist/index.js +1307 -58
  31. package/dist/index.mjs +1272 -59
  32. package/dist/inference/runtime-capabilities.d.ts +1 -1
  33. package/dist/interfaces/addon.d.ts +5 -1
  34. package/dist/interfaces/advanced-notifier.d.ts +2 -0
  35. package/dist/interfaces/event-bus.d.ts +107 -2
  36. package/dist/interfaces/platform.d.ts +17 -0
  37. package/dist/{sleep-DmvEGsRg.js → sleep-BdhADtqT.js} +55 -0
  38. package/dist/{sleep-Baang_XW.mjs → sleep-_sv7WKkq.mjs} +55 -0
  39. package/dist/types/models.d.ts +38 -1
  40. package/dist/types/pipeline-step.d.ts +20 -2
  41. package/package.json +1 -1
@@ -13,6 +13,7 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
13
13
  openvino: "openvino";
14
14
  tflite: "tflite";
15
15
  pt: "pt";
16
+ gguf: "gguf";
16
17
  }>;
17
18
  device: z.ZodOptional<z.ZodString>;
18
19
  }, z.core.$strip>>;
@@ -30,6 +31,7 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
30
31
  openvino: "openvino";
31
32
  tflite: "tflite";
32
33
  pt: "pt";
34
+ gguf: "gguf";
33
35
  }>;
34
36
  device: z.ZodOptional<z.ZodString>;
35
37
  }, z.core.$strip>>;
@@ -55,6 +57,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
55
57
  openvino: "openvino";
56
58
  tflite: "tflite";
57
59
  pt: "pt";
60
+ gguf: "gguf";
58
61
  }>;
59
62
  device: z.ZodOptional<z.ZodString>;
60
63
  }, z.core.$strip>>;
@@ -72,6 +75,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
72
75
  openvino: "openvino";
73
76
  tflite: "tflite";
74
77
  pt: "pt";
78
+ gguf: "gguf";
75
79
  }>;
76
80
  device: z.ZodOptional<z.ZodString>;
77
81
  }, z.core.$strip>>;
@@ -869,6 +873,7 @@ export declare const pipelineOrchestratorCapability: {
869
873
  openvino: "openvino";
870
874
  tflite: "tflite";
871
875
  pt: "pt";
876
+ gguf: "gguf";
872
877
  }>;
873
878
  device: z.ZodOptional<z.ZodString>;
874
879
  }, z.core.$strip>>;
@@ -886,6 +891,7 @@ export declare const pipelineOrchestratorCapability: {
886
891
  openvino: "openvino";
887
892
  tflite: "tflite";
888
893
  pt: "pt";
894
+ gguf: "gguf";
889
895
  }>;
890
896
  device: z.ZodOptional<z.ZodString>;
891
897
  }, z.core.$strip>>;
@@ -1133,6 +1139,7 @@ export declare const pipelineOrchestratorCapability: {
1133
1139
  openvino: "openvino";
1134
1140
  tflite: "tflite";
1135
1141
  pt: "pt";
1142
+ gguf: "gguf";
1136
1143
  }>;
1137
1144
  device: z.ZodOptional<z.ZodString>;
1138
1145
  }, z.core.$strip>>;
@@ -1150,6 +1157,7 @@ export declare const pipelineOrchestratorCapability: {
1150
1157
  openvino: "openvino";
1151
1158
  tflite: "tflite";
1152
1159
  pt: "pt";
1160
+ gguf: "gguf";
1153
1161
  }>;
1154
1162
  device: z.ZodOptional<z.ZodString>;
1155
1163
  }, z.core.$strip>>;
@@ -1178,6 +1186,7 @@ export declare const pipelineOrchestratorCapability: {
1178
1186
  openvino: "openvino";
1179
1187
  tflite: "tflite";
1180
1188
  pt: "pt";
1189
+ gguf: "gguf";
1181
1190
  }>;
1182
1191
  device: z.ZodOptional<z.ZodString>;
1183
1192
  }, z.core.$strip>>;
@@ -1195,6 +1204,7 @@ export declare const pipelineOrchestratorCapability: {
1195
1204
  openvino: "openvino";
1196
1205
  tflite: "tflite";
1197
1206
  pt: "pt";
1207
+ gguf: "gguf";
1198
1208
  }>;
1199
1209
  device: z.ZodOptional<z.ZodString>;
1200
1210
  }, z.core.$strip>>;
@@ -1220,6 +1230,7 @@ export declare const pipelineOrchestratorCapability: {
1220
1230
  openvino: "openvino";
1221
1231
  tflite: "tflite";
1222
1232
  pt: "pt";
1233
+ gguf: "gguf";
1223
1234
  }>;
1224
1235
  device: z.ZodOptional<z.ZodString>;
1225
1236
  }, z.core.$strip>>;
@@ -1237,6 +1248,7 @@ export declare const pipelineOrchestratorCapability: {
1237
1248
  openvino: "openvino";
1238
1249
  tflite: "tflite";
1239
1250
  pt: "pt";
1251
+ gguf: "gguf";
1240
1252
  }>;
1241
1253
  device: z.ZodOptional<z.ZodString>;
1242
1254
  }, z.core.$strip>>;
@@ -1266,6 +1278,7 @@ export declare const pipelineOrchestratorCapability: {
1266
1278
  openvino: "openvino";
1267
1279
  tflite: "tflite";
1268
1280
  pt: "pt";
1281
+ gguf: "gguf";
1269
1282
  }>;
1270
1283
  device: z.ZodOptional<z.ZodString>;
1271
1284
  }, z.core.$strip>>;
@@ -1283,6 +1296,7 @@ export declare const pipelineOrchestratorCapability: {
1283
1296
  openvino: "openvino";
1284
1297
  tflite: "tflite";
1285
1298
  pt: "pt";
1299
+ gguf: "gguf";
1286
1300
  }>;
1287
1301
  device: z.ZodOptional<z.ZodString>;
1288
1302
  }, z.core.$strip>>;
@@ -1308,6 +1322,7 @@ export declare const pipelineOrchestratorCapability: {
1308
1322
  openvino: "openvino";
1309
1323
  tflite: "tflite";
1310
1324
  pt: "pt";
1325
+ gguf: "gguf";
1311
1326
  }>;
1312
1327
  device: z.ZodOptional<z.ZodString>;
1313
1328
  }, z.core.$strip>>;
@@ -1325,6 +1340,7 @@ export declare const pipelineOrchestratorCapability: {
1325
1340
  openvino: "openvino";
1326
1341
  tflite: "tflite";
1327
1342
  pt: "pt";
1343
+ gguf: "gguf";
1328
1344
  }>;
1329
1345
  device: z.ZodOptional<z.ZodString>;
1330
1346
  }, z.core.$strip>>;
@@ -1,5 +1,22 @@
1
1
  import { z } from 'zod';
2
2
  import { type InferProvider } from './capability-definition.js';
3
+ declare const VehicleSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ sampleCount: z.ZodNumber;
7
+ coverMediaKey: z.ZodOptional<z.ZodString>;
8
+ coverBase64: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ export type Vehicle = z.infer<typeof VehicleSchema>;
11
+ declare const VehicleSampleInfoSchema: z.ZodObject<{
12
+ id: z.ZodString;
13
+ text: z.ZodString;
14
+ score: z.ZodNumber;
15
+ addedAt: z.ZodNumber;
16
+ deviceId: z.ZodOptional<z.ZodNumber>;
17
+ base64: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ export type VehicleSampleInfo = z.infer<typeof VehicleSampleInfoSchema>;
3
20
  declare const PlateInfoSchema: z.ZodObject<{
4
21
  plateId: z.ZodString;
5
22
  deviceId: z.ZodNumber;
@@ -8,6 +25,16 @@ declare const PlateInfoSchema: z.ZodObject<{
8
25
  text: z.ZodString;
9
26
  score: z.ZodNumber;
10
27
  corrected: z.ZodBoolean;
28
+ recognizedVehicleId: z.ZodOptional<z.ZodString>;
29
+ vehicleName: z.ZodOptional<z.ZodString>;
30
+ assigned: z.ZodBoolean;
31
+ plateBbox: z.ZodOptional<z.ZodObject<{
32
+ x: z.ZodNumber;
33
+ y: z.ZodNumber;
34
+ w: z.ZodNumber;
35
+ h: z.ZodNumber;
36
+ }, z.core.$strip>>;
37
+ keyFrameMediaKey: z.ZodOptional<z.ZodString>;
11
38
  base64: z.ZodOptional<z.ZodString>;
12
39
  }, z.core.$strip>;
13
40
  export type PlateInfo = z.infer<typeof PlateInfoSchema>;
@@ -35,6 +62,16 @@ export declare const plateGalleryCapability: {
35
62
  text: z.ZodString;
36
63
  score: z.ZodNumber;
37
64
  corrected: z.ZodBoolean;
65
+ recognizedVehicleId: z.ZodOptional<z.ZodString>;
66
+ vehicleName: z.ZodOptional<z.ZodString>;
67
+ assigned: z.ZodBoolean;
68
+ plateBbox: z.ZodOptional<z.ZodObject<{
69
+ x: z.ZodNumber;
70
+ y: z.ZodNumber;
71
+ w: z.ZodNumber;
72
+ h: z.ZodNumber;
73
+ }, z.core.$strip>>;
74
+ keyFrameMediaKey: z.ZodOptional<z.ZodString>;
38
75
  base64: z.ZodOptional<z.ZodString>;
39
76
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
40
77
  readonly getPlateByTrack: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -48,6 +85,16 @@ export declare const plateGalleryCapability: {
48
85
  text: z.ZodString;
49
86
  score: z.ZodNumber;
50
87
  corrected: z.ZodBoolean;
88
+ recognizedVehicleId: z.ZodOptional<z.ZodString>;
89
+ vehicleName: z.ZodOptional<z.ZodString>;
90
+ assigned: z.ZodBoolean;
91
+ plateBbox: z.ZodOptional<z.ZodObject<{
92
+ x: z.ZodNumber;
93
+ y: z.ZodNumber;
94
+ w: z.ZodNumber;
95
+ h: z.ZodNumber;
96
+ }, z.core.$strip>>;
97
+ keyFrameMediaKey: z.ZodOptional<z.ZodString>;
51
98
  base64: z.ZodOptional<z.ZodString>;
52
99
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
53
100
  readonly getPlateMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -72,6 +119,16 @@ export declare const plateGalleryCapability: {
72
119
  text: z.ZodString;
73
120
  score: z.ZodNumber;
74
121
  corrected: z.ZodBoolean;
122
+ recognizedVehicleId: z.ZodOptional<z.ZodString>;
123
+ vehicleName: z.ZodOptional<z.ZodString>;
124
+ assigned: z.ZodBoolean;
125
+ plateBbox: z.ZodOptional<z.ZodObject<{
126
+ x: z.ZodNumber;
127
+ y: z.ZodNumber;
128
+ w: z.ZodNumber;
129
+ h: z.ZodNumber;
130
+ }, z.core.$strip>>;
131
+ keyFrameMediaKey: z.ZodOptional<z.ZodString>;
75
132
  base64: z.ZodOptional<z.ZodString>;
76
133
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
77
134
  /** Suggest groups of near-identical reads (same physical plate) for review/merge. */
@@ -94,6 +151,63 @@ export declare const plateGalleryCapability: {
94
151
  readonly deletePlate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
95
152
  plateId: z.ZodString;
96
153
  }, z.core.$strip>, z.ZodVoid, "mutation">;
154
+ readonly listVehicles: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
155
+ id: z.ZodString;
156
+ name: z.ZodString;
157
+ sampleCount: z.ZodNumber;
158
+ coverMediaKey: z.ZodOptional<z.ZodString>;
159
+ coverBase64: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
161
+ readonly createVehicle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
162
+ name: z.ZodString;
163
+ }, z.core.$strip>, z.ZodObject<{
164
+ id: z.ZodString;
165
+ name: z.ZodString;
166
+ sampleCount: z.ZodNumber;
167
+ coverMediaKey: z.ZodOptional<z.ZodString>;
168
+ coverBase64: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strip>, "mutation">;
170
+ readonly renameVehicle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
171
+ id: z.ZodString;
172
+ name: z.ZodString;
173
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
174
+ readonly deleteVehicle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
175
+ id: z.ZodString;
176
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
177
+ readonly listVehicleSamples: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
178
+ vehicleId: z.ZodString;
179
+ }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
180
+ id: z.ZodString;
181
+ text: z.ZodString;
182
+ score: z.ZodNumber;
183
+ addedAt: z.ZodNumber;
184
+ deviceId: z.ZodOptional<z.ZodNumber>;
185
+ base64: z.ZodOptional<z.ZodString>;
186
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
187
+ readonly removeVehicleSample: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
188
+ vehicleId: z.ZodString;
189
+ sampleId: z.ZodString;
190
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
191
+ readonly assignPlate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
192
+ plateId: z.ZodString;
193
+ vehicleId: z.ZodString;
194
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
195
+ readonly unassignPlate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
196
+ plateId: z.ZodString;
197
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
198
+ readonly assignPlates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
199
+ plateIds: z.ZodArray<z.ZodString>;
200
+ vehicleId: z.ZodString;
201
+ }, z.core.$strip>, z.ZodObject<{
202
+ assigned: z.ZodNumber;
203
+ failed: z.ZodReadonly<z.ZodArray<z.ZodString>>;
204
+ }, z.core.$strip>, "mutation">;
205
+ readonly unassignPlates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
206
+ plateIds: z.ZodArray<z.ZodString>;
207
+ }, z.core.$strip>, z.ZodObject<{
208
+ unassigned: z.ZodNumber;
209
+ failed: z.ZodReadonly<z.ZodArray<z.ZodString>>;
210
+ }, z.core.$strip>, "mutation">;
97
211
  };
98
212
  };
99
213
  export type IPlateGalleryProvider = InferProvider<typeof plateGalleryCapability>;
@@ -157,6 +157,10 @@ export declare const platformProbeCapability: {
157
157
  "intel-npu": "intel-npu";
158
158
  }>;
159
159
  }, z.core.$strip>>;
160
+ coral: z.ZodOptional<z.ZodNullable<z.ZodObject<{
161
+ type: z.ZodLiteral<"coral-edgetpu">;
162
+ bus: z.ZodOptional<z.ZodString>;
163
+ }, z.core.$strip>>>;
160
164
  }, z.core.$strip>;
161
165
  scores: z.ZodReadonly<z.ZodArray<z.ZodObject<{
162
166
  runtime: z.ZodEnum<{
@@ -220,6 +224,10 @@ export declare const platformProbeCapability: {
220
224
  "intel-npu": "intel-npu";
221
225
  }>;
222
226
  }, z.core.$strip>>;
227
+ coral: z.ZodOptional<z.ZodNullable<z.ZodObject<{
228
+ type: z.ZodLiteral<"coral-edgetpu">;
229
+ bus: z.ZodOptional<z.ZodString>;
230
+ }, z.core.$strip>>>;
223
231
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
224
232
  readonly resolveInferenceConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
225
233
  requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -242,6 +250,7 @@ export declare const platformProbeCapability: {
242
250
  openvino: "openvino";
243
251
  tflite: "tflite";
244
252
  pt: "pt";
253
+ gguf: "gguf";
245
254
  }>;
246
255
  reason: z.ZodString;
247
256
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;