@camstack/server 1.2.713 → 1.2.715
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: 195
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -140,6 +140,7 @@ exports.createCapRouter_pipelineRunner = createCapRouter_pipelineRunner;
|
|
|
140
140
|
exports.createCapRouter_plateGallery = createCapRouter_plateGallery;
|
|
141
141
|
exports.createCapRouter_platformProbe = createCapRouter_platformProbe;
|
|
142
142
|
exports.createCapRouter_powerMeter = createCapRouter_powerMeter;
|
|
143
|
+
exports.createCapRouter_powerSource = createCapRouter_powerSource;
|
|
143
144
|
exports.createCapRouter_presence = createCapRouter_presence;
|
|
144
145
|
exports.createCapRouter_pressureSensor = createCapRouter_pressureSensor;
|
|
145
146
|
exports.createCapRouter_privacyMask = createCapRouter_privacyMask;
|
|
@@ -367,6 +368,7 @@ const types_160 = require("@camstack/types");
|
|
|
367
368
|
const types_161 = require("@camstack/types");
|
|
368
369
|
const types_162 = require("@camstack/types");
|
|
369
370
|
const types_163 = require("@camstack/types");
|
|
371
|
+
const types_164 = require("@camstack/types");
|
|
370
372
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
371
373
|
function requireCapProvider(name, getProvider) {
|
|
372
374
|
const p = getProvider();
|
|
@@ -9942,6 +9944,46 @@ function createCapRouter_powerMeter(getProvider, createRemoteProxy) {
|
|
|
9942
9944
|
}),
|
|
9943
9945
|
});
|
|
9944
9946
|
}
|
|
9947
|
+
function createCapRouter_powerSource(getProvider, createRemoteProxy) {
|
|
9948
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9949
|
+
getStatus: trpc_middleware_js_1.adminProcedure
|
|
9950
|
+
.input(types_2.DEVICE_STATUS_METHOD.getStatus.input.loose())
|
|
9951
|
+
.output(types_2.DEVICE_STATUS_METHOD.getStatus.output)
|
|
9952
|
+
.query(async ({ input, ctx }) => {
|
|
9953
|
+
const { nodeId, ...methodInput } = input;
|
|
9954
|
+
const p = resolveProvider('power-source', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9955
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9956
|
+
return p.getStatus(methodInput);
|
|
9957
|
+
}),
|
|
9958
|
+
powerOn: trpc_middleware_js_1.adminProcedure
|
|
9959
|
+
.input(types_113.powerSourceCapability.methods.powerOn.input.loose())
|
|
9960
|
+
.output(types_113.powerSourceCapability.methods.powerOn.output)
|
|
9961
|
+
.mutation(async ({ input, ctx }) => {
|
|
9962
|
+
const { nodeId, ...methodInput } = input;
|
|
9963
|
+
const p = resolveProvider('power-source', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9964
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9965
|
+
return p.powerOn(methodInput);
|
|
9966
|
+
}),
|
|
9967
|
+
powerOff: trpc_middleware_js_1.adminProcedure
|
|
9968
|
+
.input(types_113.powerSourceCapability.methods.powerOff.input.loose())
|
|
9969
|
+
.output(types_113.powerSourceCapability.methods.powerOff.output)
|
|
9970
|
+
.mutation(async ({ input, ctx }) => {
|
|
9971
|
+
const { nodeId, ...methodInput } = input;
|
|
9972
|
+
const p = resolveProvider('power-source', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9973
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9974
|
+
return p.powerOff(methodInput);
|
|
9975
|
+
}),
|
|
9976
|
+
forceRestart: trpc_middleware_js_1.adminProcedure
|
|
9977
|
+
.input(types_113.powerSourceCapability.methods.forceRestart.input.loose())
|
|
9978
|
+
.output(types_113.powerSourceCapability.methods.forceRestart.output)
|
|
9979
|
+
.mutation(async ({ input, ctx }) => {
|
|
9980
|
+
const { nodeId, ...methodInput } = input;
|
|
9981
|
+
const p = resolveProvider('power-source', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9982
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9983
|
+
return p.forceRestart(methodInput);
|
|
9984
|
+
}),
|
|
9985
|
+
});
|
|
9986
|
+
}
|
|
9945
9987
|
function createCapRouter_presence(getProvider, createRemoteProxy) {
|
|
9946
9988
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9947
9989
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -9980,8 +10022,8 @@ function createCapRouter_privacyMask(getProvider, createRemoteProxy) {
|
|
|
9980
10022
|
return p.getStatus(methodInput);
|
|
9981
10023
|
}),
|
|
9982
10024
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
9983
|
-
.input(
|
|
9984
|
-
.output(
|
|
10025
|
+
.input(types_114.privacyMaskCapability.methods.getOptions.input.loose())
|
|
10026
|
+
.output(types_114.privacyMaskCapability.methods.getOptions.output)
|
|
9985
10027
|
.query(async ({ input, ctx }) => {
|
|
9986
10028
|
const { nodeId, ...methodInput } = input;
|
|
9987
10029
|
const p = resolveProvider('privacy-mask', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9989,8 +10031,8 @@ function createCapRouter_privacyMask(getProvider, createRemoteProxy) {
|
|
|
9989
10031
|
return p.getOptions(methodInput);
|
|
9990
10032
|
}),
|
|
9991
10033
|
setMask: trpc_middleware_js_1.adminProcedure
|
|
9992
|
-
.input(
|
|
9993
|
-
.output(
|
|
10034
|
+
.input(types_114.privacyMaskCapability.methods.setMask.input.loose())
|
|
10035
|
+
.output(types_114.privacyMaskCapability.methods.setMask.output)
|
|
9994
10036
|
.mutation(async ({ input, ctx }) => {
|
|
9995
10037
|
const { nodeId, ...methodInput } = input;
|
|
9996
10038
|
const p = resolveProvider('privacy-mask', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9998,8 +10040,8 @@ function createCapRouter_privacyMask(getProvider, createRemoteProxy) {
|
|
|
9998
10040
|
return p.setMask(methodInput);
|
|
9999
10041
|
}),
|
|
10000
10042
|
setAudioEnabled: trpc_middleware_js_1.adminProcedure
|
|
10001
|
-
.input(
|
|
10002
|
-
.output(
|
|
10043
|
+
.input(types_114.privacyMaskCapability.methods.setAudioEnabled.input.loose())
|
|
10044
|
+
.output(types_114.privacyMaskCapability.methods.setAudioEnabled.output)
|
|
10003
10045
|
.mutation(async ({ input, ctx }) => {
|
|
10004
10046
|
const { nodeId, ...methodInput } = input;
|
|
10005
10047
|
const p = resolveProvider('privacy-mask', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10020,8 +10062,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10020
10062
|
return p.getStatus(methodInput);
|
|
10021
10063
|
}),
|
|
10022
10064
|
move: trpc_middleware_js_1.protectedProcedure
|
|
10023
|
-
.input(
|
|
10024
|
-
.output(
|
|
10065
|
+
.input(types_115.ptzCapability.methods.move.input.loose())
|
|
10066
|
+
.output(types_115.ptzCapability.methods.move.output)
|
|
10025
10067
|
.mutation(async ({ input, ctx }) => {
|
|
10026
10068
|
const { nodeId, ...methodInput } = input;
|
|
10027
10069
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10029,8 +10071,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10029
10071
|
return p.move(methodInput);
|
|
10030
10072
|
}),
|
|
10031
10073
|
continuousMove: trpc_middleware_js_1.protectedProcedure
|
|
10032
|
-
.input(
|
|
10033
|
-
.output(
|
|
10074
|
+
.input(types_115.ptzCapability.methods.continuousMove.input.loose())
|
|
10075
|
+
.output(types_115.ptzCapability.methods.continuousMove.output)
|
|
10034
10076
|
.mutation(async ({ input, ctx }) => {
|
|
10035
10077
|
const { nodeId, ...methodInput } = input;
|
|
10036
10078
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10038,8 +10080,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10038
10080
|
return p.continuousMove(methodInput);
|
|
10039
10081
|
}),
|
|
10040
10082
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
10041
|
-
.input(
|
|
10042
|
-
.output(
|
|
10083
|
+
.input(types_115.ptzCapability.methods.stop.input.loose())
|
|
10084
|
+
.output(types_115.ptzCapability.methods.stop.output)
|
|
10043
10085
|
.mutation(async ({ input, ctx }) => {
|
|
10044
10086
|
const { nodeId, ...methodInput } = input;
|
|
10045
10087
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10047,8 +10089,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10047
10089
|
return p.stop(methodInput);
|
|
10048
10090
|
}),
|
|
10049
10091
|
getPresets: trpc_middleware_js_1.protectedProcedure
|
|
10050
|
-
.input(
|
|
10051
|
-
.output(
|
|
10092
|
+
.input(types_115.ptzCapability.methods.getPresets.input.loose())
|
|
10093
|
+
.output(types_115.ptzCapability.methods.getPresets.output)
|
|
10052
10094
|
.query(async ({ input, ctx }) => {
|
|
10053
10095
|
const { nodeId, ...methodInput } = input;
|
|
10054
10096
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10056,8 +10098,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10056
10098
|
return p.getPresets(methodInput);
|
|
10057
10099
|
}),
|
|
10058
10100
|
goToPreset: trpc_middleware_js_1.protectedProcedure
|
|
10059
|
-
.input(
|
|
10060
|
-
.output(
|
|
10101
|
+
.input(types_115.ptzCapability.methods.goToPreset.input.loose())
|
|
10102
|
+
.output(types_115.ptzCapability.methods.goToPreset.output)
|
|
10061
10103
|
.mutation(async ({ input, ctx }) => {
|
|
10062
10104
|
const { nodeId, ...methodInput } = input;
|
|
10063
10105
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10065,8 +10107,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10065
10107
|
return p.goToPreset(methodInput);
|
|
10066
10108
|
}),
|
|
10067
10109
|
savePreset: trpc_middleware_js_1.adminProcedure
|
|
10068
|
-
.input(
|
|
10069
|
-
.output(
|
|
10110
|
+
.input(types_115.ptzCapability.methods.savePreset.input.loose())
|
|
10111
|
+
.output(types_115.ptzCapability.methods.savePreset.output)
|
|
10070
10112
|
.mutation(async ({ input, ctx }) => {
|
|
10071
10113
|
const { nodeId, ...methodInput } = input;
|
|
10072
10114
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10074,8 +10116,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10074
10116
|
return p.savePreset(methodInput);
|
|
10075
10117
|
}),
|
|
10076
10118
|
deletePreset: trpc_middleware_js_1.adminProcedure
|
|
10077
|
-
.input(
|
|
10078
|
-
.output(
|
|
10119
|
+
.input(types_115.ptzCapability.methods.deletePreset.input.loose())
|
|
10120
|
+
.output(types_115.ptzCapability.methods.deletePreset.output)
|
|
10079
10121
|
.mutation(async ({ input, ctx }) => {
|
|
10080
10122
|
const { nodeId, ...methodInput } = input;
|
|
10081
10123
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10083,8 +10125,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10083
10125
|
return p.deletePreset(methodInput);
|
|
10084
10126
|
}),
|
|
10085
10127
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
10086
|
-
.input(
|
|
10087
|
-
.output(
|
|
10128
|
+
.input(types_115.ptzCapability.methods.getOptions.input.loose())
|
|
10129
|
+
.output(types_115.ptzCapability.methods.getOptions.output)
|
|
10088
10130
|
.query(async ({ input, ctx }) => {
|
|
10089
10131
|
const { nodeId, ...methodInput } = input;
|
|
10090
10132
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10092,8 +10134,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10092
10134
|
return p.getOptions(methodInput);
|
|
10093
10135
|
}),
|
|
10094
10136
|
goHome: trpc_middleware_js_1.protectedProcedure
|
|
10095
|
-
.input(
|
|
10096
|
-
.output(
|
|
10137
|
+
.input(types_115.ptzCapability.methods.goHome.input.loose())
|
|
10138
|
+
.output(types_115.ptzCapability.methods.goHome.output)
|
|
10097
10139
|
.mutation(async ({ input, ctx }) => {
|
|
10098
10140
|
const { nodeId, ...methodInput } = input;
|
|
10099
10141
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10101,8 +10143,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10101
10143
|
return p.goHome(methodInput);
|
|
10102
10144
|
}),
|
|
10103
10145
|
getHomePreset: trpc_middleware_js_1.protectedProcedure
|
|
10104
|
-
.input(
|
|
10105
|
-
.output(
|
|
10146
|
+
.input(types_115.ptzCapability.methods.getHomePreset.input.loose())
|
|
10147
|
+
.output(types_115.ptzCapability.methods.getHomePreset.output)
|
|
10106
10148
|
.query(async ({ input, ctx }) => {
|
|
10107
10149
|
const { nodeId, ...methodInput } = input;
|
|
10108
10150
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10110,8 +10152,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10110
10152
|
return p.getHomePreset(methodInput);
|
|
10111
10153
|
}),
|
|
10112
10154
|
setHomePreset: trpc_middleware_js_1.adminProcedure
|
|
10113
|
-
.input(
|
|
10114
|
-
.output(
|
|
10155
|
+
.input(types_115.ptzCapability.methods.setHomePreset.input.loose())
|
|
10156
|
+
.output(types_115.ptzCapability.methods.setHomePreset.output)
|
|
10115
10157
|
.mutation(async ({ input, ctx }) => {
|
|
10116
10158
|
const { nodeId, ...methodInput } = input;
|
|
10117
10159
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10119,8 +10161,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10119
10161
|
return p.setHomePreset(methodInput);
|
|
10120
10162
|
}),
|
|
10121
10163
|
captureHomeHere: trpc_middleware_js_1.adminProcedure
|
|
10122
|
-
.input(
|
|
10123
|
-
.output(
|
|
10164
|
+
.input(types_115.ptzCapability.methods.captureHomeHere.input.loose())
|
|
10165
|
+
.output(types_115.ptzCapability.methods.captureHomeHere.output)
|
|
10124
10166
|
.mutation(async ({ input, ctx }) => {
|
|
10125
10167
|
const { nodeId, ...methodInput } = input;
|
|
10126
10168
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10128,8 +10170,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10128
10170
|
return p.captureHomeHere(methodInput);
|
|
10129
10171
|
}),
|
|
10130
10172
|
getHomeReturn: trpc_middleware_js_1.protectedProcedure
|
|
10131
|
-
.input(
|
|
10132
|
-
.output(
|
|
10173
|
+
.input(types_115.ptzCapability.methods.getHomeReturn.input.loose())
|
|
10174
|
+
.output(types_115.ptzCapability.methods.getHomeReturn.output)
|
|
10133
10175
|
.query(async ({ input, ctx }) => {
|
|
10134
10176
|
const { nodeId, ...methodInput } = input;
|
|
10135
10177
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10137,8 +10179,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10137
10179
|
return p.getHomeReturn(methodInput);
|
|
10138
10180
|
}),
|
|
10139
10181
|
setHomeReturn: trpc_middleware_js_1.adminProcedure
|
|
10140
|
-
.input(
|
|
10141
|
-
.output(
|
|
10182
|
+
.input(types_115.ptzCapability.methods.setHomeReturn.input.loose())
|
|
10183
|
+
.output(types_115.ptzCapability.methods.setHomeReturn.output)
|
|
10142
10184
|
.mutation(async ({ input, ctx }) => {
|
|
10143
10185
|
const { nodeId, ...methodInput } = input;
|
|
10144
10186
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10146,8 +10188,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10146
10188
|
return p.setHomeReturn(methodInput);
|
|
10147
10189
|
}),
|
|
10148
10190
|
getPosition: trpc_middleware_js_1.protectedProcedure
|
|
10149
|
-
.input(
|
|
10150
|
-
.output(
|
|
10191
|
+
.input(types_115.ptzCapability.methods.getPosition.input.loose())
|
|
10192
|
+
.output(types_115.ptzCapability.methods.getPosition.output)
|
|
10151
10193
|
.query(async ({ input, ctx }) => {
|
|
10152
10194
|
const { nodeId, ...methodInput } = input;
|
|
10153
10195
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10155,8 +10197,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10155
10197
|
return p.getPosition(methodInput);
|
|
10156
10198
|
}),
|
|
10157
10199
|
setAutofocus: trpc_middleware_js_1.protectedProcedure
|
|
10158
|
-
.input(
|
|
10159
|
-
.output(
|
|
10200
|
+
.input(types_115.ptzCapability.methods.setAutofocus.input.loose())
|
|
10201
|
+
.output(types_115.ptzCapability.methods.setAutofocus.output)
|
|
10160
10202
|
.mutation(async ({ input, ctx }) => {
|
|
10161
10203
|
const { nodeId, ...methodInput } = input;
|
|
10162
10204
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10177,8 +10219,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
10177
10219
|
return p.getStatus(methodInput);
|
|
10178
10220
|
}),
|
|
10179
10221
|
setEnabled: trpc_middleware_js_1.protectedProcedure
|
|
10180
|
-
.input(
|
|
10181
|
-
.output(
|
|
10222
|
+
.input(types_116.ptzAutotrackCapability.methods.setEnabled.input.loose())
|
|
10223
|
+
.output(types_116.ptzAutotrackCapability.methods.setEnabled.output)
|
|
10182
10224
|
.mutation(async ({ input, ctx }) => {
|
|
10183
10225
|
const { nodeId, ...methodInput } = input;
|
|
10184
10226
|
const p = resolveProvider('ptz-autotrack', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10186,8 +10228,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
10186
10228
|
return p.setEnabled(methodInput);
|
|
10187
10229
|
}),
|
|
10188
10230
|
getSettings: trpc_middleware_js_1.protectedProcedure
|
|
10189
|
-
.input(
|
|
10190
|
-
.output(
|
|
10231
|
+
.input(types_116.ptzAutotrackCapability.methods.getSettings.input.loose())
|
|
10232
|
+
.output(types_116.ptzAutotrackCapability.methods.getSettings.output)
|
|
10191
10233
|
.query(async ({ input, ctx }) => {
|
|
10192
10234
|
const { nodeId, ...methodInput } = input;
|
|
10193
10235
|
const p = resolveProvider('ptz-autotrack', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10195,8 +10237,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
10195
10237
|
return p.getSettings(methodInput);
|
|
10196
10238
|
}),
|
|
10197
10239
|
setSettings: trpc_middleware_js_1.protectedProcedure
|
|
10198
|
-
.input(
|
|
10199
|
-
.output(
|
|
10240
|
+
.input(types_116.ptzAutotrackCapability.methods.setSettings.input.loose())
|
|
10241
|
+
.output(types_116.ptzAutotrackCapability.methods.setSettings.output)
|
|
10200
10242
|
.mutation(async ({ input, ctx }) => {
|
|
10201
10243
|
const { nodeId, ...methodInput } = input;
|
|
10202
10244
|
const p = resolveProvider('ptz-autotrack', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10208,8 +10250,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
10208
10250
|
function createCapRouter_reboot(getProvider, createRemoteProxy) {
|
|
10209
10251
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10210
10252
|
reboot: trpc_middleware_js_1.adminProcedure
|
|
10211
|
-
.input(
|
|
10212
|
-
.output(
|
|
10253
|
+
.input(types_117.rebootCapability.methods.reboot.input.loose())
|
|
10254
|
+
.output(types_117.rebootCapability.methods.reboot.output)
|
|
10213
10255
|
.mutation(async ({ input, ctx }) => {
|
|
10214
10256
|
const { nodeId, ...methodInput } = input;
|
|
10215
10257
|
const p = resolveProvider('reboot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10221,8 +10263,8 @@ function createCapRouter_reboot(getProvider, createRemoteProxy) {
|
|
|
10221
10263
|
function createCapRouter_recordEntries(getProvider, createRemoteProxy) {
|
|
10222
10264
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10223
10265
|
listEntryKinds: trpc_middleware_js_1.adminProcedure
|
|
10224
|
-
.input(
|
|
10225
|
-
.output(
|
|
10266
|
+
.input(types_118.recordEntriesCapability.methods.listEntryKinds.input.loose())
|
|
10267
|
+
.output(types_118.recordEntriesCapability.methods.listEntryKinds.output)
|
|
10226
10268
|
.query(async ({ input, ctx }) => {
|
|
10227
10269
|
const { nodeId, ...methodInput } = input;
|
|
10228
10270
|
const p = resolveProvider('record-entries', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10230,8 +10272,8 @@ function createCapRouter_recordEntries(getProvider, createRemoteProxy) {
|
|
|
10230
10272
|
return p.listEntryKinds(methodInput);
|
|
10231
10273
|
}),
|
|
10232
10274
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
10233
|
-
.input(
|
|
10234
|
-
.output(
|
|
10275
|
+
.input(types_118.recordEntriesCapability.methods.listEntries.input.loose())
|
|
10276
|
+
.output(types_118.recordEntriesCapability.methods.listEntries.output)
|
|
10235
10277
|
.query(async ({ input, ctx }) => {
|
|
10236
10278
|
const { nodeId, ...methodInput } = input;
|
|
10237
10279
|
const p = resolveProvider('record-entries', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10239,8 +10281,8 @@ function createCapRouter_recordEntries(getProvider, createRemoteProxy) {
|
|
|
10239
10281
|
return p.listEntries(methodInput);
|
|
10240
10282
|
}),
|
|
10241
10283
|
putEntry: trpc_middleware_js_1.adminProcedure
|
|
10242
|
-
.input(
|
|
10243
|
-
.output(
|
|
10284
|
+
.input(types_118.recordEntriesCapability.methods.putEntry.input.loose())
|
|
10285
|
+
.output(types_118.recordEntriesCapability.methods.putEntry.output)
|
|
10244
10286
|
.mutation(async ({ input, ctx }) => {
|
|
10245
10287
|
const { nodeId, ...methodInput } = input;
|
|
10246
10288
|
const p = resolveProvider('record-entries', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10248,8 +10290,8 @@ function createCapRouter_recordEntries(getProvider, createRemoteProxy) {
|
|
|
10248
10290
|
return p.putEntry(methodInput);
|
|
10249
10291
|
}),
|
|
10250
10292
|
deleteEntry: trpc_middleware_js_1.adminProcedure
|
|
10251
|
-
.input(
|
|
10252
|
-
.output(
|
|
10293
|
+
.input(types_118.recordEntriesCapability.methods.deleteEntry.input.loose())
|
|
10294
|
+
.output(types_118.recordEntriesCapability.methods.deleteEntry.output)
|
|
10253
10295
|
.mutation(async ({ input, ctx }) => {
|
|
10254
10296
|
const { nodeId, ...methodInput } = input;
|
|
10255
10297
|
const p = resolveProvider('record-entries', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10261,8 +10303,8 @@ function createCapRouter_recordEntries(getProvider, createRemoteProxy) {
|
|
|
10261
10303
|
function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
10262
10304
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10263
10305
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
10264
|
-
.input(
|
|
10265
|
-
.output(
|
|
10306
|
+
.input(types_119.recordingCapability.methods.listSources.input.loose())
|
|
10307
|
+
.output(types_119.recordingCapability.methods.listSources.output)
|
|
10266
10308
|
.query(async ({ input, ctx }) => {
|
|
10267
10309
|
const { nodeId, ...methodInput } = input;
|
|
10268
10310
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10270,8 +10312,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
10270
10312
|
return p.listSources(methodInput);
|
|
10271
10313
|
}),
|
|
10272
10314
|
getAvailability: trpc_middleware_js_1.protectedProcedure
|
|
10273
|
-
.input(
|
|
10274
|
-
.output(
|
|
10315
|
+
.input(types_119.recordingCapability.methods.getAvailability.input.loose())
|
|
10316
|
+
.output(types_119.recordingCapability.methods.getAvailability.output)
|
|
10275
10317
|
.query(async ({ input, ctx }) => {
|
|
10276
10318
|
const { nodeId, ...methodInput } = input;
|
|
10277
10319
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10279,8 +10321,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
10279
10321
|
return p.getAvailability(methodInput);
|
|
10280
10322
|
}),
|
|
10281
10323
|
getDaysWithRecordings: trpc_middleware_js_1.protectedProcedure
|
|
10282
|
-
.input(
|
|
10283
|
-
.output(
|
|
10324
|
+
.input(types_119.recordingCapability.methods.getDaysWithRecordings.input.loose())
|
|
10325
|
+
.output(types_119.recordingCapability.methods.getDaysWithRecordings.output)
|
|
10284
10326
|
.query(async ({ input, ctx }) => {
|
|
10285
10327
|
const { nodeId, ...methodInput } = input;
|
|
10286
10328
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10288,8 +10330,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
10288
10330
|
return p.getDaysWithRecordings(methodInput);
|
|
10289
10331
|
}),
|
|
10290
10332
|
getPlayback: trpc_middleware_js_1.protectedProcedure
|
|
10291
|
-
.input(
|
|
10292
|
-
.output(
|
|
10333
|
+
.input(types_119.recordingCapability.methods.getPlayback.input.loose())
|
|
10334
|
+
.output(types_119.recordingCapability.methods.getPlayback.output)
|
|
10293
10335
|
.query(async ({ input, ctx }) => {
|
|
10294
10336
|
const { nodeId, ...methodInput } = input;
|
|
10295
10337
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10297,8 +10339,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
10297
10339
|
return p.getPlayback(methodInput);
|
|
10298
10340
|
}),
|
|
10299
10341
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
10300
|
-
.input(
|
|
10301
|
-
.output(
|
|
10342
|
+
.input(types_119.recordingCapability.methods.getPlaybackOptions.input.loose())
|
|
10343
|
+
.output(types_119.recordingCapability.methods.getPlaybackOptions.output)
|
|
10302
10344
|
.query(async ({ input, ctx }) => {
|
|
10303
10345
|
const { nodeId, ...methodInput } = input;
|
|
10304
10346
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10346,8 +10388,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10346
10388
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
10347
10389
|
}),
|
|
10348
10390
|
getAvailabilityBatch: trpc_middleware_js_1.protectedProcedure
|
|
10349
|
-
.input(
|
|
10350
|
-
.output(
|
|
10391
|
+
.input(types_120.recordingArchiveCapability.methods.getAvailabilityBatch.input.loose())
|
|
10392
|
+
.output(types_120.recordingArchiveCapability.methods.getAvailabilityBatch.output)
|
|
10351
10393
|
.query(async ({ input, ctx }) => {
|
|
10352
10394
|
const { nodeId, ...methodInput } = input;
|
|
10353
10395
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10355,8 +10397,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10355
10397
|
return p.getAvailabilityBatch(methodInput);
|
|
10356
10398
|
}),
|
|
10357
10399
|
getDaysWithRecordingsBatch: trpc_middleware_js_1.protectedProcedure
|
|
10358
|
-
.input(
|
|
10359
|
-
.output(
|
|
10400
|
+
.input(types_120.recordingArchiveCapability.methods.getDaysWithRecordingsBatch.input.loose())
|
|
10401
|
+
.output(types_120.recordingArchiveCapability.methods.getDaysWithRecordingsBatch.output)
|
|
10360
10402
|
.query(async ({ input, ctx }) => {
|
|
10361
10403
|
const { nodeId, ...methodInput } = input;
|
|
10362
10404
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10364,8 +10406,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10364
10406
|
return p.getDaysWithRecordingsBatch(methodInput);
|
|
10365
10407
|
}),
|
|
10366
10408
|
getStorageUsage: trpc_middleware_js_1.adminProcedure
|
|
10367
|
-
.input(
|
|
10368
|
-
.output(
|
|
10409
|
+
.input(types_120.recordingArchiveCapability.methods.getStorageUsage.input.loose())
|
|
10410
|
+
.output(types_120.recordingArchiveCapability.methods.getStorageUsage.output)
|
|
10369
10411
|
.query(async ({ input, ctx }) => {
|
|
10370
10412
|
const { nodeId, ...methodInput } = input;
|
|
10371
10413
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10373,8 +10415,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10373
10415
|
return p.getStorageUsage(methodInput);
|
|
10374
10416
|
}),
|
|
10375
10417
|
getDeviceConfig: trpc_middleware_js_1.protectedProcedure
|
|
10376
|
-
.input(
|
|
10377
|
-
.output(
|
|
10418
|
+
.input(types_120.recordingArchiveCapability.methods.getDeviceConfig.input.loose())
|
|
10419
|
+
.output(types_120.recordingArchiveCapability.methods.getDeviceConfig.output)
|
|
10378
10420
|
.query(async ({ input, ctx }) => {
|
|
10379
10421
|
const { nodeId, ...methodInput } = input;
|
|
10380
10422
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10382,8 +10424,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10382
10424
|
return p.getDeviceConfig(methodInput);
|
|
10383
10425
|
}),
|
|
10384
10426
|
locateSegment: trpc_middleware_js_1.adminProcedure
|
|
10385
|
-
.input(
|
|
10386
|
-
.output(
|
|
10427
|
+
.input(types_120.recordingArchiveCapability.methods.locateSegment.input.loose())
|
|
10428
|
+
.output(types_120.recordingArchiveCapability.methods.locateSegment.output)
|
|
10387
10429
|
.query(async ({ input, ctx }) => {
|
|
10388
10430
|
const { nodeId, ...methodInput } = input;
|
|
10389
10431
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10391,8 +10433,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10391
10433
|
return p.locateSegment(methodInput);
|
|
10392
10434
|
}),
|
|
10393
10435
|
readSegmentBytes: trpc_middleware_js_1.adminProcedure
|
|
10394
|
-
.input(
|
|
10395
|
-
.output(
|
|
10436
|
+
.input(types_120.recordingArchiveCapability.methods.readSegmentBytes.input.loose())
|
|
10437
|
+
.output(types_120.recordingArchiveCapability.methods.readSegmentBytes.output)
|
|
10396
10438
|
.query(async ({ input, ctx }) => {
|
|
10397
10439
|
const { nodeId, ...methodInput } = input;
|
|
10398
10440
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10400,8 +10442,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10400
10442
|
return p.readSegmentBytes(methodInput);
|
|
10401
10443
|
}),
|
|
10402
10444
|
readGopBytes: trpc_middleware_js_1.adminProcedure
|
|
10403
|
-
.input(
|
|
10404
|
-
.output(
|
|
10445
|
+
.input(types_120.recordingArchiveCapability.methods.readGopBytes.input.loose())
|
|
10446
|
+
.output(types_120.recordingArchiveCapability.methods.readGopBytes.output)
|
|
10405
10447
|
.query(async ({ input, ctx }) => {
|
|
10406
10448
|
const { nodeId, ...methodInput } = input;
|
|
10407
10449
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10409,8 +10451,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10409
10451
|
return p.readGopBytes(methodInput);
|
|
10410
10452
|
}),
|
|
10411
10453
|
readWindowBytes: trpc_middleware_js_1.adminProcedure
|
|
10412
|
-
.input(
|
|
10413
|
-
.output(
|
|
10454
|
+
.input(types_120.recordingArchiveCapability.methods.readWindowBytes.input.loose())
|
|
10455
|
+
.output(types_120.recordingArchiveCapability.methods.readWindowBytes.output)
|
|
10414
10456
|
.query(async ({ input, ctx }) => {
|
|
10415
10457
|
const { nodeId, ...methodInput } = input;
|
|
10416
10458
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10418,8 +10460,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10418
10460
|
return p.readWindowBytes(methodInput);
|
|
10419
10461
|
}),
|
|
10420
10462
|
setDeviceConfig: trpc_middleware_js_1.adminProcedure
|
|
10421
|
-
.input(
|
|
10422
|
-
.output(
|
|
10463
|
+
.input(types_120.recordingArchiveCapability.methods.setDeviceConfig.input.loose())
|
|
10464
|
+
.output(types_120.recordingArchiveCapability.methods.setDeviceConfig.output)
|
|
10423
10465
|
.mutation(async ({ input, ctx }) => {
|
|
10424
10466
|
const { nodeId, ...methodInput } = input;
|
|
10425
10467
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10427,8 +10469,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10427
10469
|
return p.setDeviceConfig(methodInput);
|
|
10428
10470
|
}),
|
|
10429
10471
|
rescanStorage: trpc_middleware_js_1.adminProcedure
|
|
10430
|
-
.input(
|
|
10431
|
-
.output(
|
|
10472
|
+
.input(types_120.recordingArchiveCapability.methods.rescanStorage.input.loose())
|
|
10473
|
+
.output(types_120.recordingArchiveCapability.methods.rescanStorage.output)
|
|
10432
10474
|
.mutation(async ({ input, ctx }) => {
|
|
10433
10475
|
const { nodeId, ...methodInput } = input;
|
|
10434
10476
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10436,8 +10478,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10436
10478
|
return p.rescanStorage(methodInput);
|
|
10437
10479
|
}),
|
|
10438
10480
|
pruneFootage: trpc_middleware_js_1.adminProcedure
|
|
10439
|
-
.input(
|
|
10440
|
-
.output(
|
|
10481
|
+
.input(types_120.recordingArchiveCapability.methods.pruneFootage.input.loose())
|
|
10482
|
+
.output(types_120.recordingArchiveCapability.methods.pruneFootage.output)
|
|
10441
10483
|
.mutation(async ({ input, ctx }) => {
|
|
10442
10484
|
const { nodeId, ...methodInput } = input;
|
|
10443
10485
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10445,8 +10487,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10445
10487
|
return p.pruneFootage(methodInput);
|
|
10446
10488
|
}),
|
|
10447
10489
|
deleteFootprint: trpc_middleware_js_1.adminProcedure
|
|
10448
|
-
.input(
|
|
10449
|
-
.output(
|
|
10490
|
+
.input(types_120.recordingArchiveCapability.methods.deleteFootprint.input.loose())
|
|
10491
|
+
.output(types_120.recordingArchiveCapability.methods.deleteFootprint.output)
|
|
10450
10492
|
.mutation(async ({ input, ctx }) => {
|
|
10451
10493
|
const { nodeId, ...methodInput } = input;
|
|
10452
10494
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10454,8 +10496,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10454
10496
|
return p.deleteFootprint(methodInput);
|
|
10455
10497
|
}),
|
|
10456
10498
|
listOpsLog: trpc_middleware_js_1.adminProcedure
|
|
10457
|
-
.input(
|
|
10458
|
-
.output(
|
|
10499
|
+
.input(types_120.recordingArchiveCapability.methods.listOpsLog.input.loose())
|
|
10500
|
+
.output(types_120.recordingArchiveCapability.methods.listOpsLog.output)
|
|
10459
10501
|
.query(async ({ input, ctx }) => {
|
|
10460
10502
|
const { nodeId, ...methodInput } = input;
|
|
10461
10503
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10463,8 +10505,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10463
10505
|
return p.listOpsLog(methodInput);
|
|
10464
10506
|
}),
|
|
10465
10507
|
renderGif: trpc_middleware_js_1.adminProcedure
|
|
10466
|
-
.input(
|
|
10467
|
-
.output(
|
|
10508
|
+
.input(types_120.recordingArchiveCapability.methods.renderGif.input.loose())
|
|
10509
|
+
.output(types_120.recordingArchiveCapability.methods.renderGif.output)
|
|
10468
10510
|
.mutation(async ({ input, ctx }) => {
|
|
10469
10511
|
const { nodeId, ...methodInput } = input;
|
|
10470
10512
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10472,8 +10514,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10472
10514
|
return p.renderGif(methodInput);
|
|
10473
10515
|
}),
|
|
10474
10516
|
renderClip: trpc_middleware_js_1.adminProcedure
|
|
10475
|
-
.input(
|
|
10476
|
-
.output(
|
|
10517
|
+
.input(types_120.recordingArchiveCapability.methods.renderClip.input.loose())
|
|
10518
|
+
.output(types_120.recordingArchiveCapability.methods.renderClip.output)
|
|
10477
10519
|
.mutation(async ({ input, ctx }) => {
|
|
10478
10520
|
const { nodeId, ...methodInput } = input;
|
|
10479
10521
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10481,8 +10523,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10481
10523
|
return p.renderClip(methodInput);
|
|
10482
10524
|
}),
|
|
10483
10525
|
pauseForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
10484
|
-
.input(
|
|
10485
|
-
.output(
|
|
10526
|
+
.input(types_120.recordingArchiveCapability.methods.pauseForStorageMigration.input.loose())
|
|
10527
|
+
.output(types_120.recordingArchiveCapability.methods.pauseForStorageMigration.output)
|
|
10486
10528
|
.mutation(async ({ input, ctx }) => {
|
|
10487
10529
|
const { nodeId, ...methodInput } = input;
|
|
10488
10530
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10490,8 +10532,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10490
10532
|
return p.pauseForStorageMigration(methodInput);
|
|
10491
10533
|
}),
|
|
10492
10534
|
resumeForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
10493
|
-
.input(
|
|
10494
|
-
.output(
|
|
10535
|
+
.input(types_120.recordingArchiveCapability.methods.resumeForStorageMigration.input.loose())
|
|
10536
|
+
.output(types_120.recordingArchiveCapability.methods.resumeForStorageMigration.output)
|
|
10495
10537
|
.mutation(async ({ input, ctx }) => {
|
|
10496
10538
|
const { nodeId, ...methodInput } = input;
|
|
10497
10539
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10499,8 +10541,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10499
10541
|
return p.resumeForStorageMigration(methodInput);
|
|
10500
10542
|
}),
|
|
10501
10543
|
refreshStorageLocationsForMigration: trpc_middleware_js_1.adminProcedure
|
|
10502
|
-
.input(
|
|
10503
|
-
.output(
|
|
10544
|
+
.input(types_120.recordingArchiveCapability.methods.refreshStorageLocationsForMigration.input.loose())
|
|
10545
|
+
.output(types_120.recordingArchiveCapability.methods.refreshStorageLocationsForMigration.output)
|
|
10504
10546
|
.mutation(async ({ input, ctx }) => {
|
|
10505
10547
|
const { nodeId, ...methodInput } = input;
|
|
10506
10548
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10508,8 +10550,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10508
10550
|
return p.refreshStorageLocationsForMigration(methodInput);
|
|
10509
10551
|
}),
|
|
10510
10552
|
startStorageMigrationMove: trpc_middleware_js_1.adminProcedure
|
|
10511
|
-
.input(
|
|
10512
|
-
.output(
|
|
10553
|
+
.input(types_120.recordingArchiveCapability.methods.startStorageMigrationMove.input.loose())
|
|
10554
|
+
.output(types_120.recordingArchiveCapability.methods.startStorageMigrationMove.output)
|
|
10513
10555
|
.mutation(async ({ input, ctx }) => {
|
|
10514
10556
|
const { nodeId, ...methodInput } = input;
|
|
10515
10557
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10517,8 +10559,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10517
10559
|
return p.startStorageMigrationMove(methodInput);
|
|
10518
10560
|
}),
|
|
10519
10561
|
getStorageMigrationMoveStatus: trpc_middleware_js_1.adminProcedure
|
|
10520
|
-
.input(
|
|
10521
|
-
.output(
|
|
10562
|
+
.input(types_120.recordingArchiveCapability.methods.getStorageMigrationMoveStatus.input.loose())
|
|
10563
|
+
.output(types_120.recordingArchiveCapability.methods.getStorageMigrationMoveStatus.output)
|
|
10522
10564
|
.query(async ({ input, ctx }) => {
|
|
10523
10565
|
const { nodeId, ...methodInput } = input;
|
|
10524
10566
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10526,8 +10568,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10526
10568
|
return p.getStorageMigrationMoveStatus(methodInput);
|
|
10527
10569
|
}),
|
|
10528
10570
|
cancelStorageMigrationMove: trpc_middleware_js_1.adminProcedure
|
|
10529
|
-
.input(
|
|
10530
|
-
.output(
|
|
10571
|
+
.input(types_120.recordingArchiveCapability.methods.cancelStorageMigrationMove.input.loose())
|
|
10572
|
+
.output(types_120.recordingArchiveCapability.methods.cancelStorageMigrationMove.output)
|
|
10531
10573
|
.mutation(async ({ input, ctx }) => {
|
|
10532
10574
|
const { nodeId, ...methodInput } = input;
|
|
10533
10575
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10535,8 +10577,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10535
10577
|
return p.cancelStorageMigrationMove(methodInput);
|
|
10536
10578
|
}),
|
|
10537
10579
|
relocateFootage: trpc_middleware_js_1.adminProcedure
|
|
10538
|
-
.input(
|
|
10539
|
-
.output(
|
|
10580
|
+
.input(types_120.recordingArchiveCapability.methods.relocateFootage.input.loose())
|
|
10581
|
+
.output(types_120.recordingArchiveCapability.methods.relocateFootage.output)
|
|
10540
10582
|
.mutation(async ({ input, ctx }) => {
|
|
10541
10583
|
const { nodeId, ...methodInput } = input;
|
|
10542
10584
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10544,8 +10586,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10544
10586
|
return p.relocateFootage(methodInput);
|
|
10545
10587
|
}),
|
|
10546
10588
|
listRelocateJobs: trpc_middleware_js_1.adminProcedure
|
|
10547
|
-
.input(
|
|
10548
|
-
.output(
|
|
10589
|
+
.input(types_120.recordingArchiveCapability.methods.listRelocateJobs.input.loose())
|
|
10590
|
+
.output(types_120.recordingArchiveCapability.methods.listRelocateJobs.output)
|
|
10549
10591
|
.query(async ({ input, ctx }) => {
|
|
10550
10592
|
const { nodeId, ...methodInput } = input;
|
|
10551
10593
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10553,8 +10595,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10553
10595
|
return p.listRelocateJobs(methodInput);
|
|
10554
10596
|
}),
|
|
10555
10597
|
getRelocateResidue: trpc_middleware_js_1.adminProcedure
|
|
10556
|
-
.input(
|
|
10557
|
-
.output(
|
|
10598
|
+
.input(types_120.recordingArchiveCapability.methods.getRelocateResidue.input.loose())
|
|
10599
|
+
.output(types_120.recordingArchiveCapability.methods.getRelocateResidue.output)
|
|
10558
10600
|
.query(async ({ input, ctx }) => {
|
|
10559
10601
|
const { nodeId, ...methodInput } = input;
|
|
10560
10602
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10562,8 +10604,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10562
10604
|
return p.getRelocateResidue(methodInput);
|
|
10563
10605
|
}),
|
|
10564
10606
|
reconcileLedgerAgainstDisk: trpc_middleware_js_1.adminProcedure
|
|
10565
|
-
.input(
|
|
10566
|
-
.output(
|
|
10607
|
+
.input(types_120.recordingArchiveCapability.methods.reconcileLedgerAgainstDisk.input.loose())
|
|
10608
|
+
.output(types_120.recordingArchiveCapability.methods.reconcileLedgerAgainstDisk.output)
|
|
10567
10609
|
.mutation(async ({ input, ctx }) => {
|
|
10568
10610
|
const { nodeId, ...methodInput } = input;
|
|
10569
10611
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10571,8 +10613,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10571
10613
|
return p.reconcileLedgerAgainstDisk(methodInput);
|
|
10572
10614
|
}),
|
|
10573
10615
|
cancelRelocateJob: trpc_middleware_js_1.adminProcedure
|
|
10574
|
-
.input(
|
|
10575
|
-
.output(
|
|
10616
|
+
.input(types_120.recordingArchiveCapability.methods.cancelRelocateJob.input.loose())
|
|
10617
|
+
.output(types_120.recordingArchiveCapability.methods.cancelRelocateJob.output)
|
|
10576
10618
|
.mutation(async ({ input, ctx }) => {
|
|
10577
10619
|
const { nodeId, ...methodInput } = input;
|
|
10578
10620
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10580,8 +10622,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10580
10622
|
return p.cancelRelocateJob(methodInput);
|
|
10581
10623
|
}),
|
|
10582
10624
|
planStorageRebalance: trpc_middleware_js_1.adminProcedure
|
|
10583
|
-
.input(
|
|
10584
|
-
.output(
|
|
10625
|
+
.input(types_120.recordingArchiveCapability.methods.planStorageRebalance.input.loose())
|
|
10626
|
+
.output(types_120.recordingArchiveCapability.methods.planStorageRebalance.output)
|
|
10585
10627
|
.query(async ({ input, ctx }) => {
|
|
10586
10628
|
const { nodeId, ...methodInput } = input;
|
|
10587
10629
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10589,8 +10631,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10589
10631
|
return p.planStorageRebalance(methodInput);
|
|
10590
10632
|
}),
|
|
10591
10633
|
startStorageRebalance: trpc_middleware_js_1.adminProcedure
|
|
10592
|
-
.input(
|
|
10593
|
-
.output(
|
|
10634
|
+
.input(types_120.recordingArchiveCapability.methods.startStorageRebalance.input.loose())
|
|
10635
|
+
.output(types_120.recordingArchiveCapability.methods.startStorageRebalance.output)
|
|
10594
10636
|
.mutation(async ({ input, ctx }) => {
|
|
10595
10637
|
const { nodeId, ...methodInput } = input;
|
|
10596
10638
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10598,8 +10640,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10598
10640
|
return p.startStorageRebalance(methodInput);
|
|
10599
10641
|
}),
|
|
10600
10642
|
getPlacement: trpc_middleware_js_1.adminProcedure
|
|
10601
|
-
.input(
|
|
10602
|
-
.output(
|
|
10643
|
+
.input(types_120.recordingArchiveCapability.methods.getPlacement.input.loose())
|
|
10644
|
+
.output(types_120.recordingArchiveCapability.methods.getPlacement.output)
|
|
10603
10645
|
.query(async ({ input, ctx }) => {
|
|
10604
10646
|
const { nodeId, ...methodInput } = input;
|
|
10605
10647
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10607,8 +10649,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10607
10649
|
return p.getPlacement(methodInput);
|
|
10608
10650
|
}),
|
|
10609
10651
|
setDevicePlacement: trpc_middleware_js_1.adminProcedure
|
|
10610
|
-
.input(
|
|
10611
|
-
.output(
|
|
10652
|
+
.input(types_120.recordingArchiveCapability.methods.setDevicePlacement.input.loose())
|
|
10653
|
+
.output(types_120.recordingArchiveCapability.methods.setDevicePlacement.output)
|
|
10612
10654
|
.mutation(async ({ input, ctx }) => {
|
|
10613
10655
|
const { nodeId, ...methodInput } = input;
|
|
10614
10656
|
const p = resolveProvider('recording-archive', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10620,8 +10662,8 @@ function createCapRouter_recordingArchive(getProvider, createRemoteProxy) {
|
|
|
10620
10662
|
function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
10621
10663
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10622
10664
|
createExport: trpc_middleware_js_1.protectedProcedure
|
|
10623
|
-
.input(
|
|
10624
|
-
.output(
|
|
10665
|
+
.input(types_121.recordingExportCapability.methods.createExport.input.loose())
|
|
10666
|
+
.output(types_121.recordingExportCapability.methods.createExport.output)
|
|
10625
10667
|
.mutation(async ({ input, ctx }) => {
|
|
10626
10668
|
const { nodeId, ...methodInput } = input;
|
|
10627
10669
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10629,8 +10671,8 @@ function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
|
10629
10671
|
return p.createExport(methodInput);
|
|
10630
10672
|
}),
|
|
10631
10673
|
listExports: trpc_middleware_js_1.protectedProcedure
|
|
10632
|
-
.input(
|
|
10633
|
-
.output(
|
|
10674
|
+
.input(types_121.recordingExportCapability.methods.listExports.input.loose())
|
|
10675
|
+
.output(types_121.recordingExportCapability.methods.listExports.output)
|
|
10634
10676
|
.query(async ({ input, ctx }) => {
|
|
10635
10677
|
const { nodeId, ...methodInput } = input;
|
|
10636
10678
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10638,8 +10680,8 @@ function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
|
10638
10680
|
return p.listExports(methodInput);
|
|
10639
10681
|
}),
|
|
10640
10682
|
getExport: trpc_middleware_js_1.protectedProcedure
|
|
10641
|
-
.input(
|
|
10642
|
-
.output(
|
|
10683
|
+
.input(types_121.recordingExportCapability.methods.getExport.input.loose())
|
|
10684
|
+
.output(types_121.recordingExportCapability.methods.getExport.output)
|
|
10643
10685
|
.query(async ({ input, ctx }) => {
|
|
10644
10686
|
const { nodeId, ...methodInput } = input;
|
|
10645
10687
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10647,8 +10689,8 @@ function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
|
10647
10689
|
return p.getExport(methodInput);
|
|
10648
10690
|
}),
|
|
10649
10691
|
cancelExport: trpc_middleware_js_1.protectedProcedure
|
|
10650
|
-
.input(
|
|
10651
|
-
.output(
|
|
10692
|
+
.input(types_121.recordingExportCapability.methods.cancelExport.input.loose())
|
|
10693
|
+
.output(types_121.recordingExportCapability.methods.cancelExport.output)
|
|
10652
10694
|
.mutation(async ({ input, ctx }) => {
|
|
10653
10695
|
const { nodeId, ...methodInput } = input;
|
|
10654
10696
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10656,8 +10698,8 @@ function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
|
10656
10698
|
return p.cancelExport(methodInput);
|
|
10657
10699
|
}),
|
|
10658
10700
|
deleteExport: trpc_middleware_js_1.protectedProcedure
|
|
10659
|
-
.input(
|
|
10660
|
-
.output(
|
|
10701
|
+
.input(types_121.recordingExportCapability.methods.deleteExport.input.loose())
|
|
10702
|
+
.output(types_121.recordingExportCapability.methods.deleteExport.output)
|
|
10661
10703
|
.mutation(async ({ input, ctx }) => {
|
|
10662
10704
|
const { nodeId, ...methodInput } = input;
|
|
10663
10705
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10665,8 +10707,8 @@ function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
|
10665
10707
|
return p.deleteExport(methodInput);
|
|
10666
10708
|
}),
|
|
10667
10709
|
getDownloadUrl: trpc_middleware_js_1.protectedProcedure
|
|
10668
|
-
.input(
|
|
10669
|
-
.output(
|
|
10710
|
+
.input(types_121.recordingExportCapability.methods.getDownloadUrl.input.loose())
|
|
10711
|
+
.output(types_121.recordingExportCapability.methods.getDownloadUrl.output)
|
|
10670
10712
|
.query(async ({ input, ctx }) => {
|
|
10671
10713
|
const { nodeId, ...methodInput } = input;
|
|
10672
10714
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10674,8 +10716,8 @@ function createCapRouter_recordingExport(getProvider, createRemoteProxy) {
|
|
|
10674
10716
|
return p.getDownloadUrl(methodInput);
|
|
10675
10717
|
}),
|
|
10676
10718
|
readExportBytes: trpc_middleware_js_1.protectedProcedure
|
|
10677
|
-
.input(
|
|
10678
|
-
.output(
|
|
10719
|
+
.input(types_121.recordingExportCapability.methods.readExportBytes.input.loose())
|
|
10720
|
+
.output(types_121.recordingExportCapability.methods.readExportBytes.output)
|
|
10679
10721
|
.query(async ({ input, ctx }) => {
|
|
10680
10722
|
const { nodeId, ...methodInput } = input;
|
|
10681
10723
|
const p = resolveProvider('recording-export', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10696,8 +10738,8 @@ function createCapRouter_recordingOnboard(getProvider, createRemoteProxy) {
|
|
|
10696
10738
|
return p.getStatus(methodInput);
|
|
10697
10739
|
}),
|
|
10698
10740
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
10699
|
-
.input(
|
|
10700
|
-
.output(
|
|
10741
|
+
.input(types_122.recordingOnboardCapability.methods.getOptions.input.loose())
|
|
10742
|
+
.output(types_122.recordingOnboardCapability.methods.getOptions.output)
|
|
10701
10743
|
.query(async ({ input, ctx }) => {
|
|
10702
10744
|
const { nodeId, ...methodInput } = input;
|
|
10703
10745
|
const p = resolveProvider('recording-onboard', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10705,8 +10747,8 @@ function createCapRouter_recordingOnboard(getProvider, createRemoteProxy) {
|
|
|
10705
10747
|
return p.getOptions(methodInput);
|
|
10706
10748
|
}),
|
|
10707
10749
|
setSettings: trpc_middleware_js_1.adminProcedure
|
|
10708
|
-
.input(
|
|
10709
|
-
.output(
|
|
10750
|
+
.input(types_122.recordingOnboardCapability.methods.setSettings.input.loose())
|
|
10751
|
+
.output(types_122.recordingOnboardCapability.methods.setSettings.output)
|
|
10710
10752
|
.mutation(async ({ input, ctx }) => {
|
|
10711
10753
|
const { nodeId, ...methodInput } = input;
|
|
10712
10754
|
const p = resolveProvider('recording-onboard', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10731,8 +10773,8 @@ function createCapRouter_recordingSignal(getProvider, createRemoteProxy) {
|
|
|
10731
10773
|
function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
10732
10774
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10733
10775
|
declareKinds: trpc_middleware_js_1.adminProcedure
|
|
10734
|
-
.input(
|
|
10735
|
-
.output(
|
|
10776
|
+
.input(types_123.recordsCapability.methods.declareKinds.input.loose())
|
|
10777
|
+
.output(types_123.recordsCapability.methods.declareKinds.output)
|
|
10736
10778
|
.mutation(async ({ input, ctx }) => {
|
|
10737
10779
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10738
10780
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10741,8 +10783,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10741
10783
|
return p.declareKinds(methodInput);
|
|
10742
10784
|
}),
|
|
10743
10785
|
get: trpc_middleware_js_1.adminProcedure
|
|
10744
|
-
.input(
|
|
10745
|
-
.output(
|
|
10786
|
+
.input(types_123.recordsCapability.methods.get.input.loose())
|
|
10787
|
+
.output(types_123.recordsCapability.methods.get.output)
|
|
10746
10788
|
.query(async ({ input, ctx }) => {
|
|
10747
10789
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10748
10790
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10751,8 +10793,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10751
10793
|
return p.get(methodInput);
|
|
10752
10794
|
}),
|
|
10753
10795
|
getMany: trpc_middleware_js_1.adminProcedure
|
|
10754
|
-
.input(
|
|
10755
|
-
.output(
|
|
10796
|
+
.input(types_123.recordsCapability.methods.getMany.input.loose())
|
|
10797
|
+
.output(types_123.recordsCapability.methods.getMany.output)
|
|
10756
10798
|
.query(async ({ input, ctx }) => {
|
|
10757
10799
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10758
10800
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10761,8 +10803,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10761
10803
|
return p.getMany(methodInput);
|
|
10762
10804
|
}),
|
|
10763
10805
|
secretRefs: trpc_middleware_js_1.adminProcedure
|
|
10764
|
-
.input(
|
|
10765
|
-
.output(
|
|
10806
|
+
.input(types_123.recordsCapability.methods.secretRefs.input.loose())
|
|
10807
|
+
.output(types_123.recordsCapability.methods.secretRefs.output)
|
|
10766
10808
|
.query(async ({ input, ctx }) => {
|
|
10767
10809
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10768
10810
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10771,8 +10813,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10771
10813
|
return p.secretRefs(methodInput);
|
|
10772
10814
|
}),
|
|
10773
10815
|
put: trpc_middleware_js_1.adminProcedure
|
|
10774
|
-
.input(
|
|
10775
|
-
.output(
|
|
10816
|
+
.input(types_123.recordsCapability.methods.put.input.loose())
|
|
10817
|
+
.output(types_123.recordsCapability.methods.put.output)
|
|
10776
10818
|
.mutation(async ({ input, ctx }) => {
|
|
10777
10819
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10778
10820
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10781,8 +10823,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10781
10823
|
return p.put(methodInput);
|
|
10782
10824
|
}),
|
|
10783
10825
|
putMany: trpc_middleware_js_1.adminProcedure
|
|
10784
|
-
.input(
|
|
10785
|
-
.output(
|
|
10826
|
+
.input(types_123.recordsCapability.methods.putMany.input.loose())
|
|
10827
|
+
.output(types_123.recordsCapability.methods.putMany.output)
|
|
10786
10828
|
.mutation(async ({ input, ctx }) => {
|
|
10787
10829
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10788
10830
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10791,8 +10833,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10791
10833
|
return p.putMany(methodInput);
|
|
10792
10834
|
}),
|
|
10793
10835
|
patch: trpc_middleware_js_1.adminProcedure
|
|
10794
|
-
.input(
|
|
10795
|
-
.output(
|
|
10836
|
+
.input(types_123.recordsCapability.methods.patch.input.loose())
|
|
10837
|
+
.output(types_123.recordsCapability.methods.patch.output)
|
|
10796
10838
|
.mutation(async ({ input, ctx }) => {
|
|
10797
10839
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10798
10840
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10801,8 +10843,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10801
10843
|
return p.patch(methodInput);
|
|
10802
10844
|
}),
|
|
10803
10845
|
delete: trpc_middleware_js_1.adminProcedure
|
|
10804
|
-
.input(
|
|
10805
|
-
.output(
|
|
10846
|
+
.input(types_123.recordsCapability.methods.delete.input.loose())
|
|
10847
|
+
.output(types_123.recordsCapability.methods.delete.output)
|
|
10806
10848
|
.mutation(async ({ input, ctx }) => {
|
|
10807
10849
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10808
10850
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10811,8 +10853,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10811
10853
|
return p.delete(methodInput);
|
|
10812
10854
|
}),
|
|
10813
10855
|
deleteMany: trpc_middleware_js_1.adminProcedure
|
|
10814
|
-
.input(
|
|
10815
|
-
.output(
|
|
10856
|
+
.input(types_123.recordsCapability.methods.deleteMany.input.loose())
|
|
10857
|
+
.output(types_123.recordsCapability.methods.deleteMany.output)
|
|
10816
10858
|
.mutation(async ({ input, ctx }) => {
|
|
10817
10859
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10818
10860
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10821,8 +10863,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10821
10863
|
return p.deleteMany(methodInput);
|
|
10822
10864
|
}),
|
|
10823
10865
|
query: trpc_middleware_js_1.adminProcedure
|
|
10824
|
-
.input(
|
|
10825
|
-
.output(
|
|
10866
|
+
.input(types_123.recordsCapability.methods.query.input.loose())
|
|
10867
|
+
.output(types_123.recordsCapability.methods.query.output)
|
|
10826
10868
|
.query(async ({ input, ctx }) => {
|
|
10827
10869
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10828
10870
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10831,8 +10873,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10831
10873
|
return p.query(methodInput);
|
|
10832
10874
|
}),
|
|
10833
10875
|
count: trpc_middleware_js_1.adminProcedure
|
|
10834
|
-
.input(
|
|
10835
|
-
.output(
|
|
10876
|
+
.input(types_123.recordsCapability.methods.count.input.loose())
|
|
10877
|
+
.output(types_123.recordsCapability.methods.count.output)
|
|
10836
10878
|
.query(async ({ input, ctx }) => {
|
|
10837
10879
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10838
10880
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10841,8 +10883,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10841
10883
|
return p.count(methodInput);
|
|
10842
10884
|
}),
|
|
10843
10885
|
histogram: trpc_middleware_js_1.adminProcedure
|
|
10844
|
-
.input(
|
|
10845
|
-
.output(
|
|
10886
|
+
.input(types_123.recordsCapability.methods.histogram.input.loose())
|
|
10887
|
+
.output(types_123.recordsCapability.methods.histogram.output)
|
|
10846
10888
|
.query(async ({ input, ctx }) => {
|
|
10847
10889
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10848
10890
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10851,8 +10893,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10851
10893
|
return p.histogram(methodInput);
|
|
10852
10894
|
}),
|
|
10853
10895
|
aggregate: trpc_middleware_js_1.adminProcedure
|
|
10854
|
-
.input(
|
|
10855
|
-
.output(
|
|
10896
|
+
.input(types_123.recordsCapability.methods.aggregate.input.loose())
|
|
10897
|
+
.output(types_123.recordsCapability.methods.aggregate.output)
|
|
10856
10898
|
.query(async ({ input, ctx }) => {
|
|
10857
10899
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10858
10900
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10861,8 +10903,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10861
10903
|
return p.aggregate(methodInput);
|
|
10862
10904
|
}),
|
|
10863
10905
|
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
10864
|
-
.input(
|
|
10865
|
-
.output(
|
|
10906
|
+
.input(types_123.recordsCapability.methods.deleteWhere.input.loose())
|
|
10907
|
+
.output(types_123.recordsCapability.methods.deleteWhere.output)
|
|
10866
10908
|
.mutation(async ({ input, ctx }) => {
|
|
10867
10909
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10868
10910
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10871,8 +10913,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10871
10913
|
return p.deleteWhere(methodInput);
|
|
10872
10914
|
}),
|
|
10873
10915
|
transact: trpc_middleware_js_1.adminProcedure
|
|
10874
|
-
.input(
|
|
10875
|
-
.output(
|
|
10916
|
+
.input(types_123.recordsCapability.methods.transact.input.loose())
|
|
10917
|
+
.output(types_123.recordsCapability.methods.transact.output)
|
|
10876
10918
|
.mutation(async ({ input, ctx }) => {
|
|
10877
10919
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10878
10920
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10881,8 +10923,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10881
10923
|
return p.transact(methodInput);
|
|
10882
10924
|
}),
|
|
10883
10925
|
deleteDevice: trpc_middleware_js_1.adminProcedure
|
|
10884
|
-
.input(
|
|
10885
|
-
.output(
|
|
10926
|
+
.input(types_123.recordsCapability.methods.deleteDevice.input.loose())
|
|
10927
|
+
.output(types_123.recordsCapability.methods.deleteDevice.output)
|
|
10886
10928
|
.mutation(async ({ input, ctx }) => {
|
|
10887
10929
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10888
10930
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10891,8 +10933,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10891
10933
|
return p.deleteDevice(methodInput);
|
|
10892
10934
|
}),
|
|
10893
10935
|
allocateId: trpc_middleware_js_1.adminProcedure
|
|
10894
|
-
.input(
|
|
10895
|
-
.output(
|
|
10936
|
+
.input(types_123.recordsCapability.methods.allocateId.input.loose())
|
|
10937
|
+
.output(types_123.recordsCapability.methods.allocateId.output)
|
|
10896
10938
|
.mutation(async ({ input, ctx }) => {
|
|
10897
10939
|
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
10898
10940
|
const { nodeId, ...methodInput } = parsedInput;
|
|
@@ -10905,8 +10947,8 @@ function createCapRouter_records(getProvider, createRemoteProxy) {
|
|
|
10905
10947
|
function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
10906
10948
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10907
10949
|
getConfig: trpc_middleware_js_1.adminProcedure
|
|
10908
|
-
.input(
|
|
10909
|
-
.output(
|
|
10950
|
+
.input(types_124.remoteCapability.methods.getConfig.input.loose())
|
|
10951
|
+
.output(types_124.remoteCapability.methods.getConfig.output)
|
|
10910
10952
|
.query(async ({ input, ctx }) => {
|
|
10911
10953
|
const { nodeId, ...methodInput } = input;
|
|
10912
10954
|
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10914,8 +10956,8 @@ function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
|
10914
10956
|
return p.getConfig(methodInput);
|
|
10915
10957
|
}),
|
|
10916
10958
|
setConfig: trpc_middleware_js_1.adminProcedure
|
|
10917
|
-
.input(
|
|
10918
|
-
.output(
|
|
10959
|
+
.input(types_124.remoteCapability.methods.setConfig.input.loose())
|
|
10960
|
+
.output(types_124.remoteCapability.methods.setConfig.output)
|
|
10919
10961
|
.mutation(async ({ input, ctx }) => {
|
|
10920
10962
|
const { nodeId, ...methodInput } = input;
|
|
10921
10963
|
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10923,8 +10965,8 @@ function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
|
10923
10965
|
return p.setConfig(methodInput);
|
|
10924
10966
|
}),
|
|
10925
10967
|
listCommands: trpc_middleware_js_1.protectedProcedure
|
|
10926
|
-
.input(
|
|
10927
|
-
.output(
|
|
10968
|
+
.input(types_124.remoteCapability.methods.listCommands.input.loose())
|
|
10969
|
+
.output(types_124.remoteCapability.methods.listCommands.output)
|
|
10928
10970
|
.query(async ({ input, ctx }) => {
|
|
10929
10971
|
const { nodeId, ...methodInput } = input;
|
|
10930
10972
|
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10932,8 +10974,8 @@ function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
|
10932
10974
|
return p.listCommands(methodInput);
|
|
10933
10975
|
}),
|
|
10934
10976
|
sendCommand: trpc_middleware_js_1.protectedProcedure
|
|
10935
|
-
.input(
|
|
10936
|
-
.output(
|
|
10977
|
+
.input(types_124.remoteCapability.methods.sendCommand.input.loose())
|
|
10978
|
+
.output(types_124.remoteCapability.methods.sendCommand.output)
|
|
10937
10979
|
.mutation(async ({ input, ctx }) => {
|
|
10938
10980
|
const { nodeId, ...methodInput } = input;
|
|
10939
10981
|
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10941,8 +10983,8 @@ function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
|
10941
10983
|
return p.sendCommand(methodInput);
|
|
10942
10984
|
}),
|
|
10943
10985
|
sendMediaCommand: trpc_middleware_js_1.protectedProcedure
|
|
10944
|
-
.input(
|
|
10945
|
-
.output(
|
|
10986
|
+
.input(types_124.remoteCapability.methods.sendMediaCommand.input.loose())
|
|
10987
|
+
.output(types_124.remoteCapability.methods.sendMediaCommand.output)
|
|
10946
10988
|
.mutation(async ({ input, ctx }) => {
|
|
10947
10989
|
const { nodeId, ...methodInput } = input;
|
|
10948
10990
|
const p = resolveProvider('remote', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10954,8 +10996,8 @@ function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
|
10954
10996
|
function createCapRouter_remoteLayoutComponents(getProvider, createRemoteProxy) {
|
|
10955
10997
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10956
10998
|
listComponents: trpc_middleware_js_1.protectedProcedure
|
|
10957
|
-
.input(
|
|
10958
|
-
.output(
|
|
10999
|
+
.input(types_125.remoteLayoutComponentsCapability.methods.listComponents.input.loose())
|
|
11000
|
+
.output(types_125.remoteLayoutComponentsCapability.methods.listComponents.output)
|
|
10959
11001
|
.query(async ({ input, ctx }) => {
|
|
10960
11002
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10961
11003
|
const p = resolveProvider('remote-layout-components', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10989,8 +11031,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10989
11031
|
return p.getStatus(methodInput);
|
|
10990
11032
|
}),
|
|
10991
11033
|
listScenes: trpc_middleware_js_1.protectedProcedure
|
|
10992
|
-
.input(
|
|
10993
|
-
.output(
|
|
11034
|
+
.input(types_126.sceneMonitorCapability.methods.listScenes.input.loose())
|
|
11035
|
+
.output(types_126.sceneMonitorCapability.methods.listScenes.output)
|
|
10994
11036
|
.query(async ({ input, ctx }) => {
|
|
10995
11037
|
const { nodeId, ...methodInput } = input;
|
|
10996
11038
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10998,8 +11040,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10998
11040
|
return p.listScenes(methodInput);
|
|
10999
11041
|
}),
|
|
11000
11042
|
listScenesBatch: trpc_middleware_js_1.protectedProcedure
|
|
11001
|
-
.input(
|
|
11002
|
-
.output(
|
|
11043
|
+
.input(types_126.sceneMonitorCapability.methods.listScenesBatch.input.loose())
|
|
11044
|
+
.output(types_126.sceneMonitorCapability.methods.listScenesBatch.output)
|
|
11003
11045
|
.query(async ({ input, ctx }) => {
|
|
11004
11046
|
const { nodeId, ...methodInput } = input;
|
|
11005
11047
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11007,8 +11049,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11007
11049
|
return p.listScenesBatch(methodInput);
|
|
11008
11050
|
}),
|
|
11009
11051
|
createScene: trpc_middleware_js_1.adminProcedure
|
|
11010
|
-
.input(
|
|
11011
|
-
.output(
|
|
11052
|
+
.input(types_126.sceneMonitorCapability.methods.createScene.input.loose())
|
|
11053
|
+
.output(types_126.sceneMonitorCapability.methods.createScene.output)
|
|
11012
11054
|
.mutation(async ({ input, ctx }) => {
|
|
11013
11055
|
const { nodeId, ...methodInput } = input;
|
|
11014
11056
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11016,8 +11058,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11016
11058
|
return p.createScene(methodInput);
|
|
11017
11059
|
}),
|
|
11018
11060
|
updateScene: trpc_middleware_js_1.adminProcedure
|
|
11019
|
-
.input(
|
|
11020
|
-
.output(
|
|
11061
|
+
.input(types_126.sceneMonitorCapability.methods.updateScene.input.loose())
|
|
11062
|
+
.output(types_126.sceneMonitorCapability.methods.updateScene.output)
|
|
11021
11063
|
.mutation(async ({ input, ctx }) => {
|
|
11022
11064
|
const { nodeId, ...methodInput } = input;
|
|
11023
11065
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11025,8 +11067,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11025
11067
|
return p.updateScene(methodInput);
|
|
11026
11068
|
}),
|
|
11027
11069
|
deleteScene: trpc_middleware_js_1.adminProcedure
|
|
11028
|
-
.input(
|
|
11029
|
-
.output(
|
|
11070
|
+
.input(types_126.sceneMonitorCapability.methods.deleteScene.input.loose())
|
|
11071
|
+
.output(types_126.sceneMonitorCapability.methods.deleteScene.output)
|
|
11030
11072
|
.mutation(async ({ input, ctx }) => {
|
|
11031
11073
|
const { nodeId, ...methodInput } = input;
|
|
11032
11074
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11034,8 +11076,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11034
11076
|
return p.deleteScene(methodInput);
|
|
11035
11077
|
}),
|
|
11036
11078
|
captureReference: trpc_middleware_js_1.adminProcedure
|
|
11037
|
-
.input(
|
|
11038
|
-
.output(
|
|
11079
|
+
.input(types_126.sceneMonitorCapability.methods.captureReference.input.loose())
|
|
11080
|
+
.output(types_126.sceneMonitorCapability.methods.captureReference.output)
|
|
11039
11081
|
.mutation(async ({ input, ctx }) => {
|
|
11040
11082
|
const { nodeId, ...methodInput } = input;
|
|
11041
11083
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11043,8 +11085,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11043
11085
|
return p.captureReference(methodInput);
|
|
11044
11086
|
}),
|
|
11045
11087
|
deleteReference: trpc_middleware_js_1.adminProcedure
|
|
11046
|
-
.input(
|
|
11047
|
-
.output(
|
|
11088
|
+
.input(types_126.sceneMonitorCapability.methods.deleteReference.input.loose())
|
|
11089
|
+
.output(types_126.sceneMonitorCapability.methods.deleteReference.output)
|
|
11048
11090
|
.mutation(async ({ input, ctx }) => {
|
|
11049
11091
|
const { nodeId, ...methodInput } = input;
|
|
11050
11092
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11052,8 +11094,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11052
11094
|
return p.deleteReference(methodInput);
|
|
11053
11095
|
}),
|
|
11054
11096
|
recheckNow: trpc_middleware_js_1.adminProcedure
|
|
11055
|
-
.input(
|
|
11056
|
-
.output(
|
|
11097
|
+
.input(types_126.sceneMonitorCapability.methods.recheckNow.input.loose())
|
|
11098
|
+
.output(types_126.sceneMonitorCapability.methods.recheckNow.output)
|
|
11057
11099
|
.mutation(async ({ input, ctx }) => {
|
|
11058
11100
|
const { nodeId, ...methodInput } = input;
|
|
11059
11101
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11061,8 +11103,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11061
11103
|
return p.recheckNow(methodInput);
|
|
11062
11104
|
}),
|
|
11063
11105
|
resetScene: trpc_middleware_js_1.adminProcedure
|
|
11064
|
-
.input(
|
|
11065
|
-
.output(
|
|
11106
|
+
.input(types_126.sceneMonitorCapability.methods.resetScene.input.loose())
|
|
11107
|
+
.output(types_126.sceneMonitorCapability.methods.resetScene.output)
|
|
11066
11108
|
.mutation(async ({ input, ctx }) => {
|
|
11067
11109
|
const { nodeId, ...methodInput } = input;
|
|
11068
11110
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11074,8 +11116,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11074
11116
|
function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
11075
11117
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11076
11118
|
list: trpc_middleware_js_1.adminProcedure
|
|
11077
|
-
.input(
|
|
11078
|
-
.output(
|
|
11119
|
+
.input(types_127.schedulersCapability.methods.list.input.loose())
|
|
11120
|
+
.output(types_127.schedulersCapability.methods.list.output)
|
|
11079
11121
|
.query(async ({ input, ctx }) => {
|
|
11080
11122
|
const { nodeId, ...methodInput } = input;
|
|
11081
11123
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11083,8 +11125,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11083
11125
|
return p.list(methodInput);
|
|
11084
11126
|
}),
|
|
11085
11127
|
get: trpc_middleware_js_1.adminProcedure
|
|
11086
|
-
.input(
|
|
11087
|
-
.output(
|
|
11128
|
+
.input(types_127.schedulersCapability.methods.get.input.loose())
|
|
11129
|
+
.output(types_127.schedulersCapability.methods.get.output)
|
|
11088
11130
|
.query(async ({ input, ctx }) => {
|
|
11089
11131
|
const { nodeId, ...methodInput } = input;
|
|
11090
11132
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11092,8 +11134,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11092
11134
|
return p.get(methodInput);
|
|
11093
11135
|
}),
|
|
11094
11136
|
create: trpc_middleware_js_1.adminProcedure
|
|
11095
|
-
.input(
|
|
11096
|
-
.output(
|
|
11137
|
+
.input(types_127.schedulersCapability.methods.create.input.loose())
|
|
11138
|
+
.output(types_127.schedulersCapability.methods.create.output)
|
|
11097
11139
|
.mutation(async ({ input, ctx }) => {
|
|
11098
11140
|
const { nodeId, ...methodInput } = input;
|
|
11099
11141
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11101,8 +11143,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11101
11143
|
return p.create(methodInput);
|
|
11102
11144
|
}),
|
|
11103
11145
|
update: trpc_middleware_js_1.adminProcedure
|
|
11104
|
-
.input(
|
|
11105
|
-
.output(
|
|
11146
|
+
.input(types_127.schedulersCapability.methods.update.input.loose())
|
|
11147
|
+
.output(types_127.schedulersCapability.methods.update.output)
|
|
11106
11148
|
.mutation(async ({ input, ctx }) => {
|
|
11107
11149
|
const { nodeId, ...methodInput } = input;
|
|
11108
11150
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11110,8 +11152,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11110
11152
|
return p.update(methodInput);
|
|
11111
11153
|
}),
|
|
11112
11154
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11113
|
-
.input(
|
|
11114
|
-
.output(
|
|
11155
|
+
.input(types_127.schedulersCapability.methods.delete.input.loose())
|
|
11156
|
+
.output(types_127.schedulersCapability.methods.delete.output)
|
|
11115
11157
|
.mutation(async ({ input, ctx }) => {
|
|
11116
11158
|
const { nodeId, ...methodInput } = input;
|
|
11117
11159
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11119,8 +11161,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11119
11161
|
return p.delete(methodInput);
|
|
11120
11162
|
}),
|
|
11121
11163
|
setEnabled: trpc_middleware_js_1.adminProcedure
|
|
11122
|
-
.input(
|
|
11123
|
-
.output(
|
|
11164
|
+
.input(types_127.schedulersCapability.methods.setEnabled.input.loose())
|
|
11165
|
+
.output(types_127.schedulersCapability.methods.setEnabled.output)
|
|
11124
11166
|
.mutation(async ({ input, ctx }) => {
|
|
11125
11167
|
const { nodeId, ...methodInput } = input;
|
|
11126
11168
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11128,8 +11170,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11128
11170
|
return p.setEnabled(methodInput);
|
|
11129
11171
|
}),
|
|
11130
11172
|
preview: trpc_middleware_js_1.adminProcedure
|
|
11131
|
-
.input(
|
|
11132
|
-
.output(
|
|
11173
|
+
.input(types_127.schedulersCapability.methods.preview.input.loose())
|
|
11174
|
+
.output(types_127.schedulersCapability.methods.preview.output)
|
|
11133
11175
|
.query(async ({ input, ctx }) => {
|
|
11134
11176
|
const { nodeId, ...methodInput } = input;
|
|
11135
11177
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11137,8 +11179,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11137
11179
|
return p.preview(methodInput);
|
|
11138
11180
|
}),
|
|
11139
11181
|
conflicts: trpc_middleware_js_1.adminProcedure
|
|
11140
|
-
.input(
|
|
11141
|
-
.output(
|
|
11182
|
+
.input(types_127.schedulersCapability.methods.conflicts.input.loose())
|
|
11183
|
+
.output(types_127.schedulersCapability.methods.conflicts.output)
|
|
11142
11184
|
.query(async ({ input, ctx }) => {
|
|
11143
11185
|
const { nodeId, ...methodInput } = input;
|
|
11144
11186
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11155,8 +11197,8 @@ function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
|
11155
11197
|
return p.getStatus(methodInput);
|
|
11156
11198
|
}),
|
|
11157
11199
|
getTraces: trpc_middleware_js_1.adminProcedure
|
|
11158
|
-
.input(
|
|
11159
|
-
.output(
|
|
11200
|
+
.input(types_127.schedulersCapability.methods.getTraces.input.loose())
|
|
11201
|
+
.output(types_127.schedulersCapability.methods.getTraces.output)
|
|
11160
11202
|
.query(async ({ input, ctx }) => {
|
|
11161
11203
|
const { nodeId, ...methodInput } = input;
|
|
11162
11204
|
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11177,8 +11219,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
11177
11219
|
return p.getStatus(methodInput);
|
|
11178
11220
|
}),
|
|
11179
11221
|
run: trpc_middleware_js_1.adminProcedure
|
|
11180
|
-
.input(
|
|
11181
|
-
.output(
|
|
11222
|
+
.input(types_128.scriptRunnerCapability.methods.run.input.loose())
|
|
11223
|
+
.output(types_128.scriptRunnerCapability.methods.run.output)
|
|
11182
11224
|
.mutation(async ({ input, ctx }) => {
|
|
11183
11225
|
const { nodeId, ...methodInput } = input;
|
|
11184
11226
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11186,8 +11228,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
11186
11228
|
return p.run(methodInput);
|
|
11187
11229
|
}),
|
|
11188
11230
|
stop: trpc_middleware_js_1.adminProcedure
|
|
11189
|
-
.input(
|
|
11190
|
-
.output(
|
|
11231
|
+
.input(types_128.scriptRunnerCapability.methods.stop.input.loose())
|
|
11232
|
+
.output(types_128.scriptRunnerCapability.methods.stop.output)
|
|
11191
11233
|
.mutation(async ({ input, ctx }) => {
|
|
11192
11234
|
const { nodeId, ...methodInput } = input;
|
|
11193
11235
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11200,21 +11242,21 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11200
11242
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11201
11243
|
getServerPackageStatus: trpc_middleware_js_1.adminProcedure
|
|
11202
11244
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11203
|
-
.output(
|
|
11245
|
+
.output(types_129.serverManagementCapability.methods.getServerPackageStatus.output)
|
|
11204
11246
|
.query(async ({ input, ctx }) => {
|
|
11205
11247
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11206
11248
|
return p.getServerPackageStatus();
|
|
11207
11249
|
}),
|
|
11208
11250
|
checkServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11209
11251
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11210
|
-
.output(
|
|
11252
|
+
.output(types_129.serverManagementCapability.methods.checkServerUpdate.output)
|
|
11211
11253
|
.mutation(async ({ input, ctx }) => {
|
|
11212
11254
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11213
11255
|
return p.checkServerUpdate();
|
|
11214
11256
|
}),
|
|
11215
11257
|
applyServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11216
|
-
.input(
|
|
11217
|
-
.output(
|
|
11258
|
+
.input(types_129.serverManagementCapability.methods.applyServerUpdate.input.loose())
|
|
11259
|
+
.output(types_129.serverManagementCapability.methods.applyServerUpdate.output)
|
|
11218
11260
|
.mutation(async ({ input, ctx }) => {
|
|
11219
11261
|
const { nodeId, ...methodInput } = input;
|
|
11220
11262
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11223,35 +11265,35 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11223
11265
|
}),
|
|
11224
11266
|
installDesktopUpdate: trpc_middleware_js_1.adminProcedure
|
|
11225
11267
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11226
|
-
.output(
|
|
11268
|
+
.output(types_129.serverManagementCapability.methods.installDesktopUpdate.output)
|
|
11227
11269
|
.mutation(async ({ input, ctx }) => {
|
|
11228
11270
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11229
11271
|
return p.installDesktopUpdate();
|
|
11230
11272
|
}),
|
|
11231
11273
|
rollbackServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11232
11274
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11233
|
-
.output(
|
|
11275
|
+
.output(types_129.serverManagementCapability.methods.rollbackServerUpdate.output)
|
|
11234
11276
|
.mutation(async ({ input, ctx }) => {
|
|
11235
11277
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11236
11278
|
return p.rollbackServerUpdate();
|
|
11237
11279
|
}),
|
|
11238
11280
|
restartServer: trpc_middleware_js_1.adminProcedure
|
|
11239
11281
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11240
|
-
.output(
|
|
11282
|
+
.output(types_129.serverManagementCapability.methods.restartServer.output)
|
|
11241
11283
|
.mutation(async ({ input, ctx }) => {
|
|
11242
11284
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11243
11285
|
return p.restartServer();
|
|
11244
11286
|
}),
|
|
11245
11287
|
getLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
11246
11288
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11247
|
-
.output(
|
|
11289
|
+
.output(types_129.serverManagementCapability.methods.getLaunchOverrides.output)
|
|
11248
11290
|
.query(async ({ input, ctx }) => {
|
|
11249
11291
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11250
11292
|
return p.getLaunchOverrides();
|
|
11251
11293
|
}),
|
|
11252
11294
|
setLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
11253
|
-
.input(
|
|
11254
|
-
.output(
|
|
11295
|
+
.input(types_129.serverManagementCapability.methods.setLaunchOverrides.input.loose())
|
|
11296
|
+
.output(types_129.serverManagementCapability.methods.setLaunchOverrides.output)
|
|
11255
11297
|
.mutation(async ({ input, ctx }) => {
|
|
11256
11298
|
const { nodeId, ...methodInput } = input;
|
|
11257
11299
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11263,8 +11305,8 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11263
11305
|
function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
11264
11306
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11265
11307
|
get: trpc_middleware_js_1.adminProcedure
|
|
11266
|
-
.input(
|
|
11267
|
-
.output(
|
|
11308
|
+
.input(types_130.settingsStoreCapability.methods.get.input.loose())
|
|
11309
|
+
.output(types_130.settingsStoreCapability.methods.get.output)
|
|
11268
11310
|
.query(async ({ input, ctx }) => {
|
|
11269
11311
|
const { nodeId, ...methodInput } = input;
|
|
11270
11312
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11272,8 +11314,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11272
11314
|
return p.get(methodInput);
|
|
11273
11315
|
}),
|
|
11274
11316
|
set: trpc_middleware_js_1.adminProcedure
|
|
11275
|
-
.input(
|
|
11276
|
-
.output(
|
|
11317
|
+
.input(types_130.settingsStoreCapability.methods.set.input.loose())
|
|
11318
|
+
.output(types_130.settingsStoreCapability.methods.set.output)
|
|
11277
11319
|
.mutation(async ({ input, ctx }) => {
|
|
11278
11320
|
const { nodeId, ...methodInput } = input;
|
|
11279
11321
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11281,8 +11323,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11281
11323
|
return p.set(methodInput);
|
|
11282
11324
|
}),
|
|
11283
11325
|
query: trpc_middleware_js_1.adminProcedure
|
|
11284
|
-
.input(
|
|
11285
|
-
.output(
|
|
11326
|
+
.input(types_130.settingsStoreCapability.methods.query.input.loose())
|
|
11327
|
+
.output(types_130.settingsStoreCapability.methods.query.output)
|
|
11286
11328
|
.query(async ({ input, ctx }) => {
|
|
11287
11329
|
const { nodeId, ...methodInput } = input;
|
|
11288
11330
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11290,8 +11332,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11290
11332
|
return p.query(methodInput);
|
|
11291
11333
|
}),
|
|
11292
11334
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
11293
|
-
.input(
|
|
11294
|
-
.output(
|
|
11335
|
+
.input(types_130.settingsStoreCapability.methods.upsert.input.loose())
|
|
11336
|
+
.output(types_130.settingsStoreCapability.methods.upsert.output)
|
|
11295
11337
|
.mutation(async ({ input, ctx }) => {
|
|
11296
11338
|
const { nodeId, ...methodInput } = input;
|
|
11297
11339
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11299,8 +11341,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11299
11341
|
return p.upsert(methodInput);
|
|
11300
11342
|
}),
|
|
11301
11343
|
upsertMany: trpc_middleware_js_1.adminProcedure
|
|
11302
|
-
.input(
|
|
11303
|
-
.output(
|
|
11344
|
+
.input(types_130.settingsStoreCapability.methods.upsertMany.input.loose())
|
|
11345
|
+
.output(types_130.settingsStoreCapability.methods.upsertMany.output)
|
|
11304
11346
|
.mutation(async ({ input, ctx }) => {
|
|
11305
11347
|
const { nodeId, ...methodInput } = input;
|
|
11306
11348
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11308,8 +11350,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11308
11350
|
return p.upsertMany(methodInput);
|
|
11309
11351
|
}),
|
|
11310
11352
|
insert: trpc_middleware_js_1.adminProcedure
|
|
11311
|
-
.input(
|
|
11312
|
-
.output(
|
|
11353
|
+
.input(types_130.settingsStoreCapability.methods.insert.input.loose())
|
|
11354
|
+
.output(types_130.settingsStoreCapability.methods.insert.output)
|
|
11313
11355
|
.mutation(async ({ input, ctx }) => {
|
|
11314
11356
|
const { nodeId, ...methodInput } = input;
|
|
11315
11357
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11317,8 +11359,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11317
11359
|
return p.insert(methodInput);
|
|
11318
11360
|
}),
|
|
11319
11361
|
insertMany: trpc_middleware_js_1.adminProcedure
|
|
11320
|
-
.input(
|
|
11321
|
-
.output(
|
|
11362
|
+
.input(types_130.settingsStoreCapability.methods.insertMany.input.loose())
|
|
11363
|
+
.output(types_130.settingsStoreCapability.methods.insertMany.output)
|
|
11322
11364
|
.mutation(async ({ input, ctx }) => {
|
|
11323
11365
|
const { nodeId, ...methodInput } = input;
|
|
11324
11366
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11326,8 +11368,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11326
11368
|
return p.insertMany(methodInput);
|
|
11327
11369
|
}),
|
|
11328
11370
|
transact: trpc_middleware_js_1.adminProcedure
|
|
11329
|
-
.input(
|
|
11330
|
-
.output(
|
|
11371
|
+
.input(types_130.settingsStoreCapability.methods.transact.input.loose())
|
|
11372
|
+
.output(types_130.settingsStoreCapability.methods.transact.output)
|
|
11331
11373
|
.mutation(async ({ input, ctx }) => {
|
|
11332
11374
|
const { nodeId, ...methodInput } = input;
|
|
11333
11375
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11335,8 +11377,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11335
11377
|
return p.transact(methodInput);
|
|
11336
11378
|
}),
|
|
11337
11379
|
update: trpc_middleware_js_1.adminProcedure
|
|
11338
|
-
.input(
|
|
11339
|
-
.output(
|
|
11380
|
+
.input(types_130.settingsStoreCapability.methods.update.input.loose())
|
|
11381
|
+
.output(types_130.settingsStoreCapability.methods.update.output)
|
|
11340
11382
|
.mutation(async ({ input, ctx }) => {
|
|
11341
11383
|
const { nodeId, ...methodInput } = input;
|
|
11342
11384
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11344,8 +11386,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11344
11386
|
return p.update(methodInput);
|
|
11345
11387
|
}),
|
|
11346
11388
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11347
|
-
.input(
|
|
11348
|
-
.output(
|
|
11389
|
+
.input(types_130.settingsStoreCapability.methods.delete.input.loose())
|
|
11390
|
+
.output(types_130.settingsStoreCapability.methods.delete.output)
|
|
11349
11391
|
.mutation(async ({ input, ctx }) => {
|
|
11350
11392
|
const { nodeId, ...methodInput } = input;
|
|
11351
11393
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11353,8 +11395,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11353
11395
|
return p.delete(methodInput);
|
|
11354
11396
|
}),
|
|
11355
11397
|
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
11356
|
-
.input(
|
|
11357
|
-
.output(
|
|
11398
|
+
.input(types_130.settingsStoreCapability.methods.deleteWhere.input.loose())
|
|
11399
|
+
.output(types_130.settingsStoreCapability.methods.deleteWhere.output)
|
|
11358
11400
|
.mutation(async ({ input, ctx }) => {
|
|
11359
11401
|
const { nodeId, ...methodInput } = input;
|
|
11360
11402
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11362,8 +11404,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11362
11404
|
return p.deleteWhere(methodInput);
|
|
11363
11405
|
}),
|
|
11364
11406
|
updateWhere: trpc_middleware_js_1.adminProcedure
|
|
11365
|
-
.input(
|
|
11366
|
-
.output(
|
|
11407
|
+
.input(types_130.settingsStoreCapability.methods.updateWhere.input.loose())
|
|
11408
|
+
.output(types_130.settingsStoreCapability.methods.updateWhere.output)
|
|
11367
11409
|
.mutation(async ({ input, ctx }) => {
|
|
11368
11410
|
const { nodeId, ...methodInput } = input;
|
|
11369
11411
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11371,8 +11413,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11371
11413
|
return p.updateWhere(methodInput);
|
|
11372
11414
|
}),
|
|
11373
11415
|
count: trpc_middleware_js_1.adminProcedure
|
|
11374
|
-
.input(
|
|
11375
|
-
.output(
|
|
11416
|
+
.input(types_130.settingsStoreCapability.methods.count.input.loose())
|
|
11417
|
+
.output(types_130.settingsStoreCapability.methods.count.output)
|
|
11376
11418
|
.query(async ({ input, ctx }) => {
|
|
11377
11419
|
const { nodeId, ...methodInput } = input;
|
|
11378
11420
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11380,8 +11422,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11380
11422
|
return p.count(methodInput);
|
|
11381
11423
|
}),
|
|
11382
11424
|
aggregate: trpc_middleware_js_1.adminProcedure
|
|
11383
|
-
.input(
|
|
11384
|
-
.output(
|
|
11425
|
+
.input(types_130.settingsStoreCapability.methods.aggregate.input.loose())
|
|
11426
|
+
.output(types_130.settingsStoreCapability.methods.aggregate.output)
|
|
11385
11427
|
.query(async ({ input, ctx }) => {
|
|
11386
11428
|
const { nodeId, ...methodInput } = input;
|
|
11387
11429
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11389,8 +11431,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11389
11431
|
return p.aggregate(methodInput);
|
|
11390
11432
|
}),
|
|
11391
11433
|
histogram: trpc_middleware_js_1.adminProcedure
|
|
11392
|
-
.input(
|
|
11393
|
-
.output(
|
|
11434
|
+
.input(types_130.settingsStoreCapability.methods.histogram.input.loose())
|
|
11435
|
+
.output(types_130.settingsStoreCapability.methods.histogram.output)
|
|
11394
11436
|
.query(async ({ input, ctx }) => {
|
|
11395
11437
|
const { nodeId, ...methodInput } = input;
|
|
11396
11438
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11398,8 +11440,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11398
11440
|
return p.histogram(methodInput);
|
|
11399
11441
|
}),
|
|
11400
11442
|
isEmpty: trpc_middleware_js_1.adminProcedure
|
|
11401
|
-
.input(
|
|
11402
|
-
.output(
|
|
11443
|
+
.input(types_130.settingsStoreCapability.methods.isEmpty.input.loose())
|
|
11444
|
+
.output(types_130.settingsStoreCapability.methods.isEmpty.output)
|
|
11403
11445
|
.query(async ({ input, ctx }) => {
|
|
11404
11446
|
const { nodeId, ...methodInput } = input;
|
|
11405
11447
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11407,8 +11449,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11407
11449
|
return p.isEmpty(methodInput);
|
|
11408
11450
|
}),
|
|
11409
11451
|
declareCollection: trpc_middleware_js_1.adminProcedure
|
|
11410
|
-
.input(
|
|
11411
|
-
.output(
|
|
11452
|
+
.input(types_130.settingsStoreCapability.methods.declareCollection.input.loose())
|
|
11453
|
+
.output(types_130.settingsStoreCapability.methods.declareCollection.output)
|
|
11412
11454
|
.mutation(async ({ input, ctx }) => {
|
|
11413
11455
|
const { nodeId, ...methodInput } = input;
|
|
11414
11456
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11433,8 +11475,8 @@ function createCapRouter_smoke(getProvider, createRemoteProxy) {
|
|
|
11433
11475
|
function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
11434
11476
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11435
11477
|
sendEmail: trpc_middleware_js_1.adminProcedure
|
|
11436
|
-
.input(
|
|
11437
|
-
.output(
|
|
11478
|
+
.input(types_131.smtpProviderCapability.methods.sendEmail.input.loose())
|
|
11479
|
+
.output(types_131.smtpProviderCapability.methods.sendEmail.output)
|
|
11438
11480
|
.mutation(async ({ input, ctx }) => {
|
|
11439
11481
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11440
11482
|
const p = resolveProvider('smtp-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11443,7 +11485,7 @@ function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
|
11443
11485
|
}),
|
|
11444
11486
|
verify: trpc_middleware_js_1.adminProcedure
|
|
11445
11487
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11446
|
-
.output(
|
|
11488
|
+
.output(types_131.smtpProviderCapability.methods.verify.output)
|
|
11447
11489
|
.mutation(async ({ input, ctx }) => {
|
|
11448
11490
|
const p = resolveProvider('smtp-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11449
11491
|
return p.verify();
|
|
@@ -11496,8 +11538,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11496
11538
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
11497
11539
|
}),
|
|
11498
11540
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
11499
|
-
.input(
|
|
11500
|
-
.output(
|
|
11541
|
+
.input(types_132.snapshotCapability.methods.getSnapshot.input.loose())
|
|
11542
|
+
.output(types_132.snapshotCapability.methods.getSnapshot.output)
|
|
11501
11543
|
.query(async ({ input, ctx }) => {
|
|
11502
11544
|
const { nodeId, ...methodInput } = input;
|
|
11503
11545
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11505,8 +11547,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11505
11547
|
return p.getSnapshot(methodInput);
|
|
11506
11548
|
}),
|
|
11507
11549
|
invalidateCache: trpc_middleware_js_1.adminProcedure
|
|
11508
|
-
.input(
|
|
11509
|
-
.output(
|
|
11550
|
+
.input(types_132.snapshotCapability.methods.invalidateCache.input.loose())
|
|
11551
|
+
.output(types_132.snapshotCapability.methods.invalidateCache.output)
|
|
11510
11552
|
.mutation(async ({ input, ctx }) => {
|
|
11511
11553
|
const { nodeId, ...methodInput } = input;
|
|
11512
11554
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11514,8 +11556,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11514
11556
|
return p.invalidateCache(methodInput);
|
|
11515
11557
|
}),
|
|
11516
11558
|
getSnapshotOverview: trpc_middleware_js_1.protectedProcedure
|
|
11517
|
-
.input(
|
|
11518
|
-
.output(
|
|
11559
|
+
.input(types_132.snapshotCapability.methods.getSnapshotOverview.input.loose())
|
|
11560
|
+
.output(types_132.snapshotCapability.methods.getSnapshotOverview.output)
|
|
11519
11561
|
.query(async ({ input, ctx }) => {
|
|
11520
11562
|
const { nodeId, ...methodInput } = input;
|
|
11521
11563
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11523,8 +11565,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11523
11565
|
return p.getSnapshotOverview(methodInput);
|
|
11524
11566
|
}),
|
|
11525
11567
|
getDebugState: trpc_middleware_js_1.protectedProcedure
|
|
11526
|
-
.input(
|
|
11527
|
-
.output(
|
|
11568
|
+
.input(types_132.snapshotCapability.methods.getDebugState.input.loose())
|
|
11569
|
+
.output(types_132.snapshotCapability.methods.getDebugState.output)
|
|
11528
11570
|
.query(async ({ input, ctx }) => {
|
|
11529
11571
|
const { nodeId, ...methodInput } = input;
|
|
11530
11572
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11532,8 +11574,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11532
11574
|
return p.getDebugState(methodInput);
|
|
11533
11575
|
}),
|
|
11534
11576
|
getSnapshotLinks: trpc_middleware_js_1.protectedProcedure
|
|
11535
|
-
.input(
|
|
11536
|
-
.output(
|
|
11577
|
+
.input(types_132.snapshotCapability.methods.getSnapshotLinks.input.loose())
|
|
11578
|
+
.output(types_132.snapshotCapability.methods.getSnapshotLinks.output)
|
|
11537
11579
|
.query(async ({ input, ctx }) => {
|
|
11538
11580
|
const { nodeId, ...methodInput } = input;
|
|
11539
11581
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11545,8 +11587,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11545
11587
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
11546
11588
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11547
11589
|
signBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11548
|
-
.input(
|
|
11549
|
-
.output(
|
|
11590
|
+
.input(types_133.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
11591
|
+
.output(types_133.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
11550
11592
|
.query(async ({ input, ctx }) => {
|
|
11551
11593
|
const { nodeId, ...methodInput } = input;
|
|
11552
11594
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11554,8 +11596,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11554
11596
|
return p.signBridgeToken(methodInput);
|
|
11555
11597
|
}),
|
|
11556
11598
|
verifyBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11557
|
-
.input(
|
|
11558
|
-
.output(
|
|
11599
|
+
.input(types_133.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
11600
|
+
.output(types_133.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
11559
11601
|
.query(async ({ input, ctx }) => {
|
|
11560
11602
|
const { nodeId, ...methodInput } = input;
|
|
11561
11603
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11567,8 +11609,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11567
11609
|
function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
11568
11610
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11569
11611
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11570
|
-
.input(
|
|
11571
|
-
.output(
|
|
11612
|
+
.input(types_134.storageCapability.methods.resolve.input.loose())
|
|
11613
|
+
.output(types_134.storageCapability.methods.resolve.output)
|
|
11572
11614
|
.query(async ({ input, ctx }) => {
|
|
11573
11615
|
const { nodeId, ...methodInput } = input;
|
|
11574
11616
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11576,8 +11618,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11576
11618
|
return p.resolve(methodInput);
|
|
11577
11619
|
}),
|
|
11578
11620
|
write: trpc_middleware_js_1.adminProcedure
|
|
11579
|
-
.input(
|
|
11580
|
-
.output(
|
|
11621
|
+
.input(types_134.storageCapability.methods.write.input.loose())
|
|
11622
|
+
.output(types_134.storageCapability.methods.write.output)
|
|
11581
11623
|
.mutation(async ({ input, ctx }) => {
|
|
11582
11624
|
const { nodeId, ...methodInput } = input;
|
|
11583
11625
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11585,8 +11627,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11585
11627
|
return p.write(methodInput);
|
|
11586
11628
|
}),
|
|
11587
11629
|
read: trpc_middleware_js_1.adminProcedure
|
|
11588
|
-
.input(
|
|
11589
|
-
.output(
|
|
11630
|
+
.input(types_134.storageCapability.methods.read.input.loose())
|
|
11631
|
+
.output(types_134.storageCapability.methods.read.output)
|
|
11590
11632
|
.query(async ({ input, ctx }) => {
|
|
11591
11633
|
const { nodeId, ...methodInput } = input;
|
|
11592
11634
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11594,8 +11636,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11594
11636
|
return p.read(methodInput);
|
|
11595
11637
|
}),
|
|
11596
11638
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11597
|
-
.input(
|
|
11598
|
-
.output(
|
|
11639
|
+
.input(types_134.storageCapability.methods.exists.input.loose())
|
|
11640
|
+
.output(types_134.storageCapability.methods.exists.output)
|
|
11599
11641
|
.query(async ({ input, ctx }) => {
|
|
11600
11642
|
const { nodeId, ...methodInput } = input;
|
|
11601
11643
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11603,8 +11645,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11603
11645
|
return p.exists(methodInput);
|
|
11604
11646
|
}),
|
|
11605
11647
|
list: trpc_middleware_js_1.adminProcedure
|
|
11606
|
-
.input(
|
|
11607
|
-
.output(
|
|
11648
|
+
.input(types_134.storageCapability.methods.list.input.loose())
|
|
11649
|
+
.output(types_134.storageCapability.methods.list.output)
|
|
11608
11650
|
.query(async ({ input, ctx }) => {
|
|
11609
11651
|
const { nodeId, ...methodInput } = input;
|
|
11610
11652
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11612,8 +11654,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11612
11654
|
return p.list(methodInput);
|
|
11613
11655
|
}),
|
|
11614
11656
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11615
|
-
.input(
|
|
11616
|
-
.output(
|
|
11657
|
+
.input(types_134.storageCapability.methods.delete.input.loose())
|
|
11658
|
+
.output(types_134.storageCapability.methods.delete.output)
|
|
11617
11659
|
.mutation(async ({ input, ctx }) => {
|
|
11618
11660
|
const { nodeId, ...methodInput } = input;
|
|
11619
11661
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11621,8 +11663,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11621
11663
|
return p.delete(methodInput);
|
|
11622
11664
|
}),
|
|
11623
11665
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
11624
|
-
.input(
|
|
11625
|
-
.output(
|
|
11666
|
+
.input(types_134.storageCapability.methods.getAvailableSpace.input.loose())
|
|
11667
|
+
.output(types_134.storageCapability.methods.getAvailableSpace.output)
|
|
11626
11668
|
.query(async ({ input, ctx }) => {
|
|
11627
11669
|
const { nodeId, ...methodInput } = input;
|
|
11628
11670
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11630,8 +11672,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11630
11672
|
return p.getAvailableSpace(methodInput);
|
|
11631
11673
|
}),
|
|
11632
11674
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11633
|
-
.input(
|
|
11634
|
-
.output(
|
|
11675
|
+
.input(types_134.storageCapability.methods.beginUpload.input.loose())
|
|
11676
|
+
.output(types_134.storageCapability.methods.beginUpload.output)
|
|
11635
11677
|
.mutation(async ({ input, ctx }) => {
|
|
11636
11678
|
const { nodeId, ...methodInput } = input;
|
|
11637
11679
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11639,8 +11681,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11639
11681
|
return p.beginUpload(methodInput);
|
|
11640
11682
|
}),
|
|
11641
11683
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11642
|
-
.input(
|
|
11643
|
-
.output(
|
|
11684
|
+
.input(types_134.storageCapability.methods.writeChunk.input.loose())
|
|
11685
|
+
.output(types_134.storageCapability.methods.writeChunk.output)
|
|
11644
11686
|
.mutation(async ({ input, ctx }) => {
|
|
11645
11687
|
const { nodeId, ...methodInput } = input;
|
|
11646
11688
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11648,8 +11690,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11648
11690
|
return p.writeChunk(methodInput);
|
|
11649
11691
|
}),
|
|
11650
11692
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11651
|
-
.input(
|
|
11652
|
-
.output(
|
|
11693
|
+
.input(types_134.storageCapability.methods.finalizeUpload.input.loose())
|
|
11694
|
+
.output(types_134.storageCapability.methods.finalizeUpload.output)
|
|
11653
11695
|
.mutation(async ({ input, ctx }) => {
|
|
11654
11696
|
const { nodeId, ...methodInput } = input;
|
|
11655
11697
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11657,8 +11699,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11657
11699
|
return p.finalizeUpload(methodInput);
|
|
11658
11700
|
}),
|
|
11659
11701
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11660
|
-
.input(
|
|
11661
|
-
.output(
|
|
11702
|
+
.input(types_134.storageCapability.methods.abortUpload.input.loose())
|
|
11703
|
+
.output(types_134.storageCapability.methods.abortUpload.output)
|
|
11662
11704
|
.mutation(async ({ input, ctx }) => {
|
|
11663
11705
|
const { nodeId, ...methodInput } = input;
|
|
11664
11706
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11666,8 +11708,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11666
11708
|
return p.abortUpload(methodInput);
|
|
11667
11709
|
}),
|
|
11668
11710
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11669
|
-
.input(
|
|
11670
|
-
.output(
|
|
11711
|
+
.input(types_134.storageCapability.methods.beginDownload.input.loose())
|
|
11712
|
+
.output(types_134.storageCapability.methods.beginDownload.output)
|
|
11671
11713
|
.mutation(async ({ input, ctx }) => {
|
|
11672
11714
|
const { nodeId, ...methodInput } = input;
|
|
11673
11715
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11675,8 +11717,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11675
11717
|
return p.beginDownload(methodInput);
|
|
11676
11718
|
}),
|
|
11677
11719
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
11678
|
-
.input(
|
|
11679
|
-
.output(
|
|
11720
|
+
.input(types_134.storageCapability.methods.readChunk.input.loose())
|
|
11721
|
+
.output(types_134.storageCapability.methods.readChunk.output)
|
|
11680
11722
|
.query(async ({ input, ctx }) => {
|
|
11681
11723
|
const { nodeId, ...methodInput } = input;
|
|
11682
11724
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11684,8 +11726,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11684
11726
|
return p.readChunk(methodInput);
|
|
11685
11727
|
}),
|
|
11686
11728
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
11687
|
-
.input(
|
|
11688
|
-
.output(
|
|
11729
|
+
.input(types_134.storageCapability.methods.endDownload.input.loose())
|
|
11730
|
+
.output(types_134.storageCapability.methods.endDownload.output)
|
|
11689
11731
|
.mutation(async ({ input, ctx }) => {
|
|
11690
11732
|
const { nodeId, ...methodInput } = input;
|
|
11691
11733
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11693,8 +11735,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11693
11735
|
return p.endDownload(methodInput);
|
|
11694
11736
|
}),
|
|
11695
11737
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
11696
|
-
.input(
|
|
11697
|
-
.output(
|
|
11738
|
+
.input(types_134.storageCapability.methods.listLocations.input.loose())
|
|
11739
|
+
.output(types_134.storageCapability.methods.listLocations.output)
|
|
11698
11740
|
.query(async ({ input, ctx }) => {
|
|
11699
11741
|
const { nodeId, ...methodInput } = input;
|
|
11700
11742
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11703,14 +11745,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11703
11745
|
}),
|
|
11704
11746
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
11705
11747
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11706
|
-
.output(
|
|
11748
|
+
.output(types_134.storageCapability.methods.listLocationDeclarations.output)
|
|
11707
11749
|
.query(async ({ input, ctx }) => {
|
|
11708
11750
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11709
11751
|
return p.listLocationDeclarations();
|
|
11710
11752
|
}),
|
|
11711
11753
|
upsertLocation: trpc_middleware_js_1.adminProcedure
|
|
11712
|
-
.input(
|
|
11713
|
-
.output(
|
|
11754
|
+
.input(types_134.storageCapability.methods.upsertLocation.input.loose())
|
|
11755
|
+
.output(types_134.storageCapability.methods.upsertLocation.output)
|
|
11714
11756
|
.mutation(async ({ input, ctx }) => {
|
|
11715
11757
|
const { nodeId, ...methodInput } = input;
|
|
11716
11758
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11718,8 +11760,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11718
11760
|
return p.upsertLocation(methodInput);
|
|
11719
11761
|
}),
|
|
11720
11762
|
deleteLocation: trpc_middleware_js_1.adminProcedure
|
|
11721
|
-
.input(
|
|
11722
|
-
.output(
|
|
11763
|
+
.input(types_134.storageCapability.methods.deleteLocation.input.loose())
|
|
11764
|
+
.output(types_134.storageCapability.methods.deleteLocation.output)
|
|
11723
11765
|
.mutation(async ({ input, ctx }) => {
|
|
11724
11766
|
const { nodeId, ...methodInput } = input;
|
|
11725
11767
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11728,14 +11770,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11728
11770
|
}),
|
|
11729
11771
|
listDrainProgress: trpc_middleware_js_1.protectedProcedure
|
|
11730
11772
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11731
|
-
.output(
|
|
11773
|
+
.output(types_134.storageCapability.methods.listDrainProgress.output)
|
|
11732
11774
|
.query(async ({ input, ctx }) => {
|
|
11733
11775
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11734
11776
|
return p.listDrainProgress();
|
|
11735
11777
|
}),
|
|
11736
11778
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11737
|
-
.input(
|
|
11738
|
-
.output(
|
|
11779
|
+
.input(types_134.storageCapability.methods.testLocation.input.loose())
|
|
11780
|
+
.output(types_134.storageCapability.methods.testLocation.output)
|
|
11739
11781
|
.query(async ({ input, ctx }) => {
|
|
11740
11782
|
const { nodeId, ...methodInput } = input;
|
|
11741
11783
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11744,14 +11786,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11744
11786
|
}),
|
|
11745
11787
|
listProviders: trpc_middleware_js_1.protectedProcedure
|
|
11746
11788
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11747
|
-
.output(
|
|
11789
|
+
.output(types_134.storageCapability.methods.listProviders.output)
|
|
11748
11790
|
.query(async ({ input, ctx }) => {
|
|
11749
11791
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11750
11792
|
return p.listProviders();
|
|
11751
11793
|
}),
|
|
11752
11794
|
testConfig: trpc_middleware_js_1.adminProcedure
|
|
11753
|
-
.input(
|
|
11754
|
-
.output(
|
|
11795
|
+
.input(types_134.storageCapability.methods.testConfig.input.loose())
|
|
11796
|
+
.output(types_134.storageCapability.methods.testConfig.output)
|
|
11755
11797
|
.query(async ({ input, ctx }) => {
|
|
11756
11798
|
const { nodeId, ...methodInput } = input;
|
|
11757
11799
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11763,8 +11805,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11763
11805
|
function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
11764
11806
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11765
11807
|
listTables: trpc_middleware_js_1.adminProcedure
|
|
11766
|
-
.input(
|
|
11767
|
-
.output(
|
|
11808
|
+
.input(types_135.storageAdminCapability.methods.listTables.input.loose())
|
|
11809
|
+
.output(types_135.storageAdminCapability.methods.listTables.output)
|
|
11768
11810
|
.query(async ({ input, ctx }) => {
|
|
11769
11811
|
const { nodeId, ...methodInput } = input;
|
|
11770
11812
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11772,8 +11814,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11772
11814
|
return p.listTables(methodInput);
|
|
11773
11815
|
}),
|
|
11774
11816
|
listKinds: trpc_middleware_js_1.adminProcedure
|
|
11775
|
-
.input(
|
|
11776
|
-
.output(
|
|
11817
|
+
.input(types_135.storageAdminCapability.methods.listKinds.input.loose())
|
|
11818
|
+
.output(types_135.storageAdminCapability.methods.listKinds.output)
|
|
11777
11819
|
.query(async ({ input, ctx }) => {
|
|
11778
11820
|
const { nodeId, ...methodInput } = input;
|
|
11779
11821
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11781,8 +11823,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11781
11823
|
return p.listKinds(methodInput);
|
|
11782
11824
|
}),
|
|
11783
11825
|
readRecords: trpc_middleware_js_1.adminProcedure
|
|
11784
|
-
.input(
|
|
11785
|
-
.output(
|
|
11826
|
+
.input(types_135.storageAdminCapability.methods.readRecords.input.loose())
|
|
11827
|
+
.output(types_135.storageAdminCapability.methods.readRecords.output)
|
|
11786
11828
|
.query(async ({ input, ctx }) => {
|
|
11787
11829
|
const { nodeId, ...methodInput } = input;
|
|
11788
11830
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11790,8 +11832,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11790
11832
|
return p.readRecords(methodInput);
|
|
11791
11833
|
}),
|
|
11792
11834
|
staleDataReport: trpc_middleware_js_1.adminProcedure
|
|
11793
|
-
.input(
|
|
11794
|
-
.output(
|
|
11835
|
+
.input(types_135.storageAdminCapability.methods.staleDataReport.input.loose())
|
|
11836
|
+
.output(types_135.storageAdminCapability.methods.staleDataReport.output)
|
|
11795
11837
|
.query(async ({ input, ctx }) => {
|
|
11796
11838
|
const { nodeId, ...methodInput } = input;
|
|
11797
11839
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11799,8 +11841,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11799
11841
|
return p.staleDataReport(methodInput);
|
|
11800
11842
|
}),
|
|
11801
11843
|
scanStaleData: trpc_middleware_js_1.adminProcedure
|
|
11802
|
-
.input(
|
|
11803
|
-
.output(
|
|
11844
|
+
.input(types_135.storageAdminCapability.methods.scanStaleData.input.loose())
|
|
11845
|
+
.output(types_135.storageAdminCapability.methods.scanStaleData.output)
|
|
11804
11846
|
.mutation(async ({ input, ctx }) => {
|
|
11805
11847
|
const { nodeId, ...methodInput } = input;
|
|
11806
11848
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11808,8 +11850,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11808
11850
|
return p.scanStaleData(methodInput);
|
|
11809
11851
|
}),
|
|
11810
11852
|
dropOrphanedKind: trpc_middleware_js_1.adminProcedure
|
|
11811
|
-
.input(
|
|
11812
|
-
.output(
|
|
11853
|
+
.input(types_135.storageAdminCapability.methods.dropOrphanedKind.input.loose())
|
|
11854
|
+
.output(types_135.storageAdminCapability.methods.dropOrphanedKind.output)
|
|
11813
11855
|
.mutation(async ({ input, ctx }) => {
|
|
11814
11856
|
const { nodeId, ...methodInput } = input;
|
|
11815
11857
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11817,8 +11859,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11817
11859
|
return p.dropOrphanedKind(methodInput);
|
|
11818
11860
|
}),
|
|
11819
11861
|
unsetStaleSettingsKey: trpc_middleware_js_1.adminProcedure
|
|
11820
|
-
.input(
|
|
11821
|
-
.output(
|
|
11862
|
+
.input(types_135.storageAdminCapability.methods.unsetStaleSettingsKey.input.loose())
|
|
11863
|
+
.output(types_135.storageAdminCapability.methods.unsetStaleSettingsKey.output)
|
|
11822
11864
|
.mutation(async ({ input, ctx }) => {
|
|
11823
11865
|
const { nodeId, ...methodInput } = input;
|
|
11824
11866
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11830,8 +11872,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11830
11872
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
11831
11873
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11832
11874
|
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
11833
|
-
.input(
|
|
11834
|
-
.output(
|
|
11875
|
+
.input(types_136.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
11876
|
+
.output(types_136.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
11835
11877
|
.query(async ({ input, ctx }) => {
|
|
11836
11878
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11837
11879
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11839,8 +11881,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11839
11881
|
return p.getEvictableUsage(methodInput);
|
|
11840
11882
|
}),
|
|
11841
11883
|
evict: trpc_middleware_js_1.adminProcedure
|
|
11842
|
-
.input(
|
|
11843
|
-
.output(
|
|
11884
|
+
.input(types_136.storageEvictableCapability.methods.evict.input.loose())
|
|
11885
|
+
.output(types_136.storageEvictableCapability.methods.evict.output)
|
|
11844
11886
|
.mutation(async ({ input, ctx }) => {
|
|
11845
11887
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11846
11888
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11852,8 +11894,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11852
11894
|
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
11853
11895
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11854
11896
|
plan: trpc_middleware_js_1.adminProcedure
|
|
11855
|
-
.input(
|
|
11856
|
-
.output(
|
|
11897
|
+
.input(types_137.storageMigrationCapability.methods.plan.input.loose())
|
|
11898
|
+
.output(types_137.storageMigrationCapability.methods.plan.output)
|
|
11857
11899
|
.query(async ({ input, ctx }) => {
|
|
11858
11900
|
const { nodeId, ...methodInput } = input;
|
|
11859
11901
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11861,8 +11903,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11861
11903
|
return p.plan(methodInput);
|
|
11862
11904
|
}),
|
|
11863
11905
|
start: trpc_middleware_js_1.adminProcedure
|
|
11864
|
-
.input(
|
|
11865
|
-
.output(
|
|
11906
|
+
.input(types_137.storageMigrationCapability.methods.start.input.loose())
|
|
11907
|
+
.output(types_137.storageMigrationCapability.methods.start.output)
|
|
11866
11908
|
.mutation(async ({ input, ctx }) => {
|
|
11867
11909
|
const { nodeId, ...methodInput } = input;
|
|
11868
11910
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11870,8 +11912,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11870
11912
|
return p.start(methodInput);
|
|
11871
11913
|
}),
|
|
11872
11914
|
status: trpc_middleware_js_1.adminProcedure
|
|
11873
|
-
.input(
|
|
11874
|
-
.output(
|
|
11915
|
+
.input(types_137.storageMigrationCapability.methods.status.input.loose())
|
|
11916
|
+
.output(types_137.storageMigrationCapability.methods.status.output)
|
|
11875
11917
|
.query(async ({ input, ctx }) => {
|
|
11876
11918
|
const { nodeId, ...methodInput } = input;
|
|
11877
11919
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11879,8 +11921,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11879
11921
|
return p.status(methodInput);
|
|
11880
11922
|
}),
|
|
11881
11923
|
cancel: trpc_middleware_js_1.adminProcedure
|
|
11882
|
-
.input(
|
|
11883
|
-
.output(
|
|
11924
|
+
.input(types_137.storageMigrationCapability.methods.cancel.input.loose())
|
|
11925
|
+
.output(types_137.storageMigrationCapability.methods.cancel.output)
|
|
11884
11926
|
.mutation(async ({ input, ctx }) => {
|
|
11885
11927
|
const { nodeId, ...methodInput } = input;
|
|
11886
11928
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11888,8 +11930,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11888
11930
|
return p.cancel(methodInput);
|
|
11889
11931
|
}),
|
|
11890
11932
|
movers: trpc_middleware_js_1.adminProcedure
|
|
11891
|
-
.input(
|
|
11892
|
-
.output(
|
|
11933
|
+
.input(types_137.storageMigrationCapability.methods.movers.input.loose())
|
|
11934
|
+
.output(types_137.storageMigrationCapability.methods.movers.output)
|
|
11893
11935
|
.query(async ({ input, ctx }) => {
|
|
11894
11936
|
const { nodeId, ...methodInput } = input;
|
|
11895
11937
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11897,8 +11939,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11897
11939
|
return p.movers(methodInput);
|
|
11898
11940
|
}),
|
|
11899
11941
|
moverClearance: trpc_middleware_js_1.adminProcedure
|
|
11900
|
-
.input(
|
|
11901
|
-
.output(
|
|
11942
|
+
.input(types_137.storageMigrationCapability.methods.moverClearance.input.loose())
|
|
11943
|
+
.output(types_137.storageMigrationCapability.methods.moverClearance.output)
|
|
11902
11944
|
.query(async ({ input, ctx }) => {
|
|
11903
11945
|
const { nodeId, ...methodInput } = input;
|
|
11904
11946
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11906,8 +11948,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11906
11948
|
return p.moverClearance(methodInput);
|
|
11907
11949
|
}),
|
|
11908
11950
|
residue: trpc_middleware_js_1.adminProcedure
|
|
11909
|
-
.input(
|
|
11910
|
-
.output(
|
|
11951
|
+
.input(types_137.storageMigrationCapability.methods.residue.input.loose())
|
|
11952
|
+
.output(types_137.storageMigrationCapability.methods.residue.output)
|
|
11911
11953
|
.query(async ({ input, ctx }) => {
|
|
11912
11954
|
const { nodeId, ...methodInput } = input;
|
|
11913
11955
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11915,8 +11957,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11915
11957
|
return p.residue(methodInput);
|
|
11916
11958
|
}),
|
|
11917
11959
|
drain: trpc_middleware_js_1.adminProcedure
|
|
11918
|
-
.input(
|
|
11919
|
-
.output(
|
|
11960
|
+
.input(types_137.storageMigrationCapability.methods.drain.input.loose())
|
|
11961
|
+
.output(types_137.storageMigrationCapability.methods.drain.output)
|
|
11920
11962
|
.mutation(async ({ input, ctx }) => {
|
|
11921
11963
|
const { nodeId, ...methodInput } = input;
|
|
11922
11964
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11924,8 +11966,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11924
11966
|
return p.drain(methodInput);
|
|
11925
11967
|
}),
|
|
11926
11968
|
cleanupStart: trpc_middleware_js_1.adminProcedure
|
|
11927
|
-
.input(
|
|
11928
|
-
.output(
|
|
11969
|
+
.input(types_137.storageMigrationCapability.methods.cleanupStart.input.loose())
|
|
11970
|
+
.output(types_137.storageMigrationCapability.methods.cleanupStart.output)
|
|
11929
11971
|
.mutation(async ({ input, ctx }) => {
|
|
11930
11972
|
const { nodeId, ...methodInput } = input;
|
|
11931
11973
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11933,8 +11975,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11933
11975
|
return p.cleanupStart(methodInput);
|
|
11934
11976
|
}),
|
|
11935
11977
|
cleanupStatus: trpc_middleware_js_1.adminProcedure
|
|
11936
|
-
.input(
|
|
11937
|
-
.output(
|
|
11978
|
+
.input(types_137.storageMigrationCapability.methods.cleanupStatus.input.loose())
|
|
11979
|
+
.output(types_137.storageMigrationCapability.methods.cleanupStatus.output)
|
|
11938
11980
|
.query(async ({ input, ctx }) => {
|
|
11939
11981
|
const { nodeId, ...methodInput } = input;
|
|
11940
11982
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11942,8 +11984,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11942
11984
|
return p.cleanupStatus(methodInput);
|
|
11943
11985
|
}),
|
|
11944
11986
|
cleanupCancel: trpc_middleware_js_1.adminProcedure
|
|
11945
|
-
.input(
|
|
11946
|
-
.output(
|
|
11987
|
+
.input(types_137.storageMigrationCapability.methods.cleanupCancel.input.loose())
|
|
11988
|
+
.output(types_137.storageMigrationCapability.methods.cleanupCancel.output)
|
|
11947
11989
|
.mutation(async ({ input, ctx }) => {
|
|
11948
11990
|
const { nodeId, ...methodInput } = input;
|
|
11949
11991
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11951,8 +11993,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11951
11993
|
return p.cleanupCancel(methodInput);
|
|
11952
11994
|
}),
|
|
11953
11995
|
history: trpc_middleware_js_1.adminProcedure
|
|
11954
|
-
.input(
|
|
11955
|
-
.output(
|
|
11996
|
+
.input(types_137.storageMigrationCapability.methods.history.input.loose())
|
|
11997
|
+
.output(types_137.storageMigrationCapability.methods.history.output)
|
|
11956
11998
|
.query(async ({ input, ctx }) => {
|
|
11957
11999
|
const { nodeId, ...methodInput } = input;
|
|
11958
12000
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11964,8 +12006,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11964
12006
|
function createCapRouter_storageOccupancy(getProvider, createRemoteProxy) {
|
|
11965
12007
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11966
12008
|
getOccupancy: trpc_middleware_js_1.adminProcedure
|
|
11967
|
-
.input(
|
|
11968
|
-
.output(
|
|
12009
|
+
.input(types_138.storageOccupancyCapability.methods.getOccupancy.input.loose())
|
|
12010
|
+
.output(types_138.storageOccupancyCapability.methods.getOccupancy.output)
|
|
11969
12011
|
.query(async ({ input, ctx }) => {
|
|
11970
12012
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11971
12013
|
const p = resolveProvider('storage-occupancy', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11978,14 +12020,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11978
12020
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11979
12021
|
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
11980
12022
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11981
|
-
.output(
|
|
12023
|
+
.output(types_139.storageProviderCapability.methods.getProviderInfo.output)
|
|
11982
12024
|
.query(async ({ input, ctx }) => {
|
|
11983
12025
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11984
12026
|
return p.getProviderInfo();
|
|
11985
12027
|
}),
|
|
11986
12028
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11987
|
-
.input(
|
|
11988
|
-
.output(
|
|
12029
|
+
.input(types_139.storageProviderCapability.methods.testLocation.input.loose())
|
|
12030
|
+
.output(types_139.storageProviderCapability.methods.testLocation.output)
|
|
11989
12031
|
.query(async ({ input, ctx }) => {
|
|
11990
12032
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11991
12033
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11993,8 +12035,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11993
12035
|
return p.testLocation(methodInput);
|
|
11994
12036
|
}),
|
|
11995
12037
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11996
|
-
.input(
|
|
11997
|
-
.output(
|
|
12038
|
+
.input(types_139.storageProviderCapability.methods.resolve.input.loose())
|
|
12039
|
+
.output(types_139.storageProviderCapability.methods.resolve.output)
|
|
11998
12040
|
.query(async ({ input, ctx }) => {
|
|
11999
12041
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12000
12042
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12002,8 +12044,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12002
12044
|
return p.resolve(methodInput);
|
|
12003
12045
|
}),
|
|
12004
12046
|
write: trpc_middleware_js_1.adminProcedure
|
|
12005
|
-
.input(
|
|
12006
|
-
.output(
|
|
12047
|
+
.input(types_139.storageProviderCapability.methods.write.input.loose())
|
|
12048
|
+
.output(types_139.storageProviderCapability.methods.write.output)
|
|
12007
12049
|
.mutation(async ({ input, ctx }) => {
|
|
12008
12050
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12009
12051
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12011,8 +12053,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12011
12053
|
return p.write(methodInput);
|
|
12012
12054
|
}),
|
|
12013
12055
|
read: trpc_middleware_js_1.adminProcedure
|
|
12014
|
-
.input(
|
|
12015
|
-
.output(
|
|
12056
|
+
.input(types_139.storageProviderCapability.methods.read.input.loose())
|
|
12057
|
+
.output(types_139.storageProviderCapability.methods.read.output)
|
|
12016
12058
|
.query(async ({ input, ctx }) => {
|
|
12017
12059
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12018
12060
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12020,8 +12062,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12020
12062
|
return p.read(methodInput);
|
|
12021
12063
|
}),
|
|
12022
12064
|
exists: trpc_middleware_js_1.adminProcedure
|
|
12023
|
-
.input(
|
|
12024
|
-
.output(
|
|
12065
|
+
.input(types_139.storageProviderCapability.methods.exists.input.loose())
|
|
12066
|
+
.output(types_139.storageProviderCapability.methods.exists.output)
|
|
12025
12067
|
.query(async ({ input, ctx }) => {
|
|
12026
12068
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12027
12069
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12029,8 +12071,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12029
12071
|
return p.exists(methodInput);
|
|
12030
12072
|
}),
|
|
12031
12073
|
list: trpc_middleware_js_1.adminProcedure
|
|
12032
|
-
.input(
|
|
12033
|
-
.output(
|
|
12074
|
+
.input(types_139.storageProviderCapability.methods.list.input.loose())
|
|
12075
|
+
.output(types_139.storageProviderCapability.methods.list.output)
|
|
12034
12076
|
.query(async ({ input, ctx }) => {
|
|
12035
12077
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12036
12078
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12038,8 +12080,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12038
12080
|
return p.list(methodInput);
|
|
12039
12081
|
}),
|
|
12040
12082
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12041
|
-
.input(
|
|
12042
|
-
.output(
|
|
12083
|
+
.input(types_139.storageProviderCapability.methods.delete.input.loose())
|
|
12084
|
+
.output(types_139.storageProviderCapability.methods.delete.output)
|
|
12043
12085
|
.mutation(async ({ input, ctx }) => {
|
|
12044
12086
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12045
12087
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12047,8 +12089,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12047
12089
|
return p.delete(methodInput);
|
|
12048
12090
|
}),
|
|
12049
12091
|
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
12050
|
-
.input(
|
|
12051
|
-
.output(
|
|
12092
|
+
.input(types_139.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
12093
|
+
.output(types_139.storageProviderCapability.methods.getAvailableSpace.output)
|
|
12052
12094
|
.query(async ({ input, ctx }) => {
|
|
12053
12095
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12054
12096
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12056,8 +12098,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12056
12098
|
return p.getAvailableSpace(methodInput);
|
|
12057
12099
|
}),
|
|
12058
12100
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
12059
|
-
.input(
|
|
12060
|
-
.output(
|
|
12101
|
+
.input(types_139.storageProviderCapability.methods.beginUpload.input.loose())
|
|
12102
|
+
.output(types_139.storageProviderCapability.methods.beginUpload.output)
|
|
12061
12103
|
.mutation(async ({ input, ctx }) => {
|
|
12062
12104
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12063
12105
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12065,8 +12107,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12065
12107
|
return p.beginUpload(methodInput);
|
|
12066
12108
|
}),
|
|
12067
12109
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
12068
|
-
.input(
|
|
12069
|
-
.output(
|
|
12110
|
+
.input(types_139.storageProviderCapability.methods.writeChunk.input.loose())
|
|
12111
|
+
.output(types_139.storageProviderCapability.methods.writeChunk.output)
|
|
12070
12112
|
.mutation(async ({ input, ctx }) => {
|
|
12071
12113
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12072
12114
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12074,8 +12116,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12074
12116
|
return p.writeChunk(methodInput);
|
|
12075
12117
|
}),
|
|
12076
12118
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
12077
|
-
.input(
|
|
12078
|
-
.output(
|
|
12119
|
+
.input(types_139.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
12120
|
+
.output(types_139.storageProviderCapability.methods.finalizeUpload.output)
|
|
12079
12121
|
.mutation(async ({ input, ctx }) => {
|
|
12080
12122
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12081
12123
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12083,8 +12125,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12083
12125
|
return p.finalizeUpload(methodInput);
|
|
12084
12126
|
}),
|
|
12085
12127
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
12086
|
-
.input(
|
|
12087
|
-
.output(
|
|
12128
|
+
.input(types_139.storageProviderCapability.methods.abortUpload.input.loose())
|
|
12129
|
+
.output(types_139.storageProviderCapability.methods.abortUpload.output)
|
|
12088
12130
|
.mutation(async ({ input, ctx }) => {
|
|
12089
12131
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12090
12132
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12092,8 +12134,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12092
12134
|
return p.abortUpload(methodInput);
|
|
12093
12135
|
}),
|
|
12094
12136
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
12095
|
-
.input(
|
|
12096
|
-
.output(
|
|
12137
|
+
.input(types_139.storageProviderCapability.methods.beginDownload.input.loose())
|
|
12138
|
+
.output(types_139.storageProviderCapability.methods.beginDownload.output)
|
|
12097
12139
|
.mutation(async ({ input, ctx }) => {
|
|
12098
12140
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12099
12141
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12101,8 +12143,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12101
12143
|
return p.beginDownload(methodInput);
|
|
12102
12144
|
}),
|
|
12103
12145
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
12104
|
-
.input(
|
|
12105
|
-
.output(
|
|
12146
|
+
.input(types_139.storageProviderCapability.methods.readChunk.input.loose())
|
|
12147
|
+
.output(types_139.storageProviderCapability.methods.readChunk.output)
|
|
12106
12148
|
.query(async ({ input, ctx }) => {
|
|
12107
12149
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12108
12150
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12110,8 +12152,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12110
12152
|
return p.readChunk(methodInput);
|
|
12111
12153
|
}),
|
|
12112
12154
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
12113
|
-
.input(
|
|
12114
|
-
.output(
|
|
12155
|
+
.input(types_139.storageProviderCapability.methods.endDownload.input.loose())
|
|
12156
|
+
.output(types_139.storageProviderCapability.methods.endDownload.output)
|
|
12115
12157
|
.mutation(async ({ input, ctx }) => {
|
|
12116
12158
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12117
12159
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12150,8 +12192,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12150
12192
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
12151
12193
|
}),
|
|
12152
12194
|
reportStreamSignal: trpc_middleware_js_1.protectedProcedure
|
|
12153
|
-
.input(
|
|
12154
|
-
.output(
|
|
12195
|
+
.input(types_140.streamBrokerCapability.methods.reportStreamSignal.input.loose())
|
|
12196
|
+
.output(types_140.streamBrokerCapability.methods.reportStreamSignal.output)
|
|
12155
12197
|
.mutation(async ({ input, ctx }) => {
|
|
12156
12198
|
const { nodeId, ...methodInput } = input;
|
|
12157
12199
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12159,8 +12201,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12159
12201
|
return p.reportStreamSignal(methodInput);
|
|
12160
12202
|
}),
|
|
12161
12203
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
12162
|
-
.input(
|
|
12163
|
-
.output(
|
|
12204
|
+
.input(types_140.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
12205
|
+
.output(types_140.streamBrokerCapability.methods.publishCameraStream.output)
|
|
12164
12206
|
.mutation(async ({ input, ctx }) => {
|
|
12165
12207
|
const { nodeId, ...methodInput } = input;
|
|
12166
12208
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12168,8 +12210,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12168
12210
|
return p.publishCameraStream(methodInput);
|
|
12169
12211
|
}),
|
|
12170
12212
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
12171
|
-
.input(
|
|
12172
|
-
.output(
|
|
12213
|
+
.input(types_140.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
12214
|
+
.output(types_140.streamBrokerCapability.methods.retractCameraStream.output)
|
|
12173
12215
|
.mutation(async ({ input, ctx }) => {
|
|
12174
12216
|
const { nodeId, ...methodInput } = input;
|
|
12175
12217
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12177,8 +12219,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12177
12219
|
return p.retractCameraStream(methodInput);
|
|
12178
12220
|
}),
|
|
12179
12221
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
12180
|
-
.input(
|
|
12181
|
-
.output(
|
|
12222
|
+
.input(types_140.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
12223
|
+
.output(types_140.streamBrokerCapability.methods.assignProfile.output)
|
|
12182
12224
|
.mutation(async ({ input, ctx }) => {
|
|
12183
12225
|
const { nodeId, ...methodInput } = input;
|
|
12184
12226
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12186,8 +12228,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12186
12228
|
return p.assignProfile(methodInput);
|
|
12187
12229
|
}),
|
|
12188
12230
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
12189
|
-
.input(
|
|
12190
|
-
.output(
|
|
12231
|
+
.input(types_140.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
12232
|
+
.output(types_140.streamBrokerCapability.methods.unassignProfile.output)
|
|
12191
12233
|
.mutation(async ({ input, ctx }) => {
|
|
12192
12234
|
const { nodeId, ...methodInput } = input;
|
|
12193
12235
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12195,8 +12237,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12195
12237
|
return p.unassignProfile(methodInput);
|
|
12196
12238
|
}),
|
|
12197
12239
|
forgetDeviceHardware: trpc_middleware_js_1.adminProcedure
|
|
12198
|
-
.input(
|
|
12199
|
-
.output(
|
|
12240
|
+
.input(types_140.streamBrokerCapability.methods.forgetDeviceHardware.input.loose())
|
|
12241
|
+
.output(types_140.streamBrokerCapability.methods.forgetDeviceHardware.output)
|
|
12200
12242
|
.mutation(async ({ input, ctx }) => {
|
|
12201
12243
|
const { nodeId, ...methodInput } = input;
|
|
12202
12244
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12204,8 +12246,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12204
12246
|
return p.forgetDeviceHardware(methodInput);
|
|
12205
12247
|
}),
|
|
12206
12248
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
12207
|
-
.input(
|
|
12208
|
-
.output(
|
|
12249
|
+
.input(types_140.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
12250
|
+
.output(types_140.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
12209
12251
|
.mutation(async ({ input, ctx }) => {
|
|
12210
12252
|
const { nodeId, ...methodInput } = input;
|
|
12211
12253
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12213,8 +12255,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12213
12255
|
return p.renderPreBufferClip(methodInput);
|
|
12214
12256
|
}),
|
|
12215
12257
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
12216
|
-
.input(
|
|
12217
|
-
.output(
|
|
12258
|
+
.input(types_140.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
12259
|
+
.output(types_140.streamBrokerCapability.methods.produceEventMedia.output)
|
|
12218
12260
|
.mutation(async ({ input, ctx }) => {
|
|
12219
12261
|
const { nodeId, ...methodInput } = input;
|
|
12220
12262
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12222,8 +12264,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12222
12264
|
return p.produceEventMedia(methodInput);
|
|
12223
12265
|
}),
|
|
12224
12266
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
12225
|
-
.input(
|
|
12226
|
-
.output(
|
|
12267
|
+
.input(types_140.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
12268
|
+
.output(types_140.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
12227
12269
|
.mutation(async ({ input, ctx }) => {
|
|
12228
12270
|
const { nodeId, ...methodInput } = input;
|
|
12229
12271
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12232,21 +12274,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12232
12274
|
}),
|
|
12233
12275
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
12234
12276
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12235
|
-
.output(
|
|
12277
|
+
.output(types_140.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
12236
12278
|
.query(async ({ input, ctx }) => {
|
|
12237
12279
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12238
12280
|
return p.listAllCameraStreams();
|
|
12239
12281
|
}),
|
|
12240
12282
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
12241
12283
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12242
|
-
.output(
|
|
12284
|
+
.output(types_140.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
12243
12285
|
.query(async ({ input, ctx }) => {
|
|
12244
12286
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12245
12287
|
return p.listAllProfileSlots();
|
|
12246
12288
|
}),
|
|
12247
12289
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
12248
|
-
.input(
|
|
12249
|
-
.output(
|
|
12290
|
+
.input(types_140.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
12291
|
+
.output(types_140.streamBrokerCapability.methods.getBrokerStats.output)
|
|
12250
12292
|
.query(async ({ input, ctx }) => {
|
|
12251
12293
|
const { nodeId, ...methodInput } = input;
|
|
12252
12294
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12254,8 +12296,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12254
12296
|
return p.getBrokerStats(methodInput);
|
|
12255
12297
|
}),
|
|
12256
12298
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
12257
|
-
.input(
|
|
12258
|
-
.output(
|
|
12299
|
+
.input(types_140.streamBrokerCapability.methods.probeStream.input.loose())
|
|
12300
|
+
.output(types_140.streamBrokerCapability.methods.probeStream.output)
|
|
12259
12301
|
.mutation(async ({ input, ctx }) => {
|
|
12260
12302
|
const { nodeId, ...methodInput } = input;
|
|
12261
12303
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12263,8 +12305,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12263
12305
|
return p.probeStream(methodInput);
|
|
12264
12306
|
}),
|
|
12265
12307
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
12266
|
-
.input(
|
|
12267
|
-
.output(
|
|
12308
|
+
.input(types_140.streamBrokerCapability.methods.listClients.input.loose())
|
|
12309
|
+
.output(types_140.streamBrokerCapability.methods.listClients.output)
|
|
12268
12310
|
.query(async ({ input, ctx }) => {
|
|
12269
12311
|
const { nodeId, ...methodInput } = input;
|
|
12270
12312
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12273,14 +12315,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12273
12315
|
}),
|
|
12274
12316
|
getLiveViewerCounts: trpc_middleware_js_1.protectedProcedure
|
|
12275
12317
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12276
|
-
.output(
|
|
12318
|
+
.output(types_140.streamBrokerCapability.methods.getLiveViewerCounts.output)
|
|
12277
12319
|
.query(async ({ input, ctx }) => {
|
|
12278
12320
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12279
12321
|
return p.getLiveViewerCounts();
|
|
12280
12322
|
}),
|
|
12281
12323
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
12282
|
-
.input(
|
|
12283
|
-
.output(
|
|
12324
|
+
.input(types_140.streamBrokerCapability.methods.killClient.input.loose())
|
|
12325
|
+
.output(types_140.streamBrokerCapability.methods.killClient.output)
|
|
12284
12326
|
.mutation(async ({ input, ctx }) => {
|
|
12285
12327
|
const { nodeId, ...methodInput } = input;
|
|
12286
12328
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12288,8 +12330,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12288
12330
|
return p.killClient(methodInput);
|
|
12289
12331
|
}),
|
|
12290
12332
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
12291
|
-
.input(
|
|
12292
|
-
.output(
|
|
12333
|
+
.input(types_140.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
12334
|
+
.output(types_140.streamBrokerCapability.methods.restartProfile.output)
|
|
12293
12335
|
.mutation(async ({ input, ctx }) => {
|
|
12294
12336
|
const { nodeId, ...methodInput } = input;
|
|
12295
12337
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12297,8 +12339,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12297
12339
|
return p.restartProfile(methodInput);
|
|
12298
12340
|
}),
|
|
12299
12341
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
12300
|
-
.input(
|
|
12301
|
-
.output(
|
|
12342
|
+
.input(types_140.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
12343
|
+
.output(types_140.streamBrokerCapability.methods.getStreamUrl.output)
|
|
12302
12344
|
.query(async ({ input, ctx }) => {
|
|
12303
12345
|
const { nodeId, ...methodInput } = input;
|
|
12304
12346
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12306,8 +12348,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12306
12348
|
return p.getStreamUrl(methodInput);
|
|
12307
12349
|
}),
|
|
12308
12350
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
12309
|
-
.input(
|
|
12310
|
-
.output(
|
|
12351
|
+
.input(types_140.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
12352
|
+
.output(types_140.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
12311
12353
|
.mutation(async ({ input, ctx }) => {
|
|
12312
12354
|
const { nodeId, ...methodInput } = input;
|
|
12313
12355
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12315,8 +12357,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12315
12357
|
return p.getStreamWithCodec(methodInput);
|
|
12316
12358
|
}),
|
|
12317
12359
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
12318
|
-
.input(
|
|
12319
|
-
.output(
|
|
12360
|
+
.input(types_140.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
12361
|
+
.output(types_140.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
12320
12362
|
.mutation(async ({ input, ctx }) => {
|
|
12321
12363
|
const { nodeId, ...methodInput } = input;
|
|
12322
12364
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12324,8 +12366,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12324
12366
|
return p.releaseStreamWithCodec(methodInput);
|
|
12325
12367
|
}),
|
|
12326
12368
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
12327
|
-
.input(
|
|
12328
|
-
.output(
|
|
12369
|
+
.input(types_140.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
12370
|
+
.output(types_140.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
12329
12371
|
.mutation(async ({ input, ctx }) => {
|
|
12330
12372
|
const { nodeId, ...methodInput } = input;
|
|
12331
12373
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12333,8 +12375,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12333
12375
|
return p.acquireEgressTranscode(methodInput);
|
|
12334
12376
|
}),
|
|
12335
12377
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
12336
|
-
.input(
|
|
12337
|
-
.output(
|
|
12378
|
+
.input(types_140.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
12379
|
+
.output(types_140.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
12338
12380
|
.mutation(async ({ input, ctx }) => {
|
|
12339
12381
|
const { nodeId, ...methodInput } = input;
|
|
12340
12382
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12342,8 +12384,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12342
12384
|
return p.releaseEgressTranscode(methodInput);
|
|
12343
12385
|
}),
|
|
12344
12386
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12345
|
-
.input(
|
|
12346
|
-
.output(
|
|
12387
|
+
.input(types_140.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
12388
|
+
.output(types_140.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
12347
12389
|
.mutation(async ({ input, ctx }) => {
|
|
12348
12390
|
const { nodeId, ...methodInput } = input;
|
|
12349
12391
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12351,8 +12393,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12351
12393
|
return p.subscribeAudioChunks(methodInput);
|
|
12352
12394
|
}),
|
|
12353
12395
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12354
|
-
.input(
|
|
12355
|
-
.output(
|
|
12396
|
+
.input(types_140.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
12397
|
+
.output(types_140.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
12356
12398
|
.query(async ({ input, ctx }) => {
|
|
12357
12399
|
const { nodeId, ...methodInput } = input;
|
|
12358
12400
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12360,8 +12402,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12360
12402
|
return p.pullAudioChunks(methodInput);
|
|
12361
12403
|
}),
|
|
12362
12404
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12363
|
-
.input(
|
|
12364
|
-
.output(
|
|
12405
|
+
.input(types_140.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
12406
|
+
.output(types_140.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
12365
12407
|
.mutation(async ({ input, ctx }) => {
|
|
12366
12408
|
const { nodeId, ...methodInput } = input;
|
|
12367
12409
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12369,8 +12411,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12369
12411
|
return p.unsubscribeAudioChunks(methodInput);
|
|
12370
12412
|
}),
|
|
12371
12413
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
12372
|
-
.input(
|
|
12373
|
-
.output(
|
|
12414
|
+
.input(types_140.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
12415
|
+
.output(types_140.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
12374
12416
|
.mutation(async ({ input, ctx }) => {
|
|
12375
12417
|
const { nodeId, ...methodInput } = input;
|
|
12376
12418
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12378,8 +12420,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12378
12420
|
return p.setPreBufferDuration(methodInput);
|
|
12379
12421
|
}),
|
|
12380
12422
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
12381
|
-
.input(
|
|
12382
|
-
.output(
|
|
12423
|
+
.input(types_140.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
12424
|
+
.output(types_140.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
12383
12425
|
.query(async ({ input, ctx }) => {
|
|
12384
12426
|
const { nodeId, ...methodInput } = input;
|
|
12385
12427
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12388,14 +12430,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12388
12430
|
}),
|
|
12389
12431
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
12390
12432
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12391
|
-
.output(
|
|
12433
|
+
.output(types_140.streamBrokerCapability.methods.getRtspPort.output)
|
|
12392
12434
|
.query(async ({ input, ctx }) => {
|
|
12393
12435
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12394
12436
|
return p.getRtspPort();
|
|
12395
12437
|
}),
|
|
12396
12438
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
12397
|
-
.input(
|
|
12398
|
-
.output(
|
|
12439
|
+
.input(types_140.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
12440
|
+
.output(types_140.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
12399
12441
|
.query(async ({ input, ctx }) => {
|
|
12400
12442
|
const { nodeId, ...methodInput } = input;
|
|
12401
12443
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12403,8 +12445,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12403
12445
|
return p.getAllRtspEntries(methodInput);
|
|
12404
12446
|
}),
|
|
12405
12447
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
12406
|
-
.input(
|
|
12407
|
-
.output(
|
|
12448
|
+
.input(types_140.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
12449
|
+
.output(types_140.streamBrokerCapability.methods.getRtspEntry.output)
|
|
12408
12450
|
.query(async ({ input, ctx }) => {
|
|
12409
12451
|
const { nodeId, ...methodInput } = input;
|
|
12410
12452
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12412,8 +12454,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12412
12454
|
return p.getRtspEntry(methodInput);
|
|
12413
12455
|
}),
|
|
12414
12456
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
12415
|
-
.input(
|
|
12416
|
-
.output(
|
|
12457
|
+
.input(types_140.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
12458
|
+
.output(types_140.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
12417
12459
|
.mutation(async ({ input, ctx }) => {
|
|
12418
12460
|
const { nodeId, ...methodInput } = input;
|
|
12419
12461
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12421,8 +12463,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12421
12463
|
return p.regenerateRtspToken(methodInput);
|
|
12422
12464
|
}),
|
|
12423
12465
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
12424
|
-
.input(
|
|
12425
|
-
.output(
|
|
12466
|
+
.input(types_140.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
12467
|
+
.output(types_140.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
12426
12468
|
.mutation(async ({ input, ctx }) => {
|
|
12427
12469
|
const { nodeId, ...methodInput } = input;
|
|
12428
12470
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12430,8 +12472,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12430
12472
|
return p.setRtspEnabled(methodInput);
|
|
12431
12473
|
}),
|
|
12432
12474
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
12433
|
-
.input(
|
|
12434
|
-
.output(
|
|
12475
|
+
.input(types_140.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
12476
|
+
.output(types_140.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
12435
12477
|
.query(async ({ input, ctx }) => {
|
|
12436
12478
|
const { nodeId, ...methodInput } = input;
|
|
12437
12479
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12439,8 +12481,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12439
12481
|
return p.isRtspEnabled(methodInput);
|
|
12440
12482
|
}),
|
|
12441
12483
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
12442
|
-
.input(
|
|
12443
|
-
.output(
|
|
12484
|
+
.input(types_140.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
12485
|
+
.output(types_140.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
12444
12486
|
.query(async ({ input, ctx }) => {
|
|
12445
12487
|
const { nodeId, ...methodInput } = input;
|
|
12446
12488
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12448,8 +12490,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12448
12490
|
return p.getDeviceAudioMute(methodInput);
|
|
12449
12491
|
}),
|
|
12450
12492
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
12451
|
-
.input(
|
|
12452
|
-
.output(
|
|
12493
|
+
.input(types_140.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
12494
|
+
.output(types_140.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
12453
12495
|
.mutation(async ({ input, ctx }) => {
|
|
12454
12496
|
const { nodeId, ...methodInput } = input;
|
|
12455
12497
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12461,8 +12503,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12461
12503
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
12462
12504
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12463
12505
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
12464
|
-
.input(
|
|
12465
|
-
.output(
|
|
12506
|
+
.input(types_141.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
12507
|
+
.output(types_141.streamCatalogCapability.methods.getCatalog.output)
|
|
12466
12508
|
.query(async ({ input, ctx }) => {
|
|
12467
12509
|
const { nodeId, ...methodInput } = input;
|
|
12468
12510
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12483,8 +12525,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12483
12525
|
return p.getStatus(methodInput);
|
|
12484
12526
|
}),
|
|
12485
12527
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
12486
|
-
.input(
|
|
12487
|
-
.output(
|
|
12528
|
+
.input(types_142.streamParamsCapability.methods.getOptions.input.loose())
|
|
12529
|
+
.output(types_142.streamParamsCapability.methods.getOptions.output)
|
|
12488
12530
|
.query(async ({ input, ctx }) => {
|
|
12489
12531
|
const { nodeId, ...methodInput } = input;
|
|
12490
12532
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12492,8 +12534,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12492
12534
|
return p.getOptions(methodInput);
|
|
12493
12535
|
}),
|
|
12494
12536
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
12495
|
-
.input(
|
|
12496
|
-
.output(
|
|
12537
|
+
.input(types_142.streamParamsCapability.methods.setProfile.input.loose())
|
|
12538
|
+
.output(types_142.streamParamsCapability.methods.setProfile.output)
|
|
12497
12539
|
.mutation(async ({ input, ctx }) => {
|
|
12498
12540
|
const { nodeId, ...methodInput } = input;
|
|
12499
12541
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12501,8 +12543,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12501
12543
|
return p.setProfile(methodInput);
|
|
12502
12544
|
}),
|
|
12503
12545
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
12504
|
-
.input(
|
|
12505
|
-
.output(
|
|
12546
|
+
.input(types_142.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
12547
|
+
.output(types_142.streamParamsCapability.methods.getConfigSchema.output)
|
|
12506
12548
|
.query(async ({ input, ctx }) => {
|
|
12507
12549
|
const { nodeId, ...methodInput } = input;
|
|
12508
12550
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12515,7 +12557,7 @@ function createCapRouter_streamSignals(getProvider, createRemoteProxy) {
|
|
|
12515
12557
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12516
12558
|
listSignals: trpc_middleware_js_1.protectedProcedure
|
|
12517
12559
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12518
|
-
.output(
|
|
12560
|
+
.output(types_143.streamSignalsCapability.methods.listSignals.output)
|
|
12519
12561
|
.query(async ({ input, ctx }) => {
|
|
12520
12562
|
const p = resolveProvider('stream-signals', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12521
12563
|
return p.listSignals();
|
|
@@ -12534,8 +12576,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
12534
12576
|
return p.getStatus(methodInput);
|
|
12535
12577
|
}),
|
|
12536
12578
|
setState: trpc_middleware_js_1.protectedProcedure
|
|
12537
|
-
.input(
|
|
12538
|
-
.output(
|
|
12579
|
+
.input(types_144.switchCapability.methods.setState.input.loose())
|
|
12580
|
+
.output(types_144.switchCapability.methods.setState.output)
|
|
12539
12581
|
.mutation(async ({ input, ctx }) => {
|
|
12540
12582
|
const { nodeId, ...methodInput } = input;
|
|
12541
12583
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12548,98 +12590,98 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12548
12590
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12549
12591
|
info: trpc_middleware_js_1.protectedProcedure
|
|
12550
12592
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12551
|
-
.output(
|
|
12593
|
+
.output(types_145.systemCapability.methods.info.output)
|
|
12552
12594
|
.query(async ({ input, ctx }) => {
|
|
12553
12595
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12554
12596
|
return p.info();
|
|
12555
12597
|
}),
|
|
12556
12598
|
health: trpc_middleware_js_1.protectedProcedure
|
|
12557
12599
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12558
|
-
.output(
|
|
12600
|
+
.output(types_145.systemCapability.methods.health.output)
|
|
12559
12601
|
.query(async ({ input, ctx }) => {
|
|
12560
12602
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12561
12603
|
return p.health();
|
|
12562
12604
|
}),
|
|
12563
12605
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
12564
12606
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12565
|
-
.output(
|
|
12607
|
+
.output(types_145.systemCapability.methods.featureFlags.output)
|
|
12566
12608
|
.query(async ({ input, ctx }) => {
|
|
12567
12609
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12568
12610
|
return p.featureFlags();
|
|
12569
12611
|
}),
|
|
12570
12612
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
12571
12613
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12572
|
-
.output(
|
|
12614
|
+
.output(types_145.systemCapability.methods.networkAddresses.output)
|
|
12573
12615
|
.query(async ({ input, ctx }) => {
|
|
12574
12616
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12575
12617
|
return p.networkAddresses();
|
|
12576
12618
|
}),
|
|
12577
12619
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12578
12620
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12579
|
-
.output(
|
|
12621
|
+
.output(types_145.systemCapability.methods.getRetentionConfig.output)
|
|
12580
12622
|
.query(async ({ input, ctx }) => {
|
|
12581
12623
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12582
12624
|
return p.getRetentionConfig();
|
|
12583
12625
|
}),
|
|
12584
12626
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12585
|
-
.input(
|
|
12586
|
-
.output(
|
|
12627
|
+
.input(types_145.systemCapability.methods.setRetentionConfig.input)
|
|
12628
|
+
.output(types_145.systemCapability.methods.setRetentionConfig.output)
|
|
12587
12629
|
.mutation(async ({ input, ctx }) => {
|
|
12588
12630
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12589
12631
|
return p.setRetentionConfig(input);
|
|
12590
12632
|
}),
|
|
12591
12633
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
12592
12634
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12593
|
-
.output(
|
|
12635
|
+
.output(types_145.systemCapability.methods.forceRetentionCleanup.output)
|
|
12594
12636
|
.mutation(async ({ input, ctx }) => {
|
|
12595
12637
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12596
12638
|
return p.forceRetentionCleanup();
|
|
12597
12639
|
}),
|
|
12598
12640
|
getSiteLocation: trpc_middleware_js_1.protectedProcedure
|
|
12599
12641
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12600
|
-
.output(
|
|
12642
|
+
.output(types_145.systemCapability.methods.getSiteLocation.output)
|
|
12601
12643
|
.query(async ({ input, ctx }) => {
|
|
12602
12644
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12603
12645
|
return p.getSiteLocation();
|
|
12604
12646
|
}),
|
|
12605
12647
|
setSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12606
|
-
.input(
|
|
12607
|
-
.output(
|
|
12648
|
+
.input(types_145.systemCapability.methods.setSiteLocation.input)
|
|
12649
|
+
.output(types_145.systemCapability.methods.setSiteLocation.output)
|
|
12608
12650
|
.mutation(async ({ input, ctx }) => {
|
|
12609
12651
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12610
12652
|
return p.setSiteLocation(input);
|
|
12611
12653
|
}),
|
|
12612
12654
|
detectSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12613
12655
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12614
|
-
.output(
|
|
12656
|
+
.output(types_145.systemCapability.methods.detectSiteLocation.output)
|
|
12615
12657
|
.mutation(async ({ input, ctx }) => {
|
|
12616
12658
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12617
12659
|
return p.detectSiteLocation();
|
|
12618
12660
|
}),
|
|
12619
12661
|
getRequestCensus: trpc_middleware_js_1.adminProcedure
|
|
12620
12662
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12621
|
-
.output(
|
|
12663
|
+
.output(types_145.systemCapability.methods.getRequestCensus.output)
|
|
12622
12664
|
.query(async ({ input, ctx }) => {
|
|
12623
12665
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12624
12666
|
return p.getRequestCensus();
|
|
12625
12667
|
}),
|
|
12626
12668
|
getLoadContributions: trpc_middleware_js_1.adminProcedure
|
|
12627
12669
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12628
|
-
.output(
|
|
12670
|
+
.output(types_145.systemCapability.methods.getLoadContributions.output)
|
|
12629
12671
|
.query(async ({ input, ctx }) => {
|
|
12630
12672
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12631
12673
|
return p.getLoadContributions();
|
|
12632
12674
|
}),
|
|
12633
12675
|
getFailureContributions: trpc_middleware_js_1.adminProcedure
|
|
12634
12676
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12635
|
-
.output(
|
|
12677
|
+
.output(types_145.systemCapability.methods.getFailureContributions.output)
|
|
12636
12678
|
.query(async ({ input, ctx }) => {
|
|
12637
12679
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12638
12680
|
return p.getFailureContributions();
|
|
12639
12681
|
}),
|
|
12640
12682
|
getLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12641
|
-
.input(
|
|
12642
|
-
.output(
|
|
12683
|
+
.input(types_145.systemCapability.methods.getLoggingSettings.input.loose())
|
|
12684
|
+
.output(types_145.systemCapability.methods.getLoggingSettings.output)
|
|
12643
12685
|
.query(async ({ input, ctx }) => {
|
|
12644
12686
|
const { nodeId, ...methodInput } = input;
|
|
12645
12687
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12647,8 +12689,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12647
12689
|
return p.getLoggingSettings(methodInput);
|
|
12648
12690
|
}),
|
|
12649
12691
|
setLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12650
|
-
.input(
|
|
12651
|
-
.output(
|
|
12692
|
+
.input(types_145.systemCapability.methods.setLoggingSettings.input.loose())
|
|
12693
|
+
.output(types_145.systemCapability.methods.setLoggingSettings.output)
|
|
12652
12694
|
.mutation(async ({ input, ctx }) => {
|
|
12653
12695
|
const { nodeId, ...methodInput } = input;
|
|
12654
12696
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12686,8 +12728,8 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
12686
12728
|
function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
12687
12729
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12688
12730
|
list: trpc_middleware_js_1.protectedProcedure
|
|
12689
|
-
.input(
|
|
12690
|
-
.output(
|
|
12731
|
+
.input(types_146.templateCapability.methods.list.input.loose())
|
|
12732
|
+
.output(types_146.templateCapability.methods.list.output)
|
|
12691
12733
|
.query(async ({ input, ctx }) => {
|
|
12692
12734
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12693
12735
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12695,8 +12737,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12695
12737
|
return p.list(methodInput);
|
|
12696
12738
|
}),
|
|
12697
12739
|
get: trpc_middleware_js_1.protectedProcedure
|
|
12698
|
-
.input(
|
|
12699
|
-
.output(
|
|
12740
|
+
.input(types_146.templateCapability.methods.get.input.loose())
|
|
12741
|
+
.output(types_146.templateCapability.methods.get.output)
|
|
12700
12742
|
.query(async ({ input, ctx }) => {
|
|
12701
12743
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12702
12744
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12704,8 +12746,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12704
12746
|
return p.get(methodInput);
|
|
12705
12747
|
}),
|
|
12706
12748
|
create: trpc_middleware_js_1.adminProcedure
|
|
12707
|
-
.input(
|
|
12708
|
-
.output(
|
|
12749
|
+
.input(types_146.templateCapability.methods.create.input.loose())
|
|
12750
|
+
.output(types_146.templateCapability.methods.create.output)
|
|
12709
12751
|
.mutation(async ({ input, ctx }) => {
|
|
12710
12752
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12711
12753
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12713,8 +12755,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12713
12755
|
return p.create(methodInput);
|
|
12714
12756
|
}),
|
|
12715
12757
|
update: trpc_middleware_js_1.adminProcedure
|
|
12716
|
-
.input(
|
|
12717
|
-
.output(
|
|
12758
|
+
.input(types_146.templateCapability.methods.update.input.loose())
|
|
12759
|
+
.output(types_146.templateCapability.methods.update.output)
|
|
12718
12760
|
.mutation(async ({ input, ctx }) => {
|
|
12719
12761
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12720
12762
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12722,8 +12764,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12722
12764
|
return p.update(methodInput);
|
|
12723
12765
|
}),
|
|
12724
12766
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12725
|
-
.input(
|
|
12726
|
-
.output(
|
|
12767
|
+
.input(types_146.templateCapability.methods.delete.input.loose())
|
|
12768
|
+
.output(types_146.templateCapability.methods.delete.output)
|
|
12727
12769
|
.mutation(async ({ input, ctx }) => {
|
|
12728
12770
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12729
12771
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12736,21 +12778,21 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12736
12778
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12737
12779
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
12738
12780
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12739
|
-
.output(
|
|
12781
|
+
.output(types_147.terminalSessionCapability.methods.listProfiles.output)
|
|
12740
12782
|
.query(async ({ input, ctx }) => {
|
|
12741
12783
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12742
12784
|
return p.listProfiles();
|
|
12743
12785
|
}),
|
|
12744
12786
|
listInstances: trpc_middleware_js_1.adminProcedure
|
|
12745
12787
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12746
|
-
.output(
|
|
12788
|
+
.output(types_147.terminalSessionCapability.methods.listInstances.output)
|
|
12747
12789
|
.query(async ({ input, ctx }) => {
|
|
12748
12790
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12749
12791
|
return p.listInstances();
|
|
12750
12792
|
}),
|
|
12751
12793
|
createInstance: trpc_middleware_js_1.adminProcedure
|
|
12752
|
-
.input(
|
|
12753
|
-
.output(
|
|
12794
|
+
.input(types_147.terminalSessionCapability.methods.createInstance.input.loose())
|
|
12795
|
+
.output(types_147.terminalSessionCapability.methods.createInstance.output)
|
|
12754
12796
|
.mutation(async ({ input, ctx }) => {
|
|
12755
12797
|
const { nodeId, ...methodInput } = input;
|
|
12756
12798
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12758,8 +12800,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12758
12800
|
return p.createInstance(methodInput);
|
|
12759
12801
|
}),
|
|
12760
12802
|
updateInstance: trpc_middleware_js_1.adminProcedure
|
|
12761
|
-
.input(
|
|
12762
|
-
.output(
|
|
12803
|
+
.input(types_147.terminalSessionCapability.methods.updateInstance.input.loose())
|
|
12804
|
+
.output(types_147.terminalSessionCapability.methods.updateInstance.output)
|
|
12763
12805
|
.mutation(async ({ input, ctx }) => {
|
|
12764
12806
|
const { nodeId, ...methodInput } = input;
|
|
12765
12807
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12767,8 +12809,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12767
12809
|
return p.updateInstance(methodInput);
|
|
12768
12810
|
}),
|
|
12769
12811
|
deleteInstance: trpc_middleware_js_1.adminProcedure
|
|
12770
|
-
.input(
|
|
12771
|
-
.output(
|
|
12812
|
+
.input(types_147.terminalSessionCapability.methods.deleteInstance.input.loose())
|
|
12813
|
+
.output(types_147.terminalSessionCapability.methods.deleteInstance.output)
|
|
12772
12814
|
.mutation(async ({ input, ctx }) => {
|
|
12773
12815
|
const { nodeId, ...methodInput } = input;
|
|
12774
12816
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12776,8 +12818,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12776
12818
|
return p.deleteInstance(methodInput);
|
|
12777
12819
|
}),
|
|
12778
12820
|
setInstanceEnabled: trpc_middleware_js_1.adminProcedure
|
|
12779
|
-
.input(
|
|
12780
|
-
.output(
|
|
12821
|
+
.input(types_147.terminalSessionCapability.methods.setInstanceEnabled.input.loose())
|
|
12822
|
+
.output(types_147.terminalSessionCapability.methods.setInstanceEnabled.output)
|
|
12781
12823
|
.mutation(async ({ input, ctx }) => {
|
|
12782
12824
|
const { nodeId, ...methodInput } = input;
|
|
12783
12825
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12786,14 +12828,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12786
12828
|
}),
|
|
12787
12829
|
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
12788
12830
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12789
|
-
.output(
|
|
12831
|
+
.output(types_147.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
12790
12832
|
.query(async ({ input, ctx }) => {
|
|
12791
12833
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12792
12834
|
return p.listLegacyCameras();
|
|
12793
12835
|
}),
|
|
12794
12836
|
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
12795
|
-
.input(
|
|
12796
|
-
.output(
|
|
12837
|
+
.input(types_147.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
12838
|
+
.output(types_147.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
12797
12839
|
.mutation(async ({ input, ctx }) => {
|
|
12798
12840
|
const { nodeId, ...methodInput } = input;
|
|
12799
12841
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12802,14 +12844,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12802
12844
|
}),
|
|
12803
12845
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
12804
12846
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12805
|
-
.output(
|
|
12847
|
+
.output(types_147.terminalSessionCapability.methods.listSessions.output)
|
|
12806
12848
|
.query(async ({ input, ctx }) => {
|
|
12807
12849
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12808
12850
|
return p.listSessions();
|
|
12809
12851
|
}),
|
|
12810
12852
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
12811
|
-
.input(
|
|
12812
|
-
.output(
|
|
12853
|
+
.input(types_147.terminalSessionCapability.methods.openSession.input.loose())
|
|
12854
|
+
.output(types_147.terminalSessionCapability.methods.openSession.output)
|
|
12813
12855
|
.mutation(async ({ input, ctx }) => {
|
|
12814
12856
|
const { nodeId, ...methodInput } = input;
|
|
12815
12857
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12817,8 +12859,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12817
12859
|
return p.openSession(methodInput);
|
|
12818
12860
|
}),
|
|
12819
12861
|
resize: trpc_middleware_js_1.adminProcedure
|
|
12820
|
-
.input(
|
|
12821
|
-
.output(
|
|
12862
|
+
.input(types_147.terminalSessionCapability.methods.resize.input.loose())
|
|
12863
|
+
.output(types_147.terminalSessionCapability.methods.resize.output)
|
|
12822
12864
|
.mutation(async ({ input, ctx }) => {
|
|
12823
12865
|
const { nodeId, ...methodInput } = input;
|
|
12824
12866
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12826,8 +12868,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12826
12868
|
return p.resize(methodInput);
|
|
12827
12869
|
}),
|
|
12828
12870
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
12829
|
-
.input(
|
|
12830
|
-
.output(
|
|
12871
|
+
.input(types_147.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
12872
|
+
.output(types_147.terminalSessionCapability.methods.pullOutput.output)
|
|
12831
12873
|
.mutation(async ({ input, ctx }) => {
|
|
12832
12874
|
const { nodeId, ...methodInput } = input;
|
|
12833
12875
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12835,8 +12877,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12835
12877
|
return p.pullOutput(methodInput);
|
|
12836
12878
|
}),
|
|
12837
12879
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
12838
|
-
.input(
|
|
12839
|
-
.output(
|
|
12880
|
+
.input(types_147.terminalSessionCapability.methods.writeInput.input.loose())
|
|
12881
|
+
.output(types_147.terminalSessionCapability.methods.writeInput.output)
|
|
12840
12882
|
.mutation(async ({ input, ctx }) => {
|
|
12841
12883
|
const { nodeId, ...methodInput } = input;
|
|
12842
12884
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12844,8 +12886,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12844
12886
|
return p.writeInput(methodInput);
|
|
12845
12887
|
}),
|
|
12846
12888
|
close: trpc_middleware_js_1.adminProcedure
|
|
12847
|
-
.input(
|
|
12848
|
-
.output(
|
|
12889
|
+
.input(types_147.terminalSessionCapability.methods.close.input.loose())
|
|
12890
|
+
.output(types_147.terminalSessionCapability.methods.close.output)
|
|
12849
12891
|
.mutation(async ({ input, ctx }) => {
|
|
12850
12892
|
const { nodeId, ...methodInput } = input;
|
|
12851
12893
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12857,7 +12899,7 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12857
12899
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
12858
12900
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12859
12901
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
12860
|
-
.input(
|
|
12902
|
+
.input(types_148.toastCapability.methods.onToast.input)
|
|
12861
12903
|
.subscription(({ input, ctx }) => {
|
|
12862
12904
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
12863
12905
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -12869,8 +12911,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
12869
12911
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
12870
12912
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12871
12913
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
12872
|
-
.input(
|
|
12873
|
-
.output(
|
|
12914
|
+
.input(types_149.trainingCapability.methods.listBaseModels.input.loose())
|
|
12915
|
+
.output(types_149.trainingCapability.methods.listBaseModels.output)
|
|
12874
12916
|
.query(async ({ input, ctx }) => {
|
|
12875
12917
|
const { nodeId, ...methodInput } = input;
|
|
12876
12918
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12878,8 +12920,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12878
12920
|
return p.listBaseModels(methodInput);
|
|
12879
12921
|
}),
|
|
12880
12922
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
12881
|
-
.input(
|
|
12882
|
-
.output(
|
|
12923
|
+
.input(types_149.trainingCapability.methods.planJob.input.loose())
|
|
12924
|
+
.output(types_149.trainingCapability.methods.planJob.output)
|
|
12883
12925
|
.query(async ({ input, ctx }) => {
|
|
12884
12926
|
const { nodeId, ...methodInput } = input;
|
|
12885
12927
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12887,8 +12929,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12887
12929
|
return p.planJob(methodInput);
|
|
12888
12930
|
}),
|
|
12889
12931
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
12890
|
-
.input(
|
|
12891
|
-
.output(
|
|
12932
|
+
.input(types_149.trainingCapability.methods.startJob.input.loose())
|
|
12933
|
+
.output(types_149.trainingCapability.methods.startJob.output)
|
|
12892
12934
|
.mutation(async ({ input, ctx }) => {
|
|
12893
12935
|
const { nodeId, ...methodInput } = input;
|
|
12894
12936
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12896,8 +12938,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12896
12938
|
return p.startJob(methodInput);
|
|
12897
12939
|
}),
|
|
12898
12940
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
12899
|
-
.input(
|
|
12900
|
-
.output(
|
|
12941
|
+
.input(types_149.trainingCapability.methods.startJobBatch.input.loose())
|
|
12942
|
+
.output(types_149.trainingCapability.methods.startJobBatch.output)
|
|
12901
12943
|
.mutation(async ({ input, ctx }) => {
|
|
12902
12944
|
const { nodeId, ...methodInput } = input;
|
|
12903
12945
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12905,8 +12947,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12905
12947
|
return p.startJobBatch(methodInput);
|
|
12906
12948
|
}),
|
|
12907
12949
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
12908
|
-
.input(
|
|
12909
|
-
.output(
|
|
12950
|
+
.input(types_149.trainingCapability.methods.listJobs.input.loose())
|
|
12951
|
+
.output(types_149.trainingCapability.methods.listJobs.output)
|
|
12910
12952
|
.query(async ({ input, ctx }) => {
|
|
12911
12953
|
const { nodeId, ...methodInput } = input;
|
|
12912
12954
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12914,8 +12956,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12914
12956
|
return p.listJobs(methodInput);
|
|
12915
12957
|
}),
|
|
12916
12958
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12917
|
-
.input(
|
|
12918
|
-
.output(
|
|
12959
|
+
.input(types_149.trainingCapability.methods.getJob.input.loose())
|
|
12960
|
+
.output(types_149.trainingCapability.methods.getJob.output)
|
|
12919
12961
|
.query(async ({ input, ctx }) => {
|
|
12920
12962
|
const { nodeId, ...methodInput } = input;
|
|
12921
12963
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12923,8 +12965,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12923
12965
|
return p.getJob(methodInput);
|
|
12924
12966
|
}),
|
|
12925
12967
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12926
|
-
.input(
|
|
12927
|
-
.output(
|
|
12968
|
+
.input(types_149.trainingCapability.methods.cancelJob.input.loose())
|
|
12969
|
+
.output(types_149.trainingCapability.methods.cancelJob.output)
|
|
12928
12970
|
.mutation(async ({ input, ctx }) => {
|
|
12929
12971
|
const { nodeId, ...methodInput } = input;
|
|
12930
12972
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12932,8 +12974,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12932
12974
|
return p.cancelJob(methodInput);
|
|
12933
12975
|
}),
|
|
12934
12976
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
12935
|
-
.input(
|
|
12936
|
-
.output(
|
|
12977
|
+
.input(types_149.trainingCapability.methods.getJobResult.input.loose())
|
|
12978
|
+
.output(types_149.trainingCapability.methods.getJobResult.output)
|
|
12937
12979
|
.query(async ({ input, ctx }) => {
|
|
12938
12980
|
const { nodeId, ...methodInput } = input;
|
|
12939
12981
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12942,14 +12984,14 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12942
12984
|
}),
|
|
12943
12985
|
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
12944
12986
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12945
|
-
.output(
|
|
12987
|
+
.output(types_149.trainingCapability.methods.listCanaryTargets.output)
|
|
12946
12988
|
.query(async ({ input, ctx }) => {
|
|
12947
12989
|
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12948
12990
|
return p.listCanaryTargets();
|
|
12949
12991
|
}),
|
|
12950
12992
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
12951
|
-
.input(
|
|
12952
|
-
.output(
|
|
12993
|
+
.input(types_149.trainingCapability.methods.registerResult.input.loose())
|
|
12994
|
+
.output(types_149.trainingCapability.methods.registerResult.output)
|
|
12953
12995
|
.mutation(async ({ input, ctx }) => {
|
|
12954
12996
|
const { nodeId, ...methodInput } = input;
|
|
12955
12997
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12957,8 +12999,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12957
12999
|
return p.registerResult(methodInput);
|
|
12958
13000
|
}),
|
|
12959
13001
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
12960
|
-
.input(
|
|
12961
|
-
.output(
|
|
13002
|
+
.input(types_149.trainingCapability.methods.canaryResult.input.loose())
|
|
13003
|
+
.output(types_149.trainingCapability.methods.canaryResult.output)
|
|
12962
13004
|
.mutation(async ({ input, ctx }) => {
|
|
12963
13005
|
const { nodeId, ...methodInput } = input;
|
|
12964
13006
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12966,8 +13008,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12966
13008
|
return p.canaryResult(methodInput);
|
|
12967
13009
|
}),
|
|
12968
13010
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
12969
|
-
.input(
|
|
12970
|
-
.output(
|
|
13011
|
+
.input(types_149.trainingCapability.methods.rollbackCanary.input.loose())
|
|
13012
|
+
.output(types_149.trainingCapability.methods.rollbackCanary.output)
|
|
12971
13013
|
.mutation(async ({ input, ctx }) => {
|
|
12972
13014
|
const { nodeId, ...methodInput } = input;
|
|
12973
13015
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12975,8 +13017,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12975
13017
|
return p.rollbackCanary(methodInput);
|
|
12976
13018
|
}),
|
|
12977
13019
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
12978
|
-
.input(
|
|
12979
|
-
.output(
|
|
13020
|
+
.input(types_149.trainingCapability.methods.discardResult.input.loose())
|
|
13021
|
+
.output(types_149.trainingCapability.methods.discardResult.output)
|
|
12980
13022
|
.mutation(async ({ input, ctx }) => {
|
|
12981
13023
|
const { nodeId, ...methodInput } = input;
|
|
12982
13024
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12988,8 +13030,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12988
13030
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
12989
13031
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12990
13032
|
describe: trpc_middleware_js_1.adminProcedure
|
|
12991
|
-
.input(
|
|
12992
|
-
.output(
|
|
13033
|
+
.input(types_150.trainingProviderCapability.methods.describe.input.loose())
|
|
13034
|
+
.output(types_150.trainingProviderCapability.methods.describe.output)
|
|
12993
13035
|
.query(async ({ input, ctx }) => {
|
|
12994
13036
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12995
13037
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12997,8 +13039,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12997
13039
|
return p.describe(methodInput);
|
|
12998
13040
|
}),
|
|
12999
13041
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
13000
|
-
.input(
|
|
13001
|
-
.output(
|
|
13042
|
+
.input(types_150.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
13043
|
+
.output(types_150.trainingProviderCapability.methods.describeTypes.output)
|
|
13002
13044
|
.query(async ({ input, ctx }) => {
|
|
13003
13045
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13004
13046
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13006,8 +13048,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13006
13048
|
return p.describeTypes(methodInput);
|
|
13007
13049
|
}),
|
|
13008
13050
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
13009
|
-
.input(
|
|
13010
|
-
.output(
|
|
13051
|
+
.input(types_150.trainingProviderCapability.methods.listEntries.input.loose())
|
|
13052
|
+
.output(types_150.trainingProviderCapability.methods.listEntries.output)
|
|
13011
13053
|
.query(async ({ input, ctx }) => {
|
|
13012
13054
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13013
13055
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13015,8 +13057,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13015
13057
|
return p.listEntries(methodInput);
|
|
13016
13058
|
}),
|
|
13017
13059
|
createEntry: trpc_middleware_js_1.adminProcedure
|
|
13018
|
-
.input(
|
|
13019
|
-
.output(
|
|
13060
|
+
.input(types_150.trainingProviderCapability.methods.createEntry.input.loose())
|
|
13061
|
+
.output(types_150.trainingProviderCapability.methods.createEntry.output)
|
|
13020
13062
|
.mutation(async ({ input, ctx }) => {
|
|
13021
13063
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13022
13064
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13024,8 +13066,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13024
13066
|
return p.createEntry(methodInput);
|
|
13025
13067
|
}),
|
|
13026
13068
|
deleteEntry: trpc_middleware_js_1.adminProcedure
|
|
13027
|
-
.input(
|
|
13028
|
-
.output(
|
|
13069
|
+
.input(types_150.trainingProviderCapability.methods.deleteEntry.input.loose())
|
|
13070
|
+
.output(types_150.trainingProviderCapability.methods.deleteEntry.output)
|
|
13029
13071
|
.mutation(async ({ input, ctx }) => {
|
|
13030
13072
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13031
13073
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13033,8 +13075,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13033
13075
|
return p.deleteEntry(methodInput);
|
|
13034
13076
|
}),
|
|
13035
13077
|
updateEntry: trpc_middleware_js_1.adminProcedure
|
|
13036
|
-
.input(
|
|
13037
|
-
.output(
|
|
13078
|
+
.input(types_150.trainingProviderCapability.methods.updateEntry.input.loose())
|
|
13079
|
+
.output(types_150.trainingProviderCapability.methods.updateEntry.output)
|
|
13038
13080
|
.mutation(async ({ input, ctx }) => {
|
|
13039
13081
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13040
13082
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13042,8 +13084,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13042
13084
|
return p.updateEntry(methodInput);
|
|
13043
13085
|
}),
|
|
13044
13086
|
validateCredentials: trpc_middleware_js_1.adminProcedure
|
|
13045
|
-
.input(
|
|
13046
|
-
.output(
|
|
13087
|
+
.input(types_150.trainingProviderCapability.methods.validateCredentials.input.loose())
|
|
13088
|
+
.output(types_150.trainingProviderCapability.methods.validateCredentials.output)
|
|
13047
13089
|
.mutation(async ({ input, ctx }) => {
|
|
13048
13090
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13049
13091
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13051,8 +13093,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13051
13093
|
return p.validateCredentials(methodInput);
|
|
13052
13094
|
}),
|
|
13053
13095
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
13054
|
-
.input(
|
|
13055
|
-
.output(
|
|
13096
|
+
.input(types_150.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
13097
|
+
.output(types_150.trainingProviderCapability.methods.estimateJob.output)
|
|
13056
13098
|
.query(async ({ input, ctx }) => {
|
|
13057
13099
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13058
13100
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13060,8 +13102,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13060
13102
|
return p.estimateJob(methodInput);
|
|
13061
13103
|
}),
|
|
13062
13104
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
13063
|
-
.input(
|
|
13064
|
-
.output(
|
|
13105
|
+
.input(types_150.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
13106
|
+
.output(types_150.trainingProviderCapability.methods.uploadDataset.output)
|
|
13065
13107
|
.mutation(async ({ input, ctx }) => {
|
|
13066
13108
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13067
13109
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13069,8 +13111,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13069
13111
|
return p.uploadDataset(methodInput);
|
|
13070
13112
|
}),
|
|
13071
13113
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
13072
|
-
.input(
|
|
13073
|
-
.output(
|
|
13114
|
+
.input(types_150.trainingProviderCapability.methods.submitJob.input.loose())
|
|
13115
|
+
.output(types_150.trainingProviderCapability.methods.submitJob.output)
|
|
13074
13116
|
.mutation(async ({ input, ctx }) => {
|
|
13075
13117
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13076
13118
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13078,8 +13120,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13078
13120
|
return p.submitJob(methodInput);
|
|
13079
13121
|
}),
|
|
13080
13122
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
13081
|
-
.input(
|
|
13082
|
-
.output(
|
|
13123
|
+
.input(types_150.trainingProviderCapability.methods.getJob.input.loose())
|
|
13124
|
+
.output(types_150.trainingProviderCapability.methods.getJob.output)
|
|
13083
13125
|
.query(async ({ input, ctx }) => {
|
|
13084
13126
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13085
13127
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13087,8 +13129,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13087
13129
|
return p.getJob(methodInput);
|
|
13088
13130
|
}),
|
|
13089
13131
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
13090
|
-
.input(
|
|
13091
|
-
.output(
|
|
13132
|
+
.input(types_150.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
13133
|
+
.output(types_150.trainingProviderCapability.methods.listJobEvents.output)
|
|
13092
13134
|
.query(async ({ input, ctx }) => {
|
|
13093
13135
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13094
13136
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13096,8 +13138,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13096
13138
|
return p.listJobEvents(methodInput);
|
|
13097
13139
|
}),
|
|
13098
13140
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
13099
|
-
.input(
|
|
13100
|
-
.output(
|
|
13141
|
+
.input(types_150.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
13142
|
+
.output(types_150.trainingProviderCapability.methods.cancelJob.output)
|
|
13101
13143
|
.mutation(async ({ input, ctx }) => {
|
|
13102
13144
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13103
13145
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13105,8 +13147,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13105
13147
|
return p.cancelJob(methodInput);
|
|
13106
13148
|
}),
|
|
13107
13149
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
13108
|
-
.input(
|
|
13109
|
-
.output(
|
|
13150
|
+
.input(types_150.trainingProviderCapability.methods.readResult.input.loose())
|
|
13151
|
+
.output(types_150.trainingProviderCapability.methods.readResult.output)
|
|
13110
13152
|
.mutation(async ({ input, ctx }) => {
|
|
13111
13153
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13112
13154
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13114,8 +13156,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13114
13156
|
return p.readResult(methodInput);
|
|
13115
13157
|
}),
|
|
13116
13158
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
13117
|
-
.input(
|
|
13118
|
-
.output(
|
|
13159
|
+
.input(types_150.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
13160
|
+
.output(types_150.trainingProviderCapability.methods.offerArtifact.output)
|
|
13119
13161
|
.mutation(async ({ input, ctx }) => {
|
|
13120
13162
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13121
13163
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13123,8 +13165,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13123
13165
|
return p.offerArtifact(methodInput);
|
|
13124
13166
|
}),
|
|
13125
13167
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
13126
|
-
.input(
|
|
13127
|
-
.output(
|
|
13168
|
+
.input(types_150.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
13169
|
+
.output(types_150.trainingProviderCapability.methods.cleanupJob.output)
|
|
13128
13170
|
.mutation(async ({ input, ctx }) => {
|
|
13129
13171
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13130
13172
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13132,8 +13174,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13132
13174
|
return p.cleanupJob(methodInput);
|
|
13133
13175
|
}),
|
|
13134
13176
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
13135
|
-
.input(
|
|
13136
|
-
.output(
|
|
13177
|
+
.input(types_150.trainingProviderCapability.methods.listJobs.input.loose())
|
|
13178
|
+
.output(types_150.trainingProviderCapability.methods.listJobs.output)
|
|
13137
13179
|
.query(async ({ input, ctx }) => {
|
|
13138
13180
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13139
13181
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13146,7 +13188,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
13146
13188
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13147
13189
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
13148
13190
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
13149
|
-
.output(
|
|
13191
|
+
.output(types_151.turnProviderCapability.methods.getTurnServers.output)
|
|
13150
13192
|
.query(async ({ input, ctx }) => {
|
|
13151
13193
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
13152
13194
|
return p.getTurnServers();
|
|
@@ -13166,7 +13208,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
13166
13208
|
}),
|
|
13167
13209
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
13168
13210
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13169
|
-
.output(
|
|
13211
|
+
.output(types_152.updateCapability.methods.installUpdate.output)
|
|
13170
13212
|
.mutation(async ({ input, ctx }) => {
|
|
13171
13213
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13172
13214
|
return p.installUpdate();
|
|
@@ -13177,14 +13219,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13177
13219
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13178
13220
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
13179
13221
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13180
|
-
.output(
|
|
13222
|
+
.output(types_153.userManagementCapability.methods.listUsers.output)
|
|
13181
13223
|
.query(async ({ input, ctx }) => {
|
|
13182
13224
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13183
13225
|
return p.listUsers();
|
|
13184
13226
|
}),
|
|
13185
13227
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
13186
|
-
.input(
|
|
13187
|
-
.output(
|
|
13228
|
+
.input(types_153.userManagementCapability.methods.createUser.input.loose())
|
|
13229
|
+
.output(types_153.userManagementCapability.methods.createUser.output)
|
|
13188
13230
|
.mutation(async ({ input, ctx }) => {
|
|
13189
13231
|
const { nodeId, ...methodInput } = input;
|
|
13190
13232
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13192,8 +13234,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13192
13234
|
return p.createUser(methodInput);
|
|
13193
13235
|
}),
|
|
13194
13236
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
13195
|
-
.input(
|
|
13196
|
-
.output(
|
|
13237
|
+
.input(types_153.userManagementCapability.methods.updateUser.input.loose())
|
|
13238
|
+
.output(types_153.userManagementCapability.methods.updateUser.output)
|
|
13197
13239
|
.mutation(async ({ input, ctx }) => {
|
|
13198
13240
|
const { nodeId, ...methodInput } = input;
|
|
13199
13241
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13201,8 +13243,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13201
13243
|
return p.updateUser(methodInput);
|
|
13202
13244
|
}),
|
|
13203
13245
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
13204
|
-
.input(
|
|
13205
|
-
.output(
|
|
13246
|
+
.input(types_153.userManagementCapability.methods.deleteUser.input.loose())
|
|
13247
|
+
.output(types_153.userManagementCapability.methods.deleteUser.output)
|
|
13206
13248
|
.mutation(async ({ input, ctx }) => {
|
|
13207
13249
|
const { nodeId, ...methodInput } = input;
|
|
13208
13250
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13210,8 +13252,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13210
13252
|
return p.deleteUser(methodInput);
|
|
13211
13253
|
}),
|
|
13212
13254
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
13213
|
-
.input(
|
|
13214
|
-
.output(
|
|
13255
|
+
.input(types_153.userManagementCapability.methods.resetPassword.input.loose())
|
|
13256
|
+
.output(types_153.userManagementCapability.methods.resetPassword.output)
|
|
13215
13257
|
.mutation(async ({ input, ctx }) => {
|
|
13216
13258
|
const { nodeId, ...methodInput } = input;
|
|
13217
13259
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13219,8 +13261,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13219
13261
|
return p.resetPassword(methodInput);
|
|
13220
13262
|
}),
|
|
13221
13263
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
13222
|
-
.input(
|
|
13223
|
-
.output(
|
|
13264
|
+
.input(types_153.userManagementCapability.methods.setUserScopes.input.loose())
|
|
13265
|
+
.output(types_153.userManagementCapability.methods.setUserScopes.output)
|
|
13224
13266
|
.mutation(async ({ input, ctx }) => {
|
|
13225
13267
|
const { nodeId, ...methodInput } = input;
|
|
13226
13268
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13228,8 +13270,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13228
13270
|
return p.setUserScopes(methodInput);
|
|
13229
13271
|
}),
|
|
13230
13272
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
13231
|
-
.input(
|
|
13232
|
-
.output(
|
|
13273
|
+
.input(types_153.userManagementCapability.methods.validateCredentials.input.loose())
|
|
13274
|
+
.output(types_153.userManagementCapability.methods.validateCredentials.output)
|
|
13233
13275
|
.mutation(async ({ input, ctx }) => {
|
|
13234
13276
|
const { nodeId, ...methodInput } = input;
|
|
13235
13277
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13237,8 +13279,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13237
13279
|
return p.validateCredentials(methodInput);
|
|
13238
13280
|
}),
|
|
13239
13281
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
13240
|
-
.input(
|
|
13241
|
-
.output(
|
|
13282
|
+
.input(types_153.userManagementCapability.methods.setupTotp.input.loose())
|
|
13283
|
+
.output(types_153.userManagementCapability.methods.setupTotp.output)
|
|
13242
13284
|
.mutation(async ({ input, ctx }) => {
|
|
13243
13285
|
const { nodeId, ...methodInput } = input;
|
|
13244
13286
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13246,8 +13288,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13246
13288
|
return p.setupTotp(methodInput);
|
|
13247
13289
|
}),
|
|
13248
13290
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
13249
|
-
.input(
|
|
13250
|
-
.output(
|
|
13291
|
+
.input(types_153.userManagementCapability.methods.confirmTotp.input.loose())
|
|
13292
|
+
.output(types_153.userManagementCapability.methods.confirmTotp.output)
|
|
13251
13293
|
.mutation(async ({ input, ctx }) => {
|
|
13252
13294
|
const { nodeId, ...methodInput } = input;
|
|
13253
13295
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13255,8 +13297,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13255
13297
|
return p.confirmTotp(methodInput);
|
|
13256
13298
|
}),
|
|
13257
13299
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
13258
|
-
.input(
|
|
13259
|
-
.output(
|
|
13300
|
+
.input(types_153.userManagementCapability.methods.disableTotp.input.loose())
|
|
13301
|
+
.output(types_153.userManagementCapability.methods.disableTotp.output)
|
|
13260
13302
|
.mutation(async ({ input, ctx }) => {
|
|
13261
13303
|
const { nodeId, ...methodInput } = input;
|
|
13262
13304
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13264,8 +13306,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13264
13306
|
return p.disableTotp(methodInput);
|
|
13265
13307
|
}),
|
|
13266
13308
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
13267
|
-
.input(
|
|
13268
|
-
.output(
|
|
13309
|
+
.input(types_153.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
13310
|
+
.output(types_153.userManagementCapability.methods.getTotpStatus.output)
|
|
13269
13311
|
.query(async ({ input, ctx }) => {
|
|
13270
13312
|
const { nodeId, ...methodInput } = input;
|
|
13271
13313
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13273,8 +13315,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13273
13315
|
return p.getTotpStatus(methodInput);
|
|
13274
13316
|
}),
|
|
13275
13317
|
migrateRawSecrets: trpc_middleware_js_1.adminProcedure
|
|
13276
|
-
.input(
|
|
13277
|
-
.output(
|
|
13318
|
+
.input(types_153.userManagementCapability.methods.migrateRawSecrets.input.loose())
|
|
13319
|
+
.output(types_153.userManagementCapability.methods.migrateRawSecrets.output)
|
|
13278
13320
|
.mutation(async ({ input, ctx }) => {
|
|
13279
13321
|
const { nodeId, ...methodInput } = input;
|
|
13280
13322
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13282,8 +13324,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13282
13324
|
return p.migrateRawSecrets(methodInput);
|
|
13283
13325
|
}),
|
|
13284
13326
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
13285
|
-
.input(
|
|
13286
|
-
.output(
|
|
13327
|
+
.input(types_153.userManagementCapability.methods.verifyTotp.input.loose())
|
|
13328
|
+
.output(types_153.userManagementCapability.methods.verifyTotp.output)
|
|
13287
13329
|
.mutation(async ({ input, ctx }) => {
|
|
13288
13330
|
const { nodeId, ...methodInput } = input;
|
|
13289
13331
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13291,8 +13333,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13291
13333
|
return p.verifyTotp(methodInput);
|
|
13292
13334
|
}),
|
|
13293
13335
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
13294
|
-
.input(
|
|
13295
|
-
.output(
|
|
13336
|
+
.input(types_153.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
13337
|
+
.output(types_153.userManagementCapability.methods.oauthIssueCode.output)
|
|
13296
13338
|
.mutation(async ({ input, ctx }) => {
|
|
13297
13339
|
const { nodeId, ...methodInput } = input;
|
|
13298
13340
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13300,8 +13342,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13300
13342
|
return p.oauthIssueCode(methodInput);
|
|
13301
13343
|
}),
|
|
13302
13344
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
13303
|
-
.input(
|
|
13304
|
-
.output(
|
|
13345
|
+
.input(types_153.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
13346
|
+
.output(types_153.userManagementCapability.methods.oauthExchangeCode.output)
|
|
13305
13347
|
.mutation(async ({ input, ctx }) => {
|
|
13306
13348
|
const { nodeId, ...methodInput } = input;
|
|
13307
13349
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13309,8 +13351,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13309
13351
|
return p.oauthExchangeCode(methodInput);
|
|
13310
13352
|
}),
|
|
13311
13353
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
13312
|
-
.input(
|
|
13313
|
-
.output(
|
|
13354
|
+
.input(types_153.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
13355
|
+
.output(types_153.userManagementCapability.methods.oauthRefresh.output)
|
|
13314
13356
|
.mutation(async ({ input, ctx }) => {
|
|
13315
13357
|
const { nodeId, ...methodInput } = input;
|
|
13316
13358
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13318,8 +13360,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13318
13360
|
return p.oauthRefresh(methodInput);
|
|
13319
13361
|
}),
|
|
13320
13362
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
13321
|
-
.input(
|
|
13322
|
-
.output(
|
|
13363
|
+
.input(types_153.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
13364
|
+
.output(types_153.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
13323
13365
|
.query(async ({ input, ctx }) => {
|
|
13324
13366
|
const { nodeId, ...methodInput } = input;
|
|
13325
13367
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13327,8 +13369,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13327
13369
|
return p.oauthVerifyAccessToken(methodInput);
|
|
13328
13370
|
}),
|
|
13329
13371
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
13330
|
-
.input(
|
|
13331
|
-
.output(
|
|
13372
|
+
.input(types_153.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
13373
|
+
.output(types_153.userManagementCapability.methods.listExternalIdentities.output)
|
|
13332
13374
|
.query(async ({ input, ctx }) => {
|
|
13333
13375
|
const { nodeId, ...methodInput } = input;
|
|
13334
13376
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13336,8 +13378,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13336
13378
|
return p.listExternalIdentities(methodInput);
|
|
13337
13379
|
}),
|
|
13338
13380
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
13339
|
-
.input(
|
|
13340
|
-
.output(
|
|
13381
|
+
.input(types_153.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
13382
|
+
.output(types_153.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
13341
13383
|
.query(async ({ input, ctx }) => {
|
|
13342
13384
|
const { nodeId, ...methodInput } = input;
|
|
13343
13385
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13345,8 +13387,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13345
13387
|
return p.findUserByExternalIdentity(methodInput);
|
|
13346
13388
|
}),
|
|
13347
13389
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
13348
|
-
.input(
|
|
13349
|
-
.output(
|
|
13390
|
+
.input(types_153.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
13391
|
+
.output(types_153.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
13350
13392
|
.mutation(async ({ input, ctx }) => {
|
|
13351
13393
|
const { nodeId, ...methodInput } = input;
|
|
13352
13394
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13355,14 +13397,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13355
13397
|
}),
|
|
13356
13398
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
13357
13399
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13358
|
-
.output(
|
|
13400
|
+
.output(types_153.userManagementCapability.methods.listOauthSessions.output)
|
|
13359
13401
|
.query(async ({ input, ctx }) => {
|
|
13360
13402
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13361
13403
|
return p.listOauthSessions();
|
|
13362
13404
|
}),
|
|
13363
13405
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
13364
|
-
.input(
|
|
13365
|
-
.output(
|
|
13406
|
+
.input(types_153.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
13407
|
+
.output(types_153.userManagementCapability.methods.revokeOauthSession.output)
|
|
13366
13408
|
.mutation(async ({ input, ctx }) => {
|
|
13367
13409
|
const { nodeId, ...methodInput } = input;
|
|
13368
13410
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13374,8 +13416,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13374
13416
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
13375
13417
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13376
13418
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
13377
|
-
.input(
|
|
13378
|
-
.output(
|
|
13419
|
+
.input(types_154.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
13420
|
+
.output(types_154.userPasskeysCapability.methods.beginRegistration.output)
|
|
13379
13421
|
.mutation(async ({ input, ctx }) => {
|
|
13380
13422
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13381
13423
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13383,8 +13425,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13383
13425
|
return p.beginRegistration(methodInput);
|
|
13384
13426
|
}),
|
|
13385
13427
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
13386
|
-
.input(
|
|
13387
|
-
.output(
|
|
13428
|
+
.input(types_154.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
13429
|
+
.output(types_154.userPasskeysCapability.methods.finishRegistration.output)
|
|
13388
13430
|
.mutation(async ({ input, ctx }) => {
|
|
13389
13431
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13390
13432
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13392,8 +13434,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13392
13434
|
return p.finishRegistration(methodInput);
|
|
13393
13435
|
}),
|
|
13394
13436
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13395
|
-
.input(
|
|
13396
|
-
.output(
|
|
13437
|
+
.input(types_154.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
13438
|
+
.output(types_154.userPasskeysCapability.methods.beginAuthentication.output)
|
|
13397
13439
|
.mutation(async ({ input, ctx }) => {
|
|
13398
13440
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13399
13441
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13401,8 +13443,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13401
13443
|
return p.beginAuthentication(methodInput);
|
|
13402
13444
|
}),
|
|
13403
13445
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13404
|
-
.input(
|
|
13405
|
-
.output(
|
|
13446
|
+
.input(types_154.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
13447
|
+
.output(types_154.userPasskeysCapability.methods.finishAuthentication.output)
|
|
13406
13448
|
.mutation(async ({ input, ctx }) => {
|
|
13407
13449
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13408
13450
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13410,8 +13452,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13410
13452
|
return p.finishAuthentication(methodInput);
|
|
13411
13453
|
}),
|
|
13412
13454
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13413
|
-
.input(
|
|
13414
|
-
.output(
|
|
13455
|
+
.input(types_154.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
13456
|
+
.output(types_154.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
13415
13457
|
.mutation(async ({ input, ctx }) => {
|
|
13416
13458
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13417
13459
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13419,8 +13461,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13419
13461
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
13420
13462
|
}),
|
|
13421
13463
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13422
|
-
.input(
|
|
13423
|
-
.output(
|
|
13464
|
+
.input(types_154.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
13465
|
+
.output(types_154.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
13424
13466
|
.mutation(async ({ input, ctx }) => {
|
|
13425
13467
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13426
13468
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13428,8 +13470,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13428
13470
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
13429
13471
|
}),
|
|
13430
13472
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
13431
|
-
.input(
|
|
13432
|
-
.output(
|
|
13473
|
+
.input(types_154.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
13474
|
+
.output(types_154.userPasskeysCapability.methods.listPasskeys.output)
|
|
13433
13475
|
.query(async ({ input, ctx }) => {
|
|
13434
13476
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13435
13477
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13437,8 +13479,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13437
13479
|
return p.listPasskeys(methodInput);
|
|
13438
13480
|
}),
|
|
13439
13481
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
13440
|
-
.input(
|
|
13441
|
-
.output(
|
|
13482
|
+
.input(types_154.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
13483
|
+
.output(types_154.userPasskeysCapability.methods.removePasskey.output)
|
|
13442
13484
|
.mutation(async ({ input, ctx }) => {
|
|
13443
13485
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13444
13486
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13446,8 +13488,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13446
13488
|
return p.removePasskey(methodInput);
|
|
13447
13489
|
}),
|
|
13448
13490
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
13449
|
-
.input(
|
|
13450
|
-
.output(
|
|
13491
|
+
.input(types_154.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
13492
|
+
.output(types_154.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
13451
13493
|
.query(async ({ input, ctx }) => {
|
|
13452
13494
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13453
13495
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13455,8 +13497,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13455
13497
|
return p.getSecondFactorPreference(methodInput);
|
|
13456
13498
|
}),
|
|
13457
13499
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
13458
|
-
.input(
|
|
13459
|
-
.output(
|
|
13500
|
+
.input(types_154.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
13501
|
+
.output(types_154.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
13460
13502
|
.mutation(async ({ input, ctx }) => {
|
|
13461
13503
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13462
13504
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13477,8 +13519,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13477
13519
|
return p.getStatus(methodInput);
|
|
13478
13520
|
}),
|
|
13479
13521
|
start: trpc_middleware_js_1.protectedProcedure
|
|
13480
|
-
.input(
|
|
13481
|
-
.output(
|
|
13522
|
+
.input(types_155.vacuumControlCapability.methods.start.input.loose())
|
|
13523
|
+
.output(types_155.vacuumControlCapability.methods.start.output)
|
|
13482
13524
|
.mutation(async ({ input, ctx }) => {
|
|
13483
13525
|
const { nodeId, ...methodInput } = input;
|
|
13484
13526
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13486,8 +13528,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13486
13528
|
return p.start(methodInput);
|
|
13487
13529
|
}),
|
|
13488
13530
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
13489
|
-
.input(
|
|
13490
|
-
.output(
|
|
13531
|
+
.input(types_155.vacuumControlCapability.methods.pause.input.loose())
|
|
13532
|
+
.output(types_155.vacuumControlCapability.methods.pause.output)
|
|
13491
13533
|
.mutation(async ({ input, ctx }) => {
|
|
13492
13534
|
const { nodeId, ...methodInput } = input;
|
|
13493
13535
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13495,8 +13537,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13495
13537
|
return p.pause(methodInput);
|
|
13496
13538
|
}),
|
|
13497
13539
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13498
|
-
.input(
|
|
13499
|
-
.output(
|
|
13540
|
+
.input(types_155.vacuumControlCapability.methods.stop.input.loose())
|
|
13541
|
+
.output(types_155.vacuumControlCapability.methods.stop.output)
|
|
13500
13542
|
.mutation(async ({ input, ctx }) => {
|
|
13501
13543
|
const { nodeId, ...methodInput } = input;
|
|
13502
13544
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13504,8 +13546,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13504
13546
|
return p.stop(methodInput);
|
|
13505
13547
|
}),
|
|
13506
13548
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
13507
|
-
.input(
|
|
13508
|
-
.output(
|
|
13549
|
+
.input(types_155.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
13550
|
+
.output(types_155.vacuumControlCapability.methods.returnToBase.output)
|
|
13509
13551
|
.mutation(async ({ input, ctx }) => {
|
|
13510
13552
|
const { nodeId, ...methodInput } = input;
|
|
13511
13553
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13513,8 +13555,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13513
13555
|
return p.returnToBase(methodInput);
|
|
13514
13556
|
}),
|
|
13515
13557
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
13516
|
-
.input(
|
|
13517
|
-
.output(
|
|
13558
|
+
.input(types_155.vacuumControlCapability.methods.locate.input.loose())
|
|
13559
|
+
.output(types_155.vacuumControlCapability.methods.locate.output)
|
|
13518
13560
|
.mutation(async ({ input, ctx }) => {
|
|
13519
13561
|
const { nodeId, ...methodInput } = input;
|
|
13520
13562
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13522,8 +13564,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13522
13564
|
return p.locate(methodInput);
|
|
13523
13565
|
}),
|
|
13524
13566
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
13525
|
-
.input(
|
|
13526
|
-
.output(
|
|
13567
|
+
.input(types_155.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
13568
|
+
.output(types_155.vacuumControlCapability.methods.setFanSpeed.output)
|
|
13527
13569
|
.mutation(async ({ input, ctx }) => {
|
|
13528
13570
|
const { nodeId, ...methodInput } = input;
|
|
13529
13571
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13544,8 +13586,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13544
13586
|
return p.getStatus(methodInput);
|
|
13545
13587
|
}),
|
|
13546
13588
|
open: trpc_middleware_js_1.protectedProcedure
|
|
13547
|
-
.input(
|
|
13548
|
-
.output(
|
|
13589
|
+
.input(types_156.valveCapability.methods.open.input.loose())
|
|
13590
|
+
.output(types_156.valveCapability.methods.open.output)
|
|
13549
13591
|
.mutation(async ({ input, ctx }) => {
|
|
13550
13592
|
const { nodeId, ...methodInput } = input;
|
|
13551
13593
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13553,8 +13595,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13553
13595
|
return p.open(methodInput);
|
|
13554
13596
|
}),
|
|
13555
13597
|
close: trpc_middleware_js_1.protectedProcedure
|
|
13556
|
-
.input(
|
|
13557
|
-
.output(
|
|
13598
|
+
.input(types_156.valveCapability.methods.close.input.loose())
|
|
13599
|
+
.output(types_156.valveCapability.methods.close.output)
|
|
13558
13600
|
.mutation(async ({ input, ctx }) => {
|
|
13559
13601
|
const { nodeId, ...methodInput } = input;
|
|
13560
13602
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13562,8 +13604,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13562
13604
|
return p.close(methodInput);
|
|
13563
13605
|
}),
|
|
13564
13606
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13565
|
-
.input(
|
|
13566
|
-
.output(
|
|
13607
|
+
.input(types_156.valveCapability.methods.stop.input.loose())
|
|
13608
|
+
.output(types_156.valveCapability.methods.stop.output)
|
|
13567
13609
|
.mutation(async ({ input, ctx }) => {
|
|
13568
13610
|
const { nodeId, ...methodInput } = input;
|
|
13569
13611
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13571,8 +13613,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13571
13613
|
return p.stop(methodInput);
|
|
13572
13614
|
}),
|
|
13573
13615
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
13574
|
-
.input(
|
|
13575
|
-
.output(
|
|
13616
|
+
.input(types_156.valveCapability.methods.setPosition.input.loose())
|
|
13617
|
+
.output(types_156.valveCapability.methods.setPosition.output)
|
|
13576
13618
|
.mutation(async ({ input, ctx }) => {
|
|
13577
13619
|
const { nodeId, ...methodInput } = input;
|
|
13578
13620
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13584,8 +13626,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13584
13626
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
13585
13627
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13586
13628
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
13587
|
-
.input(
|
|
13588
|
-
.output(
|
|
13629
|
+
.input(types_157.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
13630
|
+
.output(types_157.vectorStoreCapability.methods.declareIndex.output)
|
|
13589
13631
|
.mutation(async ({ input, ctx }) => {
|
|
13590
13632
|
const { nodeId, ...methodInput } = input;
|
|
13591
13633
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13593,8 +13635,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13593
13635
|
return p.declareIndex(methodInput);
|
|
13594
13636
|
}),
|
|
13595
13637
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
13596
|
-
.input(
|
|
13597
|
-
.output(
|
|
13638
|
+
.input(types_157.vectorStoreCapability.methods.upsert.input.loose())
|
|
13639
|
+
.output(types_157.vectorStoreCapability.methods.upsert.output)
|
|
13598
13640
|
.mutation(async ({ input, ctx }) => {
|
|
13599
13641
|
const { nodeId, ...methodInput } = input;
|
|
13600
13642
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13602,8 +13644,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13602
13644
|
return p.upsert(methodInput);
|
|
13603
13645
|
}),
|
|
13604
13646
|
query: trpc_middleware_js_1.adminProcedure
|
|
13605
|
-
.input(
|
|
13606
|
-
.output(
|
|
13647
|
+
.input(types_157.vectorStoreCapability.methods.query.input.loose())
|
|
13648
|
+
.output(types_157.vectorStoreCapability.methods.query.output)
|
|
13607
13649
|
.query(async ({ input, ctx }) => {
|
|
13608
13650
|
const { nodeId, ...methodInput } = input;
|
|
13609
13651
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13611,8 +13653,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13611
13653
|
return p.query(methodInput);
|
|
13612
13654
|
}),
|
|
13613
13655
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
13614
|
-
.input(
|
|
13615
|
-
.output(
|
|
13656
|
+
.input(types_157.vectorStoreCapability.methods.getByIds.input.loose())
|
|
13657
|
+
.output(types_157.vectorStoreCapability.methods.getByIds.output)
|
|
13616
13658
|
.query(async ({ input, ctx }) => {
|
|
13617
13659
|
const { nodeId, ...methodInput } = input;
|
|
13618
13660
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13620,8 +13662,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13620
13662
|
return p.getByIds(methodInput);
|
|
13621
13663
|
}),
|
|
13622
13664
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
13623
|
-
.input(
|
|
13624
|
-
.output(
|
|
13665
|
+
.input(types_157.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
13666
|
+
.output(types_157.vectorStoreCapability.methods.fetchByIds.output)
|
|
13625
13667
|
.query(async ({ input, ctx }) => {
|
|
13626
13668
|
const { nodeId, ...methodInput } = input;
|
|
13627
13669
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13629,8 +13671,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13629
13671
|
return p.fetchByIds(methodInput);
|
|
13630
13672
|
}),
|
|
13631
13673
|
scan: trpc_middleware_js_1.adminProcedure
|
|
13632
|
-
.input(
|
|
13633
|
-
.output(
|
|
13674
|
+
.input(types_157.vectorStoreCapability.methods.scan.input.loose())
|
|
13675
|
+
.output(types_157.vectorStoreCapability.methods.scan.output)
|
|
13634
13676
|
.query(async ({ input, ctx }) => {
|
|
13635
13677
|
const { nodeId, ...methodInput } = input;
|
|
13636
13678
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13638,8 +13680,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13638
13680
|
return p.scan(methodInput);
|
|
13639
13681
|
}),
|
|
13640
13682
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
13641
|
-
.input(
|
|
13642
|
-
.output(
|
|
13683
|
+
.input(types_157.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
13684
|
+
.output(types_157.vectorStoreCapability.methods.deleteByIds.output)
|
|
13643
13685
|
.mutation(async ({ input, ctx }) => {
|
|
13644
13686
|
const { nodeId, ...methodInput } = input;
|
|
13645
13687
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13647,8 +13689,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13647
13689
|
return p.deleteByIds(methodInput);
|
|
13648
13690
|
}),
|
|
13649
13691
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
13650
|
-
.input(
|
|
13651
|
-
.output(
|
|
13692
|
+
.input(types_157.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
13693
|
+
.output(types_157.vectorStoreCapability.methods.deleteByFilter.output)
|
|
13652
13694
|
.mutation(async ({ input, ctx }) => {
|
|
13653
13695
|
const { nodeId, ...methodInput } = input;
|
|
13654
13696
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13656,8 +13698,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13656
13698
|
return p.deleteByFilter(methodInput);
|
|
13657
13699
|
}),
|
|
13658
13700
|
stats: trpc_middleware_js_1.adminProcedure
|
|
13659
|
-
.input(
|
|
13660
|
-
.output(
|
|
13701
|
+
.input(types_157.vectorStoreCapability.methods.stats.input.loose())
|
|
13702
|
+
.output(types_157.vectorStoreCapability.methods.stats.output)
|
|
13661
13703
|
.query(async ({ input, ctx }) => {
|
|
13662
13704
|
const { nodeId, ...methodInput } = input;
|
|
13663
13705
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13682,8 +13724,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
13682
13724
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
13683
13725
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13684
13726
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
13685
|
-
.input(
|
|
13686
|
-
.output(
|
|
13727
|
+
.input(types_158.videoclipsCapability.methods.listClips.input.loose())
|
|
13728
|
+
.output(types_158.videoclipsCapability.methods.listClips.output)
|
|
13687
13729
|
.query(async ({ input, ctx }) => {
|
|
13688
13730
|
const { nodeId, ...methodInput } = input;
|
|
13689
13731
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13691,8 +13733,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13691
13733
|
return p.listClips(methodInput);
|
|
13692
13734
|
}),
|
|
13693
13735
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
13694
|
-
.input(
|
|
13695
|
-
.output(
|
|
13736
|
+
.input(types_158.videoclipsCapability.methods.listSources.input.loose())
|
|
13737
|
+
.output(types_158.videoclipsCapability.methods.listSources.output)
|
|
13696
13738
|
.query(async ({ input, ctx }) => {
|
|
13697
13739
|
const { nodeId, ...methodInput } = input;
|
|
13698
13740
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13700,8 +13742,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13700
13742
|
return p.listSources(methodInput);
|
|
13701
13743
|
}),
|
|
13702
13744
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
13703
|
-
.input(
|
|
13704
|
-
.output(
|
|
13745
|
+
.input(types_158.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
13746
|
+
.output(types_158.videoclipsCapability.methods.getClipPlayback.output)
|
|
13705
13747
|
.query(async ({ input, ctx }) => {
|
|
13706
13748
|
const { nodeId, ...methodInput } = input;
|
|
13707
13749
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13709,8 +13751,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13709
13751
|
return p.getClipPlayback(methodInput);
|
|
13710
13752
|
}),
|
|
13711
13753
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13712
|
-
.input(
|
|
13713
|
-
.output(
|
|
13754
|
+
.input(types_158.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
13755
|
+
.output(types_158.videoclipsCapability.methods.readClipBytes.output)
|
|
13714
13756
|
.query(async ({ input, ctx }) => {
|
|
13715
13757
|
const { nodeId, ...methodInput } = input;
|
|
13716
13758
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13725,8 +13767,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13725
13767
|
return fn.call(p, methodInput);
|
|
13726
13768
|
}),
|
|
13727
13769
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13728
|
-
.input(
|
|
13729
|
-
.output(
|
|
13770
|
+
.input(types_158.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
13771
|
+
.output(types_158.videoclipsCapability.methods.offerClipBytes.output)
|
|
13730
13772
|
.query(async ({ input, ctx }) => {
|
|
13731
13773
|
const { nodeId, ...methodInput } = input;
|
|
13732
13774
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13741,8 +13783,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13741
13783
|
return fn.call(p, methodInput);
|
|
13742
13784
|
}),
|
|
13743
13785
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
13744
|
-
.input(
|
|
13745
|
-
.output(
|
|
13786
|
+
.input(types_158.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
13787
|
+
.output(types_158.videoclipsCapability.methods.dialClipStream.output)
|
|
13746
13788
|
.query(async ({ input, ctx }) => {
|
|
13747
13789
|
const { nodeId, ...methodInput } = input;
|
|
13748
13790
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13757,8 +13799,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13757
13799
|
return fn.call(p, methodInput);
|
|
13758
13800
|
}),
|
|
13759
13801
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
13760
|
-
.input(
|
|
13761
|
-
.output(
|
|
13802
|
+
.input(types_158.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
13803
|
+
.output(types_158.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
13762
13804
|
.query(async ({ input, ctx }) => {
|
|
13763
13805
|
const { nodeId, ...methodInput } = input;
|
|
13764
13806
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13778,14 +13820,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
13778
13820
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13779
13821
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
13780
13822
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13781
|
-
.output(
|
|
13823
|
+
.output(types_159.viewerUiCapability.methods.getStaticDir.output)
|
|
13782
13824
|
.query(async ({ input, ctx }) => {
|
|
13783
13825
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13784
13826
|
return p.getStaticDir();
|
|
13785
13827
|
}),
|
|
13786
13828
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
13787
13829
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13788
|
-
.output(
|
|
13830
|
+
.output(types_159.viewerUiCapability.methods.getVersion.output)
|
|
13789
13831
|
.query(async ({ input, ctx }) => {
|
|
13790
13832
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13791
13833
|
return p.getVersion();
|
|
@@ -13804,8 +13846,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13804
13846
|
return p.getStatus(methodInput);
|
|
13805
13847
|
}),
|
|
13806
13848
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
13807
|
-
.input(
|
|
13808
|
-
.output(
|
|
13849
|
+
.input(types_160.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
13850
|
+
.output(types_160.waterHeaterCapability.methods.setTargetTemp.output)
|
|
13809
13851
|
.mutation(async ({ input, ctx }) => {
|
|
13810
13852
|
const { nodeId, ...methodInput } = input;
|
|
13811
13853
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13813,8 +13855,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13813
13855
|
return p.setTargetTemp(methodInput);
|
|
13814
13856
|
}),
|
|
13815
13857
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
13816
|
-
.input(
|
|
13817
|
-
.output(
|
|
13858
|
+
.input(types_160.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
13859
|
+
.output(types_160.waterHeaterCapability.methods.setOperationMode.output)
|
|
13818
13860
|
.mutation(async ({ input, ctx }) => {
|
|
13819
13861
|
const { nodeId, ...methodInput } = input;
|
|
13820
13862
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13822,8 +13864,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13822
13864
|
return p.setOperationMode(methodInput);
|
|
13823
13865
|
}),
|
|
13824
13866
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
13825
|
-
.input(
|
|
13826
|
-
.output(
|
|
13867
|
+
.input(types_160.waterHeaterCapability.methods.setAway.input.loose())
|
|
13868
|
+
.output(types_160.waterHeaterCapability.methods.setAway.output)
|
|
13827
13869
|
.mutation(async ({ input, ctx }) => {
|
|
13828
13870
|
const { nodeId, ...methodInput } = input;
|
|
13829
13871
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13848,8 +13890,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
13848
13890
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
13849
13891
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13850
13892
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
13851
|
-
.input(
|
|
13852
|
-
.output(
|
|
13893
|
+
.input(types_161.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
13894
|
+
.output(types_161.webrtcSessionCapability.methods.listStreams.output)
|
|
13853
13895
|
.query(async ({ input, ctx }) => {
|
|
13854
13896
|
const { nodeId, ...methodInput } = input;
|
|
13855
13897
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13857,8 +13899,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13857
13899
|
return p.listStreams(methodInput);
|
|
13858
13900
|
}),
|
|
13859
13901
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
13860
|
-
.input(
|
|
13861
|
-
.output(
|
|
13902
|
+
.input(types_161.webrtcSessionCapability.methods.createSession.input.loose())
|
|
13903
|
+
.output(types_161.webrtcSessionCapability.methods.createSession.output)
|
|
13862
13904
|
.mutation(async ({ input, ctx }) => {
|
|
13863
13905
|
const { nodeId, ...methodInput } = input;
|
|
13864
13906
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13866,8 +13908,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13866
13908
|
return p.createSession(methodInput);
|
|
13867
13909
|
}),
|
|
13868
13910
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
13869
|
-
.input(
|
|
13870
|
-
.output(
|
|
13911
|
+
.input(types_161.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
13912
|
+
.output(types_161.webrtcSessionCapability.methods.handleOffer.output)
|
|
13871
13913
|
.mutation(async ({ input, ctx }) => {
|
|
13872
13914
|
const { nodeId, ...methodInput } = input;
|
|
13873
13915
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13875,8 +13917,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13875
13917
|
return p.handleOffer(methodInput);
|
|
13876
13918
|
}),
|
|
13877
13919
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
13878
|
-
.input(
|
|
13879
|
-
.output(
|
|
13920
|
+
.input(types_161.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
13921
|
+
.output(types_161.webrtcSessionCapability.methods.handleAnswer.output)
|
|
13880
13922
|
.mutation(async ({ input, ctx }) => {
|
|
13881
13923
|
const { nodeId, ...methodInput } = input;
|
|
13882
13924
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13884,8 +13926,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13884
13926
|
return p.handleAnswer(methodInput);
|
|
13885
13927
|
}),
|
|
13886
13928
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
13887
|
-
.input(
|
|
13888
|
-
.output(
|
|
13929
|
+
.input(types_161.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
13930
|
+
.output(types_161.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
13889
13931
|
.mutation(async ({ input, ctx }) => {
|
|
13890
13932
|
const { nodeId, ...methodInput } = input;
|
|
13891
13933
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13893,8 +13935,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13893
13935
|
return p.addIceCandidate(methodInput);
|
|
13894
13936
|
}),
|
|
13895
13937
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
13896
|
-
.input(
|
|
13897
|
-
.output(
|
|
13938
|
+
.input(types_161.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
13939
|
+
.output(types_161.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
13898
13940
|
.query(async ({ input, ctx }) => {
|
|
13899
13941
|
const { nodeId, ...methodInput } = input;
|
|
13900
13942
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13902,8 +13944,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13902
13944
|
return p.getIceCandidates(methodInput);
|
|
13903
13945
|
}),
|
|
13904
13946
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
13905
|
-
.input(
|
|
13906
|
-
.output(
|
|
13947
|
+
.input(types_161.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
13948
|
+
.output(types_161.webrtcSessionCapability.methods.closeSession.output)
|
|
13907
13949
|
.mutation(async ({ input, ctx }) => {
|
|
13908
13950
|
const { nodeId, ...methodInput } = input;
|
|
13909
13951
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13911,8 +13953,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13911
13953
|
return p.closeSession(methodInput);
|
|
13912
13954
|
}),
|
|
13913
13955
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
13914
|
-
.input(
|
|
13915
|
-
.output(
|
|
13956
|
+
.input(types_161.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
13957
|
+
.output(types_161.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
13916
13958
|
.query(async ({ input, ctx }) => {
|
|
13917
13959
|
const { nodeId, ...methodInput } = input;
|
|
13918
13960
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13920,8 +13962,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13920
13962
|
return p.hasAdaptiveBitrate(methodInput);
|
|
13921
13963
|
}),
|
|
13922
13964
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
13923
|
-
.input(
|
|
13924
|
-
.output(
|
|
13965
|
+
.input(types_161.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
13966
|
+
.output(types_161.webrtcSessionCapability.methods.getSessionState.output)
|
|
13925
13967
|
.query(async ({ input, ctx }) => {
|
|
13926
13968
|
const { nodeId, ...methodInput } = input;
|
|
13927
13969
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13929,8 +13971,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13929
13971
|
return p.getSessionState(methodInput);
|
|
13930
13972
|
}),
|
|
13931
13973
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
13932
|
-
.input(
|
|
13933
|
-
.output(
|
|
13974
|
+
.input(types_161.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
13975
|
+
.output(types_161.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
13934
13976
|
.mutation(async ({ input, ctx }) => {
|
|
13935
13977
|
const { nodeId, ...methodInput } = input;
|
|
13936
13978
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13938,8 +13980,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13938
13980
|
return p.applyDownlinkProbe(methodInput);
|
|
13939
13981
|
}),
|
|
13940
13982
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
13941
|
-
.input(
|
|
13942
|
-
.output(
|
|
13983
|
+
.input(types_161.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
13984
|
+
.output(types_161.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
13943
13985
|
.query(async ({ input, ctx }) => {
|
|
13944
13986
|
const { nodeId, ...methodInput } = input;
|
|
13945
13987
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13951,8 +13993,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13951
13993
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
13952
13994
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13953
13995
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
13954
|
-
.input(
|
|
13955
|
-
.output(
|
|
13996
|
+
.input(types_162.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
13997
|
+
.output(types_162.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
13956
13998
|
.query(async ({ input, ctx }) => {
|
|
13957
13999
|
const { nodeId, ...methodInput } = input;
|
|
13958
14000
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13960,8 +14002,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13960
14002
|
return p.getCurrentSnapshot(methodInput);
|
|
13961
14003
|
}),
|
|
13962
14004
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
13963
|
-
.input(
|
|
13964
|
-
.output(
|
|
14005
|
+
.input(types_162.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
14006
|
+
.output(types_162.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
13965
14007
|
.query(async ({ input, ctx }) => {
|
|
13966
14008
|
const { nodeId, ...methodInput } = input;
|
|
13967
14009
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13969,8 +14011,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13969
14011
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
13970
14012
|
}),
|
|
13971
14013
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
13972
|
-
.input(
|
|
13973
|
-
.output(
|
|
14014
|
+
.input(types_162.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
14015
|
+
.output(types_162.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
13974
14016
|
.query(async ({ input, ctx }) => {
|
|
13975
14017
|
const { nodeId, ...methodInput } = input;
|
|
13976
14018
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13978,8 +14020,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13978
14020
|
return p.getZoneHistory(methodInput);
|
|
13979
14021
|
}),
|
|
13980
14022
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
13981
|
-
.input(
|
|
13982
|
-
.output(
|
|
14023
|
+
.input(types_162.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
14024
|
+
.output(types_162.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
13983
14025
|
.query(async ({ input, ctx }) => {
|
|
13984
14026
|
const { nodeId, ...methodInput } = input;
|
|
13985
14027
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13987,8 +14029,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13987
14029
|
return p.getCameraHistory(methodInput);
|
|
13988
14030
|
}),
|
|
13989
14031
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
13990
|
-
.input(
|
|
13991
|
-
.output(
|
|
14032
|
+
.input(types_162.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
14033
|
+
.output(types_162.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
13992
14034
|
.query(async ({ input, ctx }) => {
|
|
13993
14035
|
const { nodeId, ...methodInput } = input;
|
|
13994
14036
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14000,8 +14042,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
14000
14042
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
14001
14043
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14002
14044
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
14003
|
-
.input(
|
|
14004
|
-
.output(
|
|
14045
|
+
.input(types_163.zoneRulesCapability.methods.listRules.input.loose())
|
|
14046
|
+
.output(types_163.zoneRulesCapability.methods.listRules.output)
|
|
14005
14047
|
.query(async ({ input, ctx }) => {
|
|
14006
14048
|
const { nodeId, ...methodInput } = input;
|
|
14007
14049
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14009,8 +14051,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
14009
14051
|
return p.listRules(methodInput);
|
|
14010
14052
|
}),
|
|
14011
14053
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
14012
|
-
.input(
|
|
14013
|
-
.output(
|
|
14054
|
+
.input(types_163.zoneRulesCapability.methods.setRules.input.loose())
|
|
14055
|
+
.output(types_163.zoneRulesCapability.methods.setRules.output)
|
|
14014
14056
|
.mutation(async ({ input, ctx }) => {
|
|
14015
14057
|
const { nodeId, ...methodInput } = input;
|
|
14016
14058
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14022,8 +14064,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
14022
14064
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
14023
14065
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14024
14066
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
14025
|
-
.input(
|
|
14026
|
-
.output(
|
|
14067
|
+
.input(types_164.zonesCapability.methods.listZones.input.loose())
|
|
14068
|
+
.output(types_164.zonesCapability.methods.listZones.output)
|
|
14027
14069
|
.query(async ({ input, ctx }) => {
|
|
14028
14070
|
const { nodeId, ...methodInput } = input;
|
|
14029
14071
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14031,8 +14073,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
14031
14073
|
return p.listZones(methodInput);
|
|
14032
14074
|
}),
|
|
14033
14075
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
14034
|
-
.input(
|
|
14035
|
-
.output(
|
|
14076
|
+
.input(types_164.zonesCapability.methods.addZone.input.loose())
|
|
14077
|
+
.output(types_164.zonesCapability.methods.addZone.output)
|
|
14036
14078
|
.mutation(async ({ input, ctx }) => {
|
|
14037
14079
|
const { nodeId, ...methodInput } = input;
|
|
14038
14080
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14040,8 +14082,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
14040
14082
|
return p.addZone(methodInput);
|
|
14041
14083
|
}),
|
|
14042
14084
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
14043
|
-
.input(
|
|
14044
|
-
.output(
|
|
14085
|
+
.input(types_164.zonesCapability.methods.removeZone.input.loose())
|
|
14086
|
+
.output(types_164.zonesCapability.methods.removeZone.output)
|
|
14045
14087
|
.mutation(async ({ input, ctx }) => {
|
|
14046
14088
|
const { nodeId, ...methodInput } = input;
|
|
14047
14089
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14049,8 +14091,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
14049
14091
|
return p.removeZone(methodInput);
|
|
14050
14092
|
}),
|
|
14051
14093
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
14052
|
-
.input(
|
|
14053
|
-
.output(
|
|
14094
|
+
.input(types_164.zonesCapability.methods.updateZone.input.loose())
|
|
14095
|
+
.output(types_164.zonesCapability.methods.updateZone.output)
|
|
14054
14096
|
.mutation(async ({ input, ctx }) => {
|
|
14055
14097
|
const { nodeId, ...methodInput } = input;
|
|
14056
14098
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|