@camstack/server 1.2.684 → 1.2.686
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.
|
@@ -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: 190
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -151,6 +151,7 @@ exports.createCapRouter_recordingExport = createCapRouter_recordingExport;
|
|
|
151
151
|
exports.createCapRouter_recordingOnboard = createCapRouter_recordingOnboard;
|
|
152
152
|
exports.createCapRouter_recordingSignal = createCapRouter_recordingSignal;
|
|
153
153
|
exports.createCapRouter_records = createCapRouter_records;
|
|
154
|
+
exports.createCapRouter_remote = createCapRouter_remote;
|
|
154
155
|
exports.createCapRouter_runningState = createCapRouter_runningState;
|
|
155
156
|
exports.createCapRouter_sceneMonitor = createCapRouter_sceneMonitor;
|
|
156
157
|
exports.createCapRouter_scriptRunner = createCapRouter_scriptRunner;
|
|
@@ -174,6 +175,7 @@ exports.createCapRouter_switch = createCapRouter_switch;
|
|
|
174
175
|
exports.createCapRouter_system = createCapRouter_system;
|
|
175
176
|
exports.createCapRouter_tamper = createCapRouter_tamper;
|
|
176
177
|
exports.createCapRouter_temperatureSensor = createCapRouter_temperatureSensor;
|
|
178
|
+
exports.createCapRouter_template = createCapRouter_template;
|
|
177
179
|
exports.createCapRouter_terminalSession = createCapRouter_terminalSession;
|
|
178
180
|
exports.createCapRouter_toast = createCapRouter_toast;
|
|
179
181
|
exports.createCapRouter_training = createCapRouter_training;
|
|
@@ -355,6 +357,8 @@ const types_154 = require("@camstack/types");
|
|
|
355
357
|
const types_155 = require("@camstack/types");
|
|
356
358
|
const types_156 = require("@camstack/types");
|
|
357
359
|
const types_157 = require("@camstack/types");
|
|
360
|
+
const types_158 = require("@camstack/types");
|
|
361
|
+
const types_159 = require("@camstack/types");
|
|
358
362
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
359
363
|
function requireCapProvider(name, getProvider) {
|
|
360
364
|
const p = getProvider();
|
|
@@ -10682,6 +10686,55 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10682
10686
|
}),
|
|
10683
10687
|
});
|
|
10684
10688
|
}
|
|
10689
|
+
function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
10690
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10691
|
+
getConfig: trpc_middleware_js_1.adminProcedure
|
|
10692
|
+
.input(types_121.remoteCapability.methods.getConfig.input.loose())
|
|
10693
|
+
.output(types_121.remoteCapability.methods.getConfig.output)
|
|
10694
|
+
.query(async ({ input, ctx }) => {
|
|
10695
|
+
const { nodeId, ...methodInput } = input;
|
|
10696
|
+
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10697
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10698
|
+
return p.getConfig(methodInput);
|
|
10699
|
+
}),
|
|
10700
|
+
setConfig: trpc_middleware_js_1.adminProcedure
|
|
10701
|
+
.input(types_121.remoteCapability.methods.setConfig.input.loose())
|
|
10702
|
+
.output(types_121.remoteCapability.methods.setConfig.output)
|
|
10703
|
+
.mutation(async ({ input, ctx }) => {
|
|
10704
|
+
const { nodeId, ...methodInput } = input;
|
|
10705
|
+
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10706
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10707
|
+
return p.setConfig(methodInput);
|
|
10708
|
+
}),
|
|
10709
|
+
listCommands: trpc_middleware_js_1.protectedProcedure
|
|
10710
|
+
.input(types_121.remoteCapability.methods.listCommands.input.loose())
|
|
10711
|
+
.output(types_121.remoteCapability.methods.listCommands.output)
|
|
10712
|
+
.query(async ({ input, ctx }) => {
|
|
10713
|
+
const { nodeId, ...methodInput } = input;
|
|
10714
|
+
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10715
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10716
|
+
return p.listCommands(methodInput);
|
|
10717
|
+
}),
|
|
10718
|
+
sendCommand: trpc_middleware_js_1.protectedProcedure
|
|
10719
|
+
.input(types_121.remoteCapability.methods.sendCommand.input.loose())
|
|
10720
|
+
.output(types_121.remoteCapability.methods.sendCommand.output)
|
|
10721
|
+
.mutation(async ({ input, ctx }) => {
|
|
10722
|
+
const { nodeId, ...methodInput } = input;
|
|
10723
|
+
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10724
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10725
|
+
return p.sendCommand(methodInput);
|
|
10726
|
+
}),
|
|
10727
|
+
sendMediaCommand: trpc_middleware_js_1.protectedProcedure
|
|
10728
|
+
.input(types_121.remoteCapability.methods.sendMediaCommand.input.loose())
|
|
10729
|
+
.output(types_121.remoteCapability.methods.sendMediaCommand.output)
|
|
10730
|
+
.mutation(async ({ input, ctx }) => {
|
|
10731
|
+
const { nodeId, ...methodInput } = input;
|
|
10732
|
+
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10733
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10734
|
+
return p.sendMediaCommand(methodInput);
|
|
10735
|
+
}),
|
|
10736
|
+
});
|
|
10737
|
+
}
|
|
10685
10738
|
function createCapRouter_runningState(getProvider, createRemoteProxy) {
|
|
10686
10739
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10687
10740
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -10707,8 +10760,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10707
10760
|
return p.getStatus(methodInput);
|
|
10708
10761
|
}),
|
|
10709
10762
|
listScenes: trpc_middleware_js_1.protectedProcedure
|
|
10710
|
-
.input(
|
|
10711
|
-
.output(
|
|
10763
|
+
.input(types_122.sceneMonitorCapability.methods.listScenes.input.loose())
|
|
10764
|
+
.output(types_122.sceneMonitorCapability.methods.listScenes.output)
|
|
10712
10765
|
.query(async ({ input, ctx }) => {
|
|
10713
10766
|
const { nodeId, ...methodInput } = input;
|
|
10714
10767
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10716,8 +10769,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10716
10769
|
return p.listScenes(methodInput);
|
|
10717
10770
|
}),
|
|
10718
10771
|
listScenesBatch: trpc_middleware_js_1.protectedProcedure
|
|
10719
|
-
.input(
|
|
10720
|
-
.output(
|
|
10772
|
+
.input(types_122.sceneMonitorCapability.methods.listScenesBatch.input.loose())
|
|
10773
|
+
.output(types_122.sceneMonitorCapability.methods.listScenesBatch.output)
|
|
10721
10774
|
.query(async ({ input, ctx }) => {
|
|
10722
10775
|
const { nodeId, ...methodInput } = input;
|
|
10723
10776
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10725,8 +10778,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10725
10778
|
return p.listScenesBatch(methodInput);
|
|
10726
10779
|
}),
|
|
10727
10780
|
createScene: trpc_middleware_js_1.adminProcedure
|
|
10728
|
-
.input(
|
|
10729
|
-
.output(
|
|
10781
|
+
.input(types_122.sceneMonitorCapability.methods.createScene.input.loose())
|
|
10782
|
+
.output(types_122.sceneMonitorCapability.methods.createScene.output)
|
|
10730
10783
|
.mutation(async ({ input, ctx }) => {
|
|
10731
10784
|
const { nodeId, ...methodInput } = input;
|
|
10732
10785
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10734,8 +10787,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10734
10787
|
return p.createScene(methodInput);
|
|
10735
10788
|
}),
|
|
10736
10789
|
updateScene: trpc_middleware_js_1.adminProcedure
|
|
10737
|
-
.input(
|
|
10738
|
-
.output(
|
|
10790
|
+
.input(types_122.sceneMonitorCapability.methods.updateScene.input.loose())
|
|
10791
|
+
.output(types_122.sceneMonitorCapability.methods.updateScene.output)
|
|
10739
10792
|
.mutation(async ({ input, ctx }) => {
|
|
10740
10793
|
const { nodeId, ...methodInput } = input;
|
|
10741
10794
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10743,8 +10796,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10743
10796
|
return p.updateScene(methodInput);
|
|
10744
10797
|
}),
|
|
10745
10798
|
deleteScene: trpc_middleware_js_1.adminProcedure
|
|
10746
|
-
.input(
|
|
10747
|
-
.output(
|
|
10799
|
+
.input(types_122.sceneMonitorCapability.methods.deleteScene.input.loose())
|
|
10800
|
+
.output(types_122.sceneMonitorCapability.methods.deleteScene.output)
|
|
10748
10801
|
.mutation(async ({ input, ctx }) => {
|
|
10749
10802
|
const { nodeId, ...methodInput } = input;
|
|
10750
10803
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10752,8 +10805,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10752
10805
|
return p.deleteScene(methodInput);
|
|
10753
10806
|
}),
|
|
10754
10807
|
captureReference: trpc_middleware_js_1.adminProcedure
|
|
10755
|
-
.input(
|
|
10756
|
-
.output(
|
|
10808
|
+
.input(types_122.sceneMonitorCapability.methods.captureReference.input.loose())
|
|
10809
|
+
.output(types_122.sceneMonitorCapability.methods.captureReference.output)
|
|
10757
10810
|
.mutation(async ({ input, ctx }) => {
|
|
10758
10811
|
const { nodeId, ...methodInput } = input;
|
|
10759
10812
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10761,8 +10814,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10761
10814
|
return p.captureReference(methodInput);
|
|
10762
10815
|
}),
|
|
10763
10816
|
deleteReference: trpc_middleware_js_1.adminProcedure
|
|
10764
|
-
.input(
|
|
10765
|
-
.output(
|
|
10817
|
+
.input(types_122.sceneMonitorCapability.methods.deleteReference.input.loose())
|
|
10818
|
+
.output(types_122.sceneMonitorCapability.methods.deleteReference.output)
|
|
10766
10819
|
.mutation(async ({ input, ctx }) => {
|
|
10767
10820
|
const { nodeId, ...methodInput } = input;
|
|
10768
10821
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10770,8 +10823,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10770
10823
|
return p.deleteReference(methodInput);
|
|
10771
10824
|
}),
|
|
10772
10825
|
recheckNow: trpc_middleware_js_1.adminProcedure
|
|
10773
|
-
.input(
|
|
10774
|
-
.output(
|
|
10826
|
+
.input(types_122.sceneMonitorCapability.methods.recheckNow.input.loose())
|
|
10827
|
+
.output(types_122.sceneMonitorCapability.methods.recheckNow.output)
|
|
10775
10828
|
.mutation(async ({ input, ctx }) => {
|
|
10776
10829
|
const { nodeId, ...methodInput } = input;
|
|
10777
10830
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10779,8 +10832,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10779
10832
|
return p.recheckNow(methodInput);
|
|
10780
10833
|
}),
|
|
10781
10834
|
resetScene: trpc_middleware_js_1.adminProcedure
|
|
10782
|
-
.input(
|
|
10783
|
-
.output(
|
|
10835
|
+
.input(types_122.sceneMonitorCapability.methods.resetScene.input.loose())
|
|
10836
|
+
.output(types_122.sceneMonitorCapability.methods.resetScene.output)
|
|
10784
10837
|
.mutation(async ({ input, ctx }) => {
|
|
10785
10838
|
const { nodeId, ...methodInput } = input;
|
|
10786
10839
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10801,8 +10854,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
10801
10854
|
return p.getStatus(methodInput);
|
|
10802
10855
|
}),
|
|
10803
10856
|
run: trpc_middleware_js_1.adminProcedure
|
|
10804
|
-
.input(
|
|
10805
|
-
.output(
|
|
10857
|
+
.input(types_123.scriptRunnerCapability.methods.run.input.loose())
|
|
10858
|
+
.output(types_123.scriptRunnerCapability.methods.run.output)
|
|
10806
10859
|
.mutation(async ({ input, ctx }) => {
|
|
10807
10860
|
const { nodeId, ...methodInput } = input;
|
|
10808
10861
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10810,8 +10863,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
10810
10863
|
return p.run(methodInput);
|
|
10811
10864
|
}),
|
|
10812
10865
|
stop: trpc_middleware_js_1.adminProcedure
|
|
10813
|
-
.input(
|
|
10814
|
-
.output(
|
|
10866
|
+
.input(types_123.scriptRunnerCapability.methods.stop.input.loose())
|
|
10867
|
+
.output(types_123.scriptRunnerCapability.methods.stop.output)
|
|
10815
10868
|
.mutation(async ({ input, ctx }) => {
|
|
10816
10869
|
const { nodeId, ...methodInput } = input;
|
|
10817
10870
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10824,21 +10877,21 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
10824
10877
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10825
10878
|
getServerPackageStatus: trpc_middleware_js_1.adminProcedure
|
|
10826
10879
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10827
|
-
.output(
|
|
10880
|
+
.output(types_124.serverManagementCapability.methods.getServerPackageStatus.output)
|
|
10828
10881
|
.query(async ({ input, ctx }) => {
|
|
10829
10882
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10830
10883
|
return p.getServerPackageStatus();
|
|
10831
10884
|
}),
|
|
10832
10885
|
checkServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
10833
10886
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10834
|
-
.output(
|
|
10887
|
+
.output(types_124.serverManagementCapability.methods.checkServerUpdate.output)
|
|
10835
10888
|
.mutation(async ({ input, ctx }) => {
|
|
10836
10889
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10837
10890
|
return p.checkServerUpdate();
|
|
10838
10891
|
}),
|
|
10839
10892
|
applyServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
10840
|
-
.input(
|
|
10841
|
-
.output(
|
|
10893
|
+
.input(types_124.serverManagementCapability.methods.applyServerUpdate.input.loose())
|
|
10894
|
+
.output(types_124.serverManagementCapability.methods.applyServerUpdate.output)
|
|
10842
10895
|
.mutation(async ({ input, ctx }) => {
|
|
10843
10896
|
const { nodeId, ...methodInput } = input;
|
|
10844
10897
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10847,14 +10900,14 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
10847
10900
|
}),
|
|
10848
10901
|
rollbackServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
10849
10902
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10850
|
-
.output(
|
|
10903
|
+
.output(types_124.serverManagementCapability.methods.rollbackServerUpdate.output)
|
|
10851
10904
|
.mutation(async ({ input, ctx }) => {
|
|
10852
10905
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10853
10906
|
return p.rollbackServerUpdate();
|
|
10854
10907
|
}),
|
|
10855
10908
|
restartServer: trpc_middleware_js_1.adminProcedure
|
|
10856
10909
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10857
|
-
.output(
|
|
10910
|
+
.output(types_124.serverManagementCapability.methods.restartServer.output)
|
|
10858
10911
|
.mutation(async ({ input, ctx }) => {
|
|
10859
10912
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10860
10913
|
return p.restartServer();
|
|
@@ -10864,8 +10917,8 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
10864
10917
|
function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
10865
10918
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10866
10919
|
get: trpc_middleware_js_1.adminProcedure
|
|
10867
|
-
.input(
|
|
10868
|
-
.output(
|
|
10920
|
+
.input(types_125.settingsStoreCapability.methods.get.input.loose())
|
|
10921
|
+
.output(types_125.settingsStoreCapability.methods.get.output)
|
|
10869
10922
|
.query(async ({ input, ctx }) => {
|
|
10870
10923
|
const { nodeId, ...methodInput } = input;
|
|
10871
10924
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10873,8 +10926,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10873
10926
|
return p.get(methodInput);
|
|
10874
10927
|
}),
|
|
10875
10928
|
set: trpc_middleware_js_1.adminProcedure
|
|
10876
|
-
.input(
|
|
10877
|
-
.output(
|
|
10929
|
+
.input(types_125.settingsStoreCapability.methods.set.input.loose())
|
|
10930
|
+
.output(types_125.settingsStoreCapability.methods.set.output)
|
|
10878
10931
|
.mutation(async ({ input, ctx }) => {
|
|
10879
10932
|
const { nodeId, ...methodInput } = input;
|
|
10880
10933
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10882,8 +10935,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10882
10935
|
return p.set(methodInput);
|
|
10883
10936
|
}),
|
|
10884
10937
|
query: trpc_middleware_js_1.adminProcedure
|
|
10885
|
-
.input(
|
|
10886
|
-
.output(
|
|
10938
|
+
.input(types_125.settingsStoreCapability.methods.query.input.loose())
|
|
10939
|
+
.output(types_125.settingsStoreCapability.methods.query.output)
|
|
10887
10940
|
.query(async ({ input, ctx }) => {
|
|
10888
10941
|
const { nodeId, ...methodInput } = input;
|
|
10889
10942
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10891,8 +10944,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10891
10944
|
return p.query(methodInput);
|
|
10892
10945
|
}),
|
|
10893
10946
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
10894
|
-
.input(
|
|
10895
|
-
.output(
|
|
10947
|
+
.input(types_125.settingsStoreCapability.methods.upsert.input.loose())
|
|
10948
|
+
.output(types_125.settingsStoreCapability.methods.upsert.output)
|
|
10896
10949
|
.mutation(async ({ input, ctx }) => {
|
|
10897
10950
|
const { nodeId, ...methodInput } = input;
|
|
10898
10951
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10900,8 +10953,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10900
10953
|
return p.upsert(methodInput);
|
|
10901
10954
|
}),
|
|
10902
10955
|
upsertMany: trpc_middleware_js_1.adminProcedure
|
|
10903
|
-
.input(
|
|
10904
|
-
.output(
|
|
10956
|
+
.input(types_125.settingsStoreCapability.methods.upsertMany.input.loose())
|
|
10957
|
+
.output(types_125.settingsStoreCapability.methods.upsertMany.output)
|
|
10905
10958
|
.mutation(async ({ input, ctx }) => {
|
|
10906
10959
|
const { nodeId, ...methodInput } = input;
|
|
10907
10960
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10909,8 +10962,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10909
10962
|
return p.upsertMany(methodInput);
|
|
10910
10963
|
}),
|
|
10911
10964
|
insert: trpc_middleware_js_1.adminProcedure
|
|
10912
|
-
.input(
|
|
10913
|
-
.output(
|
|
10965
|
+
.input(types_125.settingsStoreCapability.methods.insert.input.loose())
|
|
10966
|
+
.output(types_125.settingsStoreCapability.methods.insert.output)
|
|
10914
10967
|
.mutation(async ({ input, ctx }) => {
|
|
10915
10968
|
const { nodeId, ...methodInput } = input;
|
|
10916
10969
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10918,8 +10971,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10918
10971
|
return p.insert(methodInput);
|
|
10919
10972
|
}),
|
|
10920
10973
|
insertMany: trpc_middleware_js_1.adminProcedure
|
|
10921
|
-
.input(
|
|
10922
|
-
.output(
|
|
10974
|
+
.input(types_125.settingsStoreCapability.methods.insertMany.input.loose())
|
|
10975
|
+
.output(types_125.settingsStoreCapability.methods.insertMany.output)
|
|
10923
10976
|
.mutation(async ({ input, ctx }) => {
|
|
10924
10977
|
const { nodeId, ...methodInput } = input;
|
|
10925
10978
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10927,8 +10980,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10927
10980
|
return p.insertMany(methodInput);
|
|
10928
10981
|
}),
|
|
10929
10982
|
transact: trpc_middleware_js_1.adminProcedure
|
|
10930
|
-
.input(
|
|
10931
|
-
.output(
|
|
10983
|
+
.input(types_125.settingsStoreCapability.methods.transact.input.loose())
|
|
10984
|
+
.output(types_125.settingsStoreCapability.methods.transact.output)
|
|
10932
10985
|
.mutation(async ({ input, ctx }) => {
|
|
10933
10986
|
const { nodeId, ...methodInput } = input;
|
|
10934
10987
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10936,8 +10989,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10936
10989
|
return p.transact(methodInput);
|
|
10937
10990
|
}),
|
|
10938
10991
|
update: trpc_middleware_js_1.adminProcedure
|
|
10939
|
-
.input(
|
|
10940
|
-
.output(
|
|
10992
|
+
.input(types_125.settingsStoreCapability.methods.update.input.loose())
|
|
10993
|
+
.output(types_125.settingsStoreCapability.methods.update.output)
|
|
10941
10994
|
.mutation(async ({ input, ctx }) => {
|
|
10942
10995
|
const { nodeId, ...methodInput } = input;
|
|
10943
10996
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10945,8 +10998,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10945
10998
|
return p.update(methodInput);
|
|
10946
10999
|
}),
|
|
10947
11000
|
delete: trpc_middleware_js_1.adminProcedure
|
|
10948
|
-
.input(
|
|
10949
|
-
.output(
|
|
11001
|
+
.input(types_125.settingsStoreCapability.methods.delete.input.loose())
|
|
11002
|
+
.output(types_125.settingsStoreCapability.methods.delete.output)
|
|
10950
11003
|
.mutation(async ({ input, ctx }) => {
|
|
10951
11004
|
const { nodeId, ...methodInput } = input;
|
|
10952
11005
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10954,8 +11007,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10954
11007
|
return p.delete(methodInput);
|
|
10955
11008
|
}),
|
|
10956
11009
|
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
10957
|
-
.input(
|
|
10958
|
-
.output(
|
|
11010
|
+
.input(types_125.settingsStoreCapability.methods.deleteWhere.input.loose())
|
|
11011
|
+
.output(types_125.settingsStoreCapability.methods.deleteWhere.output)
|
|
10959
11012
|
.mutation(async ({ input, ctx }) => {
|
|
10960
11013
|
const { nodeId, ...methodInput } = input;
|
|
10961
11014
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10963,8 +11016,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10963
11016
|
return p.deleteWhere(methodInput);
|
|
10964
11017
|
}),
|
|
10965
11018
|
updateWhere: trpc_middleware_js_1.adminProcedure
|
|
10966
|
-
.input(
|
|
10967
|
-
.output(
|
|
11019
|
+
.input(types_125.settingsStoreCapability.methods.updateWhere.input.loose())
|
|
11020
|
+
.output(types_125.settingsStoreCapability.methods.updateWhere.output)
|
|
10968
11021
|
.mutation(async ({ input, ctx }) => {
|
|
10969
11022
|
const { nodeId, ...methodInput } = input;
|
|
10970
11023
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10972,8 +11025,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10972
11025
|
return p.updateWhere(methodInput);
|
|
10973
11026
|
}),
|
|
10974
11027
|
count: trpc_middleware_js_1.adminProcedure
|
|
10975
|
-
.input(
|
|
10976
|
-
.output(
|
|
11028
|
+
.input(types_125.settingsStoreCapability.methods.count.input.loose())
|
|
11029
|
+
.output(types_125.settingsStoreCapability.methods.count.output)
|
|
10977
11030
|
.query(async ({ input, ctx }) => {
|
|
10978
11031
|
const { nodeId, ...methodInput } = input;
|
|
10979
11032
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10981,8 +11034,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10981
11034
|
return p.count(methodInput);
|
|
10982
11035
|
}),
|
|
10983
11036
|
aggregate: trpc_middleware_js_1.adminProcedure
|
|
10984
|
-
.input(
|
|
10985
|
-
.output(
|
|
11037
|
+
.input(types_125.settingsStoreCapability.methods.aggregate.input.loose())
|
|
11038
|
+
.output(types_125.settingsStoreCapability.methods.aggregate.output)
|
|
10986
11039
|
.query(async ({ input, ctx }) => {
|
|
10987
11040
|
const { nodeId, ...methodInput } = input;
|
|
10988
11041
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10990,8 +11043,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10990
11043
|
return p.aggregate(methodInput);
|
|
10991
11044
|
}),
|
|
10992
11045
|
histogram: trpc_middleware_js_1.adminProcedure
|
|
10993
|
-
.input(
|
|
10994
|
-
.output(
|
|
11046
|
+
.input(types_125.settingsStoreCapability.methods.histogram.input.loose())
|
|
11047
|
+
.output(types_125.settingsStoreCapability.methods.histogram.output)
|
|
10995
11048
|
.query(async ({ input, ctx }) => {
|
|
10996
11049
|
const { nodeId, ...methodInput } = input;
|
|
10997
11050
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10999,8 +11052,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
10999
11052
|
return p.histogram(methodInput);
|
|
11000
11053
|
}),
|
|
11001
11054
|
isEmpty: trpc_middleware_js_1.adminProcedure
|
|
11002
|
-
.input(
|
|
11003
|
-
.output(
|
|
11055
|
+
.input(types_125.settingsStoreCapability.methods.isEmpty.input.loose())
|
|
11056
|
+
.output(types_125.settingsStoreCapability.methods.isEmpty.output)
|
|
11004
11057
|
.query(async ({ input, ctx }) => {
|
|
11005
11058
|
const { nodeId, ...methodInput } = input;
|
|
11006
11059
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11008,8 +11061,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11008
11061
|
return p.isEmpty(methodInput);
|
|
11009
11062
|
}),
|
|
11010
11063
|
declareCollection: trpc_middleware_js_1.adminProcedure
|
|
11011
|
-
.input(
|
|
11012
|
-
.output(
|
|
11064
|
+
.input(types_125.settingsStoreCapability.methods.declareCollection.input.loose())
|
|
11065
|
+
.output(types_125.settingsStoreCapability.methods.declareCollection.output)
|
|
11013
11066
|
.mutation(async ({ input, ctx }) => {
|
|
11014
11067
|
const { nodeId, ...methodInput } = input;
|
|
11015
11068
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11034,8 +11087,8 @@ function createCapRouter_smoke(getProvider, createRemoteProxy) {
|
|
|
11034
11087
|
function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
11035
11088
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11036
11089
|
sendEmail: trpc_middleware_js_1.adminProcedure
|
|
11037
|
-
.input(
|
|
11038
|
-
.output(
|
|
11090
|
+
.input(types_126.smtpProviderCapability.methods.sendEmail.input.loose())
|
|
11091
|
+
.output(types_126.smtpProviderCapability.methods.sendEmail.output)
|
|
11039
11092
|
.mutation(async ({ input, ctx }) => {
|
|
11040
11093
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11041
11094
|
const p = resolveProvider('smtp-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11044,7 +11097,7 @@ function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
|
11044
11097
|
}),
|
|
11045
11098
|
verify: trpc_middleware_js_1.adminProcedure
|
|
11046
11099
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11047
|
-
.output(
|
|
11100
|
+
.output(types_126.smtpProviderCapability.methods.verify.output)
|
|
11048
11101
|
.mutation(async ({ input, ctx }) => {
|
|
11049
11102
|
const p = resolveProvider('smtp-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11050
11103
|
return p.verify();
|
|
@@ -11097,8 +11150,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11097
11150
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
11098
11151
|
}),
|
|
11099
11152
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
11100
|
-
.input(
|
|
11101
|
-
.output(
|
|
11153
|
+
.input(types_127.snapshotCapability.methods.getSnapshot.input.loose())
|
|
11154
|
+
.output(types_127.snapshotCapability.methods.getSnapshot.output)
|
|
11102
11155
|
.query(async ({ input, ctx }) => {
|
|
11103
11156
|
const { nodeId, ...methodInput } = input;
|
|
11104
11157
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11106,8 +11159,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11106
11159
|
return p.getSnapshot(methodInput);
|
|
11107
11160
|
}),
|
|
11108
11161
|
invalidateCache: trpc_middleware_js_1.adminProcedure
|
|
11109
|
-
.input(
|
|
11110
|
-
.output(
|
|
11162
|
+
.input(types_127.snapshotCapability.methods.invalidateCache.input.loose())
|
|
11163
|
+
.output(types_127.snapshotCapability.methods.invalidateCache.output)
|
|
11111
11164
|
.mutation(async ({ input, ctx }) => {
|
|
11112
11165
|
const { nodeId, ...methodInput } = input;
|
|
11113
11166
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11115,8 +11168,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11115
11168
|
return p.invalidateCache(methodInput);
|
|
11116
11169
|
}),
|
|
11117
11170
|
getSnapshotOverview: trpc_middleware_js_1.protectedProcedure
|
|
11118
|
-
.input(
|
|
11119
|
-
.output(
|
|
11171
|
+
.input(types_127.snapshotCapability.methods.getSnapshotOverview.input.loose())
|
|
11172
|
+
.output(types_127.snapshotCapability.methods.getSnapshotOverview.output)
|
|
11120
11173
|
.query(async ({ input, ctx }) => {
|
|
11121
11174
|
const { nodeId, ...methodInput } = input;
|
|
11122
11175
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11124,8 +11177,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11124
11177
|
return p.getSnapshotOverview(methodInput);
|
|
11125
11178
|
}),
|
|
11126
11179
|
getDebugState: trpc_middleware_js_1.protectedProcedure
|
|
11127
|
-
.input(
|
|
11128
|
-
.output(
|
|
11180
|
+
.input(types_127.snapshotCapability.methods.getDebugState.input.loose())
|
|
11181
|
+
.output(types_127.snapshotCapability.methods.getDebugState.output)
|
|
11129
11182
|
.query(async ({ input, ctx }) => {
|
|
11130
11183
|
const { nodeId, ...methodInput } = input;
|
|
11131
11184
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11133,8 +11186,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11133
11186
|
return p.getDebugState(methodInput);
|
|
11134
11187
|
}),
|
|
11135
11188
|
getSnapshotLinks: trpc_middleware_js_1.protectedProcedure
|
|
11136
|
-
.input(
|
|
11137
|
-
.output(
|
|
11189
|
+
.input(types_127.snapshotCapability.methods.getSnapshotLinks.input.loose())
|
|
11190
|
+
.output(types_127.snapshotCapability.methods.getSnapshotLinks.output)
|
|
11138
11191
|
.query(async ({ input, ctx }) => {
|
|
11139
11192
|
const { nodeId, ...methodInput } = input;
|
|
11140
11193
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11146,8 +11199,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11146
11199
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
11147
11200
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11148
11201
|
signBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11149
|
-
.input(
|
|
11150
|
-
.output(
|
|
11202
|
+
.input(types_128.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
11203
|
+
.output(types_128.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
11151
11204
|
.query(async ({ input, ctx }) => {
|
|
11152
11205
|
const { nodeId, ...methodInput } = input;
|
|
11153
11206
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11155,8 +11208,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11155
11208
|
return p.signBridgeToken(methodInput);
|
|
11156
11209
|
}),
|
|
11157
11210
|
verifyBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11158
|
-
.input(
|
|
11159
|
-
.output(
|
|
11211
|
+
.input(types_128.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
11212
|
+
.output(types_128.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
11160
11213
|
.query(async ({ input, ctx }) => {
|
|
11161
11214
|
const { nodeId, ...methodInput } = input;
|
|
11162
11215
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11168,8 +11221,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11168
11221
|
function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
11169
11222
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11170
11223
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11171
|
-
.input(
|
|
11172
|
-
.output(
|
|
11224
|
+
.input(types_129.storageCapability.methods.resolve.input.loose())
|
|
11225
|
+
.output(types_129.storageCapability.methods.resolve.output)
|
|
11173
11226
|
.query(async ({ input, ctx }) => {
|
|
11174
11227
|
const { nodeId, ...methodInput } = input;
|
|
11175
11228
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11177,8 +11230,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11177
11230
|
return p.resolve(methodInput);
|
|
11178
11231
|
}),
|
|
11179
11232
|
write: trpc_middleware_js_1.adminProcedure
|
|
11180
|
-
.input(
|
|
11181
|
-
.output(
|
|
11233
|
+
.input(types_129.storageCapability.methods.write.input.loose())
|
|
11234
|
+
.output(types_129.storageCapability.methods.write.output)
|
|
11182
11235
|
.mutation(async ({ input, ctx }) => {
|
|
11183
11236
|
const { nodeId, ...methodInput } = input;
|
|
11184
11237
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11186,8 +11239,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11186
11239
|
return p.write(methodInput);
|
|
11187
11240
|
}),
|
|
11188
11241
|
read: trpc_middleware_js_1.adminProcedure
|
|
11189
|
-
.input(
|
|
11190
|
-
.output(
|
|
11242
|
+
.input(types_129.storageCapability.methods.read.input.loose())
|
|
11243
|
+
.output(types_129.storageCapability.methods.read.output)
|
|
11191
11244
|
.query(async ({ input, ctx }) => {
|
|
11192
11245
|
const { nodeId, ...methodInput } = input;
|
|
11193
11246
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11195,8 +11248,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11195
11248
|
return p.read(methodInput);
|
|
11196
11249
|
}),
|
|
11197
11250
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11198
|
-
.input(
|
|
11199
|
-
.output(
|
|
11251
|
+
.input(types_129.storageCapability.methods.exists.input.loose())
|
|
11252
|
+
.output(types_129.storageCapability.methods.exists.output)
|
|
11200
11253
|
.query(async ({ input, ctx }) => {
|
|
11201
11254
|
const { nodeId, ...methodInput } = input;
|
|
11202
11255
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11204,8 +11257,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11204
11257
|
return p.exists(methodInput);
|
|
11205
11258
|
}),
|
|
11206
11259
|
list: trpc_middleware_js_1.adminProcedure
|
|
11207
|
-
.input(
|
|
11208
|
-
.output(
|
|
11260
|
+
.input(types_129.storageCapability.methods.list.input.loose())
|
|
11261
|
+
.output(types_129.storageCapability.methods.list.output)
|
|
11209
11262
|
.query(async ({ input, ctx }) => {
|
|
11210
11263
|
const { nodeId, ...methodInput } = input;
|
|
11211
11264
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11213,8 +11266,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11213
11266
|
return p.list(methodInput);
|
|
11214
11267
|
}),
|
|
11215
11268
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11216
|
-
.input(
|
|
11217
|
-
.output(
|
|
11269
|
+
.input(types_129.storageCapability.methods.delete.input.loose())
|
|
11270
|
+
.output(types_129.storageCapability.methods.delete.output)
|
|
11218
11271
|
.mutation(async ({ input, ctx }) => {
|
|
11219
11272
|
const { nodeId, ...methodInput } = input;
|
|
11220
11273
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11222,8 +11275,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11222
11275
|
return p.delete(methodInput);
|
|
11223
11276
|
}),
|
|
11224
11277
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
11225
|
-
.input(
|
|
11226
|
-
.output(
|
|
11278
|
+
.input(types_129.storageCapability.methods.getAvailableSpace.input.loose())
|
|
11279
|
+
.output(types_129.storageCapability.methods.getAvailableSpace.output)
|
|
11227
11280
|
.query(async ({ input, ctx }) => {
|
|
11228
11281
|
const { nodeId, ...methodInput } = input;
|
|
11229
11282
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11231,8 +11284,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11231
11284
|
return p.getAvailableSpace(methodInput);
|
|
11232
11285
|
}),
|
|
11233
11286
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11234
|
-
.input(
|
|
11235
|
-
.output(
|
|
11287
|
+
.input(types_129.storageCapability.methods.beginUpload.input.loose())
|
|
11288
|
+
.output(types_129.storageCapability.methods.beginUpload.output)
|
|
11236
11289
|
.mutation(async ({ input, ctx }) => {
|
|
11237
11290
|
const { nodeId, ...methodInput } = input;
|
|
11238
11291
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11240,8 +11293,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11240
11293
|
return p.beginUpload(methodInput);
|
|
11241
11294
|
}),
|
|
11242
11295
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11243
|
-
.input(
|
|
11244
|
-
.output(
|
|
11296
|
+
.input(types_129.storageCapability.methods.writeChunk.input.loose())
|
|
11297
|
+
.output(types_129.storageCapability.methods.writeChunk.output)
|
|
11245
11298
|
.mutation(async ({ input, ctx }) => {
|
|
11246
11299
|
const { nodeId, ...methodInput } = input;
|
|
11247
11300
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11249,8 +11302,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11249
11302
|
return p.writeChunk(methodInput);
|
|
11250
11303
|
}),
|
|
11251
11304
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11252
|
-
.input(
|
|
11253
|
-
.output(
|
|
11305
|
+
.input(types_129.storageCapability.methods.finalizeUpload.input.loose())
|
|
11306
|
+
.output(types_129.storageCapability.methods.finalizeUpload.output)
|
|
11254
11307
|
.mutation(async ({ input, ctx }) => {
|
|
11255
11308
|
const { nodeId, ...methodInput } = input;
|
|
11256
11309
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11258,8 +11311,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11258
11311
|
return p.finalizeUpload(methodInput);
|
|
11259
11312
|
}),
|
|
11260
11313
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11261
|
-
.input(
|
|
11262
|
-
.output(
|
|
11314
|
+
.input(types_129.storageCapability.methods.abortUpload.input.loose())
|
|
11315
|
+
.output(types_129.storageCapability.methods.abortUpload.output)
|
|
11263
11316
|
.mutation(async ({ input, ctx }) => {
|
|
11264
11317
|
const { nodeId, ...methodInput } = input;
|
|
11265
11318
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11267,8 +11320,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11267
11320
|
return p.abortUpload(methodInput);
|
|
11268
11321
|
}),
|
|
11269
11322
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11270
|
-
.input(
|
|
11271
|
-
.output(
|
|
11323
|
+
.input(types_129.storageCapability.methods.beginDownload.input.loose())
|
|
11324
|
+
.output(types_129.storageCapability.methods.beginDownload.output)
|
|
11272
11325
|
.mutation(async ({ input, ctx }) => {
|
|
11273
11326
|
const { nodeId, ...methodInput } = input;
|
|
11274
11327
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11276,8 +11329,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11276
11329
|
return p.beginDownload(methodInput);
|
|
11277
11330
|
}),
|
|
11278
11331
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
11279
|
-
.input(
|
|
11280
|
-
.output(
|
|
11332
|
+
.input(types_129.storageCapability.methods.readChunk.input.loose())
|
|
11333
|
+
.output(types_129.storageCapability.methods.readChunk.output)
|
|
11281
11334
|
.query(async ({ input, ctx }) => {
|
|
11282
11335
|
const { nodeId, ...methodInput } = input;
|
|
11283
11336
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11285,8 +11338,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11285
11338
|
return p.readChunk(methodInput);
|
|
11286
11339
|
}),
|
|
11287
11340
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
11288
|
-
.input(
|
|
11289
|
-
.output(
|
|
11341
|
+
.input(types_129.storageCapability.methods.endDownload.input.loose())
|
|
11342
|
+
.output(types_129.storageCapability.methods.endDownload.output)
|
|
11290
11343
|
.mutation(async ({ input, ctx }) => {
|
|
11291
11344
|
const { nodeId, ...methodInput } = input;
|
|
11292
11345
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11294,8 +11347,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11294
11347
|
return p.endDownload(methodInput);
|
|
11295
11348
|
}),
|
|
11296
11349
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
11297
|
-
.input(
|
|
11298
|
-
.output(
|
|
11350
|
+
.input(types_129.storageCapability.methods.listLocations.input.loose())
|
|
11351
|
+
.output(types_129.storageCapability.methods.listLocations.output)
|
|
11299
11352
|
.query(async ({ input, ctx }) => {
|
|
11300
11353
|
const { nodeId, ...methodInput } = input;
|
|
11301
11354
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11304,14 +11357,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11304
11357
|
}),
|
|
11305
11358
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
11306
11359
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11307
|
-
.output(
|
|
11360
|
+
.output(types_129.storageCapability.methods.listLocationDeclarations.output)
|
|
11308
11361
|
.query(async ({ input, ctx }) => {
|
|
11309
11362
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11310
11363
|
return p.listLocationDeclarations();
|
|
11311
11364
|
}),
|
|
11312
11365
|
upsertLocation: trpc_middleware_js_1.adminProcedure
|
|
11313
|
-
.input(
|
|
11314
|
-
.output(
|
|
11366
|
+
.input(types_129.storageCapability.methods.upsertLocation.input.loose())
|
|
11367
|
+
.output(types_129.storageCapability.methods.upsertLocation.output)
|
|
11315
11368
|
.mutation(async ({ input, ctx }) => {
|
|
11316
11369
|
const { nodeId, ...methodInput } = input;
|
|
11317
11370
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11319,8 +11372,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11319
11372
|
return p.upsertLocation(methodInput);
|
|
11320
11373
|
}),
|
|
11321
11374
|
deleteLocation: trpc_middleware_js_1.adminProcedure
|
|
11322
|
-
.input(
|
|
11323
|
-
.output(
|
|
11375
|
+
.input(types_129.storageCapability.methods.deleteLocation.input.loose())
|
|
11376
|
+
.output(types_129.storageCapability.methods.deleteLocation.output)
|
|
11324
11377
|
.mutation(async ({ input, ctx }) => {
|
|
11325
11378
|
const { nodeId, ...methodInput } = input;
|
|
11326
11379
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11329,14 +11382,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11329
11382
|
}),
|
|
11330
11383
|
listDrainProgress: trpc_middleware_js_1.protectedProcedure
|
|
11331
11384
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11332
|
-
.output(
|
|
11385
|
+
.output(types_129.storageCapability.methods.listDrainProgress.output)
|
|
11333
11386
|
.query(async ({ input, ctx }) => {
|
|
11334
11387
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11335
11388
|
return p.listDrainProgress();
|
|
11336
11389
|
}),
|
|
11337
11390
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11338
|
-
.input(
|
|
11339
|
-
.output(
|
|
11391
|
+
.input(types_129.storageCapability.methods.testLocation.input.loose())
|
|
11392
|
+
.output(types_129.storageCapability.methods.testLocation.output)
|
|
11340
11393
|
.query(async ({ input, ctx }) => {
|
|
11341
11394
|
const { nodeId, ...methodInput } = input;
|
|
11342
11395
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11345,14 +11398,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11345
11398
|
}),
|
|
11346
11399
|
listProviders: trpc_middleware_js_1.protectedProcedure
|
|
11347
11400
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11348
|
-
.output(
|
|
11401
|
+
.output(types_129.storageCapability.methods.listProviders.output)
|
|
11349
11402
|
.query(async ({ input, ctx }) => {
|
|
11350
11403
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11351
11404
|
return p.listProviders();
|
|
11352
11405
|
}),
|
|
11353
11406
|
testConfig: trpc_middleware_js_1.adminProcedure
|
|
11354
|
-
.input(
|
|
11355
|
-
.output(
|
|
11407
|
+
.input(types_129.storageCapability.methods.testConfig.input.loose())
|
|
11408
|
+
.output(types_129.storageCapability.methods.testConfig.output)
|
|
11356
11409
|
.query(async ({ input, ctx }) => {
|
|
11357
11410
|
const { nodeId, ...methodInput } = input;
|
|
11358
11411
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11364,8 +11417,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11364
11417
|
function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
11365
11418
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11366
11419
|
listTables: trpc_middleware_js_1.adminProcedure
|
|
11367
|
-
.input(
|
|
11368
|
-
.output(
|
|
11420
|
+
.input(types_130.storageAdminCapability.methods.listTables.input.loose())
|
|
11421
|
+
.output(types_130.storageAdminCapability.methods.listTables.output)
|
|
11369
11422
|
.query(async ({ input, ctx }) => {
|
|
11370
11423
|
const { nodeId, ...methodInput } = input;
|
|
11371
11424
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11373,8 +11426,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11373
11426
|
return p.listTables(methodInput);
|
|
11374
11427
|
}),
|
|
11375
11428
|
listKinds: trpc_middleware_js_1.adminProcedure
|
|
11376
|
-
.input(
|
|
11377
|
-
.output(
|
|
11429
|
+
.input(types_130.storageAdminCapability.methods.listKinds.input.loose())
|
|
11430
|
+
.output(types_130.storageAdminCapability.methods.listKinds.output)
|
|
11378
11431
|
.query(async ({ input, ctx }) => {
|
|
11379
11432
|
const { nodeId, ...methodInput } = input;
|
|
11380
11433
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11382,8 +11435,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11382
11435
|
return p.listKinds(methodInput);
|
|
11383
11436
|
}),
|
|
11384
11437
|
readRecords: trpc_middleware_js_1.adminProcedure
|
|
11385
|
-
.input(
|
|
11386
|
-
.output(
|
|
11438
|
+
.input(types_130.storageAdminCapability.methods.readRecords.input.loose())
|
|
11439
|
+
.output(types_130.storageAdminCapability.methods.readRecords.output)
|
|
11387
11440
|
.query(async ({ input, ctx }) => {
|
|
11388
11441
|
const { nodeId, ...methodInput } = input;
|
|
11389
11442
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11395,8 +11448,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11395
11448
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
11396
11449
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11397
11450
|
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
11398
|
-
.input(
|
|
11399
|
-
.output(
|
|
11451
|
+
.input(types_131.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
11452
|
+
.output(types_131.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
11400
11453
|
.query(async ({ input, ctx }) => {
|
|
11401
11454
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11402
11455
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11404,8 +11457,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11404
11457
|
return p.getEvictableUsage(methodInput);
|
|
11405
11458
|
}),
|
|
11406
11459
|
evict: trpc_middleware_js_1.adminProcedure
|
|
11407
|
-
.input(
|
|
11408
|
-
.output(
|
|
11460
|
+
.input(types_131.storageEvictableCapability.methods.evict.input.loose())
|
|
11461
|
+
.output(types_131.storageEvictableCapability.methods.evict.output)
|
|
11409
11462
|
.mutation(async ({ input, ctx }) => {
|
|
11410
11463
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11411
11464
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11417,8 +11470,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11417
11470
|
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
11418
11471
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11419
11472
|
plan: trpc_middleware_js_1.adminProcedure
|
|
11420
|
-
.input(
|
|
11421
|
-
.output(
|
|
11473
|
+
.input(types_132.storageMigrationCapability.methods.plan.input.loose())
|
|
11474
|
+
.output(types_132.storageMigrationCapability.methods.plan.output)
|
|
11422
11475
|
.query(async ({ input, ctx }) => {
|
|
11423
11476
|
const { nodeId, ...methodInput } = input;
|
|
11424
11477
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11426,8 +11479,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11426
11479
|
return p.plan(methodInput);
|
|
11427
11480
|
}),
|
|
11428
11481
|
start: trpc_middleware_js_1.adminProcedure
|
|
11429
|
-
.input(
|
|
11430
|
-
.output(
|
|
11482
|
+
.input(types_132.storageMigrationCapability.methods.start.input.loose())
|
|
11483
|
+
.output(types_132.storageMigrationCapability.methods.start.output)
|
|
11431
11484
|
.mutation(async ({ input, ctx }) => {
|
|
11432
11485
|
const { nodeId, ...methodInput } = input;
|
|
11433
11486
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11435,8 +11488,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11435
11488
|
return p.start(methodInput);
|
|
11436
11489
|
}),
|
|
11437
11490
|
status: trpc_middleware_js_1.adminProcedure
|
|
11438
|
-
.input(
|
|
11439
|
-
.output(
|
|
11491
|
+
.input(types_132.storageMigrationCapability.methods.status.input.loose())
|
|
11492
|
+
.output(types_132.storageMigrationCapability.methods.status.output)
|
|
11440
11493
|
.query(async ({ input, ctx }) => {
|
|
11441
11494
|
const { nodeId, ...methodInput } = input;
|
|
11442
11495
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11444,8 +11497,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11444
11497
|
return p.status(methodInput);
|
|
11445
11498
|
}),
|
|
11446
11499
|
cancel: trpc_middleware_js_1.adminProcedure
|
|
11447
|
-
.input(
|
|
11448
|
-
.output(
|
|
11500
|
+
.input(types_132.storageMigrationCapability.methods.cancel.input.loose())
|
|
11501
|
+
.output(types_132.storageMigrationCapability.methods.cancel.output)
|
|
11449
11502
|
.mutation(async ({ input, ctx }) => {
|
|
11450
11503
|
const { nodeId, ...methodInput } = input;
|
|
11451
11504
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11453,8 +11506,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11453
11506
|
return p.cancel(methodInput);
|
|
11454
11507
|
}),
|
|
11455
11508
|
movers: trpc_middleware_js_1.adminProcedure
|
|
11456
|
-
.input(
|
|
11457
|
-
.output(
|
|
11509
|
+
.input(types_132.storageMigrationCapability.methods.movers.input.loose())
|
|
11510
|
+
.output(types_132.storageMigrationCapability.methods.movers.output)
|
|
11458
11511
|
.query(async ({ input, ctx }) => {
|
|
11459
11512
|
const { nodeId, ...methodInput } = input;
|
|
11460
11513
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11462,8 +11515,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11462
11515
|
return p.movers(methodInput);
|
|
11463
11516
|
}),
|
|
11464
11517
|
moverClearance: trpc_middleware_js_1.adminProcedure
|
|
11465
|
-
.input(
|
|
11466
|
-
.output(
|
|
11518
|
+
.input(types_132.storageMigrationCapability.methods.moverClearance.input.loose())
|
|
11519
|
+
.output(types_132.storageMigrationCapability.methods.moverClearance.output)
|
|
11467
11520
|
.query(async ({ input, ctx }) => {
|
|
11468
11521
|
const { nodeId, ...methodInput } = input;
|
|
11469
11522
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11471,8 +11524,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11471
11524
|
return p.moverClearance(methodInput);
|
|
11472
11525
|
}),
|
|
11473
11526
|
residue: trpc_middleware_js_1.adminProcedure
|
|
11474
|
-
.input(
|
|
11475
|
-
.output(
|
|
11527
|
+
.input(types_132.storageMigrationCapability.methods.residue.input.loose())
|
|
11528
|
+
.output(types_132.storageMigrationCapability.methods.residue.output)
|
|
11476
11529
|
.query(async ({ input, ctx }) => {
|
|
11477
11530
|
const { nodeId, ...methodInput } = input;
|
|
11478
11531
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11480,8 +11533,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11480
11533
|
return p.residue(methodInput);
|
|
11481
11534
|
}),
|
|
11482
11535
|
drain: trpc_middleware_js_1.adminProcedure
|
|
11483
|
-
.input(
|
|
11484
|
-
.output(
|
|
11536
|
+
.input(types_132.storageMigrationCapability.methods.drain.input.loose())
|
|
11537
|
+
.output(types_132.storageMigrationCapability.methods.drain.output)
|
|
11485
11538
|
.mutation(async ({ input, ctx }) => {
|
|
11486
11539
|
const { nodeId, ...methodInput } = input;
|
|
11487
11540
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11489,8 +11542,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11489
11542
|
return p.drain(methodInput);
|
|
11490
11543
|
}),
|
|
11491
11544
|
cleanupStart: trpc_middleware_js_1.adminProcedure
|
|
11492
|
-
.input(
|
|
11493
|
-
.output(
|
|
11545
|
+
.input(types_132.storageMigrationCapability.methods.cleanupStart.input.loose())
|
|
11546
|
+
.output(types_132.storageMigrationCapability.methods.cleanupStart.output)
|
|
11494
11547
|
.mutation(async ({ input, ctx }) => {
|
|
11495
11548
|
const { nodeId, ...methodInput } = input;
|
|
11496
11549
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11498,8 +11551,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11498
11551
|
return p.cleanupStart(methodInput);
|
|
11499
11552
|
}),
|
|
11500
11553
|
cleanupStatus: trpc_middleware_js_1.adminProcedure
|
|
11501
|
-
.input(
|
|
11502
|
-
.output(
|
|
11554
|
+
.input(types_132.storageMigrationCapability.methods.cleanupStatus.input.loose())
|
|
11555
|
+
.output(types_132.storageMigrationCapability.methods.cleanupStatus.output)
|
|
11503
11556
|
.query(async ({ input, ctx }) => {
|
|
11504
11557
|
const { nodeId, ...methodInput } = input;
|
|
11505
11558
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11507,8 +11560,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11507
11560
|
return p.cleanupStatus(methodInput);
|
|
11508
11561
|
}),
|
|
11509
11562
|
cleanupCancel: trpc_middleware_js_1.adminProcedure
|
|
11510
|
-
.input(
|
|
11511
|
-
.output(
|
|
11563
|
+
.input(types_132.storageMigrationCapability.methods.cleanupCancel.input.loose())
|
|
11564
|
+
.output(types_132.storageMigrationCapability.methods.cleanupCancel.output)
|
|
11512
11565
|
.mutation(async ({ input, ctx }) => {
|
|
11513
11566
|
const { nodeId, ...methodInput } = input;
|
|
11514
11567
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11516,8 +11569,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11516
11569
|
return p.cleanupCancel(methodInput);
|
|
11517
11570
|
}),
|
|
11518
11571
|
history: trpc_middleware_js_1.adminProcedure
|
|
11519
|
-
.input(
|
|
11520
|
-
.output(
|
|
11572
|
+
.input(types_132.storageMigrationCapability.methods.history.input.loose())
|
|
11573
|
+
.output(types_132.storageMigrationCapability.methods.history.output)
|
|
11521
11574
|
.query(async ({ input, ctx }) => {
|
|
11522
11575
|
const { nodeId, ...methodInput } = input;
|
|
11523
11576
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11529,8 +11582,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11529
11582
|
function createCapRouter_storageOccupancy(getProvider, createRemoteProxy) {
|
|
11530
11583
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11531
11584
|
getOccupancy: trpc_middleware_js_1.adminProcedure
|
|
11532
|
-
.input(
|
|
11533
|
-
.output(
|
|
11585
|
+
.input(types_133.storageOccupancyCapability.methods.getOccupancy.input.loose())
|
|
11586
|
+
.output(types_133.storageOccupancyCapability.methods.getOccupancy.output)
|
|
11534
11587
|
.query(async ({ input, ctx }) => {
|
|
11535
11588
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11536
11589
|
const p = resolveProvider('storage-occupancy', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11543,14 +11596,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11543
11596
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11544
11597
|
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
11545
11598
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11546
|
-
.output(
|
|
11599
|
+
.output(types_134.storageProviderCapability.methods.getProviderInfo.output)
|
|
11547
11600
|
.query(async ({ input, ctx }) => {
|
|
11548
11601
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11549
11602
|
return p.getProviderInfo();
|
|
11550
11603
|
}),
|
|
11551
11604
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11552
|
-
.input(
|
|
11553
|
-
.output(
|
|
11605
|
+
.input(types_134.storageProviderCapability.methods.testLocation.input.loose())
|
|
11606
|
+
.output(types_134.storageProviderCapability.methods.testLocation.output)
|
|
11554
11607
|
.query(async ({ input, ctx }) => {
|
|
11555
11608
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11556
11609
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11558,8 +11611,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11558
11611
|
return p.testLocation(methodInput);
|
|
11559
11612
|
}),
|
|
11560
11613
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11561
|
-
.input(
|
|
11562
|
-
.output(
|
|
11614
|
+
.input(types_134.storageProviderCapability.methods.resolve.input.loose())
|
|
11615
|
+
.output(types_134.storageProviderCapability.methods.resolve.output)
|
|
11563
11616
|
.query(async ({ input, ctx }) => {
|
|
11564
11617
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11565
11618
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11567,8 +11620,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11567
11620
|
return p.resolve(methodInput);
|
|
11568
11621
|
}),
|
|
11569
11622
|
write: trpc_middleware_js_1.adminProcedure
|
|
11570
|
-
.input(
|
|
11571
|
-
.output(
|
|
11623
|
+
.input(types_134.storageProviderCapability.methods.write.input.loose())
|
|
11624
|
+
.output(types_134.storageProviderCapability.methods.write.output)
|
|
11572
11625
|
.mutation(async ({ input, ctx }) => {
|
|
11573
11626
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11574
11627
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11576,8 +11629,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11576
11629
|
return p.write(methodInput);
|
|
11577
11630
|
}),
|
|
11578
11631
|
read: trpc_middleware_js_1.adminProcedure
|
|
11579
|
-
.input(
|
|
11580
|
-
.output(
|
|
11632
|
+
.input(types_134.storageProviderCapability.methods.read.input.loose())
|
|
11633
|
+
.output(types_134.storageProviderCapability.methods.read.output)
|
|
11581
11634
|
.query(async ({ input, ctx }) => {
|
|
11582
11635
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11583
11636
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11585,8 +11638,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11585
11638
|
return p.read(methodInput);
|
|
11586
11639
|
}),
|
|
11587
11640
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11588
|
-
.input(
|
|
11589
|
-
.output(
|
|
11641
|
+
.input(types_134.storageProviderCapability.methods.exists.input.loose())
|
|
11642
|
+
.output(types_134.storageProviderCapability.methods.exists.output)
|
|
11590
11643
|
.query(async ({ input, ctx }) => {
|
|
11591
11644
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11592
11645
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11594,8 +11647,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11594
11647
|
return p.exists(methodInput);
|
|
11595
11648
|
}),
|
|
11596
11649
|
list: trpc_middleware_js_1.adminProcedure
|
|
11597
|
-
.input(
|
|
11598
|
-
.output(
|
|
11650
|
+
.input(types_134.storageProviderCapability.methods.list.input.loose())
|
|
11651
|
+
.output(types_134.storageProviderCapability.methods.list.output)
|
|
11599
11652
|
.query(async ({ input, ctx }) => {
|
|
11600
11653
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11601
11654
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11603,8 +11656,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11603
11656
|
return p.list(methodInput);
|
|
11604
11657
|
}),
|
|
11605
11658
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11606
|
-
.input(
|
|
11607
|
-
.output(
|
|
11659
|
+
.input(types_134.storageProviderCapability.methods.delete.input.loose())
|
|
11660
|
+
.output(types_134.storageProviderCapability.methods.delete.output)
|
|
11608
11661
|
.mutation(async ({ input, ctx }) => {
|
|
11609
11662
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11610
11663
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11612,8 +11665,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11612
11665
|
return p.delete(methodInput);
|
|
11613
11666
|
}),
|
|
11614
11667
|
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
11615
|
-
.input(
|
|
11616
|
-
.output(
|
|
11668
|
+
.input(types_134.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
11669
|
+
.output(types_134.storageProviderCapability.methods.getAvailableSpace.output)
|
|
11617
11670
|
.query(async ({ input, ctx }) => {
|
|
11618
11671
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11619
11672
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11621,8 +11674,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11621
11674
|
return p.getAvailableSpace(methodInput);
|
|
11622
11675
|
}),
|
|
11623
11676
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11624
|
-
.input(
|
|
11625
|
-
.output(
|
|
11677
|
+
.input(types_134.storageProviderCapability.methods.beginUpload.input.loose())
|
|
11678
|
+
.output(types_134.storageProviderCapability.methods.beginUpload.output)
|
|
11626
11679
|
.mutation(async ({ input, ctx }) => {
|
|
11627
11680
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11628
11681
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11630,8 +11683,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11630
11683
|
return p.beginUpload(methodInput);
|
|
11631
11684
|
}),
|
|
11632
11685
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11633
|
-
.input(
|
|
11634
|
-
.output(
|
|
11686
|
+
.input(types_134.storageProviderCapability.methods.writeChunk.input.loose())
|
|
11687
|
+
.output(types_134.storageProviderCapability.methods.writeChunk.output)
|
|
11635
11688
|
.mutation(async ({ input, ctx }) => {
|
|
11636
11689
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11637
11690
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11639,8 +11692,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11639
11692
|
return p.writeChunk(methodInput);
|
|
11640
11693
|
}),
|
|
11641
11694
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11642
|
-
.input(
|
|
11643
|
-
.output(
|
|
11695
|
+
.input(types_134.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
11696
|
+
.output(types_134.storageProviderCapability.methods.finalizeUpload.output)
|
|
11644
11697
|
.mutation(async ({ input, ctx }) => {
|
|
11645
11698
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11646
11699
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11648,8 +11701,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11648
11701
|
return p.finalizeUpload(methodInput);
|
|
11649
11702
|
}),
|
|
11650
11703
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11651
|
-
.input(
|
|
11652
|
-
.output(
|
|
11704
|
+
.input(types_134.storageProviderCapability.methods.abortUpload.input.loose())
|
|
11705
|
+
.output(types_134.storageProviderCapability.methods.abortUpload.output)
|
|
11653
11706
|
.mutation(async ({ input, ctx }) => {
|
|
11654
11707
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11655
11708
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11657,8 +11710,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11657
11710
|
return p.abortUpload(methodInput);
|
|
11658
11711
|
}),
|
|
11659
11712
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11660
|
-
.input(
|
|
11661
|
-
.output(
|
|
11713
|
+
.input(types_134.storageProviderCapability.methods.beginDownload.input.loose())
|
|
11714
|
+
.output(types_134.storageProviderCapability.methods.beginDownload.output)
|
|
11662
11715
|
.mutation(async ({ input, ctx }) => {
|
|
11663
11716
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11664
11717
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11666,8 +11719,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11666
11719
|
return p.beginDownload(methodInput);
|
|
11667
11720
|
}),
|
|
11668
11721
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
11669
|
-
.input(
|
|
11670
|
-
.output(
|
|
11722
|
+
.input(types_134.storageProviderCapability.methods.readChunk.input.loose())
|
|
11723
|
+
.output(types_134.storageProviderCapability.methods.readChunk.output)
|
|
11671
11724
|
.query(async ({ input, ctx }) => {
|
|
11672
11725
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11673
11726
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11675,8 +11728,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11675
11728
|
return p.readChunk(methodInput);
|
|
11676
11729
|
}),
|
|
11677
11730
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
11678
|
-
.input(
|
|
11679
|
-
.output(
|
|
11731
|
+
.input(types_134.storageProviderCapability.methods.endDownload.input.loose())
|
|
11732
|
+
.output(types_134.storageProviderCapability.methods.endDownload.output)
|
|
11680
11733
|
.mutation(async ({ input, ctx }) => {
|
|
11681
11734
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11682
11735
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11715,8 +11768,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11715
11768
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
11716
11769
|
}),
|
|
11717
11770
|
reportStreamSignal: trpc_middleware_js_1.protectedProcedure
|
|
11718
|
-
.input(
|
|
11719
|
-
.output(
|
|
11771
|
+
.input(types_135.streamBrokerCapability.methods.reportStreamSignal.input.loose())
|
|
11772
|
+
.output(types_135.streamBrokerCapability.methods.reportStreamSignal.output)
|
|
11720
11773
|
.mutation(async ({ input, ctx }) => {
|
|
11721
11774
|
const { nodeId, ...methodInput } = input;
|
|
11722
11775
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11724,8 +11777,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11724
11777
|
return p.reportStreamSignal(methodInput);
|
|
11725
11778
|
}),
|
|
11726
11779
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
11727
|
-
.input(
|
|
11728
|
-
.output(
|
|
11780
|
+
.input(types_135.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
11781
|
+
.output(types_135.streamBrokerCapability.methods.publishCameraStream.output)
|
|
11729
11782
|
.mutation(async ({ input, ctx }) => {
|
|
11730
11783
|
const { nodeId, ...methodInput } = input;
|
|
11731
11784
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11733,8 +11786,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11733
11786
|
return p.publishCameraStream(methodInput);
|
|
11734
11787
|
}),
|
|
11735
11788
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
11736
|
-
.input(
|
|
11737
|
-
.output(
|
|
11789
|
+
.input(types_135.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
11790
|
+
.output(types_135.streamBrokerCapability.methods.retractCameraStream.output)
|
|
11738
11791
|
.mutation(async ({ input, ctx }) => {
|
|
11739
11792
|
const { nodeId, ...methodInput } = input;
|
|
11740
11793
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11742,8 +11795,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11742
11795
|
return p.retractCameraStream(methodInput);
|
|
11743
11796
|
}),
|
|
11744
11797
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
11745
|
-
.input(
|
|
11746
|
-
.output(
|
|
11798
|
+
.input(types_135.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
11799
|
+
.output(types_135.streamBrokerCapability.methods.assignProfile.output)
|
|
11747
11800
|
.mutation(async ({ input, ctx }) => {
|
|
11748
11801
|
const { nodeId, ...methodInput } = input;
|
|
11749
11802
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11751,8 +11804,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11751
11804
|
return p.assignProfile(methodInput);
|
|
11752
11805
|
}),
|
|
11753
11806
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
11754
|
-
.input(
|
|
11755
|
-
.output(
|
|
11807
|
+
.input(types_135.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
11808
|
+
.output(types_135.streamBrokerCapability.methods.unassignProfile.output)
|
|
11756
11809
|
.mutation(async ({ input, ctx }) => {
|
|
11757
11810
|
const { nodeId, ...methodInput } = input;
|
|
11758
11811
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11760,8 +11813,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11760
11813
|
return p.unassignProfile(methodInput);
|
|
11761
11814
|
}),
|
|
11762
11815
|
forgetDeviceHardware: trpc_middleware_js_1.adminProcedure
|
|
11763
|
-
.input(
|
|
11764
|
-
.output(
|
|
11816
|
+
.input(types_135.streamBrokerCapability.methods.forgetDeviceHardware.input.loose())
|
|
11817
|
+
.output(types_135.streamBrokerCapability.methods.forgetDeviceHardware.output)
|
|
11765
11818
|
.mutation(async ({ input, ctx }) => {
|
|
11766
11819
|
const { nodeId, ...methodInput } = input;
|
|
11767
11820
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11769,8 +11822,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11769
11822
|
return p.forgetDeviceHardware(methodInput);
|
|
11770
11823
|
}),
|
|
11771
11824
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
11772
|
-
.input(
|
|
11773
|
-
.output(
|
|
11825
|
+
.input(types_135.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
11826
|
+
.output(types_135.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
11774
11827
|
.mutation(async ({ input, ctx }) => {
|
|
11775
11828
|
const { nodeId, ...methodInput } = input;
|
|
11776
11829
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11778,8 +11831,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11778
11831
|
return p.renderPreBufferClip(methodInput);
|
|
11779
11832
|
}),
|
|
11780
11833
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
11781
|
-
.input(
|
|
11782
|
-
.output(
|
|
11834
|
+
.input(types_135.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
11835
|
+
.output(types_135.streamBrokerCapability.methods.produceEventMedia.output)
|
|
11783
11836
|
.mutation(async ({ input, ctx }) => {
|
|
11784
11837
|
const { nodeId, ...methodInput } = input;
|
|
11785
11838
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11787,8 +11840,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11787
11840
|
return p.produceEventMedia(methodInput);
|
|
11788
11841
|
}),
|
|
11789
11842
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
11790
|
-
.input(
|
|
11791
|
-
.output(
|
|
11843
|
+
.input(types_135.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
11844
|
+
.output(types_135.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
11792
11845
|
.mutation(async ({ input, ctx }) => {
|
|
11793
11846
|
const { nodeId, ...methodInput } = input;
|
|
11794
11847
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11797,21 +11850,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11797
11850
|
}),
|
|
11798
11851
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
11799
11852
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11800
|
-
.output(
|
|
11853
|
+
.output(types_135.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
11801
11854
|
.query(async ({ input, ctx }) => {
|
|
11802
11855
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11803
11856
|
return p.listAllCameraStreams();
|
|
11804
11857
|
}),
|
|
11805
11858
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
11806
11859
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11807
|
-
.output(
|
|
11860
|
+
.output(types_135.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
11808
11861
|
.query(async ({ input, ctx }) => {
|
|
11809
11862
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11810
11863
|
return p.listAllProfileSlots();
|
|
11811
11864
|
}),
|
|
11812
11865
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
11813
|
-
.input(
|
|
11814
|
-
.output(
|
|
11866
|
+
.input(types_135.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
11867
|
+
.output(types_135.streamBrokerCapability.methods.getBrokerStats.output)
|
|
11815
11868
|
.query(async ({ input, ctx }) => {
|
|
11816
11869
|
const { nodeId, ...methodInput } = input;
|
|
11817
11870
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11819,8 +11872,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11819
11872
|
return p.getBrokerStats(methodInput);
|
|
11820
11873
|
}),
|
|
11821
11874
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
11822
|
-
.input(
|
|
11823
|
-
.output(
|
|
11875
|
+
.input(types_135.streamBrokerCapability.methods.probeStream.input.loose())
|
|
11876
|
+
.output(types_135.streamBrokerCapability.methods.probeStream.output)
|
|
11824
11877
|
.mutation(async ({ input, ctx }) => {
|
|
11825
11878
|
const { nodeId, ...methodInput } = input;
|
|
11826
11879
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11828,8 +11881,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11828
11881
|
return p.probeStream(methodInput);
|
|
11829
11882
|
}),
|
|
11830
11883
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
11831
|
-
.input(
|
|
11832
|
-
.output(
|
|
11884
|
+
.input(types_135.streamBrokerCapability.methods.listClients.input.loose())
|
|
11885
|
+
.output(types_135.streamBrokerCapability.methods.listClients.output)
|
|
11833
11886
|
.query(async ({ input, ctx }) => {
|
|
11834
11887
|
const { nodeId, ...methodInput } = input;
|
|
11835
11888
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11838,14 +11891,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11838
11891
|
}),
|
|
11839
11892
|
getLiveViewerCounts: trpc_middleware_js_1.protectedProcedure
|
|
11840
11893
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11841
|
-
.output(
|
|
11894
|
+
.output(types_135.streamBrokerCapability.methods.getLiveViewerCounts.output)
|
|
11842
11895
|
.query(async ({ input, ctx }) => {
|
|
11843
11896
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11844
11897
|
return p.getLiveViewerCounts();
|
|
11845
11898
|
}),
|
|
11846
11899
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
11847
|
-
.input(
|
|
11848
|
-
.output(
|
|
11900
|
+
.input(types_135.streamBrokerCapability.methods.killClient.input.loose())
|
|
11901
|
+
.output(types_135.streamBrokerCapability.methods.killClient.output)
|
|
11849
11902
|
.mutation(async ({ input, ctx }) => {
|
|
11850
11903
|
const { nodeId, ...methodInput } = input;
|
|
11851
11904
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11853,8 +11906,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11853
11906
|
return p.killClient(methodInput);
|
|
11854
11907
|
}),
|
|
11855
11908
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
11856
|
-
.input(
|
|
11857
|
-
.output(
|
|
11909
|
+
.input(types_135.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
11910
|
+
.output(types_135.streamBrokerCapability.methods.restartProfile.output)
|
|
11858
11911
|
.mutation(async ({ input, ctx }) => {
|
|
11859
11912
|
const { nodeId, ...methodInput } = input;
|
|
11860
11913
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11862,8 +11915,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11862
11915
|
return p.restartProfile(methodInput);
|
|
11863
11916
|
}),
|
|
11864
11917
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
11865
|
-
.input(
|
|
11866
|
-
.output(
|
|
11918
|
+
.input(types_135.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
11919
|
+
.output(types_135.streamBrokerCapability.methods.getStreamUrl.output)
|
|
11867
11920
|
.query(async ({ input, ctx }) => {
|
|
11868
11921
|
const { nodeId, ...methodInput } = input;
|
|
11869
11922
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11871,8 +11924,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11871
11924
|
return p.getStreamUrl(methodInput);
|
|
11872
11925
|
}),
|
|
11873
11926
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
11874
|
-
.input(
|
|
11875
|
-
.output(
|
|
11927
|
+
.input(types_135.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
11928
|
+
.output(types_135.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
11876
11929
|
.mutation(async ({ input, ctx }) => {
|
|
11877
11930
|
const { nodeId, ...methodInput } = input;
|
|
11878
11931
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11880,8 +11933,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11880
11933
|
return p.getStreamWithCodec(methodInput);
|
|
11881
11934
|
}),
|
|
11882
11935
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
11883
|
-
.input(
|
|
11884
|
-
.output(
|
|
11936
|
+
.input(types_135.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
11937
|
+
.output(types_135.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
11885
11938
|
.mutation(async ({ input, ctx }) => {
|
|
11886
11939
|
const { nodeId, ...methodInput } = input;
|
|
11887
11940
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11889,8 +11942,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11889
11942
|
return p.releaseStreamWithCodec(methodInput);
|
|
11890
11943
|
}),
|
|
11891
11944
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
11892
|
-
.input(
|
|
11893
|
-
.output(
|
|
11945
|
+
.input(types_135.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
11946
|
+
.output(types_135.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
11894
11947
|
.mutation(async ({ input, ctx }) => {
|
|
11895
11948
|
const { nodeId, ...methodInput } = input;
|
|
11896
11949
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11898,8 +11951,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11898
11951
|
return p.acquireEgressTranscode(methodInput);
|
|
11899
11952
|
}),
|
|
11900
11953
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
11901
|
-
.input(
|
|
11902
|
-
.output(
|
|
11954
|
+
.input(types_135.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
11955
|
+
.output(types_135.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
11903
11956
|
.mutation(async ({ input, ctx }) => {
|
|
11904
11957
|
const { nodeId, ...methodInput } = input;
|
|
11905
11958
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11907,8 +11960,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11907
11960
|
return p.releaseEgressTranscode(methodInput);
|
|
11908
11961
|
}),
|
|
11909
11962
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
11910
|
-
.input(
|
|
11911
|
-
.output(
|
|
11963
|
+
.input(types_135.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
11964
|
+
.output(types_135.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
11912
11965
|
.mutation(async ({ input, ctx }) => {
|
|
11913
11966
|
const { nodeId, ...methodInput } = input;
|
|
11914
11967
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11916,8 +11969,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11916
11969
|
return p.subscribeAudioChunks(methodInput);
|
|
11917
11970
|
}),
|
|
11918
11971
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
11919
|
-
.input(
|
|
11920
|
-
.output(
|
|
11972
|
+
.input(types_135.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
11973
|
+
.output(types_135.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
11921
11974
|
.query(async ({ input, ctx }) => {
|
|
11922
11975
|
const { nodeId, ...methodInput } = input;
|
|
11923
11976
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11925,8 +11978,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11925
11978
|
return p.pullAudioChunks(methodInput);
|
|
11926
11979
|
}),
|
|
11927
11980
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
11928
|
-
.input(
|
|
11929
|
-
.output(
|
|
11981
|
+
.input(types_135.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
11982
|
+
.output(types_135.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
11930
11983
|
.mutation(async ({ input, ctx }) => {
|
|
11931
11984
|
const { nodeId, ...methodInput } = input;
|
|
11932
11985
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11934,8 +11987,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11934
11987
|
return p.unsubscribeAudioChunks(methodInput);
|
|
11935
11988
|
}),
|
|
11936
11989
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
11937
|
-
.input(
|
|
11938
|
-
.output(
|
|
11990
|
+
.input(types_135.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
11991
|
+
.output(types_135.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
11939
11992
|
.mutation(async ({ input, ctx }) => {
|
|
11940
11993
|
const { nodeId, ...methodInput } = input;
|
|
11941
11994
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11943,8 +11996,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11943
11996
|
return p.setPreBufferDuration(methodInput);
|
|
11944
11997
|
}),
|
|
11945
11998
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
11946
|
-
.input(
|
|
11947
|
-
.output(
|
|
11999
|
+
.input(types_135.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
12000
|
+
.output(types_135.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
11948
12001
|
.query(async ({ input, ctx }) => {
|
|
11949
12002
|
const { nodeId, ...methodInput } = input;
|
|
11950
12003
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11953,14 +12006,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11953
12006
|
}),
|
|
11954
12007
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
11955
12008
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11956
|
-
.output(
|
|
12009
|
+
.output(types_135.streamBrokerCapability.methods.getRtspPort.output)
|
|
11957
12010
|
.query(async ({ input, ctx }) => {
|
|
11958
12011
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11959
12012
|
return p.getRtspPort();
|
|
11960
12013
|
}),
|
|
11961
12014
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
11962
|
-
.input(
|
|
11963
|
-
.output(
|
|
12015
|
+
.input(types_135.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
12016
|
+
.output(types_135.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
11964
12017
|
.query(async ({ input, ctx }) => {
|
|
11965
12018
|
const { nodeId, ...methodInput } = input;
|
|
11966
12019
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11968,8 +12021,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11968
12021
|
return p.getAllRtspEntries(methodInput);
|
|
11969
12022
|
}),
|
|
11970
12023
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
11971
|
-
.input(
|
|
11972
|
-
.output(
|
|
12024
|
+
.input(types_135.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
12025
|
+
.output(types_135.streamBrokerCapability.methods.getRtspEntry.output)
|
|
11973
12026
|
.query(async ({ input, ctx }) => {
|
|
11974
12027
|
const { nodeId, ...methodInput } = input;
|
|
11975
12028
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11977,8 +12030,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11977
12030
|
return p.getRtspEntry(methodInput);
|
|
11978
12031
|
}),
|
|
11979
12032
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
11980
|
-
.input(
|
|
11981
|
-
.output(
|
|
12033
|
+
.input(types_135.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
12034
|
+
.output(types_135.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
11982
12035
|
.mutation(async ({ input, ctx }) => {
|
|
11983
12036
|
const { nodeId, ...methodInput } = input;
|
|
11984
12037
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11986,8 +12039,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11986
12039
|
return p.regenerateRtspToken(methodInput);
|
|
11987
12040
|
}),
|
|
11988
12041
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
11989
|
-
.input(
|
|
11990
|
-
.output(
|
|
12042
|
+
.input(types_135.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
12043
|
+
.output(types_135.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
11991
12044
|
.mutation(async ({ input, ctx }) => {
|
|
11992
12045
|
const { nodeId, ...methodInput } = input;
|
|
11993
12046
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11995,8 +12048,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11995
12048
|
return p.setRtspEnabled(methodInput);
|
|
11996
12049
|
}),
|
|
11997
12050
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
11998
|
-
.input(
|
|
11999
|
-
.output(
|
|
12051
|
+
.input(types_135.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
12052
|
+
.output(types_135.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
12000
12053
|
.query(async ({ input, ctx }) => {
|
|
12001
12054
|
const { nodeId, ...methodInput } = input;
|
|
12002
12055
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12004,8 +12057,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12004
12057
|
return p.isRtspEnabled(methodInput);
|
|
12005
12058
|
}),
|
|
12006
12059
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
12007
|
-
.input(
|
|
12008
|
-
.output(
|
|
12060
|
+
.input(types_135.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
12061
|
+
.output(types_135.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
12009
12062
|
.query(async ({ input, ctx }) => {
|
|
12010
12063
|
const { nodeId, ...methodInput } = input;
|
|
12011
12064
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12013,8 +12066,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12013
12066
|
return p.getDeviceAudioMute(methodInput);
|
|
12014
12067
|
}),
|
|
12015
12068
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
12016
|
-
.input(
|
|
12017
|
-
.output(
|
|
12069
|
+
.input(types_135.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
12070
|
+
.output(types_135.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
12018
12071
|
.mutation(async ({ input, ctx }) => {
|
|
12019
12072
|
const { nodeId, ...methodInput } = input;
|
|
12020
12073
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12026,8 +12079,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12026
12079
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
12027
12080
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12028
12081
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
12029
|
-
.input(
|
|
12030
|
-
.output(
|
|
12082
|
+
.input(types_136.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
12083
|
+
.output(types_136.streamCatalogCapability.methods.getCatalog.output)
|
|
12031
12084
|
.query(async ({ input, ctx }) => {
|
|
12032
12085
|
const { nodeId, ...methodInput } = input;
|
|
12033
12086
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12048,8 +12101,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12048
12101
|
return p.getStatus(methodInput);
|
|
12049
12102
|
}),
|
|
12050
12103
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
12051
|
-
.input(
|
|
12052
|
-
.output(
|
|
12104
|
+
.input(types_137.streamParamsCapability.methods.getOptions.input.loose())
|
|
12105
|
+
.output(types_137.streamParamsCapability.methods.getOptions.output)
|
|
12053
12106
|
.query(async ({ input, ctx }) => {
|
|
12054
12107
|
const { nodeId, ...methodInput } = input;
|
|
12055
12108
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12057,8 +12110,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12057
12110
|
return p.getOptions(methodInput);
|
|
12058
12111
|
}),
|
|
12059
12112
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
12060
|
-
.input(
|
|
12061
|
-
.output(
|
|
12113
|
+
.input(types_137.streamParamsCapability.methods.setProfile.input.loose())
|
|
12114
|
+
.output(types_137.streamParamsCapability.methods.setProfile.output)
|
|
12062
12115
|
.mutation(async ({ input, ctx }) => {
|
|
12063
12116
|
const { nodeId, ...methodInput } = input;
|
|
12064
12117
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12066,8 +12119,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12066
12119
|
return p.setProfile(methodInput);
|
|
12067
12120
|
}),
|
|
12068
12121
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
12069
|
-
.input(
|
|
12070
|
-
.output(
|
|
12122
|
+
.input(types_137.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
12123
|
+
.output(types_137.streamParamsCapability.methods.getConfigSchema.output)
|
|
12071
12124
|
.query(async ({ input, ctx }) => {
|
|
12072
12125
|
const { nodeId, ...methodInput } = input;
|
|
12073
12126
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12080,7 +12133,7 @@ function createCapRouter_streamSignals(getProvider, createRemoteProxy) {
|
|
|
12080
12133
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12081
12134
|
listSignals: trpc_middleware_js_1.protectedProcedure
|
|
12082
12135
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12083
|
-
.output(
|
|
12136
|
+
.output(types_138.streamSignalsCapability.methods.listSignals.output)
|
|
12084
12137
|
.query(async ({ input, ctx }) => {
|
|
12085
12138
|
const p = resolveProvider('stream-signals', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12086
12139
|
return p.listSignals();
|
|
@@ -12099,8 +12152,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
12099
12152
|
return p.getStatus(methodInput);
|
|
12100
12153
|
}),
|
|
12101
12154
|
setState: trpc_middleware_js_1.protectedProcedure
|
|
12102
|
-
.input(
|
|
12103
|
-
.output(
|
|
12155
|
+
.input(types_139.switchCapability.methods.setState.input.loose())
|
|
12156
|
+
.output(types_139.switchCapability.methods.setState.output)
|
|
12104
12157
|
.mutation(async ({ input, ctx }) => {
|
|
12105
12158
|
const { nodeId, ...methodInput } = input;
|
|
12106
12159
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12113,98 +12166,98 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12113
12166
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12114
12167
|
info: trpc_middleware_js_1.protectedProcedure
|
|
12115
12168
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12116
|
-
.output(
|
|
12169
|
+
.output(types_140.systemCapability.methods.info.output)
|
|
12117
12170
|
.query(async ({ input, ctx }) => {
|
|
12118
12171
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12119
12172
|
return p.info();
|
|
12120
12173
|
}),
|
|
12121
12174
|
health: trpc_middleware_js_1.protectedProcedure
|
|
12122
12175
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12123
|
-
.output(
|
|
12176
|
+
.output(types_140.systemCapability.methods.health.output)
|
|
12124
12177
|
.query(async ({ input, ctx }) => {
|
|
12125
12178
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12126
12179
|
return p.health();
|
|
12127
12180
|
}),
|
|
12128
12181
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
12129
12182
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12130
|
-
.output(
|
|
12183
|
+
.output(types_140.systemCapability.methods.featureFlags.output)
|
|
12131
12184
|
.query(async ({ input, ctx }) => {
|
|
12132
12185
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12133
12186
|
return p.featureFlags();
|
|
12134
12187
|
}),
|
|
12135
12188
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
12136
12189
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12137
|
-
.output(
|
|
12190
|
+
.output(types_140.systemCapability.methods.networkAddresses.output)
|
|
12138
12191
|
.query(async ({ input, ctx }) => {
|
|
12139
12192
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12140
12193
|
return p.networkAddresses();
|
|
12141
12194
|
}),
|
|
12142
12195
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12143
12196
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12144
|
-
.output(
|
|
12197
|
+
.output(types_140.systemCapability.methods.getRetentionConfig.output)
|
|
12145
12198
|
.query(async ({ input, ctx }) => {
|
|
12146
12199
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12147
12200
|
return p.getRetentionConfig();
|
|
12148
12201
|
}),
|
|
12149
12202
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12150
|
-
.input(
|
|
12151
|
-
.output(
|
|
12203
|
+
.input(types_140.systemCapability.methods.setRetentionConfig.input)
|
|
12204
|
+
.output(types_140.systemCapability.methods.setRetentionConfig.output)
|
|
12152
12205
|
.mutation(async ({ input, ctx }) => {
|
|
12153
12206
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12154
12207
|
return p.setRetentionConfig(input);
|
|
12155
12208
|
}),
|
|
12156
12209
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
12157
12210
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12158
|
-
.output(
|
|
12211
|
+
.output(types_140.systemCapability.methods.forceRetentionCleanup.output)
|
|
12159
12212
|
.mutation(async ({ input, ctx }) => {
|
|
12160
12213
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12161
12214
|
return p.forceRetentionCleanup();
|
|
12162
12215
|
}),
|
|
12163
12216
|
getSiteLocation: trpc_middleware_js_1.protectedProcedure
|
|
12164
12217
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12165
|
-
.output(
|
|
12218
|
+
.output(types_140.systemCapability.methods.getSiteLocation.output)
|
|
12166
12219
|
.query(async ({ input, ctx }) => {
|
|
12167
12220
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12168
12221
|
return p.getSiteLocation();
|
|
12169
12222
|
}),
|
|
12170
12223
|
setSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12171
|
-
.input(
|
|
12172
|
-
.output(
|
|
12224
|
+
.input(types_140.systemCapability.methods.setSiteLocation.input)
|
|
12225
|
+
.output(types_140.systemCapability.methods.setSiteLocation.output)
|
|
12173
12226
|
.mutation(async ({ input, ctx }) => {
|
|
12174
12227
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12175
12228
|
return p.setSiteLocation(input);
|
|
12176
12229
|
}),
|
|
12177
12230
|
detectSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12178
12231
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12179
|
-
.output(
|
|
12232
|
+
.output(types_140.systemCapability.methods.detectSiteLocation.output)
|
|
12180
12233
|
.mutation(async ({ input, ctx }) => {
|
|
12181
12234
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12182
12235
|
return p.detectSiteLocation();
|
|
12183
12236
|
}),
|
|
12184
12237
|
getRequestCensus: trpc_middleware_js_1.adminProcedure
|
|
12185
12238
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12186
|
-
.output(
|
|
12239
|
+
.output(types_140.systemCapability.methods.getRequestCensus.output)
|
|
12187
12240
|
.query(async ({ input, ctx }) => {
|
|
12188
12241
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12189
12242
|
return p.getRequestCensus();
|
|
12190
12243
|
}),
|
|
12191
12244
|
getLoadContributions: trpc_middleware_js_1.adminProcedure
|
|
12192
12245
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12193
|
-
.output(
|
|
12246
|
+
.output(types_140.systemCapability.methods.getLoadContributions.output)
|
|
12194
12247
|
.query(async ({ input, ctx }) => {
|
|
12195
12248
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12196
12249
|
return p.getLoadContributions();
|
|
12197
12250
|
}),
|
|
12198
12251
|
getFailureContributions: trpc_middleware_js_1.adminProcedure
|
|
12199
12252
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12200
|
-
.output(
|
|
12253
|
+
.output(types_140.systemCapability.methods.getFailureContributions.output)
|
|
12201
12254
|
.query(async ({ input, ctx }) => {
|
|
12202
12255
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12203
12256
|
return p.getFailureContributions();
|
|
12204
12257
|
}),
|
|
12205
12258
|
getLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12206
|
-
.input(
|
|
12207
|
-
.output(
|
|
12259
|
+
.input(types_140.systemCapability.methods.getLoggingSettings.input.loose())
|
|
12260
|
+
.output(types_140.systemCapability.methods.getLoggingSettings.output)
|
|
12208
12261
|
.query(async ({ input, ctx }) => {
|
|
12209
12262
|
const { nodeId, ...methodInput } = input;
|
|
12210
12263
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12212,8 +12265,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12212
12265
|
return p.getLoggingSettings(methodInput);
|
|
12213
12266
|
}),
|
|
12214
12267
|
setLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12215
|
-
.input(
|
|
12216
|
-
.output(
|
|
12268
|
+
.input(types_140.systemCapability.methods.setLoggingSettings.input.loose())
|
|
12269
|
+
.output(types_140.systemCapability.methods.setLoggingSettings.output)
|
|
12217
12270
|
.mutation(async ({ input, ctx }) => {
|
|
12218
12271
|
const { nodeId, ...methodInput } = input;
|
|
12219
12272
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12248,25 +12301,74 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
12248
12301
|
}),
|
|
12249
12302
|
});
|
|
12250
12303
|
}
|
|
12304
|
+
function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
12305
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12306
|
+
list: trpc_middleware_js_1.protectedProcedure
|
|
12307
|
+
.input(types_141.templateCapability.methods.list.input.loose())
|
|
12308
|
+
.output(types_141.templateCapability.methods.list.output)
|
|
12309
|
+
.query(async ({ input, ctx }) => {
|
|
12310
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
12311
|
+
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
12312
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12313
|
+
return p.list(methodInput);
|
|
12314
|
+
}),
|
|
12315
|
+
get: trpc_middleware_js_1.protectedProcedure
|
|
12316
|
+
.input(types_141.templateCapability.methods.get.input.loose())
|
|
12317
|
+
.output(types_141.templateCapability.methods.get.output)
|
|
12318
|
+
.query(async ({ input, ctx }) => {
|
|
12319
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
12320
|
+
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
12321
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12322
|
+
return p.get(methodInput);
|
|
12323
|
+
}),
|
|
12324
|
+
create: trpc_middleware_js_1.adminProcedure
|
|
12325
|
+
.input(types_141.templateCapability.methods.create.input.loose())
|
|
12326
|
+
.output(types_141.templateCapability.methods.create.output)
|
|
12327
|
+
.mutation(async ({ input, ctx }) => {
|
|
12328
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
12329
|
+
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
12330
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12331
|
+
return p.create(methodInput);
|
|
12332
|
+
}),
|
|
12333
|
+
update: trpc_middleware_js_1.adminProcedure
|
|
12334
|
+
.input(types_141.templateCapability.methods.update.input.loose())
|
|
12335
|
+
.output(types_141.templateCapability.methods.update.output)
|
|
12336
|
+
.mutation(async ({ input, ctx }) => {
|
|
12337
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
12338
|
+
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
12339
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12340
|
+
return p.update(methodInput);
|
|
12341
|
+
}),
|
|
12342
|
+
delete: trpc_middleware_js_1.adminProcedure
|
|
12343
|
+
.input(types_141.templateCapability.methods.delete.input.loose())
|
|
12344
|
+
.output(types_141.templateCapability.methods.delete.output)
|
|
12345
|
+
.mutation(async ({ input, ctx }) => {
|
|
12346
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
12347
|
+
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
12348
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12349
|
+
return p.delete(methodInput);
|
|
12350
|
+
}),
|
|
12351
|
+
});
|
|
12352
|
+
}
|
|
12251
12353
|
function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
12252
12354
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12253
12355
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
12254
12356
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12255
|
-
.output(
|
|
12357
|
+
.output(types_142.terminalSessionCapability.methods.listProfiles.output)
|
|
12256
12358
|
.query(async ({ input, ctx }) => {
|
|
12257
12359
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12258
12360
|
return p.listProfiles();
|
|
12259
12361
|
}),
|
|
12260
12362
|
listInstances: trpc_middleware_js_1.adminProcedure
|
|
12261
12363
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12262
|
-
.output(
|
|
12364
|
+
.output(types_142.terminalSessionCapability.methods.listInstances.output)
|
|
12263
12365
|
.query(async ({ input, ctx }) => {
|
|
12264
12366
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12265
12367
|
return p.listInstances();
|
|
12266
12368
|
}),
|
|
12267
12369
|
createInstance: trpc_middleware_js_1.adminProcedure
|
|
12268
|
-
.input(
|
|
12269
|
-
.output(
|
|
12370
|
+
.input(types_142.terminalSessionCapability.methods.createInstance.input.loose())
|
|
12371
|
+
.output(types_142.terminalSessionCapability.methods.createInstance.output)
|
|
12270
12372
|
.mutation(async ({ input, ctx }) => {
|
|
12271
12373
|
const { nodeId, ...methodInput } = input;
|
|
12272
12374
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12274,8 +12376,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12274
12376
|
return p.createInstance(methodInput);
|
|
12275
12377
|
}),
|
|
12276
12378
|
updateInstance: trpc_middleware_js_1.adminProcedure
|
|
12277
|
-
.input(
|
|
12278
|
-
.output(
|
|
12379
|
+
.input(types_142.terminalSessionCapability.methods.updateInstance.input.loose())
|
|
12380
|
+
.output(types_142.terminalSessionCapability.methods.updateInstance.output)
|
|
12279
12381
|
.mutation(async ({ input, ctx }) => {
|
|
12280
12382
|
const { nodeId, ...methodInput } = input;
|
|
12281
12383
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12283,8 +12385,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12283
12385
|
return p.updateInstance(methodInput);
|
|
12284
12386
|
}),
|
|
12285
12387
|
deleteInstance: trpc_middleware_js_1.adminProcedure
|
|
12286
|
-
.input(
|
|
12287
|
-
.output(
|
|
12388
|
+
.input(types_142.terminalSessionCapability.methods.deleteInstance.input.loose())
|
|
12389
|
+
.output(types_142.terminalSessionCapability.methods.deleteInstance.output)
|
|
12288
12390
|
.mutation(async ({ input, ctx }) => {
|
|
12289
12391
|
const { nodeId, ...methodInput } = input;
|
|
12290
12392
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12292,8 +12394,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12292
12394
|
return p.deleteInstance(methodInput);
|
|
12293
12395
|
}),
|
|
12294
12396
|
setInstanceEnabled: trpc_middleware_js_1.adminProcedure
|
|
12295
|
-
.input(
|
|
12296
|
-
.output(
|
|
12397
|
+
.input(types_142.terminalSessionCapability.methods.setInstanceEnabled.input.loose())
|
|
12398
|
+
.output(types_142.terminalSessionCapability.methods.setInstanceEnabled.output)
|
|
12297
12399
|
.mutation(async ({ input, ctx }) => {
|
|
12298
12400
|
const { nodeId, ...methodInput } = input;
|
|
12299
12401
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12302,14 +12404,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12302
12404
|
}),
|
|
12303
12405
|
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
12304
12406
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12305
|
-
.output(
|
|
12407
|
+
.output(types_142.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
12306
12408
|
.query(async ({ input, ctx }) => {
|
|
12307
12409
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12308
12410
|
return p.listLegacyCameras();
|
|
12309
12411
|
}),
|
|
12310
12412
|
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
12311
|
-
.input(
|
|
12312
|
-
.output(
|
|
12413
|
+
.input(types_142.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
12414
|
+
.output(types_142.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
12313
12415
|
.mutation(async ({ input, ctx }) => {
|
|
12314
12416
|
const { nodeId, ...methodInput } = input;
|
|
12315
12417
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12318,14 +12420,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12318
12420
|
}),
|
|
12319
12421
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
12320
12422
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12321
|
-
.output(
|
|
12423
|
+
.output(types_142.terminalSessionCapability.methods.listSessions.output)
|
|
12322
12424
|
.query(async ({ input, ctx }) => {
|
|
12323
12425
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12324
12426
|
return p.listSessions();
|
|
12325
12427
|
}),
|
|
12326
12428
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
12327
|
-
.input(
|
|
12328
|
-
.output(
|
|
12429
|
+
.input(types_142.terminalSessionCapability.methods.openSession.input.loose())
|
|
12430
|
+
.output(types_142.terminalSessionCapability.methods.openSession.output)
|
|
12329
12431
|
.mutation(async ({ input, ctx }) => {
|
|
12330
12432
|
const { nodeId, ...methodInput } = input;
|
|
12331
12433
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12333,8 +12435,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12333
12435
|
return p.openSession(methodInput);
|
|
12334
12436
|
}),
|
|
12335
12437
|
resize: trpc_middleware_js_1.adminProcedure
|
|
12336
|
-
.input(
|
|
12337
|
-
.output(
|
|
12438
|
+
.input(types_142.terminalSessionCapability.methods.resize.input.loose())
|
|
12439
|
+
.output(types_142.terminalSessionCapability.methods.resize.output)
|
|
12338
12440
|
.mutation(async ({ input, ctx }) => {
|
|
12339
12441
|
const { nodeId, ...methodInput } = input;
|
|
12340
12442
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12342,8 +12444,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12342
12444
|
return p.resize(methodInput);
|
|
12343
12445
|
}),
|
|
12344
12446
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
12345
|
-
.input(
|
|
12346
|
-
.output(
|
|
12447
|
+
.input(types_142.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
12448
|
+
.output(types_142.terminalSessionCapability.methods.pullOutput.output)
|
|
12347
12449
|
.mutation(async ({ input, ctx }) => {
|
|
12348
12450
|
const { nodeId, ...methodInput } = input;
|
|
12349
12451
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12351,8 +12453,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12351
12453
|
return p.pullOutput(methodInput);
|
|
12352
12454
|
}),
|
|
12353
12455
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
12354
|
-
.input(
|
|
12355
|
-
.output(
|
|
12456
|
+
.input(types_142.terminalSessionCapability.methods.writeInput.input.loose())
|
|
12457
|
+
.output(types_142.terminalSessionCapability.methods.writeInput.output)
|
|
12356
12458
|
.mutation(async ({ input, ctx }) => {
|
|
12357
12459
|
const { nodeId, ...methodInput } = input;
|
|
12358
12460
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12360,8 +12462,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12360
12462
|
return p.writeInput(methodInput);
|
|
12361
12463
|
}),
|
|
12362
12464
|
close: trpc_middleware_js_1.adminProcedure
|
|
12363
|
-
.input(
|
|
12364
|
-
.output(
|
|
12465
|
+
.input(types_142.terminalSessionCapability.methods.close.input.loose())
|
|
12466
|
+
.output(types_142.terminalSessionCapability.methods.close.output)
|
|
12365
12467
|
.mutation(async ({ input, ctx }) => {
|
|
12366
12468
|
const { nodeId, ...methodInput } = input;
|
|
12367
12469
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12373,7 +12475,7 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12373
12475
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
12374
12476
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12375
12477
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
12376
|
-
.input(
|
|
12478
|
+
.input(types_143.toastCapability.methods.onToast.input)
|
|
12377
12479
|
.subscription(({ input, ctx }) => {
|
|
12378
12480
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
12379
12481
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -12385,8 +12487,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
12385
12487
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
12386
12488
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12387
12489
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
12388
|
-
.input(
|
|
12389
|
-
.output(
|
|
12490
|
+
.input(types_144.trainingCapability.methods.listBaseModels.input.loose())
|
|
12491
|
+
.output(types_144.trainingCapability.methods.listBaseModels.output)
|
|
12390
12492
|
.query(async ({ input, ctx }) => {
|
|
12391
12493
|
const { nodeId, ...methodInput } = input;
|
|
12392
12494
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12394,8 +12496,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12394
12496
|
return p.listBaseModels(methodInput);
|
|
12395
12497
|
}),
|
|
12396
12498
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
12397
|
-
.input(
|
|
12398
|
-
.output(
|
|
12499
|
+
.input(types_144.trainingCapability.methods.planJob.input.loose())
|
|
12500
|
+
.output(types_144.trainingCapability.methods.planJob.output)
|
|
12399
12501
|
.query(async ({ input, ctx }) => {
|
|
12400
12502
|
const { nodeId, ...methodInput } = input;
|
|
12401
12503
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12403,8 +12505,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12403
12505
|
return p.planJob(methodInput);
|
|
12404
12506
|
}),
|
|
12405
12507
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
12406
|
-
.input(
|
|
12407
|
-
.output(
|
|
12508
|
+
.input(types_144.trainingCapability.methods.startJob.input.loose())
|
|
12509
|
+
.output(types_144.trainingCapability.methods.startJob.output)
|
|
12408
12510
|
.mutation(async ({ input, ctx }) => {
|
|
12409
12511
|
const { nodeId, ...methodInput } = input;
|
|
12410
12512
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12412,8 +12514,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12412
12514
|
return p.startJob(methodInput);
|
|
12413
12515
|
}),
|
|
12414
12516
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
12415
|
-
.input(
|
|
12416
|
-
.output(
|
|
12517
|
+
.input(types_144.trainingCapability.methods.startJobBatch.input.loose())
|
|
12518
|
+
.output(types_144.trainingCapability.methods.startJobBatch.output)
|
|
12417
12519
|
.mutation(async ({ input, ctx }) => {
|
|
12418
12520
|
const { nodeId, ...methodInput } = input;
|
|
12419
12521
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12421,8 +12523,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12421
12523
|
return p.startJobBatch(methodInput);
|
|
12422
12524
|
}),
|
|
12423
12525
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
12424
|
-
.input(
|
|
12425
|
-
.output(
|
|
12526
|
+
.input(types_144.trainingCapability.methods.listJobs.input.loose())
|
|
12527
|
+
.output(types_144.trainingCapability.methods.listJobs.output)
|
|
12426
12528
|
.query(async ({ input, ctx }) => {
|
|
12427
12529
|
const { nodeId, ...methodInput } = input;
|
|
12428
12530
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12430,8 +12532,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12430
12532
|
return p.listJobs(methodInput);
|
|
12431
12533
|
}),
|
|
12432
12534
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12433
|
-
.input(
|
|
12434
|
-
.output(
|
|
12535
|
+
.input(types_144.trainingCapability.methods.getJob.input.loose())
|
|
12536
|
+
.output(types_144.trainingCapability.methods.getJob.output)
|
|
12435
12537
|
.query(async ({ input, ctx }) => {
|
|
12436
12538
|
const { nodeId, ...methodInput } = input;
|
|
12437
12539
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12439,8 +12541,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12439
12541
|
return p.getJob(methodInput);
|
|
12440
12542
|
}),
|
|
12441
12543
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12442
|
-
.input(
|
|
12443
|
-
.output(
|
|
12544
|
+
.input(types_144.trainingCapability.methods.cancelJob.input.loose())
|
|
12545
|
+
.output(types_144.trainingCapability.methods.cancelJob.output)
|
|
12444
12546
|
.mutation(async ({ input, ctx }) => {
|
|
12445
12547
|
const { nodeId, ...methodInput } = input;
|
|
12446
12548
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12448,8 +12550,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12448
12550
|
return p.cancelJob(methodInput);
|
|
12449
12551
|
}),
|
|
12450
12552
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
12451
|
-
.input(
|
|
12452
|
-
.output(
|
|
12553
|
+
.input(types_144.trainingCapability.methods.getJobResult.input.loose())
|
|
12554
|
+
.output(types_144.trainingCapability.methods.getJobResult.output)
|
|
12453
12555
|
.query(async ({ input, ctx }) => {
|
|
12454
12556
|
const { nodeId, ...methodInput } = input;
|
|
12455
12557
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12458,14 +12560,14 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12458
12560
|
}),
|
|
12459
12561
|
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
12460
12562
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12461
|
-
.output(
|
|
12563
|
+
.output(types_144.trainingCapability.methods.listCanaryTargets.output)
|
|
12462
12564
|
.query(async ({ input, ctx }) => {
|
|
12463
12565
|
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12464
12566
|
return p.listCanaryTargets();
|
|
12465
12567
|
}),
|
|
12466
12568
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
12467
|
-
.input(
|
|
12468
|
-
.output(
|
|
12569
|
+
.input(types_144.trainingCapability.methods.registerResult.input.loose())
|
|
12570
|
+
.output(types_144.trainingCapability.methods.registerResult.output)
|
|
12469
12571
|
.mutation(async ({ input, ctx }) => {
|
|
12470
12572
|
const { nodeId, ...methodInput } = input;
|
|
12471
12573
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12473,8 +12575,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12473
12575
|
return p.registerResult(methodInput);
|
|
12474
12576
|
}),
|
|
12475
12577
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
12476
|
-
.input(
|
|
12477
|
-
.output(
|
|
12578
|
+
.input(types_144.trainingCapability.methods.canaryResult.input.loose())
|
|
12579
|
+
.output(types_144.trainingCapability.methods.canaryResult.output)
|
|
12478
12580
|
.mutation(async ({ input, ctx }) => {
|
|
12479
12581
|
const { nodeId, ...methodInput } = input;
|
|
12480
12582
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12482,8 +12584,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12482
12584
|
return p.canaryResult(methodInput);
|
|
12483
12585
|
}),
|
|
12484
12586
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
12485
|
-
.input(
|
|
12486
|
-
.output(
|
|
12587
|
+
.input(types_144.trainingCapability.methods.rollbackCanary.input.loose())
|
|
12588
|
+
.output(types_144.trainingCapability.methods.rollbackCanary.output)
|
|
12487
12589
|
.mutation(async ({ input, ctx }) => {
|
|
12488
12590
|
const { nodeId, ...methodInput } = input;
|
|
12489
12591
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12491,8 +12593,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12491
12593
|
return p.rollbackCanary(methodInput);
|
|
12492
12594
|
}),
|
|
12493
12595
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
12494
|
-
.input(
|
|
12495
|
-
.output(
|
|
12596
|
+
.input(types_144.trainingCapability.methods.discardResult.input.loose())
|
|
12597
|
+
.output(types_144.trainingCapability.methods.discardResult.output)
|
|
12496
12598
|
.mutation(async ({ input, ctx }) => {
|
|
12497
12599
|
const { nodeId, ...methodInput } = input;
|
|
12498
12600
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12504,8 +12606,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12504
12606
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
12505
12607
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12506
12608
|
describe: trpc_middleware_js_1.adminProcedure
|
|
12507
|
-
.input(
|
|
12508
|
-
.output(
|
|
12609
|
+
.input(types_145.trainingProviderCapability.methods.describe.input.loose())
|
|
12610
|
+
.output(types_145.trainingProviderCapability.methods.describe.output)
|
|
12509
12611
|
.query(async ({ input, ctx }) => {
|
|
12510
12612
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12511
12613
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12513,8 +12615,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12513
12615
|
return p.describe(methodInput);
|
|
12514
12616
|
}),
|
|
12515
12617
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
12516
|
-
.input(
|
|
12517
|
-
.output(
|
|
12618
|
+
.input(types_145.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
12619
|
+
.output(types_145.trainingProviderCapability.methods.describeTypes.output)
|
|
12518
12620
|
.query(async ({ input, ctx }) => {
|
|
12519
12621
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12520
12622
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12522,8 +12624,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12522
12624
|
return p.describeTypes(methodInput);
|
|
12523
12625
|
}),
|
|
12524
12626
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
12525
|
-
.input(
|
|
12526
|
-
.output(
|
|
12627
|
+
.input(types_145.trainingProviderCapability.methods.listEntries.input.loose())
|
|
12628
|
+
.output(types_145.trainingProviderCapability.methods.listEntries.output)
|
|
12527
12629
|
.query(async ({ input, ctx }) => {
|
|
12528
12630
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12529
12631
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12531,8 +12633,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12531
12633
|
return p.listEntries(methodInput);
|
|
12532
12634
|
}),
|
|
12533
12635
|
createEntry: trpc_middleware_js_1.adminProcedure
|
|
12534
|
-
.input(
|
|
12535
|
-
.output(
|
|
12636
|
+
.input(types_145.trainingProviderCapability.methods.createEntry.input.loose())
|
|
12637
|
+
.output(types_145.trainingProviderCapability.methods.createEntry.output)
|
|
12536
12638
|
.mutation(async ({ input, ctx }) => {
|
|
12537
12639
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12538
12640
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12540,8 +12642,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12540
12642
|
return p.createEntry(methodInput);
|
|
12541
12643
|
}),
|
|
12542
12644
|
deleteEntry: trpc_middleware_js_1.adminProcedure
|
|
12543
|
-
.input(
|
|
12544
|
-
.output(
|
|
12645
|
+
.input(types_145.trainingProviderCapability.methods.deleteEntry.input.loose())
|
|
12646
|
+
.output(types_145.trainingProviderCapability.methods.deleteEntry.output)
|
|
12545
12647
|
.mutation(async ({ input, ctx }) => {
|
|
12546
12648
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12547
12649
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12549,8 +12651,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12549
12651
|
return p.deleteEntry(methodInput);
|
|
12550
12652
|
}),
|
|
12551
12653
|
updateEntry: trpc_middleware_js_1.adminProcedure
|
|
12552
|
-
.input(
|
|
12553
|
-
.output(
|
|
12654
|
+
.input(types_145.trainingProviderCapability.methods.updateEntry.input.loose())
|
|
12655
|
+
.output(types_145.trainingProviderCapability.methods.updateEntry.output)
|
|
12554
12656
|
.mutation(async ({ input, ctx }) => {
|
|
12555
12657
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12556
12658
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12558,8 +12660,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12558
12660
|
return p.updateEntry(methodInput);
|
|
12559
12661
|
}),
|
|
12560
12662
|
validateCredentials: trpc_middleware_js_1.adminProcedure
|
|
12561
|
-
.input(
|
|
12562
|
-
.output(
|
|
12663
|
+
.input(types_145.trainingProviderCapability.methods.validateCredentials.input.loose())
|
|
12664
|
+
.output(types_145.trainingProviderCapability.methods.validateCredentials.output)
|
|
12563
12665
|
.mutation(async ({ input, ctx }) => {
|
|
12564
12666
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12565
12667
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12567,8 +12669,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12567
12669
|
return p.validateCredentials(methodInput);
|
|
12568
12670
|
}),
|
|
12569
12671
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
12570
|
-
.input(
|
|
12571
|
-
.output(
|
|
12672
|
+
.input(types_145.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
12673
|
+
.output(types_145.trainingProviderCapability.methods.estimateJob.output)
|
|
12572
12674
|
.query(async ({ input, ctx }) => {
|
|
12573
12675
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12574
12676
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12576,8 +12678,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12576
12678
|
return p.estimateJob(methodInput);
|
|
12577
12679
|
}),
|
|
12578
12680
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
12579
|
-
.input(
|
|
12580
|
-
.output(
|
|
12681
|
+
.input(types_145.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
12682
|
+
.output(types_145.trainingProviderCapability.methods.uploadDataset.output)
|
|
12581
12683
|
.mutation(async ({ input, ctx }) => {
|
|
12582
12684
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12583
12685
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12585,8 +12687,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12585
12687
|
return p.uploadDataset(methodInput);
|
|
12586
12688
|
}),
|
|
12587
12689
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
12588
|
-
.input(
|
|
12589
|
-
.output(
|
|
12690
|
+
.input(types_145.trainingProviderCapability.methods.submitJob.input.loose())
|
|
12691
|
+
.output(types_145.trainingProviderCapability.methods.submitJob.output)
|
|
12590
12692
|
.mutation(async ({ input, ctx }) => {
|
|
12591
12693
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12592
12694
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12594,8 +12696,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12594
12696
|
return p.submitJob(methodInput);
|
|
12595
12697
|
}),
|
|
12596
12698
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12597
|
-
.input(
|
|
12598
|
-
.output(
|
|
12699
|
+
.input(types_145.trainingProviderCapability.methods.getJob.input.loose())
|
|
12700
|
+
.output(types_145.trainingProviderCapability.methods.getJob.output)
|
|
12599
12701
|
.query(async ({ input, ctx }) => {
|
|
12600
12702
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12601
12703
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12603,8 +12705,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12603
12705
|
return p.getJob(methodInput);
|
|
12604
12706
|
}),
|
|
12605
12707
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
12606
|
-
.input(
|
|
12607
|
-
.output(
|
|
12708
|
+
.input(types_145.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
12709
|
+
.output(types_145.trainingProviderCapability.methods.listJobEvents.output)
|
|
12608
12710
|
.query(async ({ input, ctx }) => {
|
|
12609
12711
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12610
12712
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12612,8 +12714,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12612
12714
|
return p.listJobEvents(methodInput);
|
|
12613
12715
|
}),
|
|
12614
12716
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12615
|
-
.input(
|
|
12616
|
-
.output(
|
|
12717
|
+
.input(types_145.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
12718
|
+
.output(types_145.trainingProviderCapability.methods.cancelJob.output)
|
|
12617
12719
|
.mutation(async ({ input, ctx }) => {
|
|
12618
12720
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12619
12721
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12621,8 +12723,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12621
12723
|
return p.cancelJob(methodInput);
|
|
12622
12724
|
}),
|
|
12623
12725
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
12624
|
-
.input(
|
|
12625
|
-
.output(
|
|
12726
|
+
.input(types_145.trainingProviderCapability.methods.readResult.input.loose())
|
|
12727
|
+
.output(types_145.trainingProviderCapability.methods.readResult.output)
|
|
12626
12728
|
.mutation(async ({ input, ctx }) => {
|
|
12627
12729
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12628
12730
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12630,8 +12732,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12630
12732
|
return p.readResult(methodInput);
|
|
12631
12733
|
}),
|
|
12632
12734
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
12633
|
-
.input(
|
|
12634
|
-
.output(
|
|
12735
|
+
.input(types_145.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
12736
|
+
.output(types_145.trainingProviderCapability.methods.offerArtifact.output)
|
|
12635
12737
|
.mutation(async ({ input, ctx }) => {
|
|
12636
12738
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12637
12739
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12639,8 +12741,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12639
12741
|
return p.offerArtifact(methodInput);
|
|
12640
12742
|
}),
|
|
12641
12743
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
12642
|
-
.input(
|
|
12643
|
-
.output(
|
|
12744
|
+
.input(types_145.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
12745
|
+
.output(types_145.trainingProviderCapability.methods.cleanupJob.output)
|
|
12644
12746
|
.mutation(async ({ input, ctx }) => {
|
|
12645
12747
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12646
12748
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12648,8 +12750,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12648
12750
|
return p.cleanupJob(methodInput);
|
|
12649
12751
|
}),
|
|
12650
12752
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
12651
|
-
.input(
|
|
12652
|
-
.output(
|
|
12753
|
+
.input(types_145.trainingProviderCapability.methods.listJobs.input.loose())
|
|
12754
|
+
.output(types_145.trainingProviderCapability.methods.listJobs.output)
|
|
12653
12755
|
.query(async ({ input, ctx }) => {
|
|
12654
12756
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12655
12757
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12662,7 +12764,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
12662
12764
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12663
12765
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
12664
12766
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
12665
|
-
.output(
|
|
12767
|
+
.output(types_146.turnProviderCapability.methods.getTurnServers.output)
|
|
12666
12768
|
.query(async ({ input, ctx }) => {
|
|
12667
12769
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
12668
12770
|
return p.getTurnServers();
|
|
@@ -12682,7 +12784,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
12682
12784
|
}),
|
|
12683
12785
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
12684
12786
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12685
|
-
.output(
|
|
12787
|
+
.output(types_147.updateCapability.methods.installUpdate.output)
|
|
12686
12788
|
.mutation(async ({ input, ctx }) => {
|
|
12687
12789
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12688
12790
|
return p.installUpdate();
|
|
@@ -12693,14 +12795,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12693
12795
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12694
12796
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
12695
12797
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12696
|
-
.output(
|
|
12798
|
+
.output(types_148.userManagementCapability.methods.listUsers.output)
|
|
12697
12799
|
.query(async ({ input, ctx }) => {
|
|
12698
12800
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12699
12801
|
return p.listUsers();
|
|
12700
12802
|
}),
|
|
12701
12803
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
12702
|
-
.input(
|
|
12703
|
-
.output(
|
|
12804
|
+
.input(types_148.userManagementCapability.methods.createUser.input.loose())
|
|
12805
|
+
.output(types_148.userManagementCapability.methods.createUser.output)
|
|
12704
12806
|
.mutation(async ({ input, ctx }) => {
|
|
12705
12807
|
const { nodeId, ...methodInput } = input;
|
|
12706
12808
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12708,8 +12810,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12708
12810
|
return p.createUser(methodInput);
|
|
12709
12811
|
}),
|
|
12710
12812
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
12711
|
-
.input(
|
|
12712
|
-
.output(
|
|
12813
|
+
.input(types_148.userManagementCapability.methods.updateUser.input.loose())
|
|
12814
|
+
.output(types_148.userManagementCapability.methods.updateUser.output)
|
|
12713
12815
|
.mutation(async ({ input, ctx }) => {
|
|
12714
12816
|
const { nodeId, ...methodInput } = input;
|
|
12715
12817
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12717,8 +12819,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12717
12819
|
return p.updateUser(methodInput);
|
|
12718
12820
|
}),
|
|
12719
12821
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
12720
|
-
.input(
|
|
12721
|
-
.output(
|
|
12822
|
+
.input(types_148.userManagementCapability.methods.deleteUser.input.loose())
|
|
12823
|
+
.output(types_148.userManagementCapability.methods.deleteUser.output)
|
|
12722
12824
|
.mutation(async ({ input, ctx }) => {
|
|
12723
12825
|
const { nodeId, ...methodInput } = input;
|
|
12724
12826
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12726,8 +12828,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12726
12828
|
return p.deleteUser(methodInput);
|
|
12727
12829
|
}),
|
|
12728
12830
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
12729
|
-
.input(
|
|
12730
|
-
.output(
|
|
12831
|
+
.input(types_148.userManagementCapability.methods.resetPassword.input.loose())
|
|
12832
|
+
.output(types_148.userManagementCapability.methods.resetPassword.output)
|
|
12731
12833
|
.mutation(async ({ input, ctx }) => {
|
|
12732
12834
|
const { nodeId, ...methodInput } = input;
|
|
12733
12835
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12735,8 +12837,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12735
12837
|
return p.resetPassword(methodInput);
|
|
12736
12838
|
}),
|
|
12737
12839
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
12738
|
-
.input(
|
|
12739
|
-
.output(
|
|
12840
|
+
.input(types_148.userManagementCapability.methods.setUserScopes.input.loose())
|
|
12841
|
+
.output(types_148.userManagementCapability.methods.setUserScopes.output)
|
|
12740
12842
|
.mutation(async ({ input, ctx }) => {
|
|
12741
12843
|
const { nodeId, ...methodInput } = input;
|
|
12742
12844
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12744,8 +12846,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12744
12846
|
return p.setUserScopes(methodInput);
|
|
12745
12847
|
}),
|
|
12746
12848
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
12747
|
-
.input(
|
|
12748
|
-
.output(
|
|
12849
|
+
.input(types_148.userManagementCapability.methods.validateCredentials.input.loose())
|
|
12850
|
+
.output(types_148.userManagementCapability.methods.validateCredentials.output)
|
|
12749
12851
|
.mutation(async ({ input, ctx }) => {
|
|
12750
12852
|
const { nodeId, ...methodInput } = input;
|
|
12751
12853
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12753,8 +12855,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12753
12855
|
return p.validateCredentials(methodInput);
|
|
12754
12856
|
}),
|
|
12755
12857
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
12756
|
-
.input(
|
|
12757
|
-
.output(
|
|
12858
|
+
.input(types_148.userManagementCapability.methods.setupTotp.input.loose())
|
|
12859
|
+
.output(types_148.userManagementCapability.methods.setupTotp.output)
|
|
12758
12860
|
.mutation(async ({ input, ctx }) => {
|
|
12759
12861
|
const { nodeId, ...methodInput } = input;
|
|
12760
12862
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12762,8 +12864,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12762
12864
|
return p.setupTotp(methodInput);
|
|
12763
12865
|
}),
|
|
12764
12866
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
12765
|
-
.input(
|
|
12766
|
-
.output(
|
|
12867
|
+
.input(types_148.userManagementCapability.methods.confirmTotp.input.loose())
|
|
12868
|
+
.output(types_148.userManagementCapability.methods.confirmTotp.output)
|
|
12767
12869
|
.mutation(async ({ input, ctx }) => {
|
|
12768
12870
|
const { nodeId, ...methodInput } = input;
|
|
12769
12871
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12771,8 +12873,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12771
12873
|
return p.confirmTotp(methodInput);
|
|
12772
12874
|
}),
|
|
12773
12875
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
12774
|
-
.input(
|
|
12775
|
-
.output(
|
|
12876
|
+
.input(types_148.userManagementCapability.methods.disableTotp.input.loose())
|
|
12877
|
+
.output(types_148.userManagementCapability.methods.disableTotp.output)
|
|
12776
12878
|
.mutation(async ({ input, ctx }) => {
|
|
12777
12879
|
const { nodeId, ...methodInput } = input;
|
|
12778
12880
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12780,8 +12882,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12780
12882
|
return p.disableTotp(methodInput);
|
|
12781
12883
|
}),
|
|
12782
12884
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
12783
|
-
.input(
|
|
12784
|
-
.output(
|
|
12885
|
+
.input(types_148.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
12886
|
+
.output(types_148.userManagementCapability.methods.getTotpStatus.output)
|
|
12785
12887
|
.query(async ({ input, ctx }) => {
|
|
12786
12888
|
const { nodeId, ...methodInput } = input;
|
|
12787
12889
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12789,8 +12891,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12789
12891
|
return p.getTotpStatus(methodInput);
|
|
12790
12892
|
}),
|
|
12791
12893
|
migrateRawSecrets: trpc_middleware_js_1.adminProcedure
|
|
12792
|
-
.input(
|
|
12793
|
-
.output(
|
|
12894
|
+
.input(types_148.userManagementCapability.methods.migrateRawSecrets.input.loose())
|
|
12895
|
+
.output(types_148.userManagementCapability.methods.migrateRawSecrets.output)
|
|
12794
12896
|
.mutation(async ({ input, ctx }) => {
|
|
12795
12897
|
const { nodeId, ...methodInput } = input;
|
|
12796
12898
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12798,8 +12900,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12798
12900
|
return p.migrateRawSecrets(methodInput);
|
|
12799
12901
|
}),
|
|
12800
12902
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
12801
|
-
.input(
|
|
12802
|
-
.output(
|
|
12903
|
+
.input(types_148.userManagementCapability.methods.verifyTotp.input.loose())
|
|
12904
|
+
.output(types_148.userManagementCapability.methods.verifyTotp.output)
|
|
12803
12905
|
.mutation(async ({ input, ctx }) => {
|
|
12804
12906
|
const { nodeId, ...methodInput } = input;
|
|
12805
12907
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12807,8 +12909,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12807
12909
|
return p.verifyTotp(methodInput);
|
|
12808
12910
|
}),
|
|
12809
12911
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
12810
|
-
.input(
|
|
12811
|
-
.output(
|
|
12912
|
+
.input(types_148.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
12913
|
+
.output(types_148.userManagementCapability.methods.oauthIssueCode.output)
|
|
12812
12914
|
.mutation(async ({ input, ctx }) => {
|
|
12813
12915
|
const { nodeId, ...methodInput } = input;
|
|
12814
12916
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12816,8 +12918,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12816
12918
|
return p.oauthIssueCode(methodInput);
|
|
12817
12919
|
}),
|
|
12818
12920
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
12819
|
-
.input(
|
|
12820
|
-
.output(
|
|
12921
|
+
.input(types_148.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
12922
|
+
.output(types_148.userManagementCapability.methods.oauthExchangeCode.output)
|
|
12821
12923
|
.mutation(async ({ input, ctx }) => {
|
|
12822
12924
|
const { nodeId, ...methodInput } = input;
|
|
12823
12925
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12825,8 +12927,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12825
12927
|
return p.oauthExchangeCode(methodInput);
|
|
12826
12928
|
}),
|
|
12827
12929
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
12828
|
-
.input(
|
|
12829
|
-
.output(
|
|
12930
|
+
.input(types_148.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
12931
|
+
.output(types_148.userManagementCapability.methods.oauthRefresh.output)
|
|
12830
12932
|
.mutation(async ({ input, ctx }) => {
|
|
12831
12933
|
const { nodeId, ...methodInput } = input;
|
|
12832
12934
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12834,8 +12936,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12834
12936
|
return p.oauthRefresh(methodInput);
|
|
12835
12937
|
}),
|
|
12836
12938
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
12837
|
-
.input(
|
|
12838
|
-
.output(
|
|
12939
|
+
.input(types_148.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
12940
|
+
.output(types_148.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
12839
12941
|
.query(async ({ input, ctx }) => {
|
|
12840
12942
|
const { nodeId, ...methodInput } = input;
|
|
12841
12943
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12843,8 +12945,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12843
12945
|
return p.oauthVerifyAccessToken(methodInput);
|
|
12844
12946
|
}),
|
|
12845
12947
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
12846
|
-
.input(
|
|
12847
|
-
.output(
|
|
12948
|
+
.input(types_148.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
12949
|
+
.output(types_148.userManagementCapability.methods.listExternalIdentities.output)
|
|
12848
12950
|
.query(async ({ input, ctx }) => {
|
|
12849
12951
|
const { nodeId, ...methodInput } = input;
|
|
12850
12952
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12852,8 +12954,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12852
12954
|
return p.listExternalIdentities(methodInput);
|
|
12853
12955
|
}),
|
|
12854
12956
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
12855
|
-
.input(
|
|
12856
|
-
.output(
|
|
12957
|
+
.input(types_148.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
12958
|
+
.output(types_148.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
12857
12959
|
.query(async ({ input, ctx }) => {
|
|
12858
12960
|
const { nodeId, ...methodInput } = input;
|
|
12859
12961
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12861,8 +12963,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12861
12963
|
return p.findUserByExternalIdentity(methodInput);
|
|
12862
12964
|
}),
|
|
12863
12965
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
12864
|
-
.input(
|
|
12865
|
-
.output(
|
|
12966
|
+
.input(types_148.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
12967
|
+
.output(types_148.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
12866
12968
|
.mutation(async ({ input, ctx }) => {
|
|
12867
12969
|
const { nodeId, ...methodInput } = input;
|
|
12868
12970
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12871,14 +12973,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12871
12973
|
}),
|
|
12872
12974
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
12873
12975
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12874
|
-
.output(
|
|
12976
|
+
.output(types_148.userManagementCapability.methods.listOauthSessions.output)
|
|
12875
12977
|
.query(async ({ input, ctx }) => {
|
|
12876
12978
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12877
12979
|
return p.listOauthSessions();
|
|
12878
12980
|
}),
|
|
12879
12981
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
12880
|
-
.input(
|
|
12881
|
-
.output(
|
|
12982
|
+
.input(types_148.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
12983
|
+
.output(types_148.userManagementCapability.methods.revokeOauthSession.output)
|
|
12882
12984
|
.mutation(async ({ input, ctx }) => {
|
|
12883
12985
|
const { nodeId, ...methodInput } = input;
|
|
12884
12986
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12890,8 +12992,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12890
12992
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
12891
12993
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12892
12994
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
12893
|
-
.input(
|
|
12894
|
-
.output(
|
|
12995
|
+
.input(types_149.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
12996
|
+
.output(types_149.userPasskeysCapability.methods.beginRegistration.output)
|
|
12895
12997
|
.mutation(async ({ input, ctx }) => {
|
|
12896
12998
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12897
12999
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12899,8 +13001,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12899
13001
|
return p.beginRegistration(methodInput);
|
|
12900
13002
|
}),
|
|
12901
13003
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
12902
|
-
.input(
|
|
12903
|
-
.output(
|
|
13004
|
+
.input(types_149.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
13005
|
+
.output(types_149.userPasskeysCapability.methods.finishRegistration.output)
|
|
12904
13006
|
.mutation(async ({ input, ctx }) => {
|
|
12905
13007
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12906
13008
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12908,8 +13010,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12908
13010
|
return p.finishRegistration(methodInput);
|
|
12909
13011
|
}),
|
|
12910
13012
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12911
|
-
.input(
|
|
12912
|
-
.output(
|
|
13013
|
+
.input(types_149.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
13014
|
+
.output(types_149.userPasskeysCapability.methods.beginAuthentication.output)
|
|
12913
13015
|
.mutation(async ({ input, ctx }) => {
|
|
12914
13016
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12915
13017
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12917,8 +13019,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12917
13019
|
return p.beginAuthentication(methodInput);
|
|
12918
13020
|
}),
|
|
12919
13021
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12920
|
-
.input(
|
|
12921
|
-
.output(
|
|
13022
|
+
.input(types_149.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
13023
|
+
.output(types_149.userPasskeysCapability.methods.finishAuthentication.output)
|
|
12922
13024
|
.mutation(async ({ input, ctx }) => {
|
|
12923
13025
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12924
13026
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12926,8 +13028,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12926
13028
|
return p.finishAuthentication(methodInput);
|
|
12927
13029
|
}),
|
|
12928
13030
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12929
|
-
.input(
|
|
12930
|
-
.output(
|
|
13031
|
+
.input(types_149.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
13032
|
+
.output(types_149.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
12931
13033
|
.mutation(async ({ input, ctx }) => {
|
|
12932
13034
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12933
13035
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12935,8 +13037,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12935
13037
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
12936
13038
|
}),
|
|
12937
13039
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12938
|
-
.input(
|
|
12939
|
-
.output(
|
|
13040
|
+
.input(types_149.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
13041
|
+
.output(types_149.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
12940
13042
|
.mutation(async ({ input, ctx }) => {
|
|
12941
13043
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12942
13044
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12944,8 +13046,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12944
13046
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
12945
13047
|
}),
|
|
12946
13048
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
12947
|
-
.input(
|
|
12948
|
-
.output(
|
|
13049
|
+
.input(types_149.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
13050
|
+
.output(types_149.userPasskeysCapability.methods.listPasskeys.output)
|
|
12949
13051
|
.query(async ({ input, ctx }) => {
|
|
12950
13052
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12951
13053
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12953,8 +13055,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12953
13055
|
return p.listPasskeys(methodInput);
|
|
12954
13056
|
}),
|
|
12955
13057
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
12956
|
-
.input(
|
|
12957
|
-
.output(
|
|
13058
|
+
.input(types_149.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
13059
|
+
.output(types_149.userPasskeysCapability.methods.removePasskey.output)
|
|
12958
13060
|
.mutation(async ({ input, ctx }) => {
|
|
12959
13061
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12960
13062
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12962,8 +13064,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12962
13064
|
return p.removePasskey(methodInput);
|
|
12963
13065
|
}),
|
|
12964
13066
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
12965
|
-
.input(
|
|
12966
|
-
.output(
|
|
13067
|
+
.input(types_149.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
13068
|
+
.output(types_149.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
12967
13069
|
.query(async ({ input, ctx }) => {
|
|
12968
13070
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12969
13071
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12971,8 +13073,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12971
13073
|
return p.getSecondFactorPreference(methodInput);
|
|
12972
13074
|
}),
|
|
12973
13075
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
12974
|
-
.input(
|
|
12975
|
-
.output(
|
|
13076
|
+
.input(types_149.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
13077
|
+
.output(types_149.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
12976
13078
|
.mutation(async ({ input, ctx }) => {
|
|
12977
13079
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12978
13080
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12993,8 +13095,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12993
13095
|
return p.getStatus(methodInput);
|
|
12994
13096
|
}),
|
|
12995
13097
|
start: trpc_middleware_js_1.protectedProcedure
|
|
12996
|
-
.input(
|
|
12997
|
-
.output(
|
|
13098
|
+
.input(types_150.vacuumControlCapability.methods.start.input.loose())
|
|
13099
|
+
.output(types_150.vacuumControlCapability.methods.start.output)
|
|
12998
13100
|
.mutation(async ({ input, ctx }) => {
|
|
12999
13101
|
const { nodeId, ...methodInput } = input;
|
|
13000
13102
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13002,8 +13104,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13002
13104
|
return p.start(methodInput);
|
|
13003
13105
|
}),
|
|
13004
13106
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
13005
|
-
.input(
|
|
13006
|
-
.output(
|
|
13107
|
+
.input(types_150.vacuumControlCapability.methods.pause.input.loose())
|
|
13108
|
+
.output(types_150.vacuumControlCapability.methods.pause.output)
|
|
13007
13109
|
.mutation(async ({ input, ctx }) => {
|
|
13008
13110
|
const { nodeId, ...methodInput } = input;
|
|
13009
13111
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13011,8 +13113,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13011
13113
|
return p.pause(methodInput);
|
|
13012
13114
|
}),
|
|
13013
13115
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13014
|
-
.input(
|
|
13015
|
-
.output(
|
|
13116
|
+
.input(types_150.vacuumControlCapability.methods.stop.input.loose())
|
|
13117
|
+
.output(types_150.vacuumControlCapability.methods.stop.output)
|
|
13016
13118
|
.mutation(async ({ input, ctx }) => {
|
|
13017
13119
|
const { nodeId, ...methodInput } = input;
|
|
13018
13120
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13020,8 +13122,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13020
13122
|
return p.stop(methodInput);
|
|
13021
13123
|
}),
|
|
13022
13124
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
13023
|
-
.input(
|
|
13024
|
-
.output(
|
|
13125
|
+
.input(types_150.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
13126
|
+
.output(types_150.vacuumControlCapability.methods.returnToBase.output)
|
|
13025
13127
|
.mutation(async ({ input, ctx }) => {
|
|
13026
13128
|
const { nodeId, ...methodInput } = input;
|
|
13027
13129
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13029,8 +13131,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13029
13131
|
return p.returnToBase(methodInput);
|
|
13030
13132
|
}),
|
|
13031
13133
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
13032
|
-
.input(
|
|
13033
|
-
.output(
|
|
13134
|
+
.input(types_150.vacuumControlCapability.methods.locate.input.loose())
|
|
13135
|
+
.output(types_150.vacuumControlCapability.methods.locate.output)
|
|
13034
13136
|
.mutation(async ({ input, ctx }) => {
|
|
13035
13137
|
const { nodeId, ...methodInput } = input;
|
|
13036
13138
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13038,8 +13140,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13038
13140
|
return p.locate(methodInput);
|
|
13039
13141
|
}),
|
|
13040
13142
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
13041
|
-
.input(
|
|
13042
|
-
.output(
|
|
13143
|
+
.input(types_150.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
13144
|
+
.output(types_150.vacuumControlCapability.methods.setFanSpeed.output)
|
|
13043
13145
|
.mutation(async ({ input, ctx }) => {
|
|
13044
13146
|
const { nodeId, ...methodInput } = input;
|
|
13045
13147
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13060,8 +13162,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13060
13162
|
return p.getStatus(methodInput);
|
|
13061
13163
|
}),
|
|
13062
13164
|
open: trpc_middleware_js_1.protectedProcedure
|
|
13063
|
-
.input(
|
|
13064
|
-
.output(
|
|
13165
|
+
.input(types_151.valveCapability.methods.open.input.loose())
|
|
13166
|
+
.output(types_151.valveCapability.methods.open.output)
|
|
13065
13167
|
.mutation(async ({ input, ctx }) => {
|
|
13066
13168
|
const { nodeId, ...methodInput } = input;
|
|
13067
13169
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13069,8 +13171,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13069
13171
|
return p.open(methodInput);
|
|
13070
13172
|
}),
|
|
13071
13173
|
close: trpc_middleware_js_1.protectedProcedure
|
|
13072
|
-
.input(
|
|
13073
|
-
.output(
|
|
13174
|
+
.input(types_151.valveCapability.methods.close.input.loose())
|
|
13175
|
+
.output(types_151.valveCapability.methods.close.output)
|
|
13074
13176
|
.mutation(async ({ input, ctx }) => {
|
|
13075
13177
|
const { nodeId, ...methodInput } = input;
|
|
13076
13178
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13078,8 +13180,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13078
13180
|
return p.close(methodInput);
|
|
13079
13181
|
}),
|
|
13080
13182
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13081
|
-
.input(
|
|
13082
|
-
.output(
|
|
13183
|
+
.input(types_151.valveCapability.methods.stop.input.loose())
|
|
13184
|
+
.output(types_151.valveCapability.methods.stop.output)
|
|
13083
13185
|
.mutation(async ({ input, ctx }) => {
|
|
13084
13186
|
const { nodeId, ...methodInput } = input;
|
|
13085
13187
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13087,8 +13189,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13087
13189
|
return p.stop(methodInput);
|
|
13088
13190
|
}),
|
|
13089
13191
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
13090
|
-
.input(
|
|
13091
|
-
.output(
|
|
13192
|
+
.input(types_151.valveCapability.methods.setPosition.input.loose())
|
|
13193
|
+
.output(types_151.valveCapability.methods.setPosition.output)
|
|
13092
13194
|
.mutation(async ({ input, ctx }) => {
|
|
13093
13195
|
const { nodeId, ...methodInput } = input;
|
|
13094
13196
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13100,8 +13202,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13100
13202
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
13101
13203
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13102
13204
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
13103
|
-
.input(
|
|
13104
|
-
.output(
|
|
13205
|
+
.input(types_152.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
13206
|
+
.output(types_152.vectorStoreCapability.methods.declareIndex.output)
|
|
13105
13207
|
.mutation(async ({ input, ctx }) => {
|
|
13106
13208
|
const { nodeId, ...methodInput } = input;
|
|
13107
13209
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13109,8 +13211,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13109
13211
|
return p.declareIndex(methodInput);
|
|
13110
13212
|
}),
|
|
13111
13213
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
13112
|
-
.input(
|
|
13113
|
-
.output(
|
|
13214
|
+
.input(types_152.vectorStoreCapability.methods.upsert.input.loose())
|
|
13215
|
+
.output(types_152.vectorStoreCapability.methods.upsert.output)
|
|
13114
13216
|
.mutation(async ({ input, ctx }) => {
|
|
13115
13217
|
const { nodeId, ...methodInput } = input;
|
|
13116
13218
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13118,8 +13220,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13118
13220
|
return p.upsert(methodInput);
|
|
13119
13221
|
}),
|
|
13120
13222
|
query: trpc_middleware_js_1.adminProcedure
|
|
13121
|
-
.input(
|
|
13122
|
-
.output(
|
|
13223
|
+
.input(types_152.vectorStoreCapability.methods.query.input.loose())
|
|
13224
|
+
.output(types_152.vectorStoreCapability.methods.query.output)
|
|
13123
13225
|
.query(async ({ input, ctx }) => {
|
|
13124
13226
|
const { nodeId, ...methodInput } = input;
|
|
13125
13227
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13127,8 +13229,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13127
13229
|
return p.query(methodInput);
|
|
13128
13230
|
}),
|
|
13129
13231
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
13130
|
-
.input(
|
|
13131
|
-
.output(
|
|
13232
|
+
.input(types_152.vectorStoreCapability.methods.getByIds.input.loose())
|
|
13233
|
+
.output(types_152.vectorStoreCapability.methods.getByIds.output)
|
|
13132
13234
|
.query(async ({ input, ctx }) => {
|
|
13133
13235
|
const { nodeId, ...methodInput } = input;
|
|
13134
13236
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13136,8 +13238,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13136
13238
|
return p.getByIds(methodInput);
|
|
13137
13239
|
}),
|
|
13138
13240
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
13139
|
-
.input(
|
|
13140
|
-
.output(
|
|
13241
|
+
.input(types_152.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
13242
|
+
.output(types_152.vectorStoreCapability.methods.fetchByIds.output)
|
|
13141
13243
|
.query(async ({ input, ctx }) => {
|
|
13142
13244
|
const { nodeId, ...methodInput } = input;
|
|
13143
13245
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13145,8 +13247,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13145
13247
|
return p.fetchByIds(methodInput);
|
|
13146
13248
|
}),
|
|
13147
13249
|
scan: trpc_middleware_js_1.adminProcedure
|
|
13148
|
-
.input(
|
|
13149
|
-
.output(
|
|
13250
|
+
.input(types_152.vectorStoreCapability.methods.scan.input.loose())
|
|
13251
|
+
.output(types_152.vectorStoreCapability.methods.scan.output)
|
|
13150
13252
|
.query(async ({ input, ctx }) => {
|
|
13151
13253
|
const { nodeId, ...methodInput } = input;
|
|
13152
13254
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13154,8 +13256,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13154
13256
|
return p.scan(methodInput);
|
|
13155
13257
|
}),
|
|
13156
13258
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
13157
|
-
.input(
|
|
13158
|
-
.output(
|
|
13259
|
+
.input(types_152.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
13260
|
+
.output(types_152.vectorStoreCapability.methods.deleteByIds.output)
|
|
13159
13261
|
.mutation(async ({ input, ctx }) => {
|
|
13160
13262
|
const { nodeId, ...methodInput } = input;
|
|
13161
13263
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13163,8 +13265,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13163
13265
|
return p.deleteByIds(methodInput);
|
|
13164
13266
|
}),
|
|
13165
13267
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
13166
|
-
.input(
|
|
13167
|
-
.output(
|
|
13268
|
+
.input(types_152.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
13269
|
+
.output(types_152.vectorStoreCapability.methods.deleteByFilter.output)
|
|
13168
13270
|
.mutation(async ({ input, ctx }) => {
|
|
13169
13271
|
const { nodeId, ...methodInput } = input;
|
|
13170
13272
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13172,8 +13274,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13172
13274
|
return p.deleteByFilter(methodInput);
|
|
13173
13275
|
}),
|
|
13174
13276
|
stats: trpc_middleware_js_1.adminProcedure
|
|
13175
|
-
.input(
|
|
13176
|
-
.output(
|
|
13277
|
+
.input(types_152.vectorStoreCapability.methods.stats.input.loose())
|
|
13278
|
+
.output(types_152.vectorStoreCapability.methods.stats.output)
|
|
13177
13279
|
.query(async ({ input, ctx }) => {
|
|
13178
13280
|
const { nodeId, ...methodInput } = input;
|
|
13179
13281
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13198,8 +13300,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
13198
13300
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
13199
13301
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13200
13302
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
13201
|
-
.input(
|
|
13202
|
-
.output(
|
|
13303
|
+
.input(types_153.videoclipsCapability.methods.listClips.input.loose())
|
|
13304
|
+
.output(types_153.videoclipsCapability.methods.listClips.output)
|
|
13203
13305
|
.query(async ({ input, ctx }) => {
|
|
13204
13306
|
const { nodeId, ...methodInput } = input;
|
|
13205
13307
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13207,8 +13309,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13207
13309
|
return p.listClips(methodInput);
|
|
13208
13310
|
}),
|
|
13209
13311
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
13210
|
-
.input(
|
|
13211
|
-
.output(
|
|
13312
|
+
.input(types_153.videoclipsCapability.methods.listSources.input.loose())
|
|
13313
|
+
.output(types_153.videoclipsCapability.methods.listSources.output)
|
|
13212
13314
|
.query(async ({ input, ctx }) => {
|
|
13213
13315
|
const { nodeId, ...methodInput } = input;
|
|
13214
13316
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13216,8 +13318,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13216
13318
|
return p.listSources(methodInput);
|
|
13217
13319
|
}),
|
|
13218
13320
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
13219
|
-
.input(
|
|
13220
|
-
.output(
|
|
13321
|
+
.input(types_153.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
13322
|
+
.output(types_153.videoclipsCapability.methods.getClipPlayback.output)
|
|
13221
13323
|
.query(async ({ input, ctx }) => {
|
|
13222
13324
|
const { nodeId, ...methodInput } = input;
|
|
13223
13325
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13225,8 +13327,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13225
13327
|
return p.getClipPlayback(methodInput);
|
|
13226
13328
|
}),
|
|
13227
13329
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13228
|
-
.input(
|
|
13229
|
-
.output(
|
|
13330
|
+
.input(types_153.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
13331
|
+
.output(types_153.videoclipsCapability.methods.readClipBytes.output)
|
|
13230
13332
|
.query(async ({ input, ctx }) => {
|
|
13231
13333
|
const { nodeId, ...methodInput } = input;
|
|
13232
13334
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13241,8 +13343,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13241
13343
|
return fn.call(p, methodInput);
|
|
13242
13344
|
}),
|
|
13243
13345
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13244
|
-
.input(
|
|
13245
|
-
.output(
|
|
13346
|
+
.input(types_153.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
13347
|
+
.output(types_153.videoclipsCapability.methods.offerClipBytes.output)
|
|
13246
13348
|
.query(async ({ input, ctx }) => {
|
|
13247
13349
|
const { nodeId, ...methodInput } = input;
|
|
13248
13350
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13257,8 +13359,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13257
13359
|
return fn.call(p, methodInput);
|
|
13258
13360
|
}),
|
|
13259
13361
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
13260
|
-
.input(
|
|
13261
|
-
.output(
|
|
13362
|
+
.input(types_153.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
13363
|
+
.output(types_153.videoclipsCapability.methods.dialClipStream.output)
|
|
13262
13364
|
.query(async ({ input, ctx }) => {
|
|
13263
13365
|
const { nodeId, ...methodInput } = input;
|
|
13264
13366
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13273,8 +13375,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13273
13375
|
return fn.call(p, methodInput);
|
|
13274
13376
|
}),
|
|
13275
13377
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
13276
|
-
.input(
|
|
13277
|
-
.output(
|
|
13378
|
+
.input(types_153.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
13379
|
+
.output(types_153.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
13278
13380
|
.query(async ({ input, ctx }) => {
|
|
13279
13381
|
const { nodeId, ...methodInput } = input;
|
|
13280
13382
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13294,14 +13396,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
13294
13396
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13295
13397
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
13296
13398
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13297
|
-
.output(
|
|
13399
|
+
.output(types_154.viewerUiCapability.methods.getStaticDir.output)
|
|
13298
13400
|
.query(async ({ input, ctx }) => {
|
|
13299
13401
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13300
13402
|
return p.getStaticDir();
|
|
13301
13403
|
}),
|
|
13302
13404
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
13303
13405
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13304
|
-
.output(
|
|
13406
|
+
.output(types_154.viewerUiCapability.methods.getVersion.output)
|
|
13305
13407
|
.query(async ({ input, ctx }) => {
|
|
13306
13408
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13307
13409
|
return p.getVersion();
|
|
@@ -13320,8 +13422,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13320
13422
|
return p.getStatus(methodInput);
|
|
13321
13423
|
}),
|
|
13322
13424
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
13323
|
-
.input(
|
|
13324
|
-
.output(
|
|
13425
|
+
.input(types_155.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
13426
|
+
.output(types_155.waterHeaterCapability.methods.setTargetTemp.output)
|
|
13325
13427
|
.mutation(async ({ input, ctx }) => {
|
|
13326
13428
|
const { nodeId, ...methodInput } = input;
|
|
13327
13429
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13329,8 +13431,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13329
13431
|
return p.setTargetTemp(methodInput);
|
|
13330
13432
|
}),
|
|
13331
13433
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
13332
|
-
.input(
|
|
13333
|
-
.output(
|
|
13434
|
+
.input(types_155.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
13435
|
+
.output(types_155.waterHeaterCapability.methods.setOperationMode.output)
|
|
13334
13436
|
.mutation(async ({ input, ctx }) => {
|
|
13335
13437
|
const { nodeId, ...methodInput } = input;
|
|
13336
13438
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13338,8 +13440,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13338
13440
|
return p.setOperationMode(methodInput);
|
|
13339
13441
|
}),
|
|
13340
13442
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
13341
|
-
.input(
|
|
13342
|
-
.output(
|
|
13443
|
+
.input(types_155.waterHeaterCapability.methods.setAway.input.loose())
|
|
13444
|
+
.output(types_155.waterHeaterCapability.methods.setAway.output)
|
|
13343
13445
|
.mutation(async ({ input, ctx }) => {
|
|
13344
13446
|
const { nodeId, ...methodInput } = input;
|
|
13345
13447
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13364,8 +13466,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
13364
13466
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
13365
13467
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13366
13468
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
13367
|
-
.input(
|
|
13368
|
-
.output(
|
|
13469
|
+
.input(types_156.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
13470
|
+
.output(types_156.webrtcSessionCapability.methods.listStreams.output)
|
|
13369
13471
|
.query(async ({ input, ctx }) => {
|
|
13370
13472
|
const { nodeId, ...methodInput } = input;
|
|
13371
13473
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13373,8 +13475,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13373
13475
|
return p.listStreams(methodInput);
|
|
13374
13476
|
}),
|
|
13375
13477
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
13376
|
-
.input(
|
|
13377
|
-
.output(
|
|
13478
|
+
.input(types_156.webrtcSessionCapability.methods.createSession.input.loose())
|
|
13479
|
+
.output(types_156.webrtcSessionCapability.methods.createSession.output)
|
|
13378
13480
|
.mutation(async ({ input, ctx }) => {
|
|
13379
13481
|
const { nodeId, ...methodInput } = input;
|
|
13380
13482
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13382,8 +13484,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13382
13484
|
return p.createSession(methodInput);
|
|
13383
13485
|
}),
|
|
13384
13486
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
13385
|
-
.input(
|
|
13386
|
-
.output(
|
|
13487
|
+
.input(types_156.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
13488
|
+
.output(types_156.webrtcSessionCapability.methods.handleOffer.output)
|
|
13387
13489
|
.mutation(async ({ input, ctx }) => {
|
|
13388
13490
|
const { nodeId, ...methodInput } = input;
|
|
13389
13491
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13391,8 +13493,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13391
13493
|
return p.handleOffer(methodInput);
|
|
13392
13494
|
}),
|
|
13393
13495
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
13394
|
-
.input(
|
|
13395
|
-
.output(
|
|
13496
|
+
.input(types_156.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
13497
|
+
.output(types_156.webrtcSessionCapability.methods.handleAnswer.output)
|
|
13396
13498
|
.mutation(async ({ input, ctx }) => {
|
|
13397
13499
|
const { nodeId, ...methodInput } = input;
|
|
13398
13500
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13400,8 +13502,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13400
13502
|
return p.handleAnswer(methodInput);
|
|
13401
13503
|
}),
|
|
13402
13504
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
13403
|
-
.input(
|
|
13404
|
-
.output(
|
|
13505
|
+
.input(types_156.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
13506
|
+
.output(types_156.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
13405
13507
|
.mutation(async ({ input, ctx }) => {
|
|
13406
13508
|
const { nodeId, ...methodInput } = input;
|
|
13407
13509
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13409,8 +13511,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13409
13511
|
return p.addIceCandidate(methodInput);
|
|
13410
13512
|
}),
|
|
13411
13513
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
13412
|
-
.input(
|
|
13413
|
-
.output(
|
|
13514
|
+
.input(types_156.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
13515
|
+
.output(types_156.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
13414
13516
|
.query(async ({ input, ctx }) => {
|
|
13415
13517
|
const { nodeId, ...methodInput } = input;
|
|
13416
13518
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13418,8 +13520,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13418
13520
|
return p.getIceCandidates(methodInput);
|
|
13419
13521
|
}),
|
|
13420
13522
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
13421
|
-
.input(
|
|
13422
|
-
.output(
|
|
13523
|
+
.input(types_156.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
13524
|
+
.output(types_156.webrtcSessionCapability.methods.closeSession.output)
|
|
13423
13525
|
.mutation(async ({ input, ctx }) => {
|
|
13424
13526
|
const { nodeId, ...methodInput } = input;
|
|
13425
13527
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13427,8 +13529,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13427
13529
|
return p.closeSession(methodInput);
|
|
13428
13530
|
}),
|
|
13429
13531
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
13430
|
-
.input(
|
|
13431
|
-
.output(
|
|
13532
|
+
.input(types_156.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
13533
|
+
.output(types_156.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
13432
13534
|
.query(async ({ input, ctx }) => {
|
|
13433
13535
|
const { nodeId, ...methodInput } = input;
|
|
13434
13536
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13436,8 +13538,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13436
13538
|
return p.hasAdaptiveBitrate(methodInput);
|
|
13437
13539
|
}),
|
|
13438
13540
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
13439
|
-
.input(
|
|
13440
|
-
.output(
|
|
13541
|
+
.input(types_156.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
13542
|
+
.output(types_156.webrtcSessionCapability.methods.getSessionState.output)
|
|
13441
13543
|
.query(async ({ input, ctx }) => {
|
|
13442
13544
|
const { nodeId, ...methodInput } = input;
|
|
13443
13545
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13445,8 +13547,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13445
13547
|
return p.getSessionState(methodInput);
|
|
13446
13548
|
}),
|
|
13447
13549
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
13448
|
-
.input(
|
|
13449
|
-
.output(
|
|
13550
|
+
.input(types_156.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
13551
|
+
.output(types_156.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
13450
13552
|
.mutation(async ({ input, ctx }) => {
|
|
13451
13553
|
const { nodeId, ...methodInput } = input;
|
|
13452
13554
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13454,8 +13556,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13454
13556
|
return p.applyDownlinkProbe(methodInput);
|
|
13455
13557
|
}),
|
|
13456
13558
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
13457
|
-
.input(
|
|
13458
|
-
.output(
|
|
13559
|
+
.input(types_156.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
13560
|
+
.output(types_156.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
13459
13561
|
.query(async ({ input, ctx }) => {
|
|
13460
13562
|
const { nodeId, ...methodInput } = input;
|
|
13461
13563
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13467,8 +13569,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13467
13569
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
13468
13570
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13469
13571
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
13470
|
-
.input(
|
|
13471
|
-
.output(
|
|
13572
|
+
.input(types_157.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
13573
|
+
.output(types_157.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
13472
13574
|
.query(async ({ input, ctx }) => {
|
|
13473
13575
|
const { nodeId, ...methodInput } = input;
|
|
13474
13576
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13476,8 +13578,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13476
13578
|
return p.getCurrentSnapshot(methodInput);
|
|
13477
13579
|
}),
|
|
13478
13580
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
13479
|
-
.input(
|
|
13480
|
-
.output(
|
|
13581
|
+
.input(types_157.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
13582
|
+
.output(types_157.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
13481
13583
|
.query(async ({ input, ctx }) => {
|
|
13482
13584
|
const { nodeId, ...methodInput } = input;
|
|
13483
13585
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13485,8 +13587,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13485
13587
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
13486
13588
|
}),
|
|
13487
13589
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
13488
|
-
.input(
|
|
13489
|
-
.output(
|
|
13590
|
+
.input(types_157.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
13591
|
+
.output(types_157.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
13490
13592
|
.query(async ({ input, ctx }) => {
|
|
13491
13593
|
const { nodeId, ...methodInput } = input;
|
|
13492
13594
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13494,8 +13596,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13494
13596
|
return p.getZoneHistory(methodInput);
|
|
13495
13597
|
}),
|
|
13496
13598
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
13497
|
-
.input(
|
|
13498
|
-
.output(
|
|
13599
|
+
.input(types_157.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
13600
|
+
.output(types_157.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
13499
13601
|
.query(async ({ input, ctx }) => {
|
|
13500
13602
|
const { nodeId, ...methodInput } = input;
|
|
13501
13603
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13503,8 +13605,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13503
13605
|
return p.getCameraHistory(methodInput);
|
|
13504
13606
|
}),
|
|
13505
13607
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
13506
|
-
.input(
|
|
13507
|
-
.output(
|
|
13608
|
+
.input(types_157.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
13609
|
+
.output(types_157.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
13508
13610
|
.query(async ({ input, ctx }) => {
|
|
13509
13611
|
const { nodeId, ...methodInput } = input;
|
|
13510
13612
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13516,8 +13618,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13516
13618
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
13517
13619
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13518
13620
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
13519
|
-
.input(
|
|
13520
|
-
.output(
|
|
13621
|
+
.input(types_158.zoneRulesCapability.methods.listRules.input.loose())
|
|
13622
|
+
.output(types_158.zoneRulesCapability.methods.listRules.output)
|
|
13521
13623
|
.query(async ({ input, ctx }) => {
|
|
13522
13624
|
const { nodeId, ...methodInput } = input;
|
|
13523
13625
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13525,8 +13627,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
13525
13627
|
return p.listRules(methodInput);
|
|
13526
13628
|
}),
|
|
13527
13629
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
13528
|
-
.input(
|
|
13529
|
-
.output(
|
|
13630
|
+
.input(types_158.zoneRulesCapability.methods.setRules.input.loose())
|
|
13631
|
+
.output(types_158.zoneRulesCapability.methods.setRules.output)
|
|
13530
13632
|
.mutation(async ({ input, ctx }) => {
|
|
13531
13633
|
const { nodeId, ...methodInput } = input;
|
|
13532
13634
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13538,8 +13640,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
13538
13640
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
13539
13641
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13540
13642
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
13541
|
-
.input(
|
|
13542
|
-
.output(
|
|
13643
|
+
.input(types_159.zonesCapability.methods.listZones.input.loose())
|
|
13644
|
+
.output(types_159.zonesCapability.methods.listZones.output)
|
|
13543
13645
|
.query(async ({ input, ctx }) => {
|
|
13544
13646
|
const { nodeId, ...methodInput } = input;
|
|
13545
13647
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13547,8 +13649,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13547
13649
|
return p.listZones(methodInput);
|
|
13548
13650
|
}),
|
|
13549
13651
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
13550
|
-
.input(
|
|
13551
|
-
.output(
|
|
13652
|
+
.input(types_159.zonesCapability.methods.addZone.input.loose())
|
|
13653
|
+
.output(types_159.zonesCapability.methods.addZone.output)
|
|
13552
13654
|
.mutation(async ({ input, ctx }) => {
|
|
13553
13655
|
const { nodeId, ...methodInput } = input;
|
|
13554
13656
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13556,8 +13658,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13556
13658
|
return p.addZone(methodInput);
|
|
13557
13659
|
}),
|
|
13558
13660
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
13559
|
-
.input(
|
|
13560
|
-
.output(
|
|
13661
|
+
.input(types_159.zonesCapability.methods.removeZone.input.loose())
|
|
13662
|
+
.output(types_159.zonesCapability.methods.removeZone.output)
|
|
13561
13663
|
.mutation(async ({ input, ctx }) => {
|
|
13562
13664
|
const { nodeId, ...methodInput } = input;
|
|
13563
13665
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13565,8 +13667,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13565
13667
|
return p.removeZone(methodInput);
|
|
13566
13668
|
}),
|
|
13567
13669
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
13568
|
-
.input(
|
|
13569
|
-
.output(
|
|
13670
|
+
.input(types_159.zonesCapability.methods.updateZone.input.loose())
|
|
13671
|
+
.output(types_159.zonesCapability.methods.updateZone.output)
|
|
13570
13672
|
.mutation(async ({ input, ctx }) => {
|
|
13571
13673
|
const { nodeId, ...methodInput } = input;
|
|
13572
13674
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|