@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
|
@@ -35,8 +35,8 @@ export declare const WebrtcStreamTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
35
35
|
kind: z.ZodLiteral<"profile">;
|
|
36
36
|
profile: z.ZodEnum<{
|
|
37
37
|
high: "high";
|
|
38
|
-
mid: "mid";
|
|
39
38
|
low: "low";
|
|
39
|
+
mid: "mid";
|
|
40
40
|
}>;
|
|
41
41
|
}, z.core.$strip>, z.ZodObject<{
|
|
42
42
|
kind: z.ZodLiteral<"cam-stream">;
|
|
@@ -53,8 +53,8 @@ export declare const WebrtcStreamChoiceSchema: z.ZodObject<{
|
|
|
53
53
|
kind: z.ZodLiteral<"profile">;
|
|
54
54
|
profile: z.ZodEnum<{
|
|
55
55
|
high: "high";
|
|
56
|
-
mid: "mid";
|
|
57
56
|
low: "low";
|
|
57
|
+
mid: "mid";
|
|
58
58
|
}>;
|
|
59
59
|
}, z.core.$strip>, z.ZodObject<{
|
|
60
60
|
kind: z.ZodLiteral<"cam-stream">;
|
|
@@ -66,11 +66,11 @@ export declare const WebrtcStreamChoiceSchema: z.ZodObject<{
|
|
|
66
66
|
height: z.ZodNumber;
|
|
67
67
|
}, z.core.$strip>>;
|
|
68
68
|
status: z.ZodNullable<z.ZodEnum<{
|
|
69
|
+
connecting: "connecting";
|
|
69
70
|
error: "error";
|
|
70
71
|
idle: "idle";
|
|
71
|
-
connecting: "connecting";
|
|
72
|
-
streaming: "streaming";
|
|
73
72
|
stopped: "stopped";
|
|
73
|
+
streaming: "streaming";
|
|
74
74
|
}>>;
|
|
75
75
|
inputFps: z.ZodNullable<z.ZodNumber>;
|
|
76
76
|
bitrateKbps: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,13 +87,13 @@ export type WebrtcStreamChoice = z.infer<typeof WebrtcStreamChoiceSchema>;
|
|
|
87
87
|
export declare const WebrtcLadderDecisionSchema: z.ZodObject<{
|
|
88
88
|
cause: z.ZodEnum<{
|
|
89
89
|
healthy: "healthy";
|
|
90
|
-
stall: "stall";
|
|
91
90
|
loss: "loss";
|
|
91
|
+
stall: "stall";
|
|
92
92
|
}>;
|
|
93
93
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
94
94
|
high: "high";
|
|
95
|
-
mid: "mid";
|
|
96
95
|
low: "low";
|
|
96
|
+
mid: "mid";
|
|
97
97
|
}>>;
|
|
98
98
|
forcedTranscodeDown: z.ZodBoolean;
|
|
99
99
|
lossRatio: z.ZodNullable<z.ZodNumber>;
|
|
@@ -116,17 +116,17 @@ export type WebrtcLadderDecision = z.infer<typeof WebrtcLadderDecisionSchema>;
|
|
|
116
116
|
* built before the NEXT code reject the whole debug answer (review m1). A
|
|
117
117
|
* consumer maps an unknown code to a generic "held" and shows `summary`.
|
|
118
118
|
*/
|
|
119
|
-
export declare const WEBRTC_CLIMB_HOLD_CODES: readonly [
|
|
119
|
+
export declare const WEBRTC_CLIMB_HOLD_CODES: readonly ['stall-building', 'delivery', 'no-evidence', 'warming', 'cooldown', 'capacity', 'try-unclean', 'try-backoff', 'trial', 'suspended'];
|
|
120
120
|
export type WebrtcClimbHoldCode = (typeof WEBRTC_CLIMB_HOLD_CODES)[number];
|
|
121
121
|
/** Clean-path conditions a try-climb can be refused on (`tryBlockedBy`). */
|
|
122
|
-
export declare const WEBRTC_TRY_BLOCKERS: readonly [
|
|
122
|
+
export declare const WEBRTC_TRY_BLOCKERS: readonly ['delivery', 'loss', 'rtt', 'shared-telemetry'];
|
|
123
123
|
export type WebrtcTryBlocker = (typeof WEBRTC_TRY_BLOCKERS)[number];
|
|
124
124
|
export declare const WebrtcClimbHoldSchema: z.ZodObject<{
|
|
125
125
|
code: z.ZodString;
|
|
126
126
|
nextTier: z.ZodEnum<{
|
|
127
127
|
high: "high";
|
|
128
|
-
mid: "mid";
|
|
129
128
|
low: "low";
|
|
129
|
+
mid: "mid";
|
|
130
130
|
}>;
|
|
131
131
|
deliveryRatio: z.ZodNullable<z.ZodNumber>;
|
|
132
132
|
deliveryWindowMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -143,8 +143,8 @@ export declare const WebrtcClimbHoldSchema: z.ZodObject<{
|
|
|
143
143
|
lastRevert: z.ZodNullable<z.ZodObject<{
|
|
144
144
|
tier: z.ZodEnum<{
|
|
145
145
|
high: "high";
|
|
146
|
-
mid: "mid";
|
|
147
146
|
low: "low";
|
|
147
|
+
mid: "mid";
|
|
148
148
|
}>;
|
|
149
149
|
deliveryRatio: z.ZodNullable<z.ZodNumber>;
|
|
150
150
|
stalled: z.ZodBoolean;
|
|
@@ -162,8 +162,8 @@ export type WebrtcClimbHold = z.infer<typeof WebrtcClimbHoldSchema>;
|
|
|
162
162
|
export declare const WebrtcTierFailureSchema: z.ZodObject<{
|
|
163
163
|
tier: z.ZodEnum<{
|
|
164
164
|
high: "high";
|
|
165
|
-
mid: "mid";
|
|
166
165
|
low: "low";
|
|
166
|
+
mid: "mid";
|
|
167
167
|
}>;
|
|
168
168
|
failures: z.ZodNumber;
|
|
169
169
|
}, z.core.$strip>;
|
|
@@ -179,24 +179,24 @@ export declare const WebrtcSessionDebugSchema: z.ZodObject<{
|
|
|
179
179
|
brokerId: z.ZodNullable<z.ZodString>;
|
|
180
180
|
camStreamId: z.ZodNullable<z.ZodString>;
|
|
181
181
|
sourceKind: z.ZodEnum<{
|
|
182
|
-
unknown: "unknown";
|
|
183
|
-
native: "native";
|
|
184
182
|
derived: "derived";
|
|
183
|
+
native: "native";
|
|
184
|
+
unknown: "unknown";
|
|
185
185
|
}>;
|
|
186
186
|
adaptive: z.ZodBoolean;
|
|
187
187
|
servedTier: z.ZodNullable<z.ZodEnum<{
|
|
188
188
|
high: "high";
|
|
189
|
-
mid: "mid";
|
|
190
189
|
low: "low";
|
|
190
|
+
mid: "mid";
|
|
191
191
|
}>>;
|
|
192
192
|
ingestNodeId: z.ZodNullable<z.ZodString>;
|
|
193
193
|
ingestIsRemote: z.ZodNullable<z.ZodBoolean>;
|
|
194
194
|
sourceCodec: z.ZodNullable<z.ZodString>;
|
|
195
195
|
negotiatedCodec: z.ZodNullable<z.ZodString>;
|
|
196
196
|
egressLeg: z.ZodEnum<{
|
|
197
|
-
unknown: "unknown";
|
|
198
197
|
copy: "copy";
|
|
199
198
|
transcode: "transcode";
|
|
199
|
+
unknown: "unknown";
|
|
200
200
|
}>;
|
|
201
201
|
brokerStatus: z.ZodNullable<z.ZodString>;
|
|
202
202
|
brokerCodec: z.ZodNullable<z.ZodString>;
|
|
@@ -211,13 +211,13 @@ export declare const WebrtcSessionDebugSchema: z.ZodObject<{
|
|
|
211
211
|
lastDecision: z.ZodNullable<z.ZodObject<{
|
|
212
212
|
cause: z.ZodEnum<{
|
|
213
213
|
healthy: "healthy";
|
|
214
|
-
stall: "stall";
|
|
215
214
|
loss: "loss";
|
|
215
|
+
stall: "stall";
|
|
216
216
|
}>;
|
|
217
217
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
218
218
|
high: "high";
|
|
219
|
-
mid: "mid";
|
|
220
219
|
low: "low";
|
|
220
|
+
mid: "mid";
|
|
221
221
|
}>>;
|
|
222
222
|
forcedTranscodeDown: z.ZodBoolean;
|
|
223
223
|
lossRatio: z.ZodNullable<z.ZodNumber>;
|
|
@@ -230,8 +230,8 @@ export declare const WebrtcSessionDebugSchema: z.ZodObject<{
|
|
|
230
230
|
tierFailures: z.ZodArray<z.ZodObject<{
|
|
231
231
|
tier: z.ZodEnum<{
|
|
232
232
|
high: "high";
|
|
233
|
-
mid: "mid";
|
|
234
233
|
low: "low";
|
|
234
|
+
mid: "mid";
|
|
235
235
|
}>;
|
|
236
236
|
failures: z.ZodNumber;
|
|
237
237
|
}, z.core.$strip>>;
|
|
@@ -240,8 +240,8 @@ export declare const WebrtcSessionDebugSchema: z.ZodObject<{
|
|
|
240
240
|
code: z.ZodString;
|
|
241
241
|
nextTier: z.ZodEnum<{
|
|
242
242
|
high: "high";
|
|
243
|
-
mid: "mid";
|
|
244
243
|
low: "low";
|
|
244
|
+
mid: "mid";
|
|
245
245
|
}>;
|
|
246
246
|
deliveryRatio: z.ZodNullable<z.ZodNumber>;
|
|
247
247
|
deliveryWindowMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -258,8 +258,8 @@ export declare const WebrtcSessionDebugSchema: z.ZodObject<{
|
|
|
258
258
|
lastRevert: z.ZodNullable<z.ZodObject<{
|
|
259
259
|
tier: z.ZodEnum<{
|
|
260
260
|
high: "high";
|
|
261
|
-
mid: "mid";
|
|
262
261
|
low: "low";
|
|
262
|
+
mid: "mid";
|
|
263
263
|
}>;
|
|
264
264
|
deliveryRatio: z.ZodNullable<z.ZodNumber>;
|
|
265
265
|
stalled: z.ZodBoolean;
|
|
@@ -290,12 +290,12 @@ export type WebrtcSessionDebug = z.infer<typeof WebrtcSessionDebugSchema>;
|
|
|
290
290
|
* prefer this device-scoped cap.
|
|
291
291
|
*/
|
|
292
292
|
export declare const webrtcSessionCapability: {
|
|
293
|
-
readonly name:
|
|
294
|
-
readonly scope:
|
|
295
|
-
readonly mode:
|
|
296
|
-
readonly kind:
|
|
293
|
+
readonly name: 'webrtc-session';
|
|
294
|
+
readonly scope: 'device';
|
|
295
|
+
readonly mode: 'singleton';
|
|
296
|
+
readonly kind: 'wrapper';
|
|
297
297
|
readonly defaultActive: true;
|
|
298
|
-
readonly preferredProvider:
|
|
298
|
+
readonly preferredProvider: 'stream-broker';
|
|
299
299
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
300
300
|
readonly methods: {
|
|
301
301
|
/**
|
|
@@ -315,8 +315,8 @@ export declare const webrtcSessionCapability: {
|
|
|
315
315
|
kind: z.ZodLiteral<"profile">;
|
|
316
316
|
profile: z.ZodEnum<{
|
|
317
317
|
high: "high";
|
|
318
|
-
mid: "mid";
|
|
319
318
|
low: "low";
|
|
319
|
+
mid: "mid";
|
|
320
320
|
}>;
|
|
321
321
|
}, z.core.$strip>, z.ZodObject<{
|
|
322
322
|
kind: z.ZodLiteral<"cam-stream">;
|
|
@@ -328,11 +328,11 @@ export declare const webrtcSessionCapability: {
|
|
|
328
328
|
height: z.ZodNumber;
|
|
329
329
|
}, z.core.$strip>>;
|
|
330
330
|
status: z.ZodNullable<z.ZodEnum<{
|
|
331
|
+
connecting: "connecting";
|
|
331
332
|
error: "error";
|
|
332
333
|
idle: "idle";
|
|
333
|
-
connecting: "connecting";
|
|
334
|
-
streaming: "streaming";
|
|
335
334
|
stopped: "stopped";
|
|
335
|
+
streaming: "streaming";
|
|
336
336
|
}>>;
|
|
337
337
|
inputFps: z.ZodNullable<z.ZodNumber>;
|
|
338
338
|
bitrateKbps: z.ZodNullable<z.ZodNumber>;
|
|
@@ -352,8 +352,8 @@ export declare const webrtcSessionCapability: {
|
|
|
352
352
|
kind: z.ZodLiteral<"profile">;
|
|
353
353
|
profile: z.ZodEnum<{
|
|
354
354
|
high: "high";
|
|
355
|
-
mid: "mid";
|
|
356
355
|
low: "low";
|
|
356
|
+
mid: "mid";
|
|
357
357
|
}>;
|
|
358
358
|
}, z.core.$strip>, z.ZodObject<{
|
|
359
359
|
kind: z.ZodLiteral<"cam-stream">;
|
|
@@ -369,24 +369,24 @@ export declare const webrtcSessionCapability: {
|
|
|
369
369
|
relayOnly: z.ZodOptional<z.ZodBoolean>;
|
|
370
370
|
consumerAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
371
371
|
kind: z.ZodEnum<{
|
|
372
|
-
unknown: "unknown";
|
|
373
|
-
recording: "recording";
|
|
374
|
-
pipeline: "pipeline";
|
|
375
|
-
snapshot: "snapshot";
|
|
376
372
|
alexa: "alexa";
|
|
373
|
+
"derived-broker": "derived-broker";
|
|
377
374
|
homekit: "homekit";
|
|
375
|
+
pipeline: "pipeline";
|
|
376
|
+
recording: "recording";
|
|
377
|
+
"rtsp-listen": "rtsp-listen";
|
|
378
|
+
snapshot: "snapshot";
|
|
379
|
+
unknown: "unknown";
|
|
380
|
+
warmup: "warmup";
|
|
378
381
|
"webrtc-browser": "webrtc-browser";
|
|
379
382
|
"webrtc-mobile": "webrtc-mobile";
|
|
380
383
|
"webrtc-whep": "webrtc-whep";
|
|
381
|
-
"rtsp-listen": "rtsp-listen";
|
|
382
|
-
"derived-broker": "derived-broker";
|
|
383
|
-
warmup: "warmup";
|
|
384
384
|
}>;
|
|
385
385
|
label: z.ZodOptional<z.ZodString>;
|
|
386
386
|
media: z.ZodOptional<z.ZodEnum<{
|
|
387
387
|
audio: "audio";
|
|
388
|
-
video: "video";
|
|
389
388
|
both: "both";
|
|
389
|
+
video: "video";
|
|
390
390
|
}>>;
|
|
391
391
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
392
392
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -425,8 +425,8 @@ export declare const webrtcSessionCapability: {
|
|
|
425
425
|
kind: z.ZodLiteral<"profile">;
|
|
426
426
|
profile: z.ZodEnum<{
|
|
427
427
|
high: "high";
|
|
428
|
-
mid: "mid";
|
|
429
428
|
low: "low";
|
|
429
|
+
mid: "mid";
|
|
430
430
|
}>;
|
|
431
431
|
}, z.core.$strip>, z.ZodObject<{
|
|
432
432
|
kind: z.ZodLiteral<"cam-stream">;
|
|
@@ -440,24 +440,24 @@ export declare const webrtcSessionCapability: {
|
|
|
440
440
|
disableIpv6: z.ZodOptional<z.ZodBoolean>;
|
|
441
441
|
consumerAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
442
442
|
kind: z.ZodEnum<{
|
|
443
|
-
unknown: "unknown";
|
|
444
|
-
recording: "recording";
|
|
445
|
-
pipeline: "pipeline";
|
|
446
|
-
snapshot: "snapshot";
|
|
447
443
|
alexa: "alexa";
|
|
444
|
+
"derived-broker": "derived-broker";
|
|
448
445
|
homekit: "homekit";
|
|
446
|
+
pipeline: "pipeline";
|
|
447
|
+
recording: "recording";
|
|
448
|
+
"rtsp-listen": "rtsp-listen";
|
|
449
|
+
snapshot: "snapshot";
|
|
450
|
+
unknown: "unknown";
|
|
451
|
+
warmup: "warmup";
|
|
449
452
|
"webrtc-browser": "webrtc-browser";
|
|
450
453
|
"webrtc-mobile": "webrtc-mobile";
|
|
451
454
|
"webrtc-whep": "webrtc-whep";
|
|
452
|
-
"rtsp-listen": "rtsp-listen";
|
|
453
|
-
"derived-broker": "derived-broker";
|
|
454
|
-
warmup: "warmup";
|
|
455
455
|
}>;
|
|
456
456
|
label: z.ZodOptional<z.ZodString>;
|
|
457
457
|
media: z.ZodOptional<z.ZodEnum<{
|
|
458
458
|
audio: "audio";
|
|
459
|
-
video: "video";
|
|
460
459
|
both: "both";
|
|
460
|
+
video: "video";
|
|
461
461
|
}>>;
|
|
462
462
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
463
463
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -529,8 +529,8 @@ export declare const webrtcSessionCapability: {
|
|
|
529
529
|
deviceId: z.ZodNumber;
|
|
530
530
|
profile: z.ZodEnum<{
|
|
531
531
|
high: "high";
|
|
532
|
-
mid: "mid";
|
|
533
532
|
low: "low";
|
|
533
|
+
mid: "mid";
|
|
534
534
|
}>;
|
|
535
535
|
}, z.core.$strip>, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
|
|
536
536
|
/** Poll the live signaling state of a session. `pendingRenegotiation` is
|
|
@@ -547,8 +547,8 @@ export declare const webrtcSessionCapability: {
|
|
|
547
547
|
kind: z.ZodLiteral<"profile">;
|
|
548
548
|
profile: z.ZodEnum<{
|
|
549
549
|
high: "high";
|
|
550
|
-
mid: "mid";
|
|
551
550
|
low: "low";
|
|
551
|
+
mid: "mid";
|
|
552
552
|
}>;
|
|
553
553
|
}, z.core.$strip>, z.ZodObject<{
|
|
554
554
|
kind: z.ZodLiteral<"cam-stream">;
|
|
@@ -584,13 +584,13 @@ export declare const webrtcSessionCapability: {
|
|
|
584
584
|
downlinkMbps: z.ZodNumber;
|
|
585
585
|
}, z.core.$strip>, z.ZodObject<{
|
|
586
586
|
outcome: z.ZodEnum<{
|
|
587
|
-
switching: "switching";
|
|
588
587
|
held: "held";
|
|
588
|
+
switching: "switching";
|
|
589
589
|
}>;
|
|
590
590
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
591
591
|
high: "high";
|
|
592
|
-
mid: "mid";
|
|
593
592
|
low: "low";
|
|
593
|
+
mid: "mid";
|
|
594
594
|
}>>;
|
|
595
595
|
reason: z.ZodString;
|
|
596
596
|
}, z.core.$strip>, "mutation">;
|
|
@@ -620,24 +620,24 @@ export declare const webrtcSessionCapability: {
|
|
|
620
620
|
brokerId: z.ZodNullable<z.ZodString>;
|
|
621
621
|
camStreamId: z.ZodNullable<z.ZodString>;
|
|
622
622
|
sourceKind: z.ZodEnum<{
|
|
623
|
-
unknown: "unknown";
|
|
624
|
-
native: "native";
|
|
625
623
|
derived: "derived";
|
|
624
|
+
native: "native";
|
|
625
|
+
unknown: "unknown";
|
|
626
626
|
}>;
|
|
627
627
|
adaptive: z.ZodBoolean;
|
|
628
628
|
servedTier: z.ZodNullable<z.ZodEnum<{
|
|
629
629
|
high: "high";
|
|
630
|
-
mid: "mid";
|
|
631
630
|
low: "low";
|
|
631
|
+
mid: "mid";
|
|
632
632
|
}>>;
|
|
633
633
|
ingestNodeId: z.ZodNullable<z.ZodString>;
|
|
634
634
|
ingestIsRemote: z.ZodNullable<z.ZodBoolean>;
|
|
635
635
|
sourceCodec: z.ZodNullable<z.ZodString>;
|
|
636
636
|
negotiatedCodec: z.ZodNullable<z.ZodString>;
|
|
637
637
|
egressLeg: z.ZodEnum<{
|
|
638
|
-
unknown: "unknown";
|
|
639
638
|
copy: "copy";
|
|
640
639
|
transcode: "transcode";
|
|
640
|
+
unknown: "unknown";
|
|
641
641
|
}>;
|
|
642
642
|
brokerStatus: z.ZodNullable<z.ZodString>;
|
|
643
643
|
brokerCodec: z.ZodNullable<z.ZodString>;
|
|
@@ -652,13 +652,13 @@ export declare const webrtcSessionCapability: {
|
|
|
652
652
|
lastDecision: z.ZodNullable<z.ZodObject<{
|
|
653
653
|
cause: z.ZodEnum<{
|
|
654
654
|
healthy: "healthy";
|
|
655
|
-
stall: "stall";
|
|
656
655
|
loss: "loss";
|
|
656
|
+
stall: "stall";
|
|
657
657
|
}>;
|
|
658
658
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
659
659
|
high: "high";
|
|
660
|
-
mid: "mid";
|
|
661
660
|
low: "low";
|
|
661
|
+
mid: "mid";
|
|
662
662
|
}>>;
|
|
663
663
|
forcedTranscodeDown: z.ZodBoolean;
|
|
664
664
|
lossRatio: z.ZodNullable<z.ZodNumber>;
|
|
@@ -671,8 +671,8 @@ export declare const webrtcSessionCapability: {
|
|
|
671
671
|
tierFailures: z.ZodArray<z.ZodObject<{
|
|
672
672
|
tier: z.ZodEnum<{
|
|
673
673
|
high: "high";
|
|
674
|
-
mid: "mid";
|
|
675
674
|
low: "low";
|
|
675
|
+
mid: "mid";
|
|
676
676
|
}>;
|
|
677
677
|
failures: z.ZodNumber;
|
|
678
678
|
}, z.core.$strip>>;
|
|
@@ -681,8 +681,8 @@ export declare const webrtcSessionCapability: {
|
|
|
681
681
|
code: z.ZodString;
|
|
682
682
|
nextTier: z.ZodEnum<{
|
|
683
683
|
high: "high";
|
|
684
|
-
mid: "mid";
|
|
685
684
|
low: "low";
|
|
685
|
+
mid: "mid";
|
|
686
686
|
}>;
|
|
687
687
|
deliveryRatio: z.ZodNullable<z.ZodNumber>;
|
|
688
688
|
deliveryWindowMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -699,8 +699,8 @@ export declare const webrtcSessionCapability: {
|
|
|
699
699
|
lastRevert: z.ZodNullable<z.ZodObject<{
|
|
700
700
|
tier: z.ZodEnum<{
|
|
701
701
|
high: "high";
|
|
702
|
-
mid: "mid";
|
|
703
702
|
low: "low";
|
|
703
|
+
mid: "mid";
|
|
704
704
|
}>;
|
|
705
705
|
deliveryRatio: z.ZodNullable<z.ZodNumber>;
|
|
706
706
|
stalled: z.ZodBoolean;
|
|
@@ -717,7 +717,7 @@ export declare const webrtcSessionCapability: {
|
|
|
717
717
|
};
|
|
718
718
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
719
719
|
readonly mount: {
|
|
720
|
-
readonly kind:
|
|
720
|
+
readonly kind: 'server-provided';
|
|
721
721
|
};
|
|
722
722
|
};
|
|
723
723
|
export type IWebrtcSessionProvider = InferProvider<typeof webrtcSessionCapability>;
|
|
@@ -122,8 +122,8 @@ export type CameraOccupancySnapshot = z.infer<typeof CameraOccupancySnapshotSche
|
|
|
122
122
|
export declare const CameraOccupancySnapshotForDeviceSchema: z.ZodObject<{
|
|
123
123
|
deviceId: z.ZodNumber;
|
|
124
124
|
read: z.ZodEnum<{
|
|
125
|
-
unreadable: "unreadable";
|
|
126
125
|
read: "read";
|
|
126
|
+
unreadable: "unreadable";
|
|
127
127
|
}>;
|
|
128
128
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
129
129
|
ts: z.ZodNumber;
|
|
@@ -179,18 +179,18 @@ export type PerScopeBreakdown = z.infer<typeof PerScopeBreakdownSchema>;
|
|
|
179
179
|
* for arbitrary fractional buckets.
|
|
180
180
|
*/
|
|
181
181
|
declare const HistoryResolutionEnum: z.ZodEnum<{
|
|
182
|
-
minute: "minute";
|
|
183
182
|
"5min": "5min";
|
|
184
183
|
hour: "hour";
|
|
184
|
+
minute: "minute";
|
|
185
185
|
}>;
|
|
186
186
|
export type HistoryResolution = z.infer<typeof HistoryResolutionEnum>;
|
|
187
187
|
declare const HistoryRangeSchema: z.ZodObject<{
|
|
188
188
|
from: z.ZodNumber;
|
|
189
189
|
to: z.ZodNumber;
|
|
190
190
|
resolution: z.ZodEnum<{
|
|
191
|
-
minute: "minute";
|
|
192
191
|
"5min": "5min";
|
|
193
192
|
hour: "hour";
|
|
193
|
+
minute: "minute";
|
|
194
194
|
}>;
|
|
195
195
|
}, z.core.$strip>;
|
|
196
196
|
declare const HistoryPointSchema: z.ZodObject<{
|
|
@@ -238,9 +238,9 @@ export type HistoryPoint = z.infer<typeof HistoryPointSchema>;
|
|
|
238
238
|
* it. Do not add a fourth caller.
|
|
239
239
|
*/
|
|
240
240
|
export declare const zoneAnalyticsCapability: {
|
|
241
|
-
readonly name:
|
|
242
|
-
readonly scope:
|
|
243
|
-
readonly mode:
|
|
241
|
+
readonly name: 'zone-analytics';
|
|
242
|
+
readonly scope: 'device';
|
|
243
|
+
readonly mode: 'singleton';
|
|
244
244
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
245
245
|
readonly methods: {
|
|
246
246
|
/** Latest computed occupancy snapshot for this camera. Null when
|
|
@@ -310,8 +310,8 @@ export declare const zoneAnalyticsCapability: {
|
|
|
310
310
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
311
311
|
deviceId: z.ZodNumber;
|
|
312
312
|
read: z.ZodEnum<{
|
|
313
|
-
unreadable: "unreadable";
|
|
314
313
|
read: "read";
|
|
314
|
+
unreadable: "unreadable";
|
|
315
315
|
}>;
|
|
316
316
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
317
317
|
ts: z.ZodNumber;
|
|
@@ -360,46 +360,46 @@ export declare const zoneAnalyticsCapability: {
|
|
|
360
360
|
/** Time-series object count inside one zone. `className` optional —
|
|
361
361
|
* omit to count every class in the zone. */
|
|
362
362
|
readonly getZoneHistory: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
363
|
-
deviceId: z.ZodNumber;
|
|
364
|
-
zoneId: z.ZodString;
|
|
365
|
-
className: z.ZodOptional<z.ZodString>;
|
|
366
363
|
from: z.ZodNumber;
|
|
367
364
|
to: z.ZodNumber;
|
|
368
365
|
resolution: z.ZodEnum<{
|
|
369
|
-
minute: "minute";
|
|
370
366
|
"5min": "5min";
|
|
371
367
|
hour: "hour";
|
|
368
|
+
minute: "minute";
|
|
372
369
|
}>;
|
|
370
|
+
deviceId: z.ZodNumber;
|
|
371
|
+
zoneId: z.ZodString;
|
|
372
|
+
className: z.ZodOptional<z.ZodString>;
|
|
373
373
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
374
374
|
ts: z.ZodNumber;
|
|
375
375
|
count: z.ZodNumber;
|
|
376
376
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
377
377
|
/** Time-series frame-wide object count (everywhere). */
|
|
378
378
|
readonly getCameraHistory: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
379
|
-
deviceId: z.ZodNumber;
|
|
380
|
-
className: z.ZodOptional<z.ZodString>;
|
|
381
379
|
from: z.ZodNumber;
|
|
382
380
|
to: z.ZodNumber;
|
|
383
381
|
resolution: z.ZodEnum<{
|
|
384
|
-
minute: "minute";
|
|
385
382
|
"5min": "5min";
|
|
386
383
|
hour: "hour";
|
|
384
|
+
minute: "minute";
|
|
387
385
|
}>;
|
|
386
|
+
deviceId: z.ZodNumber;
|
|
387
|
+
className: z.ZodOptional<z.ZodString>;
|
|
388
388
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
389
389
|
ts: z.ZodNumber;
|
|
390
390
|
count: z.ZodNumber;
|
|
391
391
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
392
392
|
/** Time-series count of objects outside every zone. */
|
|
393
393
|
readonly getUnzonedHistory: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
394
|
-
deviceId: z.ZodNumber;
|
|
395
|
-
className: z.ZodOptional<z.ZodString>;
|
|
396
394
|
from: z.ZodNumber;
|
|
397
395
|
to: z.ZodNumber;
|
|
398
396
|
resolution: z.ZodEnum<{
|
|
399
|
-
minute: "minute";
|
|
400
397
|
"5min": "5min";
|
|
401
398
|
hour: "hour";
|
|
399
|
+
minute: "minute";
|
|
402
400
|
}>;
|
|
401
|
+
deviceId: z.ZodNumber;
|
|
402
|
+
className: z.ZodOptional<z.ZodString>;
|
|
403
403
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
404
404
|
ts: z.ZodNumber;
|
|
405
405
|
count: z.ZodNumber;
|
|
@@ -461,7 +461,7 @@ export declare const zoneAnalyticsCapability: {
|
|
|
461
461
|
* See `RuntimeStateDurability`. Enforced by
|
|
462
462
|
* `scripts/check-runtime-state-durability.ts`.
|
|
463
463
|
*/
|
|
464
|
-
readonly durability:
|
|
464
|
+
readonly durability: 'session';
|
|
465
465
|
};
|
|
466
466
|
export type IZoneAnalyticsProvider = InferProvider<typeof zoneAnalyticsCapability>;
|
|
467
467
|
export { CameraOccupancySnapshotSchema as _CameraOccupancySnapshotSchema, HistoryPointSchema, HistoryRangeSchema, HistoryResolutionEnum, PerScopeBreakdownSchema, StationaryObjectSchema, ZoneScopeBreakdownSchema, };
|
|
@@ -11,9 +11,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
11
11
|
* gating, alert filtering, …) — no other surface needs to change.
|
|
12
12
|
*/
|
|
13
13
|
export declare const ZoneRuleStageEnum: z.ZodEnum<{
|
|
14
|
-
package: "package";
|
|
15
|
-
motion: "motion";
|
|
16
14
|
detection: "detection";
|
|
15
|
+
motion: "motion";
|
|
16
|
+
package: "package";
|
|
17
17
|
}>;
|
|
18
18
|
export type ZoneRuleStage = z.infer<typeof ZoneRuleStageEnum>;
|
|
19
19
|
/**
|
|
@@ -34,9 +34,9 @@ export type ZoneRuleStage = z.infer<typeof ZoneRuleStageEnum>;
|
|
|
34
34
|
* naturally in the rule editor without per-rule mutation chatter.
|
|
35
35
|
*/
|
|
36
36
|
export declare const zoneRulesCapability: {
|
|
37
|
-
readonly name:
|
|
38
|
-
readonly scope:
|
|
39
|
-
readonly mode:
|
|
37
|
+
readonly name: 'zone-rules';
|
|
38
|
+
readonly scope: 'device';
|
|
39
|
+
readonly mode: 'singleton';
|
|
40
40
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
41
41
|
readonly methods: {
|
|
42
42
|
/** Read the full rule list for a given stage (empty when no rules
|
|
@@ -44,17 +44,17 @@ export declare const zoneRulesCapability: {
|
|
|
44
44
|
readonly listRules: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
45
45
|
deviceId: z.ZodNumber;
|
|
46
46
|
stage: z.ZodEnum<{
|
|
47
|
-
package: "package";
|
|
48
|
-
motion: "motion";
|
|
49
47
|
detection: "detection";
|
|
48
|
+
motion: "motion";
|
|
49
|
+
package: "package";
|
|
50
50
|
}>;
|
|
51
51
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
52
52
|
id: z.ZodString;
|
|
53
53
|
name: z.ZodOptional<z.ZodString>;
|
|
54
54
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
55
55
|
mode: z.ZodEnum<{
|
|
56
|
-
include: "include";
|
|
57
56
|
exclude: "exclude";
|
|
57
|
+
include: "include";
|
|
58
58
|
}>;
|
|
59
59
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
60
60
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -69,17 +69,17 @@ export declare const zoneRulesCapability: {
|
|
|
69
69
|
readonly setRules: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
70
70
|
deviceId: z.ZodNumber;
|
|
71
71
|
stage: z.ZodEnum<{
|
|
72
|
-
package: "package";
|
|
73
|
-
motion: "motion";
|
|
74
72
|
detection: "detection";
|
|
73
|
+
motion: "motion";
|
|
74
|
+
package: "package";
|
|
75
75
|
}>;
|
|
76
76
|
rules: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
77
77
|
id: z.ZodString;
|
|
78
78
|
name: z.ZodOptional<z.ZodString>;
|
|
79
79
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
80
80
|
mode: z.ZodEnum<{
|
|
81
|
-
include: "include";
|
|
82
81
|
exclude: "exclude";
|
|
82
|
+
include: "include";
|
|
83
83
|
}>;
|
|
84
84
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
85
85
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -111,8 +111,8 @@ export declare const zoneRulesCapability: {
|
|
|
111
111
|
name: z.ZodOptional<z.ZodString>;
|
|
112
112
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
113
113
|
mode: z.ZodEnum<{
|
|
114
|
-
include: "include";
|
|
115
114
|
exclude: "exclude";
|
|
115
|
+
include: "include";
|
|
116
116
|
}>;
|
|
117
117
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
118
118
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -125,8 +125,8 @@ export declare const zoneRulesCapability: {
|
|
|
125
125
|
name: z.ZodOptional<z.ZodString>;
|
|
126
126
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
127
127
|
mode: z.ZodEnum<{
|
|
128
|
-
include: "include";
|
|
129
128
|
exclude: "exclude";
|
|
129
|
+
include: "include";
|
|
130
130
|
}>;
|
|
131
131
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
132
132
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -139,8 +139,8 @@ export declare const zoneRulesCapability: {
|
|
|
139
139
|
name: z.ZodOptional<z.ZodString>;
|
|
140
140
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
141
141
|
mode: z.ZodEnum<{
|
|
142
|
-
include: "include";
|
|
143
142
|
exclude: "exclude";
|
|
143
|
+
include: "include";
|
|
144
144
|
}>;
|
|
145
145
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
146
146
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -155,6 +155,6 @@ export declare const zoneRulesCapability: {
|
|
|
155
155
|
* See `RuntimeStateDurability`. Enforced by
|
|
156
156
|
* `scripts/check-runtime-state-durability.ts`.
|
|
157
157
|
*/
|
|
158
|
-
readonly durability:
|
|
158
|
+
readonly durability: 'restored';
|
|
159
159
|
};
|
|
160
160
|
export type IZoneRulesProvider = InferProvider<typeof zoneRulesCapability>;
|
|
@@ -66,9 +66,9 @@ export type Zone = z.infer<typeof ZoneSchema>;
|
|
|
66
66
|
* `capabilities/schemas/zone-rule.js`.
|
|
67
67
|
*/
|
|
68
68
|
export declare const zonesCapability: {
|
|
69
|
-
readonly name:
|
|
70
|
-
readonly scope:
|
|
71
|
-
readonly mode:
|
|
69
|
+
readonly name: 'zones';
|
|
70
|
+
readonly scope: 'device';
|
|
71
|
+
readonly mode: 'singleton';
|
|
72
72
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
73
73
|
readonly methods: {
|
|
74
74
|
readonly listZones: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -152,6 +152,6 @@ export declare const zonesCapability: {
|
|
|
152
152
|
* See `RuntimeStateDurability`. Enforced by
|
|
153
153
|
* `scripts/check-runtime-state-durability.ts`.
|
|
154
154
|
*/
|
|
155
|
-
readonly durability:
|
|
155
|
+
readonly durability: 'restored';
|
|
156
156
|
};
|
|
157
157
|
export type IZonesProvider = InferProvider<typeof zonesCapability>;
|
|
@@ -22,15 +22,15 @@ export interface EventTaxonomyEntry {
|
|
|
22
22
|
readonly label: string;
|
|
23
23
|
}
|
|
24
24
|
export declare const TAXONOMY_COLORS: {
|
|
25
|
-
readonly motion:
|
|
26
|
-
readonly audio:
|
|
27
|
-
readonly person:
|
|
28
|
-
readonly vehicle:
|
|
29
|
-
readonly animal:
|
|
30
|
-
readonly package:
|
|
31
|
-
readonly sensor:
|
|
32
|
-
readonly control:
|
|
33
|
-
readonly genericDetection:
|
|
25
|
+
readonly motion: '#f59e0b';
|
|
26
|
+
readonly audio: '#06b6d4';
|
|
27
|
+
readonly person: '#22c55e';
|
|
28
|
+
readonly vehicle: '#3b82f6';
|
|
29
|
+
readonly animal: '#f97316';
|
|
30
|
+
readonly package: '#a855f7';
|
|
31
|
+
readonly sensor: '#8b5cf6';
|
|
32
|
+
readonly control: '#10b981';
|
|
33
|
+
readonly genericDetection: '#64748b';
|
|
34
34
|
};
|
|
35
35
|
/** Global default color when a kind is unknown (matches legacy box-drawer). */
|
|
36
36
|
export declare const DEFAULT_EVENT_COLOR = "#22ff55";
|