@camstack/server 1.2.937 → 1.2.939
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/CHANGELOG.md +16 -0
- package/package.json +8 -12
- package/system/dist/{addon-pages.cap-CdvuO-QW.js → addon-pages.cap-B3gHFDYW.js} +4 -2
- package/system/dist/{addon-pages.cap-B-NaVAk8.mjs → addon-pages.cap-BLNN6ypr.mjs} +4 -2
- package/system/dist/addon-runner.js +8 -0
- package/system/dist/addon-runner.mjs +8 -0
- package/system/dist/{addon-settings.cap-BlsqpQXD.mjs → addon-settings.cap-CZ4MC7ha.mjs} +9 -1
- package/system/dist/{addon-settings.cap-B44t-Kbx.js → addon-settings.cap-DrLdMFIe.js} +9 -1
- package/system/dist/{addon-widgets.cap-BY-wN_Zi.mjs → addon-widgets.cap-BbmWMzIH.mjs} +4 -2
- package/system/dist/{addon-widgets.cap-CQRbYspY.js → addon-widgets.cap-DuCe2VRj.js} +4 -2
- package/system/dist/{base-device-B-jLBwhX.mjs → base-device-BcGO6LTT.mjs} +2 -2
- package/system/dist/{base-device-BOZCZY4S.js → base-device-CH8rfD9j.js} +2 -2
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +2 -2
- package/system/dist/builtins/alerts/alerts.addon.mjs +2 -2
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +4 -4
- package/system/dist/builtins/camera-grid/index.mjs +4 -4
- package/system/dist/builtins/composer/composer.addon.js +8 -8
- package/system/dist/builtins/composer/composer.addon.mjs +8 -8
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +11 -11
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +11 -11
- package/system/dist/builtins/core-notifier/core-notifier.addon.js +3 -3
- package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +3 -3
- package/system/dist/builtins/device-history/device-history.addon.mjs +3 -3
- package/system/dist/builtins/device-manager/device-manager.addon.js +9 -9
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +9 -9
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +1 -1
- package/system/dist/builtins/keychain/index.mjs +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/system/dist/builtins/local-network/local-network.addon.js +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- package/system/dist/builtins/loki-logging/index.js +3 -3
- package/system/dist/builtins/loki-logging/index.mjs +3 -3
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +2 -2
- package/system/dist/builtins/snapshot/index.mjs +2 -2
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-pragmas.d.ts +2 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings-backend.d.ts +3 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +7 -7
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +7 -7
- package/system/dist/builtins/sqlite-storage/storage-report-runner.d.ts +6 -0
- package/system/dist/builtins/sqlite-storage/storage-report-worker.d.ts +20 -0
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +2 -2
- package/system/dist/builtins/winston-logging/index.mjs +2 -2
- package/system/dist/{calendars.cap-KbMVKbM5.js → calendars.cap-CGeOtL7Q.js} +7 -1
- package/system/dist/{calendars.cap-DyQFPDr1.mjs → calendars.cap-DQc6Q6qS.mjs} +7 -1
- package/system/dist/{capability-definition-BRoGprGl.js → capability-definition-BEVd01Xj.js} +8 -4
- package/system/dist/{capability-definition-DLD3HR3U.mjs → capability-definition-C1TLUVJR.mjs} +8 -4
- package/system/dist/{capture-engine-DceE_Lxa.mjs → capture-engine-CUZ3W0oZ.mjs} +1 -1
- package/system/dist/{capture-engine-oWy4DQn8.js → capture-engine-mtDXEBAq.js} +1 -1
- package/system/dist/{composition-sources-DSf2fQ9L.js → composition-sources-DCi-ldEb.js} +2 -2
- package/system/dist/{composition-sources-2yNL7KIF.mjs → composition-sources-DgayqgHH.mjs} +2 -2
- package/system/dist/{core-blocks.cap-XUCnn7lE.mjs → core-blocks.cap-CWKQSevR.mjs} +38 -3
- package/system/dist/{core-blocks.cap-COZ5qkRy.js → core-blocks.cap-yLx6soaY.js} +38 -3
- package/system/dist/{database-snapshot.cap-BHWr6SRl.js → database-snapshot.cap-BNS5c60M.js} +2 -2
- package/system/dist/{database-snapshot.cap-Dgsn_9hb.mjs → database-snapshot.cap-a3lSf4hl.mjs} +2 -2
- package/system/dist/{device-manager.cap-B0XOXW5n.mjs → device-manager.cap-DIBK62-r.mjs} +14 -3
- package/system/dist/{device-manager.cap-DD66WJGT.js → device-manager.cap-DyHOIh5T.js} +14 -3
- package/system/dist/{device-provider.cap-meVxP-ZT.js → device-provider.cap-BKUGJSo0.js} +9 -1
- package/system/dist/{device-provider.cap-DNbklrhV.mjs → device-provider.cap-DU6HMUXH.mjs} +9 -1
- package/system/dist/{device-row-store-Bq3_mCoZ.mjs → device-row-store-C-_R-h1Z.mjs} +1 -1
- package/system/dist/{device-row-store-CSnsi_ri.js → device-row-store-O4mNbp5q.js} +1 -1
- package/system/dist/{device-transitions.cap-DETXRGXI.mjs → device-transitions.cap-DCXP3zwY.mjs} +7 -1
- package/system/dist/{device-transitions.cap-BDn0butT.js → device-transitions.cap-zOGvAIHz.js} +7 -1
- package/system/dist/{error.cap-BgBtdpm5.js → error.cap-BxLEHP6z.js} +1 -1
- package/system/dist/{error.cap-Xydi4TyZ.mjs → error.cap-DCwbIGEF.mjs} +1 -1
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/index.js +15 -7
- package/system/dist/index.mjs +15 -7
- package/system/dist/{integration-instances.cap-DskCCCIu.mjs → integration-instances.cap-BWttO42A.mjs} +10 -1
- package/system/dist/{integration-instances.cap-BZdT6WIs.js → integration-instances.cap-DSieF1w3.js} +10 -1
- package/system/dist/{keychain-admin.cap-CKdAe74a.mjs → keychain-admin.cap-DOvL8TMG.mjs} +5 -1
- package/system/dist/{keychain-admin.cap-BnsWz44L.js → keychain-admin.cap-DcRCRWtu.js} +5 -1
- package/system/dist/{log-destination.cap-Dz-Fli-t.js → log-destination.cap-BzTWMj-T.js} +4 -1
- package/system/dist/{log-destination.cap-rHxFjAsU.mjs → log-destination.cap-QYMJPJwK.mjs} +4 -1
- package/system/dist/{low-power-sleep.cap-DJH5wJpA.js → low-power-sleep.cap-B6mz6ojP.js} +1 -1
- package/system/dist/{low-power-sleep.cap-CwQkEFVD.mjs → low-power-sleep.cap-C3Vi8Vxj.mjs} +1 -1
- package/system/dist/{metrics-provider.cap-l39Ma4BH.mjs → metrics-provider.cap-01SwpLu5.mjs} +1 -1
- package/system/dist/{metrics-provider.cap-CmKvAp5K.js → metrics-provider.cap-BMKD5FH3.js} +1 -1
- package/system/dist/{migration-DKotTSc0.js → migration-BOQlFZCN.js} +1 -1
- package/system/dist/{migration-CpbO0xPG.mjs → migration-DGAc6ywR.mjs} +1 -1
- package/system/dist/{network-access.cap-XvDFK4J2.js → network-access.cap-BEN_uRVb.js} +12 -2
- package/system/dist/{network-access.cap-CTdzeqnQ.mjs → network-access.cap-Dy8FNNVs.mjs} +12 -2
- package/system/dist/{notification-rules.cap-JQPEAUwq.mjs → notification-rules.cap-0vVvsxQ1.mjs} +14 -1
- package/system/dist/{notification-rules.cap-v-cuIrwq.js → notification-rules.cap-Drwz-A4n.js} +14 -1
- package/system/dist/{notification-targets-_vr0nUsl.js → notification-targets-Cc_3OBH9.js} +1 -1
- package/system/dist/{notification-targets-CPSDChxA.mjs → notification-targets-DR-D-vIt.mjs} +1 -1
- package/system/dist/{platform-probe.cap-UOsI8bJL.js → platform-probe.cap-C0N9CugQ.js} +5 -1
- package/system/dist/{platform-probe.cap-BfGw4FsA.mjs → platform-probe.cap-DzZ7xUfS.mjs} +5 -1
- package/system/dist/{prefix-walk-MNJLhOQ4.js → prefix-walk-BRlQiqVg.js} +2 -2
- package/system/dist/{prefix-walk-_jmw00Vw.mjs → prefix-walk-BrrMuJBM.mjs} +2 -2
- package/system/dist/{ptz-autotrack.cap-CVm6a1Y-.mjs → ptz-autotrack.cap-CDF6FeTK.mjs} +1 -1
- package/system/dist/{ptz-autotrack.cap-E_n2XU8K.js → ptz-autotrack.cap-DOz0xL0O.js} +1 -1
- package/system/dist/{record-entries.cap-DWtLFTqk.mjs → record-entries.cap-BINjYZ1Q.mjs} +5 -2
- package/system/dist/{record-entries.cap-BM5lZzWh.js → record-entries.cap-NYExLM0O.js} +5 -2
- package/system/dist/{recording-archive.cap-BkI6Y-n1.js → recording-archive.cap-BPJ7kvnd.js} +6 -1
- package/system/dist/{recording-archive.cap-CzQ8cKsc.mjs → recording-archive.cap-RHAN45fa.mjs} +6 -1
- package/system/dist/{records.cap-BKJ9vylh.mjs → records.cap-DRwT1JbL.mjs} +10 -1
- package/system/dist/{records.cap-yxP6a69W.js → records.cap-wLi7r4Hj.js} +10 -1
- package/system/dist/{rename-composition-block-BkuT7Q9a.js → rename-composition-block-D44wnN_m.js} +401 -45
- package/system/dist/{rename-composition-block-BGsOdbXV.mjs → rename-composition-block-SPaUkmam.mjs} +401 -45
- package/system/dist/{restore-archive-D_Q_WeLG.mjs → restore-archive-BHkSRJYW.mjs} +2 -2
- package/system/dist/{restore-archive-BxpEs8a_.js → restore-archive-DRv1bPY7.js} +2 -2
- package/system/dist/{settings-store.cap-CBBKWyVh.js → settings-store.cap-BhOIBtO4.js} +1 -1
- package/system/dist/{settings-store.cap-DMRr0OD7.mjs → settings-store.cap-CaDSOqgK.mjs} +1 -1
- package/system/dist/{snapshot.cap-B6-9cwt9.mjs → snapshot.cap-BkfHpJVO.mjs} +3 -1
- package/system/dist/{snapshot.cap-CuP-6HSJ.js → snapshot.cap-Cis6JRwn.js} +3 -1
- package/system/dist/{storage-admin.cap-Dh59lsb1.mjs → storage-admin.cap-Ci4QbL6P.mjs} +4 -4
- package/system/dist/{storage-admin.cap-jCrZczO9.js → storage-admin.cap-DqW1ol4j.js} +4 -4
- package/system/dist/{storage-migration.cap-BN70KR6v.js → storage-migration.cap-CDOhpCQw.js} +23 -1
- package/system/dist/{storage-migration.cap-DlkRRFM8.mjs → storage-migration.cap-Ciw84XPm.mjs} +23 -1
- package/system/dist/{storage-occupancy.cap-DlDL_YBp.js → storage-occupancy.cap-B-Z8f8TZ.js} +5 -3
- package/system/dist/{storage-occupancy.cap-B85IBCO3.mjs → storage-occupancy.cap-B-wbMPmx.mjs} +5 -3
- package/system/dist/{storage-provider.cap-CplEGm7y.js → storage-provider.cap-B3Hm_BGM.js} +15 -1
- package/system/dist/{storage-provider.cap-B7mvKa0M.mjs → storage-provider.cap-CnN9ULbc.mjs} +15 -1
- package/system/dist/storage-report-worker.js +77 -0
- package/system/dist/storage-report-worker.mjs +70 -0
- package/system/dist/{stream-catalog.cap-Cp9GxHl8.mjs → stream-catalog.cap-D1Hy19Yc.mjs} +30 -2
- package/system/dist/{stream-catalog.cap-CG9R-dD2.js → stream-catalog.cap-D8Y-uXcy.js} +30 -2
- package/system/dist/{user-management.cap-Zpc4grqS.mjs → user-management.cap-Ctd4c_im.mjs} +26 -1
- package/system/dist/{user-management.cap-CPtvvmgp.js → user-management.cap-DyVb68rY.js} +26 -1
- package/system/dist/{vector-store.cap-q9AkgqSQ.js → vector-store.cap-DEVI-XJC.js} +6 -1
- package/system/dist/{vector-store.cap-CYcwQuWa.mjs → vector-store.cap-Df60cnrJ.mjs} +6 -1
- package/system/dist/{wal-maintenance-hh3FWtz2.mjs → wal-maintenance-CjpslZUL.mjs} +0 -0
- package/system/dist/{wal-maintenance-Cb1i3shp.js → wal-maintenance-DKTXQ7UF.js} +0 -0
- package/system/package.json +1 -1
package/system/dist/{rename-composition-block-BGsOdbXV.mjs → rename-composition-block-SPaUkmam.mjs}
RENAMED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { a as CamStreamResolutionSchema, c as DerivedSourceRefSchema, d as ProfileRtspEntrySchema, f as ProfileSlotSchema, g as SubscribeAudioChunksResultSchema, h as SubscribeAudioChunksInputSchema, i as CamStreamKindSchema, l as FrameHandleSchema, n as BrokerStatsSchema, o as CameraStreamSchema, p as ProfileSlotStatusSchema, r as CamProfileSchema, s as DecodedAudioChunkSchema, u as PreviewDerivedEncodeResultSchema } from "./streaming-shared-B8cXatuU.mjs";
|
|
2
|
-
import { A as AudioClassifyOutcomeSchema, C as CameraSensorsStatusSchema, D as cameraGridLayoutCapability, E as deviceStatusCapability, F as PeerBytesTicketSchema, M as BoundingBoxSchema, N as FrameInputSchema, O as AudioChunkInputSchema, P as ClipModelMetaSchema, S as CameraSensorsConfigSchema, _ as PipelineStepInputSchema, a as RunnerLocalLoadSchema, b as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, c as NodeBenchmarkCandidatesSchema, d as NodeBenchmarkResultViewSchema, f as NodeBenchmarkStatusSchema, g as PipelineRunResultBridge, h as CameraMetricsSchema, i as motionCapability, j as AudioLevelSchema, k as AudioClassificationLabelSchema, l as NodeBenchmarkPlanSchema, m as zonesCapability, o as pipelineRunnerCapability, p as NodeDecodeProfileSchema, s as ListNodeBenchmarkResultsInputSchema, t as streamCatalogCapability, u as NodeBenchmarkPreflightSchema, v as RetrainExportLayoutSchema, w as featureProbeCapability, x as motionDetectionCapability, y as pipelineAnalyticsCapability } from "./stream-catalog.cap-
|
|
2
|
+
import { A as AudioClassifyOutcomeSchema, C as CameraSensorsStatusSchema, D as cameraGridLayoutCapability, E as deviceStatusCapability, F as PeerBytesTicketSchema, M as BoundingBoxSchema, N as FrameInputSchema, O as AudioChunkInputSchema, P as ClipModelMetaSchema, S as CameraSensorsConfigSchema, _ as PipelineStepInputSchema, a as RunnerLocalLoadSchema, b as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, c as NodeBenchmarkCandidatesSchema, d as NodeBenchmarkResultViewSchema, f as NodeBenchmarkStatusSchema, g as PipelineRunResultBridge, h as CameraMetricsSchema, i as motionCapability, j as AudioLevelSchema, k as AudioClassificationLabelSchema, l as NodeBenchmarkPlanSchema, m as zonesCapability, o as pipelineRunnerCapability, p as NodeDecodeProfileSchema, s as ListNodeBenchmarkResultsInputSchema, t as streamCatalogCapability, u as NodeBenchmarkPreflightSchema, v as RetrainExportLayoutSchema, w as featureProbeCapability, x as motionDetectionCapability, y as pipelineAnalyticsCapability } from "./stream-catalog.cap-D1Hy19Yc.mjs";
|
|
3
3
|
import { b as EventCategory } from "./base-addon-Md14i7pe.mjs";
|
|
4
4
|
import { Z as errMsg } from "./scoped-settings-DVWUIP7Z.mjs";
|
|
5
|
-
import { a as expandCapMethods, c as method, i as event, l as optionalMethod } from "./capability-definition-
|
|
6
|
-
import { a as notificationRulesCapability, c as alarmPanelCapability, f as notificationOutputCapability, n as NcConditionsSchema, r as NcScheduleSchema, t as NcConditionDescriptorSchema } from "./notification-rules.cap-
|
|
7
|
-
import { a as deviceManagerCapability, b as ResyncResultSchema, i as LinkedDevicesSlotValueSchema, r as LINKED_DEVICES_SLOT, x as deviceAdoptionCapability } from "./device-manager.cap-
|
|
5
|
+
import { a as expandCapMethods, c as method, i as event, l as optionalMethod } from "./capability-definition-C1TLUVJR.mjs";
|
|
6
|
+
import { a as notificationRulesCapability, c as alarmPanelCapability, f as notificationOutputCapability, n as NcConditionsSchema, r as NcScheduleSchema, t as NcConditionDescriptorSchema } from "./notification-rules.cap-0vVvsxQ1.mjs";
|
|
7
|
+
import { a as deviceManagerCapability, b as ResyncResultSchema, i as LinkedDevicesSlotValueSchema, r as LINKED_DEVICES_SLOT, x as deviceAdoptionCapability } from "./device-manager.cap-DIBK62-r.mjs";
|
|
8
8
|
import { d as CameraSwitchIdSchema, u as CameraSwitchGroupSchema } from "./device-identifiers-iSuQCKmK.mjs";
|
|
9
|
-
import { i as deviceRemovalHookCapability, o as deviceHistoryCapability, r as deviceRunsCapability, t as deviceTransitionsCapability } from "./device-transitions.cap-
|
|
9
|
+
import { i as deviceRemovalHookCapability, o as deviceHistoryCapability, r as deviceRunsCapability, t as deviceTransitionsCapability } from "./device-transitions.cap-DCXP3zwY.mjs";
|
|
10
10
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
11
|
-
import { f as settingsStoreCapability } from "./settings-store.cap-
|
|
11
|
+
import { f as settingsStoreCapability } from "./settings-store.cap-CaDSOqgK.mjs";
|
|
12
12
|
import { a as readingMeta, n as baseUnitOf, t as ReadingQuantitySchema } from "./quantity-D3g5SxsZ.mjs";
|
|
13
13
|
import { r as LabelDefinitionSchema, t as DetectionCatalogClassMapSchema } from "./labels-DsBcU7md.mjs";
|
|
14
|
-
import { a as RecordingStorageModeSchema, i as recordingCapability, n as recordingArchiveCapability } from "./recording-archive.cap-
|
|
14
|
+
import { a as RecordingStorageModeSchema, i as recordingCapability, n as recordingArchiveCapability } from "./recording-archive.cap-RHAN45fa.mjs";
|
|
15
15
|
import { y as StorageMigrationLeaseInputSchema } from "./relocate-CoZZTui1.mjs";
|
|
16
|
-
import { n as storageCapability, t as storageMigrationCapability } from "./storage-migration.cap-
|
|
16
|
+
import { n as storageCapability, t as storageMigrationCapability } from "./storage-migration.cap-Ciw84XPm.mjs";
|
|
17
17
|
import { i as TagsFieldSchema, n as TagNameSchema, t as TagColorIdSchema, u as IconKeySchema } from "./tag-uZBAq6ox.mjs";
|
|
18
|
-
import { r as MODEL_FORMATS, t as platformProbeCapability } from "./platform-probe.cap-
|
|
19
|
-
import { a as authProviderCapability, c as TokenScopeSchema, i as deviceCredentialsCapability, r as ssoBridgeCapability, t as userManagementCapability } from "./user-management.cap-
|
|
18
|
+
import { r as MODEL_FORMATS, t as platformProbeCapability } from "./platform-probe.cap-DzZ7xUfS.mjs";
|
|
19
|
+
import { a as authProviderCapability, c as TokenScopeSchema, i as deviceCredentialsCapability, r as ssoBridgeCapability, t as userManagementCapability } from "./user-management.cap-Ctd4c_im.mjs";
|
|
20
20
|
import { n as DeviceRole, r as DeviceType } from "./device-type-DgEvK3ch.mjs";
|
|
21
21
|
import { d as AppLoginPathSchema } from "./device-certificate-Cddm4Idn.mjs";
|
|
22
|
-
import { $t as unwrapSchema, A as MediaPlayerStatusSchema, At as TemplateEntriesValueSchema, B as isRemoteCustomKey, F as irSourceProblem, G as IrNativeFormatSchema, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as isQuantityValue, K as IrTimingsSchema, Kt as QuantityUnitError, M as REMOTE_STEP_DELAY_MAX_MS, Mt as TemplateTimeWindowValueSchema, N as RemoteSourceSchema, Nt as AutomationWhenSchema, Pt as EVENT_LEAF_ID_RE, Qt as enumerateSchemaFields, R as RemoteRoleSchema, St as AutomationRecipeSchema, V as isRemoteRole, W as IrNativeCodeSchema, Xt as paramMetaOf, Yt as paramMeta, Zt as enumerateItemArrayFields, _n as vocabCall, _t as SchedulerSchema, at as AutomationRunOutcomeSchema, bt as ActionStepSchema, c as coreBlocksCapability, et as CompositionBlockStateSchema, ft as LOCAL_DATE_PATTERN, gt as SchedulerPreviewSchema, hn as findVocabAction, ht as SchedulerInputSchema, it as alertsCapability, j as mediaPlayerCapability, jt as TemplateEventValueSchema, kt as TemplateActionValueSchema, ot as AutomationRunTraceSchema, pt as SchedulerConflictSchema, q as TransmitSettingsSchema, qt as convertQuantityInput, sn as EventVocabularyEntrySchema, tt as CompositionRunStatusSchema, vt as SchedulerStatusSchema, w as powerSourceCapability, xt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-
|
|
23
|
-
import { i as addonSettingsCapability, o as unitDimension, s as unitsForDimension } from "./addon-settings.cap-
|
|
24
|
-
import { R as COMPOSED_DEVICE_STABLE_ID_PREFIX, T as CompositionSchema, r as errorCapability, x as COMPOSER_ADDON_ID } from "./error.cap-
|
|
22
|
+
import { $t as unwrapSchema, A as MediaPlayerStatusSchema, At as TemplateEntriesValueSchema, B as isRemoteCustomKey, F as irSourceProblem, G as IrNativeFormatSchema, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as isQuantityValue, K as IrTimingsSchema, Kt as QuantityUnitError, M as REMOTE_STEP_DELAY_MAX_MS, Mt as TemplateTimeWindowValueSchema, N as RemoteSourceSchema, Nt as AutomationWhenSchema, Pt as EVENT_LEAF_ID_RE, Qt as enumerateSchemaFields, R as RemoteRoleSchema, St as AutomationRecipeSchema, V as isRemoteRole, W as IrNativeCodeSchema, Xt as paramMetaOf, Yt as paramMeta, Zt as enumerateItemArrayFields, _n as vocabCall, _t as SchedulerSchema, at as AutomationRunOutcomeSchema, bt as ActionStepSchema, c as coreBlocksCapability, et as CompositionBlockStateSchema, ft as LOCAL_DATE_PATTERN, gt as SchedulerPreviewSchema, hn as findVocabAction, ht as SchedulerInputSchema, it as alertsCapability, j as mediaPlayerCapability, jt as TemplateEventValueSchema, kt as TemplateActionValueSchema, ot as AutomationRunTraceSchema, pt as SchedulerConflictSchema, q as TransmitSettingsSchema, qt as convertQuantityInput, sn as EventVocabularyEntrySchema, tt as CompositionRunStatusSchema, vt as SchedulerStatusSchema, w as powerSourceCapability, xt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-CWKQSevR.mjs";
|
|
23
|
+
import { i as addonSettingsCapability, o as unitDimension, s as unitsForDimension } from "./addon-settings.cap-CZ4MC7ha.mjs";
|
|
24
|
+
import { R as COMPOSED_DEVICE_STABLE_ID_PREFIX, T as CompositionSchema, r as errorCapability, x as COMPOSER_ADDON_ID } from "./error.cap-DCwbIGEF.mjs";
|
|
25
25
|
import { a as normalizeUnit } from "./source-info-DGB7SdB_.mjs";
|
|
26
26
|
import { t } from "./l10n-Bu6aUvSY.mjs";
|
|
27
|
-
import { t as addonPagesCapability } from "./addon-pages.cap-
|
|
28
|
-
import { n as WidgetRemoteSchema, r as addonWidgetsSourceCapability, t as addonWidgetsCapability } from "./addon-widgets.cap-
|
|
29
|
-
import { a as databaseSnapshotCapability } from "./database-snapshot.cap-
|
|
30
|
-
import { n as backupCapability, t as storageOccupancyCapability } from "./storage-occupancy.cap-
|
|
31
|
-
import { n as calendarsCapability, r as calendarSourceCapability } from "./calendars.cap-
|
|
27
|
+
import { t as addonPagesCapability } from "./addon-pages.cap-BLNN6ypr.mjs";
|
|
28
|
+
import { n as WidgetRemoteSchema, r as addonWidgetsSourceCapability, t as addonWidgetsCapability } from "./addon-widgets.cap-BbmWMzIH.mjs";
|
|
29
|
+
import { a as databaseSnapshotCapability } from "./database-snapshot.cap-a3lSf4hl.mjs";
|
|
30
|
+
import { n as backupCapability, t as storageOccupancyCapability } from "./storage-occupancy.cap-B-wbMPmx.mjs";
|
|
31
|
+
import { n as calendarsCapability, r as calendarSourceCapability } from "./calendars.cap-DQc6Q6qS.mjs";
|
|
32
32
|
import { r as HISTORY_PRIMARY } from "./history-catalog-BwTeQ4Mr.mjs";
|
|
33
|
-
import { i as dataStoreProviderCapability, n as migrationsCapability, t as storageAdminCapability } from "./storage-admin.cap-
|
|
34
|
-
import { o as deviceProviderCapability } from "./device-provider.cap-
|
|
35
|
-
import { n as filesystemBrowseCapability, t as storageProviderCapability } from "./storage-provider.cap-
|
|
36
|
-
import { n as integrationsCapability, t as integrationInstancesCapability } from "./integration-instances.cap-
|
|
37
|
-
import { a as keychainCapability, i as keychainAdminCapability } from "./keychain-admin.cap-
|
|
38
|
-
import { n as networkAccessCapability, r as localNetworkCapability } from "./network-access.cap-
|
|
39
|
-
import { t as logDestinationCapability } from "./log-destination.cap-
|
|
40
|
-
import { n as lowPowerSleepCapability } from "./low-power-sleep.cap-
|
|
41
|
-
import { t as metricsProviderCapability } from "./metrics-provider.cap-
|
|
42
|
-
import { o as recordsCapability } from "./records.cap-
|
|
33
|
+
import { i as dataStoreProviderCapability, n as migrationsCapability, t as storageAdminCapability } from "./storage-admin.cap-Ci4QbL6P.mjs";
|
|
34
|
+
import { o as deviceProviderCapability } from "./device-provider.cap-DU6HMUXH.mjs";
|
|
35
|
+
import { n as filesystemBrowseCapability, t as storageProviderCapability } from "./storage-provider.cap-CnN9ULbc.mjs";
|
|
36
|
+
import { n as integrationsCapability, t as integrationInstancesCapability } from "./integration-instances.cap-BWttO42A.mjs";
|
|
37
|
+
import { a as keychainCapability, i as keychainAdminCapability } from "./keychain-admin.cap-DOvL8TMG.mjs";
|
|
38
|
+
import { n as networkAccessCapability, r as localNetworkCapability } from "./network-access.cap-Dy8FNNVs.mjs";
|
|
39
|
+
import { t as logDestinationCapability } from "./log-destination.cap-QYMJPJwK.mjs";
|
|
40
|
+
import { n as lowPowerSleepCapability } from "./low-power-sleep.cap-C3Vi8Vxj.mjs";
|
|
41
|
+
import { t as metricsProviderCapability } from "./metrics-provider.cap-01SwpLu5.mjs";
|
|
42
|
+
import { o as recordsCapability } from "./records.cap-DRwT1JbL.mjs";
|
|
43
43
|
import { a as MaskRectShapeSchema, i as MaskPolygonVerticesSchema, n as MaskGridShapeSchema, o as MaskShapeKindSchema, r as MaskPolygonShapeSchema, t as MaskGridDimsSchema } from "./mask-shape-Ci8Co9w0.mjs";
|
|
44
|
-
import { t as ptzAutotrackCapability } from "./ptz-autotrack.cap-
|
|
45
|
-
import { t as recordEntriesCapability } from "./record-entries.cap-
|
|
46
|
-
import { t as snapshotCapability } from "./snapshot.cap-
|
|
44
|
+
import { t as ptzAutotrackCapability } from "./ptz-autotrack.cap-CDF6FeTK.mjs";
|
|
45
|
+
import { t as recordEntriesCapability } from "./record-entries.cap-BINjYZ1Q.mjs";
|
|
46
|
+
import { t as snapshotCapability } from "./snapshot.cap-BkfHpJVO.mjs";
|
|
47
47
|
import { t as ServerNameInfoSchema } from "./server-name-BIhLuHvX.mjs";
|
|
48
|
-
import { n as vectorStoreCapability } from "./vector-store.cap-
|
|
48
|
+
import { n as vectorStoreCapability } from "./vector-store.cap-Df60cnrJ.mjs";
|
|
49
49
|
import { z } from "zod";
|
|
50
50
|
//#region ../types/dist/esm/addon/package-requires.mjs
|
|
51
51
|
/**
|
|
@@ -1813,28 +1813,39 @@ var deviceExportCapability = {
|
|
|
1813
1813
|
*/
|
|
1814
1814
|
exposesDeviceSettings: true,
|
|
1815
1815
|
methods: {
|
|
1816
|
+
/** Status of one export instance (connected, errors, counts). */
|
|
1816
1817
|
getStatus: /* @__PURE__ */ method(InstancePinSchema, DeviceExportStatusSchema),
|
|
1818
|
+
/** List the export instances this addon runs. */
|
|
1817
1819
|
listInstances: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(ExportInstanceSchema)),
|
|
1820
|
+
/** List the device kinds an export instance can expose. */
|
|
1818
1821
|
listSupportedDeviceKinds: /* @__PURE__ */ method(InstancePinSchema, /* @__PURE__ */ z.array(DeviceKindSchema)),
|
|
1822
|
+
/** List the devices an export instance currently exposes. */
|
|
1819
1823
|
listExposedDevices: /* @__PURE__ */ method(InstancePinSchema, /* @__PURE__ */ z.array(ExposedDeviceSchema)),
|
|
1824
|
+
/** Expose a device through an export instance. */
|
|
1820
1825
|
exposeDevice: /* @__PURE__ */ method(ExposeInputSchema, /* @__PURE__ */ z.void(), {
|
|
1821
1826
|
kind: "mutation",
|
|
1822
1827
|
auth: "admin"
|
|
1823
1828
|
}),
|
|
1829
|
+
/** Stop exposing a device through an export instance. */
|
|
1824
1830
|
unexposeDevice: /* @__PURE__ */ method(UnexposeInputSchema, /* @__PURE__ */ z.void(), {
|
|
1825
1831
|
kind: "mutation",
|
|
1826
1832
|
auth: "admin"
|
|
1827
1833
|
}),
|
|
1834
|
+
/** Set the name under which an exposed device appears in the external system. */
|
|
1828
1835
|
setExposedName: /* @__PURE__ */ method(SetExposedNameInputSchema, /* @__PURE__ */ z.void(), {
|
|
1829
1836
|
kind: "mutation",
|
|
1830
1837
|
auth: "admin"
|
|
1831
1838
|
}),
|
|
1839
|
+
/** List the entity kinds this exporter can expose. */
|
|
1832
1840
|
listSupportedEntityKinds: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(ExportEntityKindSchema)),
|
|
1841
|
+
/** List the entities an export instance currently exposes. */
|
|
1833
1842
|
listExposedEntities: /* @__PURE__ */ optionalMethod(InstancePinSchema, /* @__PURE__ */ z.array(ExposedEntitySchema)),
|
|
1843
|
+
/** Expose an entity through an export instance. */
|
|
1834
1844
|
exposeEntity: /* @__PURE__ */ optionalMethod(ExposeEntityInputSchema, /* @__PURE__ */ z.void(), {
|
|
1835
1845
|
kind: "mutation",
|
|
1836
1846
|
auth: "admin"
|
|
1837
1847
|
}),
|
|
1848
|
+
/** Stop exposing an entity through an export instance. */
|
|
1838
1849
|
unexposeEntity: /* @__PURE__ */ optionalMethod(UnexposeEntityInputSchema, /* @__PURE__ */ z.void(), {
|
|
1839
1850
|
kind: "mutation",
|
|
1840
1851
|
auth: "admin"
|
|
@@ -1972,7 +1983,9 @@ var actionSourceCapability = {
|
|
|
1972
1983
|
scope: "system",
|
|
1973
1984
|
mode: "collection",
|
|
1974
1985
|
methods: {
|
|
1986
|
+
/** List the actions this source offers. */
|
|
1975
1987
|
listActions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(ActionEntrySchema), { auth: "admin" }),
|
|
1988
|
+
/** Run one of the source's actions, optionally with variables. */
|
|
1976
1989
|
runAction: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
1977
1990
|
actionId: /* @__PURE__ */ z.string().min(1),
|
|
1978
1991
|
variables: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), ActionVariableValueSchema).optional()
|
|
@@ -1980,6 +1993,7 @@ var actionSourceCapability = {
|
|
|
1980
1993
|
kind: "mutation",
|
|
1981
1994
|
auth: "admin"
|
|
1982
1995
|
}),
|
|
1996
|
+
/** Stop a running action of the source. */
|
|
1983
1997
|
stopAction: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ actionId: /* @__PURE__ */ z.string().min(1) }), /* @__PURE__ */ z.void(), {
|
|
1984
1998
|
kind: "mutation",
|
|
1985
1999
|
auth: "admin"
|
|
@@ -2122,10 +2136,12 @@ var actionsCapability = {
|
|
|
2122
2136
|
caller: "required",
|
|
2123
2137
|
timeoutMs: ACTION_RUN_TIMEOUT_MS
|
|
2124
2138
|
}),
|
|
2139
|
+
/** Stop a running action. */
|
|
2125
2140
|
stop: /* @__PURE__ */ method(ActionIdInput, /* @__PURE__ */ z.void(), {
|
|
2126
2141
|
kind: "mutation",
|
|
2127
2142
|
auth: "admin"
|
|
2128
2143
|
}),
|
|
2144
|
+
/** The recent run traces of an action. */
|
|
2129
2145
|
getTraces: /* @__PURE__ */ method(ActionIdInput, /* @__PURE__ */ z.object({ traces: /* @__PURE__ */ z.array(AutomationRunTraceSchema) }), { auth: "admin" }),
|
|
2130
2146
|
/**
|
|
2131
2147
|
* Internal actions only; a read-only (addon) entry is refused with `[read-only]`.
|
|
@@ -2143,6 +2159,7 @@ var actionsCapability = {
|
|
|
2143
2159
|
kind: "mutation",
|
|
2144
2160
|
auth: "admin"
|
|
2145
2161
|
}),
|
|
2162
|
+
/** Change fields of an internal action. */
|
|
2146
2163
|
update: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2147
2164
|
actionId: /* @__PURE__ */ z.string().min(1),
|
|
2148
2165
|
action: /* @__PURE__ */ ActionInputSchema$1.partial()
|
|
@@ -2153,6 +2170,7 @@ var actionsCapability = {
|
|
|
2153
2170
|
kind: "mutation",
|
|
2154
2171
|
auth: "admin"
|
|
2155
2172
|
}),
|
|
2173
|
+
/** Delete an internal action. */
|
|
2156
2174
|
delete: /* @__PURE__ */ method(ActionIdInput, /* @__PURE__ */ z.void(), {
|
|
2157
2175
|
kind: "mutation",
|
|
2158
2176
|
auth: "admin"
|
|
@@ -2310,6 +2328,7 @@ var addonRoutesCapability = {
|
|
|
2310
2328
|
mode: "collection",
|
|
2311
2329
|
internal: true,
|
|
2312
2330
|
methods: {
|
|
2331
|
+
/** List the HTTP routes addons expose. */
|
|
2313
2332
|
getRoutes: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(AddonHttpRouteSchema)),
|
|
2314
2333
|
/**
|
|
2315
2334
|
* Cross-process dispatch entry point. Forked addons implement this
|
|
@@ -2693,12 +2712,15 @@ var addonsCapability = {
|
|
|
2693
2712
|
* and drops packages the agent does not have.
|
|
2694
2713
|
*/
|
|
2695
2714
|
list: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ nodeId: /* @__PURE__ */ z.string().optional() }).optional(), /* @__PURE__ */ z.array(AddonListItemSchema).readonly()),
|
|
2715
|
+
/** Recent log lines of one addon, optionally filtered by level. */
|
|
2696
2716
|
getLogs: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2697
2717
|
addonId: /* @__PURE__ */ z.string(),
|
|
2698
2718
|
limit: /* @__PURE__ */ z.number().min(1).max(500).default(100),
|
|
2699
2719
|
level: /* @__PURE__ */ LogLevelSchema$1.optional()
|
|
2700
2720
|
}), /* @__PURE__ */ z.array(LogQueryEntrySchema)),
|
|
2721
|
+
/** List the installed addon packages with their versions. */
|
|
2701
2722
|
listPackages: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(InstalledPackageSchema).readonly()),
|
|
2723
|
+
/** Install an addon package, optionally at a given version. */
|
|
2702
2724
|
installPackage: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2703
2725
|
packageName: /* @__PURE__ */ z.string(),
|
|
2704
2726
|
version: /* @__PURE__ */ z.string().optional()
|
|
@@ -2731,10 +2753,12 @@ var addonsCapability = {
|
|
|
2731
2753
|
* Drives the uninstall confirm and the Addons page's "not on the hub" list.
|
|
2732
2754
|
*/
|
|
2733
2755
|
listInstallations: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ packageName: /* @__PURE__ */ z.string().optional() }), PackageInstallationsSchema, { auth: "admin" }),
|
|
2756
|
+
/** Rescan the installed packages and load what changed. */
|
|
2734
2757
|
reloadPackages: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ReloadPackagesResultSchema, {
|
|
2735
2758
|
kind: "mutation",
|
|
2736
2759
|
auth: "admin"
|
|
2737
2760
|
}),
|
|
2761
|
+
/** Search the registry for installable addon packages, optionally by capability. */
|
|
2738
2762
|
searchAvailable: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2739
2763
|
query: /* @__PURE__ */ z.string().optional(),
|
|
2740
2764
|
/** Only packages whose addons declare this capability (unknown ones excluded). */
|
|
@@ -2784,6 +2808,7 @@ var addonsCapability = {
|
|
|
2784
2808
|
kind: "mutation",
|
|
2785
2809
|
auth: "admin"
|
|
2786
2810
|
}),
|
|
2811
|
+
/** Restart the server process; requires explicit confirmation. */
|
|
2787
2812
|
restartServer: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ confirm: /* @__PURE__ */ z.literal(true) }), /* @__PURE__ */ z.unknown(), {
|
|
2788
2813
|
kind: "mutation",
|
|
2789
2814
|
auth: "admin"
|
|
@@ -2868,6 +2893,7 @@ var addonsCapability = {
|
|
|
2868
2893
|
kind: "mutation",
|
|
2869
2894
|
auth: "admin"
|
|
2870
2895
|
}),
|
|
2896
|
+
/** List the published versions of a package. */
|
|
2871
2897
|
getVersions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ name: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(PackageVersionInfoSchema).readonly()),
|
|
2872
2898
|
/**
|
|
2873
2899
|
* README and CHANGELOG for one registry package, read on the hub and
|
|
@@ -2878,6 +2904,7 @@ var addonsCapability = {
|
|
|
2878
2904
|
name: /* @__PURE__ */ z.string().min(1),
|
|
2879
2905
|
version: /* @__PURE__ */ z.string().min(1).optional()
|
|
2880
2906
|
}), PackageDocsSchema, { auth: "admin" }),
|
|
2907
|
+
/** Restart one addon's process. */
|
|
2881
2908
|
restartAddon: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ addonId: /* @__PURE__ */ z.string() }), RestartAddonResultSchema, {
|
|
2882
2909
|
kind: "mutation",
|
|
2883
2910
|
auth: "admin"
|
|
@@ -2892,7 +2919,9 @@ var addonsCapability = {
|
|
|
2892
2919
|
kind: "mutation",
|
|
2893
2920
|
auth: "admin"
|
|
2894
2921
|
}),
|
|
2922
|
+
/** The global addon auto-update channel and check intervals. */
|
|
2895
2923
|
getAutoUpdateSettings: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), AutoUpdateSettingsSchema, { auth: "admin" }),
|
|
2924
|
+
/** Change the global addon auto-update channel and check intervals. */
|
|
2896
2925
|
setAutoUpdateSettings: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2897
2926
|
channel: ChannelSchema,
|
|
2898
2927
|
intervalSeconds: /* @__PURE__ */ z.number().min(300).max(86400).optional(),
|
|
@@ -2902,7 +2931,9 @@ var addonsCapability = {
|
|
|
2902
2931
|
kind: "mutation",
|
|
2903
2932
|
auth: "admin"
|
|
2904
2933
|
}),
|
|
2934
|
+
/** The auto-update channel of one addon (or inherit the global one). */
|
|
2905
2935
|
getAddonAutoUpdate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ addonId: /* @__PURE__ */ z.string() }), AddonAutoUpdateSchema, { auth: "admin" }),
|
|
2936
|
+
/** Set the auto-update channel of one addon. */
|
|
2906
2937
|
setAddonAutoUpdate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2907
2938
|
addonId: /* @__PURE__ */ z.string(),
|
|
2908
2939
|
channel: ChannelWithInheritSchema
|
|
@@ -2910,10 +2941,12 @@ var addonsCapability = {
|
|
|
2910
2941
|
kind: "mutation",
|
|
2911
2942
|
auth: "admin"
|
|
2912
2943
|
}),
|
|
2944
|
+
/** Apply one auto-update channel to every addon. */
|
|
2913
2945
|
applyAutoUpdateToAll: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ channel: ChannelSchema }), /* @__PURE__ */ z.object({ success: /* @__PURE__ */ z.literal(true) }), {
|
|
2914
2946
|
kind: "mutation",
|
|
2915
2947
|
auth: "admin"
|
|
2916
2948
|
}),
|
|
2949
|
+
/** Run an addon's custom action with the given input. */
|
|
2917
2950
|
custom: /* @__PURE__ */ method(CustomActionInputSchema, /* @__PURE__ */ z.unknown(), {
|
|
2918
2951
|
role: "viewer",
|
|
2919
2952
|
kind: "mutation"
|
|
@@ -2963,6 +2996,7 @@ var addonsCapability = {
|
|
|
2963
2996
|
kind: "mutation",
|
|
2964
2997
|
auth: "admin"
|
|
2965
2998
|
}),
|
|
2999
|
+
/** Stream live log lines of one addon, optionally filtered by level. */
|
|
2966
3000
|
onAddonLogs: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
2967
3001
|
addonId: /* @__PURE__ */ z.string(),
|
|
2968
3002
|
level: /* @__PURE__ */ LogLevelSchema$1.optional()
|
|
@@ -2992,6 +3026,7 @@ var adminUiCapability = {
|
|
|
2992
3026
|
* SPA assets are served as plain static files, unaffected by this gate.
|
|
2993
3027
|
*/
|
|
2994
3028
|
getStaticDir: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), StaticDirOutputSchema$1, { auth: "admin" }),
|
|
3029
|
+
/** The version of the admin UI build served by the hub. */
|
|
2995
3030
|
getVersion: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), VersionOutputSchema$1, { auth: "admin" })
|
|
2996
3031
|
},
|
|
2997
3032
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.UI_PLUMBING }
|
|
@@ -3296,10 +3331,12 @@ var audioAnalyzerCapability = {
|
|
|
3296
3331
|
scope: "system",
|
|
3297
3332
|
mode: "singleton",
|
|
3298
3333
|
methods: {
|
|
3334
|
+
/** Analyse one audio chunk (levels and detections) with the given settings; null when nothing to report. */
|
|
3299
3335
|
analyseChunk: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
3300
3336
|
chunk: AudioChunkInputSchema,
|
|
3301
3337
|
settings: AudioAnalysisSettingsSchema
|
|
3302
3338
|
}), /* @__PURE__ */ AudioAnalysisResultSchema.nullable(), { kind: "mutation" }),
|
|
3339
|
+
/** Classify the sounds in one audio chunk. */
|
|
3303
3340
|
classify: /* @__PURE__ */ method(AudioChunkInputSchema, AudioClassificationResultSchema, { timeoutMs: 3e4 }),
|
|
3304
3341
|
/**
|
|
3305
3342
|
* Start pulling this camera's audio from the broker, in THIS process.
|
|
@@ -3316,7 +3353,9 @@ var audioAnalyzerCapability = {
|
|
|
3316
3353
|
* drains rather than trusting it (D461).
|
|
3317
3354
|
*/
|
|
3318
3355
|
detachDevice: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), AudioDetachDeviceResultSchema, { kind: "mutation" }),
|
|
3356
|
+
/** Whether the analyzer is loaded and ready. */
|
|
3319
3357
|
isReady: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.boolean()),
|
|
3358
|
+
/** Release the analyzer's resources. */
|
|
3320
3359
|
dispose: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.void(), { kind: "mutation" }),
|
|
3321
3360
|
/**
|
|
3322
3361
|
* Re-run the host platform-probe for the audio backend and persist
|
|
@@ -3416,14 +3455,17 @@ var audioCodecCapability = {
|
|
|
3416
3455
|
codec: /* @__PURE__ */ z.string(),
|
|
3417
3456
|
kind: /* @__PURE__ */ z.enum(["decode", "encode"])
|
|
3418
3457
|
}), /* @__PURE__ */ z.boolean()),
|
|
3458
|
+
/** Open an audio decode session and return its id and node. */
|
|
3419
3459
|
createDecodeSession: /* @__PURE__ */ method(AudioDecodeSessionConfigSchema, /* @__PURE__ */ z.object({
|
|
3420
3460
|
sessionId: /* @__PURE__ */ z.string(),
|
|
3421
3461
|
nodeId: /* @__PURE__ */ z.string()
|
|
3422
3462
|
}), { kind: "mutation" }),
|
|
3463
|
+
/** Open an audio encode session and return its id and node. */
|
|
3423
3464
|
createEncodeSession: /* @__PURE__ */ method(AudioEncodeSessionConfigSchema, /* @__PURE__ */ z.object({
|
|
3424
3465
|
sessionId: /* @__PURE__ */ z.string(),
|
|
3425
3466
|
nodeId: /* @__PURE__ */ z.string()
|
|
3426
3467
|
}), { kind: "mutation" }),
|
|
3468
|
+
/** Close an audio codec session. */
|
|
3427
3469
|
closeSession: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
3428
3470
|
sessionId: /* @__PURE__ */ z.string(),
|
|
3429
3471
|
nodeId: /* @__PURE__ */ z.string().optional()
|
|
@@ -3461,6 +3503,7 @@ var audioCodecCapability = {
|
|
|
3461
3503
|
sessionId: /* @__PURE__ */ z.string(),
|
|
3462
3504
|
nodeId: /* @__PURE__ */ z.string().optional()
|
|
3463
3505
|
}), /* @__PURE__ */ z.array(AudioEncodedChunkSchema), { kind: "mutation" }),
|
|
3506
|
+
/** List the open audio codec sessions. */
|
|
3464
3507
|
listActiveSessions: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(SessionInventoryEntrySchema).readonly())
|
|
3465
3508
|
},
|
|
3466
3509
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.INTERNAL }
|
|
@@ -3643,6 +3686,7 @@ var automationControlCapability = {
|
|
|
3643
3686
|
mode: "singleton",
|
|
3644
3687
|
deviceTypes: [DeviceType.Automation],
|
|
3645
3688
|
methods: {
|
|
3689
|
+
/** Enable the automation. */
|
|
3646
3690
|
enable: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
3647
3691
|
kind: "mutation",
|
|
3648
3692
|
auth: "admin",
|
|
@@ -3657,6 +3701,7 @@ var automationControlCapability = {
|
|
|
3657
3701
|
icon: "toggle-right"
|
|
3658
3702
|
}]
|
|
3659
3703
|
}),
|
|
3704
|
+
/** Disable the automation. */
|
|
3660
3705
|
disable: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
3661
3706
|
kind: "mutation",
|
|
3662
3707
|
auth: "admin",
|
|
@@ -3671,6 +3716,7 @@ var automationControlCapability = {
|
|
|
3671
3716
|
icon: "toggle-left"
|
|
3672
3717
|
}]
|
|
3673
3718
|
}),
|
|
3719
|
+
/** Fire the automation now, optionally bypassing its conditions. */
|
|
3674
3720
|
trigger: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
3675
3721
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
3676
3722
|
/** When true, fires the action block while bypassing the
|
|
@@ -4251,8 +4297,11 @@ var boardKeySourceCapability = {
|
|
|
4251
4297
|
scope: "system",
|
|
4252
4298
|
mode: "collection",
|
|
4253
4299
|
methods: {
|
|
4300
|
+
/** List the sources that can provide board keys. */
|
|
4254
4301
|
listSources: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(BoardKeySourceSchema).readonly(), { auth: "admin" }),
|
|
4302
|
+
/** List the boards one source knows. */
|
|
4255
4303
|
listBoards: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ sourceId: /* @__PURE__ */ z.string().min(1) }), ListBoardsResultSchema, { auth: "admin" }),
|
|
4304
|
+
/** Read the key of a board configuration from a source. */
|
|
4256
4305
|
getBoardKey: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
4257
4306
|
sourceId: /* @__PURE__ */ z.string().min(1),
|
|
4258
4307
|
configuration: /* @__PURE__ */ z.string().min(1)
|
|
@@ -4286,7 +4335,9 @@ var brightnessCapability = {
|
|
|
4286
4335
|
deviceNative: true,
|
|
4287
4336
|
mode: "singleton",
|
|
4288
4337
|
deviceTypes: [DeviceType.Light],
|
|
4289
|
-
methods: {
|
|
4338
|
+
methods: {
|
|
4339
|
+
/** Set the light's brightness level from 0 to 100. */
|
|
4340
|
+
setBrightness: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
4290
4341
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
4291
4342
|
level: /* @__PURE__ */ z.number().min(0).max(100)
|
|
4292
4343
|
}), /* @__PURE__ */ z.void(), {
|
|
@@ -4458,14 +4509,17 @@ var brokerCapability = {
|
|
|
4458
4509
|
* but typical HA consumers use `publish` / `subscribe` instead.
|
|
4459
4510
|
* Returns `null` when the broker id is unknown to the provider. */
|
|
4460
4511
|
getBrokerConfig: /* @__PURE__ */ method(GetInputSchema, /* @__PURE__ */ SettingsRecordSchema.nullable(), { auth: "admin" }),
|
|
4512
|
+
/** Publish a message on the broker. */
|
|
4461
4513
|
publish: /* @__PURE__ */ method(PublishInputSchema, /* @__PURE__ */ z.unknown(), {
|
|
4462
4514
|
kind: "mutation",
|
|
4463
4515
|
auth: "admin"
|
|
4464
4516
|
}),
|
|
4517
|
+
/** Subscribe to a topic on the broker. */
|
|
4465
4518
|
subscribe: /* @__PURE__ */ method(SubscribeInputSchema, SubscribeResultSchema, {
|
|
4466
4519
|
kind: "mutation",
|
|
4467
4520
|
auth: "admin"
|
|
4468
4521
|
}),
|
|
4522
|
+
/** Cancel a broker subscription. */
|
|
4469
4523
|
unsubscribe: /* @__PURE__ */ method(UnsubscribeInputSchema, /* @__PURE__ */ z.void(), {
|
|
4470
4524
|
kind: "mutation",
|
|
4471
4525
|
auth: "admin"
|
|
@@ -4499,7 +4553,9 @@ var buttonCapability = {
|
|
|
4499
4553
|
deviceNative: true,
|
|
4500
4554
|
mode: "singleton",
|
|
4501
4555
|
deviceTypes: [DeviceType.Button],
|
|
4502
|
-
methods: {
|
|
4556
|
+
methods: {
|
|
4557
|
+
/** Press the button to trigger its action. */
|
|
4558
|
+
press: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
4503
4559
|
kind: "mutation",
|
|
4504
4560
|
auth: "protected",
|
|
4505
4561
|
actions: [{
|
|
@@ -5115,6 +5171,7 @@ var streamBrokerCapability = {
|
|
|
5115
5171
|
"unknown-code"
|
|
5116
5172
|
])
|
|
5117
5173
|
}), { kind: "mutation" }),
|
|
5174
|
+
/** Register a camera stream (RTSP URL, codec, resolution) under a camera so profiles can be assigned to it. */
|
|
5118
5175
|
publishCameraStream: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5119
5176
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
5120
5177
|
camStreamId: /* @__PURE__ */ z.string().min(1),
|
|
@@ -5145,6 +5202,7 @@ var streamBrokerCapability = {
|
|
|
5145
5202
|
kind: "mutation",
|
|
5146
5203
|
auth: "admin"
|
|
5147
5204
|
}),
|
|
5205
|
+
/** Remove a previously published camera stream from a camera. */
|
|
5148
5206
|
retractCameraStream: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5149
5207
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
5150
5208
|
camStreamId: /* @__PURE__ */ z.string().min(1)
|
|
@@ -5152,6 +5210,7 @@ var streamBrokerCapability = {
|
|
|
5152
5210
|
kind: "mutation",
|
|
5153
5211
|
auth: "admin"
|
|
5154
5212
|
}),
|
|
5213
|
+
/** Assign a published camera stream to one of the camera's profile slots (for example high or low). */
|
|
5155
5214
|
assignProfile: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5156
5215
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
5157
5216
|
profile: CamProfileSchema,
|
|
@@ -5160,6 +5219,7 @@ var streamBrokerCapability = {
|
|
|
5160
5219
|
kind: "mutation",
|
|
5161
5220
|
auth: "admin"
|
|
5162
5221
|
}),
|
|
5222
|
+
/** Clear a camera's profile slot so it no longer points at a stream. */
|
|
5163
5223
|
unassignProfile: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5164
5224
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
5165
5225
|
profile: CamProfileSchema
|
|
@@ -5331,8 +5391,11 @@ var streamBrokerCapability = {
|
|
|
5331
5391
|
kind: "mutation",
|
|
5332
5392
|
auth: "admin"
|
|
5333
5393
|
}),
|
|
5394
|
+
/** List every camera stream published across all cameras. */
|
|
5334
5395
|
listAllCameraStreams: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(CameraStreamSchema).readonly()),
|
|
5396
|
+
/** List every camera profile slot and the stream assigned to it. */
|
|
5335
5397
|
listAllProfileSlots: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(ProfileSlotSchema).readonly()),
|
|
5398
|
+
/** Counters and health of one stream broker (clients, packets, bitrates). */
|
|
5336
5399
|
getBrokerStats: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ brokerId: /* @__PURE__ */ z.string() }), BrokerStatsSchema),
|
|
5337
5400
|
/**
|
|
5338
5401
|
* The effective encode a derived-stream `profile` WOULD run with, computed
|
|
@@ -5362,6 +5425,7 @@ var streamBrokerCapability = {
|
|
|
5362
5425
|
kind: "mutation",
|
|
5363
5426
|
auth: "admin"
|
|
5364
5427
|
}),
|
|
5428
|
+
/** List the clients currently attached to one stream broker, per channel. */
|
|
5365
5429
|
listClients: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ brokerId: /* @__PURE__ */ z.string() }), BrokerClientsSchema),
|
|
5366
5430
|
/**
|
|
5367
5431
|
* People watching each camera LIVE right now, for every camera at once —
|
|
@@ -5381,6 +5445,7 @@ var streamBrokerCapability = {
|
|
|
5381
5445
|
* with its own stream-broker is asked with a `nodeId` pin.
|
|
5382
5446
|
*/
|
|
5383
5447
|
getLiveViewerCounts: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(LiveViewerCountSchema).readonly(), { role: "viewer" }),
|
|
5448
|
+
/** Disconnect one RTSP or audio client from a stream broker. */
|
|
5384
5449
|
killClient: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5385
5450
|
brokerId: /* @__PURE__ */ z.string(),
|
|
5386
5451
|
channel: /* @__PURE__ */ z.enum(["rtsp", "audio"]),
|
|
@@ -5389,6 +5454,7 @@ var streamBrokerCapability = {
|
|
|
5389
5454
|
kind: "mutation",
|
|
5390
5455
|
auth: "admin"
|
|
5391
5456
|
}),
|
|
5457
|
+
/** Restart the broker pipeline behind one camera profile. */
|
|
5392
5458
|
restartProfile: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5393
5459
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
5394
5460
|
profile: CamProfileSchema
|
|
@@ -5417,6 +5483,7 @@ var streamBrokerCapability = {
|
|
|
5417
5483
|
kind: "mutation",
|
|
5418
5484
|
auth: "admin"
|
|
5419
5485
|
}),
|
|
5486
|
+
/** Release one reference to a codec-specific stream pipeline, stopping it when the last user leaves. */
|
|
5420
5487
|
releaseStreamWithCodec: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ pipelineKey: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.object({
|
|
5421
5488
|
released: /* @__PURE__ */ z.boolean(),
|
|
5422
5489
|
refcount: /* @__PURE__ */ z.number().int().nonnegative()
|
|
@@ -5477,11 +5544,14 @@ var streamBrokerCapability = {
|
|
|
5477
5544
|
* 3. `unsubscribeAudioChunks({ subscriptionId })` on teardown.
|
|
5478
5545
|
*/
|
|
5479
5546
|
subscribeAudioChunks: /* @__PURE__ */ method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }),
|
|
5547
|
+
/** Fetch up to maxCount decoded audio chunks queued for an audio subscription. */
|
|
5480
5548
|
pullAudioChunks: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5481
5549
|
subscriptionId: /* @__PURE__ */ z.string(),
|
|
5482
5550
|
maxCount: /* @__PURE__ */ z.number().int().positive().default(8)
|
|
5483
5551
|
}), /* @__PURE__ */ z.array(DecodedAudioChunkSchema).readonly()),
|
|
5552
|
+
/** End an audio-chunk subscription and release its resources. */
|
|
5484
5553
|
unsubscribeAudioChunks: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ subscriptionId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.object({ released: /* @__PURE__ */ z.boolean() }), { kind: "mutation" }),
|
|
5554
|
+
/** Set how many seconds of recent packets a broker keeps for late-joining consumers. */
|
|
5485
5555
|
setPreBufferDuration: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5486
5556
|
brokerId: /* @__PURE__ */ z.string(),
|
|
5487
5557
|
seconds: /* @__PURE__ */ z.number().min(0).max(30)
|
|
@@ -5489,11 +5559,13 @@ var streamBrokerCapability = {
|
|
|
5489
5559
|
kind: "mutation",
|
|
5490
5560
|
auth: "admin"
|
|
5491
5561
|
}),
|
|
5562
|
+
/** Report the configured pre-buffer length and what the broker currently holds. */
|
|
5492
5563
|
getPreBufferInfo: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ brokerId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.object({
|
|
5493
5564
|
configuredSec: /* @__PURE__ */ z.number(),
|
|
5494
5565
|
bufferedMs: /* @__PURE__ */ z.number(),
|
|
5495
5566
|
packetCount: /* @__PURE__ */ z.number()
|
|
5496
5567
|
})),
|
|
5568
|
+
/** The port the broker's RTSP re-stream server listens on. */
|
|
5497
5569
|
getRtspPort: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.number()),
|
|
5498
5570
|
/**
|
|
5499
5571
|
* Enumeration surface — backs the admin RTSP-export picker and
|
|
@@ -5510,10 +5582,12 @@ var streamBrokerCapability = {
|
|
|
5510
5582
|
brokerId: /* @__PURE__ */ z.string(),
|
|
5511
5583
|
hostname: /* @__PURE__ */ z.string().optional()
|
|
5512
5584
|
}), /* @__PURE__ */ RtspRestreamEntrySchema.nullable()),
|
|
5585
|
+
/** Issue a new access token for a broker's RTSP re-stream, invalidating the old one. */
|
|
5513
5586
|
regenerateRtspToken: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ brokerId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.string().nullable(), {
|
|
5514
5587
|
kind: "mutation",
|
|
5515
5588
|
auth: "admin"
|
|
5516
5589
|
}),
|
|
5590
|
+
/** Turn the RTSP re-stream of one broker on or off. */
|
|
5517
5591
|
setRtspEnabled: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5518
5592
|
brokerId: /* @__PURE__ */ z.string(),
|
|
5519
5593
|
enabled: /* @__PURE__ */ z.boolean()
|
|
@@ -5521,6 +5595,7 @@ var streamBrokerCapability = {
|
|
|
5521
5595
|
kind: "mutation",
|
|
5522
5596
|
auth: "admin"
|
|
5523
5597
|
}),
|
|
5598
|
+
/** Whether the RTSP re-stream of one broker is enabled. */
|
|
5524
5599
|
isRtspEnabled: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ brokerId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.boolean()),
|
|
5525
5600
|
/**
|
|
5526
5601
|
* ── Per-device audio-plane policy (D83) ───────────────────────────
|
|
@@ -5549,6 +5624,7 @@ var streamBrokerCapability = {
|
|
|
5549
5624
|
*/
|
|
5550
5625
|
appliedBrokers: /* @__PURE__ */ z.number().int().nonnegative()
|
|
5551
5626
|
})),
|
|
5627
|
+
/** Mute or unmute the audio of a camera on every broker serving it. */
|
|
5552
5628
|
setDeviceAudioMute: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
5553
5629
|
deviceId: /* @__PURE__ */ z.number().int(),
|
|
5554
5630
|
muted: /* @__PURE__ */ z.boolean()
|
|
@@ -5767,7 +5843,9 @@ var cameraStreamsCapability = {
|
|
|
5767
5843
|
defaultActive: true,
|
|
5768
5844
|
deviceTypes: [DeviceType.Camera],
|
|
5769
5845
|
methods: {
|
|
5846
|
+
/** List the streams a camera publishes. */
|
|
5770
5847
|
getCameraStreams: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.array(CameraStreamSchema).readonly()),
|
|
5848
|
+
/** List the camera's profile slots and the streams assigned to them. */
|
|
5771
5849
|
getBrokerStreams: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.array(ProfileSlotSchema).readonly()),
|
|
5772
5850
|
/**
|
|
5773
5851
|
* Per-device RAW RTSP restream entries — one per published camStream
|
|
@@ -6096,6 +6174,7 @@ var climateControlCapability = {
|
|
|
6096
6174
|
lastField: "lastActiveMode"
|
|
6097
6175
|
},
|
|
6098
6176
|
methods: {
|
|
6177
|
+
/** Set the HVAC mode (off, heat, cool, auto, ...). */
|
|
6099
6178
|
setMode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
6100
6179
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6101
6180
|
mode: HvacModeSchema
|
|
@@ -6196,6 +6275,7 @@ var climateControlCapability = {
|
|
|
6196
6275
|
}
|
|
6197
6276
|
]
|
|
6198
6277
|
}),
|
|
6278
|
+
/** Set the target temperature. */
|
|
6199
6279
|
setTarget: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
6200
6280
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6201
6281
|
target: /* @__PURE__ */ z.number()
|
|
@@ -6222,6 +6302,7 @@ var climateControlCapability = {
|
|
|
6222
6302
|
}]
|
|
6223
6303
|
}]
|
|
6224
6304
|
}),
|
|
6305
|
+
/** Set the low and high target temperatures for auto mode. */
|
|
6225
6306
|
setTargetRange: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
6226
6307
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6227
6308
|
targetLow: /* @__PURE__ */ z.number(),
|
|
@@ -6261,6 +6342,7 @@ var climateControlCapability = {
|
|
|
6261
6342
|
}]
|
|
6262
6343
|
}]
|
|
6263
6344
|
}),
|
|
6345
|
+
/** Set the target humidity, 0 to 100. */
|
|
6264
6346
|
setTargetHumidity: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
6265
6347
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6266
6348
|
targetHumidity: /* @__PURE__ */ z.number().min(0).max(100)
|
|
@@ -6289,6 +6371,7 @@ var climateControlCapability = {
|
|
|
6289
6371
|
}]
|
|
6290
6372
|
}]
|
|
6291
6373
|
}),
|
|
6374
|
+
/** Set the fan mode. */
|
|
6292
6375
|
setFanMode: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
6293
6376
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6294
6377
|
fanMode: /* @__PURE__ */ z.string().min(1)
|
|
@@ -6315,6 +6398,7 @@ var climateControlCapability = {
|
|
|
6315
6398
|
}]
|
|
6316
6399
|
}]
|
|
6317
6400
|
}),
|
|
6401
|
+
/** Set the climate preset. */
|
|
6318
6402
|
setPreset: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
6319
6403
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6320
6404
|
preset: /* @__PURE__ */ z.string().min(1)
|
|
@@ -6341,6 +6425,7 @@ var climateControlCapability = {
|
|
|
6341
6425
|
}]
|
|
6342
6426
|
}]
|
|
6343
6427
|
}),
|
|
6428
|
+
/** Turn vertical swing on or off. */
|
|
6344
6429
|
setSwingVertical: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
6345
6430
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6346
6431
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -6369,6 +6454,7 @@ var climateControlCapability = {
|
|
|
6369
6454
|
args: { on: false }
|
|
6370
6455
|
}]
|
|
6371
6456
|
}),
|
|
6457
|
+
/** Turn horizontal swing on or off. */
|
|
6372
6458
|
setSwingHorizontal: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
6373
6459
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6374
6460
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -6762,7 +6848,9 @@ var colorCapability = {
|
|
|
6762
6848
|
deviceNative: true,
|
|
6763
6849
|
mode: "singleton",
|
|
6764
6850
|
deviceTypes: [DeviceType.Light],
|
|
6765
|
-
methods: {
|
|
6851
|
+
methods: {
|
|
6852
|
+
/** Set the light's color. */
|
|
6853
|
+
setColor: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
6766
6854
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
6767
6855
|
color: ColorInputSchema
|
|
6768
6856
|
}), /* @__PURE__ */ z.void(), {
|
|
@@ -6988,6 +7076,7 @@ var composerCapability = {
|
|
|
6988
7076
|
kind: "mutation",
|
|
6989
7077
|
auth: "admin"
|
|
6990
7078
|
}),
|
|
7079
|
+
/** The state of the given composition blocks. */
|
|
6991
7080
|
getStates: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ blockIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()) }), /* @__PURE__ */ z.object({ states: /* @__PURE__ */ z.array(CompositionBlockStateSchema) }), { auth: "admin" })
|
|
6992
7081
|
},
|
|
6993
7082
|
vocabulary: { notOperatorFacing: "device composition — an authoring tool, not an action" }
|
|
@@ -7529,6 +7618,7 @@ var controlCapability = {
|
|
|
7529
7618
|
mode: "singleton",
|
|
7530
7619
|
deviceTypes: [DeviceType.Control],
|
|
7531
7620
|
methods: {
|
|
7621
|
+
/** Set the value of the control (number, selection, text or date). */
|
|
7532
7622
|
setValue: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
7533
7623
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
7534
7624
|
control: ControlSetValueInputSchema
|
|
@@ -7684,6 +7774,7 @@ var coverCapability = {
|
|
|
7684
7774
|
mode: "singleton",
|
|
7685
7775
|
deviceTypes: [DeviceType.Cover],
|
|
7686
7776
|
methods: {
|
|
7777
|
+
/** Open the cover fully. */
|
|
7687
7778
|
open: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
7688
7779
|
kind: "mutation",
|
|
7689
7780
|
auth: "protected",
|
|
@@ -7698,6 +7789,7 @@ var coverCapability = {
|
|
|
7698
7789
|
}
|
|
7699
7790
|
}]
|
|
7700
7791
|
}),
|
|
7792
|
+
/** Close the cover fully. */
|
|
7701
7793
|
close: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
7702
7794
|
kind: "mutation",
|
|
7703
7795
|
auth: "protected",
|
|
@@ -7712,6 +7804,7 @@ var coverCapability = {
|
|
|
7712
7804
|
}
|
|
7713
7805
|
}]
|
|
7714
7806
|
}),
|
|
7807
|
+
/** Stop the cover where it is. */
|
|
7715
7808
|
stop: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
7716
7809
|
kind: "mutation",
|
|
7717
7810
|
auth: "protected",
|
|
@@ -7722,6 +7815,7 @@ var coverCapability = {
|
|
|
7722
7815
|
icon: "square"
|
|
7723
7816
|
}]
|
|
7724
7817
|
}),
|
|
7818
|
+
/** Move the cover to a position from 0 to 100. */
|
|
7725
7819
|
setPosition: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
7726
7820
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
7727
7821
|
position: /* @__PURE__ */ z.number().min(0).max(100)
|
|
@@ -7750,6 +7844,7 @@ var coverCapability = {
|
|
|
7750
7844
|
}]
|
|
7751
7845
|
}]
|
|
7752
7846
|
}),
|
|
7847
|
+
/** Set the cover's tilt from 0 to 100. */
|
|
7753
7848
|
setTiltPosition: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
7754
7849
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
7755
7850
|
tiltPosition: /* @__PURE__ */ z.number().min(0).max(100)
|
|
@@ -8088,7 +8183,9 @@ var dayNightCapability = {
|
|
|
8088
8183
|
tab: "image"
|
|
8089
8184
|
} },
|
|
8090
8185
|
methods: {
|
|
8186
|
+
/** The camera's day/night modes and current settings. */
|
|
8091
8187
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), DayNightOptionsSchema),
|
|
8188
|
+
/** Change the camera's day/night mode, sensitivity or switch delay. */
|
|
8092
8189
|
setSettings: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
8093
8190
|
deviceId: /* @__PURE__ */ z.number(),
|
|
8094
8191
|
settings: DayNightSettingsPatchSchema
|
|
@@ -8178,6 +8275,7 @@ var decoderCapability = {
|
|
|
8178
8275
|
mode: "singleton",
|
|
8179
8276
|
preferredProvider: "decoder-nodeav",
|
|
8180
8277
|
methods: {
|
|
8278
|
+
/** The decoder's id, name and active hardware-acceleration state on this node. */
|
|
8181
8279
|
getInfo: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.object({
|
|
8182
8280
|
id: /* @__PURE__ */ z.string(),
|
|
8183
8281
|
name: /* @__PURE__ */ z.string(),
|
|
@@ -8937,11 +9035,13 @@ var deviceStateRefreshCapability = {
|
|
|
8937
9035
|
deviceNative: true,
|
|
8938
9036
|
mode: "singleton",
|
|
8939
9037
|
methods: {
|
|
9038
|
+
/** Re-read a device's state from the source now. */
|
|
8940
9039
|
refresh: /* @__PURE__ */ method(DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, {
|
|
8941
9040
|
kind: "mutation",
|
|
8942
9041
|
auth: "admin",
|
|
8943
9042
|
notOperatorFacing: NOT_OPERATOR_FACING
|
|
8944
9043
|
}),
|
|
9044
|
+
/** Re-establish a device's live state subscription. */
|
|
8945
9045
|
resubscribe: /* @__PURE__ */ method(DeviceStateResubscribeInputSchema, DeviceStateRefreshResultSchema, {
|
|
8946
9046
|
kind: "mutation",
|
|
8947
9047
|
auth: "admin",
|
|
@@ -9166,6 +9266,7 @@ var dishwasherCapability = {
|
|
|
9166
9266
|
}]
|
|
9167
9267
|
}]
|
|
9168
9268
|
}),
|
|
9269
|
+
/** Pause the running dishwasher program. */
|
|
9169
9270
|
pause: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: DeviceIdSchema$2 }), /* @__PURE__ */ z.void(), {
|
|
9170
9271
|
kind: "mutation",
|
|
9171
9272
|
auth: "protected",
|
|
@@ -9176,6 +9277,7 @@ var dishwasherCapability = {
|
|
|
9176
9277
|
icon: "pause"
|
|
9177
9278
|
}]
|
|
9178
9279
|
}),
|
|
9280
|
+
/** Resume a paused dishwasher program. */
|
|
9179
9281
|
resume: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: DeviceIdSchema$2 }), /* @__PURE__ */ z.void(), {
|
|
9180
9282
|
kind: "mutation",
|
|
9181
9283
|
auth: "protected",
|
|
@@ -9186,6 +9288,7 @@ var dishwasherCapability = {
|
|
|
9186
9288
|
icon: "play"
|
|
9187
9289
|
}]
|
|
9188
9290
|
}),
|
|
9291
|
+
/** Stop the running dishwasher program. */
|
|
9189
9292
|
stop: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: DeviceIdSchema$2 }), /* @__PURE__ */ z.void(), {
|
|
9190
9293
|
kind: "mutation",
|
|
9191
9294
|
auth: "protected",
|
|
@@ -9219,6 +9322,7 @@ var dishwasherCapability = {
|
|
|
9219
9322
|
}]
|
|
9220
9323
|
}]
|
|
9221
9324
|
}),
|
|
9325
|
+
/** Switch the dishwasher on or off. */
|
|
9222
9326
|
setPower: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9223
9327
|
deviceId: DeviceIdSchema$2,
|
|
9224
9328
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9239,6 +9343,7 @@ var dishwasherCapability = {
|
|
|
9239
9343
|
args: { on: false }
|
|
9240
9344
|
}]
|
|
9241
9345
|
}),
|
|
9346
|
+
/** Turn the half-load option on or off. */
|
|
9242
9347
|
setHalfLoad: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9243
9348
|
deviceId: DeviceIdSchema$2,
|
|
9244
9349
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9259,6 +9364,7 @@ var dishwasherCapability = {
|
|
|
9259
9364
|
args: { on: false }
|
|
9260
9365
|
}]
|
|
9261
9366
|
}),
|
|
9367
|
+
/** Turn the Hygiene Plus option on or off. */
|
|
9262
9368
|
setHygienePlus: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9263
9369
|
deviceId: DeviceIdSchema$2,
|
|
9264
9370
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9279,6 +9385,7 @@ var dishwasherCapability = {
|
|
|
9279
9385
|
args: { on: false }
|
|
9280
9386
|
}]
|
|
9281
9387
|
}),
|
|
9388
|
+
/** Turn the extra-dry option on or off. */
|
|
9282
9389
|
setExtraDry: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9283
9390
|
deviceId: DeviceIdSchema$2,
|
|
9284
9391
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9299,6 +9406,7 @@ var dishwasherCapability = {
|
|
|
9299
9406
|
args: { on: false }
|
|
9300
9407
|
}]
|
|
9301
9408
|
}),
|
|
9409
|
+
/** Turn the intensive-zone option on or off. */
|
|
9302
9410
|
setIntensiveZone: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9303
9411
|
deviceId: DeviceIdSchema$2,
|
|
9304
9412
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9319,6 +9427,7 @@ var dishwasherCapability = {
|
|
|
9319
9427
|
args: { on: false }
|
|
9320
9428
|
}]
|
|
9321
9429
|
}),
|
|
9430
|
+
/** Turn the speed-boost (VarioSpeed Plus) option on or off. */
|
|
9322
9431
|
setVarioSpeedPlus: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9323
9432
|
deviceId: DeviceIdSchema$2,
|
|
9324
9433
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9339,6 +9448,7 @@ var dishwasherCapability = {
|
|
|
9339
9448
|
args: { on: false }
|
|
9340
9449
|
}]
|
|
9341
9450
|
}),
|
|
9451
|
+
/** Turn the child lock on or off. */
|
|
9342
9452
|
setChildLock: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9343
9453
|
deviceId: DeviceIdSchema$2,
|
|
9344
9454
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -9544,14 +9654,17 @@ var displayPaletteCapability = {
|
|
|
9544
9654
|
scope: "system",
|
|
9545
9655
|
mode: "singleton",
|
|
9546
9656
|
methods: {
|
|
9657
|
+
/** The cluster's colour palette. */
|
|
9547
9658
|
getPalette: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), paletteResultSchema, {
|
|
9548
9659
|
auth: "protected",
|
|
9549
9660
|
role: "viewer"
|
|
9550
9661
|
}),
|
|
9662
|
+
/** List the built-in palette presets. */
|
|
9551
9663
|
listPresets: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(presetSummarySchema).readonly(), {
|
|
9552
9664
|
auth: "protected",
|
|
9553
9665
|
role: "viewer"
|
|
9554
9666
|
}),
|
|
9667
|
+
/** Save a colour palette; refused when it fails the contrast rules. */
|
|
9555
9668
|
setPalette: /* @__PURE__ */ method(setPaletteInputSchema, paletteReadySchema, {
|
|
9556
9669
|
kind: "mutation",
|
|
9557
9670
|
auth: "admin"
|
|
@@ -9581,7 +9694,9 @@ var doNotDisturbCapability = {
|
|
|
9581
9694
|
deviceNative: true,
|
|
9582
9695
|
mode: "singleton",
|
|
9583
9696
|
deviceTypes: [DeviceType.MediaPlayer],
|
|
9584
|
-
methods: {
|
|
9697
|
+
methods: {
|
|
9698
|
+
/** Turn Do Not Disturb on or off for the device. */
|
|
9699
|
+
setEnabled: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
9585
9700
|
deviceId: /* @__PURE__ */ z.number().int(),
|
|
9586
9701
|
enabled: /* @__PURE__ */ z.boolean()
|
|
9587
9702
|
}), /* @__PURE__ */ z.void(), {
|
|
@@ -10349,6 +10464,7 @@ var faceGalleryCapability = {
|
|
|
10349
10464
|
scope: "system",
|
|
10350
10465
|
mode: "singleton",
|
|
10351
10466
|
methods: {
|
|
10467
|
+
/** List the known face identities in the gallery. */
|
|
10352
10468
|
listIdentities: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
10353
10469
|
/**
|
|
10354
10470
|
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
@@ -10370,10 +10486,12 @@ var faceGalleryCapability = {
|
|
|
10370
10486
|
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
10371
10487
|
*/
|
|
10372
10488
|
includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__ */ z.array(IdentitySchema).readonly(), { role: "viewer" }),
|
|
10489
|
+
/** Create a named face identity. */
|
|
10373
10490
|
createIdentity: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ name: /* @__PURE__ */ z.string().min(1) }), IdentitySchema, {
|
|
10374
10491
|
kind: "mutation",
|
|
10375
10492
|
auth: "admin"
|
|
10376
10493
|
}),
|
|
10494
|
+
/** Rename a face identity. */
|
|
10377
10495
|
renameIdentity: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
10378
10496
|
id: /* @__PURE__ */ z.string(),
|
|
10379
10497
|
name: /* @__PURE__ */ z.string().min(1)
|
|
@@ -10381,10 +10499,12 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
10381
10499
|
kind: "mutation",
|
|
10382
10500
|
auth: "admin"
|
|
10383
10501
|
}),
|
|
10502
|
+
/** Delete a face identity. */
|
|
10384
10503
|
deleteIdentity: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ id: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.void(), {
|
|
10385
10504
|
kind: "mutation",
|
|
10386
10505
|
auth: "admin"
|
|
10387
10506
|
}),
|
|
10507
|
+
/** List the face samples assigned to an identity. */
|
|
10388
10508
|
listIdentitySamples: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ identityId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(IdentitySampleInfoSchema).readonly()),
|
|
10389
10509
|
/**
|
|
10390
10510
|
* Re-analyse ONE person's enrolled samples against the whole gallery.
|
|
@@ -10399,6 +10519,7 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
10399
10519
|
* delete would be one confirmation away from emptying a gallery.
|
|
10400
10520
|
*/
|
|
10401
10521
|
auditIdentitySamples: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ identityId: /* @__PURE__ */ z.string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }),
|
|
10522
|
+
/** Remove one face sample from an identity. */
|
|
10402
10523
|
removeSample: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
10403
10524
|
identityId: /* @__PURE__ */ z.string(),
|
|
10404
10525
|
sampleId: /* @__PURE__ */ z.string()
|
|
@@ -10418,6 +10539,7 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
10418
10539
|
kind: "mutation",
|
|
10419
10540
|
auth: "admin"
|
|
10420
10541
|
}),
|
|
10542
|
+
/** List recently detected faces, optionally for one or several cameras. */
|
|
10421
10543
|
listRecentFaces: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
10422
10544
|
/**
|
|
10423
10545
|
* Restrict to ONE camera. Absent keeps the cluster-wide gallery view.
|
|
@@ -10488,11 +10610,14 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
10488
10610
|
*/
|
|
10489
10611
|
includeCrops: /* @__PURE__ */ z.boolean().optional()
|
|
10490
10612
|
}).optional(), /* @__PURE__ */ z.array(FaceInfoSchema).readonly()),
|
|
10613
|
+
/** The face captured for a camera's track; null when none. */
|
|
10491
10614
|
getFaceByTrack: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
10492
10615
|
deviceId: /* @__PURE__ */ z.number().int(),
|
|
10493
10616
|
trackId: /* @__PURE__ */ z.string()
|
|
10494
10617
|
}), /* @__PURE__ */ FaceInfoSchema.nullable(), { role: "viewer" }),
|
|
10618
|
+
/** The media files (crops, frames) stored for one face. */
|
|
10495
10619
|
getFaceMedia: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ faceId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(MediaFileLiteSchema$1).readonly()),
|
|
10620
|
+
/** Assign a detected face to an identity. */
|
|
10496
10621
|
assignFace: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
10497
10622
|
faceId: /* @__PURE__ */ z.string(),
|
|
10498
10623
|
identityId: /* @__PURE__ */ z.string()
|
|
@@ -10500,6 +10625,7 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
10500
10625
|
kind: "mutation",
|
|
10501
10626
|
auth: "admin"
|
|
10502
10627
|
}),
|
|
10628
|
+
/** Detach a detected face from its identity. */
|
|
10503
10629
|
unassignFace: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ faceId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.void(), {
|
|
10504
10630
|
kind: "mutation",
|
|
10505
10631
|
auth: "admin"
|
|
@@ -10920,6 +11046,7 @@ var fanControlCapability = {
|
|
|
10920
11046
|
mode: "singleton",
|
|
10921
11047
|
deviceTypes: [DeviceType.Fan],
|
|
10922
11048
|
methods: {
|
|
11049
|
+
/** Set the fan speed from 0 to 100. */
|
|
10923
11050
|
setPercentage: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
10924
11051
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
10925
11052
|
speed: /* @__PURE__ */ z.number().min(0).max(100)
|
|
@@ -10988,6 +11115,7 @@ var fanControlCapability = {
|
|
|
10988
11115
|
}
|
|
10989
11116
|
]
|
|
10990
11117
|
}),
|
|
11118
|
+
/** Set the fan preset mode. */
|
|
10991
11119
|
setPreset: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
10992
11120
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
10993
11121
|
preset: /* @__PURE__ */ z.string().min(1)
|
|
@@ -11014,6 +11142,7 @@ var fanControlCapability = {
|
|
|
11014
11142
|
}]
|
|
11015
11143
|
}]
|
|
11016
11144
|
}),
|
|
11145
|
+
/** Set the fan rotation direction. */
|
|
11017
11146
|
setDirection: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
11018
11147
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
11019
11148
|
direction: FanDirectionSchema
|
|
@@ -11042,6 +11171,7 @@ var fanControlCapability = {
|
|
|
11042
11171
|
args: { direction: "reverse" }
|
|
11043
11172
|
}]
|
|
11044
11173
|
}),
|
|
11174
|
+
/** Turn oscillation on or off. */
|
|
11045
11175
|
setOscillating: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
11046
11176
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
11047
11177
|
oscillating: /* @__PURE__ */ z.boolean()
|
|
@@ -11274,11 +11404,14 @@ var fanPresetsCapability = {
|
|
|
11274
11404
|
scope: "system",
|
|
11275
11405
|
mode: "singleton",
|
|
11276
11406
|
methods: {
|
|
11407
|
+
/** The fan's saved presets. */
|
|
11277
11408
|
getPresets: /* @__PURE__ */ method(deviceInput$1, /* @__PURE__ */ z.array(FanPresetSchema), { auth: "protected" }),
|
|
11409
|
+
/** Replace the fan's saved presets. */
|
|
11278
11410
|
setPresets: /* @__PURE__ */ method(/* @__PURE__ */ deviceInput$1.extend({ presets: /* @__PURE__ */ z.array(FanPresetSchema).max(12) }), FanPresetsSetResultSchema, {
|
|
11279
11411
|
kind: "mutation",
|
|
11280
11412
|
auth: "admin"
|
|
11281
11413
|
}),
|
|
11414
|
+
/** Apply a saved preset to the fan. */
|
|
11282
11415
|
applyPreset: /* @__PURE__ */ method(/* @__PURE__ */ deviceInput$1.extend({ presetId: /* @__PURE__ */ z.string().min(1) }), FanPresetApplyResultSchema, {
|
|
11283
11416
|
kind: "mutation",
|
|
11284
11417
|
auth: "protected"
|
|
@@ -11826,6 +11959,7 @@ var heatPumpControlCapability = {
|
|
|
11826
11959
|
}]
|
|
11827
11960
|
}]
|
|
11828
11961
|
}),
|
|
11962
|
+
/** Set the operation mode of a heating circuit. */
|
|
11829
11963
|
setCircuitOperationMode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11830
11964
|
deviceId,
|
|
11831
11965
|
circuitId,
|
|
@@ -11841,6 +11975,7 @@ var heatPumpControlCapability = {
|
|
|
11841
11975
|
openArgs: [HEATING_CIRCUIT, MODE_ARG]
|
|
11842
11976
|
}]
|
|
11843
11977
|
}),
|
|
11978
|
+
/** Set a circuit to heating or cooling. */
|
|
11844
11979
|
setCircuitHeatCoolMode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11845
11980
|
deviceId,
|
|
11846
11981
|
circuitId,
|
|
@@ -11856,6 +11991,7 @@ var heatPumpControlCapability = {
|
|
|
11856
11991
|
openArgs: [HEATING_CIRCUIT, MODE_ARG]
|
|
11857
11992
|
}]
|
|
11858
11993
|
}),
|
|
11994
|
+
/** Set a circuit's summer or winter mode. */
|
|
11859
11995
|
setCircuitSummerWinter: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11860
11996
|
deviceId,
|
|
11861
11997
|
circuitId,
|
|
@@ -11871,6 +12007,7 @@ var heatPumpControlCapability = {
|
|
|
11871
12007
|
openArgs: [HEATING_CIRCUIT, MODE_ARG]
|
|
11872
12008
|
}]
|
|
11873
12009
|
}),
|
|
12010
|
+
/** Set a circuit's comfort temperature. */
|
|
11874
12011
|
setCircuitComfortSetpoint: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11875
12012
|
deviceId,
|
|
11876
12013
|
circuitId,
|
|
@@ -11886,6 +12023,7 @@ var heatPumpControlCapability = {
|
|
|
11886
12023
|
openArgs: [HEATING_CIRCUIT, TEMP_ARG]
|
|
11887
12024
|
}]
|
|
11888
12025
|
}),
|
|
12026
|
+
/** Set a circuit's eco temperature. */
|
|
11889
12027
|
setCircuitEcoSetpoint: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11890
12028
|
deviceId,
|
|
11891
12029
|
circuitId,
|
|
@@ -11901,6 +12039,7 @@ var heatPumpControlCapability = {
|
|
|
11901
12039
|
openArgs: [HEATING_CIRCUIT, TEMP_ARG]
|
|
11902
12040
|
}]
|
|
11903
12041
|
}),
|
|
12042
|
+
/** Set a circuit's maximum flow temperature. */
|
|
11904
12043
|
setCircuitMaxFlowTemp: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11905
12044
|
deviceId,
|
|
11906
12045
|
circuitId,
|
|
@@ -11916,6 +12055,7 @@ var heatPumpControlCapability = {
|
|
|
11916
12055
|
openArgs: [HEATING_CIRCUIT, TEMP_ARG]
|
|
11917
12056
|
}]
|
|
11918
12057
|
}),
|
|
12058
|
+
/** Set the operation mode of the domestic hot water circuit. */
|
|
11919
12059
|
setDhwOperationMode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11920
12060
|
deviceId,
|
|
11921
12061
|
circuitId,
|
|
@@ -11931,6 +12071,7 @@ var heatPumpControlCapability = {
|
|
|
11931
12071
|
openArgs: [HOT_WATER_CIRCUIT, MODE_ARG]
|
|
11932
12072
|
}]
|
|
11933
12073
|
}),
|
|
12074
|
+
/** Set the hot water temperature level of a circuit. */
|
|
11934
12075
|
setDhwTemperatureLevel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11935
12076
|
deviceId,
|
|
11936
12077
|
circuitId,
|
|
@@ -11946,6 +12087,7 @@ var heatPumpControlCapability = {
|
|
|
11946
12087
|
openArgs: [HOT_WATER_CIRCUIT, LEVEL_ARG]
|
|
11947
12088
|
}]
|
|
11948
12089
|
}),
|
|
12090
|
+
/** Set how many minutes a hot water charge runs. */
|
|
11949
12091
|
setDhwChargeDuration: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
11950
12092
|
deviceId,
|
|
11951
12093
|
circuitId,
|
|
@@ -12401,6 +12543,7 @@ var timedRunCapability = {
|
|
|
12401
12543
|
tab: "general"
|
|
12402
12544
|
} },
|
|
12403
12545
|
methods: {
|
|
12546
|
+
/** The timed-run options of a device. */
|
|
12404
12547
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int() }), TimedRunOptionsSchema),
|
|
12405
12548
|
/**
|
|
12406
12549
|
* The one-tap run of this device. A duration above the type's maximum is
|
|
@@ -13693,6 +13836,7 @@ var humidifierCapability = {
|
|
|
13693
13836
|
set: "setOn"
|
|
13694
13837
|
},
|
|
13695
13838
|
methods: {
|
|
13839
|
+
/** Turn the humidifier on or off. */
|
|
13696
13840
|
setOn: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
13697
13841
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
13698
13842
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -13721,6 +13865,7 @@ var humidifierCapability = {
|
|
|
13721
13865
|
args: { on: false }
|
|
13722
13866
|
}]
|
|
13723
13867
|
}),
|
|
13868
|
+
/** Set the target humidity from 0 to 100. */
|
|
13724
13869
|
setTargetHumidity: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
13725
13870
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
13726
13871
|
humidity: /* @__PURE__ */ z.number().min(0).max(100)
|
|
@@ -13749,6 +13894,7 @@ var humidifierCapability = {
|
|
|
13749
13894
|
}]
|
|
13750
13895
|
}]
|
|
13751
13896
|
}),
|
|
13897
|
+
/** Set the humidifier mode. */
|
|
13752
13898
|
setMode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
13753
13899
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
13754
13900
|
mode: /* @__PURE__ */ z.string().min(1)
|
|
@@ -14080,7 +14226,9 @@ var imageSettingsCapability = {
|
|
|
14080
14226
|
tab: "image"
|
|
14081
14227
|
} },
|
|
14082
14228
|
methods: {
|
|
14229
|
+
/** The camera's picture-adjustment options and current values. */
|
|
14083
14230
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), ImageSettingsOptionsSchema),
|
|
14231
|
+
/** Change the camera's picture settings (brightness, contrast, orientation, exposure, ...). */
|
|
14084
14232
|
setSettings: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
14085
14233
|
deviceId: /* @__PURE__ */ z.number(),
|
|
14086
14234
|
settings: ImageSettingsPatchSchema
|
|
@@ -14217,6 +14365,7 @@ var intercomCapability = {
|
|
|
14217
14365
|
auth: "protected",
|
|
14218
14366
|
notOperatorFacing: "live-stream session plumbing driven by a viewer, never a discrete step"
|
|
14219
14367
|
}),
|
|
14368
|
+
/** Pass the viewer's SDP answer to an open two-way audio session. */
|
|
14220
14369
|
handleAnswer: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
14221
14370
|
deviceId: /* @__PURE__ */ z.number(),
|
|
14222
14371
|
sessionId: /* @__PURE__ */ z.string(),
|
|
@@ -14427,6 +14576,7 @@ var irTransmitterCapability = {
|
|
|
14427
14576
|
mode: "singleton",
|
|
14428
14577
|
deviceTypes: [DeviceType.Generic],
|
|
14429
14578
|
methods: {
|
|
14579
|
+
/** Transmit an infrared code, given as timings or a native code. */
|
|
14430
14580
|
send: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
14431
14581
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
14432
14582
|
timings: /* @__PURE__ */ IrTimingsSchema.optional(),
|
|
@@ -14437,6 +14587,7 @@ var irTransmitterCapability = {
|
|
|
14437
14587
|
auth: "protected",
|
|
14438
14588
|
notOperatorFacing: "a raw pulse train is not something an operator composes in an automation; the remote that owns the command table sends it"
|
|
14439
14589
|
}),
|
|
14590
|
+
/** Listen for an infrared code from a remote and return it. */
|
|
14440
14591
|
learn: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
14441
14592
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
14442
14593
|
timeoutMs: /* @__PURE__ */ z.number().int().positive().max(IR_LEARN_TIMEOUT_MAX_MS).default(IR_LEARN_TIMEOUT_DEFAULT_MS)
|
|
@@ -14445,6 +14596,7 @@ var irTransmitterCapability = {
|
|
|
14445
14596
|
auth: "protected",
|
|
14446
14597
|
notOperatorFacing: "an interactive capture the operator starts from the source dialog and answers by pressing a physical remote; no automation can supply the signal"
|
|
14447
14598
|
}),
|
|
14599
|
+
/** What the infrared transmitter supports. */
|
|
14448
14600
|
getInfo: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), IrTransmitterInfoSchema, {
|
|
14449
14601
|
kind: "query",
|
|
14450
14602
|
auth: "protected"
|
|
@@ -14529,6 +14681,7 @@ var lawnMowerControlCapability = {
|
|
|
14529
14681
|
mode: "singleton",
|
|
14530
14682
|
deviceTypes: [DeviceType.LawnMower],
|
|
14531
14683
|
methods: {
|
|
14684
|
+
/** Start mowing. */
|
|
14532
14685
|
startMowing: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
14533
14686
|
kind: "mutation",
|
|
14534
14687
|
auth: "protected",
|
|
@@ -14539,6 +14692,7 @@ var lawnMowerControlCapability = {
|
|
|
14539
14692
|
icon: "play"
|
|
14540
14693
|
}]
|
|
14541
14694
|
}),
|
|
14695
|
+
/** Pause mowing. */
|
|
14542
14696
|
pause: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
14543
14697
|
kind: "mutation",
|
|
14544
14698
|
auth: "protected",
|
|
@@ -14549,6 +14703,7 @@ var lawnMowerControlCapability = {
|
|
|
14549
14703
|
icon: "pause"
|
|
14550
14704
|
}]
|
|
14551
14705
|
}),
|
|
14706
|
+
/** Send the mower back to its dock. */
|
|
14552
14707
|
dock: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
14553
14708
|
kind: "mutation",
|
|
14554
14709
|
auth: "protected",
|
|
@@ -15043,26 +15198,33 @@ var llmRuntimeCapability = {
|
|
|
15043
15198
|
auth: "admin",
|
|
15044
15199
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
15045
15200
|
}),
|
|
15201
|
+
/** Start the managed local model runtime on this node, loading the model, and report its status. */
|
|
15046
15202
|
ensureStarted: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
15047
15203
|
kind: "mutation",
|
|
15048
15204
|
auth: "admin",
|
|
15049
15205
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
15050
15206
|
}),
|
|
15207
|
+
/** Stop the local model runtime on this node. */
|
|
15051
15208
|
stop: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.void(), {
|
|
15052
15209
|
kind: "mutation",
|
|
15053
15210
|
auth: "admin"
|
|
15054
15211
|
}),
|
|
15212
|
+
/** Whether the local model runtime on this node is running. */
|
|
15055
15213
|
status: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), LlmRuntimeStatusSchema, { auth: "admin" }),
|
|
15214
|
+
/** Download a model file into this node's runtime. */
|
|
15056
15215
|
installModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ model: ManagedModelRefSchema }), /* @__PURE__ */ z.void(), {
|
|
15057
15216
|
kind: "mutation",
|
|
15058
15217
|
auth: "admin",
|
|
15059
15218
|
timeoutMs: AI_MODEL_INSTALL_TIMEOUT_MS
|
|
15060
15219
|
}),
|
|
15220
|
+
/** Delete an installed model file from this node. */
|
|
15061
15221
|
deleteModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ file: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.void(), {
|
|
15062
15222
|
kind: "mutation",
|
|
15063
15223
|
auth: "admin"
|
|
15064
15224
|
}),
|
|
15225
|
+
/** List the model files installed on this node. */
|
|
15065
15226
|
listLocalModels: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(LlmNodeModelSchema), { auth: "admin" }),
|
|
15227
|
+
/** Disk space used by the models on this node. */
|
|
15066
15228
|
getDiskUsage: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" }),
|
|
15067
15229
|
/**
|
|
15068
15230
|
* Stop a node-side generation started with a `requestId` — `complete` or
|
|
@@ -15080,6 +15242,7 @@ var llmRuntimeCapability = {
|
|
|
15080
15242
|
* node refreshes in the background — it never waits on a probe.
|
|
15081
15243
|
*/
|
|
15082
15244
|
appleAvailability: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), AppleFmAvailabilitySchema, { auth: "admin" }),
|
|
15245
|
+
/** Run a text completion on the on-device Apple model. */
|
|
15083
15246
|
completeApple: /* @__PURE__ */ method(LlmRuntimeAppleCompleteInputSchema, LlmGenerateResultSchema, {
|
|
15084
15247
|
kind: "mutation",
|
|
15085
15248
|
auth: "admin",
|
|
@@ -15225,10 +15388,12 @@ var llmCapability = {
|
|
|
15225
15388
|
/** `nodeId` inputs below are DATA (the hub provider pins itself), never routing. */
|
|
15226
15389
|
nodeIdMode: "data",
|
|
15227
15390
|
methods: {
|
|
15391
|
+
/** Run a text generation on a language model profile and return the result. */
|
|
15228
15392
|
generate: /* @__PURE__ */ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
15229
15393
|
kind: "mutation",
|
|
15230
15394
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
15231
15395
|
}),
|
|
15396
|
+
/** Run a generation that includes images on a vision-capable model profile. */
|
|
15232
15397
|
generateVision: /* @__PURE__ */ method(GenerateVisionInputSchema, LlmGenerateResultSchema, {
|
|
15233
15398
|
kind: "mutation",
|
|
15234
15399
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
@@ -15255,7 +15420,9 @@ var llmCapability = {
|
|
|
15255
15420
|
kind: "mutation",
|
|
15256
15421
|
auth: "admin"
|
|
15257
15422
|
}),
|
|
15423
|
+
/** The default model profile chosen for each LLM use. */
|
|
15258
15424
|
getDefaults: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(LlmDefaultSchema)),
|
|
15425
|
+
/** Choose the default model profile for one LLM use, or clear it with null. */
|
|
15259
15426
|
setDefault: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
15260
15427
|
selector: LlmDefaultSelectorSchema,
|
|
15261
15428
|
profileId: /* @__PURE__ */ z.string().nullable()
|
|
@@ -15263,14 +15430,18 @@ var llmCapability = {
|
|
|
15263
15430
|
kind: "mutation",
|
|
15264
15431
|
auth: "admin"
|
|
15265
15432
|
}),
|
|
15433
|
+
/** Token usage rolled up per consumer and profile, optionally within a time window. */
|
|
15266
15434
|
getUsage: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
15267
15435
|
since: /* @__PURE__ */ z.number().optional(),
|
|
15268
15436
|
until: /* @__PURE__ */ z.number().optional(),
|
|
15269
15437
|
consumer: /* @__PURE__ */ z.string().optional(),
|
|
15270
15438
|
profileId: /* @__PURE__ */ z.string().optional()
|
|
15271
15439
|
}), /* @__PURE__ */ z.array(LlmUsageRollupSchema)),
|
|
15440
|
+
/** List the models that can be installed on a runtime node. */
|
|
15272
15441
|
listModelCatalog: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(ManagedModelCatalogEntrySchema)),
|
|
15442
|
+
/** List the nodes that can host a local LLM runtime. */
|
|
15273
15443
|
listRuntimeNodes: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(LlmRuntimeNodeSchema)),
|
|
15444
|
+
/** List the model files installed on one node. */
|
|
15274
15445
|
listNodeModels: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ nodeId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(LlmNodeModelSchema)),
|
|
15275
15446
|
/**
|
|
15276
15447
|
* One typed Hugging Face reference → a pinned, verified `ManagedModelRef`.
|
|
@@ -15291,6 +15462,7 @@ var llmCapability = {
|
|
|
15291
15462
|
kind: "mutation",
|
|
15292
15463
|
auth: "admin"
|
|
15293
15464
|
}),
|
|
15465
|
+
/** Install a catalog model on a node. */
|
|
15294
15466
|
installModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
15295
15467
|
nodeId: /* @__PURE__ */ z.string(),
|
|
15296
15468
|
model: ManagedModelRefSchema
|
|
@@ -15298,6 +15470,7 @@ var llmCapability = {
|
|
|
15298
15470
|
kind: "mutation",
|
|
15299
15471
|
auth: "admin"
|
|
15300
15472
|
}),
|
|
15473
|
+
/** Delete an installed model file from a node. */
|
|
15301
15474
|
deleteModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
15302
15475
|
nodeId: /* @__PURE__ */ z.string(),
|
|
15303
15476
|
file: /* @__PURE__ */ z.string()
|
|
@@ -15305,11 +15478,14 @@ var llmCapability = {
|
|
|
15305
15478
|
kind: "mutation",
|
|
15306
15479
|
auth: "admin"
|
|
15307
15480
|
}),
|
|
15481
|
+
/** Whether the local runtime behind a profile is running, and its state. */
|
|
15308
15482
|
getRuntimeStatus: /* @__PURE__ */ method(ProfileRefInputSchema, LlmRuntimeStatusSchema),
|
|
15483
|
+
/** Start the local runtime behind a profile. */
|
|
15309
15484
|
startRuntime: /* @__PURE__ */ method(ProfileRefInputSchema, LlmRuntimeStatusSchema, {
|
|
15310
15485
|
kind: "mutation",
|
|
15311
15486
|
auth: "admin"
|
|
15312
15487
|
}),
|
|
15488
|
+
/** Stop the local runtime behind a profile. */
|
|
15313
15489
|
stopRuntime: /* @__PURE__ */ method(ProfileRefInputSchema, /* @__PURE__ */ z.void(), {
|
|
15314
15490
|
kind: "mutation",
|
|
15315
15491
|
auth: "admin"
|
|
@@ -15486,6 +15662,7 @@ var lockControlCapability = {
|
|
|
15486
15662
|
mode: "singleton",
|
|
15487
15663
|
deviceTypes: [DeviceType.Lock],
|
|
15488
15664
|
methods: {
|
|
15665
|
+
/** Lock the lock, with a PIN code when it needs one. */
|
|
15489
15666
|
lock: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
15490
15667
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
15491
15668
|
/** Optional PIN code required by some keypad locks. NOT
|
|
@@ -15522,6 +15699,7 @@ var lockControlCapability = {
|
|
|
15522
15699
|
}]
|
|
15523
15700
|
}]
|
|
15524
15701
|
}),
|
|
15702
|
+
/** Unlock the lock, with a PIN code when it needs one. */
|
|
15525
15703
|
unlock: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
15526
15704
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
15527
15705
|
code: /* @__PURE__ */ z.string().min(1).optional(),
|
|
@@ -15563,6 +15741,7 @@ var lockControlCapability = {
|
|
|
15563
15741
|
}]
|
|
15564
15742
|
}]
|
|
15565
15743
|
}),
|
|
15744
|
+
/** Release the latch so the door can be opened. */
|
|
15566
15745
|
open: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
15567
15746
|
kind: "mutation",
|
|
15568
15747
|
auth: "protected",
|
|
@@ -15845,7 +16024,9 @@ var loginMethodCapability = {
|
|
|
15845
16024
|
scope: "system",
|
|
15846
16025
|
mode: "collection",
|
|
15847
16026
|
internal: true,
|
|
15848
|
-
methods: {
|
|
16027
|
+
methods: {
|
|
16028
|
+
/** List the sign-in methods this provider offers on the login page. */
|
|
16029
|
+
getLoginMethods: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(LoginMethodContributionSchema).readonly()) },
|
|
15849
16030
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/server/system` `buildCapRouters`. */
|
|
15850
16031
|
mount: { kind: "skip" },
|
|
15851
16032
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.IDENTITY }
|
|
@@ -16121,7 +16302,9 @@ var modelConvertCapability = {
|
|
|
16121
16302
|
scope: "system",
|
|
16122
16303
|
mode: "singleton",
|
|
16123
16304
|
internal: true,
|
|
16124
|
-
methods: {
|
|
16305
|
+
methods: {
|
|
16306
|
+
/** Convert a model to another format; can take minutes. */
|
|
16307
|
+
convert: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16125
16308
|
sourceUrl: /* @__PURE__ */ z.string(),
|
|
16126
16309
|
metadata: ModelConvertMetadataSchema,
|
|
16127
16310
|
targets: /* @__PURE__ */ z.array(ConvertTargetSchema).min(1).readonly(),
|
|
@@ -16139,7 +16322,9 @@ var modelDistributorCapability = {
|
|
|
16139
16322
|
scope: "system",
|
|
16140
16323
|
mode: "singleton",
|
|
16141
16324
|
internal: true,
|
|
16142
|
-
methods: {
|
|
16325
|
+
methods: {
|
|
16326
|
+
/** Push a model already on the hub to an agent node and verify it. */
|
|
16327
|
+
distributeModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16143
16328
|
targetNodeId: /* @__PURE__ */ z.string(),
|
|
16144
16329
|
modelId: /* @__PURE__ */ z.string(),
|
|
16145
16330
|
format: /* @__PURE__ */ z.enum(MODEL_FORMATS),
|
|
@@ -16434,7 +16619,9 @@ var pipelineExecutorCapability = {
|
|
|
16434
16619
|
scope: "system",
|
|
16435
16620
|
mode: "singleton",
|
|
16436
16621
|
methods: {
|
|
16622
|
+
/** List the inference engines this executor can run pipelines on. */
|
|
16437
16623
|
getAvailableEngines: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(PipelineEngineChoiceSchema)),
|
|
16624
|
+
/** The inference engine currently selected for this executor. */
|
|
16438
16625
|
getSelectedEngine: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), PipelineEngineChoiceSchema),
|
|
16439
16626
|
/**
|
|
16440
16627
|
* Per-node detection-engine provisioning snapshot. Returns the live
|
|
@@ -16445,10 +16632,12 @@ var pipelineExecutorCapability = {
|
|
|
16445
16632
|
* indicator without polling. Phase 2.
|
|
16446
16633
|
*/
|
|
16447
16634
|
getEngineProvisioning: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ nodeId: /* @__PURE__ */ z.string() }), EngineProvisioningSchema),
|
|
16635
|
+
/** The configured video pipeline steps, keyed by step, with their model and settings. */
|
|
16448
16636
|
getVideoPipelineSteps: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.object({
|
|
16449
16637
|
modelId: /* @__PURE__ */ z.string(),
|
|
16450
16638
|
settings: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()).readonly()
|
|
16451
16639
|
}))),
|
|
16640
|
+
/** Replace the configured video pipeline steps (model and settings per step). */
|
|
16452
16641
|
setVideoPipelineSteps: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ steps: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.object({
|
|
16453
16642
|
modelId: /* @__PURE__ */ z.string(),
|
|
16454
16643
|
settings: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()).readonly()
|
|
@@ -16516,7 +16705,9 @@ var pipelineExecutorCapability = {
|
|
|
16516
16705
|
kind: "mutation",
|
|
16517
16706
|
auth: "admin"
|
|
16518
16707
|
}),
|
|
16708
|
+
/** The schema describing the pipeline stages and what each can be configured with. */
|
|
16519
16709
|
getSchema: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), PipelineSchemaSchema),
|
|
16710
|
+
/** The configuration form schema of the pipeline orchestrator. */
|
|
16520
16711
|
getOrchestratorConfigSchema: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ConfigUISchemaBridge),
|
|
16521
16712
|
/**
|
|
16522
16713
|
* Gate B (pre-init config-correctness gate). PURE COMPUTE against this
|
|
@@ -16538,13 +16729,17 @@ var pipelineExecutorCapability = {
|
|
|
16538
16729
|
steps: /* @__PURE__ */ z.array(PipelineStepInputSchema),
|
|
16539
16730
|
deviceKey: /* @__PURE__ */ z.string().optional()
|
|
16540
16731
|
}), PipelineValidationResultSchema),
|
|
16732
|
+
/** What this executor's inference hardware and runtimes can do. */
|
|
16541
16733
|
getCapabilities: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), InferenceCapabilitiesBridge),
|
|
16734
|
+
/** List the models an addon offers and whether each is downloaded. */
|
|
16542
16735
|
getAddonModels: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ addonId: /* @__PURE__ */ z.string() }), ModelAvailabilityListBridge),
|
|
16736
|
+
/** Download a model in the given format for an addon. */
|
|
16543
16737
|
downloadModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16544
16738
|
addonId: /* @__PURE__ */ z.string(),
|
|
16545
16739
|
modelId: /* @__PURE__ */ z.string(),
|
|
16546
16740
|
format: ModelFormatSchema$1
|
|
16547
16741
|
}), DownloadModelResultSchema, { kind: "mutation" }),
|
|
16742
|
+
/** Delete a downloaded model in the given format from an addon. */
|
|
16548
16743
|
deleteModel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16549
16744
|
addonId: /* @__PURE__ */ z.string(),
|
|
16550
16745
|
modelId: /* @__PURE__ */ z.string(),
|
|
@@ -16789,17 +16984,24 @@ var pipelineExecutorCapability = {
|
|
|
16789
16984
|
kind: "mutation",
|
|
16790
16985
|
auth: "admin"
|
|
16791
16986
|
}),
|
|
16987
|
+
/** List the reference images available for pipeline tests. */
|
|
16792
16988
|
listReferenceImages: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(ReferenceImageEntrySchema).readonly()),
|
|
16989
|
+
/** Fetch one reference image by filename; null when missing. */
|
|
16793
16990
|
getReferenceImage: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ filename: /* @__PURE__ */ z.string() }), /* @__PURE__ */ ReferenceImageBodySchema.nullable()),
|
|
16991
|
+
/** List the reference audio files available for audio pipeline tests. */
|
|
16794
16992
|
getReferenceAudioFiles: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(ReferenceAudioEntrySchema).readonly()),
|
|
16993
|
+
/** Fetch one reference audio file by filename; null when missing. */
|
|
16795
16994
|
getReferenceAudio: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ filename: /* @__PURE__ */ z.string() }), /* @__PURE__ */ ReferenceAudioBodySchema.nullable()),
|
|
16995
|
+
/** What audio classification this executor supports. */
|
|
16796
16996
|
getAudioCapabilities: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), AudioCapabilitiesSchema),
|
|
16997
|
+
/** Run an audio model on a reference audio file and return what it detected. */
|
|
16797
16998
|
runAudioTest: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16798
16999
|
addonId: /* @__PURE__ */ z.string(),
|
|
16799
17000
|
modelId: /* @__PURE__ */ z.string(),
|
|
16800
17001
|
filename: /* @__PURE__ */ z.string().optional(),
|
|
16801
17002
|
settings: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()).optional()
|
|
16802
17003
|
}), AudioTestResultSchema, { kind: "mutation" }),
|
|
17004
|
+
/** The configuration form schema of the detection stage; null when none. */
|
|
16803
17005
|
getDetectionConfigSchema: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ConfigUISchemaNullableBridge)
|
|
16804
17006
|
},
|
|
16805
17007
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.PIPELINE }
|
|
@@ -16853,7 +17055,9 @@ var motionTriggerCapability = {
|
|
|
16853
17055
|
DeviceType.Siren,
|
|
16854
17056
|
DeviceType.Switch
|
|
16855
17057
|
],
|
|
16856
|
-
methods: {
|
|
17058
|
+
methods: {
|
|
17059
|
+
/** Turn on or off activating the accessory when the camera detects motion. */
|
|
17060
|
+
setMotionTrigger: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16857
17061
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
16858
17062
|
enabled: /* @__PURE__ */ z.boolean()
|
|
16859
17063
|
}), /* @__PURE__ */ z.void(), {
|
|
@@ -16972,7 +17176,9 @@ var motionZonesCapability = {
|
|
|
16972
17176
|
label: "Motion Zones"
|
|
16973
17177
|
} },
|
|
16974
17178
|
methods: {
|
|
17179
|
+
/** The camera's onboard motion zone options and current zone. */
|
|
16975
17180
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), MotionZoneOptionsSchema),
|
|
17181
|
+
/** Change the camera's onboard motion zone. */
|
|
16976
17182
|
setZone: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
16977
17183
|
deviceId: /* @__PURE__ */ z.number(),
|
|
16978
17184
|
patch: MotionZonePatchSchema
|
|
@@ -17114,24 +17320,31 @@ var mqttBrokerCapability = {
|
|
|
17114
17320
|
kind: "poll"
|
|
17115
17321
|
},
|
|
17116
17322
|
methods: {
|
|
17323
|
+
/** List the configured MQTT brokers. */
|
|
17117
17324
|
listBrokers: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(BrokerInfoSchema)),
|
|
17325
|
+
/** The connection details a client needs to connect to one broker. */
|
|
17118
17326
|
getBrokerConfig: /* @__PURE__ */ method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }),
|
|
17327
|
+
/** Register an external MQTT broker. */
|
|
17119
17328
|
addBroker: /* @__PURE__ */ method(AddBrokerInputSchema, AddBrokerResultSchema, {
|
|
17120
17329
|
kind: "mutation",
|
|
17121
17330
|
auth: "admin"
|
|
17122
17331
|
}),
|
|
17332
|
+
/** Remove a configured MQTT broker. */
|
|
17123
17333
|
removeBroker: /* @__PURE__ */ method(IdInputSchema, /* @__PURE__ */ z.void(), {
|
|
17124
17334
|
kind: "mutation",
|
|
17125
17335
|
auth: "admin"
|
|
17126
17336
|
}),
|
|
17337
|
+
/** Start the embedded MQTT broker. */
|
|
17127
17338
|
startEmbeddedBroker: /* @__PURE__ */ method(StartEmbeddedInputSchema, StartEmbeddedResultSchema, {
|
|
17128
17339
|
kind: "mutation",
|
|
17129
17340
|
auth: "admin"
|
|
17130
17341
|
}),
|
|
17342
|
+
/** Stop the embedded MQTT broker. */
|
|
17131
17343
|
stopEmbeddedBroker: /* @__PURE__ */ method(IdInputSchema, /* @__PURE__ */ z.void(), {
|
|
17132
17344
|
kind: "mutation",
|
|
17133
17345
|
auth: "admin"
|
|
17134
17346
|
}),
|
|
17347
|
+
/** The status of the broker registry. */
|
|
17135
17348
|
getStatus: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), StatusSchema)
|
|
17136
17349
|
},
|
|
17137
17350
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.NETWORK }
|
|
@@ -17231,7 +17444,9 @@ var nativeObjectDetectionCapability = {
|
|
|
17231
17444
|
mode: "singleton",
|
|
17232
17445
|
deviceTypes: [DeviceType.Camera],
|
|
17233
17446
|
methods: {
|
|
17447
|
+
/** The object classes the camera's onboard detection supports and its current settings. */
|
|
17234
17448
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), NativeObjectDetectionOptionsSchema),
|
|
17449
|
+
/** Change the camera's onboard object detection settings. */
|
|
17235
17450
|
setSettings: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
17236
17451
|
deviceId: /* @__PURE__ */ z.number(),
|
|
17237
17452
|
settings: NativeObjectDetectionSettingsPatchSchema
|
|
@@ -17239,6 +17454,7 @@ var nativeObjectDetectionCapability = {
|
|
|
17239
17454
|
kind: "mutation",
|
|
17240
17455
|
auth: "admin"
|
|
17241
17456
|
}),
|
|
17457
|
+
/** Turn the camera's onboard object detection on or off. */
|
|
17242
17458
|
setEnabled: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
17243
17459
|
deviceId: /* @__PURE__ */ z.number(),
|
|
17244
17460
|
enabled: /* @__PURE__ */ z.boolean()
|
|
@@ -17981,8 +18197,11 @@ var networkQualityCapability = {
|
|
|
17981
18197
|
scope: "system",
|
|
17982
18198
|
mode: "singleton",
|
|
17983
18199
|
methods: {
|
|
18200
|
+
/** Latency, jitter and bandwidth measured for one device; null when unknown. */
|
|
17984
18201
|
getDeviceStats: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ DeviceNetworkStatsSchema.nullable()),
|
|
18202
|
+
/** Latency, jitter and bandwidth measured for every device. */
|
|
17985
18203
|
getAllStats: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(DeviceNetworkStatsSchema).readonly()),
|
|
18204
|
+
/** Report a client's measured latency, jitter, bandwidth and packet loss for a device. */
|
|
17986
18205
|
reportClientStats: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
17987
18206
|
deviceId: /* @__PURE__ */ z.number(),
|
|
17988
18207
|
rttMs: /* @__PURE__ */ z.number().min(0).max(6e4),
|
|
@@ -18327,6 +18546,7 @@ var nodesCapability = {
|
|
|
18327
18546
|
mode: "singleton",
|
|
18328
18547
|
nodeIdMode: "data",
|
|
18329
18548
|
methods: {
|
|
18549
|
+
/** List every node in the cluster with its state, resources and processes. */
|
|
18330
18550
|
topology: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(TopologyNodeSchema).readonly(), { auth: "admin" }),
|
|
18331
18551
|
/**
|
|
18332
18552
|
* The cheap node list for pickers (D637): the hub's in-memory registry plus
|
|
@@ -18334,18 +18554,22 @@ var nodesCapability = {
|
|
|
18334
18554
|
* history could not be read.
|
|
18335
18555
|
*/
|
|
18336
18556
|
directory: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), NodeDirectorySchema, { auth: "admin" }),
|
|
18557
|
+
/** Deploy an addon onto a node. */
|
|
18337
18558
|
deployAddon: /* @__PURE__ */ method(NodeAddonInputSchema, SuccessSchema, {
|
|
18338
18559
|
kind: "mutation",
|
|
18339
18560
|
auth: "admin"
|
|
18340
18561
|
}),
|
|
18562
|
+
/** Remove an addon from a node. */
|
|
18341
18563
|
undeployAddon: /* @__PURE__ */ method(NodeAddonInputSchema, SuccessSchema, {
|
|
18342
18564
|
kind: "mutation",
|
|
18343
18565
|
auth: "admin"
|
|
18344
18566
|
}),
|
|
18567
|
+
/** Restart one addon on a node. */
|
|
18345
18568
|
restartAddon: /* @__PURE__ */ method(NodeAddonInputSchema, SuccessSchema, {
|
|
18346
18569
|
kind: "mutation",
|
|
18347
18570
|
auth: "admin"
|
|
18348
18571
|
}),
|
|
18572
|
+
/** Restart one named process on a node. */
|
|
18349
18573
|
restartProcess: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
18350
18574
|
nodeId: /* @__PURE__ */ z.string(),
|
|
18351
18575
|
processName: /* @__PURE__ */ z.string()
|
|
@@ -18353,14 +18577,17 @@ var nodesCapability = {
|
|
|
18353
18577
|
kind: "mutation",
|
|
18354
18578
|
auth: "admin"
|
|
18355
18579
|
}),
|
|
18580
|
+
/** Restart a whole node. */
|
|
18356
18581
|
restartNode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ nodeId: /* @__PURE__ */ z.string() }), RestartNodeResultSchema, {
|
|
18357
18582
|
kind: "mutation",
|
|
18358
18583
|
auth: "admin"
|
|
18359
18584
|
}),
|
|
18585
|
+
/** Shut a node down. */
|
|
18360
18586
|
shutdownNode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ nodeId: /* @__PURE__ */ z.string() }), SuccessSchema, {
|
|
18361
18587
|
kind: "mutation",
|
|
18362
18588
|
auth: "admin"
|
|
18363
18589
|
}),
|
|
18590
|
+
/** Change a node's display name. */
|
|
18364
18591
|
renameNode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
18365
18592
|
nodeId: /* @__PURE__ */ z.string(),
|
|
18366
18593
|
name: /* @__PURE__ */ z.string().min(1).max(64)
|
|
@@ -18368,7 +18595,9 @@ var nodesCapability = {
|
|
|
18368
18595
|
kind: "mutation",
|
|
18369
18596
|
auth: "admin"
|
|
18370
18597
|
}),
|
|
18598
|
+
/** Per-addon status across the cluster. */
|
|
18371
18599
|
clusterAddonStatus: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), ClusterAddonStatusEntrySchema), { auth: "admin" }),
|
|
18600
|
+
/** Which capabilities call which others over the last window, as a graph of edges. */
|
|
18372
18601
|
getCapUsageGraph: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ windowSeconds: /* @__PURE__ */ z.number().int().positive().max(300).default(60) }), /* @__PURE__ */ z.array(CapUsageEdgeSchema).readonly(), { auth: "admin" }),
|
|
18373
18602
|
/**
|
|
18374
18603
|
* Direct per-node addon listing — calls `$agent.status` on the target
|
|
@@ -18379,6 +18608,7 @@ var nodesCapability = {
|
|
|
18379
18608
|
* is the one the per-node "Addons" tab should call.
|
|
18380
18609
|
*/
|
|
18381
18610
|
getNodeAddons: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ nodeId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(NodeAddonEntrySchema).readonly(), { auth: "admin" }),
|
|
18611
|
+
/** Change the log level of a process on a node. */
|
|
18382
18612
|
setProcessLogLevel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
18383
18613
|
nodeId: /* @__PURE__ */ z.string(),
|
|
18384
18614
|
level: /* @__PURE__ */ z.string()
|
|
@@ -18386,6 +18616,7 @@ var nodesCapability = {
|
|
|
18386
18616
|
kind: "mutation",
|
|
18387
18617
|
auth: "admin"
|
|
18388
18618
|
}),
|
|
18619
|
+
/** Run a named query of an addon on a specific node and return its result. */
|
|
18389
18620
|
executeQuery: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
18390
18621
|
nodeId: /* @__PURE__ */ z.string(),
|
|
18391
18622
|
addonId: /* @__PURE__ */ z.string(),
|
|
@@ -18501,6 +18732,7 @@ var notifierCapability = {
|
|
|
18501
18732
|
mode: "singleton",
|
|
18502
18733
|
deviceTypes: [DeviceType.Notifier],
|
|
18503
18734
|
methods: {
|
|
18735
|
+
/** Send a notification through this notifier. */
|
|
18504
18736
|
send: /* @__PURE__ */ method(NotifierSendInputSchema, NotifierSendResultSchema, {
|
|
18505
18737
|
kind: "mutation",
|
|
18506
18738
|
auth: "admin",
|
|
@@ -18550,6 +18782,7 @@ var notifierCapability = {
|
|
|
18550
18782
|
]
|
|
18551
18783
|
}]
|
|
18552
18784
|
}),
|
|
18785
|
+
/** Cancel a notification that was sent earlier. */
|
|
18553
18786
|
cancel: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
18554
18787
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
18555
18788
|
notificationId: /* @__PURE__ */ z.string().min(1)
|
|
@@ -20977,6 +21210,7 @@ var pipelineOrchestratorCapability = {
|
|
|
20977
21210
|
kind: "mutation",
|
|
20978
21211
|
auth: "admin"
|
|
20979
21212
|
}),
|
|
21213
|
+
/** Resume pipeline work that was paused for a storage migration. */
|
|
20980
21214
|
resumeForStorageMigration: /* @__PURE__ */ method(StorageMigrationLeaseInputSchema, /* @__PURE__ */ z.object({ resumed: /* @__PURE__ */ z.literal(true) }), {
|
|
20981
21215
|
kind: "mutation",
|
|
20982
21216
|
auth: "admin"
|
|
@@ -21571,6 +21805,8 @@ var pipelineOrchestratorCapability = {
|
|
|
21571
21805
|
agentNodeId: /* @__PURE__ */ z.string().optional()
|
|
21572
21806
|
}), CameraPipelineConfigSchema),
|
|
21573
21807
|
/**
|
|
21808
|
+
* The per-camera function switches and whether each is on.
|
|
21809
|
+
*
|
|
21574
21810
|
* @deprecated The aggregate switch group is being withdrawn
|
|
21575
21811
|
* ([D113](../../../../docs/decisions/adr-0113.md)). Build nothing new on
|
|
21576
21812
|
* this pair; read the authority directly.
|
|
@@ -21601,6 +21837,8 @@ var pipelineOrchestratorCapability = {
|
|
|
21601
21837
|
*/
|
|
21602
21838
|
getCameraSwitches: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), CameraSwitchGroupSchema, { role: "viewer" }),
|
|
21603
21839
|
/**
|
|
21840
|
+
* Turn one of a camera's function switches on or off.
|
|
21841
|
+
*
|
|
21604
21842
|
* @deprecated See {@link getCameraSwitches}. Write the authority — the
|
|
21605
21843
|
* wrapper binding, `RecordingConfig.enabled`, the notification mute — not
|
|
21606
21844
|
* this ([D113](../../../../docs/decisions/adr-0113.md)).
|
|
@@ -21792,6 +22030,7 @@ var plateGalleryCapability = {
|
|
|
21792
22030
|
scope: "system",
|
|
21793
22031
|
mode: "singleton",
|
|
21794
22032
|
methods: {
|
|
22033
|
+
/** List recognised license plates, optionally for one camera, newest first. */
|
|
21795
22034
|
listPlates: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21796
22035
|
deviceId: /* @__PURE__ */ z.number().int().optional(),
|
|
21797
22036
|
limit: /* @__PURE__ */ z.number().int().positive().optional(),
|
|
@@ -21814,10 +22053,12 @@ var plateGalleryCapability = {
|
|
|
21814
22053
|
*/
|
|
21815
22054
|
includeCrops: /* @__PURE__ */ z.boolean().optional()
|
|
21816
22055
|
}).optional(), /* @__PURE__ */ z.array(PlateInfoSchema).readonly()),
|
|
22056
|
+
/** The plate read for a camera's track; null when none. */
|
|
21817
22057
|
getPlateByTrack: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21818
22058
|
deviceId: /* @__PURE__ */ z.number().int(),
|
|
21819
22059
|
trackId: /* @__PURE__ */ z.string()
|
|
21820
22060
|
}), /* @__PURE__ */ PlateInfoSchema.nullable(), { role: "viewer" }),
|
|
22061
|
+
/** The media files (crops, frames) stored for one plate. */
|
|
21821
22062
|
getPlateMedia: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ plateId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(MediaFileLiteSchema).readonly()),
|
|
21822
22063
|
/** Proximity search: plates whose folded text is within `maxDistance` edits of `text`. */
|
|
21823
22064
|
searchPlates: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
@@ -21841,10 +22082,12 @@ var plateGalleryCapability = {
|
|
|
21841
22082
|
kind: "mutation",
|
|
21842
22083
|
auth: "admin"
|
|
21843
22084
|
}),
|
|
22085
|
+
/** Delete one recognised plate and its media. */
|
|
21844
22086
|
deletePlate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ plateId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.void(), {
|
|
21845
22087
|
kind: "mutation",
|
|
21846
22088
|
auth: "admin"
|
|
21847
22089
|
}),
|
|
22090
|
+
/** List the vehicles (named groups of plates) in the gallery. */
|
|
21848
22091
|
listVehicles: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21849
22092
|
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
21850
22093
|
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
@@ -21852,10 +22095,12 @@ var plateGalleryCapability = {
|
|
|
21852
22095
|
* INPUT field: stripped by the hub router until the train ships, which
|
|
21853
22096
|
* resolves to `false` and is exactly the intended default. */
|
|
21854
22097
|
includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__ */ z.array(VehicleSchema).readonly()),
|
|
22098
|
+
/** Create a named vehicle. */
|
|
21855
22099
|
createVehicle: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ name: /* @__PURE__ */ z.string().min(1) }), VehicleSchema, {
|
|
21856
22100
|
kind: "mutation",
|
|
21857
22101
|
auth: "admin"
|
|
21858
22102
|
}),
|
|
22103
|
+
/** Rename a vehicle. */
|
|
21859
22104
|
renameVehicle: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21860
22105
|
id: /* @__PURE__ */ z.string(),
|
|
21861
22106
|
name: /* @__PURE__ */ z.string().min(1)
|
|
@@ -21863,11 +22108,14 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
21863
22108
|
kind: "mutation",
|
|
21864
22109
|
auth: "admin"
|
|
21865
22110
|
}),
|
|
22111
|
+
/** Delete a vehicle. */
|
|
21866
22112
|
deleteVehicle: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ id: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.void(), {
|
|
21867
22113
|
kind: "mutation",
|
|
21868
22114
|
auth: "admin"
|
|
21869
22115
|
}),
|
|
22116
|
+
/** List the plate samples assigned to a vehicle. */
|
|
21870
22117
|
listVehicleSamples: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ vehicleId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(VehicleSampleInfoSchema).readonly()),
|
|
22118
|
+
/** Remove one plate sample from a vehicle. */
|
|
21871
22119
|
removeVehicleSample: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21872
22120
|
vehicleId: /* @__PURE__ */ z.string(),
|
|
21873
22121
|
sampleId: /* @__PURE__ */ z.string()
|
|
@@ -21887,6 +22135,7 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
21887
22135
|
kind: "mutation",
|
|
21888
22136
|
auth: "admin"
|
|
21889
22137
|
}),
|
|
22138
|
+
/** Assign a recognised plate to a vehicle. */
|
|
21890
22139
|
assignPlate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21891
22140
|
plateId: /* @__PURE__ */ z.string(),
|
|
21892
22141
|
vehicleId: /* @__PURE__ */ z.string()
|
|
@@ -21894,10 +22143,12 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
21894
22143
|
kind: "mutation",
|
|
21895
22144
|
auth: "admin"
|
|
21896
22145
|
}),
|
|
22146
|
+
/** Detach a recognised plate from its vehicle. */
|
|
21897
22147
|
unassignPlate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ plateId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.void(), {
|
|
21898
22148
|
kind: "mutation",
|
|
21899
22149
|
auth: "admin"
|
|
21900
22150
|
}),
|
|
22151
|
+
/** Assign several plates to a vehicle; reports how many succeeded and which failed. */
|
|
21901
22152
|
assignPlates: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
21902
22153
|
plateIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).min(1),
|
|
21903
22154
|
vehicleId: /* @__PURE__ */ z.string()
|
|
@@ -21908,6 +22159,7 @@ includeCrops: /* @__PURE__ */ z.boolean().optional() }).optional(), /* @__PURE__
|
|
|
21908
22159
|
kind: "mutation",
|
|
21909
22160
|
auth: "admin"
|
|
21910
22161
|
}),
|
|
22162
|
+
/** Detach several plates from their vehicles; reports how many succeeded and which failed. */
|
|
21911
22163
|
unassignPlates: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ plateIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).min(1) }), /* @__PURE__ */ z.object({
|
|
21912
22164
|
unassigned: /* @__PURE__ */ z.number().int(),
|
|
21913
22165
|
failed: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).readonly()
|
|
@@ -22400,7 +22652,9 @@ var privacyMaskCapability = {
|
|
|
22400
22652
|
label: "Privacy Mask"
|
|
22401
22653
|
} },
|
|
22402
22654
|
methods: {
|
|
22655
|
+
/** The camera's privacy mask options and current mask. */
|
|
22403
22656
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), PrivacyMaskOptionsSchema),
|
|
22657
|
+
/** Change the camera's privacy mask. */
|
|
22404
22658
|
setMask: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
22405
22659
|
deviceId: /* @__PURE__ */ z.number(),
|
|
22406
22660
|
patch: PrivacyMaskPatchSchema
|
|
@@ -22695,10 +22949,12 @@ var ptzCapability = {
|
|
|
22695
22949
|
order: 0
|
|
22696
22950
|
} },
|
|
22697
22951
|
methods: {
|
|
22952
|
+
/** Nudge the camera by a relative pan, tilt or zoom step. */
|
|
22698
22953
|
move: /* @__PURE__ */ method(/* @__PURE__ */ PtzMoveCommandSchema.extend({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ z.void(), {
|
|
22699
22954
|
kind: "mutation",
|
|
22700
22955
|
notOperatorFacing: "a relative nudge from the live-view joystick; a fixed place is a preset"
|
|
22701
22956
|
}),
|
|
22957
|
+
/** Move the camera continuously until stopped. */
|
|
22702
22958
|
continuousMove: /* @__PURE__ */ method(/* @__PURE__ */ PtzMoveCommandSchema.extend({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ z.void(), {
|
|
22703
22959
|
kind: "mutation",
|
|
22704
22960
|
notOperatorFacing: "joystick motion held until released — continuous, not a discrete step"
|
|
@@ -22717,7 +22973,9 @@ var ptzCapability = {
|
|
|
22717
22973
|
icon: "house"
|
|
22718
22974
|
}]
|
|
22719
22975
|
}),
|
|
22976
|
+
/** List the camera's PTZ presets. */
|
|
22720
22977
|
getPresets: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ z.array(PtzPresetSchema)),
|
|
22978
|
+
/** Move the camera to a preset. */
|
|
22721
22979
|
goToPreset: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
22722
22980
|
deviceId: /* @__PURE__ */ z.number(),
|
|
22723
22981
|
presetId: /* @__PURE__ */ z.string()
|
|
@@ -22741,6 +22999,7 @@ var ptzCapability = {
|
|
|
22741
22999
|
}]
|
|
22742
23000
|
}]
|
|
22743
23001
|
}),
|
|
23002
|
+
/** Save the camera's current position as a named preset. */
|
|
22744
23003
|
savePreset: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
22745
23004
|
deviceId: /* @__PURE__ */ z.number(),
|
|
22746
23005
|
presetId: /* @__PURE__ */ z.string(),
|
|
@@ -22770,6 +23029,7 @@ var ptzCapability = {
|
|
|
22770
23029
|
}]
|
|
22771
23030
|
}]
|
|
22772
23031
|
}),
|
|
23032
|
+
/** Delete a PTZ preset. */
|
|
22773
23033
|
deletePreset: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
22774
23034
|
deviceId: /* @__PURE__ */ z.number(),
|
|
22775
23035
|
presetId: /* @__PURE__ */ z.string()
|
|
@@ -22777,7 +23037,9 @@ var ptzCapability = {
|
|
|
22777
23037
|
kind: "mutation",
|
|
22778
23038
|
auth: "admin"
|
|
22779
23039
|
}),
|
|
23040
|
+
/** What the camera's PTZ supports (axes, speeds, presets). */
|
|
22780
23041
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), PtzOptionsSchema),
|
|
23042
|
+
/** Stop any PTZ movement. */
|
|
22781
23043
|
stop: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ z.void(), {
|
|
22782
23044
|
kind: "mutation",
|
|
22783
23045
|
actions: [{
|
|
@@ -23107,7 +23369,9 @@ var rebootCapability = {
|
|
|
23107
23369
|
DeviceType.Switch,
|
|
23108
23370
|
DeviceType.Gateway
|
|
23109
23371
|
],
|
|
23110
|
-
methods: {
|
|
23372
|
+
methods: {
|
|
23373
|
+
/** Reboot the device. */
|
|
23374
|
+
reboot: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.object({ success: /* @__PURE__ */ z.literal(true) }), {
|
|
23111
23375
|
kind: "mutation",
|
|
23112
23376
|
auth: "admin",
|
|
23113
23377
|
actions: [{
|
|
@@ -23625,6 +23889,7 @@ var videoclipsCapability = {
|
|
|
23625
23889
|
order: 100
|
|
23626
23890
|
} },
|
|
23627
23891
|
methods: {
|
|
23892
|
+
/** List a camera's clips in a time window, from every clip source. */
|
|
23628
23893
|
listClips: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
23629
23894
|
deviceId: /* @__PURE__ */ z.number(),
|
|
23630
23895
|
since: /* @__PURE__ */ z.number(),
|
|
@@ -23683,6 +23948,7 @@ var videoclipsCapability = {
|
|
|
23683
23948
|
kind: "query",
|
|
23684
23949
|
auth: "protected"
|
|
23685
23950
|
}),
|
|
23951
|
+
/** How to play one clip, at the requested quality. */
|
|
23686
23952
|
getClipPlayback: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
23687
23953
|
deviceId: /* @__PURE__ */ z.number(),
|
|
23688
23954
|
clipId: /* @__PURE__ */ z.string(),
|
|
@@ -24275,6 +24541,7 @@ var recordingExportCapability = {
|
|
|
24275
24541
|
kind: "query",
|
|
24276
24542
|
auth: "protected"
|
|
24277
24543
|
}),
|
|
24544
|
+
/** Fetch one footage export and its state. */
|
|
24278
24545
|
getExport: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ exportId: /* @__PURE__ */ z.string() }), ExportRecordSchema, {
|
|
24279
24546
|
role: "viewer",
|
|
24280
24547
|
kind: "query",
|
|
@@ -24292,6 +24559,7 @@ var recordingExportCapability = {
|
|
|
24292
24559
|
kind: "mutation",
|
|
24293
24560
|
auth: "protected"
|
|
24294
24561
|
}),
|
|
24562
|
+
/** A download link for a finished export. */
|
|
24295
24563
|
getDownloadUrl: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ exportId: /* @__PURE__ */ z.string() }), ExportDownloadSchema, {
|
|
24296
24564
|
role: "viewer",
|
|
24297
24565
|
kind: "query",
|
|
@@ -24659,7 +24927,9 @@ var recordingOnboardCapability = {
|
|
|
24659
24927
|
tab: "recording"
|
|
24660
24928
|
} },
|
|
24661
24929
|
methods: {
|
|
24930
|
+
/** The camera's onboard recording options and current settings. */
|
|
24662
24931
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), RecordingOnboardOptionsSchema),
|
|
24932
|
+
/** Change the camera's onboard recording settings. */
|
|
24663
24933
|
setSettings: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
24664
24934
|
deviceId: /* @__PURE__ */ z.number(),
|
|
24665
24935
|
settings: RecordingOnboardPatchSchema
|
|
@@ -25310,12 +25580,16 @@ var remoteCapability = {
|
|
|
25310
25580
|
scope: "system",
|
|
25311
25581
|
mode: "singleton",
|
|
25312
25582
|
methods: {
|
|
25583
|
+
/** The remote-control button layout bound to a device. */
|
|
25313
25584
|
getConfig: /* @__PURE__ */ method(deviceInput, RemoteConfigSchema, { auth: "admin" }),
|
|
25585
|
+
/** Save the remote-control button layout of a device. */
|
|
25314
25586
|
setConfig: /* @__PURE__ */ method(/* @__PURE__ */ deviceInput.extend({ config: RemoteConfigSchema }), RemoteSetConfigResultSchema, {
|
|
25315
25587
|
kind: "mutation",
|
|
25316
25588
|
auth: "admin"
|
|
25317
25589
|
}),
|
|
25590
|
+
/** List the commands a device's remote can send. */
|
|
25318
25591
|
listCommands: /* @__PURE__ */ method(deviceInput, RemoteCommandListSchema, { auth: "protected" }),
|
|
25592
|
+
/** Send a remote button role to the device, optionally repeated. */
|
|
25319
25593
|
sendCommand: /* @__PURE__ */ method(/* @__PURE__ */ deviceInput.extend({
|
|
25320
25594
|
role: RemoteRoleSchema,
|
|
25321
25595
|
/** Sends in a row (volume steps). */
|
|
@@ -25336,6 +25610,7 @@ var remoteCapability = {
|
|
|
25336
25610
|
* media-player status's own composition (D967 amendment).
|
|
25337
25611
|
*/
|
|
25338
25612
|
getAssumedStatus: /* @__PURE__ */ method(deviceInput, /* @__PURE__ */ MediaPlayerStatusSchema.nullable(), { auth: "protected" }),
|
|
25613
|
+
/** Send a media command (play, pause, volume, source, channel) to the device's remote. */
|
|
25339
25614
|
sendMediaCommand: /* @__PURE__ */ method(/* @__PURE__ */ deviceInput.extend({
|
|
25340
25615
|
command: RemoteMediaCommandSchema,
|
|
25341
25616
|
muted: /* @__PURE__ */ z.boolean().optional(),
|
|
@@ -25454,7 +25729,9 @@ var remoteLayoutComponentsCapability = {
|
|
|
25454
25729
|
name: "remote-layout-components",
|
|
25455
25730
|
scope: "system",
|
|
25456
25731
|
mode: "collection",
|
|
25457
|
-
methods: {
|
|
25732
|
+
methods: {
|
|
25733
|
+
/** List the components offered by the remote layout editor's palette. */
|
|
25734
|
+
listComponents: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(RemoteLayoutComponentSchema), { auth: "protected" }) },
|
|
25458
25735
|
vocabulary: { notOperatorFacing: "the palette of the remote template editor — read-only data, never actuated" }
|
|
25459
25736
|
};
|
|
25460
25737
|
//#endregion
|
|
@@ -25485,7 +25762,9 @@ var resyncCapability = {
|
|
|
25485
25762
|
DeviceType.Workload,
|
|
25486
25763
|
DeviceType.WeatherStation
|
|
25487
25764
|
],
|
|
25488
|
-
methods: {
|
|
25765
|
+
methods: {
|
|
25766
|
+
/** Re-align a device with its upstream source. */
|
|
25767
|
+
resync: /* @__PURE__ */ method(ResyncDeviceInputSchema, ResyncResultSchema, {
|
|
25489
25768
|
kind: "mutation",
|
|
25490
25769
|
auth: "admin",
|
|
25491
25770
|
notOperatorFacing: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action"
|
|
@@ -25964,6 +26243,7 @@ var sceneMonitorCapability = {
|
|
|
25964
26243
|
defaultActive: true,
|
|
25965
26244
|
deviceTypes: [DeviceType.Camera],
|
|
25966
26245
|
methods: {
|
|
26246
|
+
/** List the camera's scene monitors with their current state. */
|
|
25967
26247
|
listScenes: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), SceneMonitorStatusSchema),
|
|
25968
26248
|
/**
|
|
25969
26249
|
* The same answer, for a SET of cameras, in one round trip.
|
|
@@ -25981,6 +26261,7 @@ var sceneMonitorCapability = {
|
|
|
25981
26261
|
* tell which two are missing, or that any are.
|
|
25982
26262
|
*/
|
|
25983
26263
|
listScenesBatch: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.number()).min(1).max(200) }), /* @__PURE__ */ z.array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
26264
|
+
/** Create a scene monitor on a region of the camera frame. */
|
|
25984
26265
|
createScene: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
25985
26266
|
deviceId: /* @__PURE__ */ z.number(),
|
|
25986
26267
|
label: /* @__PURE__ */ z.string(),
|
|
@@ -25996,6 +26277,7 @@ var sceneMonitorCapability = {
|
|
|
25996
26277
|
kind: "mutation",
|
|
25997
26278
|
auth: "admin"
|
|
25998
26279
|
}),
|
|
26280
|
+
/** Change a scene monitor's label, region, trigger or enabled state. */
|
|
25999
26281
|
updateScene: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26000
26282
|
deviceId: /* @__PURE__ */ z.number(),
|
|
26001
26283
|
monitorId: /* @__PURE__ */ z.string(),
|
|
@@ -26023,6 +26305,7 @@ var sceneMonitorCapability = {
|
|
|
26023
26305
|
kind: "mutation",
|
|
26024
26306
|
auth: "admin"
|
|
26025
26307
|
}),
|
|
26308
|
+
/** Delete a scene monitor. */
|
|
26026
26309
|
deleteScene: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26027
26310
|
deviceId: /* @__PURE__ */ z.number(),
|
|
26028
26311
|
monitorId: /* @__PURE__ */ z.string()
|
|
@@ -26030,6 +26313,7 @@ var sceneMonitorCapability = {
|
|
|
26030
26313
|
kind: "mutation",
|
|
26031
26314
|
auth: "admin"
|
|
26032
26315
|
}),
|
|
26316
|
+
/** Capture a reference image of the region for one of the monitor's states. */
|
|
26033
26317
|
captureReference: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26034
26318
|
deviceId: /* @__PURE__ */ z.number(),
|
|
26035
26319
|
monitorId: /* @__PURE__ */ z.string(),
|
|
@@ -26043,6 +26327,7 @@ var sceneMonitorCapability = {
|
|
|
26043
26327
|
kind: "mutation",
|
|
26044
26328
|
auth: "admin"
|
|
26045
26329
|
}),
|
|
26330
|
+
/** Delete one reference image of a state. */
|
|
26046
26331
|
deleteReference: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26047
26332
|
deviceId: /* @__PURE__ */ z.number(),
|
|
26048
26333
|
monitorId: /* @__PURE__ */ z.string(),
|
|
@@ -26052,6 +26337,7 @@ var sceneMonitorCapability = {
|
|
|
26052
26337
|
kind: "mutation",
|
|
26053
26338
|
auth: "admin"
|
|
26054
26339
|
}),
|
|
26340
|
+
/** Re-evaluate a scene monitor immediately. */
|
|
26055
26341
|
recheckNow: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26056
26342
|
deviceId: /* @__PURE__ */ z.number(),
|
|
26057
26343
|
monitorId: /* @__PURE__ */ z.string()
|
|
@@ -26142,8 +26428,11 @@ var schedulersCapability = {
|
|
|
26142
26428
|
scope: "system",
|
|
26143
26429
|
mode: "singleton",
|
|
26144
26430
|
methods: {
|
|
26431
|
+
/** List the schedulers. */
|
|
26145
26432
|
list: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(SchedulerSchema), { auth: "admin" }),
|
|
26433
|
+
/** Fetch one scheduler by id; null when absent. */
|
|
26146
26434
|
get: /* @__PURE__ */ method(SchedulerIdInput, /* @__PURE__ */ z.object({ scheduler: /* @__PURE__ */ SchedulerSchema.nullable() }), { auth: "admin" }),
|
|
26435
|
+
/** Create or replace a scheduler. */
|
|
26147
26436
|
create: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ scheduler: SchedulerInputSchema }), /* @__PURE__ */ z.object({ scheduler: SchedulerSchema }), {
|
|
26148
26437
|
kind: "mutation",
|
|
26149
26438
|
auth: "admin"
|
|
@@ -26156,6 +26445,7 @@ var schedulersCapability = {
|
|
|
26156
26445
|
kind: "mutation",
|
|
26157
26446
|
auth: "admin"
|
|
26158
26447
|
}),
|
|
26448
|
+
/** Delete a scheduler. */
|
|
26159
26449
|
delete: /* @__PURE__ */ method(SchedulerIdInput, /* @__PURE__ */ z.void(), {
|
|
26160
26450
|
kind: "mutation",
|
|
26161
26451
|
auth: "admin"
|
|
@@ -26191,6 +26481,7 @@ var schedulersCapability = {
|
|
|
26191
26481
|
}), /* @__PURE__ */ z.object({ conflicts: /* @__PURE__ */ z.array(SchedulerConflictSchema) }), { auth: "admin" }),
|
|
26192
26482
|
/** Where each scheduler's current hold stands. */
|
|
26193
26483
|
getStatus: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(SchedulerStatusSchema), { auth: "admin" }),
|
|
26484
|
+
/** The recent run traces of a scheduler. */
|
|
26194
26485
|
getTraces: /* @__PURE__ */ method(SchedulerIdInput, /* @__PURE__ */ z.object({ traces: /* @__PURE__ */ z.array(AutomationRunTraceSchema) }), { auth: "admin" })
|
|
26195
26486
|
},
|
|
26196
26487
|
vocabulary: { notOperatorFacing: "time schedulers — authored on their own page, not device actions" }
|
|
@@ -26227,6 +26518,7 @@ var scriptRunnerCapability = {
|
|
|
26227
26518
|
mode: "singleton",
|
|
26228
26519
|
deviceTypes: [DeviceType.Script],
|
|
26229
26520
|
methods: {
|
|
26521
|
+
/** Run the script, optionally with variables. */
|
|
26230
26522
|
run: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26231
26523
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
26232
26524
|
/** Optional variables map — passed through to the upstream
|
|
@@ -26770,11 +27062,14 @@ var serverManagementCapability = {
|
|
|
26770
27062
|
scope: "system",
|
|
26771
27063
|
mode: "singleton",
|
|
26772
27064
|
methods: {
|
|
27065
|
+
/** The node's running and installed server version and its update state. */
|
|
26773
27066
|
getServerPackageStatus: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ServerPackageStatusSchema, { auth: "admin" }),
|
|
27067
|
+
/** Check the registry for a newer server version for this node. */
|
|
26774
27068
|
checkServerUpdate: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ServerUpdateCheckResultSchema, {
|
|
26775
27069
|
kind: "mutation",
|
|
26776
27070
|
auth: "admin"
|
|
26777
27071
|
}),
|
|
27072
|
+
/** Install a server version (latest when none is given) on this node and restart it. */
|
|
26778
27073
|
applyServerUpdate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
26779
27074
|
/** Explicit target version; omitted = latest from the registry. */
|
|
26780
27075
|
version: /* @__PURE__ */ z.string().optional(),
|
|
@@ -26802,6 +27097,7 @@ var serverManagementCapability = {
|
|
|
26802
27097
|
kind: "mutation",
|
|
26803
27098
|
auth: "admin"
|
|
26804
27099
|
}),
|
|
27100
|
+
/** Return this node to its previously installed server version. */
|
|
26805
27101
|
rollbackServerUpdate: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ServerUpdateActionResultSchema, {
|
|
26806
27102
|
kind: "mutation",
|
|
26807
27103
|
auth: "admin"
|
|
@@ -27130,6 +27426,7 @@ var smtpProviderCapability = {
|
|
|
27130
27426
|
internal: true,
|
|
27131
27427
|
providerKind: "email",
|
|
27132
27428
|
methods: {
|
|
27429
|
+
/** Send an email through this relay. */
|
|
27133
27430
|
sendEmail: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
27134
27431
|
instanceId: InstanceIdSchema,
|
|
27135
27432
|
to: /* @__PURE__ */ z.union([EmailAddressSchema, /* @__PURE__ */ z.array(EmailAddressSchema).min(1)]),
|
|
@@ -27161,6 +27458,7 @@ var smtpProviderCapability = {
|
|
|
27161
27458
|
auth: "admin",
|
|
27162
27459
|
access: "create"
|
|
27163
27460
|
}),
|
|
27461
|
+
/** The status of one SMTP relay. */
|
|
27164
27462
|
getStatus: /* @__PURE__ */ method(RelayPinSchema, /* @__PURE__ */ z.object({
|
|
27165
27463
|
/** True iff the addon has successfully verified the relay. */
|
|
27166
27464
|
ready: /* @__PURE__ */ z.boolean(),
|
|
@@ -27339,7 +27637,9 @@ var streamParamsCapability = {
|
|
|
27339
27637
|
tab: "streaming"
|
|
27340
27638
|
} },
|
|
27341
27639
|
methods: {
|
|
27640
|
+
/** The camera's stream profiles and their encoding options. */
|
|
27342
27641
|
getOptions: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), StreamParamsOptionsSchema),
|
|
27642
|
+
/** Change the encoding settings of one stream profile. */
|
|
27343
27643
|
setProfile: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
27344
27644
|
deviceId: /* @__PURE__ */ z.number(),
|
|
27345
27645
|
profile: StreamProfileSchema,
|
|
@@ -27569,6 +27869,7 @@ var switchCapability = {
|
|
|
27569
27869
|
DeviceType.Fan
|
|
27570
27870
|
],
|
|
27571
27871
|
methods: {
|
|
27872
|
+
/** Turn the switch on or off. */
|
|
27572
27873
|
setState: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
27573
27874
|
deviceId: /* @__PURE__ */ z.number(),
|
|
27574
27875
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -27599,12 +27900,15 @@ var switchCapability = {
|
|
|
27599
27900
|
offeredWhen: SWITCH_SETTABLE_GATE
|
|
27600
27901
|
}]
|
|
27601
27902
|
}),
|
|
27903
|
+
/** The options the switch supports. */
|
|
27602
27904
|
getOptions: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), SwitchOptionsSchema, { auth: "protected" }),
|
|
27905
|
+
/** Power-cycle the device the switch powers. */
|
|
27603
27906
|
powerCycle: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ z.void(), {
|
|
27604
27907
|
kind: "mutation",
|
|
27605
27908
|
auth: "protected",
|
|
27606
27909
|
notOperatorFacing: "a power cycle is the forced restart of the device the switch powers (power-source), never a step of its own"
|
|
27607
27910
|
}),
|
|
27911
|
+
/** Flip the switch to the opposite state. */
|
|
27608
27912
|
toggle: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number() }), /* @__PURE__ */ z.void(), {
|
|
27609
27913
|
kind: "mutation",
|
|
27610
27914
|
auth: "protected",
|
|
@@ -28410,15 +28714,22 @@ var systemCapability = {
|
|
|
28410
28714
|
scope: "system",
|
|
28411
28715
|
mode: "singleton",
|
|
28412
28716
|
methods: {
|
|
28717
|
+
/** Basic information about the system (version, platform, uptime). */
|
|
28413
28718
|
info: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), SystemInfoSchema),
|
|
28719
|
+
/** The overall health status of the system. */
|
|
28414
28720
|
health: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), HealthStatusSchema),
|
|
28721
|
+
/** Which features are enabled in this installation. */
|
|
28415
28722
|
featureFlags: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), FeatureManifestSchema),
|
|
28723
|
+
/** The network addresses of this hub's interfaces. */
|
|
28416
28724
|
networkAddresses: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(NetworkAddressSchema).readonly()),
|
|
28725
|
+
/** The analytics data retention settings. */
|
|
28417
28726
|
getRetentionConfig: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.unknown().nullable(), { auth: "admin" }),
|
|
28727
|
+
/** Change the analytics data retention settings. */
|
|
28418
28728
|
setRetentionConfig: /* @__PURE__ */ method(/* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()), /* @__PURE__ */ z.null(), {
|
|
28419
28729
|
kind: "mutation",
|
|
28420
28730
|
auth: "admin"
|
|
28421
28731
|
}),
|
|
28732
|
+
/** Run the retention cleanup now instead of waiting for the schedule. */
|
|
28422
28733
|
forceRetentionCleanup: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.void(), {
|
|
28423
28734
|
kind: "mutation",
|
|
28424
28735
|
auth: "admin"
|
|
@@ -29538,8 +29849,11 @@ var templateCapability = {
|
|
|
29538
29849
|
scope: "system",
|
|
29539
29850
|
mode: "collection",
|
|
29540
29851
|
methods: {
|
|
29852
|
+
/** List the stored templates, optionally of one kind. */
|
|
29541
29853
|
list: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ kind: /* @__PURE__ */ TemplateKindSchema.optional() }), /* @__PURE__ */ z.array(TemplateRecordSchema), { auth: "protected" }),
|
|
29854
|
+
/** Fetch one template by id; null when absent. */
|
|
29542
29855
|
get: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ id: /* @__PURE__ */ z.string().min(1) }), /* @__PURE__ */ TemplateRecordSchema.nullable(), { auth: "protected" }),
|
|
29856
|
+
/** Create a template of a given kind with a name and payload. */
|
|
29543
29857
|
create: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
29544
29858
|
kind: TemplateKindSchema,
|
|
29545
29859
|
name: /* @__PURE__ */ z.string().min(1).max(120),
|
|
@@ -29549,6 +29863,7 @@ var templateCapability = {
|
|
|
29549
29863
|
kind: "mutation",
|
|
29550
29864
|
auth: "admin"
|
|
29551
29865
|
}),
|
|
29866
|
+
/** Change a template's name, payload or tags. */
|
|
29552
29867
|
update: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
29553
29868
|
id: /* @__PURE__ */ z.string().min(1),
|
|
29554
29869
|
name: /* @__PURE__ */ z.string().min(1).max(120).optional(),
|
|
@@ -29558,6 +29873,7 @@ var templateCapability = {
|
|
|
29558
29873
|
kind: "mutation",
|
|
29559
29874
|
auth: "admin"
|
|
29560
29875
|
}),
|
|
29876
|
+
/** Delete a template. */
|
|
29561
29877
|
delete: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ id: /* @__PURE__ */ z.string().min(1) }), TemplateDeleteResultSchema, {
|
|
29562
29878
|
kind: "mutation",
|
|
29563
29879
|
auth: "admin"
|
|
@@ -29759,7 +30075,9 @@ var toastCapability = {
|
|
|
29759
30075
|
name: "toast",
|
|
29760
30076
|
scope: "system",
|
|
29761
30077
|
mode: "singleton",
|
|
29762
|
-
methods: {
|
|
30078
|
+
methods: {
|
|
30079
|
+
/** Stream toast notifications from the hub to the admin UI. */
|
|
30080
|
+
onToast: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), ToastSchema, { kind: "subscription" }) },
|
|
29763
30081
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/server/system` `buildCapRouters`. */
|
|
29764
30082
|
mount: { kind: "server-provided" },
|
|
29765
30083
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.UI_PLUMBING }
|
|
@@ -29979,6 +30297,7 @@ var trainingProviderCapability = {
|
|
|
29979
30297
|
auth: "admin",
|
|
29980
30298
|
timeoutMs: 30 * 6e4
|
|
29981
30299
|
}),
|
|
30300
|
+
/** The status of a training job on the cloud provider. */
|
|
29982
30301
|
getJob: /* @__PURE__ */ method(/* @__PURE__ */ z.object(JobRef), ProviderJobStatusSchema, {
|
|
29983
30302
|
auth: "admin",
|
|
29984
30303
|
timeoutMs: 6e4
|
|
@@ -30282,6 +30601,7 @@ var trainingCapability = {
|
|
|
30282
30601
|
mode: "singleton",
|
|
30283
30602
|
mount: { kind: "hub-only" },
|
|
30284
30603
|
methods: {
|
|
30604
|
+
/** List the base models a training job can start from. */
|
|
30285
30605
|
listBaseModels: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(TrainingBaseModelSchema).readonly(), { auth: "admin" }),
|
|
30286
30606
|
/** Split, estimate, defaults and any named refusal — nothing is started. */
|
|
30287
30607
|
planJob: /* @__PURE__ */ method(TrainingJobRequestSchema, TrainingJobPlanSchema, {
|
|
@@ -30336,8 +30656,11 @@ var trainingCapability = {
|
|
|
30336
30656
|
auth: "admin",
|
|
30337
30657
|
timeoutMs: 12e4
|
|
30338
30658
|
}),
|
|
30659
|
+
/** List the training jobs. */
|
|
30339
30660
|
listJobs: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.array(TrainingJobSchema).readonly(), { auth: "admin" }),
|
|
30661
|
+
/** Fetch one training job; null when unknown. */
|
|
30340
30662
|
getJob: /* @__PURE__ */ method(IdInput, /* @__PURE__ */ TrainingJobSchema.nullable(), { auth: "admin" }),
|
|
30663
|
+
/** Cancel a training job. */
|
|
30341
30664
|
cancelJob: /* @__PURE__ */ method(IdInput, TrainingJobSchema, {
|
|
30342
30665
|
kind: "mutation",
|
|
30343
30666
|
auth: "admin",
|
|
@@ -30440,7 +30763,9 @@ var updateCapability = {
|
|
|
30440
30763
|
deviceNative: true,
|
|
30441
30764
|
mode: "singleton",
|
|
30442
30765
|
deviceTypes: [DeviceType.Update],
|
|
30443
|
-
methods: {
|
|
30766
|
+
methods: {
|
|
30767
|
+
/** Install the available update. */
|
|
30768
|
+
installUpdate: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.void(), {
|
|
30444
30769
|
kind: "mutation",
|
|
30445
30770
|
auth: "admin",
|
|
30446
30771
|
actions: [{
|
|
@@ -30554,6 +30879,7 @@ var userPasskeysCapability = {
|
|
|
30554
30879
|
mode: "collection",
|
|
30555
30880
|
internal: true,
|
|
30556
30881
|
methods: {
|
|
30882
|
+
/** Start enrolling a passkey for a user and return the WebAuthn creation options for the browser. */
|
|
30557
30883
|
beginRegistration: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30558
30884
|
userId: /* @__PURE__ */ z.string(),
|
|
30559
30885
|
username: /* @__PURE__ */ z.string()
|
|
@@ -30562,6 +30888,7 @@ var userPasskeysCapability = {
|
|
|
30562
30888
|
auth: "admin",
|
|
30563
30889
|
access: "create"
|
|
30564
30890
|
}),
|
|
30891
|
+
/** Verify the browser's registration response and store the new passkey under a label. */
|
|
30565
30892
|
finishRegistration: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30566
30893
|
userId: /* @__PURE__ */ z.string(),
|
|
30567
30894
|
/** RegistrationResponseJSON from the browser. */
|
|
@@ -30599,6 +30926,7 @@ var userPasskeysCapability = {
|
|
|
30599
30926
|
access: "view",
|
|
30600
30927
|
auth: "admin"
|
|
30601
30928
|
}),
|
|
30929
|
+
/** Verify a passkey sign-in assertion for a known user. */
|
|
30602
30930
|
finishAuthentication: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30603
30931
|
/** Required — the user the assertion belongs to (verified). */
|
|
30604
30932
|
userId: /* @__PURE__ */ z.string(),
|
|
@@ -30609,11 +30937,13 @@ var userPasskeysCapability = {
|
|
|
30609
30937
|
access: "view",
|
|
30610
30938
|
auth: "admin"
|
|
30611
30939
|
}),
|
|
30940
|
+
/** Start a passkey sign-in without naming the user and return the WebAuthn request options. */
|
|
30612
30941
|
beginDiscoverableAuthentication: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.object({ optionsJSON: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()) }), {
|
|
30613
30942
|
kind: "mutation",
|
|
30614
30943
|
access: "view",
|
|
30615
30944
|
auth: "admin"
|
|
30616
30945
|
}),
|
|
30946
|
+
/** Verify a discoverable passkey assertion and identify the user who owns the credential. */
|
|
30617
30947
|
finishDiscoverableAuthentication: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30618
30948
|
/** AuthenticationResponseJSON from the browser. */
|
|
30619
30949
|
response: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()) }), /* @__PURE__ */ z.object({
|
|
@@ -30624,7 +30954,9 @@ response: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z
|
|
|
30624
30954
|
access: "view",
|
|
30625
30955
|
auth: "admin"
|
|
30626
30956
|
}),
|
|
30957
|
+
/** List the passkeys enrolled by a user. */
|
|
30627
30958
|
listPasskeys: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ userId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.array(PasskeySummarySchema), { auth: "admin" }),
|
|
30959
|
+
/** Remove one enrolled passkey from a user. */
|
|
30628
30960
|
removePasskey: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30629
30961
|
userId: /* @__PURE__ */ z.string(),
|
|
30630
30962
|
credentialId: /* @__PURE__ */ z.string()
|
|
@@ -30633,7 +30965,9 @@ response: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z
|
|
|
30633
30965
|
auth: "admin",
|
|
30634
30966
|
access: "delete"
|
|
30635
30967
|
}),
|
|
30968
|
+
/** Whether a user requires a second factor at sign-in. */
|
|
30636
30969
|
getSecondFactorPreference: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ userId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ z.object({ enabled: /* @__PURE__ */ z.boolean() }), { auth: "admin" }),
|
|
30970
|
+
/** Turn the second-factor requirement on or off for a user. */
|
|
30637
30971
|
setSecondFactorPreference: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30638
30972
|
userId: /* @__PURE__ */ z.string(),
|
|
30639
30973
|
enabled: /* @__PURE__ */ z.boolean()
|
|
@@ -30703,6 +31037,7 @@ var vacuumControlCapability = {
|
|
|
30703
31037
|
mode: "singleton",
|
|
30704
31038
|
deviceTypes: [DeviceType.Vacuum],
|
|
30705
31039
|
methods: {
|
|
31040
|
+
/** Start a cleaning run. */
|
|
30706
31041
|
start: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30707
31042
|
kind: "mutation",
|
|
30708
31043
|
auth: "protected",
|
|
@@ -30713,6 +31048,7 @@ var vacuumControlCapability = {
|
|
|
30713
31048
|
icon: "play"
|
|
30714
31049
|
}]
|
|
30715
31050
|
}),
|
|
31051
|
+
/** Pause the cleaning run. */
|
|
30716
31052
|
pause: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30717
31053
|
kind: "mutation",
|
|
30718
31054
|
auth: "protected",
|
|
@@ -30723,6 +31059,7 @@ var vacuumControlCapability = {
|
|
|
30723
31059
|
icon: "pause"
|
|
30724
31060
|
}]
|
|
30725
31061
|
}),
|
|
31062
|
+
/** Stop the cleaning run. */
|
|
30726
31063
|
stop: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30727
31064
|
kind: "mutation",
|
|
30728
31065
|
auth: "protected",
|
|
@@ -30733,6 +31070,7 @@ var vacuumControlCapability = {
|
|
|
30733
31070
|
icon: "square"
|
|
30734
31071
|
}]
|
|
30735
31072
|
}),
|
|
31073
|
+
/** Send the vacuum back to its dock. */
|
|
30736
31074
|
returnToBase: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30737
31075
|
kind: "mutation",
|
|
30738
31076
|
auth: "protected",
|
|
@@ -30743,6 +31081,7 @@ var vacuumControlCapability = {
|
|
|
30743
31081
|
icon: "house"
|
|
30744
31082
|
}]
|
|
30745
31083
|
}),
|
|
31084
|
+
/** Make the vacuum beep so it can be found. */
|
|
30746
31085
|
locate: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30747
31086
|
kind: "mutation",
|
|
30748
31087
|
auth: "protected",
|
|
@@ -30753,6 +31092,7 @@ var vacuumControlCapability = {
|
|
|
30753
31092
|
icon: "map-pin"
|
|
30754
31093
|
}]
|
|
30755
31094
|
}),
|
|
31095
|
+
/** Set the suction (fan speed) level. */
|
|
30756
31096
|
setFanSpeed: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
30757
31097
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
30758
31098
|
speed: /* @__PURE__ */ z.string().min(1)
|
|
@@ -30895,6 +31235,7 @@ var valveCapability = {
|
|
|
30895
31235
|
mode: "singleton",
|
|
30896
31236
|
deviceTypes: [DeviceType.Valve],
|
|
30897
31237
|
methods: {
|
|
31238
|
+
/** Open the valve. */
|
|
30898
31239
|
open: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30899
31240
|
kind: "mutation",
|
|
30900
31241
|
auth: "protected",
|
|
@@ -30909,6 +31250,7 @@ var valveCapability = {
|
|
|
30909
31250
|
}
|
|
30910
31251
|
}]
|
|
30911
31252
|
}),
|
|
31253
|
+
/** Close the valve. */
|
|
30912
31254
|
close: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30913
31255
|
kind: "mutation",
|
|
30914
31256
|
auth: "protected",
|
|
@@ -30923,6 +31265,7 @@ var valveCapability = {
|
|
|
30923
31265
|
}
|
|
30924
31266
|
}]
|
|
30925
31267
|
}),
|
|
31268
|
+
/** Stop the valve where it is. */
|
|
30926
31269
|
stop: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), /* @__PURE__ */ z.void(), {
|
|
30927
31270
|
kind: "mutation",
|
|
30928
31271
|
auth: "protected",
|
|
@@ -30933,6 +31276,7 @@ var valveCapability = {
|
|
|
30933
31276
|
icon: "square"
|
|
30934
31277
|
}]
|
|
30935
31278
|
}),
|
|
31279
|
+
/** Set the valve opening from 0 to 100. */
|
|
30936
31280
|
setPosition: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({
|
|
30937
31281
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
30938
31282
|
position: /* @__PURE__ */ z.number().min(0).max(100)
|
|
@@ -31114,6 +31458,7 @@ var viewerUiCapability = {
|
|
|
31114
31458
|
* user from loading the app.
|
|
31115
31459
|
*/
|
|
31116
31460
|
getStaticDir: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), StaticDirOutputSchema, { auth: "admin" }),
|
|
31461
|
+
/** The version of the viewer web build served by the hub. */
|
|
31117
31462
|
getVersion: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), VersionOutputSchema, { auth: "admin" })
|
|
31118
31463
|
},
|
|
31119
31464
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.UI_PLUMBING }
|
|
@@ -31174,6 +31519,7 @@ var waterHeaterCapability = {
|
|
|
31174
31519
|
lastField: "lastActiveMode"
|
|
31175
31520
|
},
|
|
31176
31521
|
methods: {
|
|
31522
|
+
/** Set the water heater operation mode. */
|
|
31177
31523
|
setOperationMode: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
31178
31524
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
31179
31525
|
mode: /* @__PURE__ */ z.string().min(1)
|
|
@@ -31210,6 +31556,7 @@ var waterHeaterCapability = {
|
|
|
31210
31556
|
}]
|
|
31211
31557
|
}]
|
|
31212
31558
|
}),
|
|
31559
|
+
/** Turn away mode on or off. */
|
|
31213
31560
|
setAway: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
31214
31561
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
31215
31562
|
on: /* @__PURE__ */ z.boolean()
|
|
@@ -31238,6 +31585,7 @@ var waterHeaterCapability = {
|
|
|
31238
31585
|
args: { on: false }
|
|
31239
31586
|
}]
|
|
31240
31587
|
}),
|
|
31588
|
+
/** Set the target water temperature. */
|
|
31241
31589
|
setTargetTemp: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
31242
31590
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
31243
31591
|
temp: /* @__PURE__ */ z.number().finite()
|
|
@@ -32166,6 +32514,7 @@ var webrtcSessionCapability = {
|
|
|
32166
32514
|
kind: "mutation",
|
|
32167
32515
|
notOperatorFacing: "live-stream session plumbing driven by a viewer, never a discrete step"
|
|
32168
32516
|
}),
|
|
32517
|
+
/** Pass the viewer's SDP answer to an open WebRTC session. */
|
|
32169
32518
|
handleAnswer: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
32170
32519
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
32171
32520
|
sessionId: /* @__PURE__ */ z.string(),
|
|
@@ -32209,6 +32558,7 @@ var webrtcSessionCapability = {
|
|
|
32209
32558
|
})),
|
|
32210
32559
|
done: /* @__PURE__ */ z.boolean()
|
|
32211
32560
|
}), { kind: "query" }),
|
|
32561
|
+
/** Close a WebRTC session. */
|
|
32212
32562
|
closeSession: /* @__PURE__ */ method(/* @__PURE__ */ z.object({
|
|
32213
32563
|
deviceId: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
32214
32564
|
sessionId: /* @__PURE__ */ z.string()
|
|
@@ -32458,6 +32808,7 @@ var workloadCapability = {
|
|
|
32458
32808
|
off: "stop"
|
|
32459
32809
|
},
|
|
32460
32810
|
methods: {
|
|
32811
|
+
/** Start the workload (VM, container or app). */
|
|
32461
32812
|
start: /* @__PURE__ */ optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ z.void(), {
|
|
32462
32813
|
kind: "mutation",
|
|
32463
32814
|
auth: "protected",
|
|
@@ -32472,6 +32823,7 @@ var workloadCapability = {
|
|
|
32472
32823
|
}
|
|
32473
32824
|
}]
|
|
32474
32825
|
}),
|
|
32826
|
+
/** Stop the workload gracefully. */
|
|
32475
32827
|
stop: /* @__PURE__ */ optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ z.void(), {
|
|
32476
32828
|
kind: "mutation",
|
|
32477
32829
|
auth: "protected",
|
|
@@ -32486,6 +32838,7 @@ var workloadCapability = {
|
|
|
32486
32838
|
}
|
|
32487
32839
|
}]
|
|
32488
32840
|
}),
|
|
32841
|
+
/** Restart the workload. */
|
|
32489
32842
|
restart: /* @__PURE__ */ optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ z.void(), {
|
|
32490
32843
|
kind: "mutation",
|
|
32491
32844
|
auth: "protected",
|
|
@@ -32496,6 +32849,7 @@ var workloadCapability = {
|
|
|
32496
32849
|
icon: "rotate-ccw"
|
|
32497
32850
|
}]
|
|
32498
32851
|
}),
|
|
32852
|
+
/** Pause the workload. */
|
|
32499
32853
|
pause: /* @__PURE__ */ optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ z.void(), {
|
|
32500
32854
|
kind: "mutation",
|
|
32501
32855
|
auth: "protected",
|
|
@@ -32510,6 +32864,7 @@ var workloadCapability = {
|
|
|
32510
32864
|
}
|
|
32511
32865
|
}]
|
|
32512
32866
|
}),
|
|
32867
|
+
/** Resume a paused workload. */
|
|
32513
32868
|
resume: /* @__PURE__ */ optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ z.void(), {
|
|
32514
32869
|
kind: "mutation",
|
|
32515
32870
|
auth: "protected",
|
|
@@ -32524,6 +32879,7 @@ var workloadCapability = {
|
|
|
32524
32879
|
}
|
|
32525
32880
|
}]
|
|
32526
32881
|
}),
|
|
32882
|
+
/** Stop the workload immediately without a graceful shutdown. */
|
|
32527
32883
|
forceStop: /* @__PURE__ */ optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ z.void(), {
|
|
32528
32884
|
kind: "mutation",
|
|
32529
32885
|
auth: "admin",
|