@camstack/server 1.2.941 → 1.2.943
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 +20 -0
- package/dist/api/trpc/generated-cap-mounts.js +19 -1
- package/dist/api/trpc/generated-cap-routers.js +676 -596
- package/package.json +13 -11
- package/system/dist/action-index-B1fgpQBt.mjs +9925 -0
- package/system/dist/action-index-B_cLRwXJ.js +9972 -0
- package/system/dist/alert-episode-Be--PngO.mjs +64 -0
- package/system/dist/alert-episode-Bqktmt-i.js +93 -0
- package/system/dist/{base-addon-Md14i7pe.mjs → base-addon-BcS6r1cT.mjs} +20 -7
- package/system/dist/{base-addon-DD5dIfcZ.js → base-addon-CRsXtYFG.js} +20 -7
- package/system/dist/{base-device-CH8rfD9j.js → base-device-DAdWzDOl.js} +138 -34
- package/system/dist/{base-device-BcGO6LTT.mjs → base-device-DJXF5eDN.mjs} +138 -34
- 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/alert-episode-policy.d.ts +9 -5
- package/system/dist/builtins/alerts/alerts.addon.js +30 -80
- package/system/dist/builtins/alerts/alerts.addon.mjs +18 -68
- package/system/dist/builtins/autotrack/index.js +2 -2
- package/system/dist/builtins/autotrack/index.mjs +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- 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 +9 -9
- package/system/dist/builtins/camera-grid/index.mjs +6 -6
- package/system/dist/builtins/composer/composer.addon.js +99 -99
- package/system/dist/builtins/composer/composer.addon.mjs +11 -11
- 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/automation-template-instances.d.ts +14 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +6 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +296 -193
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +237 -134
- package/system/dist/builtins/core-blocks/link-contributions.d.ts +2 -0
- package/system/dist/builtins/core-notifier/core-notifier.addon.js +91 -18
- package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +91 -18
- package/system/dist/builtins/core-notifier/group-notification-output.d.ts +8 -16
- package/system/dist/builtins/device-history/device-history.addon.d.ts +8 -0
- package/system/dist/builtins/device-history/device-history.addon.js +580 -60
- package/system/dist/builtins/device-history/device-history.addon.mjs +569 -49
- package/system/dist/builtins/device-history/retention/device-raw-overrides.d.ts +16 -0
- package/system/dist/builtins/device-history/retention/retention-knobs.d.ts +14 -0
- package/system/dist/builtins/device-history/retention/retention.d.ts +21 -1
- package/system/dist/builtins/device-history/transitions/change-coalescing.d.ts +48 -0
- package/system/dist/builtins/device-history/transitions/derived-changes.d.ts +49 -0
- package/system/dist/builtins/device-history/transitions/history-change-port.d.ts +20 -0
- package/system/dist/builtins/device-history/transitions/transitions-service.d.ts +18 -3
- package/system/dist/builtins/device-manager/device-config-secrets.d.ts +14 -0
- package/system/dist/builtins/device-manager/device-identity-index.d.ts +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +226 -479
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +218 -471
- package/system/dist/builtins/device-manager/device-state-mirror.d.ts +0 -5
- package/system/dist/builtins/device-manager/identity-link-reconciler.d.ts +5 -0
- package/system/dist/builtins/device-manager/transitions/command-recorder.d.ts +38 -0
- package/system/dist/builtins/device-manager/transitions/transitions-wiring.d.ts +8 -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 +2 -2
- package/system/dist/builtins/keychain/index.mjs +2 -2
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +2 -2
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/address-book.d.ts +3 -1
- package/system/dist/builtins/local-network/local-network.addon.d.ts +26 -1
- package/system/dist/builtins/local-network/local-network.addon.js +66 -11
- package/system/dist/builtins/local-network/local-network.addon.mjs +66 -11
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- 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/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +4 -4
- package/system/dist/builtins/snapshot/index.mjs +4 -4
- 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-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +1 -1
- package/system/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-CUZ3W0oZ.mjs → capture-engine-B2MmoNND.mjs} +1 -1
- package/system/dist/{capture-engine-mtDXEBAq.js → capture-engine-D_1IJmMs.js} +1 -1
- package/system/dist/command-catalog-C29hVOOg.js +210 -0
- package/system/dist/command-catalog-xAeqxbZk.mjs +169 -0
- package/system/dist/{error.cap-DCwbIGEF.mjs → compile-OBMHlqD-.mjs} +97 -100
- package/system/dist/{error.cap-BxLEHP6z.js → compile-SpeAhaZ6.js} +107 -116
- package/system/dist/{composition-sources-B56CU8hi.mjs → composition-sources-C327LGFn.mjs} +2 -2
- package/system/dist/{composition-sources-D_Bfwji0.js → composition-sources-Do5qM6EB.js} +17 -17
- package/system/dist/{core-blocks.cap-xt5_fK5Z.js → core-blocks.cap-CdTGUKtr.js} +194 -10110
- package/system/dist/{core-blocks.cap-DDECcMeI.mjs → core-blocks.cap-DLkEfV5b.mjs} +54 -9910
- package/system/dist/{device-kind-BJ2pfsjw.mjs → device-kind-C37Ra2wd.mjs} +4 -2
- package/system/dist/{device-kind-CsSiv_YF.js → device-kind-FMhJg8uC.js} +4 -2
- package/system/dist/{device-manager.cap-DyHOIh5T.js → device-manager.cap-DJs8izI6.js} +13 -4
- package/system/dist/{device-manager.cap-DIBK62-r.mjs → device-manager.cap-eYrj1Ezp.mjs} +13 -4
- package/system/dist/{device-provider.cap-BKUGJSo0.js → device-provider.cap-CNlYBQ5D.js} +1 -1
- package/system/dist/{device-provider.cap-DU6HMUXH.mjs → device-provider.cap-D8mJllVM.mjs} +1 -1
- package/system/dist/{device-row-store-O4mNbp5q.js → device-row-store-C0P2H18h.js} +2 -2
- package/system/dist/{device-row-store-C-_R-h1Z.mjs → device-row-store-CTocYKqC.mjs} +2 -2
- package/system/dist/{device-type-CbQsnFdC.js → device-type-Cnc0NiSX.js} +13 -0
- package/system/dist/{device-type-DgEvK3ch.mjs → device-type-TUGqGmaI.mjs} +13 -0
- package/system/dist/error.cap-BuKbL3Ac.js +125 -0
- package/system/dist/error.cap-CU1FB6uE.mjs +102 -0
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{history-catalog-BwTeQ4Mr.mjs → history-catalog-A_dzXNpv.mjs} +98 -3
- package/system/dist/{history-catalog-BKRarIL_.js → history-catalog-CiTMP3-E.js} +98 -3
- package/system/dist/index.js +28 -6
- package/system/dist/index.mjs +28 -6
- package/system/dist/kernel/addon-version-policy.d.ts +10 -0
- package/system/dist/{legacy-integration-rows-door-B1nzxxr5.js → legacy-integration-rows-door-CdqYAj-o.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-nTvo_6jQ.mjs → legacy-integration-rows-door-LSgpClpX.mjs} +1 -1
- package/system/dist/{low-power-sleep.cap-B6mz6ojP.js → low-power-sleep.cap-BJWyAuUQ.js} +1 -1
- package/system/dist/{low-power-sleep.cap-C3Vi8Vxj.mjs → low-power-sleep.cap-D9Orx3LS.mjs} +1 -1
- package/system/dist/migrations/hub/2026-11-22-device-transitions-commands-only.d.ts +10 -0
- package/system/dist/{network-access.cap-BEN_uRVb.js → network-access.cap-CTQ2WQoi.js} +38 -12
- package/system/dist/{network-access.cap-Dy8FNNVs.mjs → network-access.cap-Dx5K0I5i.mjs} +33 -13
- package/system/dist/{notification-rules.cap-Drwz-A4n.js → notification-rules.cap-BJKUjizS.js} +45 -9
- package/system/dist/{notification-rules.cap-0vVvsxQ1.mjs → notification-rules.cap-BUIuYPlQ.mjs} +45 -9
- package/system/dist/{notification-targets-DR-D-vIt.mjs → notification-targets-4bGYH5J7.mjs} +2 -2
- package/system/dist/{notification-targets-Cc_3OBH9.js → notification-targets-DMW7xgR2.js} +2 -2
- package/system/dist/{prefix-walk-CCO_VZVo.js → prefix-walk-BFnw8NBu.js} +5 -5
- package/system/dist/{prefix-walk-BhT0ZoKl.mjs → prefix-walk-Mtij0NNT.mjs} +2 -2
- package/system/dist/{ptz-autotrack.cap-DOz0xL0O.js → ptz-autotrack.cap-B9eyZU8w.js} +1 -1
- package/system/dist/{ptz-autotrack.cap-CDF6FeTK.mjs → ptz-autotrack.cap-Dw2k-po9.mjs} +1 -1
- package/system/dist/{recording-archive.cap-RHAN45fa.mjs → recording-archive.cap-CTlm86R8.mjs} +1 -1
- package/system/dist/{recording-archive.cap-BPJ7kvnd.js → recording-archive.cap-Wo-hEZhz.js} +1 -1
- package/system/dist/{rename-composition-block-DWUkrazx.mjs → rename-composition-block-Cdh-dRmY.mjs} +395 -20
- package/system/dist/{rename-composition-block-CH2vRIW7.js → rename-composition-block-D9Uc1AF7.js} +406 -31
- package/system/dist/{retention-CUOVI1p7.mjs → retention-CQs8QR1B.mjs} +33 -3
- package/system/dist/{device-transitions.cap-DCXP3zwY.mjs → retention-source.cap-550kkyp5.mjs} +98 -21
- package/system/dist/{device-transitions.cap-zOGvAIHz.js → retention-source.cap-C6Hy0hlM.js} +103 -20
- package/system/dist/{retention-BcOSL6b9.js → retention-xcjk_k1w.js} +33 -3
- package/system/dist/{snapshot.cap-Cis6JRwn.js → snapshot.cap-CHm29hBs.js} +1 -1
- package/system/dist/{snapshot.cap-BkfHpJVO.mjs → snapshot.cap-CO68YvJU.mjs} +1 -1
- package/system/dist/{stream-catalog.cap-D8Y-uXcy.js → stream-catalog.cap-CjEQFknc.js} +2 -2
- package/system/dist/{stream-catalog.cap-D1Hy19Yc.mjs → stream-catalog.cap-DVniDdRD.mjs} +2 -2
- package/system/dist/{user-management.cap-Ctd4c_im.mjs → user-management.cap-4IEUCSdL.mjs} +2 -2
- package/system/dist/{user-management.cap-DyVb68rY.js → user-management.cap-DV9Jfsj3.js} +2 -2
- package/system/dist/{wal-maintenance-CjpslZUL.mjs → wal-maintenance-Bey5ChBb.mjs} +0 -0
- package/system/dist/{wal-maintenance-DKTXQ7UF.js → wal-maintenance-BgYiAy5b.js} +0 -0
- package/system/package.json +4 -1
- package/system/dist/builtins/device-manager/transitions/transition-correlator.d.ts +0 -81
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// AUTO-GENERATED by scripts/generate-cap-routers.ts — DO NOT EDIT
|
|
3
3
|
// Re-run: npx tsx scripts/generate-cap-routers.ts
|
|
4
4
|
//
|
|
5
|
-
// Capabilities:
|
|
5
|
+
// Capabilities: 217
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -111,6 +111,7 @@ exports.createCapRouter_llm = createCapRouter_llm;
|
|
|
111
111
|
exports.createCapRouter_llmRuntime = createCapRouter_llmRuntime;
|
|
112
112
|
exports.createCapRouter_loadContribution = createCapRouter_loadContribution;
|
|
113
113
|
exports.createCapRouter_localNetwork = createCapRouter_localNetwork;
|
|
114
|
+
exports.createCapRouter_location = createCapRouter_location;
|
|
114
115
|
exports.createCapRouter_lockControl = createCapRouter_lockControl;
|
|
115
116
|
exports.createCapRouter_logChannels = createCapRouter_logChannels;
|
|
116
117
|
exports.createCapRouter_logDestination = createCapRouter_logDestination;
|
|
@@ -170,6 +171,7 @@ exports.createCapRouter_records = createCapRouter_records;
|
|
|
170
171
|
exports.createCapRouter_remote = createCapRouter_remote;
|
|
171
172
|
exports.createCapRouter_remoteLayoutComponents = createCapRouter_remoteLayoutComponents;
|
|
172
173
|
exports.createCapRouter_resync = createCapRouter_resync;
|
|
174
|
+
exports.createCapRouter_retentionSource = createCapRouter_retentionSource;
|
|
173
175
|
exports.createCapRouter_runningState = createCapRouter_runningState;
|
|
174
176
|
exports.createCapRouter_sceneMonitor = createCapRouter_sceneMonitor;
|
|
175
177
|
exports.createCapRouter_schedulers = createCapRouter_schedulers;
|
|
@@ -209,6 +211,7 @@ exports.createCapRouter_userPasskeys = createCapRouter_userPasskeys;
|
|
|
209
211
|
exports.createCapRouter_vacuumControl = createCapRouter_vacuumControl;
|
|
210
212
|
exports.createCapRouter_valve = createCapRouter_valve;
|
|
211
213
|
exports.createCapRouter_vectorStore = createCapRouter_vectorStore;
|
|
214
|
+
exports.createCapRouter_vehicle = createCapRouter_vehicle;
|
|
212
215
|
exports.createCapRouter_vibration = createCapRouter_vibration;
|
|
213
216
|
exports.createCapRouter_videoclips = createCapRouter_videoclips;
|
|
214
217
|
exports.createCapRouter_viewerUi = createCapRouter_viewerUi;
|
|
@@ -403,6 +406,8 @@ const types_176 = require("@camstack/types");
|
|
|
403
406
|
const types_177 = require("@camstack/types");
|
|
404
407
|
const types_178 = require("@camstack/types");
|
|
405
408
|
const types_179 = require("@camstack/types");
|
|
409
|
+
const types_180 = require("@camstack/types");
|
|
410
|
+
const types_181 = require("@camstack/types");
|
|
406
411
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
407
412
|
function requireCapProvider(name, getProvider) {
|
|
408
413
|
const p = getProvider();
|
|
@@ -2478,6 +2483,16 @@ function createCapRouter_coreBlocks(getProvider, createRemoteProxy) {
|
|
|
2478
2483
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2479
2484
|
return p.getComposition(methodInput);
|
|
2480
2485
|
}),
|
|
2486
|
+
listTemplateInstances: trpc_middleware_js_1.adminProcedure
|
|
2487
|
+
.input(types_39.coreBlocksCapability.methods.listTemplateInstances.input.loose())
|
|
2488
|
+
.output(types_39.coreBlocksCapability.methods.listTemplateInstances.output)
|
|
2489
|
+
.query(async ({ input, ctx }) => {
|
|
2490
|
+
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
2491
|
+
const { nodeId, ...methodInput } = parsedInput;
|
|
2492
|
+
const p = resolveProvider('core-blocks', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2493
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2494
|
+
return p.listTemplateInstances(methodInput);
|
|
2495
|
+
}),
|
|
2481
2496
|
listCompositions: trpc_middleware_js_1.adminProcedure
|
|
2482
2497
|
.input(types_39.coreBlocksCapability.methods.listCompositions.input.loose())
|
|
2483
2498
|
.output(types_39.coreBlocksCapability.methods.listCompositions.output)
|
|
@@ -3790,6 +3805,16 @@ function createCapRouter_deviceManager(getProvider, createRemoteProxy) {
|
|
|
3790
3805
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3791
3806
|
return p.unlinkIdentity(methodInput);
|
|
3792
3807
|
}),
|
|
3808
|
+
relinkIdentity: trpc_middleware_js_1.adminProcedure
|
|
3809
|
+
.input(types_52.deviceManagerCapability.methods.relinkIdentity.input.loose())
|
|
3810
|
+
.output(types_52.deviceManagerCapability.methods.relinkIdentity.output)
|
|
3811
|
+
.mutation(async ({ input, ctx }) => {
|
|
3812
|
+
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
3813
|
+
const { nodeId, ...methodInput } = parsedInput;
|
|
3814
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
3815
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3816
|
+
return p.relinkIdentity(methodInput);
|
|
3817
|
+
}),
|
|
3793
3818
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
3794
3819
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
3795
3820
|
.output(types_52.deviceManagerCapability.methods.listLocations.output)
|
|
@@ -6895,6 +6920,19 @@ function createCapRouter_localNetwork(getProvider, createRemoteProxy) {
|
|
|
6895
6920
|
}),
|
|
6896
6921
|
});
|
|
6897
6922
|
}
|
|
6923
|
+
function createCapRouter_location(getProvider, createRemoteProxy) {
|
|
6924
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6925
|
+
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
6926
|
+
.input(types_2.DEVICE_STATUS_METHOD.getStatus.input.loose())
|
|
6927
|
+
.output(types_2.DEVICE_STATUS_METHOD.getStatus.output)
|
|
6928
|
+
.query(async ({ input, ctx }) => {
|
|
6929
|
+
const { nodeId, ...methodInput } = input;
|
|
6930
|
+
const p = resolveProvider('location', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6931
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6932
|
+
return p.getStatus(methodInput);
|
|
6933
|
+
}),
|
|
6934
|
+
});
|
|
6935
|
+
}
|
|
6898
6936
|
function createCapRouter_lockControl(getProvider, createRemoteProxy) {
|
|
6899
6937
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6900
6938
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -12025,6 +12063,19 @@ function createCapRouter_resync(getProvider, createRemoteProxy) {
|
|
|
12025
12063
|
}),
|
|
12026
12064
|
});
|
|
12027
12065
|
}
|
|
12066
|
+
function createCapRouter_retentionSource(getProvider, createRemoteProxy) {
|
|
12067
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12068
|
+
listRetentionKnobs: trpc_middleware_js_1.adminProcedure
|
|
12069
|
+
.input(types_137.retentionSourceCapability.methods.listRetentionKnobs.input.loose())
|
|
12070
|
+
.output(types_137.retentionSourceCapability.methods.listRetentionKnobs.output)
|
|
12071
|
+
.query(async ({ input, ctx }) => {
|
|
12072
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
12073
|
+
const p = resolveProvider('retention-source', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
12074
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12075
|
+
return p.listRetentionKnobs(methodInput);
|
|
12076
|
+
}),
|
|
12077
|
+
});
|
|
12078
|
+
}
|
|
12028
12079
|
function createCapRouter_runningState(getProvider, createRemoteProxy) {
|
|
12029
12080
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12030
12081
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -12050,8 +12101,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12050
12101
|
return p.getStatus(methodInput);
|
|
12051
12102
|
}),
|
|
12052
12103
|
listScenes: trpc_middleware_js_1.protectedProcedure
|
|
12053
|
-
.input(
|
|
12054
|
-
.output(
|
|
12104
|
+
.input(types_138.sceneMonitorCapability.methods.listScenes.input.loose())
|
|
12105
|
+
.output(types_138.sceneMonitorCapability.methods.listScenes.output)
|
|
12055
12106
|
.query(async ({ input, ctx }) => {
|
|
12056
12107
|
const { nodeId, ...methodInput } = input;
|
|
12057
12108
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12059,8 +12110,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12059
12110
|
return p.listScenes(methodInput);
|
|
12060
12111
|
}),
|
|
12061
12112
|
listScenesBatch: trpc_middleware_js_1.protectedProcedure
|
|
12062
|
-
.input(
|
|
12063
|
-
.output(
|
|
12113
|
+
.input(types_138.sceneMonitorCapability.methods.listScenesBatch.input.loose())
|
|
12114
|
+
.output(types_138.sceneMonitorCapability.methods.listScenesBatch.output)
|
|
12064
12115
|
.query(async ({ input, ctx }) => {
|
|
12065
12116
|
const { nodeId, ...methodInput } = input;
|
|
12066
12117
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12068,8 +12119,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12068
12119
|
return p.listScenesBatch(methodInput);
|
|
12069
12120
|
}),
|
|
12070
12121
|
createScene: trpc_middleware_js_1.adminProcedure
|
|
12071
|
-
.input(
|
|
12072
|
-
.output(
|
|
12122
|
+
.input(types_138.sceneMonitorCapability.methods.createScene.input.loose())
|
|
12123
|
+
.output(types_138.sceneMonitorCapability.methods.createScene.output)
|
|
12073
12124
|
.mutation(async ({ input, ctx }) => {
|
|
12074
12125
|
const { nodeId, ...methodInput } = input;
|
|
12075
12126
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12077,8 +12128,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12077
12128
|
return p.createScene(methodInput);
|
|
12078
12129
|
}),
|
|
12079
12130
|
updateScene: trpc_middleware_js_1.adminProcedure
|
|
12080
|
-
.input(
|
|
12081
|
-
.output(
|
|
12131
|
+
.input(types_138.sceneMonitorCapability.methods.updateScene.input.loose())
|
|
12132
|
+
.output(types_138.sceneMonitorCapability.methods.updateScene.output)
|
|
12082
12133
|
.mutation(async ({ input, ctx }) => {
|
|
12083
12134
|
const { nodeId, ...methodInput } = input;
|
|
12084
12135
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12086,8 +12137,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12086
12137
|
return p.updateScene(methodInput);
|
|
12087
12138
|
}),
|
|
12088
12139
|
deleteScene: trpc_middleware_js_1.adminProcedure
|
|
12089
|
-
.input(
|
|
12090
|
-
.output(
|
|
12140
|
+
.input(types_138.sceneMonitorCapability.methods.deleteScene.input.loose())
|
|
12141
|
+
.output(types_138.sceneMonitorCapability.methods.deleteScene.output)
|
|
12091
12142
|
.mutation(async ({ input, ctx }) => {
|
|
12092
12143
|
const { nodeId, ...methodInput } = input;
|
|
12093
12144
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12095,8 +12146,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12095
12146
|
return p.deleteScene(methodInput);
|
|
12096
12147
|
}),
|
|
12097
12148
|
captureReference: trpc_middleware_js_1.adminProcedure
|
|
12098
|
-
.input(
|
|
12099
|
-
.output(
|
|
12149
|
+
.input(types_138.sceneMonitorCapability.methods.captureReference.input.loose())
|
|
12150
|
+
.output(types_138.sceneMonitorCapability.methods.captureReference.output)
|
|
12100
12151
|
.mutation(async ({ input, ctx }) => {
|
|
12101
12152
|
const { nodeId, ...methodInput } = input;
|
|
12102
12153
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12104,8 +12155,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12104
12155
|
return p.captureReference(methodInput);
|
|
12105
12156
|
}),
|
|
12106
12157
|
deleteReference: trpc_middleware_js_1.adminProcedure
|
|
12107
|
-
.input(
|
|
12108
|
-
.output(
|
|
12158
|
+
.input(types_138.sceneMonitorCapability.methods.deleteReference.input.loose())
|
|
12159
|
+
.output(types_138.sceneMonitorCapability.methods.deleteReference.output)
|
|
12109
12160
|
.mutation(async ({ input, ctx }) => {
|
|
12110
12161
|
const { nodeId, ...methodInput } = input;
|
|
12111
12162
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12113,8 +12164,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12113
12164
|
return p.deleteReference(methodInput);
|
|
12114
12165
|
}),
|
|
12115
12166
|
recheckNow: trpc_middleware_js_1.adminProcedure
|
|
12116
|
-
.input(
|
|
12117
|
-
.output(
|
|
12167
|
+
.input(types_138.sceneMonitorCapability.methods.recheckNow.input.loose())
|
|
12168
|
+
.output(types_138.sceneMonitorCapability.methods.recheckNow.output)
|
|
12118
12169
|
.mutation(async ({ input, ctx }) => {
|
|
12119
12170
|
const { nodeId, ...methodInput } = input;
|
|
12120
12171
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12122,8 +12173,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12122
12173
|
return p.recheckNow(methodInput);
|
|
12123
12174
|
}),
|
|
12124
12175
|
resetScene: trpc_middleware_js_1.adminProcedure
|
|
12125
|
-
.input(
|
|
12126
|
-
.output(
|
|
12176
|
+
.input(types_138.sceneMonitorCapability.methods.resetScene.input.loose())
|
|
12177
|
+
.output(types_138.sceneMonitorCapability.methods.resetScene.output)
|
|
12127
12178
|
.mutation(async ({ input, ctx }) => {
|
|
12128
12179
|
const { nodeId, ...methodInput } = input;
|
|
12129
12180
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12135,8 +12186,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
12135
12186
|
function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
12136
12187
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12137
12188
|
list: trpc_middleware_js_1.adminProcedure
|
|
12138
|
-
.input(
|
|
12139
|
-
.output(
|
|
12189
|
+
.input(types_139.schedulersCapability.methods.list.input.loose())
|
|
12190
|
+
.output(types_139.schedulersCapability.methods.list.output)
|
|
12140
12191
|
.query(async ({ input, ctx }) => {
|
|
12141
12192
|
const { nodeId, ...methodInput } = input;
|
|
12142
12193
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12144,8 +12195,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12144
12195
|
return p.list(methodInput);
|
|
12145
12196
|
}),
|
|
12146
12197
|
get: trpc_middleware_js_1.adminProcedure
|
|
12147
|
-
.input(
|
|
12148
|
-
.output(
|
|
12198
|
+
.input(types_139.schedulersCapability.methods.get.input.loose())
|
|
12199
|
+
.output(types_139.schedulersCapability.methods.get.output)
|
|
12149
12200
|
.query(async ({ input, ctx }) => {
|
|
12150
12201
|
const { nodeId, ...methodInput } = input;
|
|
12151
12202
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12153,8 +12204,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12153
12204
|
return p.get(methodInput);
|
|
12154
12205
|
}),
|
|
12155
12206
|
create: trpc_middleware_js_1.adminProcedure
|
|
12156
|
-
.input(
|
|
12157
|
-
.output(
|
|
12207
|
+
.input(types_139.schedulersCapability.methods.create.input.loose())
|
|
12208
|
+
.output(types_139.schedulersCapability.methods.create.output)
|
|
12158
12209
|
.mutation(async ({ input, ctx }) => {
|
|
12159
12210
|
const { nodeId, ...methodInput } = input;
|
|
12160
12211
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12162,8 +12213,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12162
12213
|
return p.create(methodInput);
|
|
12163
12214
|
}),
|
|
12164
12215
|
update: trpc_middleware_js_1.adminProcedure
|
|
12165
|
-
.input(
|
|
12166
|
-
.output(
|
|
12216
|
+
.input(types_139.schedulersCapability.methods.update.input.loose())
|
|
12217
|
+
.output(types_139.schedulersCapability.methods.update.output)
|
|
12167
12218
|
.mutation(async ({ input, ctx }) => {
|
|
12168
12219
|
const { nodeId, ...methodInput } = input;
|
|
12169
12220
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12171,8 +12222,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12171
12222
|
return p.update(methodInput);
|
|
12172
12223
|
}),
|
|
12173
12224
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12174
|
-
.input(
|
|
12175
|
-
.output(
|
|
12225
|
+
.input(types_139.schedulersCapability.methods.delete.input.loose())
|
|
12226
|
+
.output(types_139.schedulersCapability.methods.delete.output)
|
|
12176
12227
|
.mutation(async ({ input, ctx }) => {
|
|
12177
12228
|
const { nodeId, ...methodInput } = input;
|
|
12178
12229
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12180,8 +12231,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12180
12231
|
return p.delete(methodInput);
|
|
12181
12232
|
}),
|
|
12182
12233
|
setEnabled: trpc_middleware_js_1.adminProcedure
|
|
12183
|
-
.input(
|
|
12184
|
-
.output(
|
|
12234
|
+
.input(types_139.schedulersCapability.methods.setEnabled.input.loose())
|
|
12235
|
+
.output(types_139.schedulersCapability.methods.setEnabled.output)
|
|
12185
12236
|
.mutation(async ({ input, ctx }) => {
|
|
12186
12237
|
const { nodeId, ...methodInput } = input;
|
|
12187
12238
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12189,8 +12240,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12189
12240
|
return p.setEnabled(methodInput);
|
|
12190
12241
|
}),
|
|
12191
12242
|
preview: trpc_middleware_js_1.adminProcedure
|
|
12192
|
-
.input(
|
|
12193
|
-
.output(
|
|
12243
|
+
.input(types_139.schedulersCapability.methods.preview.input.loose())
|
|
12244
|
+
.output(types_139.schedulersCapability.methods.preview.output)
|
|
12194
12245
|
.query(async ({ input, ctx }) => {
|
|
12195
12246
|
const { nodeId, ...methodInput } = input;
|
|
12196
12247
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12198,8 +12249,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12198
12249
|
return p.preview(methodInput);
|
|
12199
12250
|
}),
|
|
12200
12251
|
conflicts: trpc_middleware_js_1.adminProcedure
|
|
12201
|
-
.input(
|
|
12202
|
-
.output(
|
|
12252
|
+
.input(types_139.schedulersCapability.methods.conflicts.input.loose())
|
|
12253
|
+
.output(types_139.schedulersCapability.methods.conflicts.output)
|
|
12203
12254
|
.query(async ({ input, ctx }) => {
|
|
12204
12255
|
const { nodeId, ...methodInput } = input;
|
|
12205
12256
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12216,8 +12267,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
12216
12267
|
return p.getStatus(methodInput);
|
|
12217
12268
|
}),
|
|
12218
12269
|
getTraces: trpc_middleware_js_1.adminProcedure
|
|
12219
|
-
.input(
|
|
12220
|
-
.output(
|
|
12270
|
+
.input(types_139.schedulersCapability.methods.getTraces.input.loose())
|
|
12271
|
+
.output(types_139.schedulersCapability.methods.getTraces.output)
|
|
12221
12272
|
.query(async ({ input, ctx }) => {
|
|
12222
12273
|
const { nodeId, ...methodInput } = input;
|
|
12223
12274
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12238,8 +12289,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
12238
12289
|
return p.getStatus(methodInput);
|
|
12239
12290
|
}),
|
|
12240
12291
|
run: trpc_middleware_js_1.adminProcedure
|
|
12241
|
-
.input(
|
|
12242
|
-
.output(
|
|
12292
|
+
.input(types_140.scriptRunnerCapability.methods.run.input.loose())
|
|
12293
|
+
.output(types_140.scriptRunnerCapability.methods.run.output)
|
|
12243
12294
|
.mutation(async ({ input, ctx }) => {
|
|
12244
12295
|
const { nodeId, ...methodInput } = input;
|
|
12245
12296
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12247,8 +12298,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
12247
12298
|
return p.run(methodInput);
|
|
12248
12299
|
}),
|
|
12249
12300
|
stop: trpc_middleware_js_1.adminProcedure
|
|
12250
|
-
.input(
|
|
12251
|
-
.output(
|
|
12301
|
+
.input(types_140.scriptRunnerCapability.methods.stop.input.loose())
|
|
12302
|
+
.output(types_140.scriptRunnerCapability.methods.stop.output)
|
|
12252
12303
|
.mutation(async ({ input, ctx }) => {
|
|
12253
12304
|
const { nodeId, ...methodInput } = input;
|
|
12254
12305
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12261,21 +12312,21 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
12261
12312
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12262
12313
|
getServerPackageStatus: trpc_middleware_js_1.adminProcedure
|
|
12263
12314
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12264
|
-
.output(
|
|
12315
|
+
.output(types_141.serverManagementCapability.methods.getServerPackageStatus.output)
|
|
12265
12316
|
.query(async ({ input, ctx }) => {
|
|
12266
12317
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12267
12318
|
return p.getServerPackageStatus();
|
|
12268
12319
|
}),
|
|
12269
12320
|
checkServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
12270
12321
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12271
|
-
.output(
|
|
12322
|
+
.output(types_141.serverManagementCapability.methods.checkServerUpdate.output)
|
|
12272
12323
|
.mutation(async ({ input, ctx }) => {
|
|
12273
12324
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12274
12325
|
return p.checkServerUpdate();
|
|
12275
12326
|
}),
|
|
12276
12327
|
applyServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
12277
|
-
.input(
|
|
12278
|
-
.output(
|
|
12328
|
+
.input(types_141.serverManagementCapability.methods.applyServerUpdate.input.loose())
|
|
12329
|
+
.output(types_141.serverManagementCapability.methods.applyServerUpdate.output)
|
|
12279
12330
|
.mutation(async ({ input, ctx }) => {
|
|
12280
12331
|
const { nodeId, ...methodInput } = input;
|
|
12281
12332
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12284,35 +12335,35 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
12284
12335
|
}),
|
|
12285
12336
|
installDesktopUpdate: trpc_middleware_js_1.adminProcedure
|
|
12286
12337
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12287
|
-
.output(
|
|
12338
|
+
.output(types_141.serverManagementCapability.methods.installDesktopUpdate.output)
|
|
12288
12339
|
.mutation(async ({ input, ctx }) => {
|
|
12289
12340
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12290
12341
|
return p.installDesktopUpdate();
|
|
12291
12342
|
}),
|
|
12292
12343
|
rollbackServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
12293
12344
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12294
|
-
.output(
|
|
12345
|
+
.output(types_141.serverManagementCapability.methods.rollbackServerUpdate.output)
|
|
12295
12346
|
.mutation(async ({ input, ctx }) => {
|
|
12296
12347
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12297
12348
|
return p.rollbackServerUpdate();
|
|
12298
12349
|
}),
|
|
12299
12350
|
restartServer: trpc_middleware_js_1.adminProcedure
|
|
12300
12351
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12301
|
-
.output(
|
|
12352
|
+
.output(types_141.serverManagementCapability.methods.restartServer.output)
|
|
12302
12353
|
.mutation(async ({ input, ctx }) => {
|
|
12303
12354
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12304
12355
|
return p.restartServer();
|
|
12305
12356
|
}),
|
|
12306
12357
|
getLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
12307
12358
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12308
|
-
.output(
|
|
12359
|
+
.output(types_141.serverManagementCapability.methods.getLaunchOverrides.output)
|
|
12309
12360
|
.query(async ({ input, ctx }) => {
|
|
12310
12361
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12311
12362
|
return p.getLaunchOverrides();
|
|
12312
12363
|
}),
|
|
12313
12364
|
setLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
12314
|
-
.input(
|
|
12315
|
-
.output(
|
|
12365
|
+
.input(types_141.serverManagementCapability.methods.setLaunchOverrides.input.loose())
|
|
12366
|
+
.output(types_141.serverManagementCapability.methods.setLaunchOverrides.output)
|
|
12316
12367
|
.mutation(async ({ input, ctx }) => {
|
|
12317
12368
|
const { nodeId, ...methodInput } = input;
|
|
12318
12369
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12324,8 +12375,8 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
12324
12375
|
function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
12325
12376
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12326
12377
|
get: trpc_middleware_js_1.adminProcedure
|
|
12327
|
-
.input(
|
|
12328
|
-
.output(
|
|
12378
|
+
.input(types_142.settingsStoreCapability.methods.get.input.loose())
|
|
12379
|
+
.output(types_142.settingsStoreCapability.methods.get.output)
|
|
12329
12380
|
.query(async ({ input, ctx }) => {
|
|
12330
12381
|
const { nodeId, ...methodInput } = input;
|
|
12331
12382
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12333,8 +12384,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12333
12384
|
return p.get(methodInput);
|
|
12334
12385
|
}),
|
|
12335
12386
|
set: trpc_middleware_js_1.adminProcedure
|
|
12336
|
-
.input(
|
|
12337
|
-
.output(
|
|
12387
|
+
.input(types_142.settingsStoreCapability.methods.set.input.loose())
|
|
12388
|
+
.output(types_142.settingsStoreCapability.methods.set.output)
|
|
12338
12389
|
.mutation(async ({ input, ctx }) => {
|
|
12339
12390
|
const { nodeId, ...methodInput } = input;
|
|
12340
12391
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12342,8 +12393,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12342
12393
|
return p.set(methodInput);
|
|
12343
12394
|
}),
|
|
12344
12395
|
query: trpc_middleware_js_1.adminProcedure
|
|
12345
|
-
.input(
|
|
12346
|
-
.output(
|
|
12396
|
+
.input(types_142.settingsStoreCapability.methods.query.input.loose())
|
|
12397
|
+
.output(types_142.settingsStoreCapability.methods.query.output)
|
|
12347
12398
|
.query(async ({ input, ctx }) => {
|
|
12348
12399
|
const { nodeId, ...methodInput } = input;
|
|
12349
12400
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12351,8 +12402,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12351
12402
|
return p.query(methodInput);
|
|
12352
12403
|
}),
|
|
12353
12404
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
12354
|
-
.input(
|
|
12355
|
-
.output(
|
|
12405
|
+
.input(types_142.settingsStoreCapability.methods.upsert.input.loose())
|
|
12406
|
+
.output(types_142.settingsStoreCapability.methods.upsert.output)
|
|
12356
12407
|
.mutation(async ({ input, ctx }) => {
|
|
12357
12408
|
const { nodeId, ...methodInput } = input;
|
|
12358
12409
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12360,8 +12411,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12360
12411
|
return p.upsert(methodInput);
|
|
12361
12412
|
}),
|
|
12362
12413
|
upsertMany: trpc_middleware_js_1.adminProcedure
|
|
12363
|
-
.input(
|
|
12364
|
-
.output(
|
|
12414
|
+
.input(types_142.settingsStoreCapability.methods.upsertMany.input.loose())
|
|
12415
|
+
.output(types_142.settingsStoreCapability.methods.upsertMany.output)
|
|
12365
12416
|
.mutation(async ({ input, ctx }) => {
|
|
12366
12417
|
const { nodeId, ...methodInput } = input;
|
|
12367
12418
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12369,8 +12420,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12369
12420
|
return p.upsertMany(methodInput);
|
|
12370
12421
|
}),
|
|
12371
12422
|
insert: trpc_middleware_js_1.adminProcedure
|
|
12372
|
-
.input(
|
|
12373
|
-
.output(
|
|
12423
|
+
.input(types_142.settingsStoreCapability.methods.insert.input.loose())
|
|
12424
|
+
.output(types_142.settingsStoreCapability.methods.insert.output)
|
|
12374
12425
|
.mutation(async ({ input, ctx }) => {
|
|
12375
12426
|
const { nodeId, ...methodInput } = input;
|
|
12376
12427
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12378,8 +12429,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12378
12429
|
return p.insert(methodInput);
|
|
12379
12430
|
}),
|
|
12380
12431
|
insertMany: trpc_middleware_js_1.adminProcedure
|
|
12381
|
-
.input(
|
|
12382
|
-
.output(
|
|
12432
|
+
.input(types_142.settingsStoreCapability.methods.insertMany.input.loose())
|
|
12433
|
+
.output(types_142.settingsStoreCapability.methods.insertMany.output)
|
|
12383
12434
|
.mutation(async ({ input, ctx }) => {
|
|
12384
12435
|
const { nodeId, ...methodInput } = input;
|
|
12385
12436
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12387,8 +12438,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12387
12438
|
return p.insertMany(methodInput);
|
|
12388
12439
|
}),
|
|
12389
12440
|
transact: trpc_middleware_js_1.adminProcedure
|
|
12390
|
-
.input(
|
|
12391
|
-
.output(
|
|
12441
|
+
.input(types_142.settingsStoreCapability.methods.transact.input.loose())
|
|
12442
|
+
.output(types_142.settingsStoreCapability.methods.transact.output)
|
|
12392
12443
|
.mutation(async ({ input, ctx }) => {
|
|
12393
12444
|
const { nodeId, ...methodInput } = input;
|
|
12394
12445
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12396,8 +12447,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12396
12447
|
return p.transact(methodInput);
|
|
12397
12448
|
}),
|
|
12398
12449
|
update: trpc_middleware_js_1.adminProcedure
|
|
12399
|
-
.input(
|
|
12400
|
-
.output(
|
|
12450
|
+
.input(types_142.settingsStoreCapability.methods.update.input.loose())
|
|
12451
|
+
.output(types_142.settingsStoreCapability.methods.update.output)
|
|
12401
12452
|
.mutation(async ({ input, ctx }) => {
|
|
12402
12453
|
const { nodeId, ...methodInput } = input;
|
|
12403
12454
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12405,8 +12456,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12405
12456
|
return p.update(methodInput);
|
|
12406
12457
|
}),
|
|
12407
12458
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12408
|
-
.input(
|
|
12409
|
-
.output(
|
|
12459
|
+
.input(types_142.settingsStoreCapability.methods.delete.input.loose())
|
|
12460
|
+
.output(types_142.settingsStoreCapability.methods.delete.output)
|
|
12410
12461
|
.mutation(async ({ input, ctx }) => {
|
|
12411
12462
|
const { nodeId, ...methodInput } = input;
|
|
12412
12463
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12414,8 +12465,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12414
12465
|
return p.delete(methodInput);
|
|
12415
12466
|
}),
|
|
12416
12467
|
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
12417
|
-
.input(
|
|
12418
|
-
.output(
|
|
12468
|
+
.input(types_142.settingsStoreCapability.methods.deleteWhere.input.loose())
|
|
12469
|
+
.output(types_142.settingsStoreCapability.methods.deleteWhere.output)
|
|
12419
12470
|
.mutation(async ({ input, ctx }) => {
|
|
12420
12471
|
const { nodeId, ...methodInput } = input;
|
|
12421
12472
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12423,8 +12474,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12423
12474
|
return p.deleteWhere(methodInput);
|
|
12424
12475
|
}),
|
|
12425
12476
|
updateWhere: trpc_middleware_js_1.adminProcedure
|
|
12426
|
-
.input(
|
|
12427
|
-
.output(
|
|
12477
|
+
.input(types_142.settingsStoreCapability.methods.updateWhere.input.loose())
|
|
12478
|
+
.output(types_142.settingsStoreCapability.methods.updateWhere.output)
|
|
12428
12479
|
.mutation(async ({ input, ctx }) => {
|
|
12429
12480
|
const { nodeId, ...methodInput } = input;
|
|
12430
12481
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12432,8 +12483,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12432
12483
|
return p.updateWhere(methodInput);
|
|
12433
12484
|
}),
|
|
12434
12485
|
count: trpc_middleware_js_1.adminProcedure
|
|
12435
|
-
.input(
|
|
12436
|
-
.output(
|
|
12486
|
+
.input(types_142.settingsStoreCapability.methods.count.input.loose())
|
|
12487
|
+
.output(types_142.settingsStoreCapability.methods.count.output)
|
|
12437
12488
|
.query(async ({ input, ctx }) => {
|
|
12438
12489
|
const { nodeId, ...methodInput } = input;
|
|
12439
12490
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12441,8 +12492,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12441
12492
|
return p.count(methodInput);
|
|
12442
12493
|
}),
|
|
12443
12494
|
aggregate: trpc_middleware_js_1.adminProcedure
|
|
12444
|
-
.input(
|
|
12445
|
-
.output(
|
|
12495
|
+
.input(types_142.settingsStoreCapability.methods.aggregate.input.loose())
|
|
12496
|
+
.output(types_142.settingsStoreCapability.methods.aggregate.output)
|
|
12446
12497
|
.query(async ({ input, ctx }) => {
|
|
12447
12498
|
const { nodeId, ...methodInput } = input;
|
|
12448
12499
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12450,8 +12501,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12450
12501
|
return p.aggregate(methodInput);
|
|
12451
12502
|
}),
|
|
12452
12503
|
histogram: trpc_middleware_js_1.adminProcedure
|
|
12453
|
-
.input(
|
|
12454
|
-
.output(
|
|
12504
|
+
.input(types_142.settingsStoreCapability.methods.histogram.input.loose())
|
|
12505
|
+
.output(types_142.settingsStoreCapability.methods.histogram.output)
|
|
12455
12506
|
.query(async ({ input, ctx }) => {
|
|
12456
12507
|
const { nodeId, ...methodInput } = input;
|
|
12457
12508
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12459,8 +12510,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12459
12510
|
return p.histogram(methodInput);
|
|
12460
12511
|
}),
|
|
12461
12512
|
isEmpty: trpc_middleware_js_1.adminProcedure
|
|
12462
|
-
.input(
|
|
12463
|
-
.output(
|
|
12513
|
+
.input(types_142.settingsStoreCapability.methods.isEmpty.input.loose())
|
|
12514
|
+
.output(types_142.settingsStoreCapability.methods.isEmpty.output)
|
|
12464
12515
|
.query(async ({ input, ctx }) => {
|
|
12465
12516
|
const { nodeId, ...methodInput } = input;
|
|
12466
12517
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12468,8 +12519,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
12468
12519
|
return p.isEmpty(methodInput);
|
|
12469
12520
|
}),
|
|
12470
12521
|
declareCollection: trpc_middleware_js_1.adminProcedure
|
|
12471
|
-
.input(
|
|
12472
|
-
.output(
|
|
12522
|
+
.input(types_142.settingsStoreCapability.methods.declareCollection.input.loose())
|
|
12523
|
+
.output(types_142.settingsStoreCapability.methods.declareCollection.output)
|
|
12473
12524
|
.mutation(async ({ input, ctx }) => {
|
|
12474
12525
|
const { nodeId, ...methodInput } = input;
|
|
12475
12526
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12490,8 +12541,8 @@ function createCapRouter_siren(getProvider, createRemoteProxy) {
|
|
|
12490
12541
|
return p.getStatus(methodInput);
|
|
12491
12542
|
}),
|
|
12492
12543
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
12493
|
-
.input(
|
|
12494
|
-
.output(
|
|
12544
|
+
.input(types_143.sirenCapability.methods.getOptions.input.loose())
|
|
12545
|
+
.output(types_143.sirenCapability.methods.getOptions.output)
|
|
12495
12546
|
.query(async ({ input, ctx }) => {
|
|
12496
12547
|
const { nodeId, ...methodInput } = input;
|
|
12497
12548
|
const p = resolveProvider('siren', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12499,8 +12550,8 @@ function createCapRouter_siren(getProvider, createRemoteProxy) {
|
|
|
12499
12550
|
return p.getOptions(methodInput);
|
|
12500
12551
|
}),
|
|
12501
12552
|
getPlayChoices: trpc_middleware_js_1.protectedProcedure
|
|
12502
|
-
.input(
|
|
12503
|
-
.output(
|
|
12553
|
+
.input(types_143.sirenCapability.methods.getPlayChoices.input.loose())
|
|
12554
|
+
.output(types_143.sirenCapability.methods.getPlayChoices.output)
|
|
12504
12555
|
.query(async ({ input, ctx }) => {
|
|
12505
12556
|
const { nodeId, ...methodInput } = input;
|
|
12506
12557
|
const p = resolveProvider('siren', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12508,8 +12559,8 @@ function createCapRouter_siren(getProvider, createRemoteProxy) {
|
|
|
12508
12559
|
return p.getPlayChoices(methodInput);
|
|
12509
12560
|
}),
|
|
12510
12561
|
trigger: trpc_middleware_js_1.protectedProcedure
|
|
12511
|
-
.input(
|
|
12512
|
-
.output(
|
|
12562
|
+
.input(types_143.sirenCapability.methods.trigger.input.loose())
|
|
12563
|
+
.output(types_143.sirenCapability.methods.trigger.output)
|
|
12513
12564
|
.mutation(async ({ input, ctx }) => {
|
|
12514
12565
|
const { nodeId, ...methodInput } = input;
|
|
12515
12566
|
const p = resolveProvider('siren', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12517,8 +12568,8 @@ function createCapRouter_siren(getProvider, createRemoteProxy) {
|
|
|
12517
12568
|
return p.trigger(methodInput);
|
|
12518
12569
|
}),
|
|
12519
12570
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
12520
|
-
.input(
|
|
12521
|
-
.output(
|
|
12571
|
+
.input(types_143.sirenCapability.methods.stop.input.loose())
|
|
12572
|
+
.output(types_143.sirenCapability.methods.stop.output)
|
|
12522
12573
|
.mutation(async ({ input, ctx }) => {
|
|
12523
12574
|
const { nodeId, ...methodInput } = input;
|
|
12524
12575
|
const p = resolveProvider('siren', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12543,8 +12594,8 @@ function createCapRouter_smoke(getProvider, createRemoteProxy) {
|
|
|
12543
12594
|
function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
12544
12595
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12545
12596
|
sendEmail: trpc_middleware_js_1.adminProcedure
|
|
12546
|
-
.input(
|
|
12547
|
-
.output(
|
|
12597
|
+
.input(types_144.smtpProviderCapability.methods.sendEmail.input.loose())
|
|
12598
|
+
.output(types_144.smtpProviderCapability.methods.sendEmail.output)
|
|
12548
12599
|
.mutation(async ({ input, ctx }) => {
|
|
12549
12600
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12550
12601
|
const p = resolveProvider('smtp-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12601,8 +12652,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
12601
12652
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
12602
12653
|
}),
|
|
12603
12654
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
12604
|
-
.input(
|
|
12605
|
-
.output(
|
|
12655
|
+
.input(types_145.snapshotCapability.methods.getSnapshot.input.loose())
|
|
12656
|
+
.output(types_145.snapshotCapability.methods.getSnapshot.output)
|
|
12606
12657
|
.query(async ({ input, ctx }) => {
|
|
12607
12658
|
const { nodeId, ...methodInput } = input;
|
|
12608
12659
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12610,8 +12661,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
12610
12661
|
return p.getSnapshot(methodInput);
|
|
12611
12662
|
}),
|
|
12612
12663
|
invalidateCache: trpc_middleware_js_1.adminProcedure
|
|
12613
|
-
.input(
|
|
12614
|
-
.output(
|
|
12664
|
+
.input(types_145.snapshotCapability.methods.invalidateCache.input.loose())
|
|
12665
|
+
.output(types_145.snapshotCapability.methods.invalidateCache.output)
|
|
12615
12666
|
.mutation(async ({ input, ctx }) => {
|
|
12616
12667
|
const { nodeId, ...methodInput } = input;
|
|
12617
12668
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12619,8 +12670,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
12619
12670
|
return p.invalidateCache(methodInput);
|
|
12620
12671
|
}),
|
|
12621
12672
|
getSnapshotOverview: trpc_middleware_js_1.protectedProcedure
|
|
12622
|
-
.input(
|
|
12623
|
-
.output(
|
|
12673
|
+
.input(types_145.snapshotCapability.methods.getSnapshotOverview.input.loose())
|
|
12674
|
+
.output(types_145.snapshotCapability.methods.getSnapshotOverview.output)
|
|
12624
12675
|
.query(async ({ input, ctx }) => {
|
|
12625
12676
|
const { nodeId, ...methodInput } = input;
|
|
12626
12677
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12628,8 +12679,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
12628
12679
|
return p.getSnapshotOverview(methodInput);
|
|
12629
12680
|
}),
|
|
12630
12681
|
getDebugState: trpc_middleware_js_1.protectedProcedure
|
|
12631
|
-
.input(
|
|
12632
|
-
.output(
|
|
12682
|
+
.input(types_145.snapshotCapability.methods.getDebugState.input.loose())
|
|
12683
|
+
.output(types_145.snapshotCapability.methods.getDebugState.output)
|
|
12633
12684
|
.query(async ({ input, ctx }) => {
|
|
12634
12685
|
const { nodeId, ...methodInput } = input;
|
|
12635
12686
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12637,8 +12688,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
12637
12688
|
return p.getDebugState(methodInput);
|
|
12638
12689
|
}),
|
|
12639
12690
|
getSnapshotLinks: trpc_middleware_js_1.protectedProcedure
|
|
12640
|
-
.input(
|
|
12641
|
-
.output(
|
|
12691
|
+
.input(types_145.snapshotCapability.methods.getSnapshotLinks.input.loose())
|
|
12692
|
+
.output(types_145.snapshotCapability.methods.getSnapshotLinks.output)
|
|
12642
12693
|
.query(async ({ input, ctx }) => {
|
|
12643
12694
|
const { nodeId, ...methodInput } = input;
|
|
12644
12695
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12650,8 +12701,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
12650
12701
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
12651
12702
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12652
12703
|
signBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
12653
|
-
.input(
|
|
12654
|
-
.output(
|
|
12704
|
+
.input(types_146.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
12705
|
+
.output(types_146.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
12655
12706
|
.query(async ({ input, ctx }) => {
|
|
12656
12707
|
const { nodeId, ...methodInput } = input;
|
|
12657
12708
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12659,8 +12710,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
12659
12710
|
return p.signBridgeToken(methodInput);
|
|
12660
12711
|
}),
|
|
12661
12712
|
verifyBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
12662
|
-
.input(
|
|
12663
|
-
.output(
|
|
12713
|
+
.input(types_146.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
12714
|
+
.output(types_146.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
12664
12715
|
.query(async ({ input, ctx }) => {
|
|
12665
12716
|
const { nodeId, ...methodInput } = input;
|
|
12666
12717
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12672,8 +12723,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
12672
12723
|
function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
12673
12724
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12674
12725
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
12675
|
-
.input(
|
|
12676
|
-
.output(
|
|
12726
|
+
.input(types_147.storageCapability.methods.resolve.input.loose())
|
|
12727
|
+
.output(types_147.storageCapability.methods.resolve.output)
|
|
12677
12728
|
.query(async ({ input, ctx }) => {
|
|
12678
12729
|
const { nodeId, ...methodInput } = input;
|
|
12679
12730
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12681,8 +12732,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12681
12732
|
return p.resolve(methodInput);
|
|
12682
12733
|
}),
|
|
12683
12734
|
write: trpc_middleware_js_1.adminProcedure
|
|
12684
|
-
.input(
|
|
12685
|
-
.output(
|
|
12735
|
+
.input(types_147.storageCapability.methods.write.input.loose())
|
|
12736
|
+
.output(types_147.storageCapability.methods.write.output)
|
|
12686
12737
|
.mutation(async ({ input, ctx }) => {
|
|
12687
12738
|
const { nodeId, ...methodInput } = input;
|
|
12688
12739
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12690,8 +12741,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12690
12741
|
return p.write(methodInput);
|
|
12691
12742
|
}),
|
|
12692
12743
|
read: trpc_middleware_js_1.adminProcedure
|
|
12693
|
-
.input(
|
|
12694
|
-
.output(
|
|
12744
|
+
.input(types_147.storageCapability.methods.read.input.loose())
|
|
12745
|
+
.output(types_147.storageCapability.methods.read.output)
|
|
12695
12746
|
.query(async ({ input, ctx }) => {
|
|
12696
12747
|
const { nodeId, ...methodInput } = input;
|
|
12697
12748
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12699,8 +12750,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12699
12750
|
return p.read(methodInput);
|
|
12700
12751
|
}),
|
|
12701
12752
|
exists: trpc_middleware_js_1.adminProcedure
|
|
12702
|
-
.input(
|
|
12703
|
-
.output(
|
|
12753
|
+
.input(types_147.storageCapability.methods.exists.input.loose())
|
|
12754
|
+
.output(types_147.storageCapability.methods.exists.output)
|
|
12704
12755
|
.query(async ({ input, ctx }) => {
|
|
12705
12756
|
const { nodeId, ...methodInput } = input;
|
|
12706
12757
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12708,8 +12759,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12708
12759
|
return p.exists(methodInput);
|
|
12709
12760
|
}),
|
|
12710
12761
|
list: trpc_middleware_js_1.adminProcedure
|
|
12711
|
-
.input(
|
|
12712
|
-
.output(
|
|
12762
|
+
.input(types_147.storageCapability.methods.list.input.loose())
|
|
12763
|
+
.output(types_147.storageCapability.methods.list.output)
|
|
12713
12764
|
.query(async ({ input, ctx }) => {
|
|
12714
12765
|
const { nodeId, ...methodInput } = input;
|
|
12715
12766
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12717,8 +12768,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12717
12768
|
return p.list(methodInput);
|
|
12718
12769
|
}),
|
|
12719
12770
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12720
|
-
.input(
|
|
12721
|
-
.output(
|
|
12771
|
+
.input(types_147.storageCapability.methods.delete.input.loose())
|
|
12772
|
+
.output(types_147.storageCapability.methods.delete.output)
|
|
12722
12773
|
.mutation(async ({ input, ctx }) => {
|
|
12723
12774
|
const { nodeId, ...methodInput } = input;
|
|
12724
12775
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12726,8 +12777,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12726
12777
|
return p.delete(methodInput);
|
|
12727
12778
|
}),
|
|
12728
12779
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
12729
|
-
.input(
|
|
12730
|
-
.output(
|
|
12780
|
+
.input(types_147.storageCapability.methods.getAvailableSpace.input.loose())
|
|
12781
|
+
.output(types_147.storageCapability.methods.getAvailableSpace.output)
|
|
12731
12782
|
.query(async ({ input, ctx }) => {
|
|
12732
12783
|
const { nodeId, ...methodInput } = input;
|
|
12733
12784
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12735,8 +12786,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12735
12786
|
return p.getAvailableSpace(methodInput);
|
|
12736
12787
|
}),
|
|
12737
12788
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
12738
|
-
.input(
|
|
12739
|
-
.output(
|
|
12789
|
+
.input(types_147.storageCapability.methods.beginUpload.input.loose())
|
|
12790
|
+
.output(types_147.storageCapability.methods.beginUpload.output)
|
|
12740
12791
|
.mutation(async ({ input, ctx }) => {
|
|
12741
12792
|
const { nodeId, ...methodInput } = input;
|
|
12742
12793
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12744,8 +12795,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12744
12795
|
return p.beginUpload(methodInput);
|
|
12745
12796
|
}),
|
|
12746
12797
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
12747
|
-
.input(
|
|
12748
|
-
.output(
|
|
12798
|
+
.input(types_147.storageCapability.methods.writeChunk.input.loose())
|
|
12799
|
+
.output(types_147.storageCapability.methods.writeChunk.output)
|
|
12749
12800
|
.mutation(async ({ input, ctx }) => {
|
|
12750
12801
|
const { nodeId, ...methodInput } = input;
|
|
12751
12802
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12753,8 +12804,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12753
12804
|
return p.writeChunk(methodInput);
|
|
12754
12805
|
}),
|
|
12755
12806
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
12756
|
-
.input(
|
|
12757
|
-
.output(
|
|
12807
|
+
.input(types_147.storageCapability.methods.finalizeUpload.input.loose())
|
|
12808
|
+
.output(types_147.storageCapability.methods.finalizeUpload.output)
|
|
12758
12809
|
.mutation(async ({ input, ctx }) => {
|
|
12759
12810
|
const { nodeId, ...methodInput } = input;
|
|
12760
12811
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12762,8 +12813,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12762
12813
|
return p.finalizeUpload(methodInput);
|
|
12763
12814
|
}),
|
|
12764
12815
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
12765
|
-
.input(
|
|
12766
|
-
.output(
|
|
12816
|
+
.input(types_147.storageCapability.methods.abortUpload.input.loose())
|
|
12817
|
+
.output(types_147.storageCapability.methods.abortUpload.output)
|
|
12767
12818
|
.mutation(async ({ input, ctx }) => {
|
|
12768
12819
|
const { nodeId, ...methodInput } = input;
|
|
12769
12820
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12771,8 +12822,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12771
12822
|
return p.abortUpload(methodInput);
|
|
12772
12823
|
}),
|
|
12773
12824
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
12774
|
-
.input(
|
|
12775
|
-
.output(
|
|
12825
|
+
.input(types_147.storageCapability.methods.beginDownload.input.loose())
|
|
12826
|
+
.output(types_147.storageCapability.methods.beginDownload.output)
|
|
12776
12827
|
.mutation(async ({ input, ctx }) => {
|
|
12777
12828
|
const { nodeId, ...methodInput } = input;
|
|
12778
12829
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12780,8 +12831,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12780
12831
|
return p.beginDownload(methodInput);
|
|
12781
12832
|
}),
|
|
12782
12833
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
12783
|
-
.input(
|
|
12784
|
-
.output(
|
|
12834
|
+
.input(types_147.storageCapability.methods.readChunk.input.loose())
|
|
12835
|
+
.output(types_147.storageCapability.methods.readChunk.output)
|
|
12785
12836
|
.query(async ({ input, ctx }) => {
|
|
12786
12837
|
const { nodeId, ...methodInput } = input;
|
|
12787
12838
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12789,8 +12840,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12789
12840
|
return p.readChunk(methodInput);
|
|
12790
12841
|
}),
|
|
12791
12842
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
12792
|
-
.input(
|
|
12793
|
-
.output(
|
|
12843
|
+
.input(types_147.storageCapability.methods.endDownload.input.loose())
|
|
12844
|
+
.output(types_147.storageCapability.methods.endDownload.output)
|
|
12794
12845
|
.mutation(async ({ input, ctx }) => {
|
|
12795
12846
|
const { nodeId, ...methodInput } = input;
|
|
12796
12847
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12798,8 +12849,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12798
12849
|
return p.endDownload(methodInput);
|
|
12799
12850
|
}),
|
|
12800
12851
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
12801
|
-
.input(
|
|
12802
|
-
.output(
|
|
12852
|
+
.input(types_147.storageCapability.methods.listLocations.input.loose())
|
|
12853
|
+
.output(types_147.storageCapability.methods.listLocations.output)
|
|
12803
12854
|
.query(async ({ input, ctx }) => {
|
|
12804
12855
|
const { nodeId, ...methodInput } = input;
|
|
12805
12856
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12808,14 +12859,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12808
12859
|
}),
|
|
12809
12860
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
12810
12861
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12811
|
-
.output(
|
|
12862
|
+
.output(types_147.storageCapability.methods.listLocationDeclarations.output)
|
|
12812
12863
|
.query(async ({ input, ctx }) => {
|
|
12813
12864
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12814
12865
|
return p.listLocationDeclarations();
|
|
12815
12866
|
}),
|
|
12816
12867
|
listDrainProgress: trpc_middleware_js_1.protectedProcedure
|
|
12817
12868
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12818
|
-
.output(
|
|
12869
|
+
.output(types_147.storageCapability.methods.listDrainProgress.output)
|
|
12819
12870
|
.query(async ({ input, ctx }) => {
|
|
12820
12871
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12821
12872
|
return p.listDrainProgress();
|
|
@@ -12825,8 +12876,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
12825
12876
|
function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
12826
12877
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12827
12878
|
listTables: trpc_middleware_js_1.adminProcedure
|
|
12828
|
-
.input(
|
|
12829
|
-
.output(
|
|
12879
|
+
.input(types_148.storageAdminCapability.methods.listTables.input.loose())
|
|
12880
|
+
.output(types_148.storageAdminCapability.methods.listTables.output)
|
|
12830
12881
|
.query(async ({ input, ctx }) => {
|
|
12831
12882
|
const { nodeId, ...methodInput } = input;
|
|
12832
12883
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12834,8 +12885,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12834
12885
|
return p.listTables(methodInput);
|
|
12835
12886
|
}),
|
|
12836
12887
|
listKinds: trpc_middleware_js_1.adminProcedure
|
|
12837
|
-
.input(
|
|
12838
|
-
.output(
|
|
12888
|
+
.input(types_148.storageAdminCapability.methods.listKinds.input.loose())
|
|
12889
|
+
.output(types_148.storageAdminCapability.methods.listKinds.output)
|
|
12839
12890
|
.query(async ({ input, ctx }) => {
|
|
12840
12891
|
const { nodeId, ...methodInput } = input;
|
|
12841
12892
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12843,8 +12894,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12843
12894
|
return p.listKinds(methodInput);
|
|
12844
12895
|
}),
|
|
12845
12896
|
readRecords: trpc_middleware_js_1.adminProcedure
|
|
12846
|
-
.input(
|
|
12847
|
-
.output(
|
|
12897
|
+
.input(types_148.storageAdminCapability.methods.readRecords.input.loose())
|
|
12898
|
+
.output(types_148.storageAdminCapability.methods.readRecords.output)
|
|
12848
12899
|
.query(async ({ input, ctx }) => {
|
|
12849
12900
|
const { nodeId, ...methodInput } = input;
|
|
12850
12901
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12852,8 +12903,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12852
12903
|
return p.readRecords(methodInput);
|
|
12853
12904
|
}),
|
|
12854
12905
|
staleDataReport: trpc_middleware_js_1.adminProcedure
|
|
12855
|
-
.input(
|
|
12856
|
-
.output(
|
|
12906
|
+
.input(types_148.storageAdminCapability.methods.staleDataReport.input.loose())
|
|
12907
|
+
.output(types_148.storageAdminCapability.methods.staleDataReport.output)
|
|
12857
12908
|
.query(async ({ input, ctx }) => {
|
|
12858
12909
|
const { nodeId, ...methodInput } = input;
|
|
12859
12910
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12861,8 +12912,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12861
12912
|
return p.staleDataReport(methodInput);
|
|
12862
12913
|
}),
|
|
12863
12914
|
scanStaleData: trpc_middleware_js_1.adminProcedure
|
|
12864
|
-
.input(
|
|
12865
|
-
.output(
|
|
12915
|
+
.input(types_148.storageAdminCapability.methods.scanStaleData.input.loose())
|
|
12916
|
+
.output(types_148.storageAdminCapability.methods.scanStaleData.output)
|
|
12866
12917
|
.mutation(async ({ input, ctx }) => {
|
|
12867
12918
|
const { nodeId, ...methodInput } = input;
|
|
12868
12919
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12870,8 +12921,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12870
12921
|
return p.scanStaleData(methodInput);
|
|
12871
12922
|
}),
|
|
12872
12923
|
dropOrphanedKind: trpc_middleware_js_1.adminProcedure
|
|
12873
|
-
.input(
|
|
12874
|
-
.output(
|
|
12924
|
+
.input(types_148.storageAdminCapability.methods.dropOrphanedKind.input.loose())
|
|
12925
|
+
.output(types_148.storageAdminCapability.methods.dropOrphanedKind.output)
|
|
12875
12926
|
.mutation(async ({ input, ctx }) => {
|
|
12876
12927
|
const { nodeId, ...methodInput } = input;
|
|
12877
12928
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12879,8 +12930,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12879
12930
|
return p.dropOrphanedKind(methodInput);
|
|
12880
12931
|
}),
|
|
12881
12932
|
unsetStaleSettingsKey: trpc_middleware_js_1.adminProcedure
|
|
12882
|
-
.input(
|
|
12883
|
-
.output(
|
|
12933
|
+
.input(types_148.storageAdminCapability.methods.unsetStaleSettingsKey.input.loose())
|
|
12934
|
+
.output(types_148.storageAdminCapability.methods.unsetStaleSettingsKey.output)
|
|
12884
12935
|
.mutation(async ({ input, ctx }) => {
|
|
12885
12936
|
const { nodeId, ...methodInput } = input;
|
|
12886
12937
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12892,8 +12943,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
12892
12943
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
12893
12944
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12894
12945
|
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
12895
|
-
.input(
|
|
12896
|
-
.output(
|
|
12946
|
+
.input(types_149.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
12947
|
+
.output(types_149.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
12897
12948
|
.query(async ({ input, ctx }) => {
|
|
12898
12949
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12899
12950
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12901,8 +12952,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
12901
12952
|
return p.getEvictableUsage(methodInput);
|
|
12902
12953
|
}),
|
|
12903
12954
|
evict: trpc_middleware_js_1.adminProcedure
|
|
12904
|
-
.input(
|
|
12905
|
-
.output(
|
|
12955
|
+
.input(types_149.storageEvictableCapability.methods.evict.input.loose())
|
|
12956
|
+
.output(types_149.storageEvictableCapability.methods.evict.output)
|
|
12906
12957
|
.mutation(async ({ input, ctx }) => {
|
|
12907
12958
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12908
12959
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12914,8 +12965,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
12914
12965
|
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
12915
12966
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12916
12967
|
plan: trpc_middleware_js_1.adminProcedure
|
|
12917
|
-
.input(
|
|
12918
|
-
.output(
|
|
12968
|
+
.input(types_150.storageMigrationCapability.methods.plan.input.loose())
|
|
12969
|
+
.output(types_150.storageMigrationCapability.methods.plan.output)
|
|
12919
12970
|
.query(async ({ input, ctx }) => {
|
|
12920
12971
|
const { nodeId, ...methodInput } = input;
|
|
12921
12972
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12923,8 +12974,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12923
12974
|
return p.plan(methodInput);
|
|
12924
12975
|
}),
|
|
12925
12976
|
start: trpc_middleware_js_1.adminProcedure
|
|
12926
|
-
.input(
|
|
12927
|
-
.output(
|
|
12977
|
+
.input(types_150.storageMigrationCapability.methods.start.input.loose())
|
|
12978
|
+
.output(types_150.storageMigrationCapability.methods.start.output)
|
|
12928
12979
|
.mutation(async ({ input, ctx }) => {
|
|
12929
12980
|
const { nodeId, ...methodInput } = input;
|
|
12930
12981
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12932,8 +12983,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12932
12983
|
return p.start(methodInput);
|
|
12933
12984
|
}),
|
|
12934
12985
|
status: trpc_middleware_js_1.adminProcedure
|
|
12935
|
-
.input(
|
|
12936
|
-
.output(
|
|
12986
|
+
.input(types_150.storageMigrationCapability.methods.status.input.loose())
|
|
12987
|
+
.output(types_150.storageMigrationCapability.methods.status.output)
|
|
12937
12988
|
.query(async ({ input, ctx }) => {
|
|
12938
12989
|
const { nodeId, ...methodInput } = input;
|
|
12939
12990
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12941,8 +12992,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12941
12992
|
return p.status(methodInput);
|
|
12942
12993
|
}),
|
|
12943
12994
|
cancel: trpc_middleware_js_1.adminProcedure
|
|
12944
|
-
.input(
|
|
12945
|
-
.output(
|
|
12995
|
+
.input(types_150.storageMigrationCapability.methods.cancel.input.loose())
|
|
12996
|
+
.output(types_150.storageMigrationCapability.methods.cancel.output)
|
|
12946
12997
|
.mutation(async ({ input, ctx }) => {
|
|
12947
12998
|
const { nodeId, ...methodInput } = input;
|
|
12948
12999
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12950,8 +13001,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12950
13001
|
return p.cancel(methodInput);
|
|
12951
13002
|
}),
|
|
12952
13003
|
movers: trpc_middleware_js_1.adminProcedure
|
|
12953
|
-
.input(
|
|
12954
|
-
.output(
|
|
13004
|
+
.input(types_150.storageMigrationCapability.methods.movers.input.loose())
|
|
13005
|
+
.output(types_150.storageMigrationCapability.methods.movers.output)
|
|
12955
13006
|
.query(async ({ input, ctx }) => {
|
|
12956
13007
|
const { nodeId, ...methodInput } = input;
|
|
12957
13008
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12959,8 +13010,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12959
13010
|
return p.movers(methodInput);
|
|
12960
13011
|
}),
|
|
12961
13012
|
moverClearance: trpc_middleware_js_1.adminProcedure
|
|
12962
|
-
.input(
|
|
12963
|
-
.output(
|
|
13013
|
+
.input(types_150.storageMigrationCapability.methods.moverClearance.input.loose())
|
|
13014
|
+
.output(types_150.storageMigrationCapability.methods.moverClearance.output)
|
|
12964
13015
|
.query(async ({ input, ctx }) => {
|
|
12965
13016
|
const { nodeId, ...methodInput } = input;
|
|
12966
13017
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12968,8 +13019,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12968
13019
|
return p.moverClearance(methodInput);
|
|
12969
13020
|
}),
|
|
12970
13021
|
residue: trpc_middleware_js_1.adminProcedure
|
|
12971
|
-
.input(
|
|
12972
|
-
.output(
|
|
13022
|
+
.input(types_150.storageMigrationCapability.methods.residue.input.loose())
|
|
13023
|
+
.output(types_150.storageMigrationCapability.methods.residue.output)
|
|
12973
13024
|
.query(async ({ input, ctx }) => {
|
|
12974
13025
|
const { nodeId, ...methodInput } = input;
|
|
12975
13026
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12977,8 +13028,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12977
13028
|
return p.residue(methodInput);
|
|
12978
13029
|
}),
|
|
12979
13030
|
drain: trpc_middleware_js_1.adminProcedure
|
|
12980
|
-
.input(
|
|
12981
|
-
.output(
|
|
13031
|
+
.input(types_150.storageMigrationCapability.methods.drain.input.loose())
|
|
13032
|
+
.output(types_150.storageMigrationCapability.methods.drain.output)
|
|
12982
13033
|
.mutation(async ({ input, ctx }) => {
|
|
12983
13034
|
const { nodeId, ...methodInput } = input;
|
|
12984
13035
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12986,8 +13037,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12986
13037
|
return p.drain(methodInput);
|
|
12987
13038
|
}),
|
|
12988
13039
|
cleanupStart: trpc_middleware_js_1.adminProcedure
|
|
12989
|
-
.input(
|
|
12990
|
-
.output(
|
|
13040
|
+
.input(types_150.storageMigrationCapability.methods.cleanupStart.input.loose())
|
|
13041
|
+
.output(types_150.storageMigrationCapability.methods.cleanupStart.output)
|
|
12991
13042
|
.mutation(async ({ input, ctx }) => {
|
|
12992
13043
|
const { nodeId, ...methodInput } = input;
|
|
12993
13044
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12995,8 +13046,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
12995
13046
|
return p.cleanupStart(methodInput);
|
|
12996
13047
|
}),
|
|
12997
13048
|
cleanupStatus: trpc_middleware_js_1.adminProcedure
|
|
12998
|
-
.input(
|
|
12999
|
-
.output(
|
|
13049
|
+
.input(types_150.storageMigrationCapability.methods.cleanupStatus.input.loose())
|
|
13050
|
+
.output(types_150.storageMigrationCapability.methods.cleanupStatus.output)
|
|
13000
13051
|
.query(async ({ input, ctx }) => {
|
|
13001
13052
|
const { nodeId, ...methodInput } = input;
|
|
13002
13053
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13004,8 +13055,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
13004
13055
|
return p.cleanupStatus(methodInput);
|
|
13005
13056
|
}),
|
|
13006
13057
|
cleanupCancel: trpc_middleware_js_1.adminProcedure
|
|
13007
|
-
.input(
|
|
13008
|
-
.output(
|
|
13058
|
+
.input(types_150.storageMigrationCapability.methods.cleanupCancel.input.loose())
|
|
13059
|
+
.output(types_150.storageMigrationCapability.methods.cleanupCancel.output)
|
|
13009
13060
|
.mutation(async ({ input, ctx }) => {
|
|
13010
13061
|
const { nodeId, ...methodInput } = input;
|
|
13011
13062
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13013,8 +13064,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
13013
13064
|
return p.cleanupCancel(methodInput);
|
|
13014
13065
|
}),
|
|
13015
13066
|
history: trpc_middleware_js_1.adminProcedure
|
|
13016
|
-
.input(
|
|
13017
|
-
.output(
|
|
13067
|
+
.input(types_150.storageMigrationCapability.methods.history.input.loose())
|
|
13068
|
+
.output(types_150.storageMigrationCapability.methods.history.output)
|
|
13018
13069
|
.query(async ({ input, ctx }) => {
|
|
13019
13070
|
const { nodeId, ...methodInput } = input;
|
|
13020
13071
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13026,8 +13077,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
13026
13077
|
function createCapRouter_storageOccupancy(getProvider, createRemoteProxy) {
|
|
13027
13078
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13028
13079
|
getOccupancy: trpc_middleware_js_1.adminProcedure
|
|
13029
|
-
.input(
|
|
13030
|
-
.output(
|
|
13080
|
+
.input(types_151.storageOccupancyCapability.methods.getOccupancy.input.loose())
|
|
13081
|
+
.output(types_151.storageOccupancyCapability.methods.getOccupancy.output)
|
|
13031
13082
|
.query(async ({ input, ctx }) => {
|
|
13032
13083
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13033
13084
|
const p = resolveProvider('storage-occupancy', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13040,14 +13091,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13040
13091
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13041
13092
|
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
13042
13093
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
13043
|
-
.output(
|
|
13094
|
+
.output(types_152.storageProviderCapability.methods.getProviderInfo.output)
|
|
13044
13095
|
.query(async ({ input, ctx }) => {
|
|
13045
13096
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
13046
13097
|
return p.getProviderInfo();
|
|
13047
13098
|
}),
|
|
13048
13099
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
13049
|
-
.input(
|
|
13050
|
-
.output(
|
|
13100
|
+
.input(types_152.storageProviderCapability.methods.testLocation.input.loose())
|
|
13101
|
+
.output(types_152.storageProviderCapability.methods.testLocation.output)
|
|
13051
13102
|
.query(async ({ input, ctx }) => {
|
|
13052
13103
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13053
13104
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13055,8 +13106,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13055
13106
|
return p.testLocation(methodInput);
|
|
13056
13107
|
}),
|
|
13057
13108
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
13058
|
-
.input(
|
|
13059
|
-
.output(
|
|
13109
|
+
.input(types_152.storageProviderCapability.methods.resolve.input.loose())
|
|
13110
|
+
.output(types_152.storageProviderCapability.methods.resolve.output)
|
|
13060
13111
|
.query(async ({ input, ctx }) => {
|
|
13061
13112
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13062
13113
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13064,8 +13115,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13064
13115
|
return p.resolve(methodInput);
|
|
13065
13116
|
}),
|
|
13066
13117
|
write: trpc_middleware_js_1.adminProcedure
|
|
13067
|
-
.input(
|
|
13068
|
-
.output(
|
|
13118
|
+
.input(types_152.storageProviderCapability.methods.write.input.loose())
|
|
13119
|
+
.output(types_152.storageProviderCapability.methods.write.output)
|
|
13069
13120
|
.mutation(async ({ input, ctx }) => {
|
|
13070
13121
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13071
13122
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13073,8 +13124,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13073
13124
|
return p.write(methodInput);
|
|
13074
13125
|
}),
|
|
13075
13126
|
read: trpc_middleware_js_1.adminProcedure
|
|
13076
|
-
.input(
|
|
13077
|
-
.output(
|
|
13127
|
+
.input(types_152.storageProviderCapability.methods.read.input.loose())
|
|
13128
|
+
.output(types_152.storageProviderCapability.methods.read.output)
|
|
13078
13129
|
.query(async ({ input, ctx }) => {
|
|
13079
13130
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13080
13131
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13082,8 +13133,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13082
13133
|
return p.read(methodInput);
|
|
13083
13134
|
}),
|
|
13084
13135
|
exists: trpc_middleware_js_1.adminProcedure
|
|
13085
|
-
.input(
|
|
13086
|
-
.output(
|
|
13136
|
+
.input(types_152.storageProviderCapability.methods.exists.input.loose())
|
|
13137
|
+
.output(types_152.storageProviderCapability.methods.exists.output)
|
|
13087
13138
|
.query(async ({ input, ctx }) => {
|
|
13088
13139
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13089
13140
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13091,8 +13142,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13091
13142
|
return p.exists(methodInput);
|
|
13092
13143
|
}),
|
|
13093
13144
|
list: trpc_middleware_js_1.adminProcedure
|
|
13094
|
-
.input(
|
|
13095
|
-
.output(
|
|
13145
|
+
.input(types_152.storageProviderCapability.methods.list.input.loose())
|
|
13146
|
+
.output(types_152.storageProviderCapability.methods.list.output)
|
|
13096
13147
|
.query(async ({ input, ctx }) => {
|
|
13097
13148
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13098
13149
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13100,8 +13151,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13100
13151
|
return p.list(methodInput);
|
|
13101
13152
|
}),
|
|
13102
13153
|
delete: trpc_middleware_js_1.adminProcedure
|
|
13103
|
-
.input(
|
|
13104
|
-
.output(
|
|
13154
|
+
.input(types_152.storageProviderCapability.methods.delete.input.loose())
|
|
13155
|
+
.output(types_152.storageProviderCapability.methods.delete.output)
|
|
13105
13156
|
.mutation(async ({ input, ctx }) => {
|
|
13106
13157
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13107
13158
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13109,8 +13160,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13109
13160
|
return p.delete(methodInput);
|
|
13110
13161
|
}),
|
|
13111
13162
|
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
13112
|
-
.input(
|
|
13113
|
-
.output(
|
|
13163
|
+
.input(types_152.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
13164
|
+
.output(types_152.storageProviderCapability.methods.getAvailableSpace.output)
|
|
13114
13165
|
.query(async ({ input, ctx }) => {
|
|
13115
13166
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13116
13167
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13118,8 +13169,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13118
13169
|
return p.getAvailableSpace(methodInput);
|
|
13119
13170
|
}),
|
|
13120
13171
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
13121
|
-
.input(
|
|
13122
|
-
.output(
|
|
13172
|
+
.input(types_152.storageProviderCapability.methods.beginUpload.input.loose())
|
|
13173
|
+
.output(types_152.storageProviderCapability.methods.beginUpload.output)
|
|
13123
13174
|
.mutation(async ({ input, ctx }) => {
|
|
13124
13175
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13125
13176
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13127,8 +13178,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13127
13178
|
return p.beginUpload(methodInput);
|
|
13128
13179
|
}),
|
|
13129
13180
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
13130
|
-
.input(
|
|
13131
|
-
.output(
|
|
13181
|
+
.input(types_152.storageProviderCapability.methods.writeChunk.input.loose())
|
|
13182
|
+
.output(types_152.storageProviderCapability.methods.writeChunk.output)
|
|
13132
13183
|
.mutation(async ({ input, ctx }) => {
|
|
13133
13184
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13134
13185
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13136,8 +13187,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13136
13187
|
return p.writeChunk(methodInput);
|
|
13137
13188
|
}),
|
|
13138
13189
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
13139
|
-
.input(
|
|
13140
|
-
.output(
|
|
13190
|
+
.input(types_152.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
13191
|
+
.output(types_152.storageProviderCapability.methods.finalizeUpload.output)
|
|
13141
13192
|
.mutation(async ({ input, ctx }) => {
|
|
13142
13193
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13143
13194
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13145,8 +13196,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13145
13196
|
return p.finalizeUpload(methodInput);
|
|
13146
13197
|
}),
|
|
13147
13198
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
13148
|
-
.input(
|
|
13149
|
-
.output(
|
|
13199
|
+
.input(types_152.storageProviderCapability.methods.abortUpload.input.loose())
|
|
13200
|
+
.output(types_152.storageProviderCapability.methods.abortUpload.output)
|
|
13150
13201
|
.mutation(async ({ input, ctx }) => {
|
|
13151
13202
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13152
13203
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13154,8 +13205,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13154
13205
|
return p.abortUpload(methodInput);
|
|
13155
13206
|
}),
|
|
13156
13207
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
13157
|
-
.input(
|
|
13158
|
-
.output(
|
|
13208
|
+
.input(types_152.storageProviderCapability.methods.beginDownload.input.loose())
|
|
13209
|
+
.output(types_152.storageProviderCapability.methods.beginDownload.output)
|
|
13159
13210
|
.mutation(async ({ input, ctx }) => {
|
|
13160
13211
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13161
13212
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13163,8 +13214,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13163
13214
|
return p.beginDownload(methodInput);
|
|
13164
13215
|
}),
|
|
13165
13216
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
13166
|
-
.input(
|
|
13167
|
-
.output(
|
|
13217
|
+
.input(types_152.storageProviderCapability.methods.readChunk.input.loose())
|
|
13218
|
+
.output(types_152.storageProviderCapability.methods.readChunk.output)
|
|
13168
13219
|
.query(async ({ input, ctx }) => {
|
|
13169
13220
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13170
13221
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13172,8 +13223,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
13172
13223
|
return p.readChunk(methodInput);
|
|
13173
13224
|
}),
|
|
13174
13225
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
13175
|
-
.input(
|
|
13176
|
-
.output(
|
|
13226
|
+
.input(types_152.storageProviderCapability.methods.endDownload.input.loose())
|
|
13227
|
+
.output(types_152.storageProviderCapability.methods.endDownload.output)
|
|
13177
13228
|
.mutation(async ({ input, ctx }) => {
|
|
13178
13229
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13179
13230
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13212,8 +13263,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13212
13263
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
13213
13264
|
}),
|
|
13214
13265
|
reportStreamSignal: trpc_middleware_js_1.protectedProcedure
|
|
13215
|
-
.input(
|
|
13216
|
-
.output(
|
|
13266
|
+
.input(types_153.streamBrokerCapability.methods.reportStreamSignal.input.loose())
|
|
13267
|
+
.output(types_153.streamBrokerCapability.methods.reportStreamSignal.output)
|
|
13217
13268
|
.mutation(async ({ input, ctx }) => {
|
|
13218
13269
|
const { nodeId, ...methodInput } = input;
|
|
13219
13270
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13221,8 +13272,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13221
13272
|
return p.reportStreamSignal(methodInput);
|
|
13222
13273
|
}),
|
|
13223
13274
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
13224
|
-
.input(
|
|
13225
|
-
.output(
|
|
13275
|
+
.input(types_153.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
13276
|
+
.output(types_153.streamBrokerCapability.methods.publishCameraStream.output)
|
|
13226
13277
|
.mutation(async ({ input, ctx }) => {
|
|
13227
13278
|
const { nodeId, ...methodInput } = input;
|
|
13228
13279
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13230,8 +13281,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13230
13281
|
return p.publishCameraStream(methodInput);
|
|
13231
13282
|
}),
|
|
13232
13283
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
13233
|
-
.input(
|
|
13234
|
-
.output(
|
|
13284
|
+
.input(types_153.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
13285
|
+
.output(types_153.streamBrokerCapability.methods.retractCameraStream.output)
|
|
13235
13286
|
.mutation(async ({ input, ctx }) => {
|
|
13236
13287
|
const { nodeId, ...methodInput } = input;
|
|
13237
13288
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13239,8 +13290,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13239
13290
|
return p.retractCameraStream(methodInput);
|
|
13240
13291
|
}),
|
|
13241
13292
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
13242
|
-
.input(
|
|
13243
|
-
.output(
|
|
13293
|
+
.input(types_153.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
13294
|
+
.output(types_153.streamBrokerCapability.methods.assignProfile.output)
|
|
13244
13295
|
.mutation(async ({ input, ctx }) => {
|
|
13245
13296
|
const { nodeId, ...methodInput } = input;
|
|
13246
13297
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13248,8 +13299,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13248
13299
|
return p.assignProfile(methodInput);
|
|
13249
13300
|
}),
|
|
13250
13301
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
13251
|
-
.input(
|
|
13252
|
-
.output(
|
|
13302
|
+
.input(types_153.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
13303
|
+
.output(types_153.streamBrokerCapability.methods.unassignProfile.output)
|
|
13253
13304
|
.mutation(async ({ input, ctx }) => {
|
|
13254
13305
|
const { nodeId, ...methodInput } = input;
|
|
13255
13306
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13257,8 +13308,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13257
13308
|
return p.unassignProfile(methodInput);
|
|
13258
13309
|
}),
|
|
13259
13310
|
forgetDeviceHardware: trpc_middleware_js_1.adminProcedure
|
|
13260
|
-
.input(
|
|
13261
|
-
.output(
|
|
13311
|
+
.input(types_153.streamBrokerCapability.methods.forgetDeviceHardware.input.loose())
|
|
13312
|
+
.output(types_153.streamBrokerCapability.methods.forgetDeviceHardware.output)
|
|
13262
13313
|
.mutation(async ({ input, ctx }) => {
|
|
13263
13314
|
const { nodeId, ...methodInput } = input;
|
|
13264
13315
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13266,8 +13317,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13266
13317
|
return p.forgetDeviceHardware(methodInput);
|
|
13267
13318
|
}),
|
|
13268
13319
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
13269
|
-
.input(
|
|
13270
|
-
.output(
|
|
13320
|
+
.input(types_153.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
13321
|
+
.output(types_153.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
13271
13322
|
.mutation(async ({ input, ctx }) => {
|
|
13272
13323
|
const { nodeId, ...methodInput } = input;
|
|
13273
13324
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13275,8 +13326,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13275
13326
|
return p.renderPreBufferClip(methodInput);
|
|
13276
13327
|
}),
|
|
13277
13328
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
13278
|
-
.input(
|
|
13279
|
-
.output(
|
|
13329
|
+
.input(types_153.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
13330
|
+
.output(types_153.streamBrokerCapability.methods.produceEventMedia.output)
|
|
13280
13331
|
.mutation(async ({ input, ctx }) => {
|
|
13281
13332
|
const { nodeId, ...methodInput } = input;
|
|
13282
13333
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13284,8 +13335,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13284
13335
|
return p.produceEventMedia(methodInput);
|
|
13285
13336
|
}),
|
|
13286
13337
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
13287
|
-
.input(
|
|
13288
|
-
.output(
|
|
13338
|
+
.input(types_153.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
13339
|
+
.output(types_153.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
13289
13340
|
.mutation(async ({ input, ctx }) => {
|
|
13290
13341
|
const { nodeId, ...methodInput } = input;
|
|
13291
13342
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13294,21 +13345,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13294
13345
|
}),
|
|
13295
13346
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
13296
13347
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13297
|
-
.output(
|
|
13348
|
+
.output(types_153.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
13298
13349
|
.query(async ({ input, ctx }) => {
|
|
13299
13350
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13300
13351
|
return p.listAllCameraStreams();
|
|
13301
13352
|
}),
|
|
13302
13353
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
13303
13354
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13304
|
-
.output(
|
|
13355
|
+
.output(types_153.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
13305
13356
|
.query(async ({ input, ctx }) => {
|
|
13306
13357
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13307
13358
|
return p.listAllProfileSlots();
|
|
13308
13359
|
}),
|
|
13309
13360
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
13310
|
-
.input(
|
|
13311
|
-
.output(
|
|
13361
|
+
.input(types_153.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
13362
|
+
.output(types_153.streamBrokerCapability.methods.getBrokerStats.output)
|
|
13312
13363
|
.query(async ({ input, ctx }) => {
|
|
13313
13364
|
const { nodeId, ...methodInput } = input;
|
|
13314
13365
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13316,8 +13367,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13316
13367
|
return p.getBrokerStats(methodInput);
|
|
13317
13368
|
}),
|
|
13318
13369
|
previewDerivedEncode: trpc_middleware_js_1.protectedProcedure
|
|
13319
|
-
.input(
|
|
13320
|
-
.output(
|
|
13370
|
+
.input(types_153.streamBrokerCapability.methods.previewDerivedEncode.input.loose())
|
|
13371
|
+
.output(types_153.streamBrokerCapability.methods.previewDerivedEncode.output)
|
|
13321
13372
|
.query(async ({ input, ctx }) => {
|
|
13322
13373
|
const { nodeId, ...methodInput } = input;
|
|
13323
13374
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13325,8 +13376,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13325
13376
|
return p.previewDerivedEncode(methodInput);
|
|
13326
13377
|
}),
|
|
13327
13378
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
13328
|
-
.input(
|
|
13329
|
-
.output(
|
|
13379
|
+
.input(types_153.streamBrokerCapability.methods.probeStream.input.loose())
|
|
13380
|
+
.output(types_153.streamBrokerCapability.methods.probeStream.output)
|
|
13330
13381
|
.mutation(async ({ input, ctx }) => {
|
|
13331
13382
|
const { nodeId, ...methodInput } = input;
|
|
13332
13383
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13334,8 +13385,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13334
13385
|
return p.probeStream(methodInput);
|
|
13335
13386
|
}),
|
|
13336
13387
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
13337
|
-
.input(
|
|
13338
|
-
.output(
|
|
13388
|
+
.input(types_153.streamBrokerCapability.methods.listClients.input.loose())
|
|
13389
|
+
.output(types_153.streamBrokerCapability.methods.listClients.output)
|
|
13339
13390
|
.query(async ({ input, ctx }) => {
|
|
13340
13391
|
const { nodeId, ...methodInput } = input;
|
|
13341
13392
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13344,14 +13395,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13344
13395
|
}),
|
|
13345
13396
|
getLiveViewerCounts: trpc_middleware_js_1.protectedProcedure
|
|
13346
13397
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13347
|
-
.output(
|
|
13398
|
+
.output(types_153.streamBrokerCapability.methods.getLiveViewerCounts.output)
|
|
13348
13399
|
.query(async ({ input, ctx }) => {
|
|
13349
13400
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13350
13401
|
return p.getLiveViewerCounts();
|
|
13351
13402
|
}),
|
|
13352
13403
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
13353
|
-
.input(
|
|
13354
|
-
.output(
|
|
13404
|
+
.input(types_153.streamBrokerCapability.methods.killClient.input.loose())
|
|
13405
|
+
.output(types_153.streamBrokerCapability.methods.killClient.output)
|
|
13355
13406
|
.mutation(async ({ input, ctx }) => {
|
|
13356
13407
|
const { nodeId, ...methodInput } = input;
|
|
13357
13408
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13359,8 +13410,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13359
13410
|
return p.killClient(methodInput);
|
|
13360
13411
|
}),
|
|
13361
13412
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
13362
|
-
.input(
|
|
13363
|
-
.output(
|
|
13413
|
+
.input(types_153.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
13414
|
+
.output(types_153.streamBrokerCapability.methods.restartProfile.output)
|
|
13364
13415
|
.mutation(async ({ input, ctx }) => {
|
|
13365
13416
|
const { nodeId, ...methodInput } = input;
|
|
13366
13417
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13368,8 +13419,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13368
13419
|
return p.restartProfile(methodInput);
|
|
13369
13420
|
}),
|
|
13370
13421
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
13371
|
-
.input(
|
|
13372
|
-
.output(
|
|
13422
|
+
.input(types_153.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
13423
|
+
.output(types_153.streamBrokerCapability.methods.getStreamUrl.output)
|
|
13373
13424
|
.query(async ({ input, ctx }) => {
|
|
13374
13425
|
const { nodeId, ...methodInput } = input;
|
|
13375
13426
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13377,8 +13428,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13377
13428
|
return p.getStreamUrl(methodInput);
|
|
13378
13429
|
}),
|
|
13379
13430
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
13380
|
-
.input(
|
|
13381
|
-
.output(
|
|
13431
|
+
.input(types_153.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
13432
|
+
.output(types_153.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
13382
13433
|
.mutation(async ({ input, ctx }) => {
|
|
13383
13434
|
const { nodeId, ...methodInput } = input;
|
|
13384
13435
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13386,8 +13437,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13386
13437
|
return p.getStreamWithCodec(methodInput);
|
|
13387
13438
|
}),
|
|
13388
13439
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
13389
|
-
.input(
|
|
13390
|
-
.output(
|
|
13440
|
+
.input(types_153.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
13441
|
+
.output(types_153.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
13391
13442
|
.mutation(async ({ input, ctx }) => {
|
|
13392
13443
|
const { nodeId, ...methodInput } = input;
|
|
13393
13444
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13395,8 +13446,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13395
13446
|
return p.releaseStreamWithCodec(methodInput);
|
|
13396
13447
|
}),
|
|
13397
13448
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
13398
|
-
.input(
|
|
13399
|
-
.output(
|
|
13449
|
+
.input(types_153.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
13450
|
+
.output(types_153.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
13400
13451
|
.mutation(async ({ input, ctx }) => {
|
|
13401
13452
|
const { nodeId, ...methodInput } = input;
|
|
13402
13453
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13404,8 +13455,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13404
13455
|
return p.acquireEgressTranscode(methodInput);
|
|
13405
13456
|
}),
|
|
13406
13457
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
13407
|
-
.input(
|
|
13408
|
-
.output(
|
|
13458
|
+
.input(types_153.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
13459
|
+
.output(types_153.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
13409
13460
|
.mutation(async ({ input, ctx }) => {
|
|
13410
13461
|
const { nodeId, ...methodInput } = input;
|
|
13411
13462
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13413,8 +13464,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13413
13464
|
return p.releaseEgressTranscode(methodInput);
|
|
13414
13465
|
}),
|
|
13415
13466
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
13416
|
-
.input(
|
|
13417
|
-
.output(
|
|
13467
|
+
.input(types_153.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
13468
|
+
.output(types_153.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
13418
13469
|
.mutation(async ({ input, ctx }) => {
|
|
13419
13470
|
const { nodeId, ...methodInput } = input;
|
|
13420
13471
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13422,8 +13473,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13422
13473
|
return p.subscribeAudioChunks(methodInput);
|
|
13423
13474
|
}),
|
|
13424
13475
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
13425
|
-
.input(
|
|
13426
|
-
.output(
|
|
13476
|
+
.input(types_153.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
13477
|
+
.output(types_153.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
13427
13478
|
.query(async ({ input, ctx }) => {
|
|
13428
13479
|
const { nodeId, ...methodInput } = input;
|
|
13429
13480
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13431,8 +13482,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13431
13482
|
return p.pullAudioChunks(methodInput);
|
|
13432
13483
|
}),
|
|
13433
13484
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
13434
|
-
.input(
|
|
13435
|
-
.output(
|
|
13485
|
+
.input(types_153.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
13486
|
+
.output(types_153.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
13436
13487
|
.mutation(async ({ input, ctx }) => {
|
|
13437
13488
|
const { nodeId, ...methodInput } = input;
|
|
13438
13489
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13440,8 +13491,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13440
13491
|
return p.unsubscribeAudioChunks(methodInput);
|
|
13441
13492
|
}),
|
|
13442
13493
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
13443
|
-
.input(
|
|
13444
|
-
.output(
|
|
13494
|
+
.input(types_153.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
13495
|
+
.output(types_153.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
13445
13496
|
.mutation(async ({ input, ctx }) => {
|
|
13446
13497
|
const { nodeId, ...methodInput } = input;
|
|
13447
13498
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13449,8 +13500,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13449
13500
|
return p.setPreBufferDuration(methodInput);
|
|
13450
13501
|
}),
|
|
13451
13502
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
13452
|
-
.input(
|
|
13453
|
-
.output(
|
|
13503
|
+
.input(types_153.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
13504
|
+
.output(types_153.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
13454
13505
|
.query(async ({ input, ctx }) => {
|
|
13455
13506
|
const { nodeId, ...methodInput } = input;
|
|
13456
13507
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13459,14 +13510,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13459
13510
|
}),
|
|
13460
13511
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
13461
13512
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13462
|
-
.output(
|
|
13513
|
+
.output(types_153.streamBrokerCapability.methods.getRtspPort.output)
|
|
13463
13514
|
.query(async ({ input, ctx }) => {
|
|
13464
13515
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13465
13516
|
return p.getRtspPort();
|
|
13466
13517
|
}),
|
|
13467
13518
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
13468
|
-
.input(
|
|
13469
|
-
.output(
|
|
13519
|
+
.input(types_153.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
13520
|
+
.output(types_153.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
13470
13521
|
.query(async ({ input, ctx }) => {
|
|
13471
13522
|
const { nodeId, ...methodInput } = input;
|
|
13472
13523
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13474,8 +13525,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13474
13525
|
return p.getAllRtspEntries(methodInput);
|
|
13475
13526
|
}),
|
|
13476
13527
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
13477
|
-
.input(
|
|
13478
|
-
.output(
|
|
13528
|
+
.input(types_153.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
13529
|
+
.output(types_153.streamBrokerCapability.methods.getRtspEntry.output)
|
|
13479
13530
|
.query(async ({ input, ctx }) => {
|
|
13480
13531
|
const { nodeId, ...methodInput } = input;
|
|
13481
13532
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13483,8 +13534,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13483
13534
|
return p.getRtspEntry(methodInput);
|
|
13484
13535
|
}),
|
|
13485
13536
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
13486
|
-
.input(
|
|
13487
|
-
.output(
|
|
13537
|
+
.input(types_153.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
13538
|
+
.output(types_153.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
13488
13539
|
.mutation(async ({ input, ctx }) => {
|
|
13489
13540
|
const { nodeId, ...methodInput } = input;
|
|
13490
13541
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13492,8 +13543,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13492
13543
|
return p.regenerateRtspToken(methodInput);
|
|
13493
13544
|
}),
|
|
13494
13545
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
13495
|
-
.input(
|
|
13496
|
-
.output(
|
|
13546
|
+
.input(types_153.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
13547
|
+
.output(types_153.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
13497
13548
|
.mutation(async ({ input, ctx }) => {
|
|
13498
13549
|
const { nodeId, ...methodInput } = input;
|
|
13499
13550
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13501,8 +13552,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13501
13552
|
return p.setRtspEnabled(methodInput);
|
|
13502
13553
|
}),
|
|
13503
13554
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
13504
|
-
.input(
|
|
13505
|
-
.output(
|
|
13555
|
+
.input(types_153.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
13556
|
+
.output(types_153.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
13506
13557
|
.query(async ({ input, ctx }) => {
|
|
13507
13558
|
const { nodeId, ...methodInput } = input;
|
|
13508
13559
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13510,8 +13561,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13510
13561
|
return p.isRtspEnabled(methodInput);
|
|
13511
13562
|
}),
|
|
13512
13563
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
13513
|
-
.input(
|
|
13514
|
-
.output(
|
|
13564
|
+
.input(types_153.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
13565
|
+
.output(types_153.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
13515
13566
|
.query(async ({ input, ctx }) => {
|
|
13516
13567
|
const { nodeId, ...methodInput } = input;
|
|
13517
13568
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13519,8 +13570,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13519
13570
|
return p.getDeviceAudioMute(methodInput);
|
|
13520
13571
|
}),
|
|
13521
13572
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
13522
|
-
.input(
|
|
13523
|
-
.output(
|
|
13573
|
+
.input(types_153.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
13574
|
+
.output(types_153.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
13524
13575
|
.mutation(async ({ input, ctx }) => {
|
|
13525
13576
|
const { nodeId, ...methodInput } = input;
|
|
13526
13577
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13532,8 +13583,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
13532
13583
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
13533
13584
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13534
13585
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
13535
|
-
.input(
|
|
13536
|
-
.output(
|
|
13586
|
+
.input(types_154.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
13587
|
+
.output(types_154.streamCatalogCapability.methods.getCatalog.output)
|
|
13537
13588
|
.query(async ({ input, ctx }) => {
|
|
13538
13589
|
const { nodeId, ...methodInput } = input;
|
|
13539
13590
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13554,8 +13605,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
13554
13605
|
return p.getStatus(methodInput);
|
|
13555
13606
|
}),
|
|
13556
13607
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
13557
|
-
.input(
|
|
13558
|
-
.output(
|
|
13608
|
+
.input(types_155.streamParamsCapability.methods.getOptions.input.loose())
|
|
13609
|
+
.output(types_155.streamParamsCapability.methods.getOptions.output)
|
|
13559
13610
|
.query(async ({ input, ctx }) => {
|
|
13560
13611
|
const { nodeId, ...methodInput } = input;
|
|
13561
13612
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13563,8 +13614,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
13563
13614
|
return p.getOptions(methodInput);
|
|
13564
13615
|
}),
|
|
13565
13616
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
13566
|
-
.input(
|
|
13567
|
-
.output(
|
|
13617
|
+
.input(types_155.streamParamsCapability.methods.setProfile.input.loose())
|
|
13618
|
+
.output(types_155.streamParamsCapability.methods.setProfile.output)
|
|
13568
13619
|
.mutation(async ({ input, ctx }) => {
|
|
13569
13620
|
const { nodeId, ...methodInput } = input;
|
|
13570
13621
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13572,8 +13623,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
13572
13623
|
return p.setProfile(methodInput);
|
|
13573
13624
|
}),
|
|
13574
13625
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
13575
|
-
.input(
|
|
13576
|
-
.output(
|
|
13626
|
+
.input(types_155.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
13627
|
+
.output(types_155.streamParamsCapability.methods.getConfigSchema.output)
|
|
13577
13628
|
.query(async ({ input, ctx }) => {
|
|
13578
13629
|
const { nodeId, ...methodInput } = input;
|
|
13579
13630
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13586,7 +13637,7 @@ function createCapRouter_streamSignals(getProvider, createRemoteProxy) {
|
|
|
13586
13637
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13587
13638
|
listSignals: trpc_middleware_js_1.protectedProcedure
|
|
13588
13639
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13589
|
-
.output(
|
|
13640
|
+
.output(types_156.streamSignalsCapability.methods.listSignals.output)
|
|
13590
13641
|
.query(async ({ input, ctx }) => {
|
|
13591
13642
|
const p = resolveProvider('stream-signals', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13592
13643
|
return p.listSignals();
|
|
@@ -13605,8 +13656,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
13605
13656
|
return p.getStatus(methodInput);
|
|
13606
13657
|
}),
|
|
13607
13658
|
setState: trpc_middleware_js_1.protectedProcedure
|
|
13608
|
-
.input(
|
|
13609
|
-
.output(
|
|
13659
|
+
.input(types_157.switchCapability.methods.setState.input.loose())
|
|
13660
|
+
.output(types_157.switchCapability.methods.setState.output)
|
|
13610
13661
|
.mutation(async ({ input, ctx }) => {
|
|
13611
13662
|
const { nodeId, ...methodInput } = input;
|
|
13612
13663
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13614,8 +13665,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
13614
13665
|
return p.setState(methodInput);
|
|
13615
13666
|
}),
|
|
13616
13667
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
13617
|
-
.input(
|
|
13618
|
-
.output(
|
|
13668
|
+
.input(types_157.switchCapability.methods.getOptions.input.loose())
|
|
13669
|
+
.output(types_157.switchCapability.methods.getOptions.output)
|
|
13619
13670
|
.query(async ({ input, ctx }) => {
|
|
13620
13671
|
const { nodeId, ...methodInput } = input;
|
|
13621
13672
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13630,8 +13681,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
13630
13681
|
return fn.call(p, methodInput);
|
|
13631
13682
|
}),
|
|
13632
13683
|
powerCycle: trpc_middleware_js_1.protectedProcedure
|
|
13633
|
-
.input(
|
|
13634
|
-
.output(
|
|
13684
|
+
.input(types_157.switchCapability.methods.powerCycle.input.loose())
|
|
13685
|
+
.output(types_157.switchCapability.methods.powerCycle.output)
|
|
13635
13686
|
.mutation(async ({ input, ctx }) => {
|
|
13636
13687
|
const { nodeId, ...methodInput } = input;
|
|
13637
13688
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13646,8 +13697,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
13646
13697
|
return fn.call(p, methodInput);
|
|
13647
13698
|
}),
|
|
13648
13699
|
toggle: trpc_middleware_js_1.protectedProcedure
|
|
13649
|
-
.input(
|
|
13650
|
-
.output(
|
|
13700
|
+
.input(types_157.switchCapability.methods.toggle.input.loose())
|
|
13701
|
+
.output(types_157.switchCapability.methods.toggle.output)
|
|
13651
13702
|
.mutation(async ({ input, ctx }) => {
|
|
13652
13703
|
const { nodeId, ...methodInput } = input;
|
|
13653
13704
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13667,98 +13718,98 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
13667
13718
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13668
13719
|
info: trpc_middleware_js_1.protectedProcedure
|
|
13669
13720
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13670
|
-
.output(
|
|
13721
|
+
.output(types_158.systemCapability.methods.info.output)
|
|
13671
13722
|
.query(async ({ input, ctx }) => {
|
|
13672
13723
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13673
13724
|
return p.info();
|
|
13674
13725
|
}),
|
|
13675
13726
|
health: trpc_middleware_js_1.protectedProcedure
|
|
13676
13727
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13677
|
-
.output(
|
|
13728
|
+
.output(types_158.systemCapability.methods.health.output)
|
|
13678
13729
|
.query(async ({ input, ctx }) => {
|
|
13679
13730
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13680
13731
|
return p.health();
|
|
13681
13732
|
}),
|
|
13682
13733
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
13683
13734
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13684
|
-
.output(
|
|
13735
|
+
.output(types_158.systemCapability.methods.featureFlags.output)
|
|
13685
13736
|
.query(async ({ input, ctx }) => {
|
|
13686
13737
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13687
13738
|
return p.featureFlags();
|
|
13688
13739
|
}),
|
|
13689
13740
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
13690
13741
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13691
|
-
.output(
|
|
13742
|
+
.output(types_158.systemCapability.methods.networkAddresses.output)
|
|
13692
13743
|
.query(async ({ input, ctx }) => {
|
|
13693
13744
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13694
13745
|
return p.networkAddresses();
|
|
13695
13746
|
}),
|
|
13696
13747
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
13697
13748
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13698
|
-
.output(
|
|
13749
|
+
.output(types_158.systemCapability.methods.getRetentionConfig.output)
|
|
13699
13750
|
.query(async ({ input, ctx }) => {
|
|
13700
13751
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13701
13752
|
return p.getRetentionConfig();
|
|
13702
13753
|
}),
|
|
13703
13754
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
13704
|
-
.input(
|
|
13705
|
-
.output(
|
|
13755
|
+
.input(types_158.systemCapability.methods.setRetentionConfig.input)
|
|
13756
|
+
.output(types_158.systemCapability.methods.setRetentionConfig.output)
|
|
13706
13757
|
.mutation(async ({ input, ctx }) => {
|
|
13707
13758
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
13708
13759
|
return p.setRetentionConfig(input);
|
|
13709
13760
|
}),
|
|
13710
13761
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
13711
13762
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13712
|
-
.output(
|
|
13763
|
+
.output(types_158.systemCapability.methods.forceRetentionCleanup.output)
|
|
13713
13764
|
.mutation(async ({ input, ctx }) => {
|
|
13714
13765
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13715
13766
|
return p.forceRetentionCleanup();
|
|
13716
13767
|
}),
|
|
13717
13768
|
getSiteLocation: trpc_middleware_js_1.protectedProcedure
|
|
13718
13769
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13719
|
-
.output(
|
|
13770
|
+
.output(types_158.systemCapability.methods.getSiteLocation.output)
|
|
13720
13771
|
.query(async ({ input, ctx }) => {
|
|
13721
13772
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13722
13773
|
return p.getSiteLocation();
|
|
13723
13774
|
}),
|
|
13724
13775
|
setSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
13725
|
-
.input(
|
|
13726
|
-
.output(
|
|
13776
|
+
.input(types_158.systemCapability.methods.setSiteLocation.input)
|
|
13777
|
+
.output(types_158.systemCapability.methods.setSiteLocation.output)
|
|
13727
13778
|
.mutation(async ({ input, ctx }) => {
|
|
13728
13779
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
13729
13780
|
return p.setSiteLocation(input);
|
|
13730
13781
|
}),
|
|
13731
13782
|
detectSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
13732
13783
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13733
|
-
.output(
|
|
13784
|
+
.output(types_158.systemCapability.methods.detectSiteLocation.output)
|
|
13734
13785
|
.mutation(async ({ input, ctx }) => {
|
|
13735
13786
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13736
13787
|
return p.detectSiteLocation();
|
|
13737
13788
|
}),
|
|
13738
13789
|
getRequestCensus: trpc_middleware_js_1.adminProcedure
|
|
13739
13790
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13740
|
-
.output(
|
|
13791
|
+
.output(types_158.systemCapability.methods.getRequestCensus.output)
|
|
13741
13792
|
.query(async ({ input, ctx }) => {
|
|
13742
13793
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13743
13794
|
return p.getRequestCensus();
|
|
13744
13795
|
}),
|
|
13745
13796
|
getLoadContributions: trpc_middleware_js_1.adminProcedure
|
|
13746
13797
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13747
|
-
.output(
|
|
13798
|
+
.output(types_158.systemCapability.methods.getLoadContributions.output)
|
|
13748
13799
|
.query(async ({ input, ctx }) => {
|
|
13749
13800
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13750
13801
|
return p.getLoadContributions();
|
|
13751
13802
|
}),
|
|
13752
13803
|
getFailureContributions: trpc_middleware_js_1.adminProcedure
|
|
13753
13804
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13754
|
-
.output(
|
|
13805
|
+
.output(types_158.systemCapability.methods.getFailureContributions.output)
|
|
13755
13806
|
.query(async ({ input, ctx }) => {
|
|
13756
13807
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13757
13808
|
return p.getFailureContributions();
|
|
13758
13809
|
}),
|
|
13759
13810
|
getLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
13760
|
-
.input(
|
|
13761
|
-
.output(
|
|
13811
|
+
.input(types_158.systemCapability.methods.getLoggingSettings.input.loose())
|
|
13812
|
+
.output(types_158.systemCapability.methods.getLoggingSettings.output)
|
|
13762
13813
|
.query(async ({ input, ctx }) => {
|
|
13763
13814
|
const { nodeId, ...methodInput } = input;
|
|
13764
13815
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13766,8 +13817,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
13766
13817
|
return p.getLoggingSettings(methodInput);
|
|
13767
13818
|
}),
|
|
13768
13819
|
setLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
13769
|
-
.input(
|
|
13770
|
-
.output(
|
|
13820
|
+
.input(types_158.systemCapability.methods.setLoggingSettings.input.loose())
|
|
13821
|
+
.output(types_158.systemCapability.methods.setLoggingSettings.output)
|
|
13771
13822
|
.mutation(async ({ input, ctx }) => {
|
|
13772
13823
|
const { nodeId, ...methodInput } = input;
|
|
13773
13824
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13775,8 +13826,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
13775
13826
|
return p.setLoggingSettings(methodInput);
|
|
13776
13827
|
}),
|
|
13777
13828
|
debugWatch: trpc_middleware_js_1.adminProcedure
|
|
13778
|
-
.input(
|
|
13779
|
-
.output(
|
|
13829
|
+
.input(types_158.systemCapability.methods.debugWatch.input.loose())
|
|
13830
|
+
.output(types_158.systemCapability.methods.debugWatch.output)
|
|
13780
13831
|
.mutation(async ({ input, ctx }) => {
|
|
13781
13832
|
const { nodeId, ...methodInput } = input;
|
|
13782
13833
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13788,8 +13839,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
13788
13839
|
function createCapRouter_tags(getProvider, createRemoteProxy) {
|
|
13789
13840
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13790
13841
|
list: trpc_middleware_js_1.protectedProcedure
|
|
13791
|
-
.input(
|
|
13792
|
-
.output(
|
|
13842
|
+
.input(types_159.tagsCapability.methods.list.input.loose())
|
|
13843
|
+
.output(types_159.tagsCapability.methods.list.output)
|
|
13793
13844
|
.query(async ({ input, ctx }) => {
|
|
13794
13845
|
const { nodeId, ...methodInput } = input;
|
|
13795
13846
|
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13797,8 +13848,8 @@ function createCapRouter_tags(getProvider, createRemoteProxy) {
|
|
|
13797
13848
|
return p.list(methodInput);
|
|
13798
13849
|
}),
|
|
13799
13850
|
setStyle: trpc_middleware_js_1.adminProcedure
|
|
13800
|
-
.input(
|
|
13801
|
-
.output(
|
|
13851
|
+
.input(types_159.tagsCapability.methods.setStyle.input.loose())
|
|
13852
|
+
.output(types_159.tagsCapability.methods.setStyle.output)
|
|
13802
13853
|
.mutation(async ({ input, ctx }) => {
|
|
13803
13854
|
const { nodeId, ...methodInput } = input;
|
|
13804
13855
|
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13806,8 +13857,8 @@ function createCapRouter_tags(getProvider, createRemoteProxy) {
|
|
|
13806
13857
|
return p.setStyle(methodInput);
|
|
13807
13858
|
}),
|
|
13808
13859
|
rename: trpc_middleware_js_1.adminProcedure
|
|
13809
|
-
.input(
|
|
13810
|
-
.output(
|
|
13860
|
+
.input(types_159.tagsCapability.methods.rename.input.loose())
|
|
13861
|
+
.output(types_159.tagsCapability.methods.rename.output)
|
|
13811
13862
|
.mutation(async ({ input, ctx }) => {
|
|
13812
13863
|
const { nodeId, ...methodInput } = input;
|
|
13813
13864
|
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13815,8 +13866,8 @@ function createCapRouter_tags(getProvider, createRemoteProxy) {
|
|
|
13815
13866
|
return p.rename(methodInput);
|
|
13816
13867
|
}),
|
|
13817
13868
|
remove: trpc_middleware_js_1.adminProcedure
|
|
13818
|
-
.input(
|
|
13819
|
-
.output(
|
|
13869
|
+
.input(types_159.tagsCapability.methods.remove.input.loose())
|
|
13870
|
+
.output(types_159.tagsCapability.methods.remove.output)
|
|
13820
13871
|
.mutation(async ({ input, ctx }) => {
|
|
13821
13872
|
const { nodeId, ...methodInput } = input;
|
|
13822
13873
|
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13854,8 +13905,8 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
13854
13905
|
function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
13855
13906
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13856
13907
|
list: trpc_middleware_js_1.protectedProcedure
|
|
13857
|
-
.input(
|
|
13858
|
-
.output(
|
|
13908
|
+
.input(types_160.templateCapability.methods.list.input.loose())
|
|
13909
|
+
.output(types_160.templateCapability.methods.list.output)
|
|
13859
13910
|
.query(async ({ input, ctx }) => {
|
|
13860
13911
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13861
13912
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13863,8 +13914,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13863
13914
|
return p.list(methodInput);
|
|
13864
13915
|
}),
|
|
13865
13916
|
get: trpc_middleware_js_1.protectedProcedure
|
|
13866
|
-
.input(
|
|
13867
|
-
.output(
|
|
13917
|
+
.input(types_160.templateCapability.methods.get.input.loose())
|
|
13918
|
+
.output(types_160.templateCapability.methods.get.output)
|
|
13868
13919
|
.query(async ({ input, ctx }) => {
|
|
13869
13920
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13870
13921
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13872,8 +13923,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13872
13923
|
return p.get(methodInput);
|
|
13873
13924
|
}),
|
|
13874
13925
|
create: trpc_middleware_js_1.adminProcedure
|
|
13875
|
-
.input(
|
|
13876
|
-
.output(
|
|
13926
|
+
.input(types_160.templateCapability.methods.create.input.loose())
|
|
13927
|
+
.output(types_160.templateCapability.methods.create.output)
|
|
13877
13928
|
.mutation(async ({ input, ctx }) => {
|
|
13878
13929
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13879
13930
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13881,8 +13932,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13881
13932
|
return p.create(methodInput);
|
|
13882
13933
|
}),
|
|
13883
13934
|
update: trpc_middleware_js_1.adminProcedure
|
|
13884
|
-
.input(
|
|
13885
|
-
.output(
|
|
13935
|
+
.input(types_160.templateCapability.methods.update.input.loose())
|
|
13936
|
+
.output(types_160.templateCapability.methods.update.output)
|
|
13886
13937
|
.mutation(async ({ input, ctx }) => {
|
|
13887
13938
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13888
13939
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13890,8 +13941,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13890
13941
|
return p.update(methodInput);
|
|
13891
13942
|
}),
|
|
13892
13943
|
delete: trpc_middleware_js_1.adminProcedure
|
|
13893
|
-
.input(
|
|
13894
|
-
.output(
|
|
13944
|
+
.input(types_160.templateCapability.methods.delete.input.loose())
|
|
13945
|
+
.output(types_160.templateCapability.methods.delete.output)
|
|
13895
13946
|
.mutation(async ({ input, ctx }) => {
|
|
13896
13947
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13897
13948
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13904,28 +13955,28 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13904
13955
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13905
13956
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
13906
13957
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13907
|
-
.output(
|
|
13958
|
+
.output(types_161.terminalSessionCapability.methods.listProfiles.output)
|
|
13908
13959
|
.query(async ({ input, ctx }) => {
|
|
13909
13960
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13910
13961
|
return p.listProfiles();
|
|
13911
13962
|
}),
|
|
13912
13963
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
13913
13964
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13914
|
-
.output(
|
|
13965
|
+
.output(types_161.terminalSessionCapability.methods.listSessions.output)
|
|
13915
13966
|
.query(async ({ input, ctx }) => {
|
|
13916
13967
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13917
13968
|
return p.listSessions();
|
|
13918
13969
|
}),
|
|
13919
13970
|
serverShellStatus: trpc_middleware_js_1.adminProcedure
|
|
13920
13971
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13921
|
-
.output(
|
|
13972
|
+
.output(types_161.terminalSessionCapability.methods.serverShellStatus.output)
|
|
13922
13973
|
.query(async ({ input, ctx }) => {
|
|
13923
13974
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13924
13975
|
return p.serverShellStatus();
|
|
13925
13976
|
}),
|
|
13926
13977
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
13927
|
-
.input(
|
|
13928
|
-
.output(
|
|
13978
|
+
.input(types_161.terminalSessionCapability.methods.openSession.input.loose())
|
|
13979
|
+
.output(types_161.terminalSessionCapability.methods.openSession.output)
|
|
13929
13980
|
.mutation(async ({ input, ctx }) => {
|
|
13930
13981
|
const { nodeId, ...methodInput } = input;
|
|
13931
13982
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13933,8 +13984,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13933
13984
|
return p.openSession(methodInput);
|
|
13934
13985
|
}),
|
|
13935
13986
|
resize: trpc_middleware_js_1.adminProcedure
|
|
13936
|
-
.input(
|
|
13937
|
-
.output(
|
|
13987
|
+
.input(types_161.terminalSessionCapability.methods.resize.input.loose())
|
|
13988
|
+
.output(types_161.terminalSessionCapability.methods.resize.output)
|
|
13938
13989
|
.mutation(async ({ input, ctx }) => {
|
|
13939
13990
|
const { nodeId, ...methodInput } = input;
|
|
13940
13991
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13942,8 +13993,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13942
13993
|
return p.resize(methodInput);
|
|
13943
13994
|
}),
|
|
13944
13995
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
13945
|
-
.input(
|
|
13946
|
-
.output(
|
|
13996
|
+
.input(types_161.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
13997
|
+
.output(types_161.terminalSessionCapability.methods.pullOutput.output)
|
|
13947
13998
|
.mutation(async ({ input, ctx }) => {
|
|
13948
13999
|
const { nodeId, ...methodInput } = input;
|
|
13949
14000
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13951,8 +14002,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13951
14002
|
return p.pullOutput(methodInput);
|
|
13952
14003
|
}),
|
|
13953
14004
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
13954
|
-
.input(
|
|
13955
|
-
.output(
|
|
14005
|
+
.input(types_161.terminalSessionCapability.methods.writeInput.input.loose())
|
|
14006
|
+
.output(types_161.terminalSessionCapability.methods.writeInput.output)
|
|
13956
14007
|
.mutation(async ({ input, ctx }) => {
|
|
13957
14008
|
const { nodeId, ...methodInput } = input;
|
|
13958
14009
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13960,8 +14011,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13960
14011
|
return p.writeInput(methodInput);
|
|
13961
14012
|
}),
|
|
13962
14013
|
close: trpc_middleware_js_1.adminProcedure
|
|
13963
|
-
.input(
|
|
13964
|
-
.output(
|
|
14014
|
+
.input(types_161.terminalSessionCapability.methods.close.input.loose())
|
|
14015
|
+
.output(types_161.terminalSessionCapability.methods.close.output)
|
|
13965
14016
|
.mutation(async ({ input, ctx }) => {
|
|
13966
14017
|
const { nodeId, ...methodInput } = input;
|
|
13967
14018
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13982,8 +14033,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13982
14033
|
return p.getStatus(methodInput);
|
|
13983
14034
|
}),
|
|
13984
14035
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
13985
|
-
.input(
|
|
13986
|
-
.output(
|
|
14036
|
+
.input(types_162.timedRunCapability.methods.getOptions.input.loose())
|
|
14037
|
+
.output(types_162.timedRunCapability.methods.getOptions.output)
|
|
13987
14038
|
.query(async ({ input, ctx }) => {
|
|
13988
14039
|
const { nodeId, ...methodInput } = input;
|
|
13989
14040
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13991,8 +14042,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13991
14042
|
return p.getOptions(methodInput);
|
|
13992
14043
|
}),
|
|
13993
14044
|
setSettings: trpc_middleware_js_1.adminProcedure
|
|
13994
|
-
.input(
|
|
13995
|
-
.output(
|
|
14045
|
+
.input(types_162.timedRunCapability.methods.setSettings.input.loose())
|
|
14046
|
+
.output(types_162.timedRunCapability.methods.setSettings.output)
|
|
13996
14047
|
.mutation(async ({ input, ctx }) => {
|
|
13997
14048
|
const { nodeId, ...methodInput } = input;
|
|
13998
14049
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14000,8 +14051,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
14000
14051
|
return p.setSettings(methodInput);
|
|
14001
14052
|
}),
|
|
14002
14053
|
runFor: trpc_middleware_js_1.protectedProcedure
|
|
14003
|
-
.input(
|
|
14004
|
-
.output(
|
|
14054
|
+
.input(types_162.timedRunCapability.methods.runFor.input.loose())
|
|
14055
|
+
.output(types_162.timedRunCapability.methods.runFor.output)
|
|
14005
14056
|
.mutation(async ({ input, ctx }) => {
|
|
14006
14057
|
const { nodeId, ...methodInput } = input;
|
|
14007
14058
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14009,8 +14060,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
14009
14060
|
return p.runFor(methodInput);
|
|
14010
14061
|
}),
|
|
14011
14062
|
cancel: trpc_middleware_js_1.protectedProcedure
|
|
14012
|
-
.input(
|
|
14013
|
-
.output(
|
|
14063
|
+
.input(types_162.timedRunCapability.methods.cancel.input.loose())
|
|
14064
|
+
.output(types_162.timedRunCapability.methods.cancel.output)
|
|
14014
14065
|
.mutation(async ({ input, ctx }) => {
|
|
14015
14066
|
const { nodeId, ...methodInput } = input;
|
|
14016
14067
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14022,7 +14073,7 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
14022
14073
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
14023
14074
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14024
14075
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
14025
|
-
.input(
|
|
14076
|
+
.input(types_163.toastCapability.methods.onToast.input)
|
|
14026
14077
|
.subscription(({ input, ctx }) => {
|
|
14027
14078
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
14028
14079
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -14034,8 +14085,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
14034
14085
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
14035
14086
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14036
14087
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
14037
|
-
.input(
|
|
14038
|
-
.output(
|
|
14088
|
+
.input(types_164.trainingCapability.methods.listBaseModels.input.loose())
|
|
14089
|
+
.output(types_164.trainingCapability.methods.listBaseModels.output)
|
|
14039
14090
|
.query(async ({ input, ctx }) => {
|
|
14040
14091
|
const { nodeId, ...methodInput } = input;
|
|
14041
14092
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14043,8 +14094,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14043
14094
|
return p.listBaseModels(methodInput);
|
|
14044
14095
|
}),
|
|
14045
14096
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
14046
|
-
.input(
|
|
14047
|
-
.output(
|
|
14097
|
+
.input(types_164.trainingCapability.methods.planJob.input.loose())
|
|
14098
|
+
.output(types_164.trainingCapability.methods.planJob.output)
|
|
14048
14099
|
.query(async ({ input, ctx }) => {
|
|
14049
14100
|
const { nodeId, ...methodInput } = input;
|
|
14050
14101
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14052,8 +14103,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14052
14103
|
return p.planJob(methodInput);
|
|
14053
14104
|
}),
|
|
14054
14105
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
14055
|
-
.input(
|
|
14056
|
-
.output(
|
|
14106
|
+
.input(types_164.trainingCapability.methods.startJob.input.loose())
|
|
14107
|
+
.output(types_164.trainingCapability.methods.startJob.output)
|
|
14057
14108
|
.mutation(async ({ input, ctx }) => {
|
|
14058
14109
|
const { nodeId, ...methodInput } = input;
|
|
14059
14110
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14061,8 +14112,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14061
14112
|
return p.startJob(methodInput);
|
|
14062
14113
|
}),
|
|
14063
14114
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
14064
|
-
.input(
|
|
14065
|
-
.output(
|
|
14115
|
+
.input(types_164.trainingCapability.methods.startJobBatch.input.loose())
|
|
14116
|
+
.output(types_164.trainingCapability.methods.startJobBatch.output)
|
|
14066
14117
|
.mutation(async ({ input, ctx }) => {
|
|
14067
14118
|
const { nodeId, ...methodInput } = input;
|
|
14068
14119
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14070,8 +14121,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14070
14121
|
return p.startJobBatch(methodInput);
|
|
14071
14122
|
}),
|
|
14072
14123
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
14073
|
-
.input(
|
|
14074
|
-
.output(
|
|
14124
|
+
.input(types_164.trainingCapability.methods.listJobs.input.loose())
|
|
14125
|
+
.output(types_164.trainingCapability.methods.listJobs.output)
|
|
14075
14126
|
.query(async ({ input, ctx }) => {
|
|
14076
14127
|
const { nodeId, ...methodInput } = input;
|
|
14077
14128
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14079,8 +14130,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14079
14130
|
return p.listJobs(methodInput);
|
|
14080
14131
|
}),
|
|
14081
14132
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
14082
|
-
.input(
|
|
14083
|
-
.output(
|
|
14133
|
+
.input(types_164.trainingCapability.methods.getJob.input.loose())
|
|
14134
|
+
.output(types_164.trainingCapability.methods.getJob.output)
|
|
14084
14135
|
.query(async ({ input, ctx }) => {
|
|
14085
14136
|
const { nodeId, ...methodInput } = input;
|
|
14086
14137
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14088,8 +14139,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14088
14139
|
return p.getJob(methodInput);
|
|
14089
14140
|
}),
|
|
14090
14141
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
14091
|
-
.input(
|
|
14092
|
-
.output(
|
|
14142
|
+
.input(types_164.trainingCapability.methods.cancelJob.input.loose())
|
|
14143
|
+
.output(types_164.trainingCapability.methods.cancelJob.output)
|
|
14093
14144
|
.mutation(async ({ input, ctx }) => {
|
|
14094
14145
|
const { nodeId, ...methodInput } = input;
|
|
14095
14146
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14097,8 +14148,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14097
14148
|
return p.cancelJob(methodInput);
|
|
14098
14149
|
}),
|
|
14099
14150
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
14100
|
-
.input(
|
|
14101
|
-
.output(
|
|
14151
|
+
.input(types_164.trainingCapability.methods.getJobResult.input.loose())
|
|
14152
|
+
.output(types_164.trainingCapability.methods.getJobResult.output)
|
|
14102
14153
|
.query(async ({ input, ctx }) => {
|
|
14103
14154
|
const { nodeId, ...methodInput } = input;
|
|
14104
14155
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14107,14 +14158,14 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14107
14158
|
}),
|
|
14108
14159
|
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
14109
14160
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14110
|
-
.output(
|
|
14161
|
+
.output(types_164.trainingCapability.methods.listCanaryTargets.output)
|
|
14111
14162
|
.query(async ({ input, ctx }) => {
|
|
14112
14163
|
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14113
14164
|
return p.listCanaryTargets();
|
|
14114
14165
|
}),
|
|
14115
14166
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
14116
|
-
.input(
|
|
14117
|
-
.output(
|
|
14167
|
+
.input(types_164.trainingCapability.methods.registerResult.input.loose())
|
|
14168
|
+
.output(types_164.trainingCapability.methods.registerResult.output)
|
|
14118
14169
|
.mutation(async ({ input, ctx }) => {
|
|
14119
14170
|
const { nodeId, ...methodInput } = input;
|
|
14120
14171
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14122,8 +14173,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14122
14173
|
return p.registerResult(methodInput);
|
|
14123
14174
|
}),
|
|
14124
14175
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
14125
|
-
.input(
|
|
14126
|
-
.output(
|
|
14176
|
+
.input(types_164.trainingCapability.methods.canaryResult.input.loose())
|
|
14177
|
+
.output(types_164.trainingCapability.methods.canaryResult.output)
|
|
14127
14178
|
.mutation(async ({ input, ctx }) => {
|
|
14128
14179
|
const { nodeId, ...methodInput } = input;
|
|
14129
14180
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14131,8 +14182,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14131
14182
|
return p.canaryResult(methodInput);
|
|
14132
14183
|
}),
|
|
14133
14184
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
14134
|
-
.input(
|
|
14135
|
-
.output(
|
|
14185
|
+
.input(types_164.trainingCapability.methods.rollbackCanary.input.loose())
|
|
14186
|
+
.output(types_164.trainingCapability.methods.rollbackCanary.output)
|
|
14136
14187
|
.mutation(async ({ input, ctx }) => {
|
|
14137
14188
|
const { nodeId, ...methodInput } = input;
|
|
14138
14189
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14140,8 +14191,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14140
14191
|
return p.rollbackCanary(methodInput);
|
|
14141
14192
|
}),
|
|
14142
14193
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
14143
|
-
.input(
|
|
14144
|
-
.output(
|
|
14194
|
+
.input(types_164.trainingCapability.methods.discardResult.input.loose())
|
|
14195
|
+
.output(types_164.trainingCapability.methods.discardResult.output)
|
|
14145
14196
|
.mutation(async ({ input, ctx }) => {
|
|
14146
14197
|
const { nodeId, ...methodInput } = input;
|
|
14147
14198
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14153,8 +14204,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
14153
14204
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
14154
14205
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14155
14206
|
describe: trpc_middleware_js_1.adminProcedure
|
|
14156
|
-
.input(
|
|
14157
|
-
.output(
|
|
14207
|
+
.input(types_165.trainingProviderCapability.methods.describe.input.loose())
|
|
14208
|
+
.output(types_165.trainingProviderCapability.methods.describe.output)
|
|
14158
14209
|
.query(async ({ input, ctx }) => {
|
|
14159
14210
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14160
14211
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14162,8 +14213,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14162
14213
|
return p.describe(methodInput);
|
|
14163
14214
|
}),
|
|
14164
14215
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
14165
|
-
.input(
|
|
14166
|
-
.output(
|
|
14216
|
+
.input(types_165.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
14217
|
+
.output(types_165.trainingProviderCapability.methods.describeTypes.output)
|
|
14167
14218
|
.query(async ({ input, ctx }) => {
|
|
14168
14219
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14169
14220
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14171,8 +14222,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14171
14222
|
return p.describeTypes(methodInput);
|
|
14172
14223
|
}),
|
|
14173
14224
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
14174
|
-
.input(
|
|
14175
|
-
.output(
|
|
14225
|
+
.input(types_165.trainingProviderCapability.methods.listEntries.input.loose())
|
|
14226
|
+
.output(types_165.trainingProviderCapability.methods.listEntries.output)
|
|
14176
14227
|
.query(async ({ input, ctx }) => {
|
|
14177
14228
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14178
14229
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14180,8 +14231,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14180
14231
|
return p.listEntries(methodInput);
|
|
14181
14232
|
}),
|
|
14182
14233
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
14183
|
-
.input(
|
|
14184
|
-
.output(
|
|
14234
|
+
.input(types_165.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
14235
|
+
.output(types_165.trainingProviderCapability.methods.estimateJob.output)
|
|
14185
14236
|
.query(async ({ input, ctx }) => {
|
|
14186
14237
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14187
14238
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14189,8 +14240,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14189
14240
|
return p.estimateJob(methodInput);
|
|
14190
14241
|
}),
|
|
14191
14242
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
14192
|
-
.input(
|
|
14193
|
-
.output(
|
|
14243
|
+
.input(types_165.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
14244
|
+
.output(types_165.trainingProviderCapability.methods.uploadDataset.output)
|
|
14194
14245
|
.mutation(async ({ input, ctx }) => {
|
|
14195
14246
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14196
14247
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14198,8 +14249,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14198
14249
|
return p.uploadDataset(methodInput);
|
|
14199
14250
|
}),
|
|
14200
14251
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
14201
|
-
.input(
|
|
14202
|
-
.output(
|
|
14252
|
+
.input(types_165.trainingProviderCapability.methods.submitJob.input.loose())
|
|
14253
|
+
.output(types_165.trainingProviderCapability.methods.submitJob.output)
|
|
14203
14254
|
.mutation(async ({ input, ctx }) => {
|
|
14204
14255
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14205
14256
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14207,8 +14258,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14207
14258
|
return p.submitJob(methodInput);
|
|
14208
14259
|
}),
|
|
14209
14260
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
14210
|
-
.input(
|
|
14211
|
-
.output(
|
|
14261
|
+
.input(types_165.trainingProviderCapability.methods.getJob.input.loose())
|
|
14262
|
+
.output(types_165.trainingProviderCapability.methods.getJob.output)
|
|
14212
14263
|
.query(async ({ input, ctx }) => {
|
|
14213
14264
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14214
14265
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14216,8 +14267,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14216
14267
|
return p.getJob(methodInput);
|
|
14217
14268
|
}),
|
|
14218
14269
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
14219
|
-
.input(
|
|
14220
|
-
.output(
|
|
14270
|
+
.input(types_165.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
14271
|
+
.output(types_165.trainingProviderCapability.methods.listJobEvents.output)
|
|
14221
14272
|
.query(async ({ input, ctx }) => {
|
|
14222
14273
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14223
14274
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14225,8 +14276,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14225
14276
|
return p.listJobEvents(methodInput);
|
|
14226
14277
|
}),
|
|
14227
14278
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
14228
|
-
.input(
|
|
14229
|
-
.output(
|
|
14279
|
+
.input(types_165.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
14280
|
+
.output(types_165.trainingProviderCapability.methods.cancelJob.output)
|
|
14230
14281
|
.mutation(async ({ input, ctx }) => {
|
|
14231
14282
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14232
14283
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14234,8 +14285,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14234
14285
|
return p.cancelJob(methodInput);
|
|
14235
14286
|
}),
|
|
14236
14287
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
14237
|
-
.input(
|
|
14238
|
-
.output(
|
|
14288
|
+
.input(types_165.trainingProviderCapability.methods.readResult.input.loose())
|
|
14289
|
+
.output(types_165.trainingProviderCapability.methods.readResult.output)
|
|
14239
14290
|
.mutation(async ({ input, ctx }) => {
|
|
14240
14291
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14241
14292
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14243,8 +14294,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14243
14294
|
return p.readResult(methodInput);
|
|
14244
14295
|
}),
|
|
14245
14296
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
14246
|
-
.input(
|
|
14247
|
-
.output(
|
|
14297
|
+
.input(types_165.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
14298
|
+
.output(types_165.trainingProviderCapability.methods.offerArtifact.output)
|
|
14248
14299
|
.mutation(async ({ input, ctx }) => {
|
|
14249
14300
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14250
14301
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14252,8 +14303,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14252
14303
|
return p.offerArtifact(methodInput);
|
|
14253
14304
|
}),
|
|
14254
14305
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
14255
|
-
.input(
|
|
14256
|
-
.output(
|
|
14306
|
+
.input(types_165.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
14307
|
+
.output(types_165.trainingProviderCapability.methods.cleanupJob.output)
|
|
14257
14308
|
.mutation(async ({ input, ctx }) => {
|
|
14258
14309
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14259
14310
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14261,8 +14312,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
14261
14312
|
return p.cleanupJob(methodInput);
|
|
14262
14313
|
}),
|
|
14263
14314
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
14264
|
-
.input(
|
|
14265
|
-
.output(
|
|
14315
|
+
.input(types_165.trainingProviderCapability.methods.listJobs.input.loose())
|
|
14316
|
+
.output(types_165.trainingProviderCapability.methods.listJobs.output)
|
|
14266
14317
|
.query(async ({ input, ctx }) => {
|
|
14267
14318
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14268
14319
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14275,7 +14326,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
14275
14326
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14276
14327
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
14277
14328
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
14278
|
-
.output(
|
|
14329
|
+
.output(types_166.turnProviderCapability.methods.getTurnServers.output)
|
|
14279
14330
|
.query(async ({ input, ctx }) => {
|
|
14280
14331
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
14281
14332
|
return p.getTurnServers();
|
|
@@ -14295,7 +14346,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
14295
14346
|
}),
|
|
14296
14347
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
14297
14348
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14298
|
-
.output(
|
|
14349
|
+
.output(types_167.updateCapability.methods.installUpdate.output)
|
|
14299
14350
|
.mutation(async ({ input, ctx }) => {
|
|
14300
14351
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14301
14352
|
return p.installUpdate();
|
|
@@ -14306,21 +14357,21 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14306
14357
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14307
14358
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
14308
14359
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14309
|
-
.output(
|
|
14360
|
+
.output(types_168.userManagementCapability.methods.listUsers.output)
|
|
14310
14361
|
.query(async ({ input, ctx }) => {
|
|
14311
14362
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14312
14363
|
return p.listUsers();
|
|
14313
14364
|
}),
|
|
14314
14365
|
getAdminBootstrapStatus: trpc_middleware_js_1.adminProcedure
|
|
14315
14366
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14316
|
-
.output(
|
|
14367
|
+
.output(types_168.userManagementCapability.methods.getAdminBootstrapStatus.output)
|
|
14317
14368
|
.query(async ({ input, ctx }) => {
|
|
14318
14369
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14319
14370
|
return p.getAdminBootstrapStatus();
|
|
14320
14371
|
}),
|
|
14321
14372
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
14322
|
-
.input(
|
|
14323
|
-
.output(
|
|
14373
|
+
.input(types_168.userManagementCapability.methods.createUser.input.loose())
|
|
14374
|
+
.output(types_168.userManagementCapability.methods.createUser.output)
|
|
14324
14375
|
.mutation(async ({ input, ctx }) => {
|
|
14325
14376
|
const { nodeId, ...methodInput } = input;
|
|
14326
14377
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14328,8 +14379,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14328
14379
|
return p.createUser(methodInput);
|
|
14329
14380
|
}),
|
|
14330
14381
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
14331
|
-
.input(
|
|
14332
|
-
.output(
|
|
14382
|
+
.input(types_168.userManagementCapability.methods.updateUser.input.loose())
|
|
14383
|
+
.output(types_168.userManagementCapability.methods.updateUser.output)
|
|
14333
14384
|
.mutation(async ({ input, ctx }) => {
|
|
14334
14385
|
const { nodeId, ...methodInput } = input;
|
|
14335
14386
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14337,8 +14388,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14337
14388
|
return p.updateUser(methodInput);
|
|
14338
14389
|
}),
|
|
14339
14390
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
14340
|
-
.input(
|
|
14341
|
-
.output(
|
|
14391
|
+
.input(types_168.userManagementCapability.methods.deleteUser.input.loose())
|
|
14392
|
+
.output(types_168.userManagementCapability.methods.deleteUser.output)
|
|
14342
14393
|
.mutation(async ({ input, ctx }) => {
|
|
14343
14394
|
const { nodeId, ...methodInput } = input;
|
|
14344
14395
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14346,8 +14397,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14346
14397
|
return p.deleteUser(methodInput);
|
|
14347
14398
|
}),
|
|
14348
14399
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
14349
|
-
.input(
|
|
14350
|
-
.output(
|
|
14400
|
+
.input(types_168.userManagementCapability.methods.resetPassword.input.loose())
|
|
14401
|
+
.output(types_168.userManagementCapability.methods.resetPassword.output)
|
|
14351
14402
|
.mutation(async ({ input, ctx }) => {
|
|
14352
14403
|
const { nodeId, ...methodInput } = input;
|
|
14353
14404
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14355,8 +14406,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14355
14406
|
return p.resetPassword(methodInput);
|
|
14356
14407
|
}),
|
|
14357
14408
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
14358
|
-
.input(
|
|
14359
|
-
.output(
|
|
14409
|
+
.input(types_168.userManagementCapability.methods.setUserScopes.input.loose())
|
|
14410
|
+
.output(types_168.userManagementCapability.methods.setUserScopes.output)
|
|
14360
14411
|
.mutation(async ({ input, ctx }) => {
|
|
14361
14412
|
const { nodeId, ...methodInput } = input;
|
|
14362
14413
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14364,8 +14415,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14364
14415
|
return p.setUserScopes(methodInput);
|
|
14365
14416
|
}),
|
|
14366
14417
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
14367
|
-
.input(
|
|
14368
|
-
.output(
|
|
14418
|
+
.input(types_168.userManagementCapability.methods.validateCredentials.input.loose())
|
|
14419
|
+
.output(types_168.userManagementCapability.methods.validateCredentials.output)
|
|
14369
14420
|
.mutation(async ({ input, ctx }) => {
|
|
14370
14421
|
const { nodeId, ...methodInput } = input;
|
|
14371
14422
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14373,8 +14424,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14373
14424
|
return p.validateCredentials(methodInput);
|
|
14374
14425
|
}),
|
|
14375
14426
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
14376
|
-
.input(
|
|
14377
|
-
.output(
|
|
14427
|
+
.input(types_168.userManagementCapability.methods.setupTotp.input.loose())
|
|
14428
|
+
.output(types_168.userManagementCapability.methods.setupTotp.output)
|
|
14378
14429
|
.mutation(async ({ input, ctx }) => {
|
|
14379
14430
|
const { nodeId, ...methodInput } = input;
|
|
14380
14431
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14382,8 +14433,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14382
14433
|
return p.setupTotp(methodInput);
|
|
14383
14434
|
}),
|
|
14384
14435
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
14385
|
-
.input(
|
|
14386
|
-
.output(
|
|
14436
|
+
.input(types_168.userManagementCapability.methods.confirmTotp.input.loose())
|
|
14437
|
+
.output(types_168.userManagementCapability.methods.confirmTotp.output)
|
|
14387
14438
|
.mutation(async ({ input, ctx }) => {
|
|
14388
14439
|
const { nodeId, ...methodInput } = input;
|
|
14389
14440
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14391,8 +14442,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14391
14442
|
return p.confirmTotp(methodInput);
|
|
14392
14443
|
}),
|
|
14393
14444
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
14394
|
-
.input(
|
|
14395
|
-
.output(
|
|
14445
|
+
.input(types_168.userManagementCapability.methods.disableTotp.input.loose())
|
|
14446
|
+
.output(types_168.userManagementCapability.methods.disableTotp.output)
|
|
14396
14447
|
.mutation(async ({ input, ctx }) => {
|
|
14397
14448
|
const { nodeId, ...methodInput } = input;
|
|
14398
14449
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14400,8 +14451,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14400
14451
|
return p.disableTotp(methodInput);
|
|
14401
14452
|
}),
|
|
14402
14453
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
14403
|
-
.input(
|
|
14404
|
-
.output(
|
|
14454
|
+
.input(types_168.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
14455
|
+
.output(types_168.userManagementCapability.methods.getTotpStatus.output)
|
|
14405
14456
|
.query(async ({ input, ctx }) => {
|
|
14406
14457
|
const { nodeId, ...methodInput } = input;
|
|
14407
14458
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14409,8 +14460,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14409
14460
|
return p.getTotpStatus(methodInput);
|
|
14410
14461
|
}),
|
|
14411
14462
|
migrateRawSecrets: trpc_middleware_js_1.adminProcedure
|
|
14412
|
-
.input(
|
|
14413
|
-
.output(
|
|
14463
|
+
.input(types_168.userManagementCapability.methods.migrateRawSecrets.input.loose())
|
|
14464
|
+
.output(types_168.userManagementCapability.methods.migrateRawSecrets.output)
|
|
14414
14465
|
.mutation(async ({ input, ctx }) => {
|
|
14415
14466
|
const { nodeId, ...methodInput } = input;
|
|
14416
14467
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14418,8 +14469,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14418
14469
|
return p.migrateRawSecrets(methodInput);
|
|
14419
14470
|
}),
|
|
14420
14471
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
14421
|
-
.input(
|
|
14422
|
-
.output(
|
|
14472
|
+
.input(types_168.userManagementCapability.methods.verifyTotp.input.loose())
|
|
14473
|
+
.output(types_168.userManagementCapability.methods.verifyTotp.output)
|
|
14423
14474
|
.mutation(async ({ input, ctx }) => {
|
|
14424
14475
|
const { nodeId, ...methodInput } = input;
|
|
14425
14476
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14427,8 +14478,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14427
14478
|
return p.verifyTotp(methodInput);
|
|
14428
14479
|
}),
|
|
14429
14480
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
14430
|
-
.input(
|
|
14431
|
-
.output(
|
|
14481
|
+
.input(types_168.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
14482
|
+
.output(types_168.userManagementCapability.methods.oauthIssueCode.output)
|
|
14432
14483
|
.mutation(async ({ input, ctx }) => {
|
|
14433
14484
|
const { nodeId, ...methodInput } = input;
|
|
14434
14485
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14436,8 +14487,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14436
14487
|
return p.oauthIssueCode(methodInput);
|
|
14437
14488
|
}),
|
|
14438
14489
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
14439
|
-
.input(
|
|
14440
|
-
.output(
|
|
14490
|
+
.input(types_168.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
14491
|
+
.output(types_168.userManagementCapability.methods.oauthExchangeCode.output)
|
|
14441
14492
|
.mutation(async ({ input, ctx }) => {
|
|
14442
14493
|
const { nodeId, ...methodInput } = input;
|
|
14443
14494
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14445,8 +14496,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14445
14496
|
return p.oauthExchangeCode(methodInput);
|
|
14446
14497
|
}),
|
|
14447
14498
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
14448
|
-
.input(
|
|
14449
|
-
.output(
|
|
14499
|
+
.input(types_168.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
14500
|
+
.output(types_168.userManagementCapability.methods.oauthRefresh.output)
|
|
14450
14501
|
.mutation(async ({ input, ctx }) => {
|
|
14451
14502
|
const { nodeId, ...methodInput } = input;
|
|
14452
14503
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14454,8 +14505,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14454
14505
|
return p.oauthRefresh(methodInput);
|
|
14455
14506
|
}),
|
|
14456
14507
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
14457
|
-
.input(
|
|
14458
|
-
.output(
|
|
14508
|
+
.input(types_168.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
14509
|
+
.output(types_168.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
14459
14510
|
.query(async ({ input, ctx }) => {
|
|
14460
14511
|
const { nodeId, ...methodInput } = input;
|
|
14461
14512
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14463,8 +14514,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14463
14514
|
return p.oauthVerifyAccessToken(methodInput);
|
|
14464
14515
|
}),
|
|
14465
14516
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
14466
|
-
.input(
|
|
14467
|
-
.output(
|
|
14517
|
+
.input(types_168.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
14518
|
+
.output(types_168.userManagementCapability.methods.listExternalIdentities.output)
|
|
14468
14519
|
.query(async ({ input, ctx }) => {
|
|
14469
14520
|
const { nodeId, ...methodInput } = input;
|
|
14470
14521
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14472,8 +14523,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14472
14523
|
return p.listExternalIdentities(methodInput);
|
|
14473
14524
|
}),
|
|
14474
14525
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
14475
|
-
.input(
|
|
14476
|
-
.output(
|
|
14526
|
+
.input(types_168.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
14527
|
+
.output(types_168.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
14477
14528
|
.query(async ({ input, ctx }) => {
|
|
14478
14529
|
const { nodeId, ...methodInput } = input;
|
|
14479
14530
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14481,8 +14532,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14481
14532
|
return p.findUserByExternalIdentity(methodInput);
|
|
14482
14533
|
}),
|
|
14483
14534
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
14484
|
-
.input(
|
|
14485
|
-
.output(
|
|
14535
|
+
.input(types_168.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
14536
|
+
.output(types_168.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
14486
14537
|
.mutation(async ({ input, ctx }) => {
|
|
14487
14538
|
const { nodeId, ...methodInput } = input;
|
|
14488
14539
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14491,14 +14542,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14491
14542
|
}),
|
|
14492
14543
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
14493
14544
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14494
|
-
.output(
|
|
14545
|
+
.output(types_168.userManagementCapability.methods.listOauthSessions.output)
|
|
14495
14546
|
.query(async ({ input, ctx }) => {
|
|
14496
14547
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14497
14548
|
return p.listOauthSessions();
|
|
14498
14549
|
}),
|
|
14499
14550
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
14500
|
-
.input(
|
|
14501
|
-
.output(
|
|
14551
|
+
.input(types_168.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
14552
|
+
.output(types_168.userManagementCapability.methods.revokeOauthSession.output)
|
|
14502
14553
|
.mutation(async ({ input, ctx }) => {
|
|
14503
14554
|
const { nodeId, ...methodInput } = input;
|
|
14504
14555
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14510,8 +14561,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14510
14561
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
14511
14562
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14512
14563
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
14513
|
-
.input(
|
|
14514
|
-
.output(
|
|
14564
|
+
.input(types_169.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
14565
|
+
.output(types_169.userPasskeysCapability.methods.beginRegistration.output)
|
|
14515
14566
|
.mutation(async ({ input, ctx }) => {
|
|
14516
14567
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14517
14568
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14519,8 +14570,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14519
14570
|
return p.beginRegistration(methodInput);
|
|
14520
14571
|
}),
|
|
14521
14572
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
14522
|
-
.input(
|
|
14523
|
-
.output(
|
|
14573
|
+
.input(types_169.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
14574
|
+
.output(types_169.userPasskeysCapability.methods.finishRegistration.output)
|
|
14524
14575
|
.mutation(async ({ input, ctx }) => {
|
|
14525
14576
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14526
14577
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14528,8 +14579,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14528
14579
|
return p.finishRegistration(methodInput);
|
|
14529
14580
|
}),
|
|
14530
14581
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14531
|
-
.input(
|
|
14532
|
-
.output(
|
|
14582
|
+
.input(types_169.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
14583
|
+
.output(types_169.userPasskeysCapability.methods.beginAuthentication.output)
|
|
14533
14584
|
.mutation(async ({ input, ctx }) => {
|
|
14534
14585
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14535
14586
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14537,8 +14588,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14537
14588
|
return p.beginAuthentication(methodInput);
|
|
14538
14589
|
}),
|
|
14539
14590
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14540
|
-
.input(
|
|
14541
|
-
.output(
|
|
14591
|
+
.input(types_169.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
14592
|
+
.output(types_169.userPasskeysCapability.methods.finishAuthentication.output)
|
|
14542
14593
|
.mutation(async ({ input, ctx }) => {
|
|
14543
14594
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14544
14595
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14546,8 +14597,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14546
14597
|
return p.finishAuthentication(methodInput);
|
|
14547
14598
|
}),
|
|
14548
14599
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14549
|
-
.input(
|
|
14550
|
-
.output(
|
|
14600
|
+
.input(types_169.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
14601
|
+
.output(types_169.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
14551
14602
|
.mutation(async ({ input, ctx }) => {
|
|
14552
14603
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14553
14604
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14555,8 +14606,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14555
14606
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
14556
14607
|
}),
|
|
14557
14608
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14558
|
-
.input(
|
|
14559
|
-
.output(
|
|
14609
|
+
.input(types_169.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
14610
|
+
.output(types_169.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
14560
14611
|
.mutation(async ({ input, ctx }) => {
|
|
14561
14612
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14562
14613
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14564,8 +14615,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14564
14615
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
14565
14616
|
}),
|
|
14566
14617
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
14567
|
-
.input(
|
|
14568
|
-
.output(
|
|
14618
|
+
.input(types_169.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
14619
|
+
.output(types_169.userPasskeysCapability.methods.listPasskeys.output)
|
|
14569
14620
|
.query(async ({ input, ctx }) => {
|
|
14570
14621
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14571
14622
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14573,8 +14624,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14573
14624
|
return p.listPasskeys(methodInput);
|
|
14574
14625
|
}),
|
|
14575
14626
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
14576
|
-
.input(
|
|
14577
|
-
.output(
|
|
14627
|
+
.input(types_169.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
14628
|
+
.output(types_169.userPasskeysCapability.methods.removePasskey.output)
|
|
14578
14629
|
.mutation(async ({ input, ctx }) => {
|
|
14579
14630
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14580
14631
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14582,8 +14633,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14582
14633
|
return p.removePasskey(methodInput);
|
|
14583
14634
|
}),
|
|
14584
14635
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
14585
|
-
.input(
|
|
14586
|
-
.output(
|
|
14636
|
+
.input(types_169.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
14637
|
+
.output(types_169.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
14587
14638
|
.query(async ({ input, ctx }) => {
|
|
14588
14639
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14589
14640
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14591,8 +14642,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14591
14642
|
return p.getSecondFactorPreference(methodInput);
|
|
14592
14643
|
}),
|
|
14593
14644
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
14594
|
-
.input(
|
|
14595
|
-
.output(
|
|
14645
|
+
.input(types_169.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
14646
|
+
.output(types_169.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
14596
14647
|
.mutation(async ({ input, ctx }) => {
|
|
14597
14648
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14598
14649
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14613,8 +14664,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14613
14664
|
return p.getStatus(methodInput);
|
|
14614
14665
|
}),
|
|
14615
14666
|
start: trpc_middleware_js_1.protectedProcedure
|
|
14616
|
-
.input(
|
|
14617
|
-
.output(
|
|
14667
|
+
.input(types_170.vacuumControlCapability.methods.start.input.loose())
|
|
14668
|
+
.output(types_170.vacuumControlCapability.methods.start.output)
|
|
14618
14669
|
.mutation(async ({ input, ctx }) => {
|
|
14619
14670
|
const { nodeId, ...methodInput } = input;
|
|
14620
14671
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14622,8 +14673,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14622
14673
|
return p.start(methodInput);
|
|
14623
14674
|
}),
|
|
14624
14675
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
14625
|
-
.input(
|
|
14626
|
-
.output(
|
|
14676
|
+
.input(types_170.vacuumControlCapability.methods.pause.input.loose())
|
|
14677
|
+
.output(types_170.vacuumControlCapability.methods.pause.output)
|
|
14627
14678
|
.mutation(async ({ input, ctx }) => {
|
|
14628
14679
|
const { nodeId, ...methodInput } = input;
|
|
14629
14680
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14631,8 +14682,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14631
14682
|
return p.pause(methodInput);
|
|
14632
14683
|
}),
|
|
14633
14684
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
14634
|
-
.input(
|
|
14635
|
-
.output(
|
|
14685
|
+
.input(types_170.vacuumControlCapability.methods.stop.input.loose())
|
|
14686
|
+
.output(types_170.vacuumControlCapability.methods.stop.output)
|
|
14636
14687
|
.mutation(async ({ input, ctx }) => {
|
|
14637
14688
|
const { nodeId, ...methodInput } = input;
|
|
14638
14689
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14640,8 +14691,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14640
14691
|
return p.stop(methodInput);
|
|
14641
14692
|
}),
|
|
14642
14693
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
14643
|
-
.input(
|
|
14644
|
-
.output(
|
|
14694
|
+
.input(types_170.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
14695
|
+
.output(types_170.vacuumControlCapability.methods.returnToBase.output)
|
|
14645
14696
|
.mutation(async ({ input, ctx }) => {
|
|
14646
14697
|
const { nodeId, ...methodInput } = input;
|
|
14647
14698
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14649,8 +14700,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14649
14700
|
return p.returnToBase(methodInput);
|
|
14650
14701
|
}),
|
|
14651
14702
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
14652
|
-
.input(
|
|
14653
|
-
.output(
|
|
14703
|
+
.input(types_170.vacuumControlCapability.methods.locate.input.loose())
|
|
14704
|
+
.output(types_170.vacuumControlCapability.methods.locate.output)
|
|
14654
14705
|
.mutation(async ({ input, ctx }) => {
|
|
14655
14706
|
const { nodeId, ...methodInput } = input;
|
|
14656
14707
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14658,8 +14709,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14658
14709
|
return p.locate(methodInput);
|
|
14659
14710
|
}),
|
|
14660
14711
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
14661
|
-
.input(
|
|
14662
|
-
.output(
|
|
14712
|
+
.input(types_170.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
14713
|
+
.output(types_170.vacuumControlCapability.methods.setFanSpeed.output)
|
|
14663
14714
|
.mutation(async ({ input, ctx }) => {
|
|
14664
14715
|
const { nodeId, ...methodInput } = input;
|
|
14665
14716
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14680,8 +14731,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14680
14731
|
return p.getStatus(methodInput);
|
|
14681
14732
|
}),
|
|
14682
14733
|
open: trpc_middleware_js_1.protectedProcedure
|
|
14683
|
-
.input(
|
|
14684
|
-
.output(
|
|
14734
|
+
.input(types_171.valveCapability.methods.open.input.loose())
|
|
14735
|
+
.output(types_171.valveCapability.methods.open.output)
|
|
14685
14736
|
.mutation(async ({ input, ctx }) => {
|
|
14686
14737
|
const { nodeId, ...methodInput } = input;
|
|
14687
14738
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14689,8 +14740,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14689
14740
|
return p.open(methodInput);
|
|
14690
14741
|
}),
|
|
14691
14742
|
close: trpc_middleware_js_1.protectedProcedure
|
|
14692
|
-
.input(
|
|
14693
|
-
.output(
|
|
14743
|
+
.input(types_171.valveCapability.methods.close.input.loose())
|
|
14744
|
+
.output(types_171.valveCapability.methods.close.output)
|
|
14694
14745
|
.mutation(async ({ input, ctx }) => {
|
|
14695
14746
|
const { nodeId, ...methodInput } = input;
|
|
14696
14747
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14698,8 +14749,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14698
14749
|
return p.close(methodInput);
|
|
14699
14750
|
}),
|
|
14700
14751
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
14701
|
-
.input(
|
|
14702
|
-
.output(
|
|
14752
|
+
.input(types_171.valveCapability.methods.stop.input.loose())
|
|
14753
|
+
.output(types_171.valveCapability.methods.stop.output)
|
|
14703
14754
|
.mutation(async ({ input, ctx }) => {
|
|
14704
14755
|
const { nodeId, ...methodInput } = input;
|
|
14705
14756
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14707,8 +14758,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14707
14758
|
return p.stop(methodInput);
|
|
14708
14759
|
}),
|
|
14709
14760
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
14710
|
-
.input(
|
|
14711
|
-
.output(
|
|
14761
|
+
.input(types_171.valveCapability.methods.setPosition.input.loose())
|
|
14762
|
+
.output(types_171.valveCapability.methods.setPosition.output)
|
|
14712
14763
|
.mutation(async ({ input, ctx }) => {
|
|
14713
14764
|
const { nodeId, ...methodInput } = input;
|
|
14714
14765
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14727,8 +14778,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14727
14778
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
14728
14779
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14729
14780
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
14730
|
-
.input(
|
|
14731
|
-
.output(
|
|
14781
|
+
.input(types_172.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
14782
|
+
.output(types_172.vectorStoreCapability.methods.declareIndex.output)
|
|
14732
14783
|
.mutation(async ({ input, ctx }) => {
|
|
14733
14784
|
const { nodeId, ...methodInput } = input;
|
|
14734
14785
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14736,8 +14787,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14736
14787
|
return p.declareIndex(methodInput);
|
|
14737
14788
|
}),
|
|
14738
14789
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
14739
|
-
.input(
|
|
14740
|
-
.output(
|
|
14790
|
+
.input(types_172.vectorStoreCapability.methods.upsert.input.loose())
|
|
14791
|
+
.output(types_172.vectorStoreCapability.methods.upsert.output)
|
|
14741
14792
|
.mutation(async ({ input, ctx }) => {
|
|
14742
14793
|
const { nodeId, ...methodInput } = input;
|
|
14743
14794
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14745,8 +14796,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14745
14796
|
return p.upsert(methodInput);
|
|
14746
14797
|
}),
|
|
14747
14798
|
query: trpc_middleware_js_1.adminProcedure
|
|
14748
|
-
.input(
|
|
14749
|
-
.output(
|
|
14799
|
+
.input(types_172.vectorStoreCapability.methods.query.input.loose())
|
|
14800
|
+
.output(types_172.vectorStoreCapability.methods.query.output)
|
|
14750
14801
|
.query(async ({ input, ctx }) => {
|
|
14751
14802
|
const { nodeId, ...methodInput } = input;
|
|
14752
14803
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14754,8 +14805,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14754
14805
|
return p.query(methodInput);
|
|
14755
14806
|
}),
|
|
14756
14807
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
14757
|
-
.input(
|
|
14758
|
-
.output(
|
|
14808
|
+
.input(types_172.vectorStoreCapability.methods.getByIds.input.loose())
|
|
14809
|
+
.output(types_172.vectorStoreCapability.methods.getByIds.output)
|
|
14759
14810
|
.query(async ({ input, ctx }) => {
|
|
14760
14811
|
const { nodeId, ...methodInput } = input;
|
|
14761
14812
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14763,8 +14814,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14763
14814
|
return p.getByIds(methodInput);
|
|
14764
14815
|
}),
|
|
14765
14816
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
14766
|
-
.input(
|
|
14767
|
-
.output(
|
|
14817
|
+
.input(types_172.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
14818
|
+
.output(types_172.vectorStoreCapability.methods.fetchByIds.output)
|
|
14768
14819
|
.query(async ({ input, ctx }) => {
|
|
14769
14820
|
const { nodeId, ...methodInput } = input;
|
|
14770
14821
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14772,8 +14823,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14772
14823
|
return p.fetchByIds(methodInput);
|
|
14773
14824
|
}),
|
|
14774
14825
|
scan: trpc_middleware_js_1.adminProcedure
|
|
14775
|
-
.input(
|
|
14776
|
-
.output(
|
|
14826
|
+
.input(types_172.vectorStoreCapability.methods.scan.input.loose())
|
|
14827
|
+
.output(types_172.vectorStoreCapability.methods.scan.output)
|
|
14777
14828
|
.query(async ({ input, ctx }) => {
|
|
14778
14829
|
const { nodeId, ...methodInput } = input;
|
|
14779
14830
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14781,8 +14832,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14781
14832
|
return p.scan(methodInput);
|
|
14782
14833
|
}),
|
|
14783
14834
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
14784
|
-
.input(
|
|
14785
|
-
.output(
|
|
14835
|
+
.input(types_172.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
14836
|
+
.output(types_172.vectorStoreCapability.methods.deleteByIds.output)
|
|
14786
14837
|
.mutation(async ({ input, ctx }) => {
|
|
14787
14838
|
const { nodeId, ...methodInput } = input;
|
|
14788
14839
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14790,8 +14841,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14790
14841
|
return p.deleteByIds(methodInput);
|
|
14791
14842
|
}),
|
|
14792
14843
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
14793
|
-
.input(
|
|
14794
|
-
.output(
|
|
14844
|
+
.input(types_172.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
14845
|
+
.output(types_172.vectorStoreCapability.methods.deleteByFilter.output)
|
|
14795
14846
|
.mutation(async ({ input, ctx }) => {
|
|
14796
14847
|
const { nodeId, ...methodInput } = input;
|
|
14797
14848
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14799,8 +14850,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14799
14850
|
return p.deleteByFilter(methodInput);
|
|
14800
14851
|
}),
|
|
14801
14852
|
stats: trpc_middleware_js_1.adminProcedure
|
|
14802
|
-
.input(
|
|
14803
|
-
.output(
|
|
14853
|
+
.input(types_172.vectorStoreCapability.methods.stats.input.loose())
|
|
14854
|
+
.output(types_172.vectorStoreCapability.methods.stats.output)
|
|
14804
14855
|
.query(async ({ input, ctx }) => {
|
|
14805
14856
|
const { nodeId, ...methodInput } = input;
|
|
14806
14857
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14809,6 +14860,35 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14809
14860
|
}),
|
|
14810
14861
|
});
|
|
14811
14862
|
}
|
|
14863
|
+
function createCapRouter_vehicle(getProvider, createRemoteProxy) {
|
|
14864
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14865
|
+
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
14866
|
+
.input(types_2.DEVICE_STATUS_METHOD.getStatus.input.loose())
|
|
14867
|
+
.output(types_2.DEVICE_STATUS_METHOD.getStatus.output)
|
|
14868
|
+
.query(async ({ input, ctx }) => {
|
|
14869
|
+
const { nodeId, ...methodInput } = input;
|
|
14870
|
+
const p = resolveProvider('vehicle', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14871
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
14872
|
+
return p.getStatus(methodInput);
|
|
14873
|
+
}),
|
|
14874
|
+
requestRefresh: trpc_middleware_js_1.adminProcedure
|
|
14875
|
+
.input(types_173.vehicleCapability.methods.requestRefresh.input.loose())
|
|
14876
|
+
.output(types_173.vehicleCapability.methods.requestRefresh.output)
|
|
14877
|
+
.mutation(async ({ input, ctx }) => {
|
|
14878
|
+
const { nodeId, ...methodInput } = input;
|
|
14879
|
+
const p = resolveProvider('vehicle', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14880
|
+
const fn = p.requestRefresh;
|
|
14881
|
+
if (typeof fn !== 'function') {
|
|
14882
|
+
throw new server_1.TRPCError({
|
|
14883
|
+
code: 'NOT_IMPLEMENTED',
|
|
14884
|
+
message: 'Capability "vehicle" provider does not implement "requestRefresh"',
|
|
14885
|
+
});
|
|
14886
|
+
}
|
|
14887
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
14888
|
+
return fn.call(p, methodInput);
|
|
14889
|
+
}),
|
|
14890
|
+
});
|
|
14891
|
+
}
|
|
14812
14892
|
function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
14813
14893
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14814
14894
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -14825,8 +14905,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
14825
14905
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
14826
14906
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14827
14907
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
14828
|
-
.input(
|
|
14829
|
-
.output(
|
|
14908
|
+
.input(types_174.videoclipsCapability.methods.listClips.input.loose())
|
|
14909
|
+
.output(types_174.videoclipsCapability.methods.listClips.output)
|
|
14830
14910
|
.query(async ({ input, ctx }) => {
|
|
14831
14911
|
const { nodeId, ...methodInput } = input;
|
|
14832
14912
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14834,8 +14914,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14834
14914
|
return p.listClips(methodInput);
|
|
14835
14915
|
}),
|
|
14836
14916
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
14837
|
-
.input(
|
|
14838
|
-
.output(
|
|
14917
|
+
.input(types_174.videoclipsCapability.methods.listSources.input.loose())
|
|
14918
|
+
.output(types_174.videoclipsCapability.methods.listSources.output)
|
|
14839
14919
|
.query(async ({ input, ctx }) => {
|
|
14840
14920
|
const { nodeId, ...methodInput } = input;
|
|
14841
14921
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14843,8 +14923,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14843
14923
|
return p.listSources(methodInput);
|
|
14844
14924
|
}),
|
|
14845
14925
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
14846
|
-
.input(
|
|
14847
|
-
.output(
|
|
14926
|
+
.input(types_174.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
14927
|
+
.output(types_174.videoclipsCapability.methods.getClipPlayback.output)
|
|
14848
14928
|
.query(async ({ input, ctx }) => {
|
|
14849
14929
|
const { nodeId, ...methodInput } = input;
|
|
14850
14930
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14852,8 +14932,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14852
14932
|
return p.getClipPlayback(methodInput);
|
|
14853
14933
|
}),
|
|
14854
14934
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
14855
|
-
.input(
|
|
14856
|
-
.output(
|
|
14935
|
+
.input(types_174.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
14936
|
+
.output(types_174.videoclipsCapability.methods.readClipBytes.output)
|
|
14857
14937
|
.query(async ({ input, ctx }) => {
|
|
14858
14938
|
const { nodeId, ...methodInput } = input;
|
|
14859
14939
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14868,8 +14948,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14868
14948
|
return fn.call(p, methodInput);
|
|
14869
14949
|
}),
|
|
14870
14950
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
14871
|
-
.input(
|
|
14872
|
-
.output(
|
|
14951
|
+
.input(types_174.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
14952
|
+
.output(types_174.videoclipsCapability.methods.offerClipBytes.output)
|
|
14873
14953
|
.query(async ({ input, ctx }) => {
|
|
14874
14954
|
const { nodeId, ...methodInput } = input;
|
|
14875
14955
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14884,8 +14964,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14884
14964
|
return fn.call(p, methodInput);
|
|
14885
14965
|
}),
|
|
14886
14966
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
14887
|
-
.input(
|
|
14888
|
-
.output(
|
|
14967
|
+
.input(types_174.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
14968
|
+
.output(types_174.videoclipsCapability.methods.dialClipStream.output)
|
|
14889
14969
|
.query(async ({ input, ctx }) => {
|
|
14890
14970
|
const { nodeId, ...methodInput } = input;
|
|
14891
14971
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14900,8 +14980,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14900
14980
|
return fn.call(p, methodInput);
|
|
14901
14981
|
}),
|
|
14902
14982
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
14903
|
-
.input(
|
|
14904
|
-
.output(
|
|
14983
|
+
.input(types_174.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
14984
|
+
.output(types_174.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
14905
14985
|
.query(async ({ input, ctx }) => {
|
|
14906
14986
|
const { nodeId, ...methodInput } = input;
|
|
14907
14987
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14921,14 +15001,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
14921
15001
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14922
15002
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
14923
15003
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14924
|
-
.output(
|
|
15004
|
+
.output(types_175.viewerUiCapability.methods.getStaticDir.output)
|
|
14925
15005
|
.query(async ({ input, ctx }) => {
|
|
14926
15006
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14927
15007
|
return p.getStaticDir();
|
|
14928
15008
|
}),
|
|
14929
15009
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
14930
15010
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14931
|
-
.output(
|
|
15011
|
+
.output(types_175.viewerUiCapability.methods.getVersion.output)
|
|
14932
15012
|
.query(async ({ input, ctx }) => {
|
|
14933
15013
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14934
15014
|
return p.getVersion();
|
|
@@ -14947,8 +15027,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14947
15027
|
return p.getStatus(methodInput);
|
|
14948
15028
|
}),
|
|
14949
15029
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
14950
|
-
.input(
|
|
14951
|
-
.output(
|
|
15030
|
+
.input(types_176.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
15031
|
+
.output(types_176.waterHeaterCapability.methods.setOperationMode.output)
|
|
14952
15032
|
.mutation(async ({ input, ctx }) => {
|
|
14953
15033
|
const { nodeId, ...methodInput } = input;
|
|
14954
15034
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14956,8 +15036,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14956
15036
|
return p.setOperationMode(methodInput);
|
|
14957
15037
|
}),
|
|
14958
15038
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
14959
|
-
.input(
|
|
14960
|
-
.output(
|
|
15039
|
+
.input(types_176.waterHeaterCapability.methods.setAway.input.loose())
|
|
15040
|
+
.output(types_176.waterHeaterCapability.methods.setAway.output)
|
|
14961
15041
|
.mutation(async ({ input, ctx }) => {
|
|
14962
15042
|
const { nodeId, ...methodInput } = input;
|
|
14963
15043
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14965,8 +15045,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14965
15045
|
return p.setAway(methodInput);
|
|
14966
15046
|
}),
|
|
14967
15047
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
14968
|
-
.input(
|
|
14969
|
-
.output(
|
|
15048
|
+
.input(types_176.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
15049
|
+
.output(types_176.waterHeaterCapability.methods.setTargetTemp.output)
|
|
14970
15050
|
.mutation(async ({ input, ctx }) => {
|
|
14971
15051
|
const { nodeId, ...methodInput } = input;
|
|
14972
15052
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15004,8 +15084,8 @@ function createCapRouter_weatherStation(getProvider, createRemoteProxy) {
|
|
|
15004
15084
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
15005
15085
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
15006
15086
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
15007
|
-
.input(
|
|
15008
|
-
.output(
|
|
15087
|
+
.input(types_177.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
15088
|
+
.output(types_177.webrtcSessionCapability.methods.listStreams.output)
|
|
15009
15089
|
.query(async ({ input, ctx }) => {
|
|
15010
15090
|
const { nodeId, ...methodInput } = input;
|
|
15011
15091
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15013,8 +15093,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15013
15093
|
return p.listStreams(methodInput);
|
|
15014
15094
|
}),
|
|
15015
15095
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
15016
|
-
.input(
|
|
15017
|
-
.output(
|
|
15096
|
+
.input(types_177.webrtcSessionCapability.methods.createSession.input.loose())
|
|
15097
|
+
.output(types_177.webrtcSessionCapability.methods.createSession.output)
|
|
15018
15098
|
.mutation(async ({ input, ctx }) => {
|
|
15019
15099
|
const { nodeId, ...methodInput } = input;
|
|
15020
15100
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15022,8 +15102,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15022
15102
|
return p.createSession(methodInput);
|
|
15023
15103
|
}),
|
|
15024
15104
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
15025
|
-
.input(
|
|
15026
|
-
.output(
|
|
15105
|
+
.input(types_177.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
15106
|
+
.output(types_177.webrtcSessionCapability.methods.handleOffer.output)
|
|
15027
15107
|
.mutation(async ({ input, ctx }) => {
|
|
15028
15108
|
const { nodeId, ...methodInput } = input;
|
|
15029
15109
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15031,8 +15111,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15031
15111
|
return p.handleOffer(methodInput);
|
|
15032
15112
|
}),
|
|
15033
15113
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
15034
|
-
.input(
|
|
15035
|
-
.output(
|
|
15114
|
+
.input(types_177.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
15115
|
+
.output(types_177.webrtcSessionCapability.methods.handleAnswer.output)
|
|
15036
15116
|
.mutation(async ({ input, ctx }) => {
|
|
15037
15117
|
const { nodeId, ...methodInput } = input;
|
|
15038
15118
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15040,8 +15120,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15040
15120
|
return p.handleAnswer(methodInput);
|
|
15041
15121
|
}),
|
|
15042
15122
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
15043
|
-
.input(
|
|
15044
|
-
.output(
|
|
15123
|
+
.input(types_177.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
15124
|
+
.output(types_177.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
15045
15125
|
.mutation(async ({ input, ctx }) => {
|
|
15046
15126
|
const { nodeId, ...methodInput } = input;
|
|
15047
15127
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15049,8 +15129,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15049
15129
|
return p.addIceCandidate(methodInput);
|
|
15050
15130
|
}),
|
|
15051
15131
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
15052
|
-
.input(
|
|
15053
|
-
.output(
|
|
15132
|
+
.input(types_177.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
15133
|
+
.output(types_177.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
15054
15134
|
.query(async ({ input, ctx }) => {
|
|
15055
15135
|
const { nodeId, ...methodInput } = input;
|
|
15056
15136
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15058,8 +15138,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15058
15138
|
return p.getIceCandidates(methodInput);
|
|
15059
15139
|
}),
|
|
15060
15140
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
15061
|
-
.input(
|
|
15062
|
-
.output(
|
|
15141
|
+
.input(types_177.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
15142
|
+
.output(types_177.webrtcSessionCapability.methods.closeSession.output)
|
|
15063
15143
|
.mutation(async ({ input, ctx }) => {
|
|
15064
15144
|
const { nodeId, ...methodInput } = input;
|
|
15065
15145
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15067,8 +15147,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15067
15147
|
return p.closeSession(methodInput);
|
|
15068
15148
|
}),
|
|
15069
15149
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
15070
|
-
.input(
|
|
15071
|
-
.output(
|
|
15150
|
+
.input(types_177.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
15151
|
+
.output(types_177.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
15072
15152
|
.query(async ({ input, ctx }) => {
|
|
15073
15153
|
const { nodeId, ...methodInput } = input;
|
|
15074
15154
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15076,8 +15156,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15076
15156
|
return p.hasAdaptiveBitrate(methodInput);
|
|
15077
15157
|
}),
|
|
15078
15158
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
15079
|
-
.input(
|
|
15080
|
-
.output(
|
|
15159
|
+
.input(types_177.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
15160
|
+
.output(types_177.webrtcSessionCapability.methods.getSessionState.output)
|
|
15081
15161
|
.query(async ({ input, ctx }) => {
|
|
15082
15162
|
const { nodeId, ...methodInput } = input;
|
|
15083
15163
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15085,8 +15165,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15085
15165
|
return p.getSessionState(methodInput);
|
|
15086
15166
|
}),
|
|
15087
15167
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
15088
|
-
.input(
|
|
15089
|
-
.output(
|
|
15168
|
+
.input(types_177.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
15169
|
+
.output(types_177.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
15090
15170
|
.mutation(async ({ input, ctx }) => {
|
|
15091
15171
|
const { nodeId, ...methodInput } = input;
|
|
15092
15172
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15094,8 +15174,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
15094
15174
|
return p.applyDownlinkProbe(methodInput);
|
|
15095
15175
|
}),
|
|
15096
15176
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
15097
|
-
.input(
|
|
15098
|
-
.output(
|
|
15177
|
+
.input(types_177.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
15178
|
+
.output(types_177.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
15099
15179
|
.query(async ({ input, ctx }) => {
|
|
15100
15180
|
const { nodeId, ...methodInput } = input;
|
|
15101
15181
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15116,8 +15196,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15116
15196
|
return p.getStatus(methodInput);
|
|
15117
15197
|
}),
|
|
15118
15198
|
start: trpc_middleware_js_1.protectedProcedure
|
|
15119
|
-
.input(
|
|
15120
|
-
.output(
|
|
15199
|
+
.input(types_178.workloadCapability.methods.start.input.loose())
|
|
15200
|
+
.output(types_178.workloadCapability.methods.start.output)
|
|
15121
15201
|
.mutation(async ({ input, ctx }) => {
|
|
15122
15202
|
const { nodeId, ...methodInput } = input;
|
|
15123
15203
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15132,8 +15212,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15132
15212
|
return fn.call(p, methodInput);
|
|
15133
15213
|
}),
|
|
15134
15214
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
15135
|
-
.input(
|
|
15136
|
-
.output(
|
|
15215
|
+
.input(types_178.workloadCapability.methods.stop.input.loose())
|
|
15216
|
+
.output(types_178.workloadCapability.methods.stop.output)
|
|
15137
15217
|
.mutation(async ({ input, ctx }) => {
|
|
15138
15218
|
const { nodeId, ...methodInput } = input;
|
|
15139
15219
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15148,8 +15228,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15148
15228
|
return fn.call(p, methodInput);
|
|
15149
15229
|
}),
|
|
15150
15230
|
restart: trpc_middleware_js_1.protectedProcedure
|
|
15151
|
-
.input(
|
|
15152
|
-
.output(
|
|
15231
|
+
.input(types_178.workloadCapability.methods.restart.input.loose())
|
|
15232
|
+
.output(types_178.workloadCapability.methods.restart.output)
|
|
15153
15233
|
.mutation(async ({ input, ctx }) => {
|
|
15154
15234
|
const { nodeId, ...methodInput } = input;
|
|
15155
15235
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15164,8 +15244,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15164
15244
|
return fn.call(p, methodInput);
|
|
15165
15245
|
}),
|
|
15166
15246
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
15167
|
-
.input(
|
|
15168
|
-
.output(
|
|
15247
|
+
.input(types_178.workloadCapability.methods.pause.input.loose())
|
|
15248
|
+
.output(types_178.workloadCapability.methods.pause.output)
|
|
15169
15249
|
.mutation(async ({ input, ctx }) => {
|
|
15170
15250
|
const { nodeId, ...methodInput } = input;
|
|
15171
15251
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15180,8 +15260,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15180
15260
|
return fn.call(p, methodInput);
|
|
15181
15261
|
}),
|
|
15182
15262
|
resume: trpc_middleware_js_1.protectedProcedure
|
|
15183
|
-
.input(
|
|
15184
|
-
.output(
|
|
15263
|
+
.input(types_178.workloadCapability.methods.resume.input.loose())
|
|
15264
|
+
.output(types_178.workloadCapability.methods.resume.output)
|
|
15185
15265
|
.mutation(async ({ input, ctx }) => {
|
|
15186
15266
|
const { nodeId, ...methodInput } = input;
|
|
15187
15267
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15196,8 +15276,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15196
15276
|
return fn.call(p, methodInput);
|
|
15197
15277
|
}),
|
|
15198
15278
|
forceStop: trpc_middleware_js_1.adminProcedure
|
|
15199
|
-
.input(
|
|
15200
|
-
.output(
|
|
15279
|
+
.input(types_178.workloadCapability.methods.forceStop.input.loose())
|
|
15280
|
+
.output(types_178.workloadCapability.methods.forceStop.output)
|
|
15201
15281
|
.mutation(async ({ input, ctx }) => {
|
|
15202
15282
|
const { nodeId, ...methodInput } = input;
|
|
15203
15283
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15212,8 +15292,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15212
15292
|
return fn.call(p, methodInput);
|
|
15213
15293
|
}),
|
|
15214
15294
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
15215
|
-
.input(
|
|
15216
|
-
.output(
|
|
15295
|
+
.input(types_178.workloadCapability.methods.getOptions.input.loose())
|
|
15296
|
+
.output(types_178.workloadCapability.methods.getOptions.output)
|
|
15217
15297
|
.query(async ({ input, ctx }) => {
|
|
15218
15298
|
const { nodeId, ...methodInput } = input;
|
|
15219
15299
|
const p = resolveProvider('workload', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15225,8 +15305,8 @@ function createCapRouter_workload(getProvider, createRemoteProxy) {
|
|
|
15225
15305
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
15226
15306
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
15227
15307
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
15228
|
-
.input(
|
|
15229
|
-
.output(
|
|
15308
|
+
.input(types_179.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
15309
|
+
.output(types_179.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
15230
15310
|
.query(async ({ input, ctx }) => {
|
|
15231
15311
|
const { nodeId, ...methodInput } = input;
|
|
15232
15312
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15234,8 +15314,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
15234
15314
|
return p.getCurrentSnapshot(methodInput);
|
|
15235
15315
|
}),
|
|
15236
15316
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
15237
|
-
.input(
|
|
15238
|
-
.output(
|
|
15317
|
+
.input(types_179.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
15318
|
+
.output(types_179.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
15239
15319
|
.query(async ({ input, ctx }) => {
|
|
15240
15320
|
const { nodeId, ...methodInput } = input;
|
|
15241
15321
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15243,8 +15323,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
15243
15323
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
15244
15324
|
}),
|
|
15245
15325
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
15246
|
-
.input(
|
|
15247
|
-
.output(
|
|
15326
|
+
.input(types_179.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
15327
|
+
.output(types_179.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
15248
15328
|
.query(async ({ input, ctx }) => {
|
|
15249
15329
|
const { nodeId, ...methodInput } = input;
|
|
15250
15330
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15252,8 +15332,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
15252
15332
|
return p.getZoneHistory(methodInput);
|
|
15253
15333
|
}),
|
|
15254
15334
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
15255
|
-
.input(
|
|
15256
|
-
.output(
|
|
15335
|
+
.input(types_179.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
15336
|
+
.output(types_179.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
15257
15337
|
.query(async ({ input, ctx }) => {
|
|
15258
15338
|
const { nodeId, ...methodInput } = input;
|
|
15259
15339
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15261,8 +15341,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
15261
15341
|
return p.getCameraHistory(methodInput);
|
|
15262
15342
|
}),
|
|
15263
15343
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
15264
|
-
.input(
|
|
15265
|
-
.output(
|
|
15344
|
+
.input(types_179.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
15345
|
+
.output(types_179.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
15266
15346
|
.query(async ({ input, ctx }) => {
|
|
15267
15347
|
const { nodeId, ...methodInput } = input;
|
|
15268
15348
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15274,8 +15354,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
15274
15354
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
15275
15355
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
15276
15356
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
15277
|
-
.input(
|
|
15278
|
-
.output(
|
|
15357
|
+
.input(types_180.zoneRulesCapability.methods.listRules.input.loose())
|
|
15358
|
+
.output(types_180.zoneRulesCapability.methods.listRules.output)
|
|
15279
15359
|
.query(async ({ input, ctx }) => {
|
|
15280
15360
|
const { nodeId, ...methodInput } = input;
|
|
15281
15361
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15283,8 +15363,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
15283
15363
|
return p.listRules(methodInput);
|
|
15284
15364
|
}),
|
|
15285
15365
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
15286
|
-
.input(
|
|
15287
|
-
.output(
|
|
15366
|
+
.input(types_180.zoneRulesCapability.methods.setRules.input.loose())
|
|
15367
|
+
.output(types_180.zoneRulesCapability.methods.setRules.output)
|
|
15288
15368
|
.mutation(async ({ input, ctx }) => {
|
|
15289
15369
|
const { nodeId, ...methodInput } = input;
|
|
15290
15370
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15296,8 +15376,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
15296
15376
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
15297
15377
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
15298
15378
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
15299
|
-
.input(
|
|
15300
|
-
.output(
|
|
15379
|
+
.input(types_181.zonesCapability.methods.listZones.input.loose())
|
|
15380
|
+
.output(types_181.zonesCapability.methods.listZones.output)
|
|
15301
15381
|
.query(async ({ input, ctx }) => {
|
|
15302
15382
|
const { nodeId, ...methodInput } = input;
|
|
15303
15383
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15305,8 +15385,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
15305
15385
|
return p.listZones(methodInput);
|
|
15306
15386
|
}),
|
|
15307
15387
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
15308
|
-
.input(
|
|
15309
|
-
.output(
|
|
15388
|
+
.input(types_181.zonesCapability.methods.addZone.input.loose())
|
|
15389
|
+
.output(types_181.zonesCapability.methods.addZone.output)
|
|
15310
15390
|
.mutation(async ({ input, ctx }) => {
|
|
15311
15391
|
const { nodeId, ...methodInput } = input;
|
|
15312
15392
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15314,8 +15394,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
15314
15394
|
return p.addZone(methodInput);
|
|
15315
15395
|
}),
|
|
15316
15396
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
15317
|
-
.input(
|
|
15318
|
-
.output(
|
|
15397
|
+
.input(types_181.zonesCapability.methods.removeZone.input.loose())
|
|
15398
|
+
.output(types_181.zonesCapability.methods.removeZone.output)
|
|
15319
15399
|
.mutation(async ({ input, ctx }) => {
|
|
15320
15400
|
const { nodeId, ...methodInput } = input;
|
|
15321
15401
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -15323,8 +15403,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
15323
15403
|
return p.removeZone(methodInput);
|
|
15324
15404
|
}),
|
|
15325
15405
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
15326
|
-
.input(
|
|
15327
|
-
.output(
|
|
15406
|
+
.input(types_181.zonesCapability.methods.updateZone.input.loose())
|
|
15407
|
+
.output(types_181.zonesCapability.methods.updateZone.output)
|
|
15328
15408
|
.mutation(async ({ input, ctx }) => {
|
|
15329
15409
|
const { nodeId, ...methodInput } = input;
|
|
15330
15410
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|