@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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
declare const HardwareEncoderIdSchema: z.ZodEnum<{
|
|
4
|
-
|
|
5
|
-
hevc_videotoolbox: "hevc_videotoolbox";
|
|
6
|
-
h264_vaapi: "h264_vaapi";
|
|
7
|
-
hevc_vaapi: "hevc_vaapi";
|
|
4
|
+
h264_amf: "h264_amf";
|
|
8
5
|
h264_nvenc: "h264_nvenc";
|
|
9
|
-
hevc_nvenc: "hevc_nvenc";
|
|
10
6
|
h264_qsv: "h264_qsv";
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
h264_vaapi: "h264_vaapi";
|
|
8
|
+
h264_videotoolbox: "h264_videotoolbox";
|
|
13
9
|
hevc_amf: "hevc_amf";
|
|
10
|
+
hevc_nvenc: "hevc_nvenc";
|
|
11
|
+
hevc_qsv: "hevc_qsv";
|
|
12
|
+
hevc_vaapi: "hevc_vaapi";
|
|
13
|
+
hevc_videotoolbox: "hevc_videotoolbox";
|
|
14
14
|
libx264: "libx264";
|
|
15
15
|
libx265: "libx265";
|
|
16
16
|
}>;
|
|
17
17
|
export type HardwareEncoderId = z.infer<typeof HardwareEncoderIdSchema>;
|
|
18
18
|
declare const HardwareEncoderProbeSchema: z.ZodObject<{
|
|
19
19
|
encoder: z.ZodEnum<{
|
|
20
|
-
|
|
21
|
-
hevc_videotoolbox: "hevc_videotoolbox";
|
|
22
|
-
h264_vaapi: "h264_vaapi";
|
|
23
|
-
hevc_vaapi: "hevc_vaapi";
|
|
20
|
+
h264_amf: "h264_amf";
|
|
24
21
|
h264_nvenc: "h264_nvenc";
|
|
25
|
-
hevc_nvenc: "hevc_nvenc";
|
|
26
22
|
h264_qsv: "h264_qsv";
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
h264_vaapi: "h264_vaapi";
|
|
24
|
+
h264_videotoolbox: "h264_videotoolbox";
|
|
29
25
|
hevc_amf: "hevc_amf";
|
|
26
|
+
hevc_nvenc: "hevc_nvenc";
|
|
27
|
+
hevc_qsv: "hevc_qsv";
|
|
28
|
+
hevc_vaapi: "hevc_vaapi";
|
|
29
|
+
hevc_videotoolbox: "hevc_videotoolbox";
|
|
30
30
|
libx264: "libx264";
|
|
31
31
|
libx265: "libx265";
|
|
32
32
|
}>;
|
|
@@ -35,12 +35,12 @@ declare const HardwareEncoderProbeSchema: z.ZodObject<{
|
|
|
35
35
|
H265: "H265";
|
|
36
36
|
}>;
|
|
37
37
|
family: z.ZodEnum<{
|
|
38
|
-
videotoolbox: "videotoolbox";
|
|
39
|
-
vaapi: "vaapi";
|
|
40
|
-
qsv: "qsv";
|
|
41
38
|
amf: "amf";
|
|
42
39
|
nvenc: "nvenc";
|
|
40
|
+
qsv: "qsv";
|
|
43
41
|
software: "software";
|
|
42
|
+
vaapi: "vaapi";
|
|
43
|
+
videotoolbox: "videotoolbox";
|
|
44
44
|
}>;
|
|
45
45
|
available: z.ZodBoolean;
|
|
46
46
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -49,16 +49,16 @@ export type HardwareEncoderProbe = z.infer<typeof HardwareEncoderProbeSchema>;
|
|
|
49
49
|
declare const HardwareEncodersSchema: z.ZodObject<{
|
|
50
50
|
encoders: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
51
51
|
encoder: z.ZodEnum<{
|
|
52
|
-
|
|
53
|
-
hevc_videotoolbox: "hevc_videotoolbox";
|
|
54
|
-
h264_vaapi: "h264_vaapi";
|
|
55
|
-
hevc_vaapi: "hevc_vaapi";
|
|
52
|
+
h264_amf: "h264_amf";
|
|
56
53
|
h264_nvenc: "h264_nvenc";
|
|
57
|
-
hevc_nvenc: "hevc_nvenc";
|
|
58
54
|
h264_qsv: "h264_qsv";
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
h264_vaapi: "h264_vaapi";
|
|
56
|
+
h264_videotoolbox: "h264_videotoolbox";
|
|
61
57
|
hevc_amf: "hevc_amf";
|
|
58
|
+
hevc_nvenc: "hevc_nvenc";
|
|
59
|
+
hevc_qsv: "hevc_qsv";
|
|
60
|
+
hevc_vaapi: "hevc_vaapi";
|
|
61
|
+
hevc_videotoolbox: "hevc_videotoolbox";
|
|
62
62
|
libx264: "libx264";
|
|
63
63
|
libx265: "libx265";
|
|
64
64
|
}>;
|
|
@@ -67,41 +67,41 @@ declare const HardwareEncodersSchema: z.ZodObject<{
|
|
|
67
67
|
H265: "H265";
|
|
68
68
|
}>;
|
|
69
69
|
family: z.ZodEnum<{
|
|
70
|
-
videotoolbox: "videotoolbox";
|
|
71
|
-
vaapi: "vaapi";
|
|
72
|
-
qsv: "qsv";
|
|
73
70
|
amf: "amf";
|
|
74
71
|
nvenc: "nvenc";
|
|
72
|
+
qsv: "qsv";
|
|
75
73
|
software: "software";
|
|
74
|
+
vaapi: "vaapi";
|
|
75
|
+
videotoolbox: "videotoolbox";
|
|
76
76
|
}>;
|
|
77
77
|
available: z.ZodBoolean;
|
|
78
78
|
reason: z.ZodOptional<z.ZodString>;
|
|
79
79
|
}, z.core.$strip>>>;
|
|
80
80
|
defaultH264: z.ZodEnum<{
|
|
81
|
-
|
|
82
|
-
hevc_videotoolbox: "hevc_videotoolbox";
|
|
83
|
-
h264_vaapi: "h264_vaapi";
|
|
84
|
-
hevc_vaapi: "hevc_vaapi";
|
|
81
|
+
h264_amf: "h264_amf";
|
|
85
82
|
h264_nvenc: "h264_nvenc";
|
|
86
|
-
hevc_nvenc: "hevc_nvenc";
|
|
87
83
|
h264_qsv: "h264_qsv";
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
h264_vaapi: "h264_vaapi";
|
|
85
|
+
h264_videotoolbox: "h264_videotoolbox";
|
|
90
86
|
hevc_amf: "hevc_amf";
|
|
87
|
+
hevc_nvenc: "hevc_nvenc";
|
|
88
|
+
hevc_qsv: "hevc_qsv";
|
|
89
|
+
hevc_vaapi: "hevc_vaapi";
|
|
90
|
+
hevc_videotoolbox: "hevc_videotoolbox";
|
|
91
91
|
libx264: "libx264";
|
|
92
92
|
libx265: "libx265";
|
|
93
93
|
}>;
|
|
94
94
|
defaultH265: z.ZodEnum<{
|
|
95
|
-
|
|
96
|
-
hevc_videotoolbox: "hevc_videotoolbox";
|
|
97
|
-
h264_vaapi: "h264_vaapi";
|
|
98
|
-
hevc_vaapi: "hevc_vaapi";
|
|
95
|
+
h264_amf: "h264_amf";
|
|
99
96
|
h264_nvenc: "h264_nvenc";
|
|
100
|
-
hevc_nvenc: "hevc_nvenc";
|
|
101
97
|
h264_qsv: "h264_qsv";
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
h264_vaapi: "h264_vaapi";
|
|
99
|
+
h264_videotoolbox: "h264_videotoolbox";
|
|
104
100
|
hevc_amf: "hevc_amf";
|
|
101
|
+
hevc_nvenc: "hevc_nvenc";
|
|
102
|
+
hevc_qsv: "hevc_qsv";
|
|
103
|
+
hevc_vaapi: "hevc_vaapi";
|
|
104
|
+
hevc_videotoolbox: "hevc_videotoolbox";
|
|
105
105
|
libx264: "libx264";
|
|
106
106
|
libx265: "libx265";
|
|
107
107
|
}>;
|
|
@@ -122,9 +122,9 @@ declare const HardwareDecodeAccelsSchema: z.ZodObject<{
|
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
export type HardwareDecodeAccels = z.infer<typeof HardwareDecodeAccelsSchema>;
|
|
124
124
|
export declare const platformProbeCapability: {
|
|
125
|
-
readonly name:
|
|
126
|
-
readonly scope:
|
|
127
|
-
readonly mode:
|
|
125
|
+
readonly name: 'platform-probe';
|
|
126
|
+
readonly scope: 'system';
|
|
127
|
+
readonly mode: 'singleton';
|
|
128
128
|
readonly methods: {
|
|
129
129
|
readonly getCapabilities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
130
130
|
hardware: z.ZodObject<{
|
|
@@ -143,19 +143,25 @@ export declare const platformProbeCapability: {
|
|
|
143
143
|
availableRAM_MB: z.ZodNumber;
|
|
144
144
|
gpu: z.ZodNullable<z.ZodObject<{
|
|
145
145
|
type: z.ZodEnum<{
|
|
146
|
-
nvidia: "nvidia";
|
|
147
146
|
amd: "amd";
|
|
148
|
-
intel: "intel";
|
|
149
147
|
apple: "apple";
|
|
148
|
+
intel: "intel";
|
|
149
|
+
nvidia: "nvidia";
|
|
150
150
|
}>;
|
|
151
151
|
name: z.ZodString;
|
|
152
152
|
memoryMB: z.ZodOptional<z.ZodNumber>;
|
|
153
153
|
}, z.core.$strip>>;
|
|
154
154
|
npu: z.ZodNullable<z.ZodObject<{
|
|
155
155
|
type: z.ZodEnum<{
|
|
156
|
+
"amd-xdna": "amd-xdna";
|
|
156
157
|
"apple-ane": "apple-ane";
|
|
157
158
|
"intel-npu": "intel-npu";
|
|
158
159
|
}>;
|
|
160
|
+
name: z.ZodOptional<z.ZodString>;
|
|
161
|
+
generation: z.ZodOptional<z.ZodEnum<{
|
|
162
|
+
xdna1: "xdna1";
|
|
163
|
+
xdna2: "xdna2";
|
|
164
|
+
}>>;
|
|
159
165
|
}, z.core.$strip>>;
|
|
160
166
|
coral: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
161
167
|
type: z.ZodLiteral<"coral-edgetpu">;
|
|
@@ -166,8 +172,8 @@ export declare const platformProbeCapability: {
|
|
|
166
172
|
runtime: z.ZodLiteral<"python">;
|
|
167
173
|
backend: z.ZodString;
|
|
168
174
|
format: z.ZodEnum<{
|
|
169
|
-
onnx: "onnx";
|
|
170
175
|
coreml: "coreml";
|
|
176
|
+
onnx: "onnx";
|
|
171
177
|
openvino: "openvino";
|
|
172
178
|
tflite: "tflite";
|
|
173
179
|
}>;
|
|
@@ -179,8 +185,8 @@ export declare const platformProbeCapability: {
|
|
|
179
185
|
runtime: z.ZodLiteral<"python">;
|
|
180
186
|
backend: z.ZodString;
|
|
181
187
|
format: z.ZodEnum<{
|
|
182
|
-
onnx: "onnx";
|
|
183
188
|
coreml: "coreml";
|
|
189
|
+
onnx: "onnx";
|
|
184
190
|
openvino: "openvino";
|
|
185
191
|
tflite: "tflite";
|
|
186
192
|
}>;
|
|
@@ -194,12 +200,12 @@ export declare const platformProbeCapability: {
|
|
|
194
200
|
backend: z.ZodString;
|
|
195
201
|
device: z.ZodString;
|
|
196
202
|
format: z.ZodEnum<{
|
|
197
|
-
onnx: "onnx";
|
|
198
203
|
coreml: "coreml";
|
|
204
|
+
gguf: "gguf";
|
|
205
|
+
onnx: "onnx";
|
|
199
206
|
openvino: "openvino";
|
|
200
|
-
tflite: "tflite";
|
|
201
207
|
pt: "pt";
|
|
202
|
-
|
|
208
|
+
tflite: "tflite";
|
|
203
209
|
}>;
|
|
204
210
|
runtime: z.ZodLiteral<"python">;
|
|
205
211
|
score: z.ZodNumber;
|
|
@@ -222,19 +228,25 @@ export declare const platformProbeCapability: {
|
|
|
222
228
|
availableRAM_MB: z.ZodNumber;
|
|
223
229
|
gpu: z.ZodNullable<z.ZodObject<{
|
|
224
230
|
type: z.ZodEnum<{
|
|
225
|
-
nvidia: "nvidia";
|
|
226
231
|
amd: "amd";
|
|
227
|
-
intel: "intel";
|
|
228
232
|
apple: "apple";
|
|
233
|
+
intel: "intel";
|
|
234
|
+
nvidia: "nvidia";
|
|
229
235
|
}>;
|
|
230
236
|
name: z.ZodString;
|
|
231
237
|
memoryMB: z.ZodOptional<z.ZodNumber>;
|
|
232
238
|
}, z.core.$strip>>;
|
|
233
239
|
npu: z.ZodNullable<z.ZodObject<{
|
|
234
240
|
type: z.ZodEnum<{
|
|
241
|
+
"amd-xdna": "amd-xdna";
|
|
235
242
|
"apple-ane": "apple-ane";
|
|
236
243
|
"intel-npu": "intel-npu";
|
|
237
244
|
}>;
|
|
245
|
+
name: z.ZodOptional<z.ZodString>;
|
|
246
|
+
generation: z.ZodOptional<z.ZodEnum<{
|
|
247
|
+
xdna1: "xdna1";
|
|
248
|
+
xdna2: "xdna2";
|
|
249
|
+
}>>;
|
|
238
250
|
}, z.core.$strip>>;
|
|
239
251
|
coral: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
240
252
|
type: z.ZodLiteral<"coral-edgetpu">;
|
|
@@ -254,32 +266,32 @@ export declare const platformProbeCapability: {
|
|
|
254
266
|
runtime: z.ZodLiteral<"python">;
|
|
255
267
|
backend: z.ZodString;
|
|
256
268
|
format: z.ZodEnum<{
|
|
257
|
-
onnx: "onnx";
|
|
258
269
|
coreml: "coreml";
|
|
270
|
+
gguf: "gguf";
|
|
271
|
+
onnx: "onnx";
|
|
259
272
|
openvino: "openvino";
|
|
260
|
-
tflite: "tflite";
|
|
261
273
|
pt: "pt";
|
|
262
|
-
|
|
274
|
+
tflite: "tflite";
|
|
263
275
|
}>;
|
|
264
276
|
reason: z.ZodString;
|
|
265
277
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
266
278
|
readonly resolveHwAccel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
267
279
|
prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
268
|
-
|
|
280
|
+
amf: "amf";
|
|
269
281
|
coreml: "coreml";
|
|
270
|
-
openvino: "openvino";
|
|
271
|
-
tensorrt: "tensorrt";
|
|
272
282
|
cuda: "cuda";
|
|
273
|
-
videotoolbox: "videotoolbox";
|
|
274
|
-
vaapi: "vaapi";
|
|
275
|
-
qsv: "qsv";
|
|
276
|
-
nvdec: "nvdec";
|
|
277
283
|
d3d11va: "d3d11va";
|
|
284
|
+
directml: "directml";
|
|
285
|
+
drm: "drm";
|
|
278
286
|
dxva2: "dxva2";
|
|
279
|
-
|
|
287
|
+
none: "none";
|
|
288
|
+
nvdec: "nvdec";
|
|
289
|
+
openvino: "openvino";
|
|
290
|
+
qsv: "qsv";
|
|
291
|
+
tensorrt: "tensorrt";
|
|
292
|
+
vaapi: "vaapi";
|
|
280
293
|
vdpau: "vdpau";
|
|
281
|
-
|
|
282
|
-
directml: "directml";
|
|
294
|
+
videotoolbox: "videotoolbox";
|
|
283
295
|
webgpu: "webgpu";
|
|
284
296
|
}>>>;
|
|
285
297
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -29,10 +29,10 @@ export declare const PowerMeterStatusSchema: z.ZodObject<{
|
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
export type PowerMeterStatus = z.infer<typeof PowerMeterStatusSchema>;
|
|
31
31
|
export declare const powerMeterCapability: {
|
|
32
|
-
readonly name:
|
|
33
|
-
readonly scope:
|
|
32
|
+
readonly name: 'power-meter';
|
|
33
|
+
readonly scope: 'device';
|
|
34
34
|
readonly deviceNative: true;
|
|
35
|
-
readonly mode:
|
|
35
|
+
readonly mode: 'singleton';
|
|
36
36
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
37
37
|
readonly methods: {};
|
|
38
38
|
readonly status: {
|
|
@@ -47,7 +47,7 @@ export declare const powerMeterCapability: {
|
|
|
47
47
|
unit: z.ZodOptional<z.ZodString>;
|
|
48
48
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
49
49
|
}, z.core.$strip>;
|
|
50
|
-
readonly kind:
|
|
50
|
+
readonly kind: 'push';
|
|
51
51
|
};
|
|
52
52
|
readonly runtimeState: z.ZodObject<{
|
|
53
53
|
watts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -66,7 +66,7 @@ export declare const powerMeterCapability: {
|
|
|
66
66
|
* See `RuntimeStateDurability`. Enforced by
|
|
67
67
|
* `scripts/check-runtime-state-durability.ts`.
|
|
68
68
|
*/
|
|
69
|
-
readonly durability:
|
|
69
|
+
readonly durability: 'restored';
|
|
70
70
|
/** Clock fields: written, but excluded from the compare that decides
|
|
71
71
|
* whether persisting is worth a SQLite commit. */
|
|
72
72
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -36,10 +36,10 @@ export declare const PresenceStatusSchema: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
export type PresenceStatus = z.infer<typeof PresenceStatusSchema>;
|
|
38
38
|
export declare const presenceCapability: {
|
|
39
|
-
readonly name:
|
|
40
|
-
readonly scope:
|
|
39
|
+
readonly name: 'presence';
|
|
40
|
+
readonly scope: 'device';
|
|
41
41
|
readonly deviceNative: true;
|
|
42
|
-
readonly mode:
|
|
42
|
+
readonly mode: 'singleton';
|
|
43
43
|
readonly deviceTypes: readonly [DeviceType.Presence];
|
|
44
44
|
readonly methods: {};
|
|
45
45
|
readonly status: {
|
|
@@ -54,7 +54,7 @@ export declare const presenceCapability: {
|
|
|
54
54
|
batteryPercent: z.ZodNullable<z.ZodNumber>;
|
|
55
55
|
lastChangedAt: z.ZodNumber;
|
|
56
56
|
}, z.core.$strip>;
|
|
57
|
-
readonly kind:
|
|
57
|
+
readonly kind: 'push';
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* Runtime-state slice — mirrored by the kernel. UI presence card
|
|
@@ -79,7 +79,7 @@ export declare const presenceCapability: {
|
|
|
79
79
|
* See `RuntimeStateDurability`. Enforced by
|
|
80
80
|
* `scripts/check-runtime-state-durability.ts`.
|
|
81
81
|
*/
|
|
82
|
-
readonly durability:
|
|
82
|
+
readonly durability: 'restored';
|
|
83
83
|
/** Clock fields: written, but excluded from the compare that decides
|
|
84
84
|
* whether persisting is worth a SQLite commit. */
|
|
85
85
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -17,10 +17,10 @@ export declare const PressureSensorStatusSchema: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
export type PressureSensorStatus = z.infer<typeof PressureSensorStatusSchema>;
|
|
19
19
|
export declare const pressureSensorCapability: {
|
|
20
|
-
readonly name:
|
|
21
|
-
readonly scope:
|
|
20
|
+
readonly name: 'pressure-sensor';
|
|
21
|
+
readonly scope: 'device';
|
|
22
22
|
readonly deviceNative: true;
|
|
23
|
-
readonly mode:
|
|
23
|
+
readonly mode: 'singleton';
|
|
24
24
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
25
25
|
readonly methods: {};
|
|
26
26
|
readonly status: {
|
|
@@ -30,7 +30,7 @@ export declare const pressureSensorCapability: {
|
|
|
30
30
|
unit: z.ZodOptional<z.ZodString>;
|
|
31
31
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
-
readonly kind:
|
|
33
|
+
readonly kind: 'push';
|
|
34
34
|
};
|
|
35
35
|
readonly runtimeState: z.ZodObject<{
|
|
36
36
|
hpa: z.ZodNumber;
|
|
@@ -44,7 +44,7 @@ export declare const pressureSensorCapability: {
|
|
|
44
44
|
* See `RuntimeStateDurability`. Enforced by
|
|
45
45
|
* `scripts/check-runtime-state-durability.ts`.
|
|
46
46
|
*/
|
|
47
|
-
readonly durability:
|
|
47
|
+
readonly durability: 'restored';
|
|
48
48
|
/** Clock fields: written, but excluded from the compare that decides
|
|
49
49
|
* whether persisting is worth a SQLite commit. */
|
|
50
50
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -86,10 +86,10 @@ export declare const PrivacyMaskStatusSchema: z.ZodObject<{
|
|
|
86
86
|
export declare const PrivacyMaskOptionsSchema: z.ZodObject<{
|
|
87
87
|
maxRegions: z.ZodNumber;
|
|
88
88
|
supportedShapes: z.ZodArray<z.ZodEnum<{
|
|
89
|
-
rect: "rect";
|
|
90
|
-
polygon: "polygon";
|
|
91
89
|
grid: "grid";
|
|
92
90
|
line: "line";
|
|
91
|
+
polygon: "polygon";
|
|
92
|
+
rect: "rect";
|
|
93
93
|
}>>;
|
|
94
94
|
polygonVertices: z.ZodOptional<z.ZodObject<{
|
|
95
95
|
min: z.ZodNumber;
|
|
@@ -124,17 +124,17 @@ export type PrivacyMaskStatus = z.infer<typeof PrivacyMaskStatusSchema>;
|
|
|
124
124
|
export type PrivacyMaskOptions = z.infer<typeof PrivacyMaskOptionsSchema>;
|
|
125
125
|
export type PrivacyMaskPatch = z.infer<typeof PrivacyMaskPatchSchema>;
|
|
126
126
|
export declare const privacyMaskCapability: {
|
|
127
|
-
readonly name:
|
|
128
|
-
readonly scope:
|
|
127
|
+
readonly name: 'privacy-mask';
|
|
128
|
+
readonly scope: 'device';
|
|
129
129
|
readonly deviceNative: true;
|
|
130
|
-
readonly mode:
|
|
130
|
+
readonly mode: 'singleton';
|
|
131
131
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
132
132
|
readonly deviceConfig: {
|
|
133
133
|
readonly ui: {
|
|
134
|
-
readonly kind:
|
|
135
|
-
readonly widgetId:
|
|
136
|
-
readonly tab:
|
|
137
|
-
readonly label:
|
|
134
|
+
readonly kind: 'widget';
|
|
135
|
+
readonly widgetId: 'host/privacy-mask-grid';
|
|
136
|
+
readonly tab: 'image';
|
|
137
|
+
readonly label: 'Privacy Mask';
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
readonly methods: {
|
|
@@ -143,10 +143,10 @@ export declare const privacyMaskCapability: {
|
|
|
143
143
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
144
|
maxRegions: z.ZodNumber;
|
|
145
145
|
supportedShapes: z.ZodArray<z.ZodEnum<{
|
|
146
|
-
rect: "rect";
|
|
147
|
-
polygon: "polygon";
|
|
148
146
|
grid: "grid";
|
|
149
147
|
line: "line";
|
|
148
|
+
polygon: "polygon";
|
|
149
|
+
rect: "rect";
|
|
150
150
|
}>>;
|
|
151
151
|
polygonVertices: z.ZodOptional<z.ZodObject<{
|
|
152
152
|
min: z.ZodNumber;
|
|
@@ -219,7 +219,7 @@ export declare const privacyMaskCapability: {
|
|
|
219
219
|
audioEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
220
220
|
lastFetchedAt: z.ZodNumber;
|
|
221
221
|
}, z.core.$strip>;
|
|
222
|
-
readonly kind:
|
|
222
|
+
readonly kind: 'poll';
|
|
223
223
|
};
|
|
224
224
|
readonly runtimeState: z.ZodObject<{
|
|
225
225
|
enabled: z.ZodBoolean;
|
|
@@ -249,7 +249,7 @@ export declare const privacyMaskCapability: {
|
|
|
249
249
|
* See `RuntimeStateDurability`. Enforced by
|
|
250
250
|
* `scripts/check-runtime-state-durability.ts`.
|
|
251
251
|
*/
|
|
252
|
-
readonly durability:
|
|
252
|
+
readonly durability: 'restored';
|
|
253
253
|
/** Clock fields: written, but excluded from the compare that decides
|
|
254
254
|
* whether persisting is worth a SQLite commit. */
|
|
255
255
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -62,10 +62,10 @@ export declare const PtzAutotrackRuntimeStateSchema: z.ZodObject<{
|
|
|
62
62
|
}, z.core.$strip>;
|
|
63
63
|
export type PtzAutotrackRuntimeState = z.infer<typeof PtzAutotrackRuntimeStateSchema>;
|
|
64
64
|
export declare const ptzAutotrackCapability: {
|
|
65
|
-
readonly name:
|
|
66
|
-
readonly scope:
|
|
65
|
+
readonly name: 'ptz-autotrack';
|
|
66
|
+
readonly scope: 'device';
|
|
67
67
|
readonly deviceNative: true;
|
|
68
|
-
readonly mode:
|
|
68
|
+
readonly mode: 'singleton';
|
|
69
69
|
/**
|
|
70
70
|
* Two kinds of provider behind one name, the same shape `snapshot` uses:
|
|
71
71
|
*
|
|
@@ -82,16 +82,16 @@ export declare const ptzAutotrackCapability: {
|
|
|
82
82
|
* head, which is the whole reason this is not a second cap with a second
|
|
83
83
|
* toggle (D62, D520).
|
|
84
84
|
*/
|
|
85
|
-
readonly kind:
|
|
85
|
+
readonly kind: 'wrapper';
|
|
86
86
|
readonly defaultActive: false;
|
|
87
87
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
88
88
|
readonly deviceConfig: {
|
|
89
89
|
readonly ui: {
|
|
90
|
-
readonly kind:
|
|
91
|
-
readonly widgetId:
|
|
92
|
-
readonly tab:
|
|
90
|
+
readonly kind: 'widget';
|
|
91
|
+
readonly widgetId: 'host/ptz-autotrack';
|
|
92
|
+
readonly tab: 'ptz';
|
|
93
93
|
readonly topTab: true;
|
|
94
|
-
readonly label:
|
|
94
|
+
readonly label: 'Auto-Tracking';
|
|
95
95
|
readonly order: 5;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
@@ -188,7 +188,7 @@ export declare const ptzAutotrackCapability: {
|
|
|
188
188
|
label: z.ZodString;
|
|
189
189
|
}, z.core.$strip>>;
|
|
190
190
|
}, z.core.$strip>;
|
|
191
|
-
readonly kind:
|
|
191
|
+
readonly kind: 'command-driven';
|
|
192
192
|
};
|
|
193
193
|
/**
|
|
194
194
|
* Persistent slice mirrored across restarts. The provider writes
|
|
@@ -218,6 +218,6 @@ export declare const ptzAutotrackCapability: {
|
|
|
218
218
|
* See `RuntimeStateDurability`. Enforced by
|
|
219
219
|
* `scripts/check-runtime-state-durability.ts`.
|
|
220
220
|
*/
|
|
221
|
-
readonly durability:
|
|
221
|
+
readonly durability: 'session';
|
|
222
222
|
};
|
|
223
223
|
export type IPtzAutotrackProvider = InferProvider<typeof ptzAutotrackCapability>;
|
|
@@ -23,28 +23,28 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
23
23
|
* `deletePreset` are gated.
|
|
24
24
|
*/
|
|
25
25
|
export declare const PtzPresetFunctionSchema: z.ZodEnum<{
|
|
26
|
-
home: "home";
|
|
27
|
-
reboot: "reboot";
|
|
28
26
|
"day-mode": "day-mode";
|
|
29
|
-
"night-mode": "night-mode";
|
|
30
27
|
"day-night-auto": "day-night-auto";
|
|
31
|
-
|
|
32
|
-
"
|
|
28
|
+
home: "home";
|
|
29
|
+
"night-mode": "night-mode";
|
|
33
30
|
"osd-menu": "osd-menu";
|
|
31
|
+
reboot: "reboot";
|
|
32
|
+
"save-limits": "save-limits";
|
|
33
|
+
"set-limits": "set-limits";
|
|
34
34
|
}>;
|
|
35
35
|
export type PtzPresetFunction = z.infer<typeof PtzPresetFunctionSchema>;
|
|
36
36
|
declare const PtzPresetSchema: z.ZodObject<{
|
|
37
37
|
id: z.ZodString;
|
|
38
38
|
name: z.ZodString;
|
|
39
39
|
fn: z.ZodNullable<z.ZodEnum<{
|
|
40
|
-
home: "home";
|
|
41
|
-
reboot: "reboot";
|
|
42
40
|
"day-mode": "day-mode";
|
|
43
|
-
"night-mode": "night-mode";
|
|
44
41
|
"day-night-auto": "day-night-auto";
|
|
45
|
-
|
|
46
|
-
"
|
|
42
|
+
home: "home";
|
|
43
|
+
"night-mode": "night-mode";
|
|
47
44
|
"osd-menu": "osd-menu";
|
|
45
|
+
reboot: "reboot";
|
|
46
|
+
"save-limits": "save-limits";
|
|
47
|
+
"set-limits": "set-limits";
|
|
48
48
|
}>>;
|
|
49
49
|
writable: z.ZodBoolean;
|
|
50
50
|
}, z.core.$strip>;
|
|
@@ -136,10 +136,10 @@ declare const PtzOptionsSchema: z.ZodObject<{
|
|
|
136
136
|
export declare const PtzHomePresetSchema: z.ZodObject<{
|
|
137
137
|
presetId: z.ZodNullable<z.ZodString>;
|
|
138
138
|
source: z.ZodEnum<{
|
|
139
|
-
operator: "operator";
|
|
140
|
-
none: "none";
|
|
141
|
-
native: "native";
|
|
142
139
|
firmware: "firmware";
|
|
140
|
+
native: "native";
|
|
141
|
+
none: "none";
|
|
142
|
+
operator: "operator";
|
|
143
143
|
}>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
export type PtzHomePreset = z.infer<typeof PtzHomePresetSchema>;
|
|
@@ -165,18 +165,18 @@ export declare const PtzHomeReturnSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export type PtzHomeReturn = z.infer<typeof PtzHomeReturnSchema>;
|
|
167
167
|
export declare const ptzCapability: {
|
|
168
|
-
readonly name:
|
|
169
|
-
readonly scope:
|
|
168
|
+
readonly name: 'ptz';
|
|
169
|
+
readonly scope: 'device';
|
|
170
170
|
readonly deviceNative: true;
|
|
171
|
-
readonly mode:
|
|
171
|
+
readonly mode: 'singleton';
|
|
172
172
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
173
173
|
readonly deviceConfig: {
|
|
174
174
|
readonly ui: {
|
|
175
|
-
readonly kind:
|
|
176
|
-
readonly widgetId:
|
|
177
|
-
readonly tab:
|
|
175
|
+
readonly kind: 'widget';
|
|
176
|
+
readonly widgetId: 'host/ptz-panel';
|
|
177
|
+
readonly tab: 'ptz';
|
|
178
178
|
readonly topTab: true;
|
|
179
|
-
readonly label:
|
|
179
|
+
readonly label: 'PTZ';
|
|
180
180
|
readonly order: 0;
|
|
181
181
|
};
|
|
182
182
|
};
|
|
@@ -204,14 +204,14 @@ export declare const ptzCapability: {
|
|
|
204
204
|
id: z.ZodString;
|
|
205
205
|
name: z.ZodString;
|
|
206
206
|
fn: z.ZodNullable<z.ZodEnum<{
|
|
207
|
-
home: "home";
|
|
208
|
-
reboot: "reboot";
|
|
209
207
|
"day-mode": "day-mode";
|
|
210
|
-
"night-mode": "night-mode";
|
|
211
208
|
"day-night-auto": "day-night-auto";
|
|
212
|
-
|
|
213
|
-
"
|
|
209
|
+
home: "home";
|
|
210
|
+
"night-mode": "night-mode";
|
|
214
211
|
"osd-menu": "osd-menu";
|
|
212
|
+
reboot: "reboot";
|
|
213
|
+
"save-limits": "save-limits";
|
|
214
|
+
"set-limits": "set-limits";
|
|
215
215
|
}>>;
|
|
216
216
|
writable: z.ZodBoolean;
|
|
217
217
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -254,10 +254,10 @@ export declare const ptzCapability: {
|
|
|
254
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
255
255
|
presetId: z.ZodNullable<z.ZodString>;
|
|
256
256
|
source: z.ZodEnum<{
|
|
257
|
-
operator: "operator";
|
|
258
|
-
none: "none";
|
|
259
|
-
native: "native";
|
|
260
257
|
firmware: "firmware";
|
|
258
|
+
native: "native";
|
|
259
|
+
none: "none";
|
|
260
|
+
operator: "operator";
|
|
261
261
|
}>;
|
|
262
262
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
263
263
|
/**
|
|
@@ -344,7 +344,7 @@ export declare const ptzCapability: {
|
|
|
344
344
|
zoom: z.ZodNullable<z.ZodNumber>;
|
|
345
345
|
autofocus: z.ZodBoolean;
|
|
346
346
|
}, z.core.$strip>;
|
|
347
|
-
readonly kind:
|
|
347
|
+
readonly kind: 'command-driven';
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
350
|
export type IPtzProvider = InferProvider<typeof ptzCapability>;
|
|
@@ -16,10 +16,10 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
16
16
|
* error to the UI, which renders it next to the button.
|
|
17
17
|
*/
|
|
18
18
|
export declare const rebootCapability: {
|
|
19
|
-
readonly name:
|
|
20
|
-
readonly scope:
|
|
19
|
+
readonly name: 'reboot';
|
|
20
|
+
readonly scope: 'device';
|
|
21
21
|
readonly deviceNative: true;
|
|
22
|
-
readonly mode:
|
|
22
|
+
readonly mode: 'singleton';
|
|
23
23
|
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch];
|
|
24
24
|
readonly methods: {
|
|
25
25
|
readonly reboot: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|