@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
|
@@ -22,13 +22,13 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
22
22
|
export declare const CamStreamDescriptorSchema: z.ZodObject<{
|
|
23
23
|
camStreamId: z.ZodString;
|
|
24
24
|
kind: z.ZodEnum<{
|
|
25
|
-
|
|
26
|
-
"pull-rtmp": "pull-rtmp";
|
|
27
|
-
"pull-http": "pull-http";
|
|
25
|
+
derived: "derived";
|
|
28
26
|
"pull-flv": "pull-flv";
|
|
27
|
+
"pull-http": "pull-http";
|
|
29
28
|
"pull-rfc4571": "pull-rfc4571";
|
|
29
|
+
"pull-rtmp": "pull-rtmp";
|
|
30
|
+
"pull-rtsp": "pull-rtsp";
|
|
30
31
|
"push-annexb": "push-annexb";
|
|
31
|
-
derived: "derived";
|
|
32
32
|
}>;
|
|
33
33
|
url: z.ZodOptional<z.ZodString>;
|
|
34
34
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -42,8 +42,8 @@ export declare const CamStreamDescriptorSchema: z.ZodObject<{
|
|
|
42
42
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
44
44
|
high: "high";
|
|
45
|
-
mid: "mid";
|
|
46
45
|
low: "low";
|
|
46
|
+
mid: "mid";
|
|
47
47
|
}>>;
|
|
48
48
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
49
49
|
}, z.core.$strip>;
|
|
@@ -81,13 +81,13 @@ declare const StreamCatalogStateSchema: z.ZodObject<{
|
|
|
81
81
|
descriptors: z.ZodArray<z.ZodObject<{
|
|
82
82
|
camStreamId: z.ZodString;
|
|
83
83
|
kind: z.ZodEnum<{
|
|
84
|
-
|
|
85
|
-
"pull-rtmp": "pull-rtmp";
|
|
86
|
-
"pull-http": "pull-http";
|
|
84
|
+
derived: "derived";
|
|
87
85
|
"pull-flv": "pull-flv";
|
|
86
|
+
"pull-http": "pull-http";
|
|
88
87
|
"pull-rfc4571": "pull-rfc4571";
|
|
88
|
+
"pull-rtmp": "pull-rtmp";
|
|
89
|
+
"pull-rtsp": "pull-rtsp";
|
|
89
90
|
"push-annexb": "push-annexb";
|
|
90
|
-
derived: "derived";
|
|
91
91
|
}>;
|
|
92
92
|
url: z.ZodOptional<z.ZodString>;
|
|
93
93
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -101,8 +101,8 @@ declare const StreamCatalogStateSchema: z.ZodObject<{
|
|
|
101
101
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
102
102
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
103
103
|
high: "high";
|
|
104
|
-
mid: "mid";
|
|
105
104
|
low: "low";
|
|
105
|
+
mid: "mid";
|
|
106
106
|
}>>;
|
|
107
107
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
108
108
|
}, z.core.$strip>>;
|
|
@@ -110,10 +110,10 @@ declare const StreamCatalogStateSchema: z.ZodObject<{
|
|
|
110
110
|
}, z.core.$strip>;
|
|
111
111
|
export type StreamCatalogState = z.infer<typeof StreamCatalogStateSchema>;
|
|
112
112
|
export declare const streamCatalogCapability: {
|
|
113
|
-
readonly name:
|
|
114
|
-
readonly scope:
|
|
113
|
+
readonly name: 'stream-catalog';
|
|
114
|
+
readonly scope: 'device';
|
|
115
115
|
readonly deviceNative: true;
|
|
116
|
-
readonly mode:
|
|
116
|
+
readonly mode: 'singleton';
|
|
117
117
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
118
118
|
readonly methods: {
|
|
119
119
|
readonly getCatalog: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -121,13 +121,13 @@ export declare const streamCatalogCapability: {
|
|
|
121
121
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
122
122
|
camStreamId: z.ZodString;
|
|
123
123
|
kind: z.ZodEnum<{
|
|
124
|
-
|
|
125
|
-
"pull-rtmp": "pull-rtmp";
|
|
126
|
-
"pull-http": "pull-http";
|
|
124
|
+
derived: "derived";
|
|
127
125
|
"pull-flv": "pull-flv";
|
|
126
|
+
"pull-http": "pull-http";
|
|
128
127
|
"pull-rfc4571": "pull-rfc4571";
|
|
128
|
+
"pull-rtmp": "pull-rtmp";
|
|
129
|
+
"pull-rtsp": "pull-rtsp";
|
|
129
130
|
"push-annexb": "push-annexb";
|
|
130
|
-
derived: "derived";
|
|
131
131
|
}>;
|
|
132
132
|
url: z.ZodOptional<z.ZodString>;
|
|
133
133
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -141,8 +141,8 @@ export declare const streamCatalogCapability: {
|
|
|
141
141
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
142
142
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
143
143
|
high: "high";
|
|
144
|
-
mid: "mid";
|
|
145
144
|
low: "low";
|
|
145
|
+
mid: "mid";
|
|
146
146
|
}>>;
|
|
147
147
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
148
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -151,13 +151,13 @@ export declare const streamCatalogCapability: {
|
|
|
151
151
|
descriptors: z.ZodArray<z.ZodObject<{
|
|
152
152
|
camStreamId: z.ZodString;
|
|
153
153
|
kind: z.ZodEnum<{
|
|
154
|
-
|
|
155
|
-
"pull-rtmp": "pull-rtmp";
|
|
156
|
-
"pull-http": "pull-http";
|
|
154
|
+
derived: "derived";
|
|
157
155
|
"pull-flv": "pull-flv";
|
|
156
|
+
"pull-http": "pull-http";
|
|
158
157
|
"pull-rfc4571": "pull-rfc4571";
|
|
158
|
+
"pull-rtmp": "pull-rtmp";
|
|
159
|
+
"pull-rtsp": "pull-rtsp";
|
|
159
160
|
"push-annexb": "push-annexb";
|
|
160
|
-
derived: "derived";
|
|
161
161
|
}>;
|
|
162
162
|
url: z.ZodOptional<z.ZodString>;
|
|
163
163
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -171,8 +171,8 @@ export declare const streamCatalogCapability: {
|
|
|
171
171
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
172
172
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
173
173
|
high: "high";
|
|
174
|
-
mid: "mid";
|
|
175
174
|
low: "low";
|
|
175
|
+
mid: "mid";
|
|
176
176
|
}>>;
|
|
177
177
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
178
178
|
}, z.core.$strip>>;
|
|
@@ -190,7 +190,7 @@ export declare const streamCatalogCapability: {
|
|
|
190
190
|
* See `RuntimeStateDurability`. Enforced by
|
|
191
191
|
* `scripts/check-runtime-state-durability.ts`.
|
|
192
192
|
*/
|
|
193
|
-
readonly durability:
|
|
193
|
+
readonly durability: 'restored';
|
|
194
194
|
/** Clock field: written, but excluded from the compare that decides whether
|
|
195
195
|
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
196
196
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -3,9 +3,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
3
3
|
import { type InferNativeProvider } from './capability-definition.js';
|
|
4
4
|
/** One of the camera's stream profiles. */
|
|
5
5
|
export declare const StreamProfileSchema: z.ZodEnum<{
|
|
6
|
-
sub: "sub";
|
|
7
|
-
main: "main";
|
|
8
6
|
ext: "ext";
|
|
7
|
+
main: "main";
|
|
8
|
+
sub: "sub";
|
|
9
9
|
}>;
|
|
10
10
|
/** The current encoding config of one stream profile. */
|
|
11
11
|
declare const StreamProfileConfigSchema: z.ZodObject<{
|
|
@@ -18,12 +18,12 @@ declare const StreamProfileConfigSchema: z.ZodObject<{
|
|
|
18
18
|
framerate: z.ZodNumber;
|
|
19
19
|
bitrate: z.ZodNumber;
|
|
20
20
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
vbr: "vbr";
|
|
22
21
|
cbr: "cbr";
|
|
22
|
+
vbr: "vbr";
|
|
23
23
|
}>>;
|
|
24
24
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
25
|
-
high: "high";
|
|
26
25
|
baseline: "baseline";
|
|
26
|
+
high: "high";
|
|
27
27
|
main: "main";
|
|
28
28
|
}>>;
|
|
29
29
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -40,12 +40,12 @@ export declare const StreamParamsStatusSchema: z.ZodObject<{
|
|
|
40
40
|
framerate: z.ZodNumber;
|
|
41
41
|
bitrate: z.ZodNumber;
|
|
42
42
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
43
|
-
vbr: "vbr";
|
|
44
43
|
cbr: "cbr";
|
|
44
|
+
vbr: "vbr";
|
|
45
45
|
}>>;
|
|
46
46
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
high: "high";
|
|
48
47
|
baseline: "baseline";
|
|
48
|
+
high: "high";
|
|
49
49
|
main: "main";
|
|
50
50
|
}>>;
|
|
51
51
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -61,12 +61,12 @@ export declare const StreamParamsStatusSchema: z.ZodObject<{
|
|
|
61
61
|
framerate: z.ZodNumber;
|
|
62
62
|
bitrate: z.ZodNumber;
|
|
63
63
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
64
|
-
vbr: "vbr";
|
|
65
64
|
cbr: "cbr";
|
|
65
|
+
vbr: "vbr";
|
|
66
66
|
}>>;
|
|
67
67
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
68
|
-
high: "high";
|
|
69
68
|
baseline: "baseline";
|
|
69
|
+
high: "high";
|
|
70
70
|
main: "main";
|
|
71
71
|
}>>;
|
|
72
72
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -82,12 +82,12 @@ export declare const StreamParamsStatusSchema: z.ZodObject<{
|
|
|
82
82
|
framerate: z.ZodNumber;
|
|
83
83
|
bitrate: z.ZodNumber;
|
|
84
84
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
85
|
-
vbr: "vbr";
|
|
86
85
|
cbr: "cbr";
|
|
86
|
+
vbr: "vbr";
|
|
87
87
|
}>>;
|
|
88
88
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
89
|
-
high: "high";
|
|
90
89
|
baseline: "baseline";
|
|
90
|
+
high: "high";
|
|
91
91
|
main: "main";
|
|
92
92
|
}>>;
|
|
93
93
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -200,12 +200,12 @@ export declare const StreamProfilePatchSchema: z.ZodObject<{
|
|
|
200
200
|
framerate: z.ZodOptional<z.ZodNumber>;
|
|
201
201
|
bitrate: z.ZodOptional<z.ZodNumber>;
|
|
202
202
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
203
|
-
vbr: "vbr";
|
|
204
203
|
cbr: "cbr";
|
|
204
|
+
vbr: "vbr";
|
|
205
205
|
}>>;
|
|
206
206
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
207
|
-
high: "high";
|
|
208
207
|
baseline: "baseline";
|
|
208
|
+
high: "high";
|
|
209
209
|
main: "main";
|
|
210
210
|
}>>;
|
|
211
211
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -215,16 +215,16 @@ export type StreamParamsOptions = z.infer<typeof StreamParamsOptionsSchema>;
|
|
|
215
215
|
export type StreamProfile = z.infer<typeof StreamProfileSchema>;
|
|
216
216
|
export type StreamProfilePatch = z.infer<typeof StreamProfilePatchSchema>;
|
|
217
217
|
export declare const streamParamsCapability: {
|
|
218
|
-
readonly name:
|
|
219
|
-
readonly scope:
|
|
218
|
+
readonly name: 'stream-params';
|
|
219
|
+
readonly scope: 'device';
|
|
220
220
|
readonly deviceNative: true;
|
|
221
|
-
readonly mode:
|
|
221
|
+
readonly mode: 'singleton';
|
|
222
222
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
223
223
|
readonly deviceConfig: {
|
|
224
224
|
readonly ui: {
|
|
225
|
-
readonly kind:
|
|
226
|
-
readonly builderId:
|
|
227
|
-
readonly tab:
|
|
225
|
+
readonly kind: 'derived-form';
|
|
226
|
+
readonly builderId: 'stream-params';
|
|
227
|
+
readonly tab: 'streaming';
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
230
|
readonly methods: {
|
|
@@ -298,9 +298,9 @@ export declare const streamParamsCapability: {
|
|
|
298
298
|
readonly setProfile: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
299
299
|
deviceId: z.ZodNumber;
|
|
300
300
|
profile: z.ZodEnum<{
|
|
301
|
-
sub: "sub";
|
|
302
|
-
main: "main";
|
|
303
301
|
ext: "ext";
|
|
302
|
+
main: "main";
|
|
303
|
+
sub: "sub";
|
|
304
304
|
}>;
|
|
305
305
|
patch: z.ZodObject<{
|
|
306
306
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -312,12 +312,12 @@ export declare const streamParamsCapability: {
|
|
|
312
312
|
framerate: z.ZodOptional<z.ZodNumber>;
|
|
313
313
|
bitrate: z.ZodOptional<z.ZodNumber>;
|
|
314
314
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
315
|
-
vbr: "vbr";
|
|
316
315
|
cbr: "cbr";
|
|
316
|
+
vbr: "vbr";
|
|
317
317
|
}>>;
|
|
318
318
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
319
|
-
high: "high";
|
|
320
319
|
baseline: "baseline";
|
|
320
|
+
high: "high";
|
|
321
321
|
main: "main";
|
|
322
322
|
}>>;
|
|
323
323
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -358,12 +358,12 @@ export declare const streamParamsCapability: {
|
|
|
358
358
|
framerate: z.ZodNumber;
|
|
359
359
|
bitrate: z.ZodNumber;
|
|
360
360
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
361
|
-
vbr: "vbr";
|
|
362
361
|
cbr: "cbr";
|
|
362
|
+
vbr: "vbr";
|
|
363
363
|
}>>;
|
|
364
364
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
365
|
-
high: "high";
|
|
366
365
|
baseline: "baseline";
|
|
366
|
+
high: "high";
|
|
367
367
|
main: "main";
|
|
368
368
|
}>>;
|
|
369
369
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -379,12 +379,12 @@ export declare const streamParamsCapability: {
|
|
|
379
379
|
framerate: z.ZodNumber;
|
|
380
380
|
bitrate: z.ZodNumber;
|
|
381
381
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
382
|
-
vbr: "vbr";
|
|
383
382
|
cbr: "cbr";
|
|
383
|
+
vbr: "vbr";
|
|
384
384
|
}>>;
|
|
385
385
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
386
|
-
high: "high";
|
|
387
386
|
baseline: "baseline";
|
|
387
|
+
high: "high";
|
|
388
388
|
main: "main";
|
|
389
389
|
}>>;
|
|
390
390
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -400,12 +400,12 @@ export declare const streamParamsCapability: {
|
|
|
400
400
|
framerate: z.ZodNumber;
|
|
401
401
|
bitrate: z.ZodNumber;
|
|
402
402
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
vbr: "vbr";
|
|
404
403
|
cbr: "cbr";
|
|
404
|
+
vbr: "vbr";
|
|
405
405
|
}>>;
|
|
406
406
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
407
|
-
high: "high";
|
|
408
407
|
baseline: "baseline";
|
|
408
|
+
high: "high";
|
|
409
409
|
main: "main";
|
|
410
410
|
}>>;
|
|
411
411
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -413,7 +413,7 @@ export declare const streamParamsCapability: {
|
|
|
413
413
|
}, z.core.$strip>>;
|
|
414
414
|
lastFetchedAt: z.ZodNumber;
|
|
415
415
|
}, z.core.$strip>;
|
|
416
|
-
readonly kind:
|
|
416
|
+
readonly kind: 'poll';
|
|
417
417
|
};
|
|
418
418
|
readonly runtimeState: z.ZodObject<{
|
|
419
419
|
main: z.ZodOptional<z.ZodObject<{
|
|
@@ -426,12 +426,12 @@ export declare const streamParamsCapability: {
|
|
|
426
426
|
framerate: z.ZodNumber;
|
|
427
427
|
bitrate: z.ZodNumber;
|
|
428
428
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
429
|
-
vbr: "vbr";
|
|
430
429
|
cbr: "cbr";
|
|
430
|
+
vbr: "vbr";
|
|
431
431
|
}>>;
|
|
432
432
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
433
|
-
high: "high";
|
|
434
433
|
baseline: "baseline";
|
|
434
|
+
high: "high";
|
|
435
435
|
main: "main";
|
|
436
436
|
}>>;
|
|
437
437
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -447,12 +447,12 @@ export declare const streamParamsCapability: {
|
|
|
447
447
|
framerate: z.ZodNumber;
|
|
448
448
|
bitrate: z.ZodNumber;
|
|
449
449
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
450
|
-
vbr: "vbr";
|
|
451
450
|
cbr: "cbr";
|
|
451
|
+
vbr: "vbr";
|
|
452
452
|
}>>;
|
|
453
453
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
454
|
-
high: "high";
|
|
455
454
|
baseline: "baseline";
|
|
455
|
+
high: "high";
|
|
456
456
|
main: "main";
|
|
457
457
|
}>>;
|
|
458
458
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -468,12 +468,12 @@ export declare const streamParamsCapability: {
|
|
|
468
468
|
framerate: z.ZodNumber;
|
|
469
469
|
bitrate: z.ZodNumber;
|
|
470
470
|
bitrateMode: z.ZodOptional<z.ZodEnum<{
|
|
471
|
-
vbr: "vbr";
|
|
472
471
|
cbr: "cbr";
|
|
472
|
+
vbr: "vbr";
|
|
473
473
|
}>>;
|
|
474
474
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
475
|
-
high: "high";
|
|
476
475
|
baseline: "baseline";
|
|
476
|
+
high: "high";
|
|
477
477
|
main: "main";
|
|
478
478
|
}>>;
|
|
479
479
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
@@ -487,7 +487,7 @@ export declare const streamParamsCapability: {
|
|
|
487
487
|
* See `RuntimeStateDurability`. Enforced by
|
|
488
488
|
* `scripts/check-runtime-state-durability.ts`.
|
|
489
489
|
*/
|
|
490
|
-
readonly durability:
|
|
490
|
+
readonly durability: 'restored';
|
|
491
491
|
/** Clock fields: written, but excluded from the compare that decides
|
|
492
492
|
* whether persisting is worth a SQLite commit. */
|
|
493
493
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -51,10 +51,10 @@ export declare const StreamSignalsStatusSchema: z.ZodObject<{
|
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export type StreamSignalsStatus = z.infer<typeof StreamSignalsStatusSchema>;
|
|
53
53
|
export declare const streamSignalsCapability: {
|
|
54
|
-
readonly name:
|
|
55
|
-
readonly scope:
|
|
54
|
+
readonly name: 'stream-signals';
|
|
55
|
+
readonly scope: 'device';
|
|
56
56
|
readonly deviceNative: true;
|
|
57
|
-
readonly mode:
|
|
57
|
+
readonly mode: 'singleton';
|
|
58
58
|
readonly deviceTypes: DeviceType[];
|
|
59
59
|
readonly runtimeState: z.ZodObject<{
|
|
60
60
|
signals: z.ZodArray<z.ZodObject<{
|
|
@@ -78,7 +78,7 @@ export declare const streamSignalsCapability: {
|
|
|
78
78
|
* See `RuntimeStateDurability`. Enforced by
|
|
79
79
|
* `scripts/check-runtime-state-durability.ts`.
|
|
80
80
|
*/
|
|
81
|
-
readonly durability:
|
|
81
|
+
readonly durability: 'session';
|
|
82
82
|
readonly methods: {
|
|
83
83
|
/**
|
|
84
84
|
* What this device can emit. Empty is a valid and common answer — most
|
|
@@ -14,10 +14,10 @@ export declare const SwitchStatusSchema: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
export type SwitchStatus = z.infer<typeof SwitchStatusSchema>;
|
|
16
16
|
export declare const switchCapability: {
|
|
17
|
-
readonly name:
|
|
18
|
-
readonly scope:
|
|
17
|
+
readonly name: 'switch';
|
|
18
|
+
readonly scope: 'device';
|
|
19
19
|
readonly deviceNative: true;
|
|
20
|
-
readonly mode:
|
|
20
|
+
readonly mode: 'singleton';
|
|
21
21
|
readonly deviceTypes: readonly [DeviceType.Switch, DeviceType.Siren, DeviceType.Light];
|
|
22
22
|
readonly methods: {
|
|
23
23
|
readonly setState: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -39,7 +39,7 @@ export declare const switchCapability: {
|
|
|
39
39
|
on: z.ZodBoolean;
|
|
40
40
|
lastChangedAt: z.ZodNumber;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
|
-
readonly kind:
|
|
42
|
+
readonly kind: 'command-driven';
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Runtime-state slice — the last applied on/off state, mirrored by
|
|
@@ -56,19 +56,19 @@ export declare const switchCapability: {
|
|
|
56
56
|
* See `RuntimeStateDurability`. Enforced by
|
|
57
57
|
* `scripts/check-runtime-state-durability.ts`.
|
|
58
58
|
*/
|
|
59
|
-
readonly durability:
|
|
59
|
+
readonly durability: 'restored';
|
|
60
60
|
/** Clock fields: written, but excluded from the compare that decides
|
|
61
61
|
* whether persisting is worth a SQLite commit. */
|
|
62
62
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
63
63
|
readonly settings: {
|
|
64
64
|
readonly bindings: readonly [{
|
|
65
|
-
readonly kind:
|
|
66
|
-
readonly statusPath:
|
|
67
|
-
readonly method:
|
|
68
|
-
readonly valueArg:
|
|
65
|
+
readonly kind: 'scalar';
|
|
66
|
+
readonly statusPath: 'on';
|
|
67
|
+
readonly method: 'setState';
|
|
68
|
+
readonly valueArg: 'on';
|
|
69
69
|
readonly field: {
|
|
70
|
-
readonly label:
|
|
71
|
-
readonly kind:
|
|
70
|
+
readonly label: 'On';
|
|
71
|
+
readonly kind: 'boolean';
|
|
72
72
|
};
|
|
73
73
|
}];
|
|
74
74
|
};
|