@camstack/types 1.2.335 → 1.2.337
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/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +275 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +66 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +78 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -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
|
-
thumbnail: "thumbnail";
|
|
44
43
|
keyFrame: "keyFrame";
|
|
44
|
+
thumbnail: "thumbnail";
|
|
45
45
|
}>;
|
|
46
46
|
export type ParkedFrameKind = z.infer<typeof ParkedFrameKindSchema>;
|
|
47
47
|
/**
|
|
@@ -56,8 +56,8 @@ export type ParkedFrameKind = z.infer<typeof ParkedFrameKindSchema>;
|
|
|
56
56
|
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
57
57
|
*/
|
|
58
58
|
export declare const ParkRefusalSchema: z.ZodEnum<{
|
|
59
|
-
"handle-gone": "handle-gone";
|
|
60
59
|
"encode-failed": "encode-failed";
|
|
60
|
+
"handle-gone": "handle-gone";
|
|
61
61
|
}>;
|
|
62
62
|
export type ParkRefusal = z.infer<typeof ParkRefusalSchema>;
|
|
63
63
|
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
@@ -72,8 +72,8 @@ export declare const ParkTrackFrameResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
72
72
|
parked: z.ZodLiteral<false>;
|
|
73
73
|
nodeId: z.ZodString;
|
|
74
74
|
reason: z.ZodEnum<{
|
|
75
|
-
"handle-gone": "handle-gone";
|
|
76
75
|
"encode-failed": "encode-failed";
|
|
76
|
+
"handle-gone": "handle-gone";
|
|
77
77
|
}>;
|
|
78
78
|
handleAgeMs: z.ZodNullable<z.ZodNumber>;
|
|
79
79
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -146,10 +146,10 @@ export type DetailResult = z.infer<typeof DetailResultSchema>;
|
|
|
146
146
|
* spread the same failure.
|
|
147
147
|
*/
|
|
148
148
|
declare const StatelessStepRefusalSchema: z.ZodEnum<{
|
|
149
|
-
"unreadable-frame": "unreadable-frame";
|
|
150
|
-
"unknown-step": "unknown-step";
|
|
151
|
-
"model-not-servable": "model-not-servable";
|
|
152
149
|
"execution-failed": "execution-failed";
|
|
150
|
+
"model-not-servable": "model-not-servable";
|
|
151
|
+
"unknown-step": "unknown-step";
|
|
152
|
+
"unreadable-frame": "unreadable-frame";
|
|
153
153
|
}>;
|
|
154
154
|
export type StatelessStepRefusal = z.infer<typeof StatelessStepRefusalSchema>;
|
|
155
155
|
/**
|
|
@@ -175,9 +175,9 @@ export type StatelessStepRefusal = z.infer<typeof StatelessStepRefusalSchema>;
|
|
|
175
175
|
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
176
176
|
*/
|
|
177
177
|
export declare const MotionSourceEnum: z.ZodEnum<{
|
|
178
|
-
onboard: "onboard";
|
|
179
178
|
analyzer: "analyzer";
|
|
180
179
|
"device-activity": "device-activity";
|
|
180
|
+
onboard: "onboard";
|
|
181
181
|
}>;
|
|
182
182
|
export type MotionSource = z.infer<typeof MotionSourceEnum>;
|
|
183
183
|
/**
|
|
@@ -193,9 +193,9 @@ export type MotionSource = z.infer<typeof MotionSourceEnum>;
|
|
|
193
193
|
*/
|
|
194
194
|
export declare const SessionTriggerSchema: z.ZodObject<{
|
|
195
195
|
source: z.ZodEnum<{
|
|
196
|
-
onboard: "onboard";
|
|
197
196
|
analyzer: "analyzer";
|
|
198
197
|
"device-activity": "device-activity";
|
|
198
|
+
onboard: "onboard";
|
|
199
199
|
}>;
|
|
200
200
|
triggeredBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
201
201
|
kind: z.ZodLiteral<"camera">;
|
|
@@ -221,9 +221,9 @@ export type SessionTrigger = z.infer<typeof SessionTriggerSchema>;
|
|
|
221
221
|
* (orchestrator, runner, settings UI, dispatch) imports from here.
|
|
222
222
|
*/
|
|
223
223
|
export declare const MotionSourcesSchema: z.ZodArray<z.ZodEnum<{
|
|
224
|
-
onboard: "onboard";
|
|
225
224
|
analyzer: "analyzer";
|
|
226
225
|
"device-activity": "device-activity";
|
|
226
|
+
onboard: "onboard";
|
|
227
227
|
}>>;
|
|
228
228
|
export type MotionSources = z.infer<typeof MotionSourcesSchema>;
|
|
229
229
|
/**
|
|
@@ -269,8 +269,8 @@ export declare function motionSourceLabel(value: string): string;
|
|
|
269
269
|
* `["pipeline"]` and 2 `["onboard"]`. Not one camera had two.
|
|
270
270
|
*/
|
|
271
271
|
export declare const DetectionSourcesSchema: z.ZodPreprocess<z.ZodArray<z.ZodEnum<{
|
|
272
|
-
pipeline: "pipeline";
|
|
273
272
|
onboard: "onboard";
|
|
273
|
+
pipeline: "pipeline";
|
|
274
274
|
}>>>;
|
|
275
275
|
export type DetectionSources = z.infer<typeof DetectionSourcesSchema>;
|
|
276
276
|
/**
|
|
@@ -283,9 +283,9 @@ export declare const ReportMotionInputSchema: z.ZodObject<{
|
|
|
283
283
|
deviceId: z.ZodNumber;
|
|
284
284
|
detected: z.ZodBoolean;
|
|
285
285
|
source: z.ZodDefault<z.ZodEnum<{
|
|
286
|
-
onboard: "onboard";
|
|
287
286
|
analyzer: "analyzer";
|
|
288
287
|
"device-activity": "device-activity";
|
|
288
|
+
onboard: "onboard";
|
|
289
289
|
}>>;
|
|
290
290
|
regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
291
291
|
bbox: z.ZodObject<{
|
|
@@ -371,13 +371,13 @@ export type RunnerInferenceDevice = z.infer<typeof RunnerInferenceDeviceSchema>;
|
|
|
371
371
|
declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
372
372
|
deviceId: z.ZodNumber;
|
|
373
373
|
detectionMode: z.ZodDefault<z.ZodEnum<{
|
|
374
|
-
disabled: "disabled";
|
|
375
374
|
"always-on": "always-on";
|
|
375
|
+
disabled: "disabled";
|
|
376
376
|
"on-motion": "on-motion";
|
|
377
377
|
}>>;
|
|
378
378
|
audioMode: z.ZodDefault<z.ZodEnum<{
|
|
379
|
-
disabled: "disabled";
|
|
380
379
|
"always-on": "always-on";
|
|
380
|
+
disabled: "disabled";
|
|
381
381
|
"on-motion": "on-motion";
|
|
382
382
|
}>>;
|
|
383
383
|
motionCooldownMs: z.ZodDefault<z.ZodNumber>;
|
|
@@ -389,19 +389,19 @@ declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
|
389
389
|
detectionStreamId: z.ZodString;
|
|
390
390
|
audioStreamPick: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
391
391
|
high: "high";
|
|
392
|
-
mid: "mid";
|
|
393
392
|
low: "low";
|
|
393
|
+
mid: "mid";
|
|
394
394
|
}>, z.ZodLiteral<"auto">]>>;
|
|
395
395
|
motionSources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
396
|
-
onboard: "onboard";
|
|
397
396
|
analyzer: "analyzer";
|
|
398
397
|
"device-activity": "device-activity";
|
|
398
|
+
onboard: "onboard";
|
|
399
399
|
}>>>;
|
|
400
400
|
sessionTrigger: z.ZodOptional<z.ZodObject<{
|
|
401
401
|
source: z.ZodEnum<{
|
|
402
|
-
onboard: "onboard";
|
|
403
402
|
analyzer: "analyzer";
|
|
404
403
|
"device-activity": "device-activity";
|
|
404
|
+
onboard: "onboard";
|
|
405
405
|
}>;
|
|
406
406
|
triggeredBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
407
407
|
kind: z.ZodLiteral<"camera">;
|
|
@@ -412,8 +412,8 @@ declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
|
412
412
|
sensorName: z.ZodOptional<z.ZodString>;
|
|
413
413
|
}, z.core.$strip>>;
|
|
414
414
|
detectionSources: z.ZodDefault<z.ZodPreprocess<z.ZodArray<z.ZodEnum<{
|
|
415
|
-
pipeline: "pipeline";
|
|
416
415
|
onboard: "onboard";
|
|
416
|
+
pipeline: "pipeline";
|
|
417
417
|
}>>>>;
|
|
418
418
|
pipelineEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
419
419
|
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>>>>>;
|
|
@@ -658,28 +658,28 @@ declare const RunnerLocalMetricsSchema: z.ZodObject<{
|
|
|
658
658
|
* caller told only "no" cannot tell a protection from a bug.
|
|
659
659
|
*/
|
|
660
660
|
export declare const OccupancyBurstRefusalSchema: z.ZodEnum<{
|
|
661
|
-
"
|
|
661
|
+
"already-bursting": "already-bursting";
|
|
662
662
|
"battery-asleep": "battery-asleep";
|
|
663
|
+
"not-attached": "not-attached";
|
|
663
664
|
"not-watching": "not-watching";
|
|
664
|
-
"already-bursting": "already-bursting";
|
|
665
665
|
}>;
|
|
666
666
|
export type OccupancyBurstRefusal = z.infer<typeof OccupancyBurstRefusalSchema>;
|
|
667
667
|
export declare const pipelineRunnerCapability: {
|
|
668
|
-
readonly name:
|
|
669
|
-
readonly scope:
|
|
670
|
-
readonly mode:
|
|
668
|
+
readonly name: 'pipeline-runner';
|
|
669
|
+
readonly scope: 'system';
|
|
670
|
+
readonly mode: 'singleton';
|
|
671
671
|
readonly methods: {
|
|
672
672
|
/** Attach a camera to this runner. Subscribes to local broker. */
|
|
673
673
|
readonly attachCamera: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
674
674
|
deviceId: z.ZodNumber;
|
|
675
675
|
detectionMode: z.ZodDefault<z.ZodEnum<{
|
|
676
|
-
disabled: "disabled";
|
|
677
676
|
"always-on": "always-on";
|
|
677
|
+
disabled: "disabled";
|
|
678
678
|
"on-motion": "on-motion";
|
|
679
679
|
}>>;
|
|
680
680
|
audioMode: z.ZodDefault<z.ZodEnum<{
|
|
681
|
-
disabled: "disabled";
|
|
682
681
|
"always-on": "always-on";
|
|
682
|
+
disabled: "disabled";
|
|
683
683
|
"on-motion": "on-motion";
|
|
684
684
|
}>>;
|
|
685
685
|
motionCooldownMs: z.ZodDefault<z.ZodNumber>;
|
|
@@ -691,19 +691,19 @@ export declare const pipelineRunnerCapability: {
|
|
|
691
691
|
detectionStreamId: z.ZodString;
|
|
692
692
|
audioStreamPick: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
693
693
|
high: "high";
|
|
694
|
-
mid: "mid";
|
|
695
694
|
low: "low";
|
|
695
|
+
mid: "mid";
|
|
696
696
|
}>, z.ZodLiteral<"auto">]>>;
|
|
697
697
|
motionSources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
698
|
-
onboard: "onboard";
|
|
699
698
|
analyzer: "analyzer";
|
|
700
699
|
"device-activity": "device-activity";
|
|
700
|
+
onboard: "onboard";
|
|
701
701
|
}>>>;
|
|
702
702
|
sessionTrigger: z.ZodOptional<z.ZodObject<{
|
|
703
703
|
source: z.ZodEnum<{
|
|
704
|
-
onboard: "onboard";
|
|
705
704
|
analyzer: "analyzer";
|
|
706
705
|
"device-activity": "device-activity";
|
|
706
|
+
onboard: "onboard";
|
|
707
707
|
}>;
|
|
708
708
|
triggeredBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
709
709
|
kind: z.ZodLiteral<"camera">;
|
|
@@ -714,8 +714,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
714
714
|
sensorName: z.ZodOptional<z.ZodString>;
|
|
715
715
|
}, z.core.$strip>>;
|
|
716
716
|
detectionSources: z.ZodDefault<z.ZodPreprocess<z.ZodArray<z.ZodEnum<{
|
|
717
|
-
pipeline: "pipeline";
|
|
718
717
|
onboard: "onboard";
|
|
718
|
+
pipeline: "pipeline";
|
|
719
719
|
}>>>>;
|
|
720
720
|
pipelineEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
721
721
|
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>>>>>;
|
|
@@ -788,9 +788,9 @@ export declare const pipelineRunnerCapability: {
|
|
|
788
788
|
deviceId: z.ZodNumber;
|
|
789
789
|
detected: z.ZodBoolean;
|
|
790
790
|
source: z.ZodDefault<z.ZodEnum<{
|
|
791
|
-
onboard: "onboard";
|
|
792
791
|
analyzer: "analyzer";
|
|
793
792
|
"device-activity": "device-activity";
|
|
793
|
+
onboard: "onboard";
|
|
794
794
|
}>>;
|
|
795
795
|
regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
796
796
|
bbox: z.ZodObject<{
|
|
@@ -889,8 +889,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
889
889
|
deviceId: z.ZodNumber;
|
|
890
890
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
891
891
|
detectionMode: z.ZodEnum<{
|
|
892
|
-
disabled: "disabled";
|
|
893
892
|
"always-on": "always-on";
|
|
893
|
+
disabled: "disabled";
|
|
894
894
|
"on-motion": "on-motion";
|
|
895
895
|
}>;
|
|
896
896
|
configuredFps: z.ZodNumber;
|
|
@@ -899,16 +899,16 @@ export declare const pipelineRunnerCapability: {
|
|
|
899
899
|
avgInferenceTimeMs: z.ZodNumber;
|
|
900
900
|
droppedFrames: z.ZodNumber;
|
|
901
901
|
phase: z.ZodEnum<{
|
|
902
|
-
idle: "idle";
|
|
903
902
|
active: "active";
|
|
903
|
+
idle: "idle";
|
|
904
904
|
watching: "watching";
|
|
905
905
|
}>;
|
|
906
906
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
907
907
|
/** All per-camera metrics in one round-trip. */
|
|
908
908
|
readonly getAllCameraMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
909
909
|
detectionMode: z.ZodEnum<{
|
|
910
|
-
disabled: "disabled";
|
|
911
910
|
"always-on": "always-on";
|
|
911
|
+
disabled: "disabled";
|
|
912
912
|
"on-motion": "on-motion";
|
|
913
913
|
}>;
|
|
914
914
|
configuredFps: z.ZodNumber;
|
|
@@ -917,8 +917,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
917
917
|
avgInferenceTimeMs: z.ZodNumber;
|
|
918
918
|
droppedFrames: z.ZodNumber;
|
|
919
919
|
phase: z.ZodEnum<{
|
|
920
|
-
idle: "idle";
|
|
921
920
|
active: "active";
|
|
921
|
+
idle: "idle";
|
|
922
922
|
watching: "watching";
|
|
923
923
|
}>;
|
|
924
924
|
deviceId: z.ZodNumber;
|
|
@@ -961,10 +961,10 @@ export declare const pipelineRunnerCapability: {
|
|
|
961
961
|
}, z.core.$strip>, z.ZodObject<{
|
|
962
962
|
started: z.ZodBoolean;
|
|
963
963
|
refusedBecause: z.ZodOptional<z.ZodEnum<{
|
|
964
|
-
"
|
|
964
|
+
"already-bursting": "already-bursting";
|
|
965
965
|
"battery-asleep": "battery-asleep";
|
|
966
|
+
"not-attached": "not-attached";
|
|
966
967
|
"not-watching": "not-watching";
|
|
967
|
-
"already-bursting": "already-bursting";
|
|
968
968
|
}>>;
|
|
969
969
|
}, z.core.$strip>, "mutation">;
|
|
970
970
|
/**
|
|
@@ -990,11 +990,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
990
990
|
width: z.ZodNumber;
|
|
991
991
|
height: z.ZodNumber;
|
|
992
992
|
format: z.ZodEnum<{
|
|
993
|
+
bgr: "bgr";
|
|
994
|
+
gray: "gray";
|
|
993
995
|
jpeg: "jpeg";
|
|
994
996
|
rgb: "rgb";
|
|
995
|
-
bgr: "bgr";
|
|
996
997
|
yuv420: "yuv420";
|
|
997
|
-
gray: "gray";
|
|
998
998
|
}>;
|
|
999
999
|
pts: z.ZodNumber;
|
|
1000
1000
|
byteLength: z.ZodNumber;
|
|
@@ -1060,11 +1060,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
1060
1060
|
width: z.ZodNumber;
|
|
1061
1061
|
height: z.ZodNumber;
|
|
1062
1062
|
format: z.ZodEnum<{
|
|
1063
|
+
bgr: "bgr";
|
|
1064
|
+
gray: "gray";
|
|
1063
1065
|
jpeg: "jpeg";
|
|
1064
1066
|
rgb: "rgb";
|
|
1065
|
-
bgr: "bgr";
|
|
1066
1067
|
yuv420: "yuv420";
|
|
1067
|
-
gray: "gray";
|
|
1068
1068
|
}>;
|
|
1069
1069
|
pts: z.ZodNumber;
|
|
1070
1070
|
byteLength: z.ZodNumber;
|
|
@@ -1208,10 +1208,10 @@ export declare const pipelineRunnerCapability: {
|
|
|
1208
1208
|
kind: z.ZodLiteral<"refused">;
|
|
1209
1209
|
nodeId: z.ZodString;
|
|
1210
1210
|
reason: z.ZodEnum<{
|
|
1211
|
-
"unreadable-frame": "unreadable-frame";
|
|
1212
|
-
"unknown-step": "unknown-step";
|
|
1213
|
-
"model-not-servable": "model-not-servable";
|
|
1214
1211
|
"execution-failed": "execution-failed";
|
|
1212
|
+
"model-not-servable": "model-not-servable";
|
|
1213
|
+
"unknown-step": "unknown-step";
|
|
1214
|
+
"unreadable-frame": "unreadable-frame";
|
|
1215
1215
|
}>;
|
|
1216
1216
|
detail: z.ZodString;
|
|
1217
1217
|
}, z.core.$strip>], "kind">, "mutation">;
|
|
@@ -1241,8 +1241,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
1241
1241
|
deviceId: z.ZodNumber;
|
|
1242
1242
|
trackId: z.ZodString;
|
|
1243
1243
|
kind: z.ZodEnum<{
|
|
1244
|
-
thumbnail: "thumbnail";
|
|
1245
1244
|
keyFrame: "keyFrame";
|
|
1245
|
+
thumbnail: "thumbnail";
|
|
1246
1246
|
}>;
|
|
1247
1247
|
handle: z.ZodObject<{
|
|
1248
1248
|
shmId: z.ZodString;
|
|
@@ -1251,11 +1251,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
1251
1251
|
width: z.ZodNumber;
|
|
1252
1252
|
height: z.ZodNumber;
|
|
1253
1253
|
format: z.ZodEnum<{
|
|
1254
|
+
bgr: "bgr";
|
|
1255
|
+
gray: "gray";
|
|
1254
1256
|
jpeg: "jpeg";
|
|
1255
1257
|
rgb: "rgb";
|
|
1256
|
-
bgr: "bgr";
|
|
1257
1258
|
yuv420: "yuv420";
|
|
1258
|
-
gray: "gray";
|
|
1259
1259
|
}>;
|
|
1260
1260
|
pts: z.ZodNumber;
|
|
1261
1261
|
byteLength: z.ZodNumber;
|
|
@@ -1281,8 +1281,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
1281
1281
|
parked: z.ZodLiteral<false>;
|
|
1282
1282
|
nodeId: z.ZodString;
|
|
1283
1283
|
reason: z.ZodEnum<{
|
|
1284
|
-
"handle-gone": "handle-gone";
|
|
1285
1284
|
"encode-failed": "encode-failed";
|
|
1285
|
+
"handle-gone": "handle-gone";
|
|
1286
1286
|
}>;
|
|
1287
1287
|
handleAgeMs: z.ZodNullable<z.ZodNumber>;
|
|
1288
1288
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -1296,8 +1296,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
1296
1296
|
deviceId: z.ZodNumber;
|
|
1297
1297
|
trackId: z.ZodString;
|
|
1298
1298
|
kind: z.ZodEnum<{
|
|
1299
|
-
thumbnail: "thumbnail";
|
|
1300
1299
|
keyFrame: "keyFrame";
|
|
1300
|
+
thumbnail: "thumbnail";
|
|
1301
1301
|
}>;
|
|
1302
1302
|
acceptJpegBytes: z.ZodOptional<z.ZodBoolean>;
|
|
1303
1303
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
@@ -1334,8 +1334,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
1334
1334
|
modelIds: z.ZodArray<z.ZodString>;
|
|
1335
1335
|
}, z.core.$strip>>;
|
|
1336
1336
|
phases: z.ZodArray<z.ZodEnum<{
|
|
1337
|
-
pipeline: "pipeline";
|
|
1338
1337
|
device: "device";
|
|
1338
|
+
pipeline: "pipeline";
|
|
1339
1339
|
}>>;
|
|
1340
1340
|
steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1341
1341
|
fpsPerStream: z.ZodNumber;
|
|
@@ -1354,17 +1354,17 @@ export declare const pipelineRunnerCapability: {
|
|
|
1354
1354
|
runId: z.ZodString;
|
|
1355
1355
|
nodeId: z.ZodString;
|
|
1356
1356
|
state: z.ZodEnum<{
|
|
1357
|
-
|
|
1357
|
+
aborted: "aborted";
|
|
1358
1358
|
done: "done";
|
|
1359
1359
|
failed: "failed";
|
|
1360
|
-
|
|
1360
|
+
running: "running";
|
|
1361
1361
|
}>;
|
|
1362
1362
|
progress: z.ZodNullable<z.ZodObject<{
|
|
1363
1363
|
phase: z.ZodEnum<{
|
|
1364
|
-
|
|
1364
|
+
cleanup: "cleanup";
|
|
1365
1365
|
device: "device";
|
|
1366
|
+
pipeline: "pipeline";
|
|
1366
1367
|
preparing: "preparing";
|
|
1367
|
-
cleanup: "cleanup";
|
|
1368
1368
|
}>;
|
|
1369
1369
|
deviceKey: z.ZodNullable<z.ZodString>;
|
|
1370
1370
|
modelId: z.ZodNullable<z.ZodString>;
|
|
@@ -1383,13 +1383,13 @@ export declare const pipelineRunnerCapability: {
|
|
|
1383
1383
|
fps: z.ZodNumber;
|
|
1384
1384
|
kMax: z.ZodNumber;
|
|
1385
1385
|
limitedBy: z.ZodEnum<{
|
|
1386
|
+
cpu: "cpu";
|
|
1387
|
+
drops: "drops";
|
|
1386
1388
|
errors: "errors";
|
|
1387
1389
|
none: "none";
|
|
1388
|
-
cpu: "cpu";
|
|
1389
1390
|
p95: "p95";
|
|
1390
|
-
drops: "drops";
|
|
1391
|
-
stall: "stall";
|
|
1392
1391
|
ram: "ram";
|
|
1392
|
+
stall: "stall";
|
|
1393
1393
|
}>;
|
|
1394
1394
|
warmupMs: z.ZodNumber;
|
|
1395
1395
|
ramp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -1409,13 +1409,13 @@ export declare const pipelineRunnerCapability: {
|
|
|
1409
1409
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1410
1410
|
maxSessions: z.ZodNumber;
|
|
1411
1411
|
limitedBy: z.ZodEnum<{
|
|
1412
|
+
cpu: "cpu";
|
|
1413
|
+
drops: "drops";
|
|
1412
1414
|
errors: "errors";
|
|
1413
1415
|
none: "none";
|
|
1414
|
-
cpu: "cpu";
|
|
1415
1416
|
p95: "p95";
|
|
1416
|
-
drops: "drops";
|
|
1417
|
-
stall: "stall";
|
|
1418
1417
|
ram: "ram";
|
|
1418
|
+
stall: "stall";
|
|
1419
1419
|
}>;
|
|
1420
1420
|
stepsFired: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1421
1421
|
warmupMs: z.ZodNumber;
|
|
@@ -48,9 +48,9 @@ export type PlateInfo = z.infer<typeof PlateInfoSchema>;
|
|
|
48
48
|
* and reviewed by correcting the OCR text (`correctPlateText`).
|
|
49
49
|
*/
|
|
50
50
|
export declare const plateGalleryCapability: {
|
|
51
|
-
readonly name:
|
|
52
|
-
readonly scope:
|
|
53
|
-
readonly mode:
|
|
51
|
+
readonly name: 'plate-gallery';
|
|
52
|
+
readonly scope: 'system';
|
|
53
|
+
readonly mode: 'singleton';
|
|
54
54
|
readonly methods: {
|
|
55
55
|
readonly listPlates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
|
|
56
56
|
deviceId: z.ZodOptional<z.ZodNumber>;
|