@camstack/types 0.1.14 → 0.1.16
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/addon/base-addon.d.ts +262 -0
- package/dist/addon/base-addon.d.ts.map +1 -0
- package/dist/auth-records-BDg37fy9.mjs +8297 -0
- package/dist/auth-records-BDg37fy9.mjs.map +1 -0
- package/dist/auth-records-D5ZNaUos.js +8296 -0
- package/dist/auth-records-D5ZNaUos.js.map +1 -0
- package/dist/capabilities/accessories.cap.d.ts +42 -0
- package/dist/capabilities/accessories.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts +41 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-pages.cap.d.ts +36 -0
- package/dist/capabilities/addon-pages.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-routes.cap.d.ts +22 -0
- package/dist/capabilities/addon-routes.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-settings.cap.d.ts +170 -0
- package/dist/capabilities/addon-settings.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts +103 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +98 -0
- package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -0
- package/dist/capabilities/addons.cap.d.ts +356 -0
- package/dist/capabilities/addons.cap.d.ts.map +1 -0
- package/dist/capabilities/admin-ui.cap.d.ts +14 -0
- package/dist/capabilities/admin-ui.cap.d.ts.map +1 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts +60 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -0
- package/dist/capabilities/alerts.cap.d.ts +164 -0
- package/dist/capabilities/alerts.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-analysis.cap.d.ts +46 -0
- package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts +148 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-codec.cap.d.ts +202 -0
- package/dist/capabilities/audio-codec.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +174 -0
- package/dist/capabilities/audio-metrics.cap.d.ts.map +1 -0
- package/dist/capabilities/auth-provider.cap.d.ts +49 -0
- package/dist/capabilities/auth-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/authentication.cap.d.ts +83 -0
- package/dist/capabilities/authentication.cap.d.ts.map +1 -0
- package/dist/capabilities/backup.cap.d.ts +269 -0
- package/dist/capabilities/backup.cap.d.ts.map +1 -0
- package/dist/capabilities/battery.cap.d.ts +85 -0
- package/dist/capabilities/battery.cap.d.ts.map +1 -0
- package/dist/capabilities/brightness.cap.d.ts +64 -0
- package/dist/capabilities/brightness.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +102 -0
- package/dist/capabilities/camera-credentials.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-streams.cap.d.ts +214 -0
- package/dist/capabilities/camera-streams.cap.d.ts.map +1 -0
- package/dist/capabilities/capability-definition.d.ts +474 -0
- package/dist/capabilities/capability-definition.d.ts.map +1 -0
- package/dist/capabilities/custom-actions.d.ts +47 -0
- package/dist/capabilities/custom-actions.d.ts.map +1 -0
- package/dist/capabilities/decoder.cap.d.ts +173 -0
- package/dist/capabilities/decoder.cap.d.ts.map +1 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts +34 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -0
- package/dist/capabilities/device-discovery.cap.d.ts +247 -0
- package/dist/capabilities/device-discovery.cap.d.ts.map +1 -0
- package/dist/capabilities/device-manager.cap.d.ts +709 -0
- package/dist/capabilities/device-manager.cap.d.ts.map +1 -0
- package/dist/capabilities/device-ops.cap.d.ts +87 -0
- package/dist/capabilities/device-ops.cap.d.ts.map +1 -0
- package/dist/capabilities/device-provider.cap.d.ts +151 -0
- package/dist/capabilities/device-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/device-state.cap.d.ts +97 -0
- package/dist/capabilities/device-state.cap.d.ts.map +1 -0
- package/dist/capabilities/device-status.cap.d.ts +54 -0
- package/dist/capabilities/device-status.cap.d.ts.map +1 -0
- package/dist/capabilities/doorbell.cap.d.ts +62 -0
- package/dist/capabilities/doorbell.cap.d.ts.map +1 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts +41 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts.map +1 -0
- package/dist/capabilities/events.cap.d.ts +48 -0
- package/dist/capabilities/events.cap.d.ts.map +1 -0
- package/dist/capabilities/feature-probe.cap.d.ts +79 -0
- package/dist/capabilities/feature-probe.cap.d.ts.map +1 -0
- package/dist/capabilities/index.d.ts +191 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/integrations.cap.d.ts +182 -0
- package/dist/capabilities/integrations.cap.d.ts.map +1 -0
- package/dist/capabilities/intercom.cap.d.ts +108 -0
- package/dist/capabilities/intercom.cap.d.ts.map +1 -0
- package/dist/capabilities/local-network.cap.d.ts +216 -0
- package/dist/capabilities/local-network.cap.d.ts.map +1 -0
- package/dist/capabilities/log-destination.cap.d.ts +70 -0
- package/dist/capabilities/log-destination.cap.d.ts.map +1 -0
- package/dist/capabilities/mesh-network.cap.d.ts +160 -0
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +96 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/metrics-provider.cap.d.ts +522 -0
- package/dist/capabilities/metrics-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-detection.cap.d.ts +107 -0
- package/dist/capabilities/motion-detection.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +78 -0
- package/dist/capabilities/motion-trigger.cap.d.ts.map +1 -0
- package/dist/capabilities/motion.cap.d.ts +122 -0
- package/dist/capabilities/motion.cap.d.ts.map +1 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +127 -0
- package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -0
- package/dist/capabilities/network-access.cap.d.ts +67 -0
- package/dist/capabilities/network-access.cap.d.ts.map +1 -0
- package/dist/capabilities/network-quality.cap.d.ts +95 -0
- package/dist/capabilities/network-quality.cap.d.ts.map +1 -0
- package/dist/capabilities/nodes.cap.d.ts +200 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -0
- package/dist/capabilities/notification-output.cap.d.ts +44 -0
- package/dist/capabilities/notification-output.cap.d.ts.map +1 -0
- package/dist/capabilities/osd.cap.d.ts +236 -0
- package/dist/capabilities/osd.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +501 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +922 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +793 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +393 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -0
- package/dist/capabilities/platform-probe.cap.d.ts +168 -0
- package/dist/capabilities/platform-probe.cap.d.ts.map +1 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +188 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -0
- package/dist/capabilities/ptz.cap.d.ts +80 -0
- package/dist/capabilities/ptz.cap.d.ts.map +1 -0
- package/dist/capabilities/reboot.cap.d.ts +32 -0
- package/dist/capabilities/reboot.cap.d.ts.map +1 -0
- package/dist/capabilities/recording-engine.cap.d.ts +477 -0
- package/dist/capabilities/recording-engine.cap.d.ts.map +1 -0
- package/dist/capabilities/recording.cap.d.ts +43 -0
- package/dist/capabilities/recording.cap.d.ts.map +1 -0
- package/dist/capabilities/remote-access.cap.d.ts +103 -0
- package/dist/capabilities/remote-access.cap.d.ts.map +1 -0
- package/dist/capabilities/restreamer.cap.d.ts +51 -0
- package/dist/capabilities/restreamer.cap.d.ts.map +1 -0
- package/dist/capabilities/schemas/detection-shared.d.ts +63 -0
- package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -0
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +44 -0
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts.map +1 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts +177 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -0
- package/dist/capabilities/schemas/zone-rule.d.ts +74 -0
- package/dist/capabilities/schemas/zone-rule.d.ts.map +1 -0
- package/dist/capabilities/settings-store.cap.d.ts +198 -0
- package/dist/capabilities/settings-store.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts +40 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot.cap.d.ts +78 -0
- package/dist/capabilities/snapshot.cap.d.ts.map +1 -0
- package/dist/capabilities/storage-provider.cap.d.ts +432 -0
- package/dist/capabilities/storage-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/storage.cap.d.ts +367 -0
- package/dist/capabilities/storage.cap.d.ts.map +1 -0
- package/dist/capabilities/stream-broker.cap.d.ts +416 -0
- package/dist/capabilities/stream-broker.cap.d.ts.map +1 -0
- package/dist/capabilities/streaming-engine.cap.d.ts +58 -0
- package/dist/capabilities/streaming-engine.cap.d.ts.map +1 -0
- package/dist/capabilities/switch.cap.d.ts +66 -0
- package/dist/capabilities/switch.cap.d.ts.map +1 -0
- package/dist/capabilities/system.cap.d.ts +86 -0
- package/dist/capabilities/system.cap.d.ts.map +1 -0
- package/dist/capabilities/toast.cap.d.ts +56 -0
- package/dist/capabilities/toast.cap.d.ts.map +1 -0
- package/dist/capabilities/turn-orchestrator.cap.d.ts +74 -0
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/turn-provider.cap.d.ts +43 -0
- package/dist/capabilities/turn-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/user-management.cap.d.ts +378 -0
- package/dist/capabilities/user-management.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +181 -0
- package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc.cap.d.ts +72 -0
- package/dist/capabilities/webrtc.cap.d.ts.map +1 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +213 -0
- package/dist/capabilities/zone-analytics.cap.d.ts.map +1 -0
- package/dist/capabilities/zone-rules.cap.d.ts +129 -0
- package/dist/capabilities/zone-rules.cap.d.ts.map +1 -0
- package/dist/capabilities/zones.cap.d.ts +151 -0
- package/dist/capabilities/zones.cap.d.ts.map +1 -0
- package/dist/catalogs/audio-classmap.d.ts +16 -0
- package/dist/catalogs/audio-classmap.d.ts.map +1 -0
- package/dist/catalogs/coco-classmap.d.ts.map +1 -1
- package/dist/constants.d.ts +50 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/deps/binary-downloader.d.ts +41 -0
- package/dist/deps/binary-downloader.d.ts.map +1 -0
- package/dist/deps/ffmpeg-downloader.d.ts +13 -0
- package/dist/deps/ffmpeg-downloader.d.ts.map +1 -0
- package/dist/deps/index.d.ts +4 -0
- package/dist/deps/index.d.ts.map +1 -0
- package/dist/deps/python-downloader.d.ts +34 -0
- package/dist/deps/python-downloader.d.ts.map +1 -0
- package/dist/device/accessory.d.ts +62 -0
- package/dist/device/accessory.d.ts.map +1 -0
- package/dist/device/base-device-provider.d.ts +178 -0
- package/dist/device/base-device-provider.d.ts.map +1 -0
- package/dist/device/base-device.d.ts +287 -0
- package/dist/device/base-device.d.ts.map +1 -0
- package/dist/device/camera-device.d.ts +49 -0
- package/dist/device/camera-device.d.ts.map +1 -0
- package/dist/device/device-binding.d.ts +23 -0
- package/dist/device/device-binding.d.ts.map +1 -0
- package/dist/device/device-config.d.ts +65 -0
- package/dist/device/device-config.d.ts.map +1 -0
- package/dist/device/device-context.d.ts +256 -0
- package/dist/device/device-context.d.ts.map +1 -0
- package/dist/device/device-management.d.ts +118 -0
- package/dist/device/device-management.d.ts.map +1 -0
- package/dist/device/device-profile.d.ts +161 -0
- package/dist/device/device-profile.d.ts.map +1 -0
- package/dist/device/device-runtime-state.d.ts +124 -0
- package/dist/device/device-runtime-state.d.ts.map +1 -0
- package/dist/device/device-state-handle.d.ts +161 -0
- package/dist/device/device-state-handle.d.ts.map +1 -0
- package/dist/device/device-type.d.ts +68 -0
- package/dist/device/device-type.d.ts.map +1 -0
- package/dist/device/device.d.ts +87 -0
- package/dist/device/device.d.ts.map +1 -0
- package/dist/device/features.d.ts +29 -0
- package/dist/device/features.d.ts.map +1 -0
- package/dist/device/index.d.ts +20 -0
- package/dist/device/index.d.ts.map +1 -0
- package/dist/device/runtime-state-helpers.d.ts +69 -0
- package/dist/device/runtime-state-helpers.d.ts.map +1 -0
- package/dist/device/system-mirror.d.ts +318 -0
- package/dist/device/system-mirror.d.ts.map +1 -0
- package/dist/device/zod-to-config-ui.d.ts +23 -0
- package/dist/device/zod-to-config-ui.d.ts.map +1 -0
- package/dist/disposer-chain.d.ts +32 -0
- package/dist/disposer-chain.d.ts.map +1 -0
- package/dist/enums/event-category.d.ts +361 -0
- package/dist/enums/event-category.d.ts.map +1 -0
- package/dist/enums/event-source-type.d.ts +8 -0
- package/dist/enums/event-source-type.d.ts.map +1 -0
- package/dist/enums/index.d.ts +3 -0
- package/dist/enums/index.d.ts.map +1 -0
- package/dist/generated/addon-api.d.ts +14604 -3217
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/cap-status-types.d.ts +51 -0
- package/dist/generated/cap-status-types.d.ts.map +1 -0
- package/dist/generated/capability-router-map.d.ts +278 -0
- package/dist/generated/capability-router-map.d.ts.map +1 -0
- package/dist/generated/device-local-state.d.ts +82 -0
- package/dist/generated/device-local-state.d.ts.map +1 -0
- package/dist/generated/device-proxy.d.ts +146 -0
- package/dist/generated/device-proxy.d.ts.map +1 -0
- package/dist/generated/system-proxy.d.ts +92 -0
- package/dist/generated/system-proxy.d.ts.map +1 -0
- package/dist/helpers/bind-addon-actions.d.ts +19 -0
- package/dist/helpers/bind-addon-actions.d.ts.map +1 -0
- package/dist/index.d.ts +91 -22
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4843 -477
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4832 -415
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +760 -132
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/advanced-notifier.d.ts +3 -2
- package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
- package/dist/interfaces/agent-protocol.d.ts +17 -173
- package/dist/interfaces/agent-protocol.d.ts.map +1 -1
- package/dist/interfaces/agent.d.ts +61 -0
- package/dist/interfaces/agent.d.ts.map +1 -1
- package/dist/interfaces/alerts.d.ts +14 -0
- package/dist/interfaces/alerts.d.ts.map +1 -0
- package/dist/interfaces/analysis-persistence.d.ts +37 -19
- package/dist/interfaces/analysis-persistence.d.ts.map +1 -1
- package/dist/interfaces/analysis.d.ts +33 -4
- package/dist/interfaces/analysis.d.ts.map +1 -1
- package/dist/interfaces/api-responses.d.ts +124 -0
- package/dist/interfaces/api-responses.d.ts.map +1 -0
- package/dist/interfaces/api-shared.d.ts +5 -79
- package/dist/interfaces/api-shared.d.ts.map +1 -1
- package/dist/interfaces/audio-analyzer.d.ts +49 -0
- package/dist/interfaces/audio-analyzer.d.ts.map +1 -0
- package/dist/interfaces/audio-codec.d.ts +123 -0
- package/dist/interfaces/audio-codec.d.ts.map +1 -0
- package/dist/interfaces/audio-inference-engine.d.ts +19 -0
- package/dist/interfaces/audio-inference-engine.d.ts.map +1 -0
- package/dist/interfaces/auth-provider.d.ts.map +1 -1
- package/dist/interfaces/auth.d.ts +4 -25
- package/dist/interfaces/auth.d.ts.map +1 -1
- package/dist/interfaces/camera-pipeline.d.ts +7 -20
- package/dist/interfaces/camera-pipeline.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +171 -24
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/config-ui.d.ts +746 -24
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/interfaces/context.d.ts +9 -4
- package/dist/interfaces/context.d.ts.map +1 -1
- package/dist/interfaces/decoder.d.ts +38 -3
- package/dist/interfaces/decoder.d.ts.map +1 -1
- package/dist/interfaces/detection-addon.d.ts +6 -6
- package/dist/interfaces/detection-addon.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/camera.d.ts +95 -18
- package/dist/interfaces/device-capabilities/camera.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/index.d.ts +0 -13
- package/dist/interfaces/device-capabilities/index.d.ts.map +1 -1
- package/dist/interfaces/device-provider.d.ts +18 -16
- package/dist/interfaces/device-provider.d.ts.map +1 -1
- package/dist/interfaces/device.d.ts +4 -21
- package/dist/interfaces/device.d.ts.map +1 -1
- package/dist/interfaces/embedding-encoder.d.ts +19 -0
- package/dist/interfaces/embedding-encoder.d.ts.map +1 -0
- package/dist/interfaces/engine-slots.d.ts +10 -0
- package/dist/interfaces/engine-slots.d.ts.map +1 -0
- package/dist/interfaces/event-bus.d.ts +710 -26
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/inference-capabilities.d.ts +0 -17
- package/dist/interfaces/inference-capabilities.d.ts.map +1 -1
- package/dist/interfaces/inference-engine.d.ts +30 -10
- package/dist/interfaces/inference-engine.d.ts.map +1 -1
- package/dist/interfaces/integration-registry.d.ts +20 -20
- package/dist/interfaces/integration-registry.d.ts.map +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +83 -0
- package/dist/interfaces/kernel-abstractions.d.ts.map +1 -0
- package/dist/interfaces/logging.d.ts +89 -8
- package/dist/interfaces/logging.d.ts.map +1 -1
- package/dist/interfaces/metrics-provider.d.ts +17 -0
- package/dist/interfaces/metrics-provider.d.ts.map +1 -0
- package/dist/interfaces/network-quality.d.ts +4 -4
- package/dist/interfaces/network.d.ts +0 -16
- package/dist/interfaces/network.d.ts.map +1 -1
- package/dist/interfaces/notification.d.ts +1 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +200 -0
- package/dist/interfaces/pipeline-executor-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts +165 -0
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +147 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-runner.d.ts +18 -2
- package/dist/interfaces/pipeline-runner.d.ts.map +1 -1
- package/dist/interfaces/platform.d.ts +1 -1
- package/dist/interfaces/platform.d.ts.map +1 -1
- package/dist/interfaces/queryable.d.ts +26 -0
- package/dist/interfaces/queryable.d.ts.map +1 -0
- package/dist/interfaces/raw-tensor-engine.d.ts +16 -0
- package/dist/interfaces/raw-tensor-engine.d.ts.map +1 -0
- package/dist/interfaces/readiness.d.ts +101 -0
- package/dist/interfaces/readiness.d.ts.map +1 -0
- package/dist/interfaces/repl.d.ts +1 -1
- package/dist/interfaces/restreamer.d.ts +3 -3
- package/dist/interfaces/scoped-token.d.ts +1 -21
- package/dist/interfaces/scoped-token.d.ts.map +1 -1
- package/dist/interfaces/server-analysis.d.ts +30 -87
- package/dist/interfaces/server-analysis.d.ts.map +1 -1
- package/dist/interfaces/storage-location.d.ts +120 -0
- package/dist/interfaces/storage-location.d.ts.map +1 -0
- package/dist/interfaces/storage.d.ts +124 -50
- package/dist/interfaces/storage.d.ts.map +1 -1
- package/dist/interfaces/stream-broker.d.ts +285 -17
- package/dist/interfaces/stream-broker.d.ts.map +1 -1
- package/dist/interfaces/webrtc-provider.d.ts +24 -0
- package/dist/interfaces/webrtc-provider.d.ts.map +1 -1
- package/dist/node.d.ts +6 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +481 -0
- package/dist/node.js.map +1 -0
- package/dist/node.mjs +443 -0
- package/dist/node.mjs.map +1 -0
- package/dist/readiness/index.d.ts +3 -0
- package/dist/readiness/index.d.ts.map +1 -0
- package/dist/readiness/readiness-registry.d.ts +183 -0
- package/dist/readiness/readiness-registry.d.ts.map +1 -0
- package/dist/schemas/auth-records.d.ts +81 -0
- package/dist/schemas/auth-records.d.ts.map +1 -0
- package/dist/storage/filesystem-storage-provider.d.ts +37 -0
- package/dist/storage/filesystem-storage-provider.d.ts.map +1 -0
- package/dist/types/agent-pipeline-settings.d.ts +94 -0
- package/dist/types/agent-pipeline-settings.d.ts.map +1 -0
- package/dist/types/camera-pipeline.d.ts +58 -0
- package/dist/types/camera-pipeline.d.ts.map +1 -0
- package/dist/types/detection.d.ts +195 -38
- package/dist/types/detection.d.ts.map +1 -1
- package/dist/types/device-type.d.ts +4 -0
- package/dist/types/device-type.d.ts.map +1 -1
- package/dist/types/engine-output.d.ts +24 -0
- package/dist/types/engine-output.d.ts.map +1 -0
- package/dist/types/io.d.ts +57 -3
- package/dist/types/io.d.ts.map +1 -1
- package/dist/types/models.d.ts +3 -1
- package/dist/types/models.d.ts.map +1 -1
- package/dist/types/pipeline-schema.d.ts +15 -72
- package/dist/types/pipeline-schema.d.ts.map +1 -1
- package/dist/types/pipeline-step.d.ts +201 -0
- package/dist/types/pipeline-step.d.ts.map +1 -0
- package/dist/types/pipeline.d.ts +24 -1
- package/dist/types/pipeline.d.ts.map +1 -1
- package/dist/utils/element-config-store.d.ts +29 -0
- package/dist/utils/element-config-store.d.ts.map +1 -0
- package/dist/utils/err-msg.d.ts +7 -0
- package/dist/utils/err-msg.d.ts.map +1 -0
- package/dist/utils/json-safe.d.ts +33 -0
- package/dist/utils/json-safe.d.ts.map +1 -0
- package/dist/utils/mask-url.d.ts +10 -0
- package/dist/utils/mask-url.d.ts.map +1 -0
- package/dist/utils/ring-buffer.d.ts +16 -0
- package/dist/utils/ring-buffer.d.ts.map +1 -0
- package/dist/utils/run-inference-step.d.ts +26 -0
- package/dist/utils/run-inference-step.d.ts.map +1 -0
- package/dist/utils/runtime-mapping.d.ts +88 -0
- package/dist/utils/runtime-mapping.d.ts.map +1 -0
- package/dist/utils/zone-rule-eval.d.ts +47 -0
- package/dist/utils/zone-rule-eval.d.ts.map +1 -0
- package/package.json +11 -2
- package/dist/__tests__/addon-capability-provider.test.d.ts +0 -2
- package/dist/__tests__/addon-capability-provider.test.d.ts.map +0 -1
- package/dist/__tests__/addon-declaration.test.d.ts +0 -2
- package/dist/__tests__/addon-declaration.test.d.ts.map +0 -1
- package/dist/__tests__/capability.test.d.ts +0 -2
- package/dist/__tests__/capability.test.d.ts.map +0 -1
- package/dist/interfaces/addon-i18n.d.ts +0 -41
- package/dist/interfaces/addon-i18n.d.ts.map +0 -1
- package/dist/interfaces/classifier.d.ts +0 -8
- package/dist/interfaces/classifier.d.ts.map +0 -1
- package/dist/interfaces/cropper.d.ts +0 -8
- package/dist/interfaces/cropper.d.ts.map +0 -1
- package/dist/interfaces/detector.d.ts +0 -8
- package/dist/interfaces/detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/accessory.d.ts +0 -14
- package/dist/interfaces/device-capabilities/accessory.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/audio-detector.d.ts +0 -12
- package/dist/interfaces/device-capabilities/audio-detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/doorbell.d.ts +0 -10
- package/dist/interfaces/device-capabilities/doorbell.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/events.d.ts +0 -47
- package/dist/interfaces/device-capabilities/events.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/motion-sensor.d.ts +0 -7
- package/dist/interfaces/device-capabilities/motion-sensor.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/native-detection.d.ts +0 -14
- package/dist/interfaces/device-capabilities/native-detection.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/object-detector.d.ts +0 -59
- package/dist/interfaces/device-capabilities/object-detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts +0 -29
- package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/recording.d.ts +0 -18
- package/dist/interfaces/device-capabilities/recording.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/siren.d.ts +0 -8
- package/dist/interfaces/device-capabilities/siren.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/status-light.d.ts +0 -7
- package/dist/interfaces/device-capabilities/status-light.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/switch.d.ts +0 -8
- package/dist/interfaces/device-capabilities/switch.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/two-way-audio.d.ts +0 -8
- package/dist/interfaces/device-capabilities/two-way-audio.d.ts.map +0 -1
- package/dist/interfaces/device-capability.d.ts +0 -14
- package/dist/interfaces/device-capability.d.ts.map +0 -1
- package/dist/interfaces/model-catalog.d.ts +0 -25
- package/dist/interfaces/model-catalog.d.ts.map +0 -1
- package/dist/interfaces/refiner.d.ts +0 -8
- package/dist/interfaces/refiner.d.ts.map +0 -1
- package/dist/interfaces/repositories.d.ts +0 -20
- package/dist/interfaces/repositories.d.ts.map +0 -1
- package/dist/interfaces/scene-intelligence.d.ts +0 -21
- package/dist/interfaces/scene-intelligence.d.ts.map +0 -1
- package/dist/interfaces/storage-backend.d.ts +0 -27
- package/dist/interfaces/storage-backend.d.ts.map +0 -1
- package/dist/interfaces/worker-protocol.d.ts +0 -110
- package/dist/interfaces/worker-protocol.d.ts.map +0 -1
- package/dist/schemas/system-settings-schemas.d.ts +0 -27
- package/dist/schemas/system-settings-schemas.d.ts.map +0 -1
- package/dist/types/benchmark.d.ts +0 -112
- package/dist/types/benchmark.d.ts.map +0 -1
- package/dist/types/zones.d.ts +0 -48
- package/dist/types/zones.d.ts.map +0 -1
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
declare const RecordingModeSchema: z.ZodEnum<{
|
|
4
|
+
motion: "motion";
|
|
5
|
+
continuous: "continuous";
|
|
6
|
+
scheduled: "scheduled";
|
|
7
|
+
composite: "composite";
|
|
8
|
+
}>;
|
|
9
|
+
declare const RecordingPolicySchema: z.ZodObject<{
|
|
10
|
+
deviceId: z.ZodNumber;
|
|
11
|
+
mode: z.ZodEnum<{
|
|
12
|
+
motion: "motion";
|
|
13
|
+
continuous: "continuous";
|
|
14
|
+
scheduled: "scheduled";
|
|
15
|
+
composite: "composite";
|
|
16
|
+
}>;
|
|
17
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
18
|
+
streamId: z.ZodString;
|
|
19
|
+
mode: z.ZodEnum<{
|
|
20
|
+
inherit: "inherit";
|
|
21
|
+
always: "always";
|
|
22
|
+
}>;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
enabled: z.ZodBoolean;
|
|
25
|
+
preBufferSec: z.ZodNumber;
|
|
26
|
+
postBufferSec: z.ZodNumber;
|
|
27
|
+
scheduleRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
28
|
+
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
29
|
+
startTime: z.ZodString;
|
|
30
|
+
endTime: z.ZodString;
|
|
31
|
+
mode: z.ZodEnum<{
|
|
32
|
+
motion: "motion";
|
|
33
|
+
continuous: "continuous";
|
|
34
|
+
}>;
|
|
35
|
+
}, z.core.$strip>>>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
declare const DataCategorySchema: z.ZodEnum<{
|
|
38
|
+
"recording:main": "recording:main";
|
|
39
|
+
"recording:mid": "recording:mid";
|
|
40
|
+
"recording:sub": "recording:sub";
|
|
41
|
+
"thumbnail:scrub": "thumbnail:scrub";
|
|
42
|
+
"thumbnail:event": "thumbnail:event";
|
|
43
|
+
}>;
|
|
44
|
+
declare const RecordingStorageConfigSchema: z.ZodObject<{
|
|
45
|
+
deviceId: z.ZodNumber;
|
|
46
|
+
dataCategory: z.ZodEnum<{
|
|
47
|
+
"recording:main": "recording:main";
|
|
48
|
+
"recording:mid": "recording:mid";
|
|
49
|
+
"recording:sub": "recording:sub";
|
|
50
|
+
"thumbnail:scrub": "thumbnail:scrub";
|
|
51
|
+
"thumbnail:event": "thumbnail:event";
|
|
52
|
+
}>;
|
|
53
|
+
storageName: z.ZodString;
|
|
54
|
+
subDirectory: z.ZodString;
|
|
55
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
declare const RecordingSegmentSchema: z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
deviceId: z.ZodNumber;
|
|
61
|
+
streamId: z.ZodString;
|
|
62
|
+
startTime: z.ZodNumber;
|
|
63
|
+
endTime: z.ZodNumber;
|
|
64
|
+
duration: z.ZodNumber;
|
|
65
|
+
path: z.ZodString;
|
|
66
|
+
storageName: z.ZodString;
|
|
67
|
+
subDirectory: z.ZodString;
|
|
68
|
+
sizeBytes: z.ZodNumber;
|
|
69
|
+
codec: z.ZodEnum<{
|
|
70
|
+
h264: "h264";
|
|
71
|
+
h265: "h265";
|
|
72
|
+
}>;
|
|
73
|
+
hasAudio: z.ZodBoolean;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
declare const RecordingThumbnailSchema: z.ZodObject<{
|
|
76
|
+
deviceId: z.ZodNumber;
|
|
77
|
+
timestamp: z.ZodNumber;
|
|
78
|
+
path: z.ZodString;
|
|
79
|
+
storageName: z.ZodString;
|
|
80
|
+
subDirectory: z.ZodString;
|
|
81
|
+
sizeBytes: z.ZodNumber;
|
|
82
|
+
category: z.ZodEnum<{
|
|
83
|
+
scrub: "scrub";
|
|
84
|
+
event: "event";
|
|
85
|
+
}>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
declare const AvailabilityRangeSchema: z.ZodObject<{
|
|
88
|
+
startTime: z.ZodNumber;
|
|
89
|
+
endTime: z.ZodNumber;
|
|
90
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
declare const StorageUsageSchema: z.ZodObject<{
|
|
93
|
+
totalBytes: z.ZodNumber;
|
|
94
|
+
segmentCount: z.ZodNumber;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
declare const StorageEstimateSchema: z.ZodObject<{
|
|
97
|
+
perStream: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
98
|
+
bitrateKbps: z.ZodNumber;
|
|
99
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
100
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
101
|
+
estimatedGb: z.ZodNumber;
|
|
102
|
+
estimatedDaysAtCapacity: z.ZodNullable<z.ZodNumber>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
thumbnails: z.ZodObject<{
|
|
105
|
+
estimatedGb: z.ZodNumber;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
totalEstimatedGb: z.ZodNumber;
|
|
108
|
+
motionEstimate: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
avgEventsPerDay: z.ZodNumber;
|
|
110
|
+
avgDurationSec: z.ZodNumber;
|
|
111
|
+
dutyCyclePercent: z.ZodNumber;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
declare const MotionStatsSchema: z.ZodObject<{
|
|
115
|
+
totalEvents: z.ZodNumber;
|
|
116
|
+
avgDurationSec: z.ZodNumber;
|
|
117
|
+
avgEventsPerDay: z.ZodNumber;
|
|
118
|
+
dutyCyclePercent: z.ZodNumber;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
/**
|
|
121
|
+
* Recording engine — manages per-device recording lifecycle, policies,
|
|
122
|
+
* playlists, segments, thumbnails, and storage estimation.
|
|
123
|
+
*
|
|
124
|
+
* Implemented by the `recording` sub-addon inside `addon-analytics-suite`.
|
|
125
|
+
* Session 5 Sprint D expanded the cap from 1 method (`getStatus`) to the
|
|
126
|
+
* full 17-method contract, replacing the broken hand-written
|
|
127
|
+
* `recording.router.ts` that invoked non-existent methods on the addon.
|
|
128
|
+
*
|
|
129
|
+
* The provider implementation is a facade wrapping RecordingCoordinator,
|
|
130
|
+
* RecordingDb, PlaylistGenerator, StorageEstimator, and RetentionManager.
|
|
131
|
+
*/
|
|
132
|
+
export declare const recordingEngineCapability: {
|
|
133
|
+
readonly name: "recording-engine";
|
|
134
|
+
readonly scope: "system";
|
|
135
|
+
readonly mode: "singleton";
|
|
136
|
+
readonly methods: {
|
|
137
|
+
readonly getStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
138
|
+
activeRecordings: z.ZodNumber;
|
|
139
|
+
totalSegments: z.ZodNumber;
|
|
140
|
+
totalSizeMB: z.ZodNumber;
|
|
141
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
142
|
+
readonly enable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
143
|
+
deviceId: z.ZodNumber;
|
|
144
|
+
policy: z.ZodObject<{
|
|
145
|
+
mode: z.ZodEnum<{
|
|
146
|
+
motion: "motion";
|
|
147
|
+
continuous: "continuous";
|
|
148
|
+
scheduled: "scheduled";
|
|
149
|
+
composite: "composite";
|
|
150
|
+
}>;
|
|
151
|
+
enabled: z.ZodBoolean;
|
|
152
|
+
preBufferSec: z.ZodNumber;
|
|
153
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
154
|
+
streamId: z.ZodString;
|
|
155
|
+
mode: z.ZodEnum<{
|
|
156
|
+
inherit: "inherit";
|
|
157
|
+
always: "always";
|
|
158
|
+
}>;
|
|
159
|
+
}, z.core.$strip>>>;
|
|
160
|
+
postBufferSec: z.ZodNumber;
|
|
161
|
+
scheduleRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
162
|
+
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
163
|
+
startTime: z.ZodString;
|
|
164
|
+
endTime: z.ZodString;
|
|
165
|
+
mode: z.ZodEnum<{
|
|
166
|
+
motion: "motion";
|
|
167
|
+
continuous: "continuous";
|
|
168
|
+
}>;
|
|
169
|
+
}, z.core.$strip>>>>;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
storageOverrides: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
172
|
+
dataCategory: z.ZodEnum<{
|
|
173
|
+
"recording:main": "recording:main";
|
|
174
|
+
"recording:mid": "recording:mid";
|
|
175
|
+
"recording:sub": "recording:sub";
|
|
176
|
+
"thumbnail:scrub": "thumbnail:scrub";
|
|
177
|
+
"thumbnail:event": "thumbnail:event";
|
|
178
|
+
}>;
|
|
179
|
+
storageName: z.ZodString;
|
|
180
|
+
subDirectory: z.ZodString;
|
|
181
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
182
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
183
|
+
}, z.core.$strip>>>>;
|
|
184
|
+
ffmpegOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
185
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
186
|
+
readonly disable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
187
|
+
deviceId: z.ZodNumber;
|
|
188
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
189
|
+
readonly getConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
190
|
+
deviceId: z.ZodNumber;
|
|
191
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
192
|
+
deviceId: z.ZodNumber;
|
|
193
|
+
mode: z.ZodEnum<{
|
|
194
|
+
motion: "motion";
|
|
195
|
+
continuous: "continuous";
|
|
196
|
+
scheduled: "scheduled";
|
|
197
|
+
composite: "composite";
|
|
198
|
+
}>;
|
|
199
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
200
|
+
streamId: z.ZodString;
|
|
201
|
+
mode: z.ZodEnum<{
|
|
202
|
+
inherit: "inherit";
|
|
203
|
+
always: "always";
|
|
204
|
+
}>;
|
|
205
|
+
}, z.core.$strip>>>;
|
|
206
|
+
enabled: z.ZodBoolean;
|
|
207
|
+
preBufferSec: z.ZodNumber;
|
|
208
|
+
postBufferSec: z.ZodNumber;
|
|
209
|
+
scheduleRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
210
|
+
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
211
|
+
startTime: z.ZodString;
|
|
212
|
+
endTime: z.ZodString;
|
|
213
|
+
mode: z.ZodEnum<{
|
|
214
|
+
motion: "motion";
|
|
215
|
+
continuous: "continuous";
|
|
216
|
+
}>;
|
|
217
|
+
}, z.core.$strip>>>>;
|
|
218
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
219
|
+
readonly updateConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
220
|
+
deviceId: z.ZodNumber;
|
|
221
|
+
policy: z.ZodObject<{
|
|
222
|
+
mode: z.ZodEnum<{
|
|
223
|
+
motion: "motion";
|
|
224
|
+
continuous: "continuous";
|
|
225
|
+
scheduled: "scheduled";
|
|
226
|
+
composite: "composite";
|
|
227
|
+
}>;
|
|
228
|
+
enabled: z.ZodBoolean;
|
|
229
|
+
preBufferSec: z.ZodNumber;
|
|
230
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
231
|
+
streamId: z.ZodString;
|
|
232
|
+
mode: z.ZodEnum<{
|
|
233
|
+
inherit: "inherit";
|
|
234
|
+
always: "always";
|
|
235
|
+
}>;
|
|
236
|
+
}, z.core.$strip>>>;
|
|
237
|
+
postBufferSec: z.ZodNumber;
|
|
238
|
+
scheduleRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
239
|
+
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
240
|
+
startTime: z.ZodString;
|
|
241
|
+
endTime: z.ZodString;
|
|
242
|
+
mode: z.ZodEnum<{
|
|
243
|
+
motion: "motion";
|
|
244
|
+
continuous: "continuous";
|
|
245
|
+
}>;
|
|
246
|
+
}, z.core.$strip>>>>;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
ffmpegOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
249
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
250
|
+
readonly getPlaylist: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
251
|
+
deviceId: z.ZodNumber;
|
|
252
|
+
streamId: z.ZodString;
|
|
253
|
+
startTime: z.ZodNumber;
|
|
254
|
+
endTime: z.ZodNumber;
|
|
255
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
}, z.core.$strip>, z.ZodString, import("./capability-definition.js").CapabilityMethodKind>;
|
|
257
|
+
readonly getThumbnail: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
258
|
+
deviceId: z.ZodNumber;
|
|
259
|
+
timestamp: z.ZodNumber;
|
|
260
|
+
category: z.ZodOptional<z.ZodString>;
|
|
261
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
262
|
+
deviceId: z.ZodNumber;
|
|
263
|
+
timestamp: z.ZodNumber;
|
|
264
|
+
path: z.ZodString;
|
|
265
|
+
storageName: z.ZodString;
|
|
266
|
+
subDirectory: z.ZodString;
|
|
267
|
+
sizeBytes: z.ZodNumber;
|
|
268
|
+
category: z.ZodEnum<{
|
|
269
|
+
scrub: "scrub";
|
|
270
|
+
event: "event";
|
|
271
|
+
}>;
|
|
272
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
273
|
+
readonly getSegments: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
274
|
+
deviceId: z.ZodNumber;
|
|
275
|
+
streamId: z.ZodString;
|
|
276
|
+
startTime: z.ZodNumber;
|
|
277
|
+
endTime: z.ZodNumber;
|
|
278
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
deviceId: z.ZodNumber;
|
|
281
|
+
streamId: z.ZodString;
|
|
282
|
+
startTime: z.ZodNumber;
|
|
283
|
+
endTime: z.ZodNumber;
|
|
284
|
+
duration: z.ZodNumber;
|
|
285
|
+
path: z.ZodString;
|
|
286
|
+
storageName: z.ZodString;
|
|
287
|
+
subDirectory: z.ZodString;
|
|
288
|
+
sizeBytes: z.ZodNumber;
|
|
289
|
+
codec: z.ZodEnum<{
|
|
290
|
+
h264: "h264";
|
|
291
|
+
h265: "h265";
|
|
292
|
+
}>;
|
|
293
|
+
hasAudio: z.ZodBoolean;
|
|
294
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
295
|
+
readonly getAvailability: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
296
|
+
deviceId: z.ZodNumber;
|
|
297
|
+
startTime: z.ZodNumber;
|
|
298
|
+
endTime: z.ZodNumber;
|
|
299
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
300
|
+
startTime: z.ZodNumber;
|
|
301
|
+
endTime: z.ZodNumber;
|
|
302
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
303
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
304
|
+
readonly estimateStorage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
305
|
+
deviceId: z.ZodNumber;
|
|
306
|
+
motionInput: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
avgEventsPerDay: z.ZodNumber;
|
|
308
|
+
avgDurationSec: z.ZodNumber;
|
|
309
|
+
}, z.core.$strip>>;
|
|
310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
311
|
+
perStream: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
312
|
+
bitrateKbps: z.ZodNumber;
|
|
313
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
314
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
315
|
+
estimatedGb: z.ZodNumber;
|
|
316
|
+
estimatedDaysAtCapacity: z.ZodNullable<z.ZodNumber>;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
thumbnails: z.ZodObject<{
|
|
319
|
+
estimatedGb: z.ZodNumber;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
totalEstimatedGb: z.ZodNumber;
|
|
322
|
+
motionEstimate: z.ZodOptional<z.ZodObject<{
|
|
323
|
+
avgEventsPerDay: z.ZodNumber;
|
|
324
|
+
avgDurationSec: z.ZodNumber;
|
|
325
|
+
dutyCyclePercent: z.ZodNumber;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
328
|
+
readonly estimateGlobalStorage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
329
|
+
perStream: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
330
|
+
bitrateKbps: z.ZodNumber;
|
|
331
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
332
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
333
|
+
estimatedGb: z.ZodNumber;
|
|
334
|
+
estimatedDaysAtCapacity: z.ZodNullable<z.ZodNumber>;
|
|
335
|
+
}, z.core.$strip>>;
|
|
336
|
+
thumbnails: z.ZodObject<{
|
|
337
|
+
estimatedGb: z.ZodNumber;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
totalEstimatedGb: z.ZodNumber;
|
|
340
|
+
motionEstimate: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
avgEventsPerDay: z.ZodNumber;
|
|
342
|
+
avgDurationSec: z.ZodNumber;
|
|
343
|
+
dutyCyclePercent: z.ZodNumber;
|
|
344
|
+
}, z.core.$strip>>;
|
|
345
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
346
|
+
readonly getStorageUsage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
347
|
+
deviceId: z.ZodNumber;
|
|
348
|
+
streamId: z.ZodString;
|
|
349
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
350
|
+
totalBytes: z.ZodNumber;
|
|
351
|
+
segmentCount: z.ZodNumber;
|
|
352
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
353
|
+
readonly setPolicy: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
354
|
+
deviceId: z.ZodNumber;
|
|
355
|
+
policy: z.ZodObject<{
|
|
356
|
+
mode: z.ZodEnum<{
|
|
357
|
+
motion: "motion";
|
|
358
|
+
continuous: "continuous";
|
|
359
|
+
scheduled: "scheduled";
|
|
360
|
+
composite: "composite";
|
|
361
|
+
}>;
|
|
362
|
+
enabled: z.ZodBoolean;
|
|
363
|
+
preBufferSec: z.ZodNumber;
|
|
364
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
365
|
+
streamId: z.ZodString;
|
|
366
|
+
mode: z.ZodEnum<{
|
|
367
|
+
inherit: "inherit";
|
|
368
|
+
always: "always";
|
|
369
|
+
}>;
|
|
370
|
+
}, z.core.$strip>>>;
|
|
371
|
+
postBufferSec: z.ZodNumber;
|
|
372
|
+
scheduleRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
373
|
+
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
374
|
+
startTime: z.ZodString;
|
|
375
|
+
endTime: z.ZodString;
|
|
376
|
+
mode: z.ZodEnum<{
|
|
377
|
+
motion: "motion";
|
|
378
|
+
continuous: "continuous";
|
|
379
|
+
}>;
|
|
380
|
+
}, z.core.$strip>>>>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
383
|
+
readonly getPolicy: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
384
|
+
deviceId: z.ZodNumber;
|
|
385
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
386
|
+
deviceId: z.ZodNumber;
|
|
387
|
+
mode: z.ZodEnum<{
|
|
388
|
+
motion: "motion";
|
|
389
|
+
continuous: "continuous";
|
|
390
|
+
scheduled: "scheduled";
|
|
391
|
+
composite: "composite";
|
|
392
|
+
}>;
|
|
393
|
+
streams: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
394
|
+
streamId: z.ZodString;
|
|
395
|
+
mode: z.ZodEnum<{
|
|
396
|
+
inherit: "inherit";
|
|
397
|
+
always: "always";
|
|
398
|
+
}>;
|
|
399
|
+
}, z.core.$strip>>>;
|
|
400
|
+
enabled: z.ZodBoolean;
|
|
401
|
+
preBufferSec: z.ZodNumber;
|
|
402
|
+
postBufferSec: z.ZodNumber;
|
|
403
|
+
scheduleRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
404
|
+
days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
405
|
+
startTime: z.ZodString;
|
|
406
|
+
endTime: z.ZodString;
|
|
407
|
+
mode: z.ZodEnum<{
|
|
408
|
+
motion: "motion";
|
|
409
|
+
continuous: "continuous";
|
|
410
|
+
}>;
|
|
411
|
+
}, z.core.$strip>>>>;
|
|
412
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
413
|
+
readonly getPolicyStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
414
|
+
deviceId: z.ZodNumber;
|
|
415
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
416
|
+
deviceId: z.ZodNumber;
|
|
417
|
+
enabled: z.ZodBoolean;
|
|
418
|
+
mode: z.ZodEnum<{
|
|
419
|
+
motion: "motion";
|
|
420
|
+
continuous: "continuous";
|
|
421
|
+
scheduled: "scheduled";
|
|
422
|
+
composite: "composite";
|
|
423
|
+
}>;
|
|
424
|
+
activeStreams: z.ZodNumber;
|
|
425
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
426
|
+
readonly getRetentionConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
427
|
+
deviceId: z.ZodNumber;
|
|
428
|
+
dataCategory: z.ZodEnum<{
|
|
429
|
+
"recording:main": "recording:main";
|
|
430
|
+
"recording:mid": "recording:mid";
|
|
431
|
+
"recording:sub": "recording:sub";
|
|
432
|
+
"thumbnail:scrub": "thumbnail:scrub";
|
|
433
|
+
"thumbnail:event": "thumbnail:event";
|
|
434
|
+
}>;
|
|
435
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
436
|
+
deviceId: z.ZodNumber;
|
|
437
|
+
dataCategory: z.ZodEnum<{
|
|
438
|
+
"recording:main": "recording:main";
|
|
439
|
+
"recording:mid": "recording:mid";
|
|
440
|
+
"recording:sub": "recording:sub";
|
|
441
|
+
"thumbnail:scrub": "thumbnail:scrub";
|
|
442
|
+
"thumbnail:event": "thumbnail:event";
|
|
443
|
+
}>;
|
|
444
|
+
storageName: z.ZodString;
|
|
445
|
+
subDirectory: z.ZodString;
|
|
446
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
447
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
448
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
449
|
+
readonly updateRetentionConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
450
|
+
deviceId: z.ZodNumber;
|
|
451
|
+
dataCategory: z.ZodEnum<{
|
|
452
|
+
"recording:main": "recording:main";
|
|
453
|
+
"recording:mid": "recording:mid";
|
|
454
|
+
"recording:sub": "recording:sub";
|
|
455
|
+
"thumbnail:scrub": "thumbnail:scrub";
|
|
456
|
+
"thumbnail:event": "thumbnail:event";
|
|
457
|
+
}>;
|
|
458
|
+
storageName: z.ZodString;
|
|
459
|
+
subDirectory: z.ZodString;
|
|
460
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
461
|
+
retentionGb: z.ZodNullable<z.ZodNumber>;
|
|
462
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
463
|
+
readonly getMotionStats: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
464
|
+
deviceId: z.ZodNumber;
|
|
465
|
+
startTime: z.ZodNumber;
|
|
466
|
+
endTime: z.ZodNumber;
|
|
467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
468
|
+
totalEvents: z.ZodNumber;
|
|
469
|
+
avgDurationSec: z.ZodNumber;
|
|
470
|
+
avgEventsPerDay: z.ZodNumber;
|
|
471
|
+
dutyCyclePercent: z.ZodNumber;
|
|
472
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
export type IRecordingEngineProvider = InferProvider<typeof recordingEngineCapability>;
|
|
476
|
+
export { RecordingPolicySchema, RecordingSegmentSchema, RecordingThumbnailSchema, RecordingStorageConfigSchema, AvailabilityRangeSchema, StorageUsageSchema, StorageEstimateSchema, MotionStatsSchema, RecordingModeSchema, DataCategorySchema, };
|
|
477
|
+
//# sourceMappingURL=recording-engine.cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recording-engine.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/recording-engine.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAIlG,QAAA,MAAM,mBAAmB;;;;;EAA6D,CAAA;AActF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQzB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;EAGtB,CAAA;AAEF,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;iBAOhC,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;iBAa1B,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;;;;;iBAQ5B,CAAA;AAEF,QAAA,MAAM,uBAAuB;;;;iBAI3B,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;iBAGtB,CAAA;AAUF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;iBASzB,CAAA;AAEF,QAAA,MAAM,iBAAiB;;;;;iBAKrB,CAAA;AAuEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDG,CAAA;AAEzC,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEtF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
import { DeviceType } from '../device/device-type.js';
|
|
4
|
+
declare const SegmentSchema: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
startTs: z.ZodNumber;
|
|
7
|
+
endTs: z.ZodNumber;
|
|
8
|
+
durationSec: z.ZodNumber;
|
|
9
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const recordingCapability: {
|
|
12
|
+
readonly name: "recording";
|
|
13
|
+
readonly scope: "device";
|
|
14
|
+
readonly mode: "singleton";
|
|
15
|
+
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
16
|
+
readonly methods: {
|
|
17
|
+
readonly getSegments: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
18
|
+
deviceId: z.ZodNumber;
|
|
19
|
+
from: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
to: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
startTs: z.ZodNumber;
|
|
24
|
+
endTs: z.ZodNumber;
|
|
25
|
+
durationSec: z.ZodNumber;
|
|
26
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
28
|
+
readonly getPlaybackUrl: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
29
|
+
deviceId: z.ZodNumber;
|
|
30
|
+
segmentId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodString>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
32
|
+
readonly getThumbnailAt: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
33
|
+
deviceId: z.ZodNumber;
|
|
34
|
+
timestamp: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
36
|
+
base64: z.ZodString;
|
|
37
|
+
contentType: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export type IRecordingProvider = InferProvider<typeof recordingCapability>;
|
|
42
|
+
export { SegmentSchema };
|
|
43
|
+
//# sourceMappingURL=recording.cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recording.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/recording.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,QAAA,MAAM,aAAa;;;;;;iBAMjB,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBS,CAAA;AAEzC,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
declare const RemoteAccessEndpointSchema: z.ZodObject<{
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
hostname: z.ZodString;
|
|
6
|
+
port: z.ZodNumber;
|
|
7
|
+
protocol: z.ZodEnum<{
|
|
8
|
+
http: "http";
|
|
9
|
+
https: "https";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
/**
|
|
13
|
+
* Remote-access provider summary, surfaced to the admin UI's
|
|
14
|
+
* "Remote Access" page. One row per registered `network-access`
|
|
15
|
+
* provider (Cloudflare Tunnel, ngrok, Tailscale, etc.).
|
|
16
|
+
*/
|
|
17
|
+
declare const RemoteAccessProviderInfoSchema: z.ZodObject<{
|
|
18
|
+
addonId: z.ZodString;
|
|
19
|
+
displayName: z.ZodString;
|
|
20
|
+
kind: z.ZodEnum<{
|
|
21
|
+
other: "other";
|
|
22
|
+
tailscale: "tailscale";
|
|
23
|
+
"cloudflare-tunnel": "cloudflare-tunnel";
|
|
24
|
+
ngrok: "ngrok";
|
|
25
|
+
}>;
|
|
26
|
+
enabled: z.ZodBoolean;
|
|
27
|
+
connected: z.ZodBoolean;
|
|
28
|
+
endpoint: z.ZodNullable<z.ZodObject<{
|
|
29
|
+
url: z.ZodString;
|
|
30
|
+
hostname: z.ZodString;
|
|
31
|
+
port: z.ZodNumber;
|
|
32
|
+
protocol: z.ZodEnum<{
|
|
33
|
+
http: "http";
|
|
34
|
+
https: "https";
|
|
35
|
+
}>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
error: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export type RemoteAccessProviderInfo = z.infer<typeof RemoteAccessProviderInfoSchema>;
|
|
40
|
+
/**
|
|
41
|
+
* `remote-access` — singleton facade over the `network-access`
|
|
42
|
+
* collection. Consumed by the admin UI's Remote Access page so an
|
|
43
|
+
* operator can see at a glance which providers are configured, which
|
|
44
|
+
* are connected, and which public endpoint each exposes.
|
|
45
|
+
*
|
|
46
|
+
* Mirrors the `authentication` / `turn-orchestrator` patterns: the
|
|
47
|
+
* UI talks to the singleton, the singleton walks the collection.
|
|
48
|
+
*/
|
|
49
|
+
export declare const remoteAccessCapability: {
|
|
50
|
+
readonly name: "remote-access";
|
|
51
|
+
readonly scope: "system";
|
|
52
|
+
readonly mode: "singleton";
|
|
53
|
+
readonly methods: {
|
|
54
|
+
/** All registered remote-access providers + their live status. */
|
|
55
|
+
readonly listProviders: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
56
|
+
addonId: z.ZodString;
|
|
57
|
+
displayName: z.ZodString;
|
|
58
|
+
kind: z.ZodEnum<{
|
|
59
|
+
other: "other";
|
|
60
|
+
tailscale: "tailscale";
|
|
61
|
+
"cloudflare-tunnel": "cloudflare-tunnel";
|
|
62
|
+
ngrok: "ngrok";
|
|
63
|
+
}>;
|
|
64
|
+
enabled: z.ZodBoolean;
|
|
65
|
+
connected: z.ZodBoolean;
|
|
66
|
+
endpoint: z.ZodNullable<z.ZodObject<{
|
|
67
|
+
url: z.ZodString;
|
|
68
|
+
hostname: z.ZodString;
|
|
69
|
+
port: z.ZodNumber;
|
|
70
|
+
protocol: z.ZodEnum<{
|
|
71
|
+
http: "http";
|
|
72
|
+
https: "https";
|
|
73
|
+
}>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
error: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
77
|
+
/**
|
|
78
|
+
* Start a specific provider's tunnel. Per-provider config still
|
|
79
|
+
* lives on the addon's settings panel; this is just the on/off
|
|
80
|
+
* trigger so the admin UI can manage the lifecycle from one place.
|
|
81
|
+
*/
|
|
82
|
+
readonly startProvider: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
83
|
+
addonId: z.ZodString;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
url: z.ZodString;
|
|
86
|
+
hostname: z.ZodString;
|
|
87
|
+
port: z.ZodNumber;
|
|
88
|
+
protocol: z.ZodEnum<{
|
|
89
|
+
http: "http";
|
|
90
|
+
https: "https";
|
|
91
|
+
}>;
|
|
92
|
+
}, z.core.$strip>, "mutation">;
|
|
93
|
+
/** Stop a specific provider's tunnel (idempotent on already-stopped). */
|
|
94
|
+
readonly stopProvider: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
95
|
+
addonId: z.ZodString;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
success: z.ZodLiteral<true>;
|
|
98
|
+
}, z.core.$strip>, "mutation">;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export type IRemoteAccessOrchestrator = InferProvider<typeof remoteAccessCapability>;
|
|
102
|
+
export { RemoteAccessEndpointSchema, RemoteAccessProviderInfoSchema };
|
|
103
|
+
//# sourceMappingURL=remote-access.cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/remote-access.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG,QAAA,MAAM,0BAA0B;;;;;;;;iBAK9B,CAAA;AAEF;;;;GAIG;AACH,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;iBAqBlC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAErF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;;;;;QAK/B,kEAAkE;;;;;;;;;;;;;;;;;;;;;;;QAElE;;;;WAIG;;;;;;;;;;;;QAMH,yEAAyE;;;;;;;CAOpC,CAAA;AAEzC,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEpF,OAAO,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,CAAA"}
|