@camstack/types 1.2.98 → 1.2.99
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/alerts.cap.d.ts +5 -5
- package/dist/capabilities/custom-model-registry.cap.d.ts +18 -0
- package/dist/capabilities/decoder.cap.d.ts +12 -12
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +38 -7
- package/dist/capabilities/model-convert.cap.d.ts +27 -0
- package/dist/capabilities/model-distributor.cap.d.ts +18 -0
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/native-object-detection.cap.d.ts +15 -15
- package/dist/capabilities/notification-rules.cap.d.ts +2 -2
- package/dist/capabilities/osd-manager.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +10 -10
- package/dist/capabilities/pipeline-executor.cap.d.ts +16 -12
- package/dist/capabilities/pipeline-runner.cap.d.ts +182 -5
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +6 -6
- package/dist/capabilities/stream-broker.cap.d.ts +3 -3
- package/dist/capabilities/zone-rules.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/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +141 -15
- package/dist/index.mjs +138 -16
- package/dist/interfaces/pipeline-executor-capability.d.ts +3 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +31 -0
- package/dist/interfaces/stream-broker.d.ts +5 -2
- package/dist/types/frame-view.d.ts +52 -0
- package/dist/types/io.d.ts +3 -0
- package/dist/types/labels.d.ts +11 -0
- package/dist/types/models.d.ts +27 -0
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { type InferProvider } from './capability-definition.js';
|
|
10
10
|
export declare const AlertSeveritySchema: z.ZodEnum<{
|
|
11
|
-
error: "error";
|
|
12
11
|
success: "success";
|
|
12
|
+
error: "error";
|
|
13
13
|
info: "info";
|
|
14
14
|
warning: "warning";
|
|
15
15
|
}>;
|
|
@@ -28,8 +28,8 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
28
28
|
id: z.ZodString;
|
|
29
29
|
category: z.ZodString;
|
|
30
30
|
severity: z.ZodEnum<{
|
|
31
|
-
error: "error";
|
|
32
31
|
success: "success";
|
|
32
|
+
error: "error";
|
|
33
33
|
info: "info";
|
|
34
34
|
warning: "warning";
|
|
35
35
|
}>;
|
|
@@ -64,8 +64,8 @@ export declare const alertsCapability: {
|
|
|
64
64
|
id: z.ZodString;
|
|
65
65
|
category: z.ZodString;
|
|
66
66
|
severity: z.ZodEnum<{
|
|
67
|
-
error: "error";
|
|
68
67
|
success: "success";
|
|
68
|
+
error: "error";
|
|
69
69
|
info: "info";
|
|
70
70
|
warning: "warning";
|
|
71
71
|
}>;
|
|
@@ -94,8 +94,8 @@ export declare const alertsCapability: {
|
|
|
94
94
|
id: z.ZodOptional<z.ZodString>;
|
|
95
95
|
category: z.ZodOptional<z.ZodString>;
|
|
96
96
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
97
|
-
error: "error";
|
|
98
97
|
success: "success";
|
|
98
|
+
error: "error";
|
|
99
99
|
info: "info";
|
|
100
100
|
warning: "warning";
|
|
101
101
|
}>>;
|
|
@@ -126,8 +126,8 @@ export declare const alertsCapability: {
|
|
|
126
126
|
id: z.ZodString;
|
|
127
127
|
category: z.ZodString;
|
|
128
128
|
severity: z.ZodEnum<{
|
|
129
|
-
error: "error";
|
|
130
129
|
success: "success";
|
|
130
|
+
error: "error";
|
|
131
131
|
info: "info";
|
|
132
132
|
warning: "warning";
|
|
133
133
|
}>;
|
|
@@ -137,6 +137,15 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
137
137
|
}>>;
|
|
138
138
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
139
139
|
}, z.core.$strip>>;
|
|
140
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
142
|
+
person: "person";
|
|
143
|
+
vehicle: "vehicle";
|
|
144
|
+
animal: "animal";
|
|
145
|
+
package: "package";
|
|
146
|
+
}>>;
|
|
147
|
+
preserveOriginal: z.ZodBoolean;
|
|
148
|
+
}, z.core.$strip>>;
|
|
140
149
|
}, z.core.$strip>;
|
|
141
150
|
}, z.core.$strip>;
|
|
142
151
|
export type CustomModelDescriptor = z.infer<typeof CustomModelDescriptorSchema>;
|
|
@@ -266,6 +275,15 @@ export declare const customModelRegistryCapability: {
|
|
|
266
275
|
}>>;
|
|
267
276
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
268
277
|
}, z.core.$strip>>;
|
|
278
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
280
|
+
person: "person";
|
|
281
|
+
vehicle: "vehicle";
|
|
282
|
+
animal: "animal";
|
|
283
|
+
package: "package";
|
|
284
|
+
}>>;
|
|
285
|
+
preserveOriginal: z.ZodBoolean;
|
|
286
|
+
}, z.core.$strip>>;
|
|
269
287
|
}, z.core.$strip>;
|
|
270
288
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
271
289
|
};
|
|
@@ -68,11 +68,11 @@ export declare const decoderCapability: {
|
|
|
68
68
|
codec: z.ZodString;
|
|
69
69
|
maxFps: z.ZodDefault<z.ZodNumber>;
|
|
70
70
|
outputFormat: z.ZodDefault<z.ZodEnum<{
|
|
71
|
-
jpeg: "jpeg";
|
|
72
71
|
rgb: "rgb";
|
|
72
|
+
gray: "gray";
|
|
73
|
+
jpeg: "jpeg";
|
|
73
74
|
bgr: "bgr";
|
|
74
75
|
yuv420: "yuv420";
|
|
75
|
-
gray: "gray";
|
|
76
76
|
}>>;
|
|
77
77
|
scale: z.ZodDefault<z.ZodNumber>;
|
|
78
78
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -118,11 +118,11 @@ export declare const decoderCapability: {
|
|
|
118
118
|
width: z.ZodNumber;
|
|
119
119
|
height: z.ZodNumber;
|
|
120
120
|
format: z.ZodEnum<{
|
|
121
|
-
jpeg: "jpeg";
|
|
122
121
|
rgb: "rgb";
|
|
122
|
+
gray: "gray";
|
|
123
|
+
jpeg: "jpeg";
|
|
123
124
|
bgr: "bgr";
|
|
124
125
|
yuv420: "yuv420";
|
|
125
|
-
gray: "gray";
|
|
126
126
|
}>;
|
|
127
127
|
timestamp: z.ZodNumber;
|
|
128
128
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -137,11 +137,11 @@ export declare const decoderCapability: {
|
|
|
137
137
|
width: z.ZodNumber;
|
|
138
138
|
height: z.ZodNumber;
|
|
139
139
|
format: z.ZodEnum<{
|
|
140
|
-
jpeg: "jpeg";
|
|
141
140
|
rgb: "rgb";
|
|
141
|
+
gray: "gray";
|
|
142
|
+
jpeg: "jpeg";
|
|
142
143
|
bgr: "bgr";
|
|
143
144
|
yuv420: "yuv420";
|
|
144
|
-
gray: "gray";
|
|
145
145
|
}>;
|
|
146
146
|
pts: z.ZodNumber;
|
|
147
147
|
byteLength: z.ZodNumber;
|
|
@@ -156,11 +156,11 @@ export declare const decoderCapability: {
|
|
|
156
156
|
width: z.ZodNumber;
|
|
157
157
|
height: z.ZodNumber;
|
|
158
158
|
format: z.ZodEnum<{
|
|
159
|
-
jpeg: "jpeg";
|
|
160
159
|
rgb: "rgb";
|
|
160
|
+
gray: "gray";
|
|
161
|
+
jpeg: "jpeg";
|
|
161
162
|
bgr: "bgr";
|
|
162
163
|
yuv420: "yuv420";
|
|
163
|
-
gray: "gray";
|
|
164
164
|
}>;
|
|
165
165
|
pts: z.ZodNumber;
|
|
166
166
|
byteLength: z.ZodNumber;
|
|
@@ -172,11 +172,11 @@ export declare const decoderCapability: {
|
|
|
172
172
|
width: z.ZodNumber;
|
|
173
173
|
height: z.ZodNumber;
|
|
174
174
|
format: z.ZodEnum<{
|
|
175
|
-
jpeg: "jpeg";
|
|
176
175
|
rgb: "rgb";
|
|
176
|
+
gray: "gray";
|
|
177
|
+
jpeg: "jpeg";
|
|
177
178
|
bgr: "bgr";
|
|
178
179
|
yuv420: "yuv420";
|
|
179
|
-
gray: "gray";
|
|
180
180
|
}>;
|
|
181
181
|
timestamp: z.ZodNumber;
|
|
182
182
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -198,11 +198,11 @@ export declare const decoderCapability: {
|
|
|
198
198
|
codec: z.ZodOptional<z.ZodString>;
|
|
199
199
|
maxFps: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
200
200
|
outputFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
201
|
-
jpeg: "jpeg";
|
|
202
201
|
rgb: "rgb";
|
|
202
|
+
gray: "gray";
|
|
203
|
+
jpeg: "jpeg";
|
|
203
204
|
bgr: "bgr";
|
|
204
205
|
yuv420: "yuv420";
|
|
205
|
-
gray: "gray";
|
|
206
206
|
}>>>;
|
|
207
207
|
scale: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
208
208
|
width: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -82,7 +82,7 @@ export { ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema
|
|
|
82
82
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
83
83
|
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
84
84
|
export type { DetailParent, DetailResult, MotionSource, MotionSources, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
|
|
85
|
-
export { MotionSourceEnum, MotionSourcesSchema, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
85
|
+
export { MotionSourceEnum, MotionSourcesSchema, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
86
86
|
export { AudioChunkInputSchema, AudioClassificationLabelSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
87
87
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
88
88
|
export type { CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, FrameHandleFormat, ProfileRtspEntry, ProfileSlot, ProfileSlotStatus, SubscribeAudioChunksInput, SubscribeAudioChunksResult, SubscribeFramesInput, SubscribeFramesResult, } from './schemas/streaming-shared.js';
|
|
@@ -95,6 +95,16 @@ declare const NotificationEndpointSchema: z.ZodObject<{
|
|
|
95
95
|
resolved: z.ZodNullable<z.ZodString>;
|
|
96
96
|
}, z.core.$strip>;
|
|
97
97
|
export type NotificationEndpoint = z.infer<typeof NotificationEndpointSchema>;
|
|
98
|
+
/**
|
|
99
|
+
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
100
|
+
* AUTO (every LAN IPv4 + the public tunnel). `resolved` is what that choice
|
|
101
|
+
* currently expands to, so the UI can show the effective set either way.
|
|
102
|
+
*/
|
|
103
|
+
declare const ViewerEndpointsSchema: z.ZodObject<{
|
|
104
|
+
baseUrls: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
105
|
+
resolved: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export type ViewerEndpoints = z.infer<typeof ViewerEndpointsSchema>;
|
|
98
108
|
export declare const localNetworkCapability: {
|
|
99
109
|
readonly name: "local-network";
|
|
100
110
|
readonly scope: "system";
|
|
@@ -161,13 +171,13 @@ export declare const localNetworkCapability: {
|
|
|
161
171
|
plausibleReason: z.ZodString;
|
|
162
172
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
163
173
|
/**
|
|
164
|
-
* Ordered candidate base URLs the
|
|
165
|
-
* Includes LAN
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
174
|
+
* Ordered candidate base URLs (the palette the Network tab shows).
|
|
175
|
+
* Includes LAN IPv4, stable LAN IPv6, the public tunnel, and mesh when
|
|
176
|
+
* joined. Loopback is off by default. The SDK races the subset from
|
|
177
|
+
* `getViewerEndpoints`, not this full list — IPv6 stays here because
|
|
178
|
+
* WebRTC ICE gathers dual-stack regardless of the HTTP race. Honours
|
|
179
|
+
* `getAllowedAddresses()` when set — addresses outside the allowlist
|
|
180
|
+
* are dropped (the public tunnel is still included as an escape hatch).
|
|
171
181
|
*
|
|
172
182
|
* **The port is the hub's, not the caller's** (D62 — a function's fact
|
|
173
183
|
* belongs to whoever already owns it). This method used to take a `port`
|
|
@@ -258,6 +268,27 @@ export declare const localNetworkCapability: {
|
|
|
258
268
|
baseUrl: z.ZodNullable<z.ZodString>;
|
|
259
269
|
resolved: z.ZodNullable<z.ZodString>;
|
|
260
270
|
}, z.core.$strip>, "mutation">;
|
|
271
|
+
/**
|
|
272
|
+
* The endpoints the SDK / viewer races for API access. Empty `baseUrls`
|
|
273
|
+
* means AUTO: every LAN IPv4 address plus the public tunnel, never IPv6,
|
|
274
|
+
* never mesh, never loopback. `resolved` is that set (or the operator's
|
|
275
|
+
* explicit subset) as it stands right now.
|
|
276
|
+
*/
|
|
277
|
+
readonly getViewerEndpoints: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
278
|
+
baseUrls: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
279
|
+
resolved: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
280
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
281
|
+
/**
|
|
282
|
+
* Replace the viewer race set. Empty `baseUrls` restores AUTO. Stored
|
|
283
|
+
* verbatim (not indices) so a temporarily-down tunnel is not silently
|
|
284
|
+
* dropped from the operator's choice.
|
|
285
|
+
*/
|
|
286
|
+
readonly setViewerEndpoints: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
287
|
+
baseUrls: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
baseUrls: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
290
|
+
resolved: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
291
|
+
}, z.core.$strip>, "mutation">;
|
|
261
292
|
/**
|
|
262
293
|
* Read the operator's allowlist. Empty = "auto" (no filter). Used
|
|
263
294
|
* by the admin UI's address selector to seed its checkbox state.
|
|
@@ -38,6 +38,15 @@ export declare const ModelConvertInputSchema: z.ZodObject<{
|
|
|
38
38
|
segmentation: "segmentation";
|
|
39
39
|
}>;
|
|
40
40
|
faceAlignment: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
43
|
+
person: "person";
|
|
44
|
+
vehicle: "vehicle";
|
|
45
|
+
animal: "animal";
|
|
46
|
+
package: "package";
|
|
47
|
+
}>>;
|
|
48
|
+
preserveOriginal: z.ZodBoolean;
|
|
49
|
+
}, z.core.$strip>>;
|
|
41
50
|
}, z.core.$strip>;
|
|
42
51
|
targets: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
43
52
|
format: z.ZodLiteral<"openvino">;
|
|
@@ -96,6 +105,15 @@ export declare const modelConvertCapability: {
|
|
|
96
105
|
segmentation: "segmentation";
|
|
97
106
|
}>;
|
|
98
107
|
faceAlignment: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
110
|
+
person: "person";
|
|
111
|
+
vehicle: "vehicle";
|
|
112
|
+
animal: "animal";
|
|
113
|
+
package: "package";
|
|
114
|
+
}>>;
|
|
115
|
+
preserveOriginal: z.ZodBoolean;
|
|
116
|
+
}, z.core.$strip>>;
|
|
99
117
|
}, z.core.$strip>;
|
|
100
118
|
targets: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
101
119
|
format: z.ZodLiteral<"openvino">;
|
|
@@ -227,6 +245,15 @@ export declare const modelConvertCapability: {
|
|
|
227
245
|
}>>;
|
|
228
246
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
229
247
|
}, z.core.$strip>>;
|
|
248
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
250
|
+
person: "person";
|
|
251
|
+
vehicle: "vehicle";
|
|
252
|
+
animal: "animal";
|
|
253
|
+
package: "package";
|
|
254
|
+
}>>;
|
|
255
|
+
preserveOriginal: z.ZodBoolean;
|
|
256
|
+
}, z.core.$strip>>;
|
|
230
257
|
}, z.core.$strip>;
|
|
231
258
|
artifacts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
232
259
|
format: z.ZodEnum<{
|
|
@@ -139,6 +139,15 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
139
139
|
}>>;
|
|
140
140
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
141
141
|
}, z.core.$strip>>;
|
|
142
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
144
|
+
person: "person";
|
|
145
|
+
vehicle: "vehicle";
|
|
146
|
+
animal: "animal";
|
|
147
|
+
package: "package";
|
|
148
|
+
}>>;
|
|
149
|
+
preserveOriginal: z.ZodBoolean;
|
|
150
|
+
}, z.core.$strip>>;
|
|
142
151
|
}, z.core.$strip>;
|
|
143
152
|
}, z.core.$strip>;
|
|
144
153
|
export declare const ModelDistributeResultSchema: z.ZodObject<{
|
|
@@ -282,6 +291,15 @@ export declare const modelDistributorCapability: {
|
|
|
282
291
|
}>>;
|
|
283
292
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
284
293
|
}, z.core.$strip>>;
|
|
294
|
+
classMap: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
296
|
+
person: "person";
|
|
297
|
+
vehicle: "vehicle";
|
|
298
|
+
animal: "animal";
|
|
299
|
+
package: "package";
|
|
300
|
+
}>>;
|
|
301
|
+
preserveOriginal: z.ZodBoolean;
|
|
302
|
+
}, z.core.$strip>>;
|
|
285
303
|
}, z.core.$strip>;
|
|
286
304
|
}, z.core.$strip>, z.ZodObject<{
|
|
287
305
|
ok: z.ZodBoolean;
|
|
@@ -55,11 +55,11 @@ export declare const motionDetectionCapability: {
|
|
|
55
55
|
frame: z.ZodOptional<z.ZodObject<{
|
|
56
56
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
57
57
|
format: z.ZodEnum<{
|
|
58
|
-
jpeg: "jpeg";
|
|
59
58
|
rgb: "rgb";
|
|
59
|
+
gray: "gray";
|
|
60
|
+
jpeg: "jpeg";
|
|
60
61
|
bgr: "bgr";
|
|
61
62
|
yuv420: "yuv420";
|
|
62
|
-
gray: "gray";
|
|
63
63
|
}>;
|
|
64
64
|
width: z.ZodNumber;
|
|
65
65
|
height: z.ZodNumber;
|
|
@@ -72,11 +72,11 @@ export declare const motionDetectionCapability: {
|
|
|
72
72
|
width: z.ZodNumber;
|
|
73
73
|
height: z.ZodNumber;
|
|
74
74
|
format: z.ZodEnum<{
|
|
75
|
-
jpeg: "jpeg";
|
|
76
75
|
rgb: "rgb";
|
|
76
|
+
gray: "gray";
|
|
77
|
+
jpeg: "jpeg";
|
|
77
78
|
bgr: "bgr";
|
|
78
79
|
yuv420: "yuv420";
|
|
79
|
-
gray: "gray";
|
|
80
80
|
}>;
|
|
81
81
|
pts: z.ZodNumber;
|
|
82
82
|
byteLength: z.ZodNumber;
|
|
@@ -18,8 +18,8 @@ export declare const NativeObjectClassEnum: z.ZodEnum<{
|
|
|
18
18
|
vehicle: "vehicle";
|
|
19
19
|
animal: "animal";
|
|
20
20
|
face: "face";
|
|
21
|
-
other: "other";
|
|
22
21
|
package: "package";
|
|
22
|
+
other: "other";
|
|
23
23
|
}>;
|
|
24
24
|
export type NativeObjectClass = z.infer<typeof NativeObjectClassEnum>;
|
|
25
25
|
export declare const NativeDetectionSchema: z.ZodObject<{
|
|
@@ -28,8 +28,8 @@ export declare const NativeDetectionSchema: z.ZodObject<{
|
|
|
28
28
|
vehicle: "vehicle";
|
|
29
29
|
animal: "animal";
|
|
30
30
|
face: "face";
|
|
31
|
-
other: "other";
|
|
32
31
|
package: "package";
|
|
32
|
+
other: "other";
|
|
33
33
|
}>;
|
|
34
34
|
timestamp: z.ZodNumber;
|
|
35
35
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -41,16 +41,16 @@ export declare const NativeObjectDetectionStatusSchema: z.ZodObject<{
|
|
|
41
41
|
vehicle: "vehicle";
|
|
42
42
|
animal: "animal";
|
|
43
43
|
face: "face";
|
|
44
|
-
other: "other";
|
|
45
44
|
package: "package";
|
|
45
|
+
other: "other";
|
|
46
46
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
47
47
|
class: z.ZodEnum<{
|
|
48
48
|
person: "person";
|
|
49
49
|
vehicle: "vehicle";
|
|
50
50
|
animal: "animal";
|
|
51
51
|
face: "face";
|
|
52
|
-
other: "other";
|
|
53
52
|
package: "package";
|
|
53
|
+
other: "other";
|
|
54
54
|
}>;
|
|
55
55
|
timestamp: z.ZodNumber;
|
|
56
56
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -60,8 +60,8 @@ export declare const NativeObjectDetectionStatusSchema: z.ZodObject<{
|
|
|
60
60
|
vehicle: "vehicle";
|
|
61
61
|
animal: "animal";
|
|
62
62
|
face: "face";
|
|
63
|
-
other: "other";
|
|
64
63
|
package: "package";
|
|
64
|
+
other: "other";
|
|
65
65
|
}>>>;
|
|
66
66
|
enabled: z.ZodBoolean;
|
|
67
67
|
}, z.core.$strip>;
|
|
@@ -72,16 +72,16 @@ export declare const NativeObjectDetectionRuntimeStateSchema: z.ZodObject<{
|
|
|
72
72
|
vehicle: "vehicle";
|
|
73
73
|
animal: "animal";
|
|
74
74
|
face: "face";
|
|
75
|
-
other: "other";
|
|
76
75
|
package: "package";
|
|
76
|
+
other: "other";
|
|
77
77
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
78
78
|
class: z.ZodEnum<{
|
|
79
79
|
person: "person";
|
|
80
80
|
vehicle: "vehicle";
|
|
81
81
|
animal: "animal";
|
|
82
82
|
face: "face";
|
|
83
|
-
other: "other";
|
|
84
83
|
package: "package";
|
|
84
|
+
other: "other";
|
|
85
85
|
}>;
|
|
86
86
|
timestamp: z.ZodNumber;
|
|
87
87
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -91,8 +91,8 @@ export declare const NativeObjectDetectionRuntimeStateSchema: z.ZodObject<{
|
|
|
91
91
|
vehicle: "vehicle";
|
|
92
92
|
animal: "animal";
|
|
93
93
|
face: "face";
|
|
94
|
-
other: "other";
|
|
95
94
|
package: "package";
|
|
95
|
+
other: "other";
|
|
96
96
|
}>>>;
|
|
97
97
|
enabled: z.ZodBoolean;
|
|
98
98
|
lastFetchedAt: z.ZodNumber;
|
|
@@ -120,8 +120,8 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
120
120
|
vehicle: "vehicle";
|
|
121
121
|
animal: "animal";
|
|
122
122
|
face: "face";
|
|
123
|
-
other: "other";
|
|
124
123
|
package: "package";
|
|
124
|
+
other: "other";
|
|
125
125
|
}>;
|
|
126
126
|
timestamp: z.ZodNumber;
|
|
127
127
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -136,16 +136,16 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
136
136
|
vehicle: "vehicle";
|
|
137
137
|
animal: "animal";
|
|
138
138
|
face: "face";
|
|
139
|
-
other: "other";
|
|
140
139
|
package: "package";
|
|
140
|
+
other: "other";
|
|
141
141
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
142
142
|
class: z.ZodEnum<{
|
|
143
143
|
person: "person";
|
|
144
144
|
vehicle: "vehicle";
|
|
145
145
|
animal: "animal";
|
|
146
146
|
face: "face";
|
|
147
|
-
other: "other";
|
|
148
147
|
package: "package";
|
|
148
|
+
other: "other";
|
|
149
149
|
}>;
|
|
150
150
|
timestamp: z.ZodNumber;
|
|
151
151
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -155,8 +155,8 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
155
155
|
vehicle: "vehicle";
|
|
156
156
|
animal: "animal";
|
|
157
157
|
face: "face";
|
|
158
|
-
other: "other";
|
|
159
158
|
package: "package";
|
|
159
|
+
other: "other";
|
|
160
160
|
}>>>;
|
|
161
161
|
enabled: z.ZodBoolean;
|
|
162
162
|
}, z.core.$strip>;
|
|
@@ -168,16 +168,16 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
168
168
|
vehicle: "vehicle";
|
|
169
169
|
animal: "animal";
|
|
170
170
|
face: "face";
|
|
171
|
-
other: "other";
|
|
172
171
|
package: "package";
|
|
172
|
+
other: "other";
|
|
173
173
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
174
174
|
class: z.ZodEnum<{
|
|
175
175
|
person: "person";
|
|
176
176
|
vehicle: "vehicle";
|
|
177
177
|
animal: "animal";
|
|
178
178
|
face: "face";
|
|
179
|
-
other: "other";
|
|
180
179
|
package: "package";
|
|
180
|
+
other: "other";
|
|
181
181
|
}>;
|
|
182
182
|
timestamp: z.ZodNumber;
|
|
183
183
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -187,8 +187,8 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
187
187
|
vehicle: "vehicle";
|
|
188
188
|
animal: "animal";
|
|
189
189
|
face: "face";
|
|
190
|
-
other: "other";
|
|
191
190
|
package: "package";
|
|
191
|
+
other: "other";
|
|
192
192
|
}>>>;
|
|
193
193
|
enabled: z.ZodBoolean;
|
|
194
194
|
lastFetchedAt: z.ZodNumber;
|
|
@@ -1587,6 +1587,7 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
|
|
|
1587
1587
|
id: z.ZodString;
|
|
1588
1588
|
group: z.ZodEnum<{
|
|
1589
1589
|
audio: "audio";
|
|
1590
|
+
package: "package";
|
|
1590
1591
|
system: "system";
|
|
1591
1592
|
device: "device";
|
|
1592
1593
|
label: "label";
|
|
@@ -1594,7 +1595,6 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
|
|
|
1594
1595
|
class: "class";
|
|
1595
1596
|
zones: "zones";
|
|
1596
1597
|
schedule: "schedule";
|
|
1597
|
-
package: "package";
|
|
1598
1598
|
occupancy: "occupancy";
|
|
1599
1599
|
quality: "quality";
|
|
1600
1600
|
}>;
|
|
@@ -3853,6 +3853,7 @@ export declare const notificationRulesCapability: {
|
|
|
3853
3853
|
id: z.ZodString;
|
|
3854
3854
|
group: z.ZodEnum<{
|
|
3855
3855
|
audio: "audio";
|
|
3856
|
+
package: "package";
|
|
3856
3857
|
system: "system";
|
|
3857
3858
|
device: "device";
|
|
3858
3859
|
label: "label";
|
|
@@ -3860,7 +3861,6 @@ export declare const notificationRulesCapability: {
|
|
|
3860
3861
|
class: "class";
|
|
3861
3862
|
zones: "zones";
|
|
3862
3863
|
schedule: "schedule";
|
|
3863
|
-
package: "package";
|
|
3864
3864
|
occupancy: "occupancy";
|
|
3865
3865
|
quality: "quality";
|
|
3866
3866
|
}>;
|
|
@@ -639,6 +639,7 @@ export declare const osdManagerCapability: {
|
|
|
639
639
|
id: z.ZodString;
|
|
640
640
|
group: z.ZodEnum<{
|
|
641
641
|
audio: "audio";
|
|
642
|
+
package: "package";
|
|
642
643
|
system: "system";
|
|
643
644
|
device: "device";
|
|
644
645
|
label: "label";
|
|
@@ -646,7 +647,6 @@ export declare const osdManagerCapability: {
|
|
|
646
647
|
class: "class";
|
|
647
648
|
zones: "zones";
|
|
648
649
|
schedule: "schedule";
|
|
649
|
-
package: "package";
|
|
650
650
|
occupancy: "occupancy";
|
|
651
651
|
quality: "quality";
|
|
652
652
|
}>;
|
|
@@ -64,11 +64,11 @@ export declare const EventKindIconSchema: z.ZodEnum<{
|
|
|
64
64
|
person: "person";
|
|
65
65
|
vehicle: "vehicle";
|
|
66
66
|
animal: "animal";
|
|
67
|
+
package: "package";
|
|
67
68
|
button: "button";
|
|
68
69
|
generic: "generic";
|
|
69
70
|
motion: "motion";
|
|
70
71
|
smoke: "smoke";
|
|
71
|
-
package: "package";
|
|
72
72
|
water: "water";
|
|
73
73
|
door: "door";
|
|
74
74
|
pir: "pir";
|
|
@@ -76,11 +76,11 @@ export declare const EventKindIconSchema: z.ZodEnum<{
|
|
|
76
76
|
export type EventKindIcon = z.infer<typeof EventKindIconSchema>;
|
|
77
77
|
export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
78
78
|
audio: "audio";
|
|
79
|
+
package: "package";
|
|
79
80
|
custom: "custom";
|
|
80
81
|
sensor: "sensor";
|
|
81
82
|
control: "control";
|
|
82
83
|
motion: "motion";
|
|
83
|
-
package: "package";
|
|
84
84
|
detection: "detection";
|
|
85
85
|
}>;
|
|
86
86
|
export type EventKindCategory = z.infer<typeof EventKindCategorySchema>;
|
|
@@ -101,22 +101,22 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
101
101
|
person: "person";
|
|
102
102
|
vehicle: "vehicle";
|
|
103
103
|
animal: "animal";
|
|
104
|
+
package: "package";
|
|
104
105
|
button: "button";
|
|
105
106
|
generic: "generic";
|
|
106
107
|
motion: "motion";
|
|
107
108
|
smoke: "smoke";
|
|
108
|
-
package: "package";
|
|
109
109
|
water: "water";
|
|
110
110
|
door: "door";
|
|
111
111
|
pir: "pir";
|
|
112
112
|
}>;
|
|
113
113
|
category: z.ZodEnum<{
|
|
114
114
|
audio: "audio";
|
|
115
|
+
package: "package";
|
|
115
116
|
custom: "custom";
|
|
116
117
|
sensor: "sensor";
|
|
117
118
|
control: "control";
|
|
118
119
|
motion: "motion";
|
|
119
|
-
package: "package";
|
|
120
120
|
detection: "detection";
|
|
121
121
|
}>;
|
|
122
122
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -144,22 +144,22 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
|
|
|
144
144
|
person: "person";
|
|
145
145
|
vehicle: "vehicle";
|
|
146
146
|
animal: "animal";
|
|
147
|
+
package: "package";
|
|
147
148
|
button: "button";
|
|
148
149
|
generic: "generic";
|
|
149
150
|
motion: "motion";
|
|
150
151
|
smoke: "smoke";
|
|
151
|
-
package: "package";
|
|
152
152
|
water: "water";
|
|
153
153
|
door: "door";
|
|
154
154
|
pir: "pir";
|
|
155
155
|
}>;
|
|
156
156
|
category: z.ZodEnum<{
|
|
157
157
|
audio: "audio";
|
|
158
|
+
package: "package";
|
|
158
159
|
custom: "custom";
|
|
159
160
|
sensor: "sensor";
|
|
160
161
|
control: "control";
|
|
161
162
|
motion: "motion";
|
|
162
|
-
package: "package";
|
|
163
163
|
detection: "detection";
|
|
164
164
|
}>;
|
|
165
165
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -1849,22 +1849,22 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1849
1849
|
person: "person";
|
|
1850
1850
|
vehicle: "vehicle";
|
|
1851
1851
|
animal: "animal";
|
|
1852
|
+
package: "package";
|
|
1852
1853
|
button: "button";
|
|
1853
1854
|
generic: "generic";
|
|
1854
1855
|
motion: "motion";
|
|
1855
1856
|
smoke: "smoke";
|
|
1856
|
-
package: "package";
|
|
1857
1857
|
water: "water";
|
|
1858
1858
|
door: "door";
|
|
1859
1859
|
pir: "pir";
|
|
1860
1860
|
}>;
|
|
1861
1861
|
category: z.ZodEnum<{
|
|
1862
1862
|
audio: "audio";
|
|
1863
|
+
package: "package";
|
|
1863
1864
|
custom: "custom";
|
|
1864
1865
|
sensor: "sensor";
|
|
1865
1866
|
control: "control";
|
|
1866
1867
|
motion: "motion";
|
|
1867
|
-
package: "package";
|
|
1868
1868
|
detection: "detection";
|
|
1869
1869
|
}>;
|
|
1870
1870
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -1910,22 +1910,22 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1910
1910
|
person: "person";
|
|
1911
1911
|
vehicle: "vehicle";
|
|
1912
1912
|
animal: "animal";
|
|
1913
|
+
package: "package";
|
|
1913
1914
|
button: "button";
|
|
1914
1915
|
generic: "generic";
|
|
1915
1916
|
motion: "motion";
|
|
1916
1917
|
smoke: "smoke";
|
|
1917
|
-
package: "package";
|
|
1918
1918
|
water: "water";
|
|
1919
1919
|
door: "door";
|
|
1920
1920
|
pir: "pir";
|
|
1921
1921
|
}>;
|
|
1922
1922
|
category: z.ZodEnum<{
|
|
1923
1923
|
audio: "audio";
|
|
1924
|
+
package: "package";
|
|
1924
1925
|
custom: "custom";
|
|
1925
1926
|
sensor: "sensor";
|
|
1926
1927
|
control: "control";
|
|
1927
1928
|
motion: "motion";
|
|
1928
|
-
package: "package";
|
|
1929
1929
|
detection: "detection";
|
|
1930
1930
|
}>;
|
|
1931
1931
|
parentKind: z.ZodNullable<z.ZodString>;
|