@camstack/types 1.2.336 → 1.2.338
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 +285 -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 +78 -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/index.js +111 -2
- package/dist/index.mjs +111 -2
- 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/platform.d.ts +6 -1
- 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 +100 -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
|
@@ -48,8 +48,8 @@ export type RecordingWeekday = z.infer<typeof RecordingWeekdaySchema>;
|
|
|
48
48
|
* device actually does is the D62 shape — a control nobody can predict.
|
|
49
49
|
*/
|
|
50
50
|
export declare const RecordingStorageModeSchema: z.ZodEnum<{
|
|
51
|
-
events: "events";
|
|
52
51
|
continuous: "continuous";
|
|
52
|
+
events: "events";
|
|
53
53
|
off: "off";
|
|
54
54
|
"on-device-decision": "on-device-decision";
|
|
55
55
|
}>;
|
|
@@ -60,9 +60,9 @@ export type RecordingStorageMode = z.infer<typeof RecordingStorageModeSchema>;
|
|
|
60
60
|
* ({@link FIRST_LEVEL_MACRO_CLASSES}).
|
|
61
61
|
*/
|
|
62
62
|
export declare const RecordingObjectTriggerClassSchema: z.ZodEnum<{
|
|
63
|
+
animal: "animal";
|
|
63
64
|
person: "person";
|
|
64
65
|
vehicle: "vehicle";
|
|
65
|
-
animal: "animal";
|
|
66
66
|
}>;
|
|
67
67
|
export type RecordingObjectTriggerClass = z.infer<typeof RecordingObjectTriggerClassSchema>;
|
|
68
68
|
/**
|
|
@@ -103,9 +103,9 @@ export declare const RecordingTriggersSchema: z.ZodObject<{
|
|
|
103
103
|
motion: z.ZodOptional<z.ZodBoolean>;
|
|
104
104
|
audioThresholdDbfs: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
objectClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
106
|
+
animal: "animal";
|
|
106
107
|
person: "person";
|
|
107
108
|
vehicle: "vehicle";
|
|
108
|
-
animal: "animal";
|
|
109
109
|
}>>>;
|
|
110
110
|
sensorDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
111
111
|
}, z.core.$strip>;
|
|
@@ -118,8 +118,8 @@ export type RecordingTriggers = z.infer<typeof RecordingTriggersSchema>;
|
|
|
118
118
|
* covering band, not by a band value.
|
|
119
119
|
*/
|
|
120
120
|
export declare const RecordingBandModeSchema: z.ZodEnum<{
|
|
121
|
-
events: "events";
|
|
122
121
|
continuous: "continuous";
|
|
122
|
+
events: "events";
|
|
123
123
|
}>;
|
|
124
124
|
export type RecordingBandMode = z.infer<typeof RecordingBandModeSchema>;
|
|
125
125
|
/**
|
|
@@ -131,9 +131,9 @@ export declare const RecordingBandTriggersSchema: z.ZodObject<{
|
|
|
131
131
|
motion: z.ZodOptional<z.ZodBoolean>;
|
|
132
132
|
audioThresholdDbfs: z.ZodOptional<z.ZodNumber>;
|
|
133
133
|
objectClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
134
|
+
animal: "animal";
|
|
134
135
|
person: "person";
|
|
135
136
|
vehicle: "vehicle";
|
|
136
|
-
animal: "animal";
|
|
137
137
|
}>>>;
|
|
138
138
|
sensorDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
139
139
|
}, z.core.$strip>;
|
|
@@ -160,8 +160,8 @@ export type RecordingBandTriggers = z.infer<typeof RecordingBandTriggersSchema>;
|
|
|
160
160
|
* question to answer as a continuous one.
|
|
161
161
|
*/
|
|
162
162
|
export declare const RecordingBandAudioSchema: z.ZodEnum<{
|
|
163
|
-
on: "on";
|
|
164
163
|
muted: "muted";
|
|
164
|
+
on: "on";
|
|
165
165
|
}>;
|
|
166
166
|
export type RecordingBandAudio = z.infer<typeof RecordingBandAudioSchema>;
|
|
167
167
|
export declare const RecordingBandSchema: z.ZodObject<{
|
|
@@ -169,20 +169,20 @@ export declare const RecordingBandSchema: z.ZodObject<{
|
|
|
169
169
|
start: z.ZodString;
|
|
170
170
|
end: z.ZodString;
|
|
171
171
|
mode: z.ZodEnum<{
|
|
172
|
-
events: "events";
|
|
173
172
|
continuous: "continuous";
|
|
173
|
+
events: "events";
|
|
174
174
|
}>;
|
|
175
175
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
176
|
-
on: "on";
|
|
177
176
|
muted: "muted";
|
|
177
|
+
on: "on";
|
|
178
178
|
}>>;
|
|
179
179
|
triggers: z.ZodOptional<z.ZodObject<{
|
|
180
180
|
motion: z.ZodOptional<z.ZodBoolean>;
|
|
181
181
|
audioThresholdDbfs: z.ZodOptional<z.ZodNumber>;
|
|
182
182
|
objectClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
183
|
+
animal: "animal";
|
|
183
184
|
person: "person";
|
|
184
185
|
vehicle: "vehicle";
|
|
185
|
-
animal: "animal";
|
|
186
186
|
}>>>;
|
|
187
187
|
sensorDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
188
188
|
}, z.core.$strip>>;
|
|
@@ -289,15 +289,15 @@ export type RecordingRetention = z.infer<typeof RecordingRetentionSchema>;
|
|
|
289
289
|
export declare const RecordingConfigSchema: z.ZodObject<{
|
|
290
290
|
enabled: z.ZodBoolean;
|
|
291
291
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
292
|
-
events: "events";
|
|
293
292
|
continuous: "continuous";
|
|
293
|
+
events: "events";
|
|
294
294
|
off: "off";
|
|
295
295
|
"on-device-decision": "on-device-decision";
|
|
296
296
|
}>>;
|
|
297
297
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
298
298
|
high: "high";
|
|
299
|
-
mid: "mid";
|
|
300
299
|
low: "low";
|
|
300
|
+
mid: "mid";
|
|
301
301
|
}>>>;
|
|
302
302
|
segmentSeconds: z.ZodOptional<z.ZodNumber>;
|
|
303
303
|
bands: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -305,20 +305,20 @@ export declare const RecordingConfigSchema: z.ZodObject<{
|
|
|
305
305
|
start: z.ZodString;
|
|
306
306
|
end: z.ZodString;
|
|
307
307
|
mode: z.ZodEnum<{
|
|
308
|
-
events: "events";
|
|
309
308
|
continuous: "continuous";
|
|
309
|
+
events: "events";
|
|
310
310
|
}>;
|
|
311
311
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
312
|
-
on: "on";
|
|
313
312
|
muted: "muted";
|
|
313
|
+
on: "on";
|
|
314
314
|
}>>;
|
|
315
315
|
triggers: z.ZodOptional<z.ZodObject<{
|
|
316
316
|
motion: z.ZodOptional<z.ZodBoolean>;
|
|
317
317
|
audioThresholdDbfs: z.ZodOptional<z.ZodNumber>;
|
|
318
318
|
objectClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
319
|
+
animal: "animal";
|
|
319
320
|
person: "person";
|
|
320
321
|
vehicle: "vehicle";
|
|
321
|
-
animal: "animal";
|
|
322
322
|
}>>>;
|
|
323
323
|
sensorDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
324
324
|
}, z.core.$strip>>;
|
|
@@ -16,21 +16,21 @@ import { z } from 'zod';
|
|
|
16
16
|
* runs at all.
|
|
17
17
|
*/
|
|
18
18
|
export declare const RelocateJobStateSchema: z.ZodEnum<{
|
|
19
|
-
|
|
20
|
-
running: "running";
|
|
19
|
+
cancelled: "cancelled";
|
|
21
20
|
done: "done";
|
|
22
21
|
failed: "failed";
|
|
23
|
-
|
|
22
|
+
queued: "queued";
|
|
23
|
+
running: "running";
|
|
24
24
|
}>;
|
|
25
25
|
export type RelocateJobState = z.infer<typeof RelocateJobStateSchema>;
|
|
26
26
|
export declare const RelocateJobSchema: z.ZodObject<{
|
|
27
27
|
jobId: z.ZodString;
|
|
28
28
|
state: z.ZodEnum<{
|
|
29
|
-
|
|
30
|
-
running: "running";
|
|
29
|
+
cancelled: "cancelled";
|
|
31
30
|
done: "done";
|
|
32
31
|
failed: "failed";
|
|
33
|
-
|
|
32
|
+
queued: "queued";
|
|
33
|
+
running: "running";
|
|
34
34
|
}>;
|
|
35
35
|
fromLocationId: z.ZodString;
|
|
36
36
|
toLocationId: z.ZodString;
|
|
@@ -115,9 +115,9 @@ export type StorageMigrationFootageMoveInput = z.infer<typeof StorageMigrationFo
|
|
|
115
115
|
* is a few KB per enrolled sample.
|
|
116
116
|
*/
|
|
117
117
|
export declare const MediaRelocateModeSchema: z.ZodEnum<{
|
|
118
|
+
gallery: "gallery";
|
|
118
119
|
move: "move";
|
|
119
120
|
seal: "seal";
|
|
120
|
-
gallery: "gallery";
|
|
121
121
|
}>;
|
|
122
122
|
export type MediaRelocateMode = z.infer<typeof MediaRelocateModeSchema>;
|
|
123
123
|
export declare const RelocateMediaInputSchema: z.ZodObject<{
|
|
@@ -125,9 +125,9 @@ export declare const RelocateMediaInputSchema: z.ZodObject<{
|
|
|
125
125
|
fromLocationId: z.ZodOptional<z.ZodString>;
|
|
126
126
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
127
127
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
128
|
+
gallery: "gallery";
|
|
128
129
|
move: "move";
|
|
129
130
|
seal: "seal";
|
|
130
|
-
gallery: "gallery";
|
|
131
131
|
}>>;
|
|
132
132
|
}, z.core.$strip>;
|
|
133
133
|
export type RelocateMediaInput = z.infer<typeof RelocateMediaInputSchema>;
|
|
@@ -178,9 +178,9 @@ export declare const StorageMigrationMediaMoveInputSchema: z.ZodObject<{
|
|
|
178
178
|
fromLocationId: z.ZodOptional<z.ZodString>;
|
|
179
179
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
180
180
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
181
|
+
gallery: "gallery";
|
|
181
182
|
move: "move";
|
|
182
183
|
seal: "seal";
|
|
183
|
-
gallery: "gallery";
|
|
184
184
|
}>>;
|
|
185
185
|
leaseId: z.ZodString;
|
|
186
186
|
}, z.core.$strip>;
|
|
@@ -194,11 +194,11 @@ export type StorageMigrationMediaMoveInput = z.infer<typeof StorageMigrationMedi
|
|
|
194
194
|
* enrolled gallery; `backups` is the system backup archive. The last two have
|
|
195
195
|
* their own rules — see {@link StorageMigrationFindingCodeSchema}. */
|
|
196
196
|
export declare const StorageMigrationClassSchema: z.ZodEnum<{
|
|
197
|
-
recordings: "recordings";
|
|
198
|
-
recordingsLow: "recordingsLow";
|
|
199
|
-
eventMedia: "eventMedia";
|
|
200
197
|
backups: "backups";
|
|
198
|
+
eventMedia: "eventMedia";
|
|
201
199
|
galleryMedia: "galleryMedia";
|
|
200
|
+
recordings: "recordings";
|
|
201
|
+
recordingsLow: "recordingsLow";
|
|
202
202
|
}>;
|
|
203
203
|
export type StorageMigrationClass = z.infer<typeof StorageMigrationClassSchema>;
|
|
204
204
|
/** A destination is always an existing, fully-qualified location id. The
|
|
@@ -287,24 +287,24 @@ export type StorageMigrationInput = z.infer<typeof StorageMigrationInputSchema>;
|
|
|
287
287
|
* `repointing` is still the only phase that changes a default location.
|
|
288
288
|
*/
|
|
289
289
|
export declare const StorageMigrationPhaseSchema: z.ZodEnum<{
|
|
290
|
+
cancelled: "cancelled";
|
|
290
291
|
done: "done";
|
|
292
|
+
draining: "draining";
|
|
291
293
|
failed: "failed";
|
|
292
|
-
cancelled: "cancelled";
|
|
293
|
-
planning: "planning";
|
|
294
|
-
sealing: "sealing";
|
|
295
|
-
pausing: "pausing";
|
|
296
294
|
moving: "moving";
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
repointing: "repointing";
|
|
295
|
+
pausing: "pausing";
|
|
296
|
+
planning: "planning";
|
|
300
297
|
refreshing: "refreshing";
|
|
298
|
+
repointing: "repointing";
|
|
301
299
|
resuming: "resuming";
|
|
300
|
+
sealing: "sealing";
|
|
301
|
+
verifying: "verifying";
|
|
302
302
|
}>;
|
|
303
303
|
export type StorageMigrationPhase = z.infer<typeof StorageMigrationPhaseSchema>;
|
|
304
304
|
export declare const StorageMigrationParticipantSchema: z.ZodEnum<{
|
|
305
|
+
analytics: "analytics";
|
|
305
306
|
pipeline: "pipeline";
|
|
306
307
|
recorder: "recorder";
|
|
307
|
-
analytics: "analytics";
|
|
308
308
|
}>;
|
|
309
309
|
export type StorageMigrationParticipant = z.infer<typeof StorageMigrationParticipantSchema>;
|
|
310
310
|
/**
|
|
@@ -338,22 +338,22 @@ export declare const StorageMigrationMoveProgressSchema: z.ZodObject<{
|
|
|
338
338
|
export type StorageMigrationMoveProgress = z.infer<typeof StorageMigrationMoveProgressSchema>;
|
|
339
339
|
export declare const StorageMigrationMoveSchema: z.ZodObject<{
|
|
340
340
|
storageClass: z.ZodEnum<{
|
|
341
|
-
recordings: "recordings";
|
|
342
|
-
recordingsLow: "recordingsLow";
|
|
343
|
-
eventMedia: "eventMedia";
|
|
344
341
|
backups: "backups";
|
|
342
|
+
eventMedia: "eventMedia";
|
|
345
343
|
galleryMedia: "galleryMedia";
|
|
344
|
+
recordings: "recordings";
|
|
345
|
+
recordingsLow: "recordingsLow";
|
|
346
346
|
}>;
|
|
347
347
|
fromLocationId: z.ZodString;
|
|
348
348
|
toLocationId: z.ZodString;
|
|
349
349
|
freezeSource: z.ZodOptional<z.ZodBoolean>;
|
|
350
350
|
moverJobId: z.ZodNullable<z.ZodString>;
|
|
351
351
|
state: z.ZodNullable<z.ZodEnum<{
|
|
352
|
-
|
|
353
|
-
running: "running";
|
|
352
|
+
cancelled: "cancelled";
|
|
354
353
|
done: "done";
|
|
355
354
|
failed: "failed";
|
|
356
|
-
|
|
355
|
+
queued: "queued";
|
|
356
|
+
running: "running";
|
|
357
357
|
}>>;
|
|
358
358
|
error: z.ZodNullable<z.ZodString>;
|
|
359
359
|
progress: z.ZodNullable<z.ZodObject<{
|
|
@@ -369,18 +369,18 @@ export type StorageMigrationMove = z.infer<typeof StorageMigrationMoveSchema>;
|
|
|
369
369
|
export declare const StorageMigrationJobSchema: z.ZodObject<{
|
|
370
370
|
jobId: z.ZodString;
|
|
371
371
|
phase: z.ZodEnum<{
|
|
372
|
+
cancelled: "cancelled";
|
|
372
373
|
done: "done";
|
|
374
|
+
draining: "draining";
|
|
373
375
|
failed: "failed";
|
|
374
|
-
cancelled: "cancelled";
|
|
375
|
-
planning: "planning";
|
|
376
|
-
sealing: "sealing";
|
|
377
|
-
pausing: "pausing";
|
|
378
376
|
moving: "moving";
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
repointing: "repointing";
|
|
377
|
+
pausing: "pausing";
|
|
378
|
+
planning: "planning";
|
|
382
379
|
refreshing: "refreshing";
|
|
380
|
+
repointing: "repointing";
|
|
383
381
|
resuming: "resuming";
|
|
382
|
+
sealing: "sealing";
|
|
383
|
+
verifying: "verifying";
|
|
384
384
|
}>;
|
|
385
385
|
mode: z.ZodEnum<{
|
|
386
386
|
blocking: "blocking";
|
|
@@ -403,22 +403,22 @@ export declare const StorageMigrationJobSchema: z.ZodObject<{
|
|
|
403
403
|
throttleMbps: z.ZodNumber;
|
|
404
404
|
moves: z.ZodArray<z.ZodObject<{
|
|
405
405
|
storageClass: z.ZodEnum<{
|
|
406
|
-
recordings: "recordings";
|
|
407
|
-
recordingsLow: "recordingsLow";
|
|
408
|
-
eventMedia: "eventMedia";
|
|
409
406
|
backups: "backups";
|
|
407
|
+
eventMedia: "eventMedia";
|
|
410
408
|
galleryMedia: "galleryMedia";
|
|
409
|
+
recordings: "recordings";
|
|
410
|
+
recordingsLow: "recordingsLow";
|
|
411
411
|
}>;
|
|
412
412
|
fromLocationId: z.ZodString;
|
|
413
413
|
toLocationId: z.ZodString;
|
|
414
414
|
freezeSource: z.ZodOptional<z.ZodBoolean>;
|
|
415
415
|
moverJobId: z.ZodNullable<z.ZodString>;
|
|
416
416
|
state: z.ZodNullable<z.ZodEnum<{
|
|
417
|
-
|
|
418
|
-
running: "running";
|
|
417
|
+
cancelled: "cancelled";
|
|
419
418
|
done: "done";
|
|
420
419
|
failed: "failed";
|
|
421
|
-
|
|
420
|
+
queued: "queued";
|
|
421
|
+
running: "running";
|
|
422
422
|
}>>;
|
|
423
423
|
error: z.ZodNullable<z.ZodString>;
|
|
424
424
|
progress: z.ZodNullable<z.ZodObject<{
|
|
@@ -432,9 +432,9 @@ export declare const StorageMigrationJobSchema: z.ZodObject<{
|
|
|
432
432
|
}, z.core.$strip>>;
|
|
433
433
|
pauseLeaseId: z.ZodNullable<z.ZodString>;
|
|
434
434
|
pausedParticipants: z.ZodArray<z.ZodEnum<{
|
|
435
|
+
analytics: "analytics";
|
|
435
436
|
pipeline: "pipeline";
|
|
436
437
|
recorder: "recorder";
|
|
437
|
-
analytics: "analytics";
|
|
438
438
|
}>>;
|
|
439
439
|
repointed: z.ZodBoolean;
|
|
440
440
|
cancelRequested: z.ZodBoolean;
|
|
@@ -468,27 +468,27 @@ export type StorageMigrationJob = z.infer<typeof StorageMigrationJobSchema>;
|
|
|
468
468
|
* for it. The migration cannot move its bytes.
|
|
469
469
|
*/
|
|
470
470
|
export declare const StorageMigrationFindingCodeSchema: z.ZodEnum<{
|
|
471
|
-
sharesDeviceWithSource: "sharesDeviceWithSource";
|
|
472
|
-
deviceIdentityUnknown: "deviceIdentityUnknown";
|
|
473
|
-
unstampedEventMediaRows: "unstampedEventMediaRows";
|
|
474
471
|
blockingOnly: "blockingOnly";
|
|
472
|
+
deviceIdentityUnknown: "deviceIdentityUnknown";
|
|
475
473
|
noMover: "noMover";
|
|
474
|
+
sharesDeviceWithSource: "sharesDeviceWithSource";
|
|
475
|
+
unstampedEventMediaRows: "unstampedEventMediaRows";
|
|
476
476
|
}>;
|
|
477
477
|
export type StorageMigrationFindingCode = z.infer<typeof StorageMigrationFindingCodeSchema>;
|
|
478
478
|
export declare const StorageMigrationFindingSchema: z.ZodObject<{
|
|
479
479
|
code: z.ZodEnum<{
|
|
480
|
-
sharesDeviceWithSource: "sharesDeviceWithSource";
|
|
481
|
-
deviceIdentityUnknown: "deviceIdentityUnknown";
|
|
482
|
-
unstampedEventMediaRows: "unstampedEventMediaRows";
|
|
483
480
|
blockingOnly: "blockingOnly";
|
|
481
|
+
deviceIdentityUnknown: "deviceIdentityUnknown";
|
|
484
482
|
noMover: "noMover";
|
|
483
|
+
sharesDeviceWithSource: "sharesDeviceWithSource";
|
|
484
|
+
unstampedEventMediaRows: "unstampedEventMediaRows";
|
|
485
485
|
}>;
|
|
486
486
|
storageClass: z.ZodEnum<{
|
|
487
|
-
recordings: "recordings";
|
|
488
|
-
recordingsLow: "recordingsLow";
|
|
489
|
-
eventMedia: "eventMedia";
|
|
490
487
|
backups: "backups";
|
|
488
|
+
eventMedia: "eventMedia";
|
|
491
489
|
galleryMedia: "galleryMedia";
|
|
490
|
+
recordings: "recordings";
|
|
491
|
+
recordingsLow: "recordingsLow";
|
|
492
492
|
}>;
|
|
493
493
|
message: z.ZodString;
|
|
494
494
|
}, z.core.$strip>;
|
|
@@ -514,11 +514,11 @@ export declare const StorageMigrationPlanSchema: z.ZodObject<{
|
|
|
514
514
|
}>;
|
|
515
515
|
moves: z.ZodArray<z.ZodObject<{
|
|
516
516
|
storageClass: z.ZodEnum<{
|
|
517
|
-
recordings: "recordings";
|
|
518
|
-
recordingsLow: "recordingsLow";
|
|
519
|
-
eventMedia: "eventMedia";
|
|
520
517
|
backups: "backups";
|
|
518
|
+
eventMedia: "eventMedia";
|
|
521
519
|
galleryMedia: "galleryMedia";
|
|
520
|
+
recordings: "recordings";
|
|
521
|
+
recordingsLow: "recordingsLow";
|
|
522
522
|
}>;
|
|
523
523
|
fromLocationId: z.ZodString;
|
|
524
524
|
toLocationId: z.ZodString;
|
|
@@ -526,18 +526,18 @@ export declare const StorageMigrationPlanSchema: z.ZodObject<{
|
|
|
526
526
|
}, z.core.$strip>>;
|
|
527
527
|
findings: z.ZodArray<z.ZodObject<{
|
|
528
528
|
code: z.ZodEnum<{
|
|
529
|
-
sharesDeviceWithSource: "sharesDeviceWithSource";
|
|
530
|
-
deviceIdentityUnknown: "deviceIdentityUnknown";
|
|
531
|
-
unstampedEventMediaRows: "unstampedEventMediaRows";
|
|
532
529
|
blockingOnly: "blockingOnly";
|
|
530
|
+
deviceIdentityUnknown: "deviceIdentityUnknown";
|
|
533
531
|
noMover: "noMover";
|
|
532
|
+
sharesDeviceWithSource: "sharesDeviceWithSource";
|
|
533
|
+
unstampedEventMediaRows: "unstampedEventMediaRows";
|
|
534
534
|
}>;
|
|
535
535
|
storageClass: z.ZodEnum<{
|
|
536
|
-
recordings: "recordings";
|
|
537
|
-
recordingsLow: "recordingsLow";
|
|
538
|
-
eventMedia: "eventMedia";
|
|
539
536
|
backups: "backups";
|
|
537
|
+
eventMedia: "eventMedia";
|
|
540
538
|
galleryMedia: "galleryMedia";
|
|
539
|
+
recordings: "recordings";
|
|
540
|
+
recordingsLow: "recordingsLow";
|
|
541
541
|
}>;
|
|
542
542
|
message: z.ZodString;
|
|
543
543
|
}, z.core.$strip>>;
|
|
@@ -551,8 +551,8 @@ export type StorageMigrationPlan = z.infer<typeof StorageMigrationPlanSchema>;
|
|
|
551
551
|
* can see *which* engine is busy when a drain refuses to start beside another.
|
|
552
552
|
*/
|
|
553
553
|
export declare const StorageMigrationLaneSchema: z.ZodEnum<{
|
|
554
|
-
media: "media";
|
|
555
554
|
footage: "footage";
|
|
555
|
+
media: "media";
|
|
556
556
|
}>;
|
|
557
557
|
export type StorageMigrationLane = z.infer<typeof StorageMigrationLaneSchema>;
|
|
558
558
|
/**
|
|
@@ -570,17 +570,17 @@ export type StorageMigrationLane = z.infer<typeof StorageMigrationLaneSchema>;
|
|
|
570
570
|
*/
|
|
571
571
|
export declare const StorageMigrationMoverSchema: z.ZodObject<{
|
|
572
572
|
lane: z.ZodEnum<{
|
|
573
|
-
media: "media";
|
|
574
573
|
footage: "footage";
|
|
574
|
+
media: "media";
|
|
575
575
|
}>;
|
|
576
576
|
job: z.ZodObject<{
|
|
577
577
|
jobId: z.ZodString;
|
|
578
578
|
state: z.ZodEnum<{
|
|
579
|
-
|
|
580
|
-
running: "running";
|
|
579
|
+
cancelled: "cancelled";
|
|
581
580
|
done: "done";
|
|
582
581
|
failed: "failed";
|
|
583
|
-
|
|
582
|
+
queued: "queued";
|
|
583
|
+
running: "running";
|
|
584
584
|
}>;
|
|
585
585
|
fromLocationId: z.ZodString;
|
|
586
586
|
toLocationId: z.ZodString;
|
|
@@ -615,11 +615,11 @@ export type StorageMigrationMover = z.infer<typeof StorageMigrationMoverSchema>;
|
|
|
615
615
|
*/
|
|
616
616
|
export declare const StorageMigrationResidueSchema: z.ZodObject<{
|
|
617
617
|
storageClass: z.ZodEnum<{
|
|
618
|
-
recordings: "recordings";
|
|
619
|
-
recordingsLow: "recordingsLow";
|
|
620
|
-
eventMedia: "eventMedia";
|
|
621
618
|
backups: "backups";
|
|
619
|
+
eventMedia: "eventMedia";
|
|
622
620
|
galleryMedia: "galleryMedia";
|
|
621
|
+
recordings: "recordings";
|
|
622
|
+
recordingsLow: "recordingsLow";
|
|
623
623
|
}>;
|
|
624
624
|
fromLocationId: z.ZodString;
|
|
625
625
|
toLocationId: z.ZodString;
|
|
@@ -643,11 +643,11 @@ export type StorageMigrationResidue = z.infer<typeof StorageMigrationResidueSche
|
|
|
643
643
|
*/
|
|
644
644
|
export declare const StorageMigrationDrainInputSchema: z.ZodObject<{
|
|
645
645
|
classes: z.ZodArray<z.ZodEnum<{
|
|
646
|
-
recordings: "recordings";
|
|
647
|
-
recordingsLow: "recordingsLow";
|
|
648
|
-
eventMedia: "eventMedia";
|
|
649
646
|
backups: "backups";
|
|
647
|
+
eventMedia: "eventMedia";
|
|
650
648
|
galleryMedia: "galleryMedia";
|
|
649
|
+
recordings: "recordings";
|
|
650
|
+
recordingsLow: "recordingsLow";
|
|
651
651
|
}>>;
|
|
652
652
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
653
653
|
}, z.core.$strip>;
|
|
@@ -685,21 +685,21 @@ export declare const LedgerWalkInputSchema: z.ZodObject<{
|
|
|
685
685
|
export type LedgerWalkInput = z.infer<typeof LedgerWalkInputSchema>;
|
|
686
686
|
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
687
687
|
export declare const LedgerWalkRefusalSchema: z.ZodEnum<{
|
|
688
|
-
"location-unknown": "location-unknown";
|
|
689
|
-
"source-writable": "source-writable";
|
|
690
|
-
"no-ledger": "no-ledger";
|
|
691
|
-
"archive-unreadable": "archive-unreadable";
|
|
692
688
|
"anchor-absent": "anchor-absent";
|
|
693
|
-
"anchor-unreadable": "anchor-unreadable";
|
|
694
689
|
"anchor-moved": "anchor-moved";
|
|
690
|
+
"anchor-unreadable": "anchor-unreadable";
|
|
691
|
+
"archive-unreadable": "archive-unreadable";
|
|
692
|
+
"location-unknown": "location-unknown";
|
|
693
|
+
"no-ledger": "no-ledger";
|
|
694
|
+
"source-writable": "source-writable";
|
|
695
695
|
}>;
|
|
696
696
|
export type LedgerWalkRefusal = z.infer<typeof LedgerWalkRefusalSchema>;
|
|
697
697
|
/** Why one hour was left exactly as it was found. */
|
|
698
698
|
export declare const LedgerWalkSkipReasonSchema: z.ZodEnum<{
|
|
699
|
-
"
|
|
699
|
+
"durable-refused": "durable-refused";
|
|
700
700
|
"listing-error": "listing-error";
|
|
701
|
+
"live-tail": "live-tail";
|
|
701
702
|
"path-mismatch": "path-mismatch";
|
|
702
|
-
"durable-refused": "durable-refused";
|
|
703
703
|
}>;
|
|
704
704
|
export type LedgerWalkSkipReason = z.infer<typeof LedgerWalkSkipReasonSchema>;
|
|
705
705
|
/** Every skip reason, always present, always a number — so a reason that never
|
|
@@ -734,13 +734,13 @@ export declare const LedgerWalkReportSchema: z.ZodObject<{
|
|
|
734
734
|
locationId: z.ZodString;
|
|
735
735
|
applied: z.ZodBoolean;
|
|
736
736
|
refused: z.ZodNullable<z.ZodEnum<{
|
|
737
|
-
"location-unknown": "location-unknown";
|
|
738
|
-
"source-writable": "source-writable";
|
|
739
|
-
"no-ledger": "no-ledger";
|
|
740
|
-
"archive-unreadable": "archive-unreadable";
|
|
741
737
|
"anchor-absent": "anchor-absent";
|
|
742
|
-
"anchor-unreadable": "anchor-unreadable";
|
|
743
738
|
"anchor-moved": "anchor-moved";
|
|
739
|
+
"anchor-unreadable": "anchor-unreadable";
|
|
740
|
+
"archive-unreadable": "archive-unreadable";
|
|
741
|
+
"location-unknown": "location-unknown";
|
|
742
|
+
"no-ledger": "no-ledger";
|
|
743
|
+
"source-writable": "source-writable";
|
|
744
744
|
}>>;
|
|
745
745
|
archiveSegments: z.ZodNullable<z.ZodNumber>;
|
|
746
746
|
archiveBytes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -786,9 +786,9 @@ export declare const RelocatableMediaCountInputSchema: z.ZodObject<{
|
|
|
786
786
|
toLocationId: z.ZodString;
|
|
787
787
|
fromLocationId: z.ZodOptional<z.ZodString>;
|
|
788
788
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
789
|
+
gallery: "gallery";
|
|
789
790
|
move: "move";
|
|
790
791
|
seal: "seal";
|
|
791
|
-
gallery: "gallery";
|
|
792
792
|
}>>;
|
|
793
793
|
}, z.core.$strip>;
|
|
794
794
|
export type RelocatableMediaCountInput = z.infer<typeof RelocatableMediaCountInputSchema>;
|
|
@@ -802,12 +802,12 @@ export type RelocatableMediaCountInput = z.infer<typeof RelocatableMediaCountInp
|
|
|
802
802
|
* with no operator-visible status.
|
|
803
803
|
*/
|
|
804
804
|
export declare const StorageCleanupPhaseSchema: z.ZodEnum<{
|
|
805
|
-
done: "done";
|
|
806
|
-
failed: "failed";
|
|
807
805
|
cancelled: "cancelled";
|
|
808
|
-
orphans: "orphans";
|
|
809
806
|
"debug-media": "debug-media";
|
|
807
|
+
done: "done";
|
|
808
|
+
failed: "failed";
|
|
810
809
|
"ghost-ledger": "ghost-ledger";
|
|
810
|
+
orphans: "orphans";
|
|
811
811
|
}>;
|
|
812
812
|
export type StorageCleanupPhase = z.infer<typeof StorageCleanupPhaseSchema>;
|
|
813
813
|
export declare const StorageCleanupInputSchema: z.ZodObject<{
|
|
@@ -817,12 +817,12 @@ export type StorageCleanupInput = z.infer<typeof StorageCleanupInputSchema>;
|
|
|
817
817
|
export declare const StorageCleanupJobSchema: z.ZodObject<{
|
|
818
818
|
jobId: z.ZodString;
|
|
819
819
|
phase: z.ZodEnum<{
|
|
820
|
-
done: "done";
|
|
821
|
-
failed: "failed";
|
|
822
820
|
cancelled: "cancelled";
|
|
823
|
-
orphans: "orphans";
|
|
824
821
|
"debug-media": "debug-media";
|
|
822
|
+
done: "done";
|
|
823
|
+
failed: "failed";
|
|
825
824
|
"ghost-ledger": "ghost-ledger";
|
|
825
|
+
orphans: "orphans";
|
|
826
826
|
}>;
|
|
827
827
|
includeDebugMedia: z.ZodBoolean;
|
|
828
828
|
orphansReclaimed: z.ZodNumber;
|
|
@@ -29,9 +29,9 @@ export interface AnalysisDetection {
|
|
|
29
29
|
zones?: string[];
|
|
30
30
|
previousZones?: string[];
|
|
31
31
|
}
|
|
32
|
-
export declare const SUB_DETECTION_TYPES: readonly [
|
|
32
|
+
export declare const SUB_DETECTION_TYPES: readonly ['face', 'plate'];
|
|
33
33
|
export type SubDetectionType = (typeof SUB_DETECTION_TYPES)[number];
|
|
34
|
-
export declare const RECOGNITION_TYPES: readonly [
|
|
34
|
+
export declare const RECOGNITION_TYPES: readonly ['face', 'plate', 'clip', 'custom'];
|
|
35
35
|
export type RecognitionType = (typeof RECOGNITION_TYPES)[number];
|
|
36
36
|
export interface AnalysisContext {
|
|
37
37
|
readonly deviceId: string;
|
|
@@ -45,8 +45,8 @@ import { z } from 'zod';
|
|
|
45
45
|
* a declared, enforced, testable refusal.
|
|
46
46
|
*/
|
|
47
47
|
export declare const StorageAccessSchema: z.ZodEnum<{
|
|
48
|
-
"local-path": "local-path";
|
|
49
48
|
"cap-mediated": "cap-mediated";
|
|
49
|
+
"local-path": "local-path";
|
|
50
50
|
}>;
|
|
51
51
|
export type StorageAccess = z.infer<typeof StorageAccessSchema>;
|
|
52
52
|
/**
|
|
@@ -60,18 +60,18 @@ export declare const StorageLocationDeclarationSchema: z.ZodObject<{
|
|
|
60
60
|
displayName: z.ZodString;
|
|
61
61
|
description: z.ZodOptional<z.ZodString>;
|
|
62
62
|
cardinality: z.ZodEnum<{
|
|
63
|
-
single: "single";
|
|
64
63
|
multi: "multi";
|
|
64
|
+
single: "single";
|
|
65
65
|
}>;
|
|
66
66
|
access: z.ZodOptional<z.ZodEnum<{
|
|
67
|
-
"local-path": "local-path";
|
|
68
67
|
"cap-mediated": "cap-mediated";
|
|
68
|
+
"local-path": "local-path";
|
|
69
69
|
}>>;
|
|
70
70
|
defaultsTo: z.ZodOptional<z.ZodString>;
|
|
71
71
|
defaultRoot: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
backup: "backup";
|
|
72
73
|
data: "data";
|
|
73
74
|
media: "media";
|
|
74
|
-
backup: "backup";
|
|
75
75
|
}>>;
|
|
76
76
|
}, z.core.$strip>;
|
|
77
77
|
/** Inferred TypeScript type for `StorageLocationDeclarationSchema`. */
|
|
@@ -27,16 +27,16 @@ import { z } from 'zod';
|
|
|
27
27
|
* anything outside this module reads `config['readOnly']` or compares `enabled`
|
|
28
28
|
* directly. A rule nothing checks has already been broken somewhere.
|
|
29
29
|
*/
|
|
30
|
-
export declare const STORAGE_LOCATION_MODES: readonly [
|
|
30
|
+
export declare const STORAGE_LOCATION_MODES: readonly ['active', 'readonly', 'drain', 'disabled'];
|
|
31
31
|
/**
|
|
32
32
|
* The one typed state of a storage location. Authoritative Zod schema — the TS
|
|
33
33
|
* alias below is `z.infer<>` of it, never a second spelling.
|
|
34
34
|
*/
|
|
35
35
|
export declare const StorageLocationModeSchema: z.ZodEnum<{
|
|
36
|
-
readonly: "readonly";
|
|
37
|
-
disabled: "disabled";
|
|
38
36
|
active: "active";
|
|
37
|
+
disabled: "disabled";
|
|
39
38
|
drain: "drain";
|
|
39
|
+
readonly: "readonly";
|
|
40
40
|
}>;
|
|
41
41
|
export type StorageLocationMode = z.infer<typeof StorageLocationModeSchema>;
|
|
42
42
|
/**
|
|
@@ -52,8 +52,8 @@ export type StorageLocationMode = z.infer<typeof StorageLocationModeSchema>;
|
|
|
52
52
|
* writing to.
|
|
53
53
|
*/
|
|
54
54
|
export declare const StorageEvictionPolicySchema: z.ZodEnum<{
|
|
55
|
-
never: "never";
|
|
56
55
|
drain: "drain";
|
|
56
|
+
never: "never";
|
|
57
57
|
normal: "normal";
|
|
58
58
|
}>;
|
|
59
59
|
export type StorageEvictionPolicy = z.infer<typeof StorageEvictionPolicySchema>;
|
|
@@ -52,10 +52,10 @@ export declare const StorageLocationSchema: z.ZodObject<{
|
|
|
52
52
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
53
53
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
54
54
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
55
|
-
readonly: "readonly";
|
|
56
|
-
disabled: "disabled";
|
|
57
55
|
active: "active";
|
|
56
|
+
disabled: "disabled";
|
|
58
57
|
drain: "drain";
|
|
58
|
+
readonly: "readonly";
|
|
59
59
|
}>>;
|
|
60
60
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
61
61
|
totalBytes: z.ZodNumber;
|