@camstack/server 1.2.93 → 1.2.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// AUTO-GENERATED by scripts/generate-cap-routers.ts — DO NOT EDIT
|
|
3
3
|
// Re-run: npx tsx scripts/generate-cap-routers.ts
|
|
4
4
|
//
|
|
5
|
-
// Capabilities:
|
|
5
|
+
// Capabilities: 149
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -128,6 +128,7 @@ exports.createCapRouter_snapshot = createCapRouter_snapshot;
|
|
|
128
128
|
exports.createCapRouter_ssoBridge = createCapRouter_ssoBridge;
|
|
129
129
|
exports.createCapRouter_storage = createCapRouter_storage;
|
|
130
130
|
exports.createCapRouter_storageEvictable = createCapRouter_storageEvictable;
|
|
131
|
+
exports.createCapRouter_storageMigration = createCapRouter_storageMigration;
|
|
131
132
|
exports.createCapRouter_storageProvider = createCapRouter_storageProvider;
|
|
132
133
|
exports.createCapRouter_streamBroker = createCapRouter_streamBroker;
|
|
133
134
|
exports.createCapRouter_streamCatalog = createCapRouter_streamCatalog;
|
|
@@ -282,6 +283,7 @@ const types_121 = require("@camstack/types");
|
|
|
282
283
|
const types_122 = require("@camstack/types");
|
|
283
284
|
const types_123 = require("@camstack/types");
|
|
284
285
|
const types_124 = require("@camstack/types");
|
|
286
|
+
const types_125 = require("@camstack/types");
|
|
285
287
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
286
288
|
function requireCapProvider(name, getProvider) {
|
|
287
289
|
const p = getProvider();
|
|
@@ -5821,32 +5823,59 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
5821
5823
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5822
5824
|
return p.deleteDeviceEvents(methodInput);
|
|
5823
5825
|
}),
|
|
5824
|
-
|
|
5825
|
-
.input(types_82.pipelineAnalyticsCapability.methods.
|
|
5826
|
-
.output(types_82.pipelineAnalyticsCapability.methods.
|
|
5826
|
+
pauseForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
5827
|
+
.input(types_82.pipelineAnalyticsCapability.methods.pauseForStorageMigration.input.loose())
|
|
5828
|
+
.output(types_82.pipelineAnalyticsCapability.methods.pauseForStorageMigration.output)
|
|
5827
5829
|
.mutation(async ({ input, ctx }) => {
|
|
5828
5830
|
const { nodeId, ...methodInput } = input;
|
|
5829
5831
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5830
5832
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5831
|
-
return p.
|
|
5833
|
+
return p.pauseForStorageMigration(methodInput);
|
|
5832
5834
|
}),
|
|
5833
|
-
|
|
5834
|
-
.input(types_82.pipelineAnalyticsCapability.methods.
|
|
5835
|
-
.output(types_82.pipelineAnalyticsCapability.methods.
|
|
5835
|
+
resumeForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
5836
|
+
.input(types_82.pipelineAnalyticsCapability.methods.resumeForStorageMigration.input.loose())
|
|
5837
|
+
.output(types_82.pipelineAnalyticsCapability.methods.resumeForStorageMigration.output)
|
|
5838
|
+
.mutation(async ({ input, ctx }) => {
|
|
5839
|
+
const { nodeId, ...methodInput } = input;
|
|
5840
|
+
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5841
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5842
|
+
return p.resumeForStorageMigration(methodInput);
|
|
5843
|
+
}),
|
|
5844
|
+
refreshStorageLocationsForMigration: trpc_middleware_js_1.adminProcedure
|
|
5845
|
+
.input(types_82.pipelineAnalyticsCapability.methods.refreshStorageLocationsForMigration.input.loose())
|
|
5846
|
+
.output(types_82.pipelineAnalyticsCapability.methods.refreshStorageLocationsForMigration.output)
|
|
5847
|
+
.mutation(async ({ input, ctx }) => {
|
|
5848
|
+
const { nodeId, ...methodInput } = input;
|
|
5849
|
+
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5850
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5851
|
+
return p.refreshStorageLocationsForMigration(methodInput);
|
|
5852
|
+
}),
|
|
5853
|
+
startStorageMigrationMove: trpc_middleware_js_1.adminProcedure
|
|
5854
|
+
.input(types_82.pipelineAnalyticsCapability.methods.startStorageMigrationMove.input.loose())
|
|
5855
|
+
.output(types_82.pipelineAnalyticsCapability.methods.startStorageMigrationMove.output)
|
|
5856
|
+
.mutation(async ({ input, ctx }) => {
|
|
5857
|
+
const { nodeId, ...methodInput } = input;
|
|
5858
|
+
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5859
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5860
|
+
return p.startStorageMigrationMove(methodInput);
|
|
5861
|
+
}),
|
|
5862
|
+
getStorageMigrationMoveStatus: trpc_middleware_js_1.adminProcedure
|
|
5863
|
+
.input(types_82.pipelineAnalyticsCapability.methods.getStorageMigrationMoveStatus.input.loose())
|
|
5864
|
+
.output(types_82.pipelineAnalyticsCapability.methods.getStorageMigrationMoveStatus.output)
|
|
5836
5865
|
.query(async ({ input, ctx }) => {
|
|
5837
5866
|
const { nodeId, ...methodInput } = input;
|
|
5838
5867
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5839
5868
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5840
|
-
return p.
|
|
5869
|
+
return p.getStorageMigrationMoveStatus(methodInput);
|
|
5841
5870
|
}),
|
|
5842
|
-
|
|
5843
|
-
.input(types_82.pipelineAnalyticsCapability.methods.
|
|
5844
|
-
.output(types_82.pipelineAnalyticsCapability.methods.
|
|
5871
|
+
cancelStorageMigrationMove: trpc_middleware_js_1.adminProcedure
|
|
5872
|
+
.input(types_82.pipelineAnalyticsCapability.methods.cancelStorageMigrationMove.input.loose())
|
|
5873
|
+
.output(types_82.pipelineAnalyticsCapability.methods.cancelStorageMigrationMove.output)
|
|
5845
5874
|
.mutation(async ({ input, ctx }) => {
|
|
5846
5875
|
const { nodeId, ...methodInput } = input;
|
|
5847
5876
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5848
5877
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5849
|
-
return p.
|
|
5878
|
+
return p.cancelStorageMigrationMove(methodInput);
|
|
5850
5879
|
}),
|
|
5851
5880
|
listOpsLog: trpc_middleware_js_1.adminProcedure
|
|
5852
5881
|
.input(types_82.pipelineAnalyticsCapability.methods.listOpsLog.input.loose())
|
|
@@ -6363,6 +6392,22 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
6363
6392
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6364
6393
|
return p.applyDeviceSettingsPatch(input);
|
|
6365
6394
|
}),
|
|
6395
|
+
pauseForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
6396
|
+
.input(types_84.pipelineOrchestratorCapability.methods.pauseForStorageMigration.input.loose())
|
|
6397
|
+
.output(types_84.pipelineOrchestratorCapability.methods.pauseForStorageMigration.output)
|
|
6398
|
+
.mutation(async ({ input, ctx }) => {
|
|
6399
|
+
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
6400
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6401
|
+
return p.pauseForStorageMigration(input);
|
|
6402
|
+
}),
|
|
6403
|
+
resumeForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
6404
|
+
.input(types_84.pipelineOrchestratorCapability.methods.resumeForStorageMigration.input.loose())
|
|
6405
|
+
.output(types_84.pipelineOrchestratorCapability.methods.resumeForStorageMigration.output)
|
|
6406
|
+
.mutation(async ({ input, ctx }) => {
|
|
6407
|
+
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
6408
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6409
|
+
return p.resumeForStorageMigration(input);
|
|
6410
|
+
}),
|
|
6366
6411
|
assignPipeline: trpc_middleware_js_1.adminProcedure
|
|
6367
6412
|
.input(types_84.pipelineOrchestratorCapability.methods.assignPipeline.input.loose())
|
|
6368
6413
|
.output(types_84.pipelineOrchestratorCapability.methods.assignPipeline.output)
|
|
@@ -7400,32 +7445,59 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
7400
7445
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7401
7446
|
return p.renderClip(methodInput);
|
|
7402
7447
|
}),
|
|
7403
|
-
|
|
7404
|
-
.input(types_92.recordingCapability.methods.
|
|
7405
|
-
.output(types_92.recordingCapability.methods.
|
|
7448
|
+
pauseForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
7449
|
+
.input(types_92.recordingCapability.methods.pauseForStorageMigration.input.loose())
|
|
7450
|
+
.output(types_92.recordingCapability.methods.pauseForStorageMigration.output)
|
|
7406
7451
|
.mutation(async ({ input, ctx }) => {
|
|
7407
7452
|
const { nodeId, ...methodInput } = input;
|
|
7408
7453
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7409
7454
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7410
|
-
return p.
|
|
7455
|
+
return p.pauseForStorageMigration(methodInput);
|
|
7411
7456
|
}),
|
|
7412
|
-
|
|
7413
|
-
.input(types_92.recordingCapability.methods.
|
|
7414
|
-
.output(types_92.recordingCapability.methods.
|
|
7457
|
+
resumeForStorageMigration: trpc_middleware_js_1.adminProcedure
|
|
7458
|
+
.input(types_92.recordingCapability.methods.resumeForStorageMigration.input.loose())
|
|
7459
|
+
.output(types_92.recordingCapability.methods.resumeForStorageMigration.output)
|
|
7460
|
+
.mutation(async ({ input, ctx }) => {
|
|
7461
|
+
const { nodeId, ...methodInput } = input;
|
|
7462
|
+
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7463
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7464
|
+
return p.resumeForStorageMigration(methodInput);
|
|
7465
|
+
}),
|
|
7466
|
+
refreshStorageLocationsForMigration: trpc_middleware_js_1.adminProcedure
|
|
7467
|
+
.input(types_92.recordingCapability.methods.refreshStorageLocationsForMigration.input.loose())
|
|
7468
|
+
.output(types_92.recordingCapability.methods.refreshStorageLocationsForMigration.output)
|
|
7469
|
+
.mutation(async ({ input, ctx }) => {
|
|
7470
|
+
const { nodeId, ...methodInput } = input;
|
|
7471
|
+
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7472
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7473
|
+
return p.refreshStorageLocationsForMigration(methodInput);
|
|
7474
|
+
}),
|
|
7475
|
+
startStorageMigrationMove: trpc_middleware_js_1.adminProcedure
|
|
7476
|
+
.input(types_92.recordingCapability.methods.startStorageMigrationMove.input.loose())
|
|
7477
|
+
.output(types_92.recordingCapability.methods.startStorageMigrationMove.output)
|
|
7478
|
+
.mutation(async ({ input, ctx }) => {
|
|
7479
|
+
const { nodeId, ...methodInput } = input;
|
|
7480
|
+
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7481
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7482
|
+
return p.startStorageMigrationMove(methodInput);
|
|
7483
|
+
}),
|
|
7484
|
+
getStorageMigrationMoveStatus: trpc_middleware_js_1.adminProcedure
|
|
7485
|
+
.input(types_92.recordingCapability.methods.getStorageMigrationMoveStatus.input.loose())
|
|
7486
|
+
.output(types_92.recordingCapability.methods.getStorageMigrationMoveStatus.output)
|
|
7415
7487
|
.query(async ({ input, ctx }) => {
|
|
7416
7488
|
const { nodeId, ...methodInput } = input;
|
|
7417
7489
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7418
7490
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7419
|
-
return p.
|
|
7491
|
+
return p.getStorageMigrationMoveStatus(methodInput);
|
|
7420
7492
|
}),
|
|
7421
|
-
|
|
7422
|
-
.input(types_92.recordingCapability.methods.
|
|
7423
|
-
.output(types_92.recordingCapability.methods.
|
|
7493
|
+
cancelStorageMigrationMove: trpc_middleware_js_1.adminProcedure
|
|
7494
|
+
.input(types_92.recordingCapability.methods.cancelStorageMigrationMove.input.loose())
|
|
7495
|
+
.output(types_92.recordingCapability.methods.cancelStorageMigrationMove.output)
|
|
7424
7496
|
.mutation(async ({ input, ctx }) => {
|
|
7425
7497
|
const { nodeId, ...methodInput } = input;
|
|
7426
7498
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7427
7499
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7428
|
-
return p.
|
|
7500
|
+
return p.cancelStorageMigrationMove(methodInput);
|
|
7429
7501
|
}),
|
|
7430
7502
|
});
|
|
7431
7503
|
}
|
|
@@ -8105,18 +8177,58 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
8105
8177
|
}),
|
|
8106
8178
|
});
|
|
8107
8179
|
}
|
|
8180
|
+
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
8181
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8182
|
+
plan: trpc_middleware_js_1.adminProcedure
|
|
8183
|
+
.input(types_103.storageMigrationCapability.methods.plan.input.loose())
|
|
8184
|
+
.output(types_103.storageMigrationCapability.methods.plan.output)
|
|
8185
|
+
.query(async ({ input, ctx }) => {
|
|
8186
|
+
const { nodeId, ...methodInput } = input;
|
|
8187
|
+
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8188
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8189
|
+
return p.plan(methodInput);
|
|
8190
|
+
}),
|
|
8191
|
+
start: trpc_middleware_js_1.adminProcedure
|
|
8192
|
+
.input(types_103.storageMigrationCapability.methods.start.input.loose())
|
|
8193
|
+
.output(types_103.storageMigrationCapability.methods.start.output)
|
|
8194
|
+
.mutation(async ({ input, ctx }) => {
|
|
8195
|
+
const { nodeId, ...methodInput } = input;
|
|
8196
|
+
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8197
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8198
|
+
return p.start(methodInput);
|
|
8199
|
+
}),
|
|
8200
|
+
status: trpc_middleware_js_1.adminProcedure
|
|
8201
|
+
.input(types_103.storageMigrationCapability.methods.status.input.loose())
|
|
8202
|
+
.output(types_103.storageMigrationCapability.methods.status.output)
|
|
8203
|
+
.query(async ({ input, ctx }) => {
|
|
8204
|
+
const { nodeId, ...methodInput } = input;
|
|
8205
|
+
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8206
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8207
|
+
return p.status(methodInput);
|
|
8208
|
+
}),
|
|
8209
|
+
cancel: trpc_middleware_js_1.adminProcedure
|
|
8210
|
+
.input(types_103.storageMigrationCapability.methods.cancel.input.loose())
|
|
8211
|
+
.output(types_103.storageMigrationCapability.methods.cancel.output)
|
|
8212
|
+
.mutation(async ({ input, ctx }) => {
|
|
8213
|
+
const { nodeId, ...methodInput } = input;
|
|
8214
|
+
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8215
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8216
|
+
return p.cancel(methodInput);
|
|
8217
|
+
}),
|
|
8218
|
+
});
|
|
8219
|
+
}
|
|
8108
8220
|
function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
8109
8221
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8110
8222
|
getProviderInfo: trpc_middleware_js_1.protectedProcedure
|
|
8111
8223
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
8112
|
-
.output(
|
|
8224
|
+
.output(types_104.storageProviderCapability.methods.getProviderInfo.output)
|
|
8113
8225
|
.query(async ({ input, ctx }) => {
|
|
8114
8226
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
8115
8227
|
return p.getProviderInfo();
|
|
8116
8228
|
}),
|
|
8117
8229
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
8118
|
-
.input(
|
|
8119
|
-
.output(
|
|
8230
|
+
.input(types_104.storageProviderCapability.methods.testLocation.input.loose())
|
|
8231
|
+
.output(types_104.storageProviderCapability.methods.testLocation.output)
|
|
8120
8232
|
.query(async ({ input, ctx }) => {
|
|
8121
8233
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8122
8234
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8124,8 +8236,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8124
8236
|
return p.testLocation(methodInput);
|
|
8125
8237
|
}),
|
|
8126
8238
|
resolve: trpc_middleware_js_1.protectedProcedure
|
|
8127
|
-
.input(
|
|
8128
|
-
.output(
|
|
8239
|
+
.input(types_104.storageProviderCapability.methods.resolve.input.loose())
|
|
8240
|
+
.output(types_104.storageProviderCapability.methods.resolve.output)
|
|
8129
8241
|
.query(async ({ input, ctx }) => {
|
|
8130
8242
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8131
8243
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8133,8 +8245,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8133
8245
|
return p.resolve(methodInput);
|
|
8134
8246
|
}),
|
|
8135
8247
|
write: trpc_middleware_js_1.protectedProcedure
|
|
8136
|
-
.input(
|
|
8137
|
-
.output(
|
|
8248
|
+
.input(types_104.storageProviderCapability.methods.write.input.loose())
|
|
8249
|
+
.output(types_104.storageProviderCapability.methods.write.output)
|
|
8138
8250
|
.mutation(async ({ input, ctx }) => {
|
|
8139
8251
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8140
8252
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8142,8 +8254,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8142
8254
|
return p.write(methodInput);
|
|
8143
8255
|
}),
|
|
8144
8256
|
read: trpc_middleware_js_1.protectedProcedure
|
|
8145
|
-
.input(
|
|
8146
|
-
.output(
|
|
8257
|
+
.input(types_104.storageProviderCapability.methods.read.input.loose())
|
|
8258
|
+
.output(types_104.storageProviderCapability.methods.read.output)
|
|
8147
8259
|
.query(async ({ input, ctx }) => {
|
|
8148
8260
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8149
8261
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8151,8 +8263,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8151
8263
|
return p.read(methodInput);
|
|
8152
8264
|
}),
|
|
8153
8265
|
exists: trpc_middleware_js_1.protectedProcedure
|
|
8154
|
-
.input(
|
|
8155
|
-
.output(
|
|
8266
|
+
.input(types_104.storageProviderCapability.methods.exists.input.loose())
|
|
8267
|
+
.output(types_104.storageProviderCapability.methods.exists.output)
|
|
8156
8268
|
.query(async ({ input, ctx }) => {
|
|
8157
8269
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8158
8270
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8160,8 +8272,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8160
8272
|
return p.exists(methodInput);
|
|
8161
8273
|
}),
|
|
8162
8274
|
list: trpc_middleware_js_1.protectedProcedure
|
|
8163
|
-
.input(
|
|
8164
|
-
.output(
|
|
8275
|
+
.input(types_104.storageProviderCapability.methods.list.input.loose())
|
|
8276
|
+
.output(types_104.storageProviderCapability.methods.list.output)
|
|
8165
8277
|
.query(async ({ input, ctx }) => {
|
|
8166
8278
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8167
8279
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8169,8 +8281,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8169
8281
|
return p.list(methodInput);
|
|
8170
8282
|
}),
|
|
8171
8283
|
delete: trpc_middleware_js_1.protectedProcedure
|
|
8172
|
-
.input(
|
|
8173
|
-
.output(
|
|
8284
|
+
.input(types_104.storageProviderCapability.methods.delete.input.loose())
|
|
8285
|
+
.output(types_104.storageProviderCapability.methods.delete.output)
|
|
8174
8286
|
.mutation(async ({ input, ctx }) => {
|
|
8175
8287
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8176
8288
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8178,8 +8290,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8178
8290
|
return p.delete(methodInput);
|
|
8179
8291
|
}),
|
|
8180
8292
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
8181
|
-
.input(
|
|
8182
|
-
.output(
|
|
8293
|
+
.input(types_104.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
8294
|
+
.output(types_104.storageProviderCapability.methods.getAvailableSpace.output)
|
|
8183
8295
|
.query(async ({ input, ctx }) => {
|
|
8184
8296
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8185
8297
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8187,8 +8299,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8187
8299
|
return p.getAvailableSpace(methodInput);
|
|
8188
8300
|
}),
|
|
8189
8301
|
beginUpload: trpc_middleware_js_1.protectedProcedure
|
|
8190
|
-
.input(
|
|
8191
|
-
.output(
|
|
8302
|
+
.input(types_104.storageProviderCapability.methods.beginUpload.input.loose())
|
|
8303
|
+
.output(types_104.storageProviderCapability.methods.beginUpload.output)
|
|
8192
8304
|
.mutation(async ({ input, ctx }) => {
|
|
8193
8305
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8194
8306
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8196,8 +8308,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8196
8308
|
return p.beginUpload(methodInput);
|
|
8197
8309
|
}),
|
|
8198
8310
|
writeChunk: trpc_middleware_js_1.protectedProcedure
|
|
8199
|
-
.input(
|
|
8200
|
-
.output(
|
|
8311
|
+
.input(types_104.storageProviderCapability.methods.writeChunk.input.loose())
|
|
8312
|
+
.output(types_104.storageProviderCapability.methods.writeChunk.output)
|
|
8201
8313
|
.mutation(async ({ input, ctx }) => {
|
|
8202
8314
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8203
8315
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8205,8 +8317,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8205
8317
|
return p.writeChunk(methodInput);
|
|
8206
8318
|
}),
|
|
8207
8319
|
finalizeUpload: trpc_middleware_js_1.protectedProcedure
|
|
8208
|
-
.input(
|
|
8209
|
-
.output(
|
|
8320
|
+
.input(types_104.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
8321
|
+
.output(types_104.storageProviderCapability.methods.finalizeUpload.output)
|
|
8210
8322
|
.mutation(async ({ input, ctx }) => {
|
|
8211
8323
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8212
8324
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8214,8 +8326,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8214
8326
|
return p.finalizeUpload(methodInput);
|
|
8215
8327
|
}),
|
|
8216
8328
|
abortUpload: trpc_middleware_js_1.protectedProcedure
|
|
8217
|
-
.input(
|
|
8218
|
-
.output(
|
|
8329
|
+
.input(types_104.storageProviderCapability.methods.abortUpload.input.loose())
|
|
8330
|
+
.output(types_104.storageProviderCapability.methods.abortUpload.output)
|
|
8219
8331
|
.mutation(async ({ input, ctx }) => {
|
|
8220
8332
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8221
8333
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8223,8 +8335,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8223
8335
|
return p.abortUpload(methodInput);
|
|
8224
8336
|
}),
|
|
8225
8337
|
beginDownload: trpc_middleware_js_1.protectedProcedure
|
|
8226
|
-
.input(
|
|
8227
|
-
.output(
|
|
8338
|
+
.input(types_104.storageProviderCapability.methods.beginDownload.input.loose())
|
|
8339
|
+
.output(types_104.storageProviderCapability.methods.beginDownload.output)
|
|
8228
8340
|
.mutation(async ({ input, ctx }) => {
|
|
8229
8341
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8230
8342
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8232,8 +8344,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8232
8344
|
return p.beginDownload(methodInput);
|
|
8233
8345
|
}),
|
|
8234
8346
|
readChunk: trpc_middleware_js_1.protectedProcedure
|
|
8235
|
-
.input(
|
|
8236
|
-
.output(
|
|
8347
|
+
.input(types_104.storageProviderCapability.methods.readChunk.input.loose())
|
|
8348
|
+
.output(types_104.storageProviderCapability.methods.readChunk.output)
|
|
8237
8349
|
.query(async ({ input, ctx }) => {
|
|
8238
8350
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8239
8351
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8241,8 +8353,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8241
8353
|
return p.readChunk(methodInput);
|
|
8242
8354
|
}),
|
|
8243
8355
|
endDownload: trpc_middleware_js_1.protectedProcedure
|
|
8244
|
-
.input(
|
|
8245
|
-
.output(
|
|
8356
|
+
.input(types_104.storageProviderCapability.methods.endDownload.input.loose())
|
|
8357
|
+
.output(types_104.storageProviderCapability.methods.endDownload.output)
|
|
8246
8358
|
.mutation(async ({ input, ctx }) => {
|
|
8247
8359
|
const { nodeId, addonId, ...methodInput } = input;
|
|
8248
8360
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -8281,8 +8393,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8281
8393
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
8282
8394
|
}),
|
|
8283
8395
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
8284
|
-
.input(
|
|
8285
|
-
.output(
|
|
8396
|
+
.input(types_105.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
8397
|
+
.output(types_105.streamBrokerCapability.methods.publishCameraStream.output)
|
|
8286
8398
|
.mutation(async ({ input, ctx }) => {
|
|
8287
8399
|
const { nodeId, ...methodInput } = input;
|
|
8288
8400
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8290,8 +8402,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8290
8402
|
return p.publishCameraStream(methodInput);
|
|
8291
8403
|
}),
|
|
8292
8404
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
8293
|
-
.input(
|
|
8294
|
-
.output(
|
|
8405
|
+
.input(types_105.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
8406
|
+
.output(types_105.streamBrokerCapability.methods.retractCameraStream.output)
|
|
8295
8407
|
.mutation(async ({ input, ctx }) => {
|
|
8296
8408
|
const { nodeId, ...methodInput } = input;
|
|
8297
8409
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8299,8 +8411,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8299
8411
|
return p.retractCameraStream(methodInput);
|
|
8300
8412
|
}),
|
|
8301
8413
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
8302
|
-
.input(
|
|
8303
|
-
.output(
|
|
8414
|
+
.input(types_105.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
8415
|
+
.output(types_105.streamBrokerCapability.methods.assignProfile.output)
|
|
8304
8416
|
.mutation(async ({ input, ctx }) => {
|
|
8305
8417
|
const { nodeId, ...methodInput } = input;
|
|
8306
8418
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8308,8 +8420,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8308
8420
|
return p.assignProfile(methodInput);
|
|
8309
8421
|
}),
|
|
8310
8422
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
8311
|
-
.input(
|
|
8312
|
-
.output(
|
|
8423
|
+
.input(types_105.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
8424
|
+
.output(types_105.streamBrokerCapability.methods.unassignProfile.output)
|
|
8313
8425
|
.mutation(async ({ input, ctx }) => {
|
|
8314
8426
|
const { nodeId, ...methodInput } = input;
|
|
8315
8427
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8317,8 +8429,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8317
8429
|
return p.unassignProfile(methodInput);
|
|
8318
8430
|
}),
|
|
8319
8431
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
8320
|
-
.input(
|
|
8321
|
-
.output(
|
|
8432
|
+
.input(types_105.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
8433
|
+
.output(types_105.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
8322
8434
|
.mutation(async ({ input, ctx }) => {
|
|
8323
8435
|
const { nodeId, ...methodInput } = input;
|
|
8324
8436
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8326,8 +8438,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8326
8438
|
return p.renderPreBufferClip(methodInput);
|
|
8327
8439
|
}),
|
|
8328
8440
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
8329
|
-
.input(
|
|
8330
|
-
.output(
|
|
8441
|
+
.input(types_105.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
8442
|
+
.output(types_105.streamBrokerCapability.methods.produceEventMedia.output)
|
|
8331
8443
|
.mutation(async ({ input, ctx }) => {
|
|
8332
8444
|
const { nodeId, ...methodInput } = input;
|
|
8333
8445
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8335,8 +8447,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8335
8447
|
return p.produceEventMedia(methodInput);
|
|
8336
8448
|
}),
|
|
8337
8449
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
8338
|
-
.input(
|
|
8339
|
-
.output(
|
|
8450
|
+
.input(types_105.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
8451
|
+
.output(types_105.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
8340
8452
|
.mutation(async ({ input, ctx }) => {
|
|
8341
8453
|
const { nodeId, ...methodInput } = input;
|
|
8342
8454
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8345,21 +8457,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8345
8457
|
}),
|
|
8346
8458
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
8347
8459
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8348
|
-
.output(
|
|
8460
|
+
.output(types_105.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
8349
8461
|
.query(async ({ input, ctx }) => {
|
|
8350
8462
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8351
8463
|
return p.listAllCameraStreams();
|
|
8352
8464
|
}),
|
|
8353
8465
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
8354
8466
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8355
|
-
.output(
|
|
8467
|
+
.output(types_105.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
8356
8468
|
.query(async ({ input, ctx }) => {
|
|
8357
8469
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8358
8470
|
return p.listAllProfileSlots();
|
|
8359
8471
|
}),
|
|
8360
8472
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
8361
|
-
.input(
|
|
8362
|
-
.output(
|
|
8473
|
+
.input(types_105.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
8474
|
+
.output(types_105.streamBrokerCapability.methods.getBrokerStats.output)
|
|
8363
8475
|
.query(async ({ input, ctx }) => {
|
|
8364
8476
|
const { nodeId, ...methodInput } = input;
|
|
8365
8477
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8367,8 +8479,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8367
8479
|
return p.getBrokerStats(methodInput);
|
|
8368
8480
|
}),
|
|
8369
8481
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
8370
|
-
.input(
|
|
8371
|
-
.output(
|
|
8482
|
+
.input(types_105.streamBrokerCapability.methods.probeStream.input.loose())
|
|
8483
|
+
.output(types_105.streamBrokerCapability.methods.probeStream.output)
|
|
8372
8484
|
.mutation(async ({ input, ctx }) => {
|
|
8373
8485
|
const { nodeId, ...methodInput } = input;
|
|
8374
8486
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8376,8 +8488,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8376
8488
|
return p.probeStream(methodInput);
|
|
8377
8489
|
}),
|
|
8378
8490
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
8379
|
-
.input(
|
|
8380
|
-
.output(
|
|
8491
|
+
.input(types_105.streamBrokerCapability.methods.listClients.input.loose())
|
|
8492
|
+
.output(types_105.streamBrokerCapability.methods.listClients.output)
|
|
8381
8493
|
.query(async ({ input, ctx }) => {
|
|
8382
8494
|
const { nodeId, ...methodInput } = input;
|
|
8383
8495
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8385,8 +8497,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8385
8497
|
return p.listClients(methodInput);
|
|
8386
8498
|
}),
|
|
8387
8499
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
8388
|
-
.input(
|
|
8389
|
-
.output(
|
|
8500
|
+
.input(types_105.streamBrokerCapability.methods.killClient.input.loose())
|
|
8501
|
+
.output(types_105.streamBrokerCapability.methods.killClient.output)
|
|
8390
8502
|
.mutation(async ({ input, ctx }) => {
|
|
8391
8503
|
const { nodeId, ...methodInput } = input;
|
|
8392
8504
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8394,8 +8506,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8394
8506
|
return p.killClient(methodInput);
|
|
8395
8507
|
}),
|
|
8396
8508
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
8397
|
-
.input(
|
|
8398
|
-
.output(
|
|
8509
|
+
.input(types_105.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
8510
|
+
.output(types_105.streamBrokerCapability.methods.restartProfile.output)
|
|
8399
8511
|
.mutation(async ({ input, ctx }) => {
|
|
8400
8512
|
const { nodeId, ...methodInput } = input;
|
|
8401
8513
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8403,8 +8515,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8403
8515
|
return p.restartProfile(methodInput);
|
|
8404
8516
|
}),
|
|
8405
8517
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
8406
|
-
.input(
|
|
8407
|
-
.output(
|
|
8518
|
+
.input(types_105.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
8519
|
+
.output(types_105.streamBrokerCapability.methods.getStreamUrl.output)
|
|
8408
8520
|
.query(async ({ input, ctx }) => {
|
|
8409
8521
|
const { nodeId, ...methodInput } = input;
|
|
8410
8522
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8412,8 +8524,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8412
8524
|
return p.getStreamUrl(methodInput);
|
|
8413
8525
|
}),
|
|
8414
8526
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
8415
|
-
.input(
|
|
8416
|
-
.output(
|
|
8527
|
+
.input(types_105.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
8528
|
+
.output(types_105.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
8417
8529
|
.mutation(async ({ input, ctx }) => {
|
|
8418
8530
|
const { nodeId, ...methodInput } = input;
|
|
8419
8531
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8421,8 +8533,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8421
8533
|
return p.getStreamWithCodec(methodInput);
|
|
8422
8534
|
}),
|
|
8423
8535
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
8424
|
-
.input(
|
|
8425
|
-
.output(
|
|
8536
|
+
.input(types_105.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
8537
|
+
.output(types_105.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
8426
8538
|
.mutation(async ({ input, ctx }) => {
|
|
8427
8539
|
const { nodeId, ...methodInput } = input;
|
|
8428
8540
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8430,8 +8542,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8430
8542
|
return p.releaseStreamWithCodec(methodInput);
|
|
8431
8543
|
}),
|
|
8432
8544
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
8433
|
-
.input(
|
|
8434
|
-
.output(
|
|
8545
|
+
.input(types_105.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
8546
|
+
.output(types_105.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
8435
8547
|
.mutation(async ({ input, ctx }) => {
|
|
8436
8548
|
const { nodeId, ...methodInput } = input;
|
|
8437
8549
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8439,8 +8551,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8439
8551
|
return p.acquireEgressTranscode(methodInput);
|
|
8440
8552
|
}),
|
|
8441
8553
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
8442
|
-
.input(
|
|
8443
|
-
.output(
|
|
8554
|
+
.input(types_105.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
8555
|
+
.output(types_105.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
8444
8556
|
.mutation(async ({ input, ctx }) => {
|
|
8445
8557
|
const { nodeId, ...methodInput } = input;
|
|
8446
8558
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8448,8 +8560,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8448
8560
|
return p.releaseEgressTranscode(methodInput);
|
|
8449
8561
|
}),
|
|
8450
8562
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
8451
|
-
.input(
|
|
8452
|
-
.output(
|
|
8563
|
+
.input(types_105.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
8564
|
+
.output(types_105.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
8453
8565
|
.mutation(async ({ input, ctx }) => {
|
|
8454
8566
|
const { nodeId, ...methodInput } = input;
|
|
8455
8567
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8457,8 +8569,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8457
8569
|
return p.subscribeAudioChunks(methodInput);
|
|
8458
8570
|
}),
|
|
8459
8571
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
8460
|
-
.input(
|
|
8461
|
-
.output(
|
|
8572
|
+
.input(types_105.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
8573
|
+
.output(types_105.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
8462
8574
|
.query(async ({ input, ctx }) => {
|
|
8463
8575
|
const { nodeId, ...methodInput } = input;
|
|
8464
8576
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8466,8 +8578,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8466
8578
|
return p.pullAudioChunks(methodInput);
|
|
8467
8579
|
}),
|
|
8468
8580
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
8469
|
-
.input(
|
|
8470
|
-
.output(
|
|
8581
|
+
.input(types_105.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
8582
|
+
.output(types_105.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
8471
8583
|
.mutation(async ({ input, ctx }) => {
|
|
8472
8584
|
const { nodeId, ...methodInput } = input;
|
|
8473
8585
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8475,8 +8587,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8475
8587
|
return p.unsubscribeAudioChunks(methodInput);
|
|
8476
8588
|
}),
|
|
8477
8589
|
subscribeFrames: trpc_middleware_js_1.protectedProcedure
|
|
8478
|
-
.input(
|
|
8479
|
-
.output(
|
|
8590
|
+
.input(types_105.streamBrokerCapability.methods.subscribeFrames.input.loose())
|
|
8591
|
+
.output(types_105.streamBrokerCapability.methods.subscribeFrames.output)
|
|
8480
8592
|
.mutation(async ({ input, ctx }) => {
|
|
8481
8593
|
const { nodeId, ...methodInput } = input;
|
|
8482
8594
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8484,8 +8596,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8484
8596
|
return p.subscribeFrames(methodInput);
|
|
8485
8597
|
}),
|
|
8486
8598
|
pullFrameHandles: trpc_middleware_js_1.protectedProcedure
|
|
8487
|
-
.input(
|
|
8488
|
-
.output(
|
|
8599
|
+
.input(types_105.streamBrokerCapability.methods.pullFrameHandles.input.loose())
|
|
8600
|
+
.output(types_105.streamBrokerCapability.methods.pullFrameHandles.output)
|
|
8489
8601
|
.query(async ({ input, ctx }) => {
|
|
8490
8602
|
const { nodeId, ...methodInput } = input;
|
|
8491
8603
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8493,8 +8605,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8493
8605
|
return p.pullFrameHandles(methodInput);
|
|
8494
8606
|
}),
|
|
8495
8607
|
unsubscribeFrames: trpc_middleware_js_1.protectedProcedure
|
|
8496
|
-
.input(
|
|
8497
|
-
.output(
|
|
8608
|
+
.input(types_105.streamBrokerCapability.methods.unsubscribeFrames.input.loose())
|
|
8609
|
+
.output(types_105.streamBrokerCapability.methods.unsubscribeFrames.output)
|
|
8498
8610
|
.mutation(async ({ input, ctx }) => {
|
|
8499
8611
|
const { nodeId, ...methodInput } = input;
|
|
8500
8612
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8502,8 +8614,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8502
8614
|
return p.unsubscribeFrames(methodInput);
|
|
8503
8615
|
}),
|
|
8504
8616
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
8505
|
-
.input(
|
|
8506
|
-
.output(
|
|
8617
|
+
.input(types_105.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
8618
|
+
.output(types_105.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
8507
8619
|
.mutation(async ({ input, ctx }) => {
|
|
8508
8620
|
const { nodeId, ...methodInput } = input;
|
|
8509
8621
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8511,8 +8623,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8511
8623
|
return p.setPreBufferDuration(methodInput);
|
|
8512
8624
|
}),
|
|
8513
8625
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
8514
|
-
.input(
|
|
8515
|
-
.output(
|
|
8626
|
+
.input(types_105.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
8627
|
+
.output(types_105.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
8516
8628
|
.query(async ({ input, ctx }) => {
|
|
8517
8629
|
const { nodeId, ...methodInput } = input;
|
|
8518
8630
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8521,14 +8633,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8521
8633
|
}),
|
|
8522
8634
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
8523
8635
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8524
|
-
.output(
|
|
8636
|
+
.output(types_105.streamBrokerCapability.methods.getRtspPort.output)
|
|
8525
8637
|
.query(async ({ input, ctx }) => {
|
|
8526
8638
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8527
8639
|
return p.getRtspPort();
|
|
8528
8640
|
}),
|
|
8529
8641
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
8530
|
-
.input(
|
|
8531
|
-
.output(
|
|
8642
|
+
.input(types_105.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
8643
|
+
.output(types_105.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
8532
8644
|
.query(async ({ input, ctx }) => {
|
|
8533
8645
|
const { nodeId, ...methodInput } = input;
|
|
8534
8646
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8536,8 +8648,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8536
8648
|
return p.getAllRtspEntries(methodInput);
|
|
8537
8649
|
}),
|
|
8538
8650
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
8539
|
-
.input(
|
|
8540
|
-
.output(
|
|
8651
|
+
.input(types_105.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
8652
|
+
.output(types_105.streamBrokerCapability.methods.getRtspEntry.output)
|
|
8541
8653
|
.query(async ({ input, ctx }) => {
|
|
8542
8654
|
const { nodeId, ...methodInput } = input;
|
|
8543
8655
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8545,8 +8657,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8545
8657
|
return p.getRtspEntry(methodInput);
|
|
8546
8658
|
}),
|
|
8547
8659
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
8548
|
-
.input(
|
|
8549
|
-
.output(
|
|
8660
|
+
.input(types_105.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
8661
|
+
.output(types_105.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
8550
8662
|
.mutation(async ({ input, ctx }) => {
|
|
8551
8663
|
const { nodeId, ...methodInput } = input;
|
|
8552
8664
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8554,8 +8666,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8554
8666
|
return p.regenerateRtspToken(methodInput);
|
|
8555
8667
|
}),
|
|
8556
8668
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
8557
|
-
.input(
|
|
8558
|
-
.output(
|
|
8669
|
+
.input(types_105.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
8670
|
+
.output(types_105.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
8559
8671
|
.mutation(async ({ input, ctx }) => {
|
|
8560
8672
|
const { nodeId, ...methodInput } = input;
|
|
8561
8673
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8563,8 +8675,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8563
8675
|
return p.setRtspEnabled(methodInput);
|
|
8564
8676
|
}),
|
|
8565
8677
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
8566
|
-
.input(
|
|
8567
|
-
.output(
|
|
8678
|
+
.input(types_105.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
8679
|
+
.output(types_105.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
8568
8680
|
.query(async ({ input, ctx }) => {
|
|
8569
8681
|
const { nodeId, ...methodInput } = input;
|
|
8570
8682
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8572,8 +8684,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8572
8684
|
return p.isRtspEnabled(methodInput);
|
|
8573
8685
|
}),
|
|
8574
8686
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
8575
|
-
.input(
|
|
8576
|
-
.output(
|
|
8687
|
+
.input(types_105.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
8688
|
+
.output(types_105.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
8577
8689
|
.query(async ({ input, ctx }) => {
|
|
8578
8690
|
const { nodeId, ...methodInput } = input;
|
|
8579
8691
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8581,8 +8693,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8581
8693
|
return p.getDeviceAudioMute(methodInput);
|
|
8582
8694
|
}),
|
|
8583
8695
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
8584
|
-
.input(
|
|
8585
|
-
.output(
|
|
8696
|
+
.input(types_105.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
8697
|
+
.output(types_105.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
8586
8698
|
.mutation(async ({ input, ctx }) => {
|
|
8587
8699
|
const { nodeId, ...methodInput } = input;
|
|
8588
8700
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8594,8 +8706,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
8594
8706
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
8595
8707
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8596
8708
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
8597
|
-
.input(
|
|
8598
|
-
.output(
|
|
8709
|
+
.input(types_106.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
8710
|
+
.output(types_106.streamCatalogCapability.methods.getCatalog.output)
|
|
8599
8711
|
.query(async ({ input, ctx }) => {
|
|
8600
8712
|
const { nodeId, ...methodInput } = input;
|
|
8601
8713
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8616,8 +8728,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
8616
8728
|
return p.getStatus(methodInput);
|
|
8617
8729
|
}),
|
|
8618
8730
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
8619
|
-
.input(
|
|
8620
|
-
.output(
|
|
8731
|
+
.input(types_107.streamParamsCapability.methods.getOptions.input.loose())
|
|
8732
|
+
.output(types_107.streamParamsCapability.methods.getOptions.output)
|
|
8621
8733
|
.query(async ({ input, ctx }) => {
|
|
8622
8734
|
const { nodeId, ...methodInput } = input;
|
|
8623
8735
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8625,8 +8737,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
8625
8737
|
return p.getOptions(methodInput);
|
|
8626
8738
|
}),
|
|
8627
8739
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
8628
|
-
.input(
|
|
8629
|
-
.output(
|
|
8740
|
+
.input(types_107.streamParamsCapability.methods.setProfile.input.loose())
|
|
8741
|
+
.output(types_107.streamParamsCapability.methods.setProfile.output)
|
|
8630
8742
|
.mutation(async ({ input, ctx }) => {
|
|
8631
8743
|
const { nodeId, ...methodInput } = input;
|
|
8632
8744
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8634,8 +8746,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
8634
8746
|
return p.setProfile(methodInput);
|
|
8635
8747
|
}),
|
|
8636
8748
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
8637
|
-
.input(
|
|
8638
|
-
.output(
|
|
8749
|
+
.input(types_107.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
8750
|
+
.output(types_107.streamParamsCapability.methods.getConfigSchema.output)
|
|
8639
8751
|
.query(async ({ input, ctx }) => {
|
|
8640
8752
|
const { nodeId, ...methodInput } = input;
|
|
8641
8753
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8656,8 +8768,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
8656
8768
|
return p.getStatus(methodInput);
|
|
8657
8769
|
}),
|
|
8658
8770
|
setState: trpc_middleware_js_1.adminProcedure
|
|
8659
|
-
.input(
|
|
8660
|
-
.output(
|
|
8771
|
+
.input(types_108.switchCapability.methods.setState.input.loose())
|
|
8772
|
+
.output(types_108.switchCapability.methods.setState.output)
|
|
8661
8773
|
.mutation(async ({ input, ctx }) => {
|
|
8662
8774
|
const { nodeId, ...methodInput } = input;
|
|
8663
8775
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8670,49 +8782,49 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
8670
8782
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8671
8783
|
info: trpc_middleware_js_1.protectedProcedure
|
|
8672
8784
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8673
|
-
.output(
|
|
8785
|
+
.output(types_109.systemCapability.methods.info.output)
|
|
8674
8786
|
.query(async ({ input, ctx }) => {
|
|
8675
8787
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8676
8788
|
return p.info();
|
|
8677
8789
|
}),
|
|
8678
8790
|
health: trpc_middleware_js_1.protectedProcedure
|
|
8679
8791
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8680
|
-
.output(
|
|
8792
|
+
.output(types_109.systemCapability.methods.health.output)
|
|
8681
8793
|
.query(async ({ input, ctx }) => {
|
|
8682
8794
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8683
8795
|
return p.health();
|
|
8684
8796
|
}),
|
|
8685
8797
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
8686
8798
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8687
|
-
.output(
|
|
8799
|
+
.output(types_109.systemCapability.methods.featureFlags.output)
|
|
8688
8800
|
.query(async ({ input, ctx }) => {
|
|
8689
8801
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8690
8802
|
return p.featureFlags();
|
|
8691
8803
|
}),
|
|
8692
8804
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
8693
8805
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8694
|
-
.output(
|
|
8806
|
+
.output(types_109.systemCapability.methods.networkAddresses.output)
|
|
8695
8807
|
.query(async ({ input, ctx }) => {
|
|
8696
8808
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8697
8809
|
return p.networkAddresses();
|
|
8698
8810
|
}),
|
|
8699
8811
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
8700
8812
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8701
|
-
.output(
|
|
8813
|
+
.output(types_109.systemCapability.methods.getRetentionConfig.output)
|
|
8702
8814
|
.query(async ({ input, ctx }) => {
|
|
8703
8815
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8704
8816
|
return p.getRetentionConfig();
|
|
8705
8817
|
}),
|
|
8706
8818
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
8707
|
-
.input(
|
|
8708
|
-
.output(
|
|
8819
|
+
.input(types_109.systemCapability.methods.setRetentionConfig.input)
|
|
8820
|
+
.output(types_109.systemCapability.methods.setRetentionConfig.output)
|
|
8709
8821
|
.mutation(async ({ input, ctx }) => {
|
|
8710
8822
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
8711
8823
|
return p.setRetentionConfig(input);
|
|
8712
8824
|
}),
|
|
8713
8825
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
8714
8826
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8715
|
-
.output(
|
|
8827
|
+
.output(types_109.systemCapability.methods.forceRetentionCleanup.output)
|
|
8716
8828
|
.mutation(async ({ input, ctx }) => {
|
|
8717
8829
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8718
8830
|
return p.forceRetentionCleanup();
|
|
@@ -8749,21 +8861,71 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
8749
8861
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8750
8862
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
8751
8863
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8752
|
-
.output(
|
|
8864
|
+
.output(types_110.terminalSessionCapability.methods.listProfiles.output)
|
|
8753
8865
|
.query(async ({ input, ctx }) => {
|
|
8754
8866
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8755
8867
|
return p.listProfiles();
|
|
8756
8868
|
}),
|
|
8869
|
+
listInstances: trpc_middleware_js_1.adminProcedure
|
|
8870
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8871
|
+
.output(types_110.terminalSessionCapability.methods.listInstances.output)
|
|
8872
|
+
.query(async ({ input, ctx }) => {
|
|
8873
|
+
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8874
|
+
return p.listInstances();
|
|
8875
|
+
}),
|
|
8876
|
+
createInstance: trpc_middleware_js_1.adminProcedure
|
|
8877
|
+
.input(types_110.terminalSessionCapability.methods.createInstance.input.loose())
|
|
8878
|
+
.output(types_110.terminalSessionCapability.methods.createInstance.output)
|
|
8879
|
+
.mutation(async ({ input, ctx }) => {
|
|
8880
|
+
const { nodeId, ...methodInput } = input;
|
|
8881
|
+
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8882
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8883
|
+
return p.createInstance(methodInput);
|
|
8884
|
+
}),
|
|
8885
|
+
deleteInstance: trpc_middleware_js_1.adminProcedure
|
|
8886
|
+
.input(types_110.terminalSessionCapability.methods.deleteInstance.input.loose())
|
|
8887
|
+
.output(types_110.terminalSessionCapability.methods.deleteInstance.output)
|
|
8888
|
+
.mutation(async ({ input, ctx }) => {
|
|
8889
|
+
const { nodeId, ...methodInput } = input;
|
|
8890
|
+
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8891
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8892
|
+
return p.deleteInstance(methodInput);
|
|
8893
|
+
}),
|
|
8894
|
+
setInstanceEnabled: trpc_middleware_js_1.adminProcedure
|
|
8895
|
+
.input(types_110.terminalSessionCapability.methods.setInstanceEnabled.input.loose())
|
|
8896
|
+
.output(types_110.terminalSessionCapability.methods.setInstanceEnabled.output)
|
|
8897
|
+
.mutation(async ({ input, ctx }) => {
|
|
8898
|
+
const { nodeId, ...methodInput } = input;
|
|
8899
|
+
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8900
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8901
|
+
return p.setInstanceEnabled(methodInput);
|
|
8902
|
+
}),
|
|
8903
|
+
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
8904
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8905
|
+
.output(types_110.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
8906
|
+
.query(async ({ input, ctx }) => {
|
|
8907
|
+
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8908
|
+
return p.listLegacyCameras();
|
|
8909
|
+
}),
|
|
8910
|
+
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
8911
|
+
.input(types_110.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
8912
|
+
.output(types_110.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
8913
|
+
.mutation(async ({ input, ctx }) => {
|
|
8914
|
+
const { nodeId, ...methodInput } = input;
|
|
8915
|
+
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8916
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8917
|
+
return p.adoptLegacyMonitor(methodInput);
|
|
8918
|
+
}),
|
|
8757
8919
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
8758
8920
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8759
|
-
.output(
|
|
8921
|
+
.output(types_110.terminalSessionCapability.methods.listSessions.output)
|
|
8760
8922
|
.query(async ({ input, ctx }) => {
|
|
8761
8923
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8762
8924
|
return p.listSessions();
|
|
8763
8925
|
}),
|
|
8764
8926
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
8765
|
-
.input(
|
|
8766
|
-
.output(
|
|
8927
|
+
.input(types_110.terminalSessionCapability.methods.openSession.input.loose())
|
|
8928
|
+
.output(types_110.terminalSessionCapability.methods.openSession.output)
|
|
8767
8929
|
.mutation(async ({ input, ctx }) => {
|
|
8768
8930
|
const { nodeId, ...methodInput } = input;
|
|
8769
8931
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8771,8 +8933,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
8771
8933
|
return p.openSession(methodInput);
|
|
8772
8934
|
}),
|
|
8773
8935
|
resize: trpc_middleware_js_1.adminProcedure
|
|
8774
|
-
.input(
|
|
8775
|
-
.output(
|
|
8936
|
+
.input(types_110.terminalSessionCapability.methods.resize.input.loose())
|
|
8937
|
+
.output(types_110.terminalSessionCapability.methods.resize.output)
|
|
8776
8938
|
.mutation(async ({ input, ctx }) => {
|
|
8777
8939
|
const { nodeId, ...methodInput } = input;
|
|
8778
8940
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8780,8 +8942,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
8780
8942
|
return p.resize(methodInput);
|
|
8781
8943
|
}),
|
|
8782
8944
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
8783
|
-
.input(
|
|
8784
|
-
.output(
|
|
8945
|
+
.input(types_110.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
8946
|
+
.output(types_110.terminalSessionCapability.methods.pullOutput.output)
|
|
8785
8947
|
.mutation(async ({ input, ctx }) => {
|
|
8786
8948
|
const { nodeId, ...methodInput } = input;
|
|
8787
8949
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8789,8 +8951,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
8789
8951
|
return p.pullOutput(methodInput);
|
|
8790
8952
|
}),
|
|
8791
8953
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
8792
|
-
.input(
|
|
8793
|
-
.output(
|
|
8954
|
+
.input(types_110.terminalSessionCapability.methods.writeInput.input.loose())
|
|
8955
|
+
.output(types_110.terminalSessionCapability.methods.writeInput.output)
|
|
8794
8956
|
.mutation(async ({ input, ctx }) => {
|
|
8795
8957
|
const { nodeId, ...methodInput } = input;
|
|
8796
8958
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8798,8 +8960,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
8798
8960
|
return p.writeInput(methodInput);
|
|
8799
8961
|
}),
|
|
8800
8962
|
close: trpc_middleware_js_1.adminProcedure
|
|
8801
|
-
.input(
|
|
8802
|
-
.output(
|
|
8963
|
+
.input(types_110.terminalSessionCapability.methods.close.input.loose())
|
|
8964
|
+
.output(types_110.terminalSessionCapability.methods.close.output)
|
|
8803
8965
|
.mutation(async ({ input, ctx }) => {
|
|
8804
8966
|
const { nodeId, ...methodInput } = input;
|
|
8805
8967
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8811,7 +8973,7 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
8811
8973
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
8812
8974
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8813
8975
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
8814
|
-
.input(
|
|
8976
|
+
.input(types_111.toastCapability.methods.onToast.input)
|
|
8815
8977
|
.subscription(({ input, ctx }) => {
|
|
8816
8978
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
8817
8979
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -8824,7 +8986,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
8824
8986
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8825
8987
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
8826
8988
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
8827
|
-
.output(
|
|
8989
|
+
.output(types_112.turnProviderCapability.methods.getTurnServers.output)
|
|
8828
8990
|
.query(async ({ input, ctx }) => {
|
|
8829
8991
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
8830
8992
|
return p.getTurnServers();
|
|
@@ -8844,7 +9006,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
8844
9006
|
}),
|
|
8845
9007
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
8846
9008
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8847
|
-
.output(
|
|
9009
|
+
.output(types_113.updateCapability.methods.installUpdate.output)
|
|
8848
9010
|
.mutation(async ({ input, ctx }) => {
|
|
8849
9011
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8850
9012
|
return p.installUpdate();
|
|
@@ -8855,14 +9017,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8855
9017
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8856
9018
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
8857
9019
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8858
|
-
.output(
|
|
9020
|
+
.output(types_114.userManagementCapability.methods.listUsers.output)
|
|
8859
9021
|
.query(async ({ input, ctx }) => {
|
|
8860
9022
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8861
9023
|
return p.listUsers();
|
|
8862
9024
|
}),
|
|
8863
9025
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
8864
|
-
.input(
|
|
8865
|
-
.output(
|
|
9026
|
+
.input(types_114.userManagementCapability.methods.createUser.input.loose())
|
|
9027
|
+
.output(types_114.userManagementCapability.methods.createUser.output)
|
|
8866
9028
|
.mutation(async ({ input, ctx }) => {
|
|
8867
9029
|
const { nodeId, ...methodInput } = input;
|
|
8868
9030
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8870,8 +9032,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8870
9032
|
return p.createUser(methodInput);
|
|
8871
9033
|
}),
|
|
8872
9034
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
8873
|
-
.input(
|
|
8874
|
-
.output(
|
|
9035
|
+
.input(types_114.userManagementCapability.methods.updateUser.input.loose())
|
|
9036
|
+
.output(types_114.userManagementCapability.methods.updateUser.output)
|
|
8875
9037
|
.mutation(async ({ input, ctx }) => {
|
|
8876
9038
|
const { nodeId, ...methodInput } = input;
|
|
8877
9039
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8879,8 +9041,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8879
9041
|
return p.updateUser(methodInput);
|
|
8880
9042
|
}),
|
|
8881
9043
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
8882
|
-
.input(
|
|
8883
|
-
.output(
|
|
9044
|
+
.input(types_114.userManagementCapability.methods.deleteUser.input.loose())
|
|
9045
|
+
.output(types_114.userManagementCapability.methods.deleteUser.output)
|
|
8884
9046
|
.mutation(async ({ input, ctx }) => {
|
|
8885
9047
|
const { nodeId, ...methodInput } = input;
|
|
8886
9048
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8888,8 +9050,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8888
9050
|
return p.deleteUser(methodInput);
|
|
8889
9051
|
}),
|
|
8890
9052
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
8891
|
-
.input(
|
|
8892
|
-
.output(
|
|
9053
|
+
.input(types_114.userManagementCapability.methods.resetPassword.input.loose())
|
|
9054
|
+
.output(types_114.userManagementCapability.methods.resetPassword.output)
|
|
8893
9055
|
.mutation(async ({ input, ctx }) => {
|
|
8894
9056
|
const { nodeId, ...methodInput } = input;
|
|
8895
9057
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8897,8 +9059,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8897
9059
|
return p.resetPassword(methodInput);
|
|
8898
9060
|
}),
|
|
8899
9061
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
8900
|
-
.input(
|
|
8901
|
-
.output(
|
|
9062
|
+
.input(types_114.userManagementCapability.methods.setUserScopes.input.loose())
|
|
9063
|
+
.output(types_114.userManagementCapability.methods.setUserScopes.output)
|
|
8902
9064
|
.mutation(async ({ input, ctx }) => {
|
|
8903
9065
|
const { nodeId, ...methodInput } = input;
|
|
8904
9066
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8906,8 +9068,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8906
9068
|
return p.setUserScopes(methodInput);
|
|
8907
9069
|
}),
|
|
8908
9070
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
8909
|
-
.input(
|
|
8910
|
-
.output(
|
|
9071
|
+
.input(types_114.userManagementCapability.methods.validateCredentials.input.loose())
|
|
9072
|
+
.output(types_114.userManagementCapability.methods.validateCredentials.output)
|
|
8911
9073
|
.mutation(async ({ input, ctx }) => {
|
|
8912
9074
|
const { nodeId, ...methodInput } = input;
|
|
8913
9075
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8916,14 +9078,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8916
9078
|
}),
|
|
8917
9079
|
listApiKeys: trpc_middleware_js_1.adminProcedure
|
|
8918
9080
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8919
|
-
.output(
|
|
9081
|
+
.output(types_114.userManagementCapability.methods.listApiKeys.output)
|
|
8920
9082
|
.query(async ({ input, ctx }) => {
|
|
8921
9083
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8922
9084
|
return p.listApiKeys();
|
|
8923
9085
|
}),
|
|
8924
9086
|
createApiKey: trpc_middleware_js_1.adminProcedure
|
|
8925
|
-
.input(
|
|
8926
|
-
.output(
|
|
9087
|
+
.input(types_114.userManagementCapability.methods.createApiKey.input.loose())
|
|
9088
|
+
.output(types_114.userManagementCapability.methods.createApiKey.output)
|
|
8927
9089
|
.mutation(async ({ input, ctx }) => {
|
|
8928
9090
|
const { nodeId, ...methodInput } = input;
|
|
8929
9091
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8931,8 +9093,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8931
9093
|
return p.createApiKey(methodInput);
|
|
8932
9094
|
}),
|
|
8933
9095
|
revokeApiKey: trpc_middleware_js_1.adminProcedure
|
|
8934
|
-
.input(
|
|
8935
|
-
.output(
|
|
9096
|
+
.input(types_114.userManagementCapability.methods.revokeApiKey.input.loose())
|
|
9097
|
+
.output(types_114.userManagementCapability.methods.revokeApiKey.output)
|
|
8936
9098
|
.mutation(async ({ input, ctx }) => {
|
|
8937
9099
|
const { nodeId, ...methodInput } = input;
|
|
8938
9100
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8940,8 +9102,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8940
9102
|
return p.revokeApiKey(methodInput);
|
|
8941
9103
|
}),
|
|
8942
9104
|
validateApiKey: trpc_middleware_js_1.protectedProcedure
|
|
8943
|
-
.input(
|
|
8944
|
-
.output(
|
|
9105
|
+
.input(types_114.userManagementCapability.methods.validateApiKey.input.loose())
|
|
9106
|
+
.output(types_114.userManagementCapability.methods.validateApiKey.output)
|
|
8945
9107
|
.mutation(async ({ input, ctx }) => {
|
|
8946
9108
|
const { nodeId, ...methodInput } = input;
|
|
8947
9109
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8949,8 +9111,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8949
9111
|
return p.validateApiKey(methodInput);
|
|
8950
9112
|
}),
|
|
8951
9113
|
createScopedToken: trpc_middleware_js_1.adminProcedure
|
|
8952
|
-
.input(
|
|
8953
|
-
.output(
|
|
9114
|
+
.input(types_114.userManagementCapability.methods.createScopedToken.input.loose())
|
|
9115
|
+
.output(types_114.userManagementCapability.methods.createScopedToken.output)
|
|
8954
9116
|
.mutation(async ({ input, ctx }) => {
|
|
8955
9117
|
const { nodeId, ...methodInput } = input;
|
|
8956
9118
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8958,8 +9120,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8958
9120
|
return p.createScopedToken(methodInput);
|
|
8959
9121
|
}),
|
|
8960
9122
|
revokeScopedToken: trpc_middleware_js_1.adminProcedure
|
|
8961
|
-
.input(
|
|
8962
|
-
.output(
|
|
9123
|
+
.input(types_114.userManagementCapability.methods.revokeScopedToken.input.loose())
|
|
9124
|
+
.output(types_114.userManagementCapability.methods.revokeScopedToken.output)
|
|
8963
9125
|
.mutation(async ({ input, ctx }) => {
|
|
8964
9126
|
const { nodeId, ...methodInput } = input;
|
|
8965
9127
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8967,8 +9129,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8967
9129
|
return p.revokeScopedToken(methodInput);
|
|
8968
9130
|
}),
|
|
8969
9131
|
validateScopedToken: trpc_middleware_js_1.protectedProcedure
|
|
8970
|
-
.input(
|
|
8971
|
-
.output(
|
|
9132
|
+
.input(types_114.userManagementCapability.methods.validateScopedToken.input.loose())
|
|
9133
|
+
.output(types_114.userManagementCapability.methods.validateScopedToken.output)
|
|
8972
9134
|
.query(async ({ input, ctx }) => {
|
|
8973
9135
|
const { nodeId, ...methodInput } = input;
|
|
8974
9136
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8976,8 +9138,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8976
9138
|
return p.validateScopedToken(methodInput);
|
|
8977
9139
|
}),
|
|
8978
9140
|
listScopedTokens: trpc_middleware_js_1.adminProcedure
|
|
8979
|
-
.input(
|
|
8980
|
-
.output(
|
|
9141
|
+
.input(types_114.userManagementCapability.methods.listScopedTokens.input.loose())
|
|
9142
|
+
.output(types_114.userManagementCapability.methods.listScopedTokens.output)
|
|
8981
9143
|
.query(async ({ input, ctx }) => {
|
|
8982
9144
|
const { nodeId, ...methodInput } = input;
|
|
8983
9145
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8985,8 +9147,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8985
9147
|
return p.listScopedTokens(methodInput);
|
|
8986
9148
|
}),
|
|
8987
9149
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
8988
|
-
.input(
|
|
8989
|
-
.output(
|
|
9150
|
+
.input(types_114.userManagementCapability.methods.setupTotp.input.loose())
|
|
9151
|
+
.output(types_114.userManagementCapability.methods.setupTotp.output)
|
|
8990
9152
|
.mutation(async ({ input, ctx }) => {
|
|
8991
9153
|
const { nodeId, ...methodInput } = input;
|
|
8992
9154
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -8994,8 +9156,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
8994
9156
|
return p.setupTotp(methodInput);
|
|
8995
9157
|
}),
|
|
8996
9158
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
8997
|
-
.input(
|
|
8998
|
-
.output(
|
|
9159
|
+
.input(types_114.userManagementCapability.methods.confirmTotp.input.loose())
|
|
9160
|
+
.output(types_114.userManagementCapability.methods.confirmTotp.output)
|
|
8999
9161
|
.mutation(async ({ input, ctx }) => {
|
|
9000
9162
|
const { nodeId, ...methodInput } = input;
|
|
9001
9163
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9003,8 +9165,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9003
9165
|
return p.confirmTotp(methodInput);
|
|
9004
9166
|
}),
|
|
9005
9167
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
9006
|
-
.input(
|
|
9007
|
-
.output(
|
|
9168
|
+
.input(types_114.userManagementCapability.methods.disableTotp.input.loose())
|
|
9169
|
+
.output(types_114.userManagementCapability.methods.disableTotp.output)
|
|
9008
9170
|
.mutation(async ({ input, ctx }) => {
|
|
9009
9171
|
const { nodeId, ...methodInput } = input;
|
|
9010
9172
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9012,8 +9174,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9012
9174
|
return p.disableTotp(methodInput);
|
|
9013
9175
|
}),
|
|
9014
9176
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
9015
|
-
.input(
|
|
9016
|
-
.output(
|
|
9177
|
+
.input(types_114.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
9178
|
+
.output(types_114.userManagementCapability.methods.getTotpStatus.output)
|
|
9017
9179
|
.query(async ({ input, ctx }) => {
|
|
9018
9180
|
const { nodeId, ...methodInput } = input;
|
|
9019
9181
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9021,8 +9183,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9021
9183
|
return p.getTotpStatus(methodInput);
|
|
9022
9184
|
}),
|
|
9023
9185
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
9024
|
-
.input(
|
|
9025
|
-
.output(
|
|
9186
|
+
.input(types_114.userManagementCapability.methods.verifyTotp.input.loose())
|
|
9187
|
+
.output(types_114.userManagementCapability.methods.verifyTotp.output)
|
|
9026
9188
|
.mutation(async ({ input, ctx }) => {
|
|
9027
9189
|
const { nodeId, ...methodInput } = input;
|
|
9028
9190
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9030,8 +9192,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9030
9192
|
return p.verifyTotp(methodInput);
|
|
9031
9193
|
}),
|
|
9032
9194
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
9033
|
-
.input(
|
|
9034
|
-
.output(
|
|
9195
|
+
.input(types_114.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
9196
|
+
.output(types_114.userManagementCapability.methods.oauthIssueCode.output)
|
|
9035
9197
|
.mutation(async ({ input, ctx }) => {
|
|
9036
9198
|
const { nodeId, ...methodInput } = input;
|
|
9037
9199
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9039,8 +9201,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9039
9201
|
return p.oauthIssueCode(methodInput);
|
|
9040
9202
|
}),
|
|
9041
9203
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
9042
|
-
.input(
|
|
9043
|
-
.output(
|
|
9204
|
+
.input(types_114.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
9205
|
+
.output(types_114.userManagementCapability.methods.oauthExchangeCode.output)
|
|
9044
9206
|
.mutation(async ({ input, ctx }) => {
|
|
9045
9207
|
const { nodeId, ...methodInput } = input;
|
|
9046
9208
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9048,8 +9210,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9048
9210
|
return p.oauthExchangeCode(methodInput);
|
|
9049
9211
|
}),
|
|
9050
9212
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
9051
|
-
.input(
|
|
9052
|
-
.output(
|
|
9213
|
+
.input(types_114.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
9214
|
+
.output(types_114.userManagementCapability.methods.oauthRefresh.output)
|
|
9053
9215
|
.mutation(async ({ input, ctx }) => {
|
|
9054
9216
|
const { nodeId, ...methodInput } = input;
|
|
9055
9217
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9057,8 +9219,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9057
9219
|
return p.oauthRefresh(methodInput);
|
|
9058
9220
|
}),
|
|
9059
9221
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
9060
|
-
.input(
|
|
9061
|
-
.output(
|
|
9222
|
+
.input(types_114.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
9223
|
+
.output(types_114.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
9062
9224
|
.query(async ({ input, ctx }) => {
|
|
9063
9225
|
const { nodeId, ...methodInput } = input;
|
|
9064
9226
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9067,14 +9229,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9067
9229
|
}),
|
|
9068
9230
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
9069
9231
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
9070
|
-
.output(
|
|
9232
|
+
.output(types_114.userManagementCapability.methods.listOauthSessions.output)
|
|
9071
9233
|
.query(async ({ input, ctx }) => {
|
|
9072
9234
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9073
9235
|
return p.listOauthSessions();
|
|
9074
9236
|
}),
|
|
9075
9237
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
9076
|
-
.input(
|
|
9077
|
-
.output(
|
|
9238
|
+
.input(types_114.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
9239
|
+
.output(types_114.userManagementCapability.methods.revokeOauthSession.output)
|
|
9078
9240
|
.mutation(async ({ input, ctx }) => {
|
|
9079
9241
|
const { nodeId, ...methodInput } = input;
|
|
9080
9242
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9086,8 +9248,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
9086
9248
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
9087
9249
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9088
9250
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
9089
|
-
.input(
|
|
9090
|
-
.output(
|
|
9251
|
+
.input(types_115.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
9252
|
+
.output(types_115.userPasskeysCapability.methods.beginRegistration.output)
|
|
9091
9253
|
.mutation(async ({ input, ctx }) => {
|
|
9092
9254
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9093
9255
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9095,8 +9257,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9095
9257
|
return p.beginRegistration(methodInput);
|
|
9096
9258
|
}),
|
|
9097
9259
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
9098
|
-
.input(
|
|
9099
|
-
.output(
|
|
9260
|
+
.input(types_115.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
9261
|
+
.output(types_115.userPasskeysCapability.methods.finishRegistration.output)
|
|
9100
9262
|
.mutation(async ({ input, ctx }) => {
|
|
9101
9263
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9102
9264
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9104,8 +9266,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9104
9266
|
return p.finishRegistration(methodInput);
|
|
9105
9267
|
}),
|
|
9106
9268
|
beginAuthentication: trpc_middleware_js_1.protectedProcedure
|
|
9107
|
-
.input(
|
|
9108
|
-
.output(
|
|
9269
|
+
.input(types_115.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
9270
|
+
.output(types_115.userPasskeysCapability.methods.beginAuthentication.output)
|
|
9109
9271
|
.mutation(async ({ input, ctx }) => {
|
|
9110
9272
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9111
9273
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9113,8 +9275,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9113
9275
|
return p.beginAuthentication(methodInput);
|
|
9114
9276
|
}),
|
|
9115
9277
|
finishAuthentication: trpc_middleware_js_1.protectedProcedure
|
|
9116
|
-
.input(
|
|
9117
|
-
.output(
|
|
9278
|
+
.input(types_115.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
9279
|
+
.output(types_115.userPasskeysCapability.methods.finishAuthentication.output)
|
|
9118
9280
|
.mutation(async ({ input, ctx }) => {
|
|
9119
9281
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9120
9282
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9122,8 +9284,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9122
9284
|
return p.finishAuthentication(methodInput);
|
|
9123
9285
|
}),
|
|
9124
9286
|
beginDiscoverableAuthentication: trpc_middleware_js_1.protectedProcedure
|
|
9125
|
-
.input(
|
|
9126
|
-
.output(
|
|
9287
|
+
.input(types_115.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
9288
|
+
.output(types_115.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
9127
9289
|
.mutation(async ({ input, ctx }) => {
|
|
9128
9290
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9129
9291
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9131,8 +9293,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9131
9293
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
9132
9294
|
}),
|
|
9133
9295
|
finishDiscoverableAuthentication: trpc_middleware_js_1.protectedProcedure
|
|
9134
|
-
.input(
|
|
9135
|
-
.output(
|
|
9296
|
+
.input(types_115.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
9297
|
+
.output(types_115.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
9136
9298
|
.mutation(async ({ input, ctx }) => {
|
|
9137
9299
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9138
9300
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9140,8 +9302,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9140
9302
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
9141
9303
|
}),
|
|
9142
9304
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
9143
|
-
.input(
|
|
9144
|
-
.output(
|
|
9305
|
+
.input(types_115.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
9306
|
+
.output(types_115.userPasskeysCapability.methods.listPasskeys.output)
|
|
9145
9307
|
.query(async ({ input, ctx }) => {
|
|
9146
9308
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9147
9309
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9149,8 +9311,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9149
9311
|
return p.listPasskeys(methodInput);
|
|
9150
9312
|
}),
|
|
9151
9313
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
9152
|
-
.input(
|
|
9153
|
-
.output(
|
|
9314
|
+
.input(types_115.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
9315
|
+
.output(types_115.userPasskeysCapability.methods.removePasskey.output)
|
|
9154
9316
|
.mutation(async ({ input, ctx }) => {
|
|
9155
9317
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9156
9318
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9158,8 +9320,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9158
9320
|
return p.removePasskey(methodInput);
|
|
9159
9321
|
}),
|
|
9160
9322
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
9161
|
-
.input(
|
|
9162
|
-
.output(
|
|
9323
|
+
.input(types_115.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
9324
|
+
.output(types_115.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
9163
9325
|
.query(async ({ input, ctx }) => {
|
|
9164
9326
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9165
9327
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9167,8 +9329,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9167
9329
|
return p.getSecondFactorPreference(methodInput);
|
|
9168
9330
|
}),
|
|
9169
9331
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
9170
|
-
.input(
|
|
9171
|
-
.output(
|
|
9332
|
+
.input(types_115.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
9333
|
+
.output(types_115.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
9172
9334
|
.mutation(async ({ input, ctx }) => {
|
|
9173
9335
|
const { nodeId, addonId, ...methodInput } = input;
|
|
9174
9336
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -9189,8 +9351,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
9189
9351
|
return p.getStatus(methodInput);
|
|
9190
9352
|
}),
|
|
9191
9353
|
start: trpc_middleware_js_1.adminProcedure
|
|
9192
|
-
.input(
|
|
9193
|
-
.output(
|
|
9354
|
+
.input(types_116.vacuumControlCapability.methods.start.input.loose())
|
|
9355
|
+
.output(types_116.vacuumControlCapability.methods.start.output)
|
|
9194
9356
|
.mutation(async ({ input, ctx }) => {
|
|
9195
9357
|
const { nodeId, ...methodInput } = input;
|
|
9196
9358
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9198,8 +9360,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
9198
9360
|
return p.start(methodInput);
|
|
9199
9361
|
}),
|
|
9200
9362
|
pause: trpc_middleware_js_1.adminProcedure
|
|
9201
|
-
.input(
|
|
9202
|
-
.output(
|
|
9363
|
+
.input(types_116.vacuumControlCapability.methods.pause.input.loose())
|
|
9364
|
+
.output(types_116.vacuumControlCapability.methods.pause.output)
|
|
9203
9365
|
.mutation(async ({ input, ctx }) => {
|
|
9204
9366
|
const { nodeId, ...methodInput } = input;
|
|
9205
9367
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9207,8 +9369,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
9207
9369
|
return p.pause(methodInput);
|
|
9208
9370
|
}),
|
|
9209
9371
|
stop: trpc_middleware_js_1.adminProcedure
|
|
9210
|
-
.input(
|
|
9211
|
-
.output(
|
|
9372
|
+
.input(types_116.vacuumControlCapability.methods.stop.input.loose())
|
|
9373
|
+
.output(types_116.vacuumControlCapability.methods.stop.output)
|
|
9212
9374
|
.mutation(async ({ input, ctx }) => {
|
|
9213
9375
|
const { nodeId, ...methodInput } = input;
|
|
9214
9376
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9216,8 +9378,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
9216
9378
|
return p.stop(methodInput);
|
|
9217
9379
|
}),
|
|
9218
9380
|
returnToBase: trpc_middleware_js_1.adminProcedure
|
|
9219
|
-
.input(
|
|
9220
|
-
.output(
|
|
9381
|
+
.input(types_116.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
9382
|
+
.output(types_116.vacuumControlCapability.methods.returnToBase.output)
|
|
9221
9383
|
.mutation(async ({ input, ctx }) => {
|
|
9222
9384
|
const { nodeId, ...methodInput } = input;
|
|
9223
9385
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9225,8 +9387,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
9225
9387
|
return p.returnToBase(methodInput);
|
|
9226
9388
|
}),
|
|
9227
9389
|
locate: trpc_middleware_js_1.adminProcedure
|
|
9228
|
-
.input(
|
|
9229
|
-
.output(
|
|
9390
|
+
.input(types_116.vacuumControlCapability.methods.locate.input.loose())
|
|
9391
|
+
.output(types_116.vacuumControlCapability.methods.locate.output)
|
|
9230
9392
|
.mutation(async ({ input, ctx }) => {
|
|
9231
9393
|
const { nodeId, ...methodInput } = input;
|
|
9232
9394
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9234,8 +9396,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
9234
9396
|
return p.locate(methodInput);
|
|
9235
9397
|
}),
|
|
9236
9398
|
setFanSpeed: trpc_middleware_js_1.adminProcedure
|
|
9237
|
-
.input(
|
|
9238
|
-
.output(
|
|
9399
|
+
.input(types_116.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
9400
|
+
.output(types_116.vacuumControlCapability.methods.setFanSpeed.output)
|
|
9239
9401
|
.mutation(async ({ input, ctx }) => {
|
|
9240
9402
|
const { nodeId, ...methodInput } = input;
|
|
9241
9403
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9256,8 +9418,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
9256
9418
|
return p.getStatus(methodInput);
|
|
9257
9419
|
}),
|
|
9258
9420
|
open: trpc_middleware_js_1.adminProcedure
|
|
9259
|
-
.input(
|
|
9260
|
-
.output(
|
|
9421
|
+
.input(types_117.valveCapability.methods.open.input.loose())
|
|
9422
|
+
.output(types_117.valveCapability.methods.open.output)
|
|
9261
9423
|
.mutation(async ({ input, ctx }) => {
|
|
9262
9424
|
const { nodeId, ...methodInput } = input;
|
|
9263
9425
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9265,8 +9427,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
9265
9427
|
return p.open(methodInput);
|
|
9266
9428
|
}),
|
|
9267
9429
|
close: trpc_middleware_js_1.adminProcedure
|
|
9268
|
-
.input(
|
|
9269
|
-
.output(
|
|
9430
|
+
.input(types_117.valveCapability.methods.close.input.loose())
|
|
9431
|
+
.output(types_117.valveCapability.methods.close.output)
|
|
9270
9432
|
.mutation(async ({ input, ctx }) => {
|
|
9271
9433
|
const { nodeId, ...methodInput } = input;
|
|
9272
9434
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9274,8 +9436,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
9274
9436
|
return p.close(methodInput);
|
|
9275
9437
|
}),
|
|
9276
9438
|
stop: trpc_middleware_js_1.adminProcedure
|
|
9277
|
-
.input(
|
|
9278
|
-
.output(
|
|
9439
|
+
.input(types_117.valveCapability.methods.stop.input.loose())
|
|
9440
|
+
.output(types_117.valveCapability.methods.stop.output)
|
|
9279
9441
|
.mutation(async ({ input, ctx }) => {
|
|
9280
9442
|
const { nodeId, ...methodInput } = input;
|
|
9281
9443
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9283,8 +9445,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
9283
9445
|
return p.stop(methodInput);
|
|
9284
9446
|
}),
|
|
9285
9447
|
setPosition: trpc_middleware_js_1.adminProcedure
|
|
9286
|
-
.input(
|
|
9287
|
-
.output(
|
|
9448
|
+
.input(types_117.valveCapability.methods.setPosition.input.loose())
|
|
9449
|
+
.output(types_117.valveCapability.methods.setPosition.output)
|
|
9288
9450
|
.mutation(async ({ input, ctx }) => {
|
|
9289
9451
|
const { nodeId, ...methodInput } = input;
|
|
9290
9452
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9296,8 +9458,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
9296
9458
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
9297
9459
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9298
9460
|
declareIndex: trpc_middleware_js_1.protectedProcedure
|
|
9299
|
-
.input(
|
|
9300
|
-
.output(
|
|
9461
|
+
.input(types_118.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
9462
|
+
.output(types_118.vectorStoreCapability.methods.declareIndex.output)
|
|
9301
9463
|
.mutation(async ({ input, ctx }) => {
|
|
9302
9464
|
const { nodeId, ...methodInput } = input;
|
|
9303
9465
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9305,8 +9467,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9305
9467
|
return p.declareIndex(methodInput);
|
|
9306
9468
|
}),
|
|
9307
9469
|
upsert: trpc_middleware_js_1.protectedProcedure
|
|
9308
|
-
.input(
|
|
9309
|
-
.output(
|
|
9470
|
+
.input(types_118.vectorStoreCapability.methods.upsert.input.loose())
|
|
9471
|
+
.output(types_118.vectorStoreCapability.methods.upsert.output)
|
|
9310
9472
|
.mutation(async ({ input, ctx }) => {
|
|
9311
9473
|
const { nodeId, ...methodInput } = input;
|
|
9312
9474
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9314,8 +9476,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9314
9476
|
return p.upsert(methodInput);
|
|
9315
9477
|
}),
|
|
9316
9478
|
query: trpc_middleware_js_1.protectedProcedure
|
|
9317
|
-
.input(
|
|
9318
|
-
.output(
|
|
9479
|
+
.input(types_118.vectorStoreCapability.methods.query.input.loose())
|
|
9480
|
+
.output(types_118.vectorStoreCapability.methods.query.output)
|
|
9319
9481
|
.query(async ({ input, ctx }) => {
|
|
9320
9482
|
const { nodeId, ...methodInput } = input;
|
|
9321
9483
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9323,8 +9485,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9323
9485
|
return p.query(methodInput);
|
|
9324
9486
|
}),
|
|
9325
9487
|
getByIds: trpc_middleware_js_1.protectedProcedure
|
|
9326
|
-
.input(
|
|
9327
|
-
.output(
|
|
9488
|
+
.input(types_118.vectorStoreCapability.methods.getByIds.input.loose())
|
|
9489
|
+
.output(types_118.vectorStoreCapability.methods.getByIds.output)
|
|
9328
9490
|
.query(async ({ input, ctx }) => {
|
|
9329
9491
|
const { nodeId, ...methodInput } = input;
|
|
9330
9492
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9332,8 +9494,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9332
9494
|
return p.getByIds(methodInput);
|
|
9333
9495
|
}),
|
|
9334
9496
|
deleteByIds: trpc_middleware_js_1.protectedProcedure
|
|
9335
|
-
.input(
|
|
9336
|
-
.output(
|
|
9497
|
+
.input(types_118.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
9498
|
+
.output(types_118.vectorStoreCapability.methods.deleteByIds.output)
|
|
9337
9499
|
.mutation(async ({ input, ctx }) => {
|
|
9338
9500
|
const { nodeId, ...methodInput } = input;
|
|
9339
9501
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9341,8 +9503,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9341
9503
|
return p.deleteByIds(methodInput);
|
|
9342
9504
|
}),
|
|
9343
9505
|
deleteByFilter: trpc_middleware_js_1.protectedProcedure
|
|
9344
|
-
.input(
|
|
9345
|
-
.output(
|
|
9506
|
+
.input(types_118.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
9507
|
+
.output(types_118.vectorStoreCapability.methods.deleteByFilter.output)
|
|
9346
9508
|
.mutation(async ({ input, ctx }) => {
|
|
9347
9509
|
const { nodeId, ...methodInput } = input;
|
|
9348
9510
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9350,8 +9512,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9350
9512
|
return p.deleteByFilter(methodInput);
|
|
9351
9513
|
}),
|
|
9352
9514
|
stats: trpc_middleware_js_1.protectedProcedure
|
|
9353
|
-
.input(
|
|
9354
|
-
.output(
|
|
9515
|
+
.input(types_118.vectorStoreCapability.methods.stats.input.loose())
|
|
9516
|
+
.output(types_118.vectorStoreCapability.methods.stats.output)
|
|
9355
9517
|
.query(async ({ input, ctx }) => {
|
|
9356
9518
|
const { nodeId, ...methodInput } = input;
|
|
9357
9519
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9376,8 +9538,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
9376
9538
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
9377
9539
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9378
9540
|
listClips: trpc_middleware_js_1.adminProcedure
|
|
9379
|
-
.input(
|
|
9380
|
-
.output(
|
|
9541
|
+
.input(types_119.videoclipsCapability.methods.listClips.input.loose())
|
|
9542
|
+
.output(types_119.videoclipsCapability.methods.listClips.output)
|
|
9381
9543
|
.query(async ({ input, ctx }) => {
|
|
9382
9544
|
const { nodeId, ...methodInput } = input;
|
|
9383
9545
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9385,8 +9547,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
9385
9547
|
return p.listClips(methodInput);
|
|
9386
9548
|
}),
|
|
9387
9549
|
getClipPlayback: trpc_middleware_js_1.adminProcedure
|
|
9388
|
-
.input(
|
|
9389
|
-
.output(
|
|
9550
|
+
.input(types_119.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
9551
|
+
.output(types_119.videoclipsCapability.methods.getClipPlayback.output)
|
|
9390
9552
|
.query(async ({ input, ctx }) => {
|
|
9391
9553
|
const { nodeId, ...methodInput } = input;
|
|
9392
9554
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9399,14 +9561,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
9399
9561
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9400
9562
|
getStaticDir: trpc_middleware_js_1.protectedProcedure
|
|
9401
9563
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
9402
|
-
.output(
|
|
9564
|
+
.output(types_120.viewerUiCapability.methods.getStaticDir.output)
|
|
9403
9565
|
.query(async ({ input, ctx }) => {
|
|
9404
9566
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9405
9567
|
return p.getStaticDir();
|
|
9406
9568
|
}),
|
|
9407
9569
|
getVersion: trpc_middleware_js_1.protectedProcedure
|
|
9408
9570
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
9409
|
-
.output(
|
|
9571
|
+
.output(types_120.viewerUiCapability.methods.getVersion.output)
|
|
9410
9572
|
.query(async ({ input, ctx }) => {
|
|
9411
9573
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9412
9574
|
return p.getVersion();
|
|
@@ -9425,8 +9587,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
9425
9587
|
return p.getStatus(methodInput);
|
|
9426
9588
|
}),
|
|
9427
9589
|
setTargetTemp: trpc_middleware_js_1.adminProcedure
|
|
9428
|
-
.input(
|
|
9429
|
-
.output(
|
|
9590
|
+
.input(types_121.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
9591
|
+
.output(types_121.waterHeaterCapability.methods.setTargetTemp.output)
|
|
9430
9592
|
.mutation(async ({ input, ctx }) => {
|
|
9431
9593
|
const { nodeId, ...methodInput } = input;
|
|
9432
9594
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9434,8 +9596,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
9434
9596
|
return p.setTargetTemp(methodInput);
|
|
9435
9597
|
}),
|
|
9436
9598
|
setOperationMode: trpc_middleware_js_1.adminProcedure
|
|
9437
|
-
.input(
|
|
9438
|
-
.output(
|
|
9599
|
+
.input(types_121.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
9600
|
+
.output(types_121.waterHeaterCapability.methods.setOperationMode.output)
|
|
9439
9601
|
.mutation(async ({ input, ctx }) => {
|
|
9440
9602
|
const { nodeId, ...methodInput } = input;
|
|
9441
9603
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9443,8 +9605,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
9443
9605
|
return p.setOperationMode(methodInput);
|
|
9444
9606
|
}),
|
|
9445
9607
|
setAway: trpc_middleware_js_1.adminProcedure
|
|
9446
|
-
.input(
|
|
9447
|
-
.output(
|
|
9608
|
+
.input(types_121.waterHeaterCapability.methods.setAway.input.loose())
|
|
9609
|
+
.output(types_121.waterHeaterCapability.methods.setAway.output)
|
|
9448
9610
|
.mutation(async ({ input, ctx }) => {
|
|
9449
9611
|
const { nodeId, ...methodInput } = input;
|
|
9450
9612
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9469,8 +9631,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
9469
9631
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
9470
9632
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9471
9633
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
9472
|
-
.input(
|
|
9473
|
-
.output(
|
|
9634
|
+
.input(types_122.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
9635
|
+
.output(types_122.webrtcSessionCapability.methods.listStreams.output)
|
|
9474
9636
|
.query(async ({ input, ctx }) => {
|
|
9475
9637
|
const { nodeId, ...methodInput } = input;
|
|
9476
9638
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9478,8 +9640,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9478
9640
|
return p.listStreams(methodInput);
|
|
9479
9641
|
}),
|
|
9480
9642
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
9481
|
-
.input(
|
|
9482
|
-
.output(
|
|
9643
|
+
.input(types_122.webrtcSessionCapability.methods.createSession.input.loose())
|
|
9644
|
+
.output(types_122.webrtcSessionCapability.methods.createSession.output)
|
|
9483
9645
|
.mutation(async ({ input, ctx }) => {
|
|
9484
9646
|
const { nodeId, ...methodInput } = input;
|
|
9485
9647
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9487,8 +9649,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9487
9649
|
return p.createSession(methodInput);
|
|
9488
9650
|
}),
|
|
9489
9651
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
9490
|
-
.input(
|
|
9491
|
-
.output(
|
|
9652
|
+
.input(types_122.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
9653
|
+
.output(types_122.webrtcSessionCapability.methods.handleOffer.output)
|
|
9492
9654
|
.mutation(async ({ input, ctx }) => {
|
|
9493
9655
|
const { nodeId, ...methodInput } = input;
|
|
9494
9656
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9496,8 +9658,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9496
9658
|
return p.handleOffer(methodInput);
|
|
9497
9659
|
}),
|
|
9498
9660
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
9499
|
-
.input(
|
|
9500
|
-
.output(
|
|
9661
|
+
.input(types_122.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
9662
|
+
.output(types_122.webrtcSessionCapability.methods.handleAnswer.output)
|
|
9501
9663
|
.mutation(async ({ input, ctx }) => {
|
|
9502
9664
|
const { nodeId, ...methodInput } = input;
|
|
9503
9665
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9505,8 +9667,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9505
9667
|
return p.handleAnswer(methodInput);
|
|
9506
9668
|
}),
|
|
9507
9669
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
9508
|
-
.input(
|
|
9509
|
-
.output(
|
|
9670
|
+
.input(types_122.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
9671
|
+
.output(types_122.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
9510
9672
|
.mutation(async ({ input, ctx }) => {
|
|
9511
9673
|
const { nodeId, ...methodInput } = input;
|
|
9512
9674
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9514,8 +9676,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9514
9676
|
return p.addIceCandidate(methodInput);
|
|
9515
9677
|
}),
|
|
9516
9678
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
9517
|
-
.input(
|
|
9518
|
-
.output(
|
|
9679
|
+
.input(types_122.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
9680
|
+
.output(types_122.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
9519
9681
|
.query(async ({ input, ctx }) => {
|
|
9520
9682
|
const { nodeId, ...methodInput } = input;
|
|
9521
9683
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9523,8 +9685,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9523
9685
|
return p.getIceCandidates(methodInput);
|
|
9524
9686
|
}),
|
|
9525
9687
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
9526
|
-
.input(
|
|
9527
|
-
.output(
|
|
9688
|
+
.input(types_122.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
9689
|
+
.output(types_122.webrtcSessionCapability.methods.closeSession.output)
|
|
9528
9690
|
.mutation(async ({ input, ctx }) => {
|
|
9529
9691
|
const { nodeId, ...methodInput } = input;
|
|
9530
9692
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9532,8 +9694,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9532
9694
|
return p.closeSession(methodInput);
|
|
9533
9695
|
}),
|
|
9534
9696
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
9535
|
-
.input(
|
|
9536
|
-
.output(
|
|
9697
|
+
.input(types_122.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
9698
|
+
.output(types_122.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
9537
9699
|
.query(async ({ input, ctx }) => {
|
|
9538
9700
|
const { nodeId, ...methodInput } = input;
|
|
9539
9701
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9541,8 +9703,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9541
9703
|
return p.hasAdaptiveBitrate(methodInput);
|
|
9542
9704
|
}),
|
|
9543
9705
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
9544
|
-
.input(
|
|
9545
|
-
.output(
|
|
9706
|
+
.input(types_122.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
9707
|
+
.output(types_122.webrtcSessionCapability.methods.getSessionState.output)
|
|
9546
9708
|
.query(async ({ input, ctx }) => {
|
|
9547
9709
|
const { nodeId, ...methodInput } = input;
|
|
9548
9710
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9554,8 +9716,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
9554
9716
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
9555
9717
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9556
9718
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
9557
|
-
.input(
|
|
9558
|
-
.output(
|
|
9719
|
+
.input(types_123.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
9720
|
+
.output(types_123.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
9559
9721
|
.query(async ({ input, ctx }) => {
|
|
9560
9722
|
const { nodeId, ...methodInput } = input;
|
|
9561
9723
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9563,8 +9725,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
9563
9725
|
return p.getCurrentSnapshot(methodInput);
|
|
9564
9726
|
}),
|
|
9565
9727
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
9566
|
-
.input(
|
|
9567
|
-
.output(
|
|
9728
|
+
.input(types_123.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
9729
|
+
.output(types_123.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
9568
9730
|
.query(async ({ input, ctx }) => {
|
|
9569
9731
|
const { nodeId, ...methodInput } = input;
|
|
9570
9732
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9572,8 +9734,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
9572
9734
|
return p.getZoneHistory(methodInput);
|
|
9573
9735
|
}),
|
|
9574
9736
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
9575
|
-
.input(
|
|
9576
|
-
.output(
|
|
9737
|
+
.input(types_123.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
9738
|
+
.output(types_123.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
9577
9739
|
.query(async ({ input, ctx }) => {
|
|
9578
9740
|
const { nodeId, ...methodInput } = input;
|
|
9579
9741
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9581,8 +9743,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
9581
9743
|
return p.getCameraHistory(methodInput);
|
|
9582
9744
|
}),
|
|
9583
9745
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
9584
|
-
.input(
|
|
9585
|
-
.output(
|
|
9746
|
+
.input(types_123.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
9747
|
+
.output(types_123.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
9586
9748
|
.query(async ({ input, ctx }) => {
|
|
9587
9749
|
const { nodeId, ...methodInput } = input;
|
|
9588
9750
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9594,8 +9756,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
9594
9756
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
9595
9757
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9596
9758
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
9597
|
-
.input(
|
|
9598
|
-
.output(
|
|
9759
|
+
.input(types_124.zoneRulesCapability.methods.listRules.input.loose())
|
|
9760
|
+
.output(types_124.zoneRulesCapability.methods.listRules.output)
|
|
9599
9761
|
.query(async ({ input, ctx }) => {
|
|
9600
9762
|
const { nodeId, ...methodInput } = input;
|
|
9601
9763
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9603,8 +9765,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
9603
9765
|
return p.listRules(methodInput);
|
|
9604
9766
|
}),
|
|
9605
9767
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
9606
|
-
.input(
|
|
9607
|
-
.output(
|
|
9768
|
+
.input(types_124.zoneRulesCapability.methods.setRules.input.loose())
|
|
9769
|
+
.output(types_124.zoneRulesCapability.methods.setRules.output)
|
|
9608
9770
|
.mutation(async ({ input, ctx }) => {
|
|
9609
9771
|
const { nodeId, ...methodInput } = input;
|
|
9610
9772
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9616,8 +9778,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
9616
9778
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
9617
9779
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9618
9780
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
9619
|
-
.input(
|
|
9620
|
-
.output(
|
|
9781
|
+
.input(types_125.zonesCapability.methods.listZones.input.loose())
|
|
9782
|
+
.output(types_125.zonesCapability.methods.listZones.output)
|
|
9621
9783
|
.query(async ({ input, ctx }) => {
|
|
9622
9784
|
const { nodeId, ...methodInput } = input;
|
|
9623
9785
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9625,8 +9787,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
9625
9787
|
return p.listZones(methodInput);
|
|
9626
9788
|
}),
|
|
9627
9789
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
9628
|
-
.input(
|
|
9629
|
-
.output(
|
|
9790
|
+
.input(types_125.zonesCapability.methods.addZone.input.loose())
|
|
9791
|
+
.output(types_125.zonesCapability.methods.addZone.output)
|
|
9630
9792
|
.mutation(async ({ input, ctx }) => {
|
|
9631
9793
|
const { nodeId, ...methodInput } = input;
|
|
9632
9794
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9634,8 +9796,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
9634
9796
|
return p.addZone(methodInput);
|
|
9635
9797
|
}),
|
|
9636
9798
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
9637
|
-
.input(
|
|
9638
|
-
.output(
|
|
9799
|
+
.input(types_125.zonesCapability.methods.removeZone.input.loose())
|
|
9800
|
+
.output(types_125.zonesCapability.methods.removeZone.output)
|
|
9639
9801
|
.mutation(async ({ input, ctx }) => {
|
|
9640
9802
|
const { nodeId, ...methodInput } = input;
|
|
9641
9803
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -9643,8 +9805,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
9643
9805
|
return p.removeZone(methodInput);
|
|
9644
9806
|
}),
|
|
9645
9807
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
9646
|
-
.input(
|
|
9647
|
-
.output(
|
|
9808
|
+
.input(types_125.zonesCapability.methods.updateZone.input.loose())
|
|
9809
|
+
.output(types_125.zonesCapability.methods.updateZone.output)
|
|
9648
9810
|
.mutation(async ({ input, ctx }) => {
|
|
9649
9811
|
const { nodeId, ...methodInput } = input;
|
|
9650
9812
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|