@camstack/server 1.2.708 → 1.2.710
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/agent/agent-shutdown.js +67 -2
- package/dist/agent/agent-update-service.js +2 -1
- package/dist/agent/main.js +1 -0
- package/dist/api/core/site-location.js +9 -2
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +636 -540
- package/package.json +10 -10
|
@@ -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: 194
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -157,6 +157,7 @@ exports.createCapRouter_remote = createCapRouter_remote;
|
|
|
157
157
|
exports.createCapRouter_remoteLayoutComponents = createCapRouter_remoteLayoutComponents;
|
|
158
158
|
exports.createCapRouter_runningState = createCapRouter_runningState;
|
|
159
159
|
exports.createCapRouter_sceneMonitor = createCapRouter_sceneMonitor;
|
|
160
|
+
exports.createCapRouter_schedulers = createCapRouter_schedulers;
|
|
160
161
|
exports.createCapRouter_scriptRunner = createCapRouter_scriptRunner;
|
|
161
162
|
exports.createCapRouter_serverManagement = createCapRouter_serverManagement;
|
|
162
163
|
exports.createCapRouter_settingsStore = createCapRouter_settingsStore;
|
|
@@ -365,6 +366,7 @@ const types_159 = require("@camstack/types");
|
|
|
365
366
|
const types_160 = require("@camstack/types");
|
|
366
367
|
const types_161 = require("@camstack/types");
|
|
367
368
|
const types_162 = require("@camstack/types");
|
|
369
|
+
const types_163 = require("@camstack/types");
|
|
368
370
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
369
371
|
function requireCapProvider(name, getProvider) {
|
|
370
372
|
const p = getProvider();
|
|
@@ -11061,6 +11063,100 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
11061
11063
|
}),
|
|
11062
11064
|
});
|
|
11063
11065
|
}
|
|
11066
|
+
function createCapRouter_schedulers(getProvider, createRemoteProxy) {
|
|
11067
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11068
|
+
list: trpc_middleware_js_1.adminProcedure
|
|
11069
|
+
.input(types_126.schedulersCapability.methods.list.input.loose())
|
|
11070
|
+
.output(types_126.schedulersCapability.methods.list.output)
|
|
11071
|
+
.query(async ({ input, ctx }) => {
|
|
11072
|
+
const { nodeId, ...methodInput } = input;
|
|
11073
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11074
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11075
|
+
return p.list(methodInput);
|
|
11076
|
+
}),
|
|
11077
|
+
get: trpc_middleware_js_1.adminProcedure
|
|
11078
|
+
.input(types_126.schedulersCapability.methods.get.input.loose())
|
|
11079
|
+
.output(types_126.schedulersCapability.methods.get.output)
|
|
11080
|
+
.query(async ({ input, ctx }) => {
|
|
11081
|
+
const { nodeId, ...methodInput } = input;
|
|
11082
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11083
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11084
|
+
return p.get(methodInput);
|
|
11085
|
+
}),
|
|
11086
|
+
create: trpc_middleware_js_1.adminProcedure
|
|
11087
|
+
.input(types_126.schedulersCapability.methods.create.input.loose())
|
|
11088
|
+
.output(types_126.schedulersCapability.methods.create.output)
|
|
11089
|
+
.mutation(async ({ input, ctx }) => {
|
|
11090
|
+
const { nodeId, ...methodInput } = input;
|
|
11091
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11092
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11093
|
+
return p.create(methodInput);
|
|
11094
|
+
}),
|
|
11095
|
+
update: trpc_middleware_js_1.adminProcedure
|
|
11096
|
+
.input(types_126.schedulersCapability.methods.update.input.loose())
|
|
11097
|
+
.output(types_126.schedulersCapability.methods.update.output)
|
|
11098
|
+
.mutation(async ({ input, ctx }) => {
|
|
11099
|
+
const { nodeId, ...methodInput } = input;
|
|
11100
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11101
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11102
|
+
return p.update(methodInput);
|
|
11103
|
+
}),
|
|
11104
|
+
delete: trpc_middleware_js_1.adminProcedure
|
|
11105
|
+
.input(types_126.schedulersCapability.methods.delete.input.loose())
|
|
11106
|
+
.output(types_126.schedulersCapability.methods.delete.output)
|
|
11107
|
+
.mutation(async ({ input, ctx }) => {
|
|
11108
|
+
const { nodeId, ...methodInput } = input;
|
|
11109
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11110
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11111
|
+
return p.delete(methodInput);
|
|
11112
|
+
}),
|
|
11113
|
+
setEnabled: trpc_middleware_js_1.adminProcedure
|
|
11114
|
+
.input(types_126.schedulersCapability.methods.setEnabled.input.loose())
|
|
11115
|
+
.output(types_126.schedulersCapability.methods.setEnabled.output)
|
|
11116
|
+
.mutation(async ({ input, ctx }) => {
|
|
11117
|
+
const { nodeId, ...methodInput } = input;
|
|
11118
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11119
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11120
|
+
return p.setEnabled(methodInput);
|
|
11121
|
+
}),
|
|
11122
|
+
preview: trpc_middleware_js_1.adminProcedure
|
|
11123
|
+
.input(types_126.schedulersCapability.methods.preview.input.loose())
|
|
11124
|
+
.output(types_126.schedulersCapability.methods.preview.output)
|
|
11125
|
+
.query(async ({ input, ctx }) => {
|
|
11126
|
+
const { nodeId, ...methodInput } = input;
|
|
11127
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11128
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11129
|
+
return p.preview(methodInput);
|
|
11130
|
+
}),
|
|
11131
|
+
conflicts: trpc_middleware_js_1.adminProcedure
|
|
11132
|
+
.input(types_126.schedulersCapability.methods.conflicts.input.loose())
|
|
11133
|
+
.output(types_126.schedulersCapability.methods.conflicts.output)
|
|
11134
|
+
.query(async ({ input, ctx }) => {
|
|
11135
|
+
const { nodeId, ...methodInput } = input;
|
|
11136
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11137
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11138
|
+
return p.conflicts(methodInput);
|
|
11139
|
+
}),
|
|
11140
|
+
getStatus: trpc_middleware_js_1.adminProcedure
|
|
11141
|
+
.input(types_2.DEVICE_STATUS_METHOD.getStatus.input.loose())
|
|
11142
|
+
.output(types_2.DEVICE_STATUS_METHOD.getStatus.output)
|
|
11143
|
+
.query(async ({ input, ctx }) => {
|
|
11144
|
+
const { nodeId, ...methodInput } = input;
|
|
11145
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11146
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11147
|
+
return p.getStatus(methodInput);
|
|
11148
|
+
}),
|
|
11149
|
+
getTraces: trpc_middleware_js_1.adminProcedure
|
|
11150
|
+
.input(types_126.schedulersCapability.methods.getTraces.input.loose())
|
|
11151
|
+
.output(types_126.schedulersCapability.methods.getTraces.output)
|
|
11152
|
+
.query(async ({ input, ctx }) => {
|
|
11153
|
+
const { nodeId, ...methodInput } = input;
|
|
11154
|
+
const p = resolveProvider('schedulers', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11155
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
11156
|
+
return p.getTraces(methodInput);
|
|
11157
|
+
}),
|
|
11158
|
+
});
|
|
11159
|
+
}
|
|
11064
11160
|
function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
11065
11161
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11066
11162
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -11073,8 +11169,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
11073
11169
|
return p.getStatus(methodInput);
|
|
11074
11170
|
}),
|
|
11075
11171
|
run: trpc_middleware_js_1.adminProcedure
|
|
11076
|
-
.input(
|
|
11077
|
-
.output(
|
|
11172
|
+
.input(types_127.scriptRunnerCapability.methods.run.input.loose())
|
|
11173
|
+
.output(types_127.scriptRunnerCapability.methods.run.output)
|
|
11078
11174
|
.mutation(async ({ input, ctx }) => {
|
|
11079
11175
|
const { nodeId, ...methodInput } = input;
|
|
11080
11176
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11082,8 +11178,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
11082
11178
|
return p.run(methodInput);
|
|
11083
11179
|
}),
|
|
11084
11180
|
stop: trpc_middleware_js_1.adminProcedure
|
|
11085
|
-
.input(
|
|
11086
|
-
.output(
|
|
11181
|
+
.input(types_127.scriptRunnerCapability.methods.stop.input.loose())
|
|
11182
|
+
.output(types_127.scriptRunnerCapability.methods.stop.output)
|
|
11087
11183
|
.mutation(async ({ input, ctx }) => {
|
|
11088
11184
|
const { nodeId, ...methodInput } = input;
|
|
11089
11185
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11096,21 +11192,21 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11096
11192
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11097
11193
|
getServerPackageStatus: trpc_middleware_js_1.adminProcedure
|
|
11098
11194
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11099
|
-
.output(
|
|
11195
|
+
.output(types_128.serverManagementCapability.methods.getServerPackageStatus.output)
|
|
11100
11196
|
.query(async ({ input, ctx }) => {
|
|
11101
11197
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11102
11198
|
return p.getServerPackageStatus();
|
|
11103
11199
|
}),
|
|
11104
11200
|
checkServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11105
11201
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11106
|
-
.output(
|
|
11202
|
+
.output(types_128.serverManagementCapability.methods.checkServerUpdate.output)
|
|
11107
11203
|
.mutation(async ({ input, ctx }) => {
|
|
11108
11204
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11109
11205
|
return p.checkServerUpdate();
|
|
11110
11206
|
}),
|
|
11111
11207
|
applyServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11112
|
-
.input(
|
|
11113
|
-
.output(
|
|
11208
|
+
.input(types_128.serverManagementCapability.methods.applyServerUpdate.input.loose())
|
|
11209
|
+
.output(types_128.serverManagementCapability.methods.applyServerUpdate.output)
|
|
11114
11210
|
.mutation(async ({ input, ctx }) => {
|
|
11115
11211
|
const { nodeId, ...methodInput } = input;
|
|
11116
11212
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11119,35 +11215,35 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11119
11215
|
}),
|
|
11120
11216
|
installDesktopUpdate: trpc_middleware_js_1.adminProcedure
|
|
11121
11217
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11122
|
-
.output(
|
|
11218
|
+
.output(types_128.serverManagementCapability.methods.installDesktopUpdate.output)
|
|
11123
11219
|
.mutation(async ({ input, ctx }) => {
|
|
11124
11220
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11125
11221
|
return p.installDesktopUpdate();
|
|
11126
11222
|
}),
|
|
11127
11223
|
rollbackServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11128
11224
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11129
|
-
.output(
|
|
11225
|
+
.output(types_128.serverManagementCapability.methods.rollbackServerUpdate.output)
|
|
11130
11226
|
.mutation(async ({ input, ctx }) => {
|
|
11131
11227
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11132
11228
|
return p.rollbackServerUpdate();
|
|
11133
11229
|
}),
|
|
11134
11230
|
restartServer: trpc_middleware_js_1.adminProcedure
|
|
11135
11231
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11136
|
-
.output(
|
|
11232
|
+
.output(types_128.serverManagementCapability.methods.restartServer.output)
|
|
11137
11233
|
.mutation(async ({ input, ctx }) => {
|
|
11138
11234
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11139
11235
|
return p.restartServer();
|
|
11140
11236
|
}),
|
|
11141
11237
|
getLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
11142
11238
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11143
|
-
.output(
|
|
11239
|
+
.output(types_128.serverManagementCapability.methods.getLaunchOverrides.output)
|
|
11144
11240
|
.query(async ({ input, ctx }) => {
|
|
11145
11241
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11146
11242
|
return p.getLaunchOverrides();
|
|
11147
11243
|
}),
|
|
11148
11244
|
setLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
11149
|
-
.input(
|
|
11150
|
-
.output(
|
|
11245
|
+
.input(types_128.serverManagementCapability.methods.setLaunchOverrides.input.loose())
|
|
11246
|
+
.output(types_128.serverManagementCapability.methods.setLaunchOverrides.output)
|
|
11151
11247
|
.mutation(async ({ input, ctx }) => {
|
|
11152
11248
|
const { nodeId, ...methodInput } = input;
|
|
11153
11249
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11159,8 +11255,8 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11159
11255
|
function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
11160
11256
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11161
11257
|
get: trpc_middleware_js_1.adminProcedure
|
|
11162
|
-
.input(
|
|
11163
|
-
.output(
|
|
11258
|
+
.input(types_129.settingsStoreCapability.methods.get.input.loose())
|
|
11259
|
+
.output(types_129.settingsStoreCapability.methods.get.output)
|
|
11164
11260
|
.query(async ({ input, ctx }) => {
|
|
11165
11261
|
const { nodeId, ...methodInput } = input;
|
|
11166
11262
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11168,8 +11264,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11168
11264
|
return p.get(methodInput);
|
|
11169
11265
|
}),
|
|
11170
11266
|
set: trpc_middleware_js_1.adminProcedure
|
|
11171
|
-
.input(
|
|
11172
|
-
.output(
|
|
11267
|
+
.input(types_129.settingsStoreCapability.methods.set.input.loose())
|
|
11268
|
+
.output(types_129.settingsStoreCapability.methods.set.output)
|
|
11173
11269
|
.mutation(async ({ input, ctx }) => {
|
|
11174
11270
|
const { nodeId, ...methodInput } = input;
|
|
11175
11271
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11177,8 +11273,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11177
11273
|
return p.set(methodInput);
|
|
11178
11274
|
}),
|
|
11179
11275
|
query: trpc_middleware_js_1.adminProcedure
|
|
11180
|
-
.input(
|
|
11181
|
-
.output(
|
|
11276
|
+
.input(types_129.settingsStoreCapability.methods.query.input.loose())
|
|
11277
|
+
.output(types_129.settingsStoreCapability.methods.query.output)
|
|
11182
11278
|
.query(async ({ input, ctx }) => {
|
|
11183
11279
|
const { nodeId, ...methodInput } = input;
|
|
11184
11280
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11186,8 +11282,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11186
11282
|
return p.query(methodInput);
|
|
11187
11283
|
}),
|
|
11188
11284
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
11189
|
-
.input(
|
|
11190
|
-
.output(
|
|
11285
|
+
.input(types_129.settingsStoreCapability.methods.upsert.input.loose())
|
|
11286
|
+
.output(types_129.settingsStoreCapability.methods.upsert.output)
|
|
11191
11287
|
.mutation(async ({ input, ctx }) => {
|
|
11192
11288
|
const { nodeId, ...methodInput } = input;
|
|
11193
11289
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11195,8 +11291,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11195
11291
|
return p.upsert(methodInput);
|
|
11196
11292
|
}),
|
|
11197
11293
|
upsertMany: trpc_middleware_js_1.adminProcedure
|
|
11198
|
-
.input(
|
|
11199
|
-
.output(
|
|
11294
|
+
.input(types_129.settingsStoreCapability.methods.upsertMany.input.loose())
|
|
11295
|
+
.output(types_129.settingsStoreCapability.methods.upsertMany.output)
|
|
11200
11296
|
.mutation(async ({ input, ctx }) => {
|
|
11201
11297
|
const { nodeId, ...methodInput } = input;
|
|
11202
11298
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11204,8 +11300,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11204
11300
|
return p.upsertMany(methodInput);
|
|
11205
11301
|
}),
|
|
11206
11302
|
insert: trpc_middleware_js_1.adminProcedure
|
|
11207
|
-
.input(
|
|
11208
|
-
.output(
|
|
11303
|
+
.input(types_129.settingsStoreCapability.methods.insert.input.loose())
|
|
11304
|
+
.output(types_129.settingsStoreCapability.methods.insert.output)
|
|
11209
11305
|
.mutation(async ({ input, ctx }) => {
|
|
11210
11306
|
const { nodeId, ...methodInput } = input;
|
|
11211
11307
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11213,8 +11309,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11213
11309
|
return p.insert(methodInput);
|
|
11214
11310
|
}),
|
|
11215
11311
|
insertMany: trpc_middleware_js_1.adminProcedure
|
|
11216
|
-
.input(
|
|
11217
|
-
.output(
|
|
11312
|
+
.input(types_129.settingsStoreCapability.methods.insertMany.input.loose())
|
|
11313
|
+
.output(types_129.settingsStoreCapability.methods.insertMany.output)
|
|
11218
11314
|
.mutation(async ({ input, ctx }) => {
|
|
11219
11315
|
const { nodeId, ...methodInput } = input;
|
|
11220
11316
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11222,8 +11318,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11222
11318
|
return p.insertMany(methodInput);
|
|
11223
11319
|
}),
|
|
11224
11320
|
transact: trpc_middleware_js_1.adminProcedure
|
|
11225
|
-
.input(
|
|
11226
|
-
.output(
|
|
11321
|
+
.input(types_129.settingsStoreCapability.methods.transact.input.loose())
|
|
11322
|
+
.output(types_129.settingsStoreCapability.methods.transact.output)
|
|
11227
11323
|
.mutation(async ({ input, ctx }) => {
|
|
11228
11324
|
const { nodeId, ...methodInput } = input;
|
|
11229
11325
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11231,8 +11327,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11231
11327
|
return p.transact(methodInput);
|
|
11232
11328
|
}),
|
|
11233
11329
|
update: trpc_middleware_js_1.adminProcedure
|
|
11234
|
-
.input(
|
|
11235
|
-
.output(
|
|
11330
|
+
.input(types_129.settingsStoreCapability.methods.update.input.loose())
|
|
11331
|
+
.output(types_129.settingsStoreCapability.methods.update.output)
|
|
11236
11332
|
.mutation(async ({ input, ctx }) => {
|
|
11237
11333
|
const { nodeId, ...methodInput } = input;
|
|
11238
11334
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11240,8 +11336,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11240
11336
|
return p.update(methodInput);
|
|
11241
11337
|
}),
|
|
11242
11338
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11243
|
-
.input(
|
|
11244
|
-
.output(
|
|
11339
|
+
.input(types_129.settingsStoreCapability.methods.delete.input.loose())
|
|
11340
|
+
.output(types_129.settingsStoreCapability.methods.delete.output)
|
|
11245
11341
|
.mutation(async ({ input, ctx }) => {
|
|
11246
11342
|
const { nodeId, ...methodInput } = input;
|
|
11247
11343
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11249,8 +11345,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11249
11345
|
return p.delete(methodInput);
|
|
11250
11346
|
}),
|
|
11251
11347
|
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
11252
|
-
.input(
|
|
11253
|
-
.output(
|
|
11348
|
+
.input(types_129.settingsStoreCapability.methods.deleteWhere.input.loose())
|
|
11349
|
+
.output(types_129.settingsStoreCapability.methods.deleteWhere.output)
|
|
11254
11350
|
.mutation(async ({ input, ctx }) => {
|
|
11255
11351
|
const { nodeId, ...methodInput } = input;
|
|
11256
11352
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11258,8 +11354,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11258
11354
|
return p.deleteWhere(methodInput);
|
|
11259
11355
|
}),
|
|
11260
11356
|
updateWhere: trpc_middleware_js_1.adminProcedure
|
|
11261
|
-
.input(
|
|
11262
|
-
.output(
|
|
11357
|
+
.input(types_129.settingsStoreCapability.methods.updateWhere.input.loose())
|
|
11358
|
+
.output(types_129.settingsStoreCapability.methods.updateWhere.output)
|
|
11263
11359
|
.mutation(async ({ input, ctx }) => {
|
|
11264
11360
|
const { nodeId, ...methodInput } = input;
|
|
11265
11361
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11267,8 +11363,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11267
11363
|
return p.updateWhere(methodInput);
|
|
11268
11364
|
}),
|
|
11269
11365
|
count: trpc_middleware_js_1.adminProcedure
|
|
11270
|
-
.input(
|
|
11271
|
-
.output(
|
|
11366
|
+
.input(types_129.settingsStoreCapability.methods.count.input.loose())
|
|
11367
|
+
.output(types_129.settingsStoreCapability.methods.count.output)
|
|
11272
11368
|
.query(async ({ input, ctx }) => {
|
|
11273
11369
|
const { nodeId, ...methodInput } = input;
|
|
11274
11370
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11276,8 +11372,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11276
11372
|
return p.count(methodInput);
|
|
11277
11373
|
}),
|
|
11278
11374
|
aggregate: trpc_middleware_js_1.adminProcedure
|
|
11279
|
-
.input(
|
|
11280
|
-
.output(
|
|
11375
|
+
.input(types_129.settingsStoreCapability.methods.aggregate.input.loose())
|
|
11376
|
+
.output(types_129.settingsStoreCapability.methods.aggregate.output)
|
|
11281
11377
|
.query(async ({ input, ctx }) => {
|
|
11282
11378
|
const { nodeId, ...methodInput } = input;
|
|
11283
11379
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11285,8 +11381,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11285
11381
|
return p.aggregate(methodInput);
|
|
11286
11382
|
}),
|
|
11287
11383
|
histogram: trpc_middleware_js_1.adminProcedure
|
|
11288
|
-
.input(
|
|
11289
|
-
.output(
|
|
11384
|
+
.input(types_129.settingsStoreCapability.methods.histogram.input.loose())
|
|
11385
|
+
.output(types_129.settingsStoreCapability.methods.histogram.output)
|
|
11290
11386
|
.query(async ({ input, ctx }) => {
|
|
11291
11387
|
const { nodeId, ...methodInput } = input;
|
|
11292
11388
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11294,8 +11390,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11294
11390
|
return p.histogram(methodInput);
|
|
11295
11391
|
}),
|
|
11296
11392
|
isEmpty: trpc_middleware_js_1.adminProcedure
|
|
11297
|
-
.input(
|
|
11298
|
-
.output(
|
|
11393
|
+
.input(types_129.settingsStoreCapability.methods.isEmpty.input.loose())
|
|
11394
|
+
.output(types_129.settingsStoreCapability.methods.isEmpty.output)
|
|
11299
11395
|
.query(async ({ input, ctx }) => {
|
|
11300
11396
|
const { nodeId, ...methodInput } = input;
|
|
11301
11397
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11303,8 +11399,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11303
11399
|
return p.isEmpty(methodInput);
|
|
11304
11400
|
}),
|
|
11305
11401
|
declareCollection: trpc_middleware_js_1.adminProcedure
|
|
11306
|
-
.input(
|
|
11307
|
-
.output(
|
|
11402
|
+
.input(types_129.settingsStoreCapability.methods.declareCollection.input.loose())
|
|
11403
|
+
.output(types_129.settingsStoreCapability.methods.declareCollection.output)
|
|
11308
11404
|
.mutation(async ({ input, ctx }) => {
|
|
11309
11405
|
const { nodeId, ...methodInput } = input;
|
|
11310
11406
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11329,8 +11425,8 @@ function createCapRouter_smoke(getProvider, createRemoteProxy) {
|
|
|
11329
11425
|
function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
11330
11426
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11331
11427
|
sendEmail: trpc_middleware_js_1.adminProcedure
|
|
11332
|
-
.input(
|
|
11333
|
-
.output(
|
|
11428
|
+
.input(types_130.smtpProviderCapability.methods.sendEmail.input.loose())
|
|
11429
|
+
.output(types_130.smtpProviderCapability.methods.sendEmail.output)
|
|
11334
11430
|
.mutation(async ({ input, ctx }) => {
|
|
11335
11431
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11336
11432
|
const p = resolveProvider('smtp-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11339,7 +11435,7 @@ function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
|
11339
11435
|
}),
|
|
11340
11436
|
verify: trpc_middleware_js_1.adminProcedure
|
|
11341
11437
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11342
|
-
.output(
|
|
11438
|
+
.output(types_130.smtpProviderCapability.methods.verify.output)
|
|
11343
11439
|
.mutation(async ({ input, ctx }) => {
|
|
11344
11440
|
const p = resolveProvider('smtp-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11345
11441
|
return p.verify();
|
|
@@ -11392,8 +11488,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11392
11488
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
11393
11489
|
}),
|
|
11394
11490
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
11395
|
-
.input(
|
|
11396
|
-
.output(
|
|
11491
|
+
.input(types_131.snapshotCapability.methods.getSnapshot.input.loose())
|
|
11492
|
+
.output(types_131.snapshotCapability.methods.getSnapshot.output)
|
|
11397
11493
|
.query(async ({ input, ctx }) => {
|
|
11398
11494
|
const { nodeId, ...methodInput } = input;
|
|
11399
11495
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11401,8 +11497,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11401
11497
|
return p.getSnapshot(methodInput);
|
|
11402
11498
|
}),
|
|
11403
11499
|
invalidateCache: trpc_middleware_js_1.adminProcedure
|
|
11404
|
-
.input(
|
|
11405
|
-
.output(
|
|
11500
|
+
.input(types_131.snapshotCapability.methods.invalidateCache.input.loose())
|
|
11501
|
+
.output(types_131.snapshotCapability.methods.invalidateCache.output)
|
|
11406
11502
|
.mutation(async ({ input, ctx }) => {
|
|
11407
11503
|
const { nodeId, ...methodInput } = input;
|
|
11408
11504
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11410,8 +11506,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11410
11506
|
return p.invalidateCache(methodInput);
|
|
11411
11507
|
}),
|
|
11412
11508
|
getSnapshotOverview: trpc_middleware_js_1.protectedProcedure
|
|
11413
|
-
.input(
|
|
11414
|
-
.output(
|
|
11509
|
+
.input(types_131.snapshotCapability.methods.getSnapshotOverview.input.loose())
|
|
11510
|
+
.output(types_131.snapshotCapability.methods.getSnapshotOverview.output)
|
|
11415
11511
|
.query(async ({ input, ctx }) => {
|
|
11416
11512
|
const { nodeId, ...methodInput } = input;
|
|
11417
11513
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11419,8 +11515,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11419
11515
|
return p.getSnapshotOverview(methodInput);
|
|
11420
11516
|
}),
|
|
11421
11517
|
getDebugState: trpc_middleware_js_1.protectedProcedure
|
|
11422
|
-
.input(
|
|
11423
|
-
.output(
|
|
11518
|
+
.input(types_131.snapshotCapability.methods.getDebugState.input.loose())
|
|
11519
|
+
.output(types_131.snapshotCapability.methods.getDebugState.output)
|
|
11424
11520
|
.query(async ({ input, ctx }) => {
|
|
11425
11521
|
const { nodeId, ...methodInput } = input;
|
|
11426
11522
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11428,8 +11524,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11428
11524
|
return p.getDebugState(methodInput);
|
|
11429
11525
|
}),
|
|
11430
11526
|
getSnapshotLinks: trpc_middleware_js_1.protectedProcedure
|
|
11431
|
-
.input(
|
|
11432
|
-
.output(
|
|
11527
|
+
.input(types_131.snapshotCapability.methods.getSnapshotLinks.input.loose())
|
|
11528
|
+
.output(types_131.snapshotCapability.methods.getSnapshotLinks.output)
|
|
11433
11529
|
.query(async ({ input, ctx }) => {
|
|
11434
11530
|
const { nodeId, ...methodInput } = input;
|
|
11435
11531
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11441,8 +11537,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11441
11537
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
11442
11538
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11443
11539
|
signBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11444
|
-
.input(
|
|
11445
|
-
.output(
|
|
11540
|
+
.input(types_132.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
11541
|
+
.output(types_132.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
11446
11542
|
.query(async ({ input, ctx }) => {
|
|
11447
11543
|
const { nodeId, ...methodInput } = input;
|
|
11448
11544
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11450,8 +11546,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11450
11546
|
return p.signBridgeToken(methodInput);
|
|
11451
11547
|
}),
|
|
11452
11548
|
verifyBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11453
|
-
.input(
|
|
11454
|
-
.output(
|
|
11549
|
+
.input(types_132.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
11550
|
+
.output(types_132.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
11455
11551
|
.query(async ({ input, ctx }) => {
|
|
11456
11552
|
const { nodeId, ...methodInput } = input;
|
|
11457
11553
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11463,8 +11559,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11463
11559
|
function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
11464
11560
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11465
11561
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11466
|
-
.input(
|
|
11467
|
-
.output(
|
|
11562
|
+
.input(types_133.storageCapability.methods.resolve.input.loose())
|
|
11563
|
+
.output(types_133.storageCapability.methods.resolve.output)
|
|
11468
11564
|
.query(async ({ input, ctx }) => {
|
|
11469
11565
|
const { nodeId, ...methodInput } = input;
|
|
11470
11566
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11472,8 +11568,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11472
11568
|
return p.resolve(methodInput);
|
|
11473
11569
|
}),
|
|
11474
11570
|
write: trpc_middleware_js_1.adminProcedure
|
|
11475
|
-
.input(
|
|
11476
|
-
.output(
|
|
11571
|
+
.input(types_133.storageCapability.methods.write.input.loose())
|
|
11572
|
+
.output(types_133.storageCapability.methods.write.output)
|
|
11477
11573
|
.mutation(async ({ input, ctx }) => {
|
|
11478
11574
|
const { nodeId, ...methodInput } = input;
|
|
11479
11575
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11481,8 +11577,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11481
11577
|
return p.write(methodInput);
|
|
11482
11578
|
}),
|
|
11483
11579
|
read: trpc_middleware_js_1.adminProcedure
|
|
11484
|
-
.input(
|
|
11485
|
-
.output(
|
|
11580
|
+
.input(types_133.storageCapability.methods.read.input.loose())
|
|
11581
|
+
.output(types_133.storageCapability.methods.read.output)
|
|
11486
11582
|
.query(async ({ input, ctx }) => {
|
|
11487
11583
|
const { nodeId, ...methodInput } = input;
|
|
11488
11584
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11490,8 +11586,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11490
11586
|
return p.read(methodInput);
|
|
11491
11587
|
}),
|
|
11492
11588
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11493
|
-
.input(
|
|
11494
|
-
.output(
|
|
11589
|
+
.input(types_133.storageCapability.methods.exists.input.loose())
|
|
11590
|
+
.output(types_133.storageCapability.methods.exists.output)
|
|
11495
11591
|
.query(async ({ input, ctx }) => {
|
|
11496
11592
|
const { nodeId, ...methodInput } = input;
|
|
11497
11593
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11499,8 +11595,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11499
11595
|
return p.exists(methodInput);
|
|
11500
11596
|
}),
|
|
11501
11597
|
list: trpc_middleware_js_1.adminProcedure
|
|
11502
|
-
.input(
|
|
11503
|
-
.output(
|
|
11598
|
+
.input(types_133.storageCapability.methods.list.input.loose())
|
|
11599
|
+
.output(types_133.storageCapability.methods.list.output)
|
|
11504
11600
|
.query(async ({ input, ctx }) => {
|
|
11505
11601
|
const { nodeId, ...methodInput } = input;
|
|
11506
11602
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11508,8 +11604,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11508
11604
|
return p.list(methodInput);
|
|
11509
11605
|
}),
|
|
11510
11606
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11511
|
-
.input(
|
|
11512
|
-
.output(
|
|
11607
|
+
.input(types_133.storageCapability.methods.delete.input.loose())
|
|
11608
|
+
.output(types_133.storageCapability.methods.delete.output)
|
|
11513
11609
|
.mutation(async ({ input, ctx }) => {
|
|
11514
11610
|
const { nodeId, ...methodInput } = input;
|
|
11515
11611
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11517,8 +11613,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11517
11613
|
return p.delete(methodInput);
|
|
11518
11614
|
}),
|
|
11519
11615
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
11520
|
-
.input(
|
|
11521
|
-
.output(
|
|
11616
|
+
.input(types_133.storageCapability.methods.getAvailableSpace.input.loose())
|
|
11617
|
+
.output(types_133.storageCapability.methods.getAvailableSpace.output)
|
|
11522
11618
|
.query(async ({ input, ctx }) => {
|
|
11523
11619
|
const { nodeId, ...methodInput } = input;
|
|
11524
11620
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11526,8 +11622,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11526
11622
|
return p.getAvailableSpace(methodInput);
|
|
11527
11623
|
}),
|
|
11528
11624
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11529
|
-
.input(
|
|
11530
|
-
.output(
|
|
11625
|
+
.input(types_133.storageCapability.methods.beginUpload.input.loose())
|
|
11626
|
+
.output(types_133.storageCapability.methods.beginUpload.output)
|
|
11531
11627
|
.mutation(async ({ input, ctx }) => {
|
|
11532
11628
|
const { nodeId, ...methodInput } = input;
|
|
11533
11629
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11535,8 +11631,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11535
11631
|
return p.beginUpload(methodInput);
|
|
11536
11632
|
}),
|
|
11537
11633
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11538
|
-
.input(
|
|
11539
|
-
.output(
|
|
11634
|
+
.input(types_133.storageCapability.methods.writeChunk.input.loose())
|
|
11635
|
+
.output(types_133.storageCapability.methods.writeChunk.output)
|
|
11540
11636
|
.mutation(async ({ input, ctx }) => {
|
|
11541
11637
|
const { nodeId, ...methodInput } = input;
|
|
11542
11638
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11544,8 +11640,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11544
11640
|
return p.writeChunk(methodInput);
|
|
11545
11641
|
}),
|
|
11546
11642
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11547
|
-
.input(
|
|
11548
|
-
.output(
|
|
11643
|
+
.input(types_133.storageCapability.methods.finalizeUpload.input.loose())
|
|
11644
|
+
.output(types_133.storageCapability.methods.finalizeUpload.output)
|
|
11549
11645
|
.mutation(async ({ input, ctx }) => {
|
|
11550
11646
|
const { nodeId, ...methodInput } = input;
|
|
11551
11647
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11553,8 +11649,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11553
11649
|
return p.finalizeUpload(methodInput);
|
|
11554
11650
|
}),
|
|
11555
11651
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11556
|
-
.input(
|
|
11557
|
-
.output(
|
|
11652
|
+
.input(types_133.storageCapability.methods.abortUpload.input.loose())
|
|
11653
|
+
.output(types_133.storageCapability.methods.abortUpload.output)
|
|
11558
11654
|
.mutation(async ({ input, ctx }) => {
|
|
11559
11655
|
const { nodeId, ...methodInput } = input;
|
|
11560
11656
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11562,8 +11658,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11562
11658
|
return p.abortUpload(methodInput);
|
|
11563
11659
|
}),
|
|
11564
11660
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11565
|
-
.input(
|
|
11566
|
-
.output(
|
|
11661
|
+
.input(types_133.storageCapability.methods.beginDownload.input.loose())
|
|
11662
|
+
.output(types_133.storageCapability.methods.beginDownload.output)
|
|
11567
11663
|
.mutation(async ({ input, ctx }) => {
|
|
11568
11664
|
const { nodeId, ...methodInput } = input;
|
|
11569
11665
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11571,8 +11667,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11571
11667
|
return p.beginDownload(methodInput);
|
|
11572
11668
|
}),
|
|
11573
11669
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
11574
|
-
.input(
|
|
11575
|
-
.output(
|
|
11670
|
+
.input(types_133.storageCapability.methods.readChunk.input.loose())
|
|
11671
|
+
.output(types_133.storageCapability.methods.readChunk.output)
|
|
11576
11672
|
.query(async ({ input, ctx }) => {
|
|
11577
11673
|
const { nodeId, ...methodInput } = input;
|
|
11578
11674
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11580,8 +11676,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11580
11676
|
return p.readChunk(methodInput);
|
|
11581
11677
|
}),
|
|
11582
11678
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
11583
|
-
.input(
|
|
11584
|
-
.output(
|
|
11679
|
+
.input(types_133.storageCapability.methods.endDownload.input.loose())
|
|
11680
|
+
.output(types_133.storageCapability.methods.endDownload.output)
|
|
11585
11681
|
.mutation(async ({ input, ctx }) => {
|
|
11586
11682
|
const { nodeId, ...methodInput } = input;
|
|
11587
11683
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11589,8 +11685,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11589
11685
|
return p.endDownload(methodInput);
|
|
11590
11686
|
}),
|
|
11591
11687
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
11592
|
-
.input(
|
|
11593
|
-
.output(
|
|
11688
|
+
.input(types_133.storageCapability.methods.listLocations.input.loose())
|
|
11689
|
+
.output(types_133.storageCapability.methods.listLocations.output)
|
|
11594
11690
|
.query(async ({ input, ctx }) => {
|
|
11595
11691
|
const { nodeId, ...methodInput } = input;
|
|
11596
11692
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11599,14 +11695,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11599
11695
|
}),
|
|
11600
11696
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
11601
11697
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11602
|
-
.output(
|
|
11698
|
+
.output(types_133.storageCapability.methods.listLocationDeclarations.output)
|
|
11603
11699
|
.query(async ({ input, ctx }) => {
|
|
11604
11700
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11605
11701
|
return p.listLocationDeclarations();
|
|
11606
11702
|
}),
|
|
11607
11703
|
upsertLocation: trpc_middleware_js_1.adminProcedure
|
|
11608
|
-
.input(
|
|
11609
|
-
.output(
|
|
11704
|
+
.input(types_133.storageCapability.methods.upsertLocation.input.loose())
|
|
11705
|
+
.output(types_133.storageCapability.methods.upsertLocation.output)
|
|
11610
11706
|
.mutation(async ({ input, ctx }) => {
|
|
11611
11707
|
const { nodeId, ...methodInput } = input;
|
|
11612
11708
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11614,8 +11710,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11614
11710
|
return p.upsertLocation(methodInput);
|
|
11615
11711
|
}),
|
|
11616
11712
|
deleteLocation: trpc_middleware_js_1.adminProcedure
|
|
11617
|
-
.input(
|
|
11618
|
-
.output(
|
|
11713
|
+
.input(types_133.storageCapability.methods.deleteLocation.input.loose())
|
|
11714
|
+
.output(types_133.storageCapability.methods.deleteLocation.output)
|
|
11619
11715
|
.mutation(async ({ input, ctx }) => {
|
|
11620
11716
|
const { nodeId, ...methodInput } = input;
|
|
11621
11717
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11624,14 +11720,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11624
11720
|
}),
|
|
11625
11721
|
listDrainProgress: trpc_middleware_js_1.protectedProcedure
|
|
11626
11722
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11627
|
-
.output(
|
|
11723
|
+
.output(types_133.storageCapability.methods.listDrainProgress.output)
|
|
11628
11724
|
.query(async ({ input, ctx }) => {
|
|
11629
11725
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11630
11726
|
return p.listDrainProgress();
|
|
11631
11727
|
}),
|
|
11632
11728
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11633
|
-
.input(
|
|
11634
|
-
.output(
|
|
11729
|
+
.input(types_133.storageCapability.methods.testLocation.input.loose())
|
|
11730
|
+
.output(types_133.storageCapability.methods.testLocation.output)
|
|
11635
11731
|
.query(async ({ input, ctx }) => {
|
|
11636
11732
|
const { nodeId, ...methodInput } = input;
|
|
11637
11733
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11640,14 +11736,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11640
11736
|
}),
|
|
11641
11737
|
listProviders: trpc_middleware_js_1.protectedProcedure
|
|
11642
11738
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11643
|
-
.output(
|
|
11739
|
+
.output(types_133.storageCapability.methods.listProviders.output)
|
|
11644
11740
|
.query(async ({ input, ctx }) => {
|
|
11645
11741
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11646
11742
|
return p.listProviders();
|
|
11647
11743
|
}),
|
|
11648
11744
|
testConfig: trpc_middleware_js_1.adminProcedure
|
|
11649
|
-
.input(
|
|
11650
|
-
.output(
|
|
11745
|
+
.input(types_133.storageCapability.methods.testConfig.input.loose())
|
|
11746
|
+
.output(types_133.storageCapability.methods.testConfig.output)
|
|
11651
11747
|
.query(async ({ input, ctx }) => {
|
|
11652
11748
|
const { nodeId, ...methodInput } = input;
|
|
11653
11749
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11659,8 +11755,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11659
11755
|
function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
11660
11756
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11661
11757
|
listTables: trpc_middleware_js_1.adminProcedure
|
|
11662
|
-
.input(
|
|
11663
|
-
.output(
|
|
11758
|
+
.input(types_134.storageAdminCapability.methods.listTables.input.loose())
|
|
11759
|
+
.output(types_134.storageAdminCapability.methods.listTables.output)
|
|
11664
11760
|
.query(async ({ input, ctx }) => {
|
|
11665
11761
|
const { nodeId, ...methodInput } = input;
|
|
11666
11762
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11668,8 +11764,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11668
11764
|
return p.listTables(methodInput);
|
|
11669
11765
|
}),
|
|
11670
11766
|
listKinds: trpc_middleware_js_1.adminProcedure
|
|
11671
|
-
.input(
|
|
11672
|
-
.output(
|
|
11767
|
+
.input(types_134.storageAdminCapability.methods.listKinds.input.loose())
|
|
11768
|
+
.output(types_134.storageAdminCapability.methods.listKinds.output)
|
|
11673
11769
|
.query(async ({ input, ctx }) => {
|
|
11674
11770
|
const { nodeId, ...methodInput } = input;
|
|
11675
11771
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11677,8 +11773,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11677
11773
|
return p.listKinds(methodInput);
|
|
11678
11774
|
}),
|
|
11679
11775
|
readRecords: trpc_middleware_js_1.adminProcedure
|
|
11680
|
-
.input(
|
|
11681
|
-
.output(
|
|
11776
|
+
.input(types_134.storageAdminCapability.methods.readRecords.input.loose())
|
|
11777
|
+
.output(types_134.storageAdminCapability.methods.readRecords.output)
|
|
11682
11778
|
.query(async ({ input, ctx }) => {
|
|
11683
11779
|
const { nodeId, ...methodInput } = input;
|
|
11684
11780
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11686,8 +11782,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11686
11782
|
return p.readRecords(methodInput);
|
|
11687
11783
|
}),
|
|
11688
11784
|
staleDataReport: trpc_middleware_js_1.adminProcedure
|
|
11689
|
-
.input(
|
|
11690
|
-
.output(
|
|
11785
|
+
.input(types_134.storageAdminCapability.methods.staleDataReport.input.loose())
|
|
11786
|
+
.output(types_134.storageAdminCapability.methods.staleDataReport.output)
|
|
11691
11787
|
.query(async ({ input, ctx }) => {
|
|
11692
11788
|
const { nodeId, ...methodInput } = input;
|
|
11693
11789
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11695,8 +11791,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11695
11791
|
return p.staleDataReport(methodInput);
|
|
11696
11792
|
}),
|
|
11697
11793
|
scanStaleData: trpc_middleware_js_1.adminProcedure
|
|
11698
|
-
.input(
|
|
11699
|
-
.output(
|
|
11794
|
+
.input(types_134.storageAdminCapability.methods.scanStaleData.input.loose())
|
|
11795
|
+
.output(types_134.storageAdminCapability.methods.scanStaleData.output)
|
|
11700
11796
|
.mutation(async ({ input, ctx }) => {
|
|
11701
11797
|
const { nodeId, ...methodInput } = input;
|
|
11702
11798
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11704,8 +11800,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11704
11800
|
return p.scanStaleData(methodInput);
|
|
11705
11801
|
}),
|
|
11706
11802
|
dropOrphanedKind: trpc_middleware_js_1.adminProcedure
|
|
11707
|
-
.input(
|
|
11708
|
-
.output(
|
|
11803
|
+
.input(types_134.storageAdminCapability.methods.dropOrphanedKind.input.loose())
|
|
11804
|
+
.output(types_134.storageAdminCapability.methods.dropOrphanedKind.output)
|
|
11709
11805
|
.mutation(async ({ input, ctx }) => {
|
|
11710
11806
|
const { nodeId, ...methodInput } = input;
|
|
11711
11807
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11713,8 +11809,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11713
11809
|
return p.dropOrphanedKind(methodInput);
|
|
11714
11810
|
}),
|
|
11715
11811
|
unsetStaleSettingsKey: trpc_middleware_js_1.adminProcedure
|
|
11716
|
-
.input(
|
|
11717
|
-
.output(
|
|
11812
|
+
.input(types_134.storageAdminCapability.methods.unsetStaleSettingsKey.input.loose())
|
|
11813
|
+
.output(types_134.storageAdminCapability.methods.unsetStaleSettingsKey.output)
|
|
11718
11814
|
.mutation(async ({ input, ctx }) => {
|
|
11719
11815
|
const { nodeId, ...methodInput } = input;
|
|
11720
11816
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11726,8 +11822,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11726
11822
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
11727
11823
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11728
11824
|
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
11729
|
-
.input(
|
|
11730
|
-
.output(
|
|
11825
|
+
.input(types_135.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
11826
|
+
.output(types_135.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
11731
11827
|
.query(async ({ input, ctx }) => {
|
|
11732
11828
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11733
11829
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11735,8 +11831,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11735
11831
|
return p.getEvictableUsage(methodInput);
|
|
11736
11832
|
}),
|
|
11737
11833
|
evict: trpc_middleware_js_1.adminProcedure
|
|
11738
|
-
.input(
|
|
11739
|
-
.output(
|
|
11834
|
+
.input(types_135.storageEvictableCapability.methods.evict.input.loose())
|
|
11835
|
+
.output(types_135.storageEvictableCapability.methods.evict.output)
|
|
11740
11836
|
.mutation(async ({ input, ctx }) => {
|
|
11741
11837
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11742
11838
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11748,8 +11844,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11748
11844
|
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
11749
11845
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11750
11846
|
plan: trpc_middleware_js_1.adminProcedure
|
|
11751
|
-
.input(
|
|
11752
|
-
.output(
|
|
11847
|
+
.input(types_136.storageMigrationCapability.methods.plan.input.loose())
|
|
11848
|
+
.output(types_136.storageMigrationCapability.methods.plan.output)
|
|
11753
11849
|
.query(async ({ input, ctx }) => {
|
|
11754
11850
|
const { nodeId, ...methodInput } = input;
|
|
11755
11851
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11757,8 +11853,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11757
11853
|
return p.plan(methodInput);
|
|
11758
11854
|
}),
|
|
11759
11855
|
start: trpc_middleware_js_1.adminProcedure
|
|
11760
|
-
.input(
|
|
11761
|
-
.output(
|
|
11856
|
+
.input(types_136.storageMigrationCapability.methods.start.input.loose())
|
|
11857
|
+
.output(types_136.storageMigrationCapability.methods.start.output)
|
|
11762
11858
|
.mutation(async ({ input, ctx }) => {
|
|
11763
11859
|
const { nodeId, ...methodInput } = input;
|
|
11764
11860
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11766,8 +11862,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11766
11862
|
return p.start(methodInput);
|
|
11767
11863
|
}),
|
|
11768
11864
|
status: trpc_middleware_js_1.adminProcedure
|
|
11769
|
-
.input(
|
|
11770
|
-
.output(
|
|
11865
|
+
.input(types_136.storageMigrationCapability.methods.status.input.loose())
|
|
11866
|
+
.output(types_136.storageMigrationCapability.methods.status.output)
|
|
11771
11867
|
.query(async ({ input, ctx }) => {
|
|
11772
11868
|
const { nodeId, ...methodInput } = input;
|
|
11773
11869
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11775,8 +11871,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11775
11871
|
return p.status(methodInput);
|
|
11776
11872
|
}),
|
|
11777
11873
|
cancel: trpc_middleware_js_1.adminProcedure
|
|
11778
|
-
.input(
|
|
11779
|
-
.output(
|
|
11874
|
+
.input(types_136.storageMigrationCapability.methods.cancel.input.loose())
|
|
11875
|
+
.output(types_136.storageMigrationCapability.methods.cancel.output)
|
|
11780
11876
|
.mutation(async ({ input, ctx }) => {
|
|
11781
11877
|
const { nodeId, ...methodInput } = input;
|
|
11782
11878
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11784,8 +11880,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11784
11880
|
return p.cancel(methodInput);
|
|
11785
11881
|
}),
|
|
11786
11882
|
movers: trpc_middleware_js_1.adminProcedure
|
|
11787
|
-
.input(
|
|
11788
|
-
.output(
|
|
11883
|
+
.input(types_136.storageMigrationCapability.methods.movers.input.loose())
|
|
11884
|
+
.output(types_136.storageMigrationCapability.methods.movers.output)
|
|
11789
11885
|
.query(async ({ input, ctx }) => {
|
|
11790
11886
|
const { nodeId, ...methodInput } = input;
|
|
11791
11887
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11793,8 +11889,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11793
11889
|
return p.movers(methodInput);
|
|
11794
11890
|
}),
|
|
11795
11891
|
moverClearance: trpc_middleware_js_1.adminProcedure
|
|
11796
|
-
.input(
|
|
11797
|
-
.output(
|
|
11892
|
+
.input(types_136.storageMigrationCapability.methods.moverClearance.input.loose())
|
|
11893
|
+
.output(types_136.storageMigrationCapability.methods.moverClearance.output)
|
|
11798
11894
|
.query(async ({ input, ctx }) => {
|
|
11799
11895
|
const { nodeId, ...methodInput } = input;
|
|
11800
11896
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11802,8 +11898,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11802
11898
|
return p.moverClearance(methodInput);
|
|
11803
11899
|
}),
|
|
11804
11900
|
residue: trpc_middleware_js_1.adminProcedure
|
|
11805
|
-
.input(
|
|
11806
|
-
.output(
|
|
11901
|
+
.input(types_136.storageMigrationCapability.methods.residue.input.loose())
|
|
11902
|
+
.output(types_136.storageMigrationCapability.methods.residue.output)
|
|
11807
11903
|
.query(async ({ input, ctx }) => {
|
|
11808
11904
|
const { nodeId, ...methodInput } = input;
|
|
11809
11905
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11811,8 +11907,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11811
11907
|
return p.residue(methodInput);
|
|
11812
11908
|
}),
|
|
11813
11909
|
drain: trpc_middleware_js_1.adminProcedure
|
|
11814
|
-
.input(
|
|
11815
|
-
.output(
|
|
11910
|
+
.input(types_136.storageMigrationCapability.methods.drain.input.loose())
|
|
11911
|
+
.output(types_136.storageMigrationCapability.methods.drain.output)
|
|
11816
11912
|
.mutation(async ({ input, ctx }) => {
|
|
11817
11913
|
const { nodeId, ...methodInput } = input;
|
|
11818
11914
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11820,8 +11916,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11820
11916
|
return p.drain(methodInput);
|
|
11821
11917
|
}),
|
|
11822
11918
|
cleanupStart: trpc_middleware_js_1.adminProcedure
|
|
11823
|
-
.input(
|
|
11824
|
-
.output(
|
|
11919
|
+
.input(types_136.storageMigrationCapability.methods.cleanupStart.input.loose())
|
|
11920
|
+
.output(types_136.storageMigrationCapability.methods.cleanupStart.output)
|
|
11825
11921
|
.mutation(async ({ input, ctx }) => {
|
|
11826
11922
|
const { nodeId, ...methodInput } = input;
|
|
11827
11923
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11829,8 +11925,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11829
11925
|
return p.cleanupStart(methodInput);
|
|
11830
11926
|
}),
|
|
11831
11927
|
cleanupStatus: trpc_middleware_js_1.adminProcedure
|
|
11832
|
-
.input(
|
|
11833
|
-
.output(
|
|
11928
|
+
.input(types_136.storageMigrationCapability.methods.cleanupStatus.input.loose())
|
|
11929
|
+
.output(types_136.storageMigrationCapability.methods.cleanupStatus.output)
|
|
11834
11930
|
.query(async ({ input, ctx }) => {
|
|
11835
11931
|
const { nodeId, ...methodInput } = input;
|
|
11836
11932
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11838,8 +11934,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11838
11934
|
return p.cleanupStatus(methodInput);
|
|
11839
11935
|
}),
|
|
11840
11936
|
cleanupCancel: trpc_middleware_js_1.adminProcedure
|
|
11841
|
-
.input(
|
|
11842
|
-
.output(
|
|
11937
|
+
.input(types_136.storageMigrationCapability.methods.cleanupCancel.input.loose())
|
|
11938
|
+
.output(types_136.storageMigrationCapability.methods.cleanupCancel.output)
|
|
11843
11939
|
.mutation(async ({ input, ctx }) => {
|
|
11844
11940
|
const { nodeId, ...methodInput } = input;
|
|
11845
11941
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11847,8 +11943,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11847
11943
|
return p.cleanupCancel(methodInput);
|
|
11848
11944
|
}),
|
|
11849
11945
|
history: trpc_middleware_js_1.adminProcedure
|
|
11850
|
-
.input(
|
|
11851
|
-
.output(
|
|
11946
|
+
.input(types_136.storageMigrationCapability.methods.history.input.loose())
|
|
11947
|
+
.output(types_136.storageMigrationCapability.methods.history.output)
|
|
11852
11948
|
.query(async ({ input, ctx }) => {
|
|
11853
11949
|
const { nodeId, ...methodInput } = input;
|
|
11854
11950
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11860,8 +11956,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11860
11956
|
function createCapRouter_storageOccupancy(getProvider, createRemoteProxy) {
|
|
11861
11957
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11862
11958
|
getOccupancy: trpc_middleware_js_1.adminProcedure
|
|
11863
|
-
.input(
|
|
11864
|
-
.output(
|
|
11959
|
+
.input(types_137.storageOccupancyCapability.methods.getOccupancy.input.loose())
|
|
11960
|
+
.output(types_137.storageOccupancyCapability.methods.getOccupancy.output)
|
|
11865
11961
|
.query(async ({ input, ctx }) => {
|
|
11866
11962
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11867
11963
|
const p = resolveProvider('storage-occupancy', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11874,14 +11970,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11874
11970
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11875
11971
|
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
11876
11972
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11877
|
-
.output(
|
|
11973
|
+
.output(types_138.storageProviderCapability.methods.getProviderInfo.output)
|
|
11878
11974
|
.query(async ({ input, ctx }) => {
|
|
11879
11975
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11880
11976
|
return p.getProviderInfo();
|
|
11881
11977
|
}),
|
|
11882
11978
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11883
|
-
.input(
|
|
11884
|
-
.output(
|
|
11979
|
+
.input(types_138.storageProviderCapability.methods.testLocation.input.loose())
|
|
11980
|
+
.output(types_138.storageProviderCapability.methods.testLocation.output)
|
|
11885
11981
|
.query(async ({ input, ctx }) => {
|
|
11886
11982
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11887
11983
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11889,8 +11985,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11889
11985
|
return p.testLocation(methodInput);
|
|
11890
11986
|
}),
|
|
11891
11987
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11892
|
-
.input(
|
|
11893
|
-
.output(
|
|
11988
|
+
.input(types_138.storageProviderCapability.methods.resolve.input.loose())
|
|
11989
|
+
.output(types_138.storageProviderCapability.methods.resolve.output)
|
|
11894
11990
|
.query(async ({ input, ctx }) => {
|
|
11895
11991
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11896
11992
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11898,8 +11994,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11898
11994
|
return p.resolve(methodInput);
|
|
11899
11995
|
}),
|
|
11900
11996
|
write: trpc_middleware_js_1.adminProcedure
|
|
11901
|
-
.input(
|
|
11902
|
-
.output(
|
|
11997
|
+
.input(types_138.storageProviderCapability.methods.write.input.loose())
|
|
11998
|
+
.output(types_138.storageProviderCapability.methods.write.output)
|
|
11903
11999
|
.mutation(async ({ input, ctx }) => {
|
|
11904
12000
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11905
12001
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11907,8 +12003,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11907
12003
|
return p.write(methodInput);
|
|
11908
12004
|
}),
|
|
11909
12005
|
read: trpc_middleware_js_1.adminProcedure
|
|
11910
|
-
.input(
|
|
11911
|
-
.output(
|
|
12006
|
+
.input(types_138.storageProviderCapability.methods.read.input.loose())
|
|
12007
|
+
.output(types_138.storageProviderCapability.methods.read.output)
|
|
11912
12008
|
.query(async ({ input, ctx }) => {
|
|
11913
12009
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11914
12010
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11916,8 +12012,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11916
12012
|
return p.read(methodInput);
|
|
11917
12013
|
}),
|
|
11918
12014
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11919
|
-
.input(
|
|
11920
|
-
.output(
|
|
12015
|
+
.input(types_138.storageProviderCapability.methods.exists.input.loose())
|
|
12016
|
+
.output(types_138.storageProviderCapability.methods.exists.output)
|
|
11921
12017
|
.query(async ({ input, ctx }) => {
|
|
11922
12018
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11923
12019
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11925,8 +12021,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11925
12021
|
return p.exists(methodInput);
|
|
11926
12022
|
}),
|
|
11927
12023
|
list: trpc_middleware_js_1.adminProcedure
|
|
11928
|
-
.input(
|
|
11929
|
-
.output(
|
|
12024
|
+
.input(types_138.storageProviderCapability.methods.list.input.loose())
|
|
12025
|
+
.output(types_138.storageProviderCapability.methods.list.output)
|
|
11930
12026
|
.query(async ({ input, ctx }) => {
|
|
11931
12027
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11932
12028
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11934,8 +12030,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11934
12030
|
return p.list(methodInput);
|
|
11935
12031
|
}),
|
|
11936
12032
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11937
|
-
.input(
|
|
11938
|
-
.output(
|
|
12033
|
+
.input(types_138.storageProviderCapability.methods.delete.input.loose())
|
|
12034
|
+
.output(types_138.storageProviderCapability.methods.delete.output)
|
|
11939
12035
|
.mutation(async ({ input, ctx }) => {
|
|
11940
12036
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11941
12037
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11943,8 +12039,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11943
12039
|
return p.delete(methodInput);
|
|
11944
12040
|
}),
|
|
11945
12041
|
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
11946
|
-
.input(
|
|
11947
|
-
.output(
|
|
12042
|
+
.input(types_138.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
12043
|
+
.output(types_138.storageProviderCapability.methods.getAvailableSpace.output)
|
|
11948
12044
|
.query(async ({ input, ctx }) => {
|
|
11949
12045
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11950
12046
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11952,8 +12048,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11952
12048
|
return p.getAvailableSpace(methodInput);
|
|
11953
12049
|
}),
|
|
11954
12050
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11955
|
-
.input(
|
|
11956
|
-
.output(
|
|
12051
|
+
.input(types_138.storageProviderCapability.methods.beginUpload.input.loose())
|
|
12052
|
+
.output(types_138.storageProviderCapability.methods.beginUpload.output)
|
|
11957
12053
|
.mutation(async ({ input, ctx }) => {
|
|
11958
12054
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11959
12055
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11961,8 +12057,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11961
12057
|
return p.beginUpload(methodInput);
|
|
11962
12058
|
}),
|
|
11963
12059
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11964
|
-
.input(
|
|
11965
|
-
.output(
|
|
12060
|
+
.input(types_138.storageProviderCapability.methods.writeChunk.input.loose())
|
|
12061
|
+
.output(types_138.storageProviderCapability.methods.writeChunk.output)
|
|
11966
12062
|
.mutation(async ({ input, ctx }) => {
|
|
11967
12063
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11968
12064
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11970,8 +12066,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11970
12066
|
return p.writeChunk(methodInput);
|
|
11971
12067
|
}),
|
|
11972
12068
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11973
|
-
.input(
|
|
11974
|
-
.output(
|
|
12069
|
+
.input(types_138.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
12070
|
+
.output(types_138.storageProviderCapability.methods.finalizeUpload.output)
|
|
11975
12071
|
.mutation(async ({ input, ctx }) => {
|
|
11976
12072
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11977
12073
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11979,8 +12075,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11979
12075
|
return p.finalizeUpload(methodInput);
|
|
11980
12076
|
}),
|
|
11981
12077
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11982
|
-
.input(
|
|
11983
|
-
.output(
|
|
12078
|
+
.input(types_138.storageProviderCapability.methods.abortUpload.input.loose())
|
|
12079
|
+
.output(types_138.storageProviderCapability.methods.abortUpload.output)
|
|
11984
12080
|
.mutation(async ({ input, ctx }) => {
|
|
11985
12081
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11986
12082
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11988,8 +12084,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11988
12084
|
return p.abortUpload(methodInput);
|
|
11989
12085
|
}),
|
|
11990
12086
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11991
|
-
.input(
|
|
11992
|
-
.output(
|
|
12087
|
+
.input(types_138.storageProviderCapability.methods.beginDownload.input.loose())
|
|
12088
|
+
.output(types_138.storageProviderCapability.methods.beginDownload.output)
|
|
11993
12089
|
.mutation(async ({ input, ctx }) => {
|
|
11994
12090
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11995
12091
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11997,8 +12093,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11997
12093
|
return p.beginDownload(methodInput);
|
|
11998
12094
|
}),
|
|
11999
12095
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
12000
|
-
.input(
|
|
12001
|
-
.output(
|
|
12096
|
+
.input(types_138.storageProviderCapability.methods.readChunk.input.loose())
|
|
12097
|
+
.output(types_138.storageProviderCapability.methods.readChunk.output)
|
|
12002
12098
|
.query(async ({ input, ctx }) => {
|
|
12003
12099
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12004
12100
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12006,8 +12102,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
12006
12102
|
return p.readChunk(methodInput);
|
|
12007
12103
|
}),
|
|
12008
12104
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
12009
|
-
.input(
|
|
12010
|
-
.output(
|
|
12105
|
+
.input(types_138.storageProviderCapability.methods.endDownload.input.loose())
|
|
12106
|
+
.output(types_138.storageProviderCapability.methods.endDownload.output)
|
|
12011
12107
|
.mutation(async ({ input, ctx }) => {
|
|
12012
12108
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12013
12109
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12046,8 +12142,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12046
12142
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
12047
12143
|
}),
|
|
12048
12144
|
reportStreamSignal: trpc_middleware_js_1.protectedProcedure
|
|
12049
|
-
.input(
|
|
12050
|
-
.output(
|
|
12145
|
+
.input(types_139.streamBrokerCapability.methods.reportStreamSignal.input.loose())
|
|
12146
|
+
.output(types_139.streamBrokerCapability.methods.reportStreamSignal.output)
|
|
12051
12147
|
.mutation(async ({ input, ctx }) => {
|
|
12052
12148
|
const { nodeId, ...methodInput } = input;
|
|
12053
12149
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12055,8 +12151,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12055
12151
|
return p.reportStreamSignal(methodInput);
|
|
12056
12152
|
}),
|
|
12057
12153
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
12058
|
-
.input(
|
|
12059
|
-
.output(
|
|
12154
|
+
.input(types_139.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
12155
|
+
.output(types_139.streamBrokerCapability.methods.publishCameraStream.output)
|
|
12060
12156
|
.mutation(async ({ input, ctx }) => {
|
|
12061
12157
|
const { nodeId, ...methodInput } = input;
|
|
12062
12158
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12064,8 +12160,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12064
12160
|
return p.publishCameraStream(methodInput);
|
|
12065
12161
|
}),
|
|
12066
12162
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
12067
|
-
.input(
|
|
12068
|
-
.output(
|
|
12163
|
+
.input(types_139.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
12164
|
+
.output(types_139.streamBrokerCapability.methods.retractCameraStream.output)
|
|
12069
12165
|
.mutation(async ({ input, ctx }) => {
|
|
12070
12166
|
const { nodeId, ...methodInput } = input;
|
|
12071
12167
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12073,8 +12169,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12073
12169
|
return p.retractCameraStream(methodInput);
|
|
12074
12170
|
}),
|
|
12075
12171
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
12076
|
-
.input(
|
|
12077
|
-
.output(
|
|
12172
|
+
.input(types_139.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
12173
|
+
.output(types_139.streamBrokerCapability.methods.assignProfile.output)
|
|
12078
12174
|
.mutation(async ({ input, ctx }) => {
|
|
12079
12175
|
const { nodeId, ...methodInput } = input;
|
|
12080
12176
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12082,8 +12178,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12082
12178
|
return p.assignProfile(methodInput);
|
|
12083
12179
|
}),
|
|
12084
12180
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
12085
|
-
.input(
|
|
12086
|
-
.output(
|
|
12181
|
+
.input(types_139.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
12182
|
+
.output(types_139.streamBrokerCapability.methods.unassignProfile.output)
|
|
12087
12183
|
.mutation(async ({ input, ctx }) => {
|
|
12088
12184
|
const { nodeId, ...methodInput } = input;
|
|
12089
12185
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12091,8 +12187,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12091
12187
|
return p.unassignProfile(methodInput);
|
|
12092
12188
|
}),
|
|
12093
12189
|
forgetDeviceHardware: trpc_middleware_js_1.adminProcedure
|
|
12094
|
-
.input(
|
|
12095
|
-
.output(
|
|
12190
|
+
.input(types_139.streamBrokerCapability.methods.forgetDeviceHardware.input.loose())
|
|
12191
|
+
.output(types_139.streamBrokerCapability.methods.forgetDeviceHardware.output)
|
|
12096
12192
|
.mutation(async ({ input, ctx }) => {
|
|
12097
12193
|
const { nodeId, ...methodInput } = input;
|
|
12098
12194
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12100,8 +12196,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12100
12196
|
return p.forgetDeviceHardware(methodInput);
|
|
12101
12197
|
}),
|
|
12102
12198
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
12103
|
-
.input(
|
|
12104
|
-
.output(
|
|
12199
|
+
.input(types_139.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
12200
|
+
.output(types_139.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
12105
12201
|
.mutation(async ({ input, ctx }) => {
|
|
12106
12202
|
const { nodeId, ...methodInput } = input;
|
|
12107
12203
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12109,8 +12205,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12109
12205
|
return p.renderPreBufferClip(methodInput);
|
|
12110
12206
|
}),
|
|
12111
12207
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
12112
|
-
.input(
|
|
12113
|
-
.output(
|
|
12208
|
+
.input(types_139.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
12209
|
+
.output(types_139.streamBrokerCapability.methods.produceEventMedia.output)
|
|
12114
12210
|
.mutation(async ({ input, ctx }) => {
|
|
12115
12211
|
const { nodeId, ...methodInput } = input;
|
|
12116
12212
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12118,8 +12214,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12118
12214
|
return p.produceEventMedia(methodInput);
|
|
12119
12215
|
}),
|
|
12120
12216
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
12121
|
-
.input(
|
|
12122
|
-
.output(
|
|
12217
|
+
.input(types_139.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
12218
|
+
.output(types_139.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
12123
12219
|
.mutation(async ({ input, ctx }) => {
|
|
12124
12220
|
const { nodeId, ...methodInput } = input;
|
|
12125
12221
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12128,21 +12224,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12128
12224
|
}),
|
|
12129
12225
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
12130
12226
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12131
|
-
.output(
|
|
12227
|
+
.output(types_139.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
12132
12228
|
.query(async ({ input, ctx }) => {
|
|
12133
12229
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12134
12230
|
return p.listAllCameraStreams();
|
|
12135
12231
|
}),
|
|
12136
12232
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
12137
12233
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12138
|
-
.output(
|
|
12234
|
+
.output(types_139.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
12139
12235
|
.query(async ({ input, ctx }) => {
|
|
12140
12236
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12141
12237
|
return p.listAllProfileSlots();
|
|
12142
12238
|
}),
|
|
12143
12239
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
12144
|
-
.input(
|
|
12145
|
-
.output(
|
|
12240
|
+
.input(types_139.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
12241
|
+
.output(types_139.streamBrokerCapability.methods.getBrokerStats.output)
|
|
12146
12242
|
.query(async ({ input, ctx }) => {
|
|
12147
12243
|
const { nodeId, ...methodInput } = input;
|
|
12148
12244
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12150,8 +12246,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12150
12246
|
return p.getBrokerStats(methodInput);
|
|
12151
12247
|
}),
|
|
12152
12248
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
12153
|
-
.input(
|
|
12154
|
-
.output(
|
|
12249
|
+
.input(types_139.streamBrokerCapability.methods.probeStream.input.loose())
|
|
12250
|
+
.output(types_139.streamBrokerCapability.methods.probeStream.output)
|
|
12155
12251
|
.mutation(async ({ input, ctx }) => {
|
|
12156
12252
|
const { nodeId, ...methodInput } = input;
|
|
12157
12253
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12159,8 +12255,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12159
12255
|
return p.probeStream(methodInput);
|
|
12160
12256
|
}),
|
|
12161
12257
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
12162
|
-
.input(
|
|
12163
|
-
.output(
|
|
12258
|
+
.input(types_139.streamBrokerCapability.methods.listClients.input.loose())
|
|
12259
|
+
.output(types_139.streamBrokerCapability.methods.listClients.output)
|
|
12164
12260
|
.query(async ({ input, ctx }) => {
|
|
12165
12261
|
const { nodeId, ...methodInput } = input;
|
|
12166
12262
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12169,14 +12265,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12169
12265
|
}),
|
|
12170
12266
|
getLiveViewerCounts: trpc_middleware_js_1.protectedProcedure
|
|
12171
12267
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12172
|
-
.output(
|
|
12268
|
+
.output(types_139.streamBrokerCapability.methods.getLiveViewerCounts.output)
|
|
12173
12269
|
.query(async ({ input, ctx }) => {
|
|
12174
12270
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12175
12271
|
return p.getLiveViewerCounts();
|
|
12176
12272
|
}),
|
|
12177
12273
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
12178
|
-
.input(
|
|
12179
|
-
.output(
|
|
12274
|
+
.input(types_139.streamBrokerCapability.methods.killClient.input.loose())
|
|
12275
|
+
.output(types_139.streamBrokerCapability.methods.killClient.output)
|
|
12180
12276
|
.mutation(async ({ input, ctx }) => {
|
|
12181
12277
|
const { nodeId, ...methodInput } = input;
|
|
12182
12278
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12184,8 +12280,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12184
12280
|
return p.killClient(methodInput);
|
|
12185
12281
|
}),
|
|
12186
12282
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
12187
|
-
.input(
|
|
12188
|
-
.output(
|
|
12283
|
+
.input(types_139.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
12284
|
+
.output(types_139.streamBrokerCapability.methods.restartProfile.output)
|
|
12189
12285
|
.mutation(async ({ input, ctx }) => {
|
|
12190
12286
|
const { nodeId, ...methodInput } = input;
|
|
12191
12287
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12193,8 +12289,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12193
12289
|
return p.restartProfile(methodInput);
|
|
12194
12290
|
}),
|
|
12195
12291
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
12196
|
-
.input(
|
|
12197
|
-
.output(
|
|
12292
|
+
.input(types_139.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
12293
|
+
.output(types_139.streamBrokerCapability.methods.getStreamUrl.output)
|
|
12198
12294
|
.query(async ({ input, ctx }) => {
|
|
12199
12295
|
const { nodeId, ...methodInput } = input;
|
|
12200
12296
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12202,8 +12298,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12202
12298
|
return p.getStreamUrl(methodInput);
|
|
12203
12299
|
}),
|
|
12204
12300
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
12205
|
-
.input(
|
|
12206
|
-
.output(
|
|
12301
|
+
.input(types_139.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
12302
|
+
.output(types_139.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
12207
12303
|
.mutation(async ({ input, ctx }) => {
|
|
12208
12304
|
const { nodeId, ...methodInput } = input;
|
|
12209
12305
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12211,8 +12307,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12211
12307
|
return p.getStreamWithCodec(methodInput);
|
|
12212
12308
|
}),
|
|
12213
12309
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
12214
|
-
.input(
|
|
12215
|
-
.output(
|
|
12310
|
+
.input(types_139.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
12311
|
+
.output(types_139.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
12216
12312
|
.mutation(async ({ input, ctx }) => {
|
|
12217
12313
|
const { nodeId, ...methodInput } = input;
|
|
12218
12314
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12220,8 +12316,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12220
12316
|
return p.releaseStreamWithCodec(methodInput);
|
|
12221
12317
|
}),
|
|
12222
12318
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
12223
|
-
.input(
|
|
12224
|
-
.output(
|
|
12319
|
+
.input(types_139.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
12320
|
+
.output(types_139.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
12225
12321
|
.mutation(async ({ input, ctx }) => {
|
|
12226
12322
|
const { nodeId, ...methodInput } = input;
|
|
12227
12323
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12229,8 +12325,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12229
12325
|
return p.acquireEgressTranscode(methodInput);
|
|
12230
12326
|
}),
|
|
12231
12327
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
12232
|
-
.input(
|
|
12233
|
-
.output(
|
|
12328
|
+
.input(types_139.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
12329
|
+
.output(types_139.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
12234
12330
|
.mutation(async ({ input, ctx }) => {
|
|
12235
12331
|
const { nodeId, ...methodInput } = input;
|
|
12236
12332
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12238,8 +12334,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12238
12334
|
return p.releaseEgressTranscode(methodInput);
|
|
12239
12335
|
}),
|
|
12240
12336
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12241
|
-
.input(
|
|
12242
|
-
.output(
|
|
12337
|
+
.input(types_139.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
12338
|
+
.output(types_139.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
12243
12339
|
.mutation(async ({ input, ctx }) => {
|
|
12244
12340
|
const { nodeId, ...methodInput } = input;
|
|
12245
12341
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12247,8 +12343,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12247
12343
|
return p.subscribeAudioChunks(methodInput);
|
|
12248
12344
|
}),
|
|
12249
12345
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12250
|
-
.input(
|
|
12251
|
-
.output(
|
|
12346
|
+
.input(types_139.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
12347
|
+
.output(types_139.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
12252
12348
|
.query(async ({ input, ctx }) => {
|
|
12253
12349
|
const { nodeId, ...methodInput } = input;
|
|
12254
12350
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12256,8 +12352,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12256
12352
|
return p.pullAudioChunks(methodInput);
|
|
12257
12353
|
}),
|
|
12258
12354
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12259
|
-
.input(
|
|
12260
|
-
.output(
|
|
12355
|
+
.input(types_139.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
12356
|
+
.output(types_139.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
12261
12357
|
.mutation(async ({ input, ctx }) => {
|
|
12262
12358
|
const { nodeId, ...methodInput } = input;
|
|
12263
12359
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12265,8 +12361,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12265
12361
|
return p.unsubscribeAudioChunks(methodInput);
|
|
12266
12362
|
}),
|
|
12267
12363
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
12268
|
-
.input(
|
|
12269
|
-
.output(
|
|
12364
|
+
.input(types_139.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
12365
|
+
.output(types_139.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
12270
12366
|
.mutation(async ({ input, ctx }) => {
|
|
12271
12367
|
const { nodeId, ...methodInput } = input;
|
|
12272
12368
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12274,8 +12370,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12274
12370
|
return p.setPreBufferDuration(methodInput);
|
|
12275
12371
|
}),
|
|
12276
12372
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
12277
|
-
.input(
|
|
12278
|
-
.output(
|
|
12373
|
+
.input(types_139.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
12374
|
+
.output(types_139.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
12279
12375
|
.query(async ({ input, ctx }) => {
|
|
12280
12376
|
const { nodeId, ...methodInput } = input;
|
|
12281
12377
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12284,14 +12380,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12284
12380
|
}),
|
|
12285
12381
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
12286
12382
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12287
|
-
.output(
|
|
12383
|
+
.output(types_139.streamBrokerCapability.methods.getRtspPort.output)
|
|
12288
12384
|
.query(async ({ input, ctx }) => {
|
|
12289
12385
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12290
12386
|
return p.getRtspPort();
|
|
12291
12387
|
}),
|
|
12292
12388
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
12293
|
-
.input(
|
|
12294
|
-
.output(
|
|
12389
|
+
.input(types_139.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
12390
|
+
.output(types_139.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
12295
12391
|
.query(async ({ input, ctx }) => {
|
|
12296
12392
|
const { nodeId, ...methodInput } = input;
|
|
12297
12393
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12299,8 +12395,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12299
12395
|
return p.getAllRtspEntries(methodInput);
|
|
12300
12396
|
}),
|
|
12301
12397
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
12302
|
-
.input(
|
|
12303
|
-
.output(
|
|
12398
|
+
.input(types_139.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
12399
|
+
.output(types_139.streamBrokerCapability.methods.getRtspEntry.output)
|
|
12304
12400
|
.query(async ({ input, ctx }) => {
|
|
12305
12401
|
const { nodeId, ...methodInput } = input;
|
|
12306
12402
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12308,8 +12404,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12308
12404
|
return p.getRtspEntry(methodInput);
|
|
12309
12405
|
}),
|
|
12310
12406
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
12311
|
-
.input(
|
|
12312
|
-
.output(
|
|
12407
|
+
.input(types_139.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
12408
|
+
.output(types_139.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
12313
12409
|
.mutation(async ({ input, ctx }) => {
|
|
12314
12410
|
const { nodeId, ...methodInput } = input;
|
|
12315
12411
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12317,8 +12413,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12317
12413
|
return p.regenerateRtspToken(methodInput);
|
|
12318
12414
|
}),
|
|
12319
12415
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
12320
|
-
.input(
|
|
12321
|
-
.output(
|
|
12416
|
+
.input(types_139.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
12417
|
+
.output(types_139.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
12322
12418
|
.mutation(async ({ input, ctx }) => {
|
|
12323
12419
|
const { nodeId, ...methodInput } = input;
|
|
12324
12420
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12326,8 +12422,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12326
12422
|
return p.setRtspEnabled(methodInput);
|
|
12327
12423
|
}),
|
|
12328
12424
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
12329
|
-
.input(
|
|
12330
|
-
.output(
|
|
12425
|
+
.input(types_139.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
12426
|
+
.output(types_139.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
12331
12427
|
.query(async ({ input, ctx }) => {
|
|
12332
12428
|
const { nodeId, ...methodInput } = input;
|
|
12333
12429
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12335,8 +12431,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12335
12431
|
return p.isRtspEnabled(methodInput);
|
|
12336
12432
|
}),
|
|
12337
12433
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
12338
|
-
.input(
|
|
12339
|
-
.output(
|
|
12434
|
+
.input(types_139.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
12435
|
+
.output(types_139.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
12340
12436
|
.query(async ({ input, ctx }) => {
|
|
12341
12437
|
const { nodeId, ...methodInput } = input;
|
|
12342
12438
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12344,8 +12440,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12344
12440
|
return p.getDeviceAudioMute(methodInput);
|
|
12345
12441
|
}),
|
|
12346
12442
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
12347
|
-
.input(
|
|
12348
|
-
.output(
|
|
12443
|
+
.input(types_139.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
12444
|
+
.output(types_139.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
12349
12445
|
.mutation(async ({ input, ctx }) => {
|
|
12350
12446
|
const { nodeId, ...methodInput } = input;
|
|
12351
12447
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12357,8 +12453,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12357
12453
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
12358
12454
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12359
12455
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
12360
|
-
.input(
|
|
12361
|
-
.output(
|
|
12456
|
+
.input(types_140.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
12457
|
+
.output(types_140.streamCatalogCapability.methods.getCatalog.output)
|
|
12362
12458
|
.query(async ({ input, ctx }) => {
|
|
12363
12459
|
const { nodeId, ...methodInput } = input;
|
|
12364
12460
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12379,8 +12475,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12379
12475
|
return p.getStatus(methodInput);
|
|
12380
12476
|
}),
|
|
12381
12477
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
12382
|
-
.input(
|
|
12383
|
-
.output(
|
|
12478
|
+
.input(types_141.streamParamsCapability.methods.getOptions.input.loose())
|
|
12479
|
+
.output(types_141.streamParamsCapability.methods.getOptions.output)
|
|
12384
12480
|
.query(async ({ input, ctx }) => {
|
|
12385
12481
|
const { nodeId, ...methodInput } = input;
|
|
12386
12482
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12388,8 +12484,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12388
12484
|
return p.getOptions(methodInput);
|
|
12389
12485
|
}),
|
|
12390
12486
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
12391
|
-
.input(
|
|
12392
|
-
.output(
|
|
12487
|
+
.input(types_141.streamParamsCapability.methods.setProfile.input.loose())
|
|
12488
|
+
.output(types_141.streamParamsCapability.methods.setProfile.output)
|
|
12393
12489
|
.mutation(async ({ input, ctx }) => {
|
|
12394
12490
|
const { nodeId, ...methodInput } = input;
|
|
12395
12491
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12397,8 +12493,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12397
12493
|
return p.setProfile(methodInput);
|
|
12398
12494
|
}),
|
|
12399
12495
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
12400
|
-
.input(
|
|
12401
|
-
.output(
|
|
12496
|
+
.input(types_141.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
12497
|
+
.output(types_141.streamParamsCapability.methods.getConfigSchema.output)
|
|
12402
12498
|
.query(async ({ input, ctx }) => {
|
|
12403
12499
|
const { nodeId, ...methodInput } = input;
|
|
12404
12500
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12411,7 +12507,7 @@ function createCapRouter_streamSignals(getProvider, createRemoteProxy) {
|
|
|
12411
12507
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12412
12508
|
listSignals: trpc_middleware_js_1.protectedProcedure
|
|
12413
12509
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12414
|
-
.output(
|
|
12510
|
+
.output(types_142.streamSignalsCapability.methods.listSignals.output)
|
|
12415
12511
|
.query(async ({ input, ctx }) => {
|
|
12416
12512
|
const p = resolveProvider('stream-signals', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12417
12513
|
return p.listSignals();
|
|
@@ -12430,8 +12526,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
12430
12526
|
return p.getStatus(methodInput);
|
|
12431
12527
|
}),
|
|
12432
12528
|
setState: trpc_middleware_js_1.protectedProcedure
|
|
12433
|
-
.input(
|
|
12434
|
-
.output(
|
|
12529
|
+
.input(types_143.switchCapability.methods.setState.input.loose())
|
|
12530
|
+
.output(types_143.switchCapability.methods.setState.output)
|
|
12435
12531
|
.mutation(async ({ input, ctx }) => {
|
|
12436
12532
|
const { nodeId, ...methodInput } = input;
|
|
12437
12533
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12444,98 +12540,98 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12444
12540
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12445
12541
|
info: trpc_middleware_js_1.protectedProcedure
|
|
12446
12542
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12447
|
-
.output(
|
|
12543
|
+
.output(types_144.systemCapability.methods.info.output)
|
|
12448
12544
|
.query(async ({ input, ctx }) => {
|
|
12449
12545
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12450
12546
|
return p.info();
|
|
12451
12547
|
}),
|
|
12452
12548
|
health: trpc_middleware_js_1.protectedProcedure
|
|
12453
12549
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12454
|
-
.output(
|
|
12550
|
+
.output(types_144.systemCapability.methods.health.output)
|
|
12455
12551
|
.query(async ({ input, ctx }) => {
|
|
12456
12552
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12457
12553
|
return p.health();
|
|
12458
12554
|
}),
|
|
12459
12555
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
12460
12556
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12461
|
-
.output(
|
|
12557
|
+
.output(types_144.systemCapability.methods.featureFlags.output)
|
|
12462
12558
|
.query(async ({ input, ctx }) => {
|
|
12463
12559
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12464
12560
|
return p.featureFlags();
|
|
12465
12561
|
}),
|
|
12466
12562
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
12467
12563
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12468
|
-
.output(
|
|
12564
|
+
.output(types_144.systemCapability.methods.networkAddresses.output)
|
|
12469
12565
|
.query(async ({ input, ctx }) => {
|
|
12470
12566
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12471
12567
|
return p.networkAddresses();
|
|
12472
12568
|
}),
|
|
12473
12569
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12474
12570
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12475
|
-
.output(
|
|
12571
|
+
.output(types_144.systemCapability.methods.getRetentionConfig.output)
|
|
12476
12572
|
.query(async ({ input, ctx }) => {
|
|
12477
12573
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12478
12574
|
return p.getRetentionConfig();
|
|
12479
12575
|
}),
|
|
12480
12576
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12481
|
-
.input(
|
|
12482
|
-
.output(
|
|
12577
|
+
.input(types_144.systemCapability.methods.setRetentionConfig.input)
|
|
12578
|
+
.output(types_144.systemCapability.methods.setRetentionConfig.output)
|
|
12483
12579
|
.mutation(async ({ input, ctx }) => {
|
|
12484
12580
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12485
12581
|
return p.setRetentionConfig(input);
|
|
12486
12582
|
}),
|
|
12487
12583
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
12488
12584
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12489
|
-
.output(
|
|
12585
|
+
.output(types_144.systemCapability.methods.forceRetentionCleanup.output)
|
|
12490
12586
|
.mutation(async ({ input, ctx }) => {
|
|
12491
12587
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12492
12588
|
return p.forceRetentionCleanup();
|
|
12493
12589
|
}),
|
|
12494
12590
|
getSiteLocation: trpc_middleware_js_1.protectedProcedure
|
|
12495
12591
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12496
|
-
.output(
|
|
12592
|
+
.output(types_144.systemCapability.methods.getSiteLocation.output)
|
|
12497
12593
|
.query(async ({ input, ctx }) => {
|
|
12498
12594
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12499
12595
|
return p.getSiteLocation();
|
|
12500
12596
|
}),
|
|
12501
12597
|
setSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12502
|
-
.input(
|
|
12503
|
-
.output(
|
|
12598
|
+
.input(types_144.systemCapability.methods.setSiteLocation.input)
|
|
12599
|
+
.output(types_144.systemCapability.methods.setSiteLocation.output)
|
|
12504
12600
|
.mutation(async ({ input, ctx }) => {
|
|
12505
12601
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12506
12602
|
return p.setSiteLocation(input);
|
|
12507
12603
|
}),
|
|
12508
12604
|
detectSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12509
12605
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12510
|
-
.output(
|
|
12606
|
+
.output(types_144.systemCapability.methods.detectSiteLocation.output)
|
|
12511
12607
|
.mutation(async ({ input, ctx }) => {
|
|
12512
12608
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12513
12609
|
return p.detectSiteLocation();
|
|
12514
12610
|
}),
|
|
12515
12611
|
getRequestCensus: trpc_middleware_js_1.adminProcedure
|
|
12516
12612
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12517
|
-
.output(
|
|
12613
|
+
.output(types_144.systemCapability.methods.getRequestCensus.output)
|
|
12518
12614
|
.query(async ({ input, ctx }) => {
|
|
12519
12615
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12520
12616
|
return p.getRequestCensus();
|
|
12521
12617
|
}),
|
|
12522
12618
|
getLoadContributions: trpc_middleware_js_1.adminProcedure
|
|
12523
12619
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12524
|
-
.output(
|
|
12620
|
+
.output(types_144.systemCapability.methods.getLoadContributions.output)
|
|
12525
12621
|
.query(async ({ input, ctx }) => {
|
|
12526
12622
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12527
12623
|
return p.getLoadContributions();
|
|
12528
12624
|
}),
|
|
12529
12625
|
getFailureContributions: trpc_middleware_js_1.adminProcedure
|
|
12530
12626
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12531
|
-
.output(
|
|
12627
|
+
.output(types_144.systemCapability.methods.getFailureContributions.output)
|
|
12532
12628
|
.query(async ({ input, ctx }) => {
|
|
12533
12629
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12534
12630
|
return p.getFailureContributions();
|
|
12535
12631
|
}),
|
|
12536
12632
|
getLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12537
|
-
.input(
|
|
12538
|
-
.output(
|
|
12633
|
+
.input(types_144.systemCapability.methods.getLoggingSettings.input.loose())
|
|
12634
|
+
.output(types_144.systemCapability.methods.getLoggingSettings.output)
|
|
12539
12635
|
.query(async ({ input, ctx }) => {
|
|
12540
12636
|
const { nodeId, ...methodInput } = input;
|
|
12541
12637
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12543,8 +12639,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12543
12639
|
return p.getLoggingSettings(methodInput);
|
|
12544
12640
|
}),
|
|
12545
12641
|
setLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12546
|
-
.input(
|
|
12547
|
-
.output(
|
|
12642
|
+
.input(types_144.systemCapability.methods.setLoggingSettings.input.loose())
|
|
12643
|
+
.output(types_144.systemCapability.methods.setLoggingSettings.output)
|
|
12548
12644
|
.mutation(async ({ input, ctx }) => {
|
|
12549
12645
|
const { nodeId, ...methodInput } = input;
|
|
12550
12646
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12582,8 +12678,8 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
12582
12678
|
function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
12583
12679
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12584
12680
|
list: trpc_middleware_js_1.protectedProcedure
|
|
12585
|
-
.input(
|
|
12586
|
-
.output(
|
|
12681
|
+
.input(types_145.templateCapability.methods.list.input.loose())
|
|
12682
|
+
.output(types_145.templateCapability.methods.list.output)
|
|
12587
12683
|
.query(async ({ input, ctx }) => {
|
|
12588
12684
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12589
12685
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12591,8 +12687,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12591
12687
|
return p.list(methodInput);
|
|
12592
12688
|
}),
|
|
12593
12689
|
get: trpc_middleware_js_1.protectedProcedure
|
|
12594
|
-
.input(
|
|
12595
|
-
.output(
|
|
12690
|
+
.input(types_145.templateCapability.methods.get.input.loose())
|
|
12691
|
+
.output(types_145.templateCapability.methods.get.output)
|
|
12596
12692
|
.query(async ({ input, ctx }) => {
|
|
12597
12693
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12598
12694
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12600,8 +12696,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12600
12696
|
return p.get(methodInput);
|
|
12601
12697
|
}),
|
|
12602
12698
|
create: trpc_middleware_js_1.adminProcedure
|
|
12603
|
-
.input(
|
|
12604
|
-
.output(
|
|
12699
|
+
.input(types_145.templateCapability.methods.create.input.loose())
|
|
12700
|
+
.output(types_145.templateCapability.methods.create.output)
|
|
12605
12701
|
.mutation(async ({ input, ctx }) => {
|
|
12606
12702
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12607
12703
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12609,8 +12705,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12609
12705
|
return p.create(methodInput);
|
|
12610
12706
|
}),
|
|
12611
12707
|
update: trpc_middleware_js_1.adminProcedure
|
|
12612
|
-
.input(
|
|
12613
|
-
.output(
|
|
12708
|
+
.input(types_145.templateCapability.methods.update.input.loose())
|
|
12709
|
+
.output(types_145.templateCapability.methods.update.output)
|
|
12614
12710
|
.mutation(async ({ input, ctx }) => {
|
|
12615
12711
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12616
12712
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12618,8 +12714,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12618
12714
|
return p.update(methodInput);
|
|
12619
12715
|
}),
|
|
12620
12716
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12621
|
-
.input(
|
|
12622
|
-
.output(
|
|
12717
|
+
.input(types_145.templateCapability.methods.delete.input.loose())
|
|
12718
|
+
.output(types_145.templateCapability.methods.delete.output)
|
|
12623
12719
|
.mutation(async ({ input, ctx }) => {
|
|
12624
12720
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12625
12721
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12632,21 +12728,21 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12632
12728
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12633
12729
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
12634
12730
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12635
|
-
.output(
|
|
12731
|
+
.output(types_146.terminalSessionCapability.methods.listProfiles.output)
|
|
12636
12732
|
.query(async ({ input, ctx }) => {
|
|
12637
12733
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12638
12734
|
return p.listProfiles();
|
|
12639
12735
|
}),
|
|
12640
12736
|
listInstances: trpc_middleware_js_1.adminProcedure
|
|
12641
12737
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12642
|
-
.output(
|
|
12738
|
+
.output(types_146.terminalSessionCapability.methods.listInstances.output)
|
|
12643
12739
|
.query(async ({ input, ctx }) => {
|
|
12644
12740
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12645
12741
|
return p.listInstances();
|
|
12646
12742
|
}),
|
|
12647
12743
|
createInstance: trpc_middleware_js_1.adminProcedure
|
|
12648
|
-
.input(
|
|
12649
|
-
.output(
|
|
12744
|
+
.input(types_146.terminalSessionCapability.methods.createInstance.input.loose())
|
|
12745
|
+
.output(types_146.terminalSessionCapability.methods.createInstance.output)
|
|
12650
12746
|
.mutation(async ({ input, ctx }) => {
|
|
12651
12747
|
const { nodeId, ...methodInput } = input;
|
|
12652
12748
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12654,8 +12750,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12654
12750
|
return p.createInstance(methodInput);
|
|
12655
12751
|
}),
|
|
12656
12752
|
updateInstance: trpc_middleware_js_1.adminProcedure
|
|
12657
|
-
.input(
|
|
12658
|
-
.output(
|
|
12753
|
+
.input(types_146.terminalSessionCapability.methods.updateInstance.input.loose())
|
|
12754
|
+
.output(types_146.terminalSessionCapability.methods.updateInstance.output)
|
|
12659
12755
|
.mutation(async ({ input, ctx }) => {
|
|
12660
12756
|
const { nodeId, ...methodInput } = input;
|
|
12661
12757
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12663,8 +12759,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12663
12759
|
return p.updateInstance(methodInput);
|
|
12664
12760
|
}),
|
|
12665
12761
|
deleteInstance: trpc_middleware_js_1.adminProcedure
|
|
12666
|
-
.input(
|
|
12667
|
-
.output(
|
|
12762
|
+
.input(types_146.terminalSessionCapability.methods.deleteInstance.input.loose())
|
|
12763
|
+
.output(types_146.terminalSessionCapability.methods.deleteInstance.output)
|
|
12668
12764
|
.mutation(async ({ input, ctx }) => {
|
|
12669
12765
|
const { nodeId, ...methodInput } = input;
|
|
12670
12766
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12672,8 +12768,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12672
12768
|
return p.deleteInstance(methodInput);
|
|
12673
12769
|
}),
|
|
12674
12770
|
setInstanceEnabled: trpc_middleware_js_1.adminProcedure
|
|
12675
|
-
.input(
|
|
12676
|
-
.output(
|
|
12771
|
+
.input(types_146.terminalSessionCapability.methods.setInstanceEnabled.input.loose())
|
|
12772
|
+
.output(types_146.terminalSessionCapability.methods.setInstanceEnabled.output)
|
|
12677
12773
|
.mutation(async ({ input, ctx }) => {
|
|
12678
12774
|
const { nodeId, ...methodInput } = input;
|
|
12679
12775
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12682,14 +12778,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12682
12778
|
}),
|
|
12683
12779
|
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
12684
12780
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12685
|
-
.output(
|
|
12781
|
+
.output(types_146.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
12686
12782
|
.query(async ({ input, ctx }) => {
|
|
12687
12783
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12688
12784
|
return p.listLegacyCameras();
|
|
12689
12785
|
}),
|
|
12690
12786
|
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
12691
|
-
.input(
|
|
12692
|
-
.output(
|
|
12787
|
+
.input(types_146.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
12788
|
+
.output(types_146.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
12693
12789
|
.mutation(async ({ input, ctx }) => {
|
|
12694
12790
|
const { nodeId, ...methodInput } = input;
|
|
12695
12791
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12698,14 +12794,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12698
12794
|
}),
|
|
12699
12795
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
12700
12796
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12701
|
-
.output(
|
|
12797
|
+
.output(types_146.terminalSessionCapability.methods.listSessions.output)
|
|
12702
12798
|
.query(async ({ input, ctx }) => {
|
|
12703
12799
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12704
12800
|
return p.listSessions();
|
|
12705
12801
|
}),
|
|
12706
12802
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
12707
|
-
.input(
|
|
12708
|
-
.output(
|
|
12803
|
+
.input(types_146.terminalSessionCapability.methods.openSession.input.loose())
|
|
12804
|
+
.output(types_146.terminalSessionCapability.methods.openSession.output)
|
|
12709
12805
|
.mutation(async ({ input, ctx }) => {
|
|
12710
12806
|
const { nodeId, ...methodInput } = input;
|
|
12711
12807
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12713,8 +12809,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12713
12809
|
return p.openSession(methodInput);
|
|
12714
12810
|
}),
|
|
12715
12811
|
resize: trpc_middleware_js_1.adminProcedure
|
|
12716
|
-
.input(
|
|
12717
|
-
.output(
|
|
12812
|
+
.input(types_146.terminalSessionCapability.methods.resize.input.loose())
|
|
12813
|
+
.output(types_146.terminalSessionCapability.methods.resize.output)
|
|
12718
12814
|
.mutation(async ({ input, ctx }) => {
|
|
12719
12815
|
const { nodeId, ...methodInput } = input;
|
|
12720
12816
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12722,8 +12818,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12722
12818
|
return p.resize(methodInput);
|
|
12723
12819
|
}),
|
|
12724
12820
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
12725
|
-
.input(
|
|
12726
|
-
.output(
|
|
12821
|
+
.input(types_146.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
12822
|
+
.output(types_146.terminalSessionCapability.methods.pullOutput.output)
|
|
12727
12823
|
.mutation(async ({ input, ctx }) => {
|
|
12728
12824
|
const { nodeId, ...methodInput } = input;
|
|
12729
12825
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12731,8 +12827,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12731
12827
|
return p.pullOutput(methodInput);
|
|
12732
12828
|
}),
|
|
12733
12829
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
12734
|
-
.input(
|
|
12735
|
-
.output(
|
|
12830
|
+
.input(types_146.terminalSessionCapability.methods.writeInput.input.loose())
|
|
12831
|
+
.output(types_146.terminalSessionCapability.methods.writeInput.output)
|
|
12736
12832
|
.mutation(async ({ input, ctx }) => {
|
|
12737
12833
|
const { nodeId, ...methodInput } = input;
|
|
12738
12834
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12740,8 +12836,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12740
12836
|
return p.writeInput(methodInput);
|
|
12741
12837
|
}),
|
|
12742
12838
|
close: trpc_middleware_js_1.adminProcedure
|
|
12743
|
-
.input(
|
|
12744
|
-
.output(
|
|
12839
|
+
.input(types_146.terminalSessionCapability.methods.close.input.loose())
|
|
12840
|
+
.output(types_146.terminalSessionCapability.methods.close.output)
|
|
12745
12841
|
.mutation(async ({ input, ctx }) => {
|
|
12746
12842
|
const { nodeId, ...methodInput } = input;
|
|
12747
12843
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12753,7 +12849,7 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12753
12849
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
12754
12850
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12755
12851
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
12756
|
-
.input(
|
|
12852
|
+
.input(types_147.toastCapability.methods.onToast.input)
|
|
12757
12853
|
.subscription(({ input, ctx }) => {
|
|
12758
12854
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
12759
12855
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -12765,8 +12861,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
12765
12861
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
12766
12862
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12767
12863
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
12768
|
-
.input(
|
|
12769
|
-
.output(
|
|
12864
|
+
.input(types_148.trainingCapability.methods.listBaseModels.input.loose())
|
|
12865
|
+
.output(types_148.trainingCapability.methods.listBaseModels.output)
|
|
12770
12866
|
.query(async ({ input, ctx }) => {
|
|
12771
12867
|
const { nodeId, ...methodInput } = input;
|
|
12772
12868
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12774,8 +12870,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12774
12870
|
return p.listBaseModels(methodInput);
|
|
12775
12871
|
}),
|
|
12776
12872
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
12777
|
-
.input(
|
|
12778
|
-
.output(
|
|
12873
|
+
.input(types_148.trainingCapability.methods.planJob.input.loose())
|
|
12874
|
+
.output(types_148.trainingCapability.methods.planJob.output)
|
|
12779
12875
|
.query(async ({ input, ctx }) => {
|
|
12780
12876
|
const { nodeId, ...methodInput } = input;
|
|
12781
12877
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12783,8 +12879,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12783
12879
|
return p.planJob(methodInput);
|
|
12784
12880
|
}),
|
|
12785
12881
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
12786
|
-
.input(
|
|
12787
|
-
.output(
|
|
12882
|
+
.input(types_148.trainingCapability.methods.startJob.input.loose())
|
|
12883
|
+
.output(types_148.trainingCapability.methods.startJob.output)
|
|
12788
12884
|
.mutation(async ({ input, ctx }) => {
|
|
12789
12885
|
const { nodeId, ...methodInput } = input;
|
|
12790
12886
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12792,8 +12888,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12792
12888
|
return p.startJob(methodInput);
|
|
12793
12889
|
}),
|
|
12794
12890
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
12795
|
-
.input(
|
|
12796
|
-
.output(
|
|
12891
|
+
.input(types_148.trainingCapability.methods.startJobBatch.input.loose())
|
|
12892
|
+
.output(types_148.trainingCapability.methods.startJobBatch.output)
|
|
12797
12893
|
.mutation(async ({ input, ctx }) => {
|
|
12798
12894
|
const { nodeId, ...methodInput } = input;
|
|
12799
12895
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12801,8 +12897,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12801
12897
|
return p.startJobBatch(methodInput);
|
|
12802
12898
|
}),
|
|
12803
12899
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
12804
|
-
.input(
|
|
12805
|
-
.output(
|
|
12900
|
+
.input(types_148.trainingCapability.methods.listJobs.input.loose())
|
|
12901
|
+
.output(types_148.trainingCapability.methods.listJobs.output)
|
|
12806
12902
|
.query(async ({ input, ctx }) => {
|
|
12807
12903
|
const { nodeId, ...methodInput } = input;
|
|
12808
12904
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12810,8 +12906,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12810
12906
|
return p.listJobs(methodInput);
|
|
12811
12907
|
}),
|
|
12812
12908
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12813
|
-
.input(
|
|
12814
|
-
.output(
|
|
12909
|
+
.input(types_148.trainingCapability.methods.getJob.input.loose())
|
|
12910
|
+
.output(types_148.trainingCapability.methods.getJob.output)
|
|
12815
12911
|
.query(async ({ input, ctx }) => {
|
|
12816
12912
|
const { nodeId, ...methodInput } = input;
|
|
12817
12913
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12819,8 +12915,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12819
12915
|
return p.getJob(methodInput);
|
|
12820
12916
|
}),
|
|
12821
12917
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12822
|
-
.input(
|
|
12823
|
-
.output(
|
|
12918
|
+
.input(types_148.trainingCapability.methods.cancelJob.input.loose())
|
|
12919
|
+
.output(types_148.trainingCapability.methods.cancelJob.output)
|
|
12824
12920
|
.mutation(async ({ input, ctx }) => {
|
|
12825
12921
|
const { nodeId, ...methodInput } = input;
|
|
12826
12922
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12828,8 +12924,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12828
12924
|
return p.cancelJob(methodInput);
|
|
12829
12925
|
}),
|
|
12830
12926
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
12831
|
-
.input(
|
|
12832
|
-
.output(
|
|
12927
|
+
.input(types_148.trainingCapability.methods.getJobResult.input.loose())
|
|
12928
|
+
.output(types_148.trainingCapability.methods.getJobResult.output)
|
|
12833
12929
|
.query(async ({ input, ctx }) => {
|
|
12834
12930
|
const { nodeId, ...methodInput } = input;
|
|
12835
12931
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12838,14 +12934,14 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12838
12934
|
}),
|
|
12839
12935
|
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
12840
12936
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12841
|
-
.output(
|
|
12937
|
+
.output(types_148.trainingCapability.methods.listCanaryTargets.output)
|
|
12842
12938
|
.query(async ({ input, ctx }) => {
|
|
12843
12939
|
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12844
12940
|
return p.listCanaryTargets();
|
|
12845
12941
|
}),
|
|
12846
12942
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
12847
|
-
.input(
|
|
12848
|
-
.output(
|
|
12943
|
+
.input(types_148.trainingCapability.methods.registerResult.input.loose())
|
|
12944
|
+
.output(types_148.trainingCapability.methods.registerResult.output)
|
|
12849
12945
|
.mutation(async ({ input, ctx }) => {
|
|
12850
12946
|
const { nodeId, ...methodInput } = input;
|
|
12851
12947
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12853,8 +12949,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12853
12949
|
return p.registerResult(methodInput);
|
|
12854
12950
|
}),
|
|
12855
12951
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
12856
|
-
.input(
|
|
12857
|
-
.output(
|
|
12952
|
+
.input(types_148.trainingCapability.methods.canaryResult.input.loose())
|
|
12953
|
+
.output(types_148.trainingCapability.methods.canaryResult.output)
|
|
12858
12954
|
.mutation(async ({ input, ctx }) => {
|
|
12859
12955
|
const { nodeId, ...methodInput } = input;
|
|
12860
12956
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12862,8 +12958,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12862
12958
|
return p.canaryResult(methodInput);
|
|
12863
12959
|
}),
|
|
12864
12960
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
12865
|
-
.input(
|
|
12866
|
-
.output(
|
|
12961
|
+
.input(types_148.trainingCapability.methods.rollbackCanary.input.loose())
|
|
12962
|
+
.output(types_148.trainingCapability.methods.rollbackCanary.output)
|
|
12867
12963
|
.mutation(async ({ input, ctx }) => {
|
|
12868
12964
|
const { nodeId, ...methodInput } = input;
|
|
12869
12965
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12871,8 +12967,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12871
12967
|
return p.rollbackCanary(methodInput);
|
|
12872
12968
|
}),
|
|
12873
12969
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
12874
|
-
.input(
|
|
12875
|
-
.output(
|
|
12970
|
+
.input(types_148.trainingCapability.methods.discardResult.input.loose())
|
|
12971
|
+
.output(types_148.trainingCapability.methods.discardResult.output)
|
|
12876
12972
|
.mutation(async ({ input, ctx }) => {
|
|
12877
12973
|
const { nodeId, ...methodInput } = input;
|
|
12878
12974
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12884,8 +12980,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12884
12980
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
12885
12981
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12886
12982
|
describe: trpc_middleware_js_1.adminProcedure
|
|
12887
|
-
.input(
|
|
12888
|
-
.output(
|
|
12983
|
+
.input(types_149.trainingProviderCapability.methods.describe.input.loose())
|
|
12984
|
+
.output(types_149.trainingProviderCapability.methods.describe.output)
|
|
12889
12985
|
.query(async ({ input, ctx }) => {
|
|
12890
12986
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12891
12987
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12893,8 +12989,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12893
12989
|
return p.describe(methodInput);
|
|
12894
12990
|
}),
|
|
12895
12991
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
12896
|
-
.input(
|
|
12897
|
-
.output(
|
|
12992
|
+
.input(types_149.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
12993
|
+
.output(types_149.trainingProviderCapability.methods.describeTypes.output)
|
|
12898
12994
|
.query(async ({ input, ctx }) => {
|
|
12899
12995
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12900
12996
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12902,8 +12998,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12902
12998
|
return p.describeTypes(methodInput);
|
|
12903
12999
|
}),
|
|
12904
13000
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
12905
|
-
.input(
|
|
12906
|
-
.output(
|
|
13001
|
+
.input(types_149.trainingProviderCapability.methods.listEntries.input.loose())
|
|
13002
|
+
.output(types_149.trainingProviderCapability.methods.listEntries.output)
|
|
12907
13003
|
.query(async ({ input, ctx }) => {
|
|
12908
13004
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12909
13005
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12911,8 +13007,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12911
13007
|
return p.listEntries(methodInput);
|
|
12912
13008
|
}),
|
|
12913
13009
|
createEntry: trpc_middleware_js_1.adminProcedure
|
|
12914
|
-
.input(
|
|
12915
|
-
.output(
|
|
13010
|
+
.input(types_149.trainingProviderCapability.methods.createEntry.input.loose())
|
|
13011
|
+
.output(types_149.trainingProviderCapability.methods.createEntry.output)
|
|
12916
13012
|
.mutation(async ({ input, ctx }) => {
|
|
12917
13013
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12918
13014
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12920,8 +13016,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12920
13016
|
return p.createEntry(methodInput);
|
|
12921
13017
|
}),
|
|
12922
13018
|
deleteEntry: trpc_middleware_js_1.adminProcedure
|
|
12923
|
-
.input(
|
|
12924
|
-
.output(
|
|
13019
|
+
.input(types_149.trainingProviderCapability.methods.deleteEntry.input.loose())
|
|
13020
|
+
.output(types_149.trainingProviderCapability.methods.deleteEntry.output)
|
|
12925
13021
|
.mutation(async ({ input, ctx }) => {
|
|
12926
13022
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12927
13023
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12929,8 +13025,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12929
13025
|
return p.deleteEntry(methodInput);
|
|
12930
13026
|
}),
|
|
12931
13027
|
updateEntry: trpc_middleware_js_1.adminProcedure
|
|
12932
|
-
.input(
|
|
12933
|
-
.output(
|
|
13028
|
+
.input(types_149.trainingProviderCapability.methods.updateEntry.input.loose())
|
|
13029
|
+
.output(types_149.trainingProviderCapability.methods.updateEntry.output)
|
|
12934
13030
|
.mutation(async ({ input, ctx }) => {
|
|
12935
13031
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12936
13032
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12938,8 +13034,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12938
13034
|
return p.updateEntry(methodInput);
|
|
12939
13035
|
}),
|
|
12940
13036
|
validateCredentials: trpc_middleware_js_1.adminProcedure
|
|
12941
|
-
.input(
|
|
12942
|
-
.output(
|
|
13037
|
+
.input(types_149.trainingProviderCapability.methods.validateCredentials.input.loose())
|
|
13038
|
+
.output(types_149.trainingProviderCapability.methods.validateCredentials.output)
|
|
12943
13039
|
.mutation(async ({ input, ctx }) => {
|
|
12944
13040
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12945
13041
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12947,8 +13043,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12947
13043
|
return p.validateCredentials(methodInput);
|
|
12948
13044
|
}),
|
|
12949
13045
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
12950
|
-
.input(
|
|
12951
|
-
.output(
|
|
13046
|
+
.input(types_149.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
13047
|
+
.output(types_149.trainingProviderCapability.methods.estimateJob.output)
|
|
12952
13048
|
.query(async ({ input, ctx }) => {
|
|
12953
13049
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12954
13050
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12956,8 +13052,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12956
13052
|
return p.estimateJob(methodInput);
|
|
12957
13053
|
}),
|
|
12958
13054
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
12959
|
-
.input(
|
|
12960
|
-
.output(
|
|
13055
|
+
.input(types_149.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
13056
|
+
.output(types_149.trainingProviderCapability.methods.uploadDataset.output)
|
|
12961
13057
|
.mutation(async ({ input, ctx }) => {
|
|
12962
13058
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12963
13059
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12965,8 +13061,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12965
13061
|
return p.uploadDataset(methodInput);
|
|
12966
13062
|
}),
|
|
12967
13063
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
12968
|
-
.input(
|
|
12969
|
-
.output(
|
|
13064
|
+
.input(types_149.trainingProviderCapability.methods.submitJob.input.loose())
|
|
13065
|
+
.output(types_149.trainingProviderCapability.methods.submitJob.output)
|
|
12970
13066
|
.mutation(async ({ input, ctx }) => {
|
|
12971
13067
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12972
13068
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12974,8 +13070,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12974
13070
|
return p.submitJob(methodInput);
|
|
12975
13071
|
}),
|
|
12976
13072
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12977
|
-
.input(
|
|
12978
|
-
.output(
|
|
13073
|
+
.input(types_149.trainingProviderCapability.methods.getJob.input.loose())
|
|
13074
|
+
.output(types_149.trainingProviderCapability.methods.getJob.output)
|
|
12979
13075
|
.query(async ({ input, ctx }) => {
|
|
12980
13076
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12981
13077
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12983,8 +13079,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12983
13079
|
return p.getJob(methodInput);
|
|
12984
13080
|
}),
|
|
12985
13081
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
12986
|
-
.input(
|
|
12987
|
-
.output(
|
|
13082
|
+
.input(types_149.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
13083
|
+
.output(types_149.trainingProviderCapability.methods.listJobEvents.output)
|
|
12988
13084
|
.query(async ({ input, ctx }) => {
|
|
12989
13085
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12990
13086
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12992,8 +13088,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12992
13088
|
return p.listJobEvents(methodInput);
|
|
12993
13089
|
}),
|
|
12994
13090
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12995
|
-
.input(
|
|
12996
|
-
.output(
|
|
13091
|
+
.input(types_149.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
13092
|
+
.output(types_149.trainingProviderCapability.methods.cancelJob.output)
|
|
12997
13093
|
.mutation(async ({ input, ctx }) => {
|
|
12998
13094
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12999
13095
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13001,8 +13097,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13001
13097
|
return p.cancelJob(methodInput);
|
|
13002
13098
|
}),
|
|
13003
13099
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
13004
|
-
.input(
|
|
13005
|
-
.output(
|
|
13100
|
+
.input(types_149.trainingProviderCapability.methods.readResult.input.loose())
|
|
13101
|
+
.output(types_149.trainingProviderCapability.methods.readResult.output)
|
|
13006
13102
|
.mutation(async ({ input, ctx }) => {
|
|
13007
13103
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13008
13104
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13010,8 +13106,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13010
13106
|
return p.readResult(methodInput);
|
|
13011
13107
|
}),
|
|
13012
13108
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
13013
|
-
.input(
|
|
13014
|
-
.output(
|
|
13109
|
+
.input(types_149.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
13110
|
+
.output(types_149.trainingProviderCapability.methods.offerArtifact.output)
|
|
13015
13111
|
.mutation(async ({ input, ctx }) => {
|
|
13016
13112
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13017
13113
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13019,8 +13115,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13019
13115
|
return p.offerArtifact(methodInput);
|
|
13020
13116
|
}),
|
|
13021
13117
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
13022
|
-
.input(
|
|
13023
|
-
.output(
|
|
13118
|
+
.input(types_149.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
13119
|
+
.output(types_149.trainingProviderCapability.methods.cleanupJob.output)
|
|
13024
13120
|
.mutation(async ({ input, ctx }) => {
|
|
13025
13121
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13026
13122
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13028,8 +13124,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13028
13124
|
return p.cleanupJob(methodInput);
|
|
13029
13125
|
}),
|
|
13030
13126
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
13031
|
-
.input(
|
|
13032
|
-
.output(
|
|
13127
|
+
.input(types_149.trainingProviderCapability.methods.listJobs.input.loose())
|
|
13128
|
+
.output(types_149.trainingProviderCapability.methods.listJobs.output)
|
|
13033
13129
|
.query(async ({ input, ctx }) => {
|
|
13034
13130
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13035
13131
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13042,7 +13138,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
13042
13138
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13043
13139
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
13044
13140
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
13045
|
-
.output(
|
|
13141
|
+
.output(types_150.turnProviderCapability.methods.getTurnServers.output)
|
|
13046
13142
|
.query(async ({ input, ctx }) => {
|
|
13047
13143
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
13048
13144
|
return p.getTurnServers();
|
|
@@ -13062,7 +13158,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
13062
13158
|
}),
|
|
13063
13159
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
13064
13160
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13065
|
-
.output(
|
|
13161
|
+
.output(types_151.updateCapability.methods.installUpdate.output)
|
|
13066
13162
|
.mutation(async ({ input, ctx }) => {
|
|
13067
13163
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13068
13164
|
return p.installUpdate();
|
|
@@ -13073,14 +13169,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13073
13169
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13074
13170
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
13075
13171
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13076
|
-
.output(
|
|
13172
|
+
.output(types_152.userManagementCapability.methods.listUsers.output)
|
|
13077
13173
|
.query(async ({ input, ctx }) => {
|
|
13078
13174
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13079
13175
|
return p.listUsers();
|
|
13080
13176
|
}),
|
|
13081
13177
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
13082
|
-
.input(
|
|
13083
|
-
.output(
|
|
13178
|
+
.input(types_152.userManagementCapability.methods.createUser.input.loose())
|
|
13179
|
+
.output(types_152.userManagementCapability.methods.createUser.output)
|
|
13084
13180
|
.mutation(async ({ input, ctx }) => {
|
|
13085
13181
|
const { nodeId, ...methodInput } = input;
|
|
13086
13182
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13088,8 +13184,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13088
13184
|
return p.createUser(methodInput);
|
|
13089
13185
|
}),
|
|
13090
13186
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
13091
|
-
.input(
|
|
13092
|
-
.output(
|
|
13187
|
+
.input(types_152.userManagementCapability.methods.updateUser.input.loose())
|
|
13188
|
+
.output(types_152.userManagementCapability.methods.updateUser.output)
|
|
13093
13189
|
.mutation(async ({ input, ctx }) => {
|
|
13094
13190
|
const { nodeId, ...methodInput } = input;
|
|
13095
13191
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13097,8 +13193,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13097
13193
|
return p.updateUser(methodInput);
|
|
13098
13194
|
}),
|
|
13099
13195
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
13100
|
-
.input(
|
|
13101
|
-
.output(
|
|
13196
|
+
.input(types_152.userManagementCapability.methods.deleteUser.input.loose())
|
|
13197
|
+
.output(types_152.userManagementCapability.methods.deleteUser.output)
|
|
13102
13198
|
.mutation(async ({ input, ctx }) => {
|
|
13103
13199
|
const { nodeId, ...methodInput } = input;
|
|
13104
13200
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13106,8 +13202,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13106
13202
|
return p.deleteUser(methodInput);
|
|
13107
13203
|
}),
|
|
13108
13204
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
13109
|
-
.input(
|
|
13110
|
-
.output(
|
|
13205
|
+
.input(types_152.userManagementCapability.methods.resetPassword.input.loose())
|
|
13206
|
+
.output(types_152.userManagementCapability.methods.resetPassword.output)
|
|
13111
13207
|
.mutation(async ({ input, ctx }) => {
|
|
13112
13208
|
const { nodeId, ...methodInput } = input;
|
|
13113
13209
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13115,8 +13211,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13115
13211
|
return p.resetPassword(methodInput);
|
|
13116
13212
|
}),
|
|
13117
13213
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
13118
|
-
.input(
|
|
13119
|
-
.output(
|
|
13214
|
+
.input(types_152.userManagementCapability.methods.setUserScopes.input.loose())
|
|
13215
|
+
.output(types_152.userManagementCapability.methods.setUserScopes.output)
|
|
13120
13216
|
.mutation(async ({ input, ctx }) => {
|
|
13121
13217
|
const { nodeId, ...methodInput } = input;
|
|
13122
13218
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13124,8 +13220,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13124
13220
|
return p.setUserScopes(methodInput);
|
|
13125
13221
|
}),
|
|
13126
13222
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
13127
|
-
.input(
|
|
13128
|
-
.output(
|
|
13223
|
+
.input(types_152.userManagementCapability.methods.validateCredentials.input.loose())
|
|
13224
|
+
.output(types_152.userManagementCapability.methods.validateCredentials.output)
|
|
13129
13225
|
.mutation(async ({ input, ctx }) => {
|
|
13130
13226
|
const { nodeId, ...methodInput } = input;
|
|
13131
13227
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13133,8 +13229,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13133
13229
|
return p.validateCredentials(methodInput);
|
|
13134
13230
|
}),
|
|
13135
13231
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
13136
|
-
.input(
|
|
13137
|
-
.output(
|
|
13232
|
+
.input(types_152.userManagementCapability.methods.setupTotp.input.loose())
|
|
13233
|
+
.output(types_152.userManagementCapability.methods.setupTotp.output)
|
|
13138
13234
|
.mutation(async ({ input, ctx }) => {
|
|
13139
13235
|
const { nodeId, ...methodInput } = input;
|
|
13140
13236
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13142,8 +13238,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13142
13238
|
return p.setupTotp(methodInput);
|
|
13143
13239
|
}),
|
|
13144
13240
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
13145
|
-
.input(
|
|
13146
|
-
.output(
|
|
13241
|
+
.input(types_152.userManagementCapability.methods.confirmTotp.input.loose())
|
|
13242
|
+
.output(types_152.userManagementCapability.methods.confirmTotp.output)
|
|
13147
13243
|
.mutation(async ({ input, ctx }) => {
|
|
13148
13244
|
const { nodeId, ...methodInput } = input;
|
|
13149
13245
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13151,8 +13247,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13151
13247
|
return p.confirmTotp(methodInput);
|
|
13152
13248
|
}),
|
|
13153
13249
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
13154
|
-
.input(
|
|
13155
|
-
.output(
|
|
13250
|
+
.input(types_152.userManagementCapability.methods.disableTotp.input.loose())
|
|
13251
|
+
.output(types_152.userManagementCapability.methods.disableTotp.output)
|
|
13156
13252
|
.mutation(async ({ input, ctx }) => {
|
|
13157
13253
|
const { nodeId, ...methodInput } = input;
|
|
13158
13254
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13160,8 +13256,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13160
13256
|
return p.disableTotp(methodInput);
|
|
13161
13257
|
}),
|
|
13162
13258
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
13163
|
-
.input(
|
|
13164
|
-
.output(
|
|
13259
|
+
.input(types_152.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
13260
|
+
.output(types_152.userManagementCapability.methods.getTotpStatus.output)
|
|
13165
13261
|
.query(async ({ input, ctx }) => {
|
|
13166
13262
|
const { nodeId, ...methodInput } = input;
|
|
13167
13263
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13169,8 +13265,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13169
13265
|
return p.getTotpStatus(methodInput);
|
|
13170
13266
|
}),
|
|
13171
13267
|
migrateRawSecrets: trpc_middleware_js_1.adminProcedure
|
|
13172
|
-
.input(
|
|
13173
|
-
.output(
|
|
13268
|
+
.input(types_152.userManagementCapability.methods.migrateRawSecrets.input.loose())
|
|
13269
|
+
.output(types_152.userManagementCapability.methods.migrateRawSecrets.output)
|
|
13174
13270
|
.mutation(async ({ input, ctx }) => {
|
|
13175
13271
|
const { nodeId, ...methodInput } = input;
|
|
13176
13272
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13178,8 +13274,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13178
13274
|
return p.migrateRawSecrets(methodInput);
|
|
13179
13275
|
}),
|
|
13180
13276
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
13181
|
-
.input(
|
|
13182
|
-
.output(
|
|
13277
|
+
.input(types_152.userManagementCapability.methods.verifyTotp.input.loose())
|
|
13278
|
+
.output(types_152.userManagementCapability.methods.verifyTotp.output)
|
|
13183
13279
|
.mutation(async ({ input, ctx }) => {
|
|
13184
13280
|
const { nodeId, ...methodInput } = input;
|
|
13185
13281
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13187,8 +13283,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13187
13283
|
return p.verifyTotp(methodInput);
|
|
13188
13284
|
}),
|
|
13189
13285
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
13190
|
-
.input(
|
|
13191
|
-
.output(
|
|
13286
|
+
.input(types_152.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
13287
|
+
.output(types_152.userManagementCapability.methods.oauthIssueCode.output)
|
|
13192
13288
|
.mutation(async ({ input, ctx }) => {
|
|
13193
13289
|
const { nodeId, ...methodInput } = input;
|
|
13194
13290
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13196,8 +13292,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13196
13292
|
return p.oauthIssueCode(methodInput);
|
|
13197
13293
|
}),
|
|
13198
13294
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
13199
|
-
.input(
|
|
13200
|
-
.output(
|
|
13295
|
+
.input(types_152.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
13296
|
+
.output(types_152.userManagementCapability.methods.oauthExchangeCode.output)
|
|
13201
13297
|
.mutation(async ({ input, ctx }) => {
|
|
13202
13298
|
const { nodeId, ...methodInput } = input;
|
|
13203
13299
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13205,8 +13301,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13205
13301
|
return p.oauthExchangeCode(methodInput);
|
|
13206
13302
|
}),
|
|
13207
13303
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
13208
|
-
.input(
|
|
13209
|
-
.output(
|
|
13304
|
+
.input(types_152.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
13305
|
+
.output(types_152.userManagementCapability.methods.oauthRefresh.output)
|
|
13210
13306
|
.mutation(async ({ input, ctx }) => {
|
|
13211
13307
|
const { nodeId, ...methodInput } = input;
|
|
13212
13308
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13214,8 +13310,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13214
13310
|
return p.oauthRefresh(methodInput);
|
|
13215
13311
|
}),
|
|
13216
13312
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
13217
|
-
.input(
|
|
13218
|
-
.output(
|
|
13313
|
+
.input(types_152.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
13314
|
+
.output(types_152.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
13219
13315
|
.query(async ({ input, ctx }) => {
|
|
13220
13316
|
const { nodeId, ...methodInput } = input;
|
|
13221
13317
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13223,8 +13319,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13223
13319
|
return p.oauthVerifyAccessToken(methodInput);
|
|
13224
13320
|
}),
|
|
13225
13321
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
13226
|
-
.input(
|
|
13227
|
-
.output(
|
|
13322
|
+
.input(types_152.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
13323
|
+
.output(types_152.userManagementCapability.methods.listExternalIdentities.output)
|
|
13228
13324
|
.query(async ({ input, ctx }) => {
|
|
13229
13325
|
const { nodeId, ...methodInput } = input;
|
|
13230
13326
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13232,8 +13328,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13232
13328
|
return p.listExternalIdentities(methodInput);
|
|
13233
13329
|
}),
|
|
13234
13330
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
13235
|
-
.input(
|
|
13236
|
-
.output(
|
|
13331
|
+
.input(types_152.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
13332
|
+
.output(types_152.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
13237
13333
|
.query(async ({ input, ctx }) => {
|
|
13238
13334
|
const { nodeId, ...methodInput } = input;
|
|
13239
13335
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13241,8 +13337,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13241
13337
|
return p.findUserByExternalIdentity(methodInput);
|
|
13242
13338
|
}),
|
|
13243
13339
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
13244
|
-
.input(
|
|
13245
|
-
.output(
|
|
13340
|
+
.input(types_152.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
13341
|
+
.output(types_152.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
13246
13342
|
.mutation(async ({ input, ctx }) => {
|
|
13247
13343
|
const { nodeId, ...methodInput } = input;
|
|
13248
13344
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13251,14 +13347,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13251
13347
|
}),
|
|
13252
13348
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
13253
13349
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13254
|
-
.output(
|
|
13350
|
+
.output(types_152.userManagementCapability.methods.listOauthSessions.output)
|
|
13255
13351
|
.query(async ({ input, ctx }) => {
|
|
13256
13352
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13257
13353
|
return p.listOauthSessions();
|
|
13258
13354
|
}),
|
|
13259
13355
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
13260
|
-
.input(
|
|
13261
|
-
.output(
|
|
13356
|
+
.input(types_152.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
13357
|
+
.output(types_152.userManagementCapability.methods.revokeOauthSession.output)
|
|
13262
13358
|
.mutation(async ({ input, ctx }) => {
|
|
13263
13359
|
const { nodeId, ...methodInput } = input;
|
|
13264
13360
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13270,8 +13366,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13270
13366
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
13271
13367
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13272
13368
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
13273
|
-
.input(
|
|
13274
|
-
.output(
|
|
13369
|
+
.input(types_153.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
13370
|
+
.output(types_153.userPasskeysCapability.methods.beginRegistration.output)
|
|
13275
13371
|
.mutation(async ({ input, ctx }) => {
|
|
13276
13372
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13277
13373
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13279,8 +13375,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13279
13375
|
return p.beginRegistration(methodInput);
|
|
13280
13376
|
}),
|
|
13281
13377
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
13282
|
-
.input(
|
|
13283
|
-
.output(
|
|
13378
|
+
.input(types_153.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
13379
|
+
.output(types_153.userPasskeysCapability.methods.finishRegistration.output)
|
|
13284
13380
|
.mutation(async ({ input, ctx }) => {
|
|
13285
13381
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13286
13382
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13288,8 +13384,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13288
13384
|
return p.finishRegistration(methodInput);
|
|
13289
13385
|
}),
|
|
13290
13386
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13291
|
-
.input(
|
|
13292
|
-
.output(
|
|
13387
|
+
.input(types_153.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
13388
|
+
.output(types_153.userPasskeysCapability.methods.beginAuthentication.output)
|
|
13293
13389
|
.mutation(async ({ input, ctx }) => {
|
|
13294
13390
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13295
13391
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13297,8 +13393,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13297
13393
|
return p.beginAuthentication(methodInput);
|
|
13298
13394
|
}),
|
|
13299
13395
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13300
|
-
.input(
|
|
13301
|
-
.output(
|
|
13396
|
+
.input(types_153.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
13397
|
+
.output(types_153.userPasskeysCapability.methods.finishAuthentication.output)
|
|
13302
13398
|
.mutation(async ({ input, ctx }) => {
|
|
13303
13399
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13304
13400
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13306,8 +13402,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13306
13402
|
return p.finishAuthentication(methodInput);
|
|
13307
13403
|
}),
|
|
13308
13404
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13309
|
-
.input(
|
|
13310
|
-
.output(
|
|
13405
|
+
.input(types_153.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
13406
|
+
.output(types_153.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
13311
13407
|
.mutation(async ({ input, ctx }) => {
|
|
13312
13408
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13313
13409
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13315,8 +13411,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13315
13411
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
13316
13412
|
}),
|
|
13317
13413
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13318
|
-
.input(
|
|
13319
|
-
.output(
|
|
13414
|
+
.input(types_153.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
13415
|
+
.output(types_153.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
13320
13416
|
.mutation(async ({ input, ctx }) => {
|
|
13321
13417
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13322
13418
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13324,8 +13420,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13324
13420
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
13325
13421
|
}),
|
|
13326
13422
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
13327
|
-
.input(
|
|
13328
|
-
.output(
|
|
13423
|
+
.input(types_153.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
13424
|
+
.output(types_153.userPasskeysCapability.methods.listPasskeys.output)
|
|
13329
13425
|
.query(async ({ input, ctx }) => {
|
|
13330
13426
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13331
13427
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13333,8 +13429,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13333
13429
|
return p.listPasskeys(methodInput);
|
|
13334
13430
|
}),
|
|
13335
13431
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
13336
|
-
.input(
|
|
13337
|
-
.output(
|
|
13432
|
+
.input(types_153.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
13433
|
+
.output(types_153.userPasskeysCapability.methods.removePasskey.output)
|
|
13338
13434
|
.mutation(async ({ input, ctx }) => {
|
|
13339
13435
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13340
13436
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13342,8 +13438,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13342
13438
|
return p.removePasskey(methodInput);
|
|
13343
13439
|
}),
|
|
13344
13440
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
13345
|
-
.input(
|
|
13346
|
-
.output(
|
|
13441
|
+
.input(types_153.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
13442
|
+
.output(types_153.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
13347
13443
|
.query(async ({ input, ctx }) => {
|
|
13348
13444
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13349
13445
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13351,8 +13447,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13351
13447
|
return p.getSecondFactorPreference(methodInput);
|
|
13352
13448
|
}),
|
|
13353
13449
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
13354
|
-
.input(
|
|
13355
|
-
.output(
|
|
13450
|
+
.input(types_153.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
13451
|
+
.output(types_153.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
13356
13452
|
.mutation(async ({ input, ctx }) => {
|
|
13357
13453
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13358
13454
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13373,8 +13469,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13373
13469
|
return p.getStatus(methodInput);
|
|
13374
13470
|
}),
|
|
13375
13471
|
start: trpc_middleware_js_1.protectedProcedure
|
|
13376
|
-
.input(
|
|
13377
|
-
.output(
|
|
13472
|
+
.input(types_154.vacuumControlCapability.methods.start.input.loose())
|
|
13473
|
+
.output(types_154.vacuumControlCapability.methods.start.output)
|
|
13378
13474
|
.mutation(async ({ input, ctx }) => {
|
|
13379
13475
|
const { nodeId, ...methodInput } = input;
|
|
13380
13476
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13382,8 +13478,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13382
13478
|
return p.start(methodInput);
|
|
13383
13479
|
}),
|
|
13384
13480
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
13385
|
-
.input(
|
|
13386
|
-
.output(
|
|
13481
|
+
.input(types_154.vacuumControlCapability.methods.pause.input.loose())
|
|
13482
|
+
.output(types_154.vacuumControlCapability.methods.pause.output)
|
|
13387
13483
|
.mutation(async ({ input, ctx }) => {
|
|
13388
13484
|
const { nodeId, ...methodInput } = input;
|
|
13389
13485
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13391,8 +13487,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13391
13487
|
return p.pause(methodInput);
|
|
13392
13488
|
}),
|
|
13393
13489
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13394
|
-
.input(
|
|
13395
|
-
.output(
|
|
13490
|
+
.input(types_154.vacuumControlCapability.methods.stop.input.loose())
|
|
13491
|
+
.output(types_154.vacuumControlCapability.methods.stop.output)
|
|
13396
13492
|
.mutation(async ({ input, ctx }) => {
|
|
13397
13493
|
const { nodeId, ...methodInput } = input;
|
|
13398
13494
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13400,8 +13496,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13400
13496
|
return p.stop(methodInput);
|
|
13401
13497
|
}),
|
|
13402
13498
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
13403
|
-
.input(
|
|
13404
|
-
.output(
|
|
13499
|
+
.input(types_154.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
13500
|
+
.output(types_154.vacuumControlCapability.methods.returnToBase.output)
|
|
13405
13501
|
.mutation(async ({ input, ctx }) => {
|
|
13406
13502
|
const { nodeId, ...methodInput } = input;
|
|
13407
13503
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13409,8 +13505,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13409
13505
|
return p.returnToBase(methodInput);
|
|
13410
13506
|
}),
|
|
13411
13507
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
13412
|
-
.input(
|
|
13413
|
-
.output(
|
|
13508
|
+
.input(types_154.vacuumControlCapability.methods.locate.input.loose())
|
|
13509
|
+
.output(types_154.vacuumControlCapability.methods.locate.output)
|
|
13414
13510
|
.mutation(async ({ input, ctx }) => {
|
|
13415
13511
|
const { nodeId, ...methodInput } = input;
|
|
13416
13512
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13418,8 +13514,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13418
13514
|
return p.locate(methodInput);
|
|
13419
13515
|
}),
|
|
13420
13516
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
13421
|
-
.input(
|
|
13422
|
-
.output(
|
|
13517
|
+
.input(types_154.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
13518
|
+
.output(types_154.vacuumControlCapability.methods.setFanSpeed.output)
|
|
13423
13519
|
.mutation(async ({ input, ctx }) => {
|
|
13424
13520
|
const { nodeId, ...methodInput } = input;
|
|
13425
13521
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13440,8 +13536,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13440
13536
|
return p.getStatus(methodInput);
|
|
13441
13537
|
}),
|
|
13442
13538
|
open: trpc_middleware_js_1.protectedProcedure
|
|
13443
|
-
.input(
|
|
13444
|
-
.output(
|
|
13539
|
+
.input(types_155.valveCapability.methods.open.input.loose())
|
|
13540
|
+
.output(types_155.valveCapability.methods.open.output)
|
|
13445
13541
|
.mutation(async ({ input, ctx }) => {
|
|
13446
13542
|
const { nodeId, ...methodInput } = input;
|
|
13447
13543
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13449,8 +13545,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13449
13545
|
return p.open(methodInput);
|
|
13450
13546
|
}),
|
|
13451
13547
|
close: trpc_middleware_js_1.protectedProcedure
|
|
13452
|
-
.input(
|
|
13453
|
-
.output(
|
|
13548
|
+
.input(types_155.valveCapability.methods.close.input.loose())
|
|
13549
|
+
.output(types_155.valveCapability.methods.close.output)
|
|
13454
13550
|
.mutation(async ({ input, ctx }) => {
|
|
13455
13551
|
const { nodeId, ...methodInput } = input;
|
|
13456
13552
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13458,8 +13554,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13458
13554
|
return p.close(methodInput);
|
|
13459
13555
|
}),
|
|
13460
13556
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13461
|
-
.input(
|
|
13462
|
-
.output(
|
|
13557
|
+
.input(types_155.valveCapability.methods.stop.input.loose())
|
|
13558
|
+
.output(types_155.valveCapability.methods.stop.output)
|
|
13463
13559
|
.mutation(async ({ input, ctx }) => {
|
|
13464
13560
|
const { nodeId, ...methodInput } = input;
|
|
13465
13561
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13467,8 +13563,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13467
13563
|
return p.stop(methodInput);
|
|
13468
13564
|
}),
|
|
13469
13565
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
13470
|
-
.input(
|
|
13471
|
-
.output(
|
|
13566
|
+
.input(types_155.valveCapability.methods.setPosition.input.loose())
|
|
13567
|
+
.output(types_155.valveCapability.methods.setPosition.output)
|
|
13472
13568
|
.mutation(async ({ input, ctx }) => {
|
|
13473
13569
|
const { nodeId, ...methodInput } = input;
|
|
13474
13570
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13480,8 +13576,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13480
13576
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
13481
13577
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13482
13578
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
13483
|
-
.input(
|
|
13484
|
-
.output(
|
|
13579
|
+
.input(types_156.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
13580
|
+
.output(types_156.vectorStoreCapability.methods.declareIndex.output)
|
|
13485
13581
|
.mutation(async ({ input, ctx }) => {
|
|
13486
13582
|
const { nodeId, ...methodInput } = input;
|
|
13487
13583
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13489,8 +13585,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13489
13585
|
return p.declareIndex(methodInput);
|
|
13490
13586
|
}),
|
|
13491
13587
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
13492
|
-
.input(
|
|
13493
|
-
.output(
|
|
13588
|
+
.input(types_156.vectorStoreCapability.methods.upsert.input.loose())
|
|
13589
|
+
.output(types_156.vectorStoreCapability.methods.upsert.output)
|
|
13494
13590
|
.mutation(async ({ input, ctx }) => {
|
|
13495
13591
|
const { nodeId, ...methodInput } = input;
|
|
13496
13592
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13498,8 +13594,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13498
13594
|
return p.upsert(methodInput);
|
|
13499
13595
|
}),
|
|
13500
13596
|
query: trpc_middleware_js_1.adminProcedure
|
|
13501
|
-
.input(
|
|
13502
|
-
.output(
|
|
13597
|
+
.input(types_156.vectorStoreCapability.methods.query.input.loose())
|
|
13598
|
+
.output(types_156.vectorStoreCapability.methods.query.output)
|
|
13503
13599
|
.query(async ({ input, ctx }) => {
|
|
13504
13600
|
const { nodeId, ...methodInput } = input;
|
|
13505
13601
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13507,8 +13603,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13507
13603
|
return p.query(methodInput);
|
|
13508
13604
|
}),
|
|
13509
13605
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
13510
|
-
.input(
|
|
13511
|
-
.output(
|
|
13606
|
+
.input(types_156.vectorStoreCapability.methods.getByIds.input.loose())
|
|
13607
|
+
.output(types_156.vectorStoreCapability.methods.getByIds.output)
|
|
13512
13608
|
.query(async ({ input, ctx }) => {
|
|
13513
13609
|
const { nodeId, ...methodInput } = input;
|
|
13514
13610
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13516,8 +13612,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13516
13612
|
return p.getByIds(methodInput);
|
|
13517
13613
|
}),
|
|
13518
13614
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
13519
|
-
.input(
|
|
13520
|
-
.output(
|
|
13615
|
+
.input(types_156.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
13616
|
+
.output(types_156.vectorStoreCapability.methods.fetchByIds.output)
|
|
13521
13617
|
.query(async ({ input, ctx }) => {
|
|
13522
13618
|
const { nodeId, ...methodInput } = input;
|
|
13523
13619
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13525,8 +13621,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13525
13621
|
return p.fetchByIds(methodInput);
|
|
13526
13622
|
}),
|
|
13527
13623
|
scan: trpc_middleware_js_1.adminProcedure
|
|
13528
|
-
.input(
|
|
13529
|
-
.output(
|
|
13624
|
+
.input(types_156.vectorStoreCapability.methods.scan.input.loose())
|
|
13625
|
+
.output(types_156.vectorStoreCapability.methods.scan.output)
|
|
13530
13626
|
.query(async ({ input, ctx }) => {
|
|
13531
13627
|
const { nodeId, ...methodInput } = input;
|
|
13532
13628
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13534,8 +13630,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13534
13630
|
return p.scan(methodInput);
|
|
13535
13631
|
}),
|
|
13536
13632
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
13537
|
-
.input(
|
|
13538
|
-
.output(
|
|
13633
|
+
.input(types_156.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
13634
|
+
.output(types_156.vectorStoreCapability.methods.deleteByIds.output)
|
|
13539
13635
|
.mutation(async ({ input, ctx }) => {
|
|
13540
13636
|
const { nodeId, ...methodInput } = input;
|
|
13541
13637
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13543,8 +13639,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13543
13639
|
return p.deleteByIds(methodInput);
|
|
13544
13640
|
}),
|
|
13545
13641
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
13546
|
-
.input(
|
|
13547
|
-
.output(
|
|
13642
|
+
.input(types_156.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
13643
|
+
.output(types_156.vectorStoreCapability.methods.deleteByFilter.output)
|
|
13548
13644
|
.mutation(async ({ input, ctx }) => {
|
|
13549
13645
|
const { nodeId, ...methodInput } = input;
|
|
13550
13646
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13552,8 +13648,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13552
13648
|
return p.deleteByFilter(methodInput);
|
|
13553
13649
|
}),
|
|
13554
13650
|
stats: trpc_middleware_js_1.adminProcedure
|
|
13555
|
-
.input(
|
|
13556
|
-
.output(
|
|
13651
|
+
.input(types_156.vectorStoreCapability.methods.stats.input.loose())
|
|
13652
|
+
.output(types_156.vectorStoreCapability.methods.stats.output)
|
|
13557
13653
|
.query(async ({ input, ctx }) => {
|
|
13558
13654
|
const { nodeId, ...methodInput } = input;
|
|
13559
13655
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13578,8 +13674,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
13578
13674
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
13579
13675
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13580
13676
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
13581
|
-
.input(
|
|
13582
|
-
.output(
|
|
13677
|
+
.input(types_157.videoclipsCapability.methods.listClips.input.loose())
|
|
13678
|
+
.output(types_157.videoclipsCapability.methods.listClips.output)
|
|
13583
13679
|
.query(async ({ input, ctx }) => {
|
|
13584
13680
|
const { nodeId, ...methodInput } = input;
|
|
13585
13681
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13587,8 +13683,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13587
13683
|
return p.listClips(methodInput);
|
|
13588
13684
|
}),
|
|
13589
13685
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
13590
|
-
.input(
|
|
13591
|
-
.output(
|
|
13686
|
+
.input(types_157.videoclipsCapability.methods.listSources.input.loose())
|
|
13687
|
+
.output(types_157.videoclipsCapability.methods.listSources.output)
|
|
13592
13688
|
.query(async ({ input, ctx }) => {
|
|
13593
13689
|
const { nodeId, ...methodInput } = input;
|
|
13594
13690
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13596,8 +13692,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13596
13692
|
return p.listSources(methodInput);
|
|
13597
13693
|
}),
|
|
13598
13694
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
13599
|
-
.input(
|
|
13600
|
-
.output(
|
|
13695
|
+
.input(types_157.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
13696
|
+
.output(types_157.videoclipsCapability.methods.getClipPlayback.output)
|
|
13601
13697
|
.query(async ({ input, ctx }) => {
|
|
13602
13698
|
const { nodeId, ...methodInput } = input;
|
|
13603
13699
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13605,8 +13701,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13605
13701
|
return p.getClipPlayback(methodInput);
|
|
13606
13702
|
}),
|
|
13607
13703
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13608
|
-
.input(
|
|
13609
|
-
.output(
|
|
13704
|
+
.input(types_157.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
13705
|
+
.output(types_157.videoclipsCapability.methods.readClipBytes.output)
|
|
13610
13706
|
.query(async ({ input, ctx }) => {
|
|
13611
13707
|
const { nodeId, ...methodInput } = input;
|
|
13612
13708
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13621,8 +13717,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13621
13717
|
return fn.call(p, methodInput);
|
|
13622
13718
|
}),
|
|
13623
13719
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13624
|
-
.input(
|
|
13625
|
-
.output(
|
|
13720
|
+
.input(types_157.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
13721
|
+
.output(types_157.videoclipsCapability.methods.offerClipBytes.output)
|
|
13626
13722
|
.query(async ({ input, ctx }) => {
|
|
13627
13723
|
const { nodeId, ...methodInput } = input;
|
|
13628
13724
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13637,8 +13733,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13637
13733
|
return fn.call(p, methodInput);
|
|
13638
13734
|
}),
|
|
13639
13735
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
13640
|
-
.input(
|
|
13641
|
-
.output(
|
|
13736
|
+
.input(types_157.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
13737
|
+
.output(types_157.videoclipsCapability.methods.dialClipStream.output)
|
|
13642
13738
|
.query(async ({ input, ctx }) => {
|
|
13643
13739
|
const { nodeId, ...methodInput } = input;
|
|
13644
13740
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13653,8 +13749,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13653
13749
|
return fn.call(p, methodInput);
|
|
13654
13750
|
}),
|
|
13655
13751
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
13656
|
-
.input(
|
|
13657
|
-
.output(
|
|
13752
|
+
.input(types_157.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
13753
|
+
.output(types_157.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
13658
13754
|
.query(async ({ input, ctx }) => {
|
|
13659
13755
|
const { nodeId, ...methodInput } = input;
|
|
13660
13756
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13674,14 +13770,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
13674
13770
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13675
13771
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
13676
13772
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13677
|
-
.output(
|
|
13773
|
+
.output(types_158.viewerUiCapability.methods.getStaticDir.output)
|
|
13678
13774
|
.query(async ({ input, ctx }) => {
|
|
13679
13775
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13680
13776
|
return p.getStaticDir();
|
|
13681
13777
|
}),
|
|
13682
13778
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
13683
13779
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13684
|
-
.output(
|
|
13780
|
+
.output(types_158.viewerUiCapability.methods.getVersion.output)
|
|
13685
13781
|
.query(async ({ input, ctx }) => {
|
|
13686
13782
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13687
13783
|
return p.getVersion();
|
|
@@ -13700,8 +13796,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13700
13796
|
return p.getStatus(methodInput);
|
|
13701
13797
|
}),
|
|
13702
13798
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
13703
|
-
.input(
|
|
13704
|
-
.output(
|
|
13799
|
+
.input(types_159.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
13800
|
+
.output(types_159.waterHeaterCapability.methods.setTargetTemp.output)
|
|
13705
13801
|
.mutation(async ({ input, ctx }) => {
|
|
13706
13802
|
const { nodeId, ...methodInput } = input;
|
|
13707
13803
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13709,8 +13805,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13709
13805
|
return p.setTargetTemp(methodInput);
|
|
13710
13806
|
}),
|
|
13711
13807
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
13712
|
-
.input(
|
|
13713
|
-
.output(
|
|
13808
|
+
.input(types_159.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
13809
|
+
.output(types_159.waterHeaterCapability.methods.setOperationMode.output)
|
|
13714
13810
|
.mutation(async ({ input, ctx }) => {
|
|
13715
13811
|
const { nodeId, ...methodInput } = input;
|
|
13716
13812
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13718,8 +13814,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13718
13814
|
return p.setOperationMode(methodInput);
|
|
13719
13815
|
}),
|
|
13720
13816
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
13721
|
-
.input(
|
|
13722
|
-
.output(
|
|
13817
|
+
.input(types_159.waterHeaterCapability.methods.setAway.input.loose())
|
|
13818
|
+
.output(types_159.waterHeaterCapability.methods.setAway.output)
|
|
13723
13819
|
.mutation(async ({ input, ctx }) => {
|
|
13724
13820
|
const { nodeId, ...methodInput } = input;
|
|
13725
13821
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13744,8 +13840,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
13744
13840
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
13745
13841
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13746
13842
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
13747
|
-
.input(
|
|
13748
|
-
.output(
|
|
13843
|
+
.input(types_160.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
13844
|
+
.output(types_160.webrtcSessionCapability.methods.listStreams.output)
|
|
13749
13845
|
.query(async ({ input, ctx }) => {
|
|
13750
13846
|
const { nodeId, ...methodInput } = input;
|
|
13751
13847
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13753,8 +13849,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13753
13849
|
return p.listStreams(methodInput);
|
|
13754
13850
|
}),
|
|
13755
13851
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
13756
|
-
.input(
|
|
13757
|
-
.output(
|
|
13852
|
+
.input(types_160.webrtcSessionCapability.methods.createSession.input.loose())
|
|
13853
|
+
.output(types_160.webrtcSessionCapability.methods.createSession.output)
|
|
13758
13854
|
.mutation(async ({ input, ctx }) => {
|
|
13759
13855
|
const { nodeId, ...methodInput } = input;
|
|
13760
13856
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13762,8 +13858,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13762
13858
|
return p.createSession(methodInput);
|
|
13763
13859
|
}),
|
|
13764
13860
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
13765
|
-
.input(
|
|
13766
|
-
.output(
|
|
13861
|
+
.input(types_160.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
13862
|
+
.output(types_160.webrtcSessionCapability.methods.handleOffer.output)
|
|
13767
13863
|
.mutation(async ({ input, ctx }) => {
|
|
13768
13864
|
const { nodeId, ...methodInput } = input;
|
|
13769
13865
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13771,8 +13867,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13771
13867
|
return p.handleOffer(methodInput);
|
|
13772
13868
|
}),
|
|
13773
13869
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
13774
|
-
.input(
|
|
13775
|
-
.output(
|
|
13870
|
+
.input(types_160.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
13871
|
+
.output(types_160.webrtcSessionCapability.methods.handleAnswer.output)
|
|
13776
13872
|
.mutation(async ({ input, ctx }) => {
|
|
13777
13873
|
const { nodeId, ...methodInput } = input;
|
|
13778
13874
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13780,8 +13876,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13780
13876
|
return p.handleAnswer(methodInput);
|
|
13781
13877
|
}),
|
|
13782
13878
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
13783
|
-
.input(
|
|
13784
|
-
.output(
|
|
13879
|
+
.input(types_160.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
13880
|
+
.output(types_160.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
13785
13881
|
.mutation(async ({ input, ctx }) => {
|
|
13786
13882
|
const { nodeId, ...methodInput } = input;
|
|
13787
13883
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13789,8 +13885,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13789
13885
|
return p.addIceCandidate(methodInput);
|
|
13790
13886
|
}),
|
|
13791
13887
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
13792
|
-
.input(
|
|
13793
|
-
.output(
|
|
13888
|
+
.input(types_160.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
13889
|
+
.output(types_160.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
13794
13890
|
.query(async ({ input, ctx }) => {
|
|
13795
13891
|
const { nodeId, ...methodInput } = input;
|
|
13796
13892
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13798,8 +13894,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13798
13894
|
return p.getIceCandidates(methodInput);
|
|
13799
13895
|
}),
|
|
13800
13896
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
13801
|
-
.input(
|
|
13802
|
-
.output(
|
|
13897
|
+
.input(types_160.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
13898
|
+
.output(types_160.webrtcSessionCapability.methods.closeSession.output)
|
|
13803
13899
|
.mutation(async ({ input, ctx }) => {
|
|
13804
13900
|
const { nodeId, ...methodInput } = input;
|
|
13805
13901
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13807,8 +13903,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13807
13903
|
return p.closeSession(methodInput);
|
|
13808
13904
|
}),
|
|
13809
13905
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
13810
|
-
.input(
|
|
13811
|
-
.output(
|
|
13906
|
+
.input(types_160.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
13907
|
+
.output(types_160.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
13812
13908
|
.query(async ({ input, ctx }) => {
|
|
13813
13909
|
const { nodeId, ...methodInput } = input;
|
|
13814
13910
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13816,8 +13912,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13816
13912
|
return p.hasAdaptiveBitrate(methodInput);
|
|
13817
13913
|
}),
|
|
13818
13914
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
13819
|
-
.input(
|
|
13820
|
-
.output(
|
|
13915
|
+
.input(types_160.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
13916
|
+
.output(types_160.webrtcSessionCapability.methods.getSessionState.output)
|
|
13821
13917
|
.query(async ({ input, ctx }) => {
|
|
13822
13918
|
const { nodeId, ...methodInput } = input;
|
|
13823
13919
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13825,8 +13921,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13825
13921
|
return p.getSessionState(methodInput);
|
|
13826
13922
|
}),
|
|
13827
13923
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
13828
|
-
.input(
|
|
13829
|
-
.output(
|
|
13924
|
+
.input(types_160.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
13925
|
+
.output(types_160.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
13830
13926
|
.mutation(async ({ input, ctx }) => {
|
|
13831
13927
|
const { nodeId, ...methodInput } = input;
|
|
13832
13928
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13834,8 +13930,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13834
13930
|
return p.applyDownlinkProbe(methodInput);
|
|
13835
13931
|
}),
|
|
13836
13932
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
13837
|
-
.input(
|
|
13838
|
-
.output(
|
|
13933
|
+
.input(types_160.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
13934
|
+
.output(types_160.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
13839
13935
|
.query(async ({ input, ctx }) => {
|
|
13840
13936
|
const { nodeId, ...methodInput } = input;
|
|
13841
13937
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13847,8 +13943,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13847
13943
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
13848
13944
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13849
13945
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
13850
|
-
.input(
|
|
13851
|
-
.output(
|
|
13946
|
+
.input(types_161.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
13947
|
+
.output(types_161.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
13852
13948
|
.query(async ({ input, ctx }) => {
|
|
13853
13949
|
const { nodeId, ...methodInput } = input;
|
|
13854
13950
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13856,8 +13952,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13856
13952
|
return p.getCurrentSnapshot(methodInput);
|
|
13857
13953
|
}),
|
|
13858
13954
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
13859
|
-
.input(
|
|
13860
|
-
.output(
|
|
13955
|
+
.input(types_161.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
13956
|
+
.output(types_161.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
13861
13957
|
.query(async ({ input, ctx }) => {
|
|
13862
13958
|
const { nodeId, ...methodInput } = input;
|
|
13863
13959
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13865,8 +13961,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13865
13961
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
13866
13962
|
}),
|
|
13867
13963
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
13868
|
-
.input(
|
|
13869
|
-
.output(
|
|
13964
|
+
.input(types_161.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
13965
|
+
.output(types_161.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
13870
13966
|
.query(async ({ input, ctx }) => {
|
|
13871
13967
|
const { nodeId, ...methodInput } = input;
|
|
13872
13968
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13874,8 +13970,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13874
13970
|
return p.getZoneHistory(methodInput);
|
|
13875
13971
|
}),
|
|
13876
13972
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
13877
|
-
.input(
|
|
13878
|
-
.output(
|
|
13973
|
+
.input(types_161.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
13974
|
+
.output(types_161.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
13879
13975
|
.query(async ({ input, ctx }) => {
|
|
13880
13976
|
const { nodeId, ...methodInput } = input;
|
|
13881
13977
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13883,8 +13979,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13883
13979
|
return p.getCameraHistory(methodInput);
|
|
13884
13980
|
}),
|
|
13885
13981
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
13886
|
-
.input(
|
|
13887
|
-
.output(
|
|
13982
|
+
.input(types_161.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
13983
|
+
.output(types_161.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
13888
13984
|
.query(async ({ input, ctx }) => {
|
|
13889
13985
|
const { nodeId, ...methodInput } = input;
|
|
13890
13986
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13896,8 +13992,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13896
13992
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
13897
13993
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13898
13994
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
13899
|
-
.input(
|
|
13900
|
-
.output(
|
|
13995
|
+
.input(types_162.zoneRulesCapability.methods.listRules.input.loose())
|
|
13996
|
+
.output(types_162.zoneRulesCapability.methods.listRules.output)
|
|
13901
13997
|
.query(async ({ input, ctx }) => {
|
|
13902
13998
|
const { nodeId, ...methodInput } = input;
|
|
13903
13999
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13905,8 +14001,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
13905
14001
|
return p.listRules(methodInput);
|
|
13906
14002
|
}),
|
|
13907
14003
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
13908
|
-
.input(
|
|
13909
|
-
.output(
|
|
14004
|
+
.input(types_162.zoneRulesCapability.methods.setRules.input.loose())
|
|
14005
|
+
.output(types_162.zoneRulesCapability.methods.setRules.output)
|
|
13910
14006
|
.mutation(async ({ input, ctx }) => {
|
|
13911
14007
|
const { nodeId, ...methodInput } = input;
|
|
13912
14008
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13918,8 +14014,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
13918
14014
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
13919
14015
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13920
14016
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
13921
|
-
.input(
|
|
13922
|
-
.output(
|
|
14017
|
+
.input(types_163.zonesCapability.methods.listZones.input.loose())
|
|
14018
|
+
.output(types_163.zonesCapability.methods.listZones.output)
|
|
13923
14019
|
.query(async ({ input, ctx }) => {
|
|
13924
14020
|
const { nodeId, ...methodInput } = input;
|
|
13925
14021
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13927,8 +14023,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13927
14023
|
return p.listZones(methodInput);
|
|
13928
14024
|
}),
|
|
13929
14025
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
13930
|
-
.input(
|
|
13931
|
-
.output(
|
|
14026
|
+
.input(types_163.zonesCapability.methods.addZone.input.loose())
|
|
14027
|
+
.output(types_163.zonesCapability.methods.addZone.output)
|
|
13932
14028
|
.mutation(async ({ input, ctx }) => {
|
|
13933
14029
|
const { nodeId, ...methodInput } = input;
|
|
13934
14030
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13936,8 +14032,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13936
14032
|
return p.addZone(methodInput);
|
|
13937
14033
|
}),
|
|
13938
14034
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
13939
|
-
.input(
|
|
13940
|
-
.output(
|
|
14035
|
+
.input(types_163.zonesCapability.methods.removeZone.input.loose())
|
|
14036
|
+
.output(types_163.zonesCapability.methods.removeZone.output)
|
|
13941
14037
|
.mutation(async ({ input, ctx }) => {
|
|
13942
14038
|
const { nodeId, ...methodInput } = input;
|
|
13943
14039
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13945,8 +14041,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13945
14041
|
return p.removeZone(methodInput);
|
|
13946
14042
|
}),
|
|
13947
14043
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
13948
|
-
.input(
|
|
13949
|
-
.output(
|
|
14044
|
+
.input(types_163.zonesCapability.methods.updateZone.input.loose())
|
|
14045
|
+
.output(types_163.zonesCapability.methods.updateZone.output)
|
|
13950
14046
|
.mutation(async ({ input, ctx }) => {
|
|
13951
14047
|
const { nodeId, ...methodInput } = input;
|
|
13952
14048
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|