@camstack/server 1.2.584 → 1.2.586
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: 175
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -148,6 +148,7 @@ exports.createCapRouter_smtpProvider = createCapRouter_smtpProvider;
|
|
|
148
148
|
exports.createCapRouter_snapshot = createCapRouter_snapshot;
|
|
149
149
|
exports.createCapRouter_ssoBridge = createCapRouter_ssoBridge;
|
|
150
150
|
exports.createCapRouter_storage = createCapRouter_storage;
|
|
151
|
+
exports.createCapRouter_storageAdmin = createCapRouter_storageAdmin;
|
|
151
152
|
exports.createCapRouter_storageEvictable = createCapRouter_storageEvictable;
|
|
152
153
|
exports.createCapRouter_storageMigration = createCapRouter_storageMigration;
|
|
153
154
|
exports.createCapRouter_storageOccupancy = createCapRouter_storageOccupancy;
|
|
@@ -332,6 +333,7 @@ const types_145 = require("@camstack/types");
|
|
|
332
333
|
const types_146 = require("@camstack/types");
|
|
333
334
|
const types_147 = require("@camstack/types");
|
|
334
335
|
const types_148 = require("@camstack/types");
|
|
336
|
+
const types_149 = require("@camstack/types");
|
|
335
337
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
336
338
|
function requireCapProvider(name, getProvider) {
|
|
337
339
|
const p = getProvider();
|
|
@@ -4829,6 +4831,15 @@ function createCapRouter_keychainAdmin(getProvider, createRemoteProxy) {
|
|
|
4829
4831
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4830
4832
|
return p.setSystemSecret(methodInput);
|
|
4831
4833
|
}),
|
|
4834
|
+
importSecret: trpc_middleware_js_1.adminProcedure
|
|
4835
|
+
.input(types_65.keychainAdminCapability.methods.importSecret.input.loose())
|
|
4836
|
+
.output(types_65.keychainAdminCapability.methods.importSecret.output)
|
|
4837
|
+
.mutation(async ({ input, ctx }) => {
|
|
4838
|
+
const { nodeId, ...methodInput } = input;
|
|
4839
|
+
const p = resolveProvider('keychain-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4840
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4841
|
+
return p.importSecret(methodInput);
|
|
4842
|
+
}),
|
|
4832
4843
|
deleteOrphans: trpc_middleware_js_1.adminProcedure
|
|
4833
4844
|
.input(types_65.keychainAdminCapability.methods.deleteOrphans.input.loose())
|
|
4834
4845
|
.output(types_65.keychainAdminCapability.methods.deleteOrphans.output)
|
|
@@ -10506,11 +10517,33 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
10506
10517
|
}),
|
|
10507
10518
|
});
|
|
10508
10519
|
}
|
|
10520
|
+
function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
10521
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10522
|
+
listTables: trpc_middleware_js_1.adminProcedure
|
|
10523
|
+
.input(types_121.storageAdminCapability.methods.listTables.input.loose())
|
|
10524
|
+
.output(types_121.storageAdminCapability.methods.listTables.output)
|
|
10525
|
+
.query(async ({ input, ctx }) => {
|
|
10526
|
+
const { nodeId, ...methodInput } = input;
|
|
10527
|
+
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10528
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10529
|
+
return p.listTables(methodInput);
|
|
10530
|
+
}),
|
|
10531
|
+
dropCollection: trpc_middleware_js_1.adminProcedure
|
|
10532
|
+
.input(types_121.storageAdminCapability.methods.dropCollection.input.loose())
|
|
10533
|
+
.output(types_121.storageAdminCapability.methods.dropCollection.output)
|
|
10534
|
+
.mutation(async ({ input, ctx }) => {
|
|
10535
|
+
const { nodeId, ...methodInput } = input;
|
|
10536
|
+
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10537
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10538
|
+
return p.dropCollection(methodInput);
|
|
10539
|
+
}),
|
|
10540
|
+
});
|
|
10541
|
+
}
|
|
10509
10542
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
10510
10543
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10511
10544
|
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
10512
|
-
.input(
|
|
10513
|
-
.output(
|
|
10545
|
+
.input(types_122.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
10546
|
+
.output(types_122.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
10514
10547
|
.query(async ({ input, ctx }) => {
|
|
10515
10548
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10516
10549
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10518,8 +10551,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
10518
10551
|
return p.getEvictableUsage(methodInput);
|
|
10519
10552
|
}),
|
|
10520
10553
|
evict: trpc_middleware_js_1.adminProcedure
|
|
10521
|
-
.input(
|
|
10522
|
-
.output(
|
|
10554
|
+
.input(types_122.storageEvictableCapability.methods.evict.input.loose())
|
|
10555
|
+
.output(types_122.storageEvictableCapability.methods.evict.output)
|
|
10523
10556
|
.mutation(async ({ input, ctx }) => {
|
|
10524
10557
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10525
10558
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10531,8 +10564,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
10531
10564
|
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
10532
10565
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10533
10566
|
plan: trpc_middleware_js_1.adminProcedure
|
|
10534
|
-
.input(
|
|
10535
|
-
.output(
|
|
10567
|
+
.input(types_123.storageMigrationCapability.methods.plan.input.loose())
|
|
10568
|
+
.output(types_123.storageMigrationCapability.methods.plan.output)
|
|
10536
10569
|
.query(async ({ input, ctx }) => {
|
|
10537
10570
|
const { nodeId, ...methodInput } = input;
|
|
10538
10571
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10540,8 +10573,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10540
10573
|
return p.plan(methodInput);
|
|
10541
10574
|
}),
|
|
10542
10575
|
start: trpc_middleware_js_1.adminProcedure
|
|
10543
|
-
.input(
|
|
10544
|
-
.output(
|
|
10576
|
+
.input(types_123.storageMigrationCapability.methods.start.input.loose())
|
|
10577
|
+
.output(types_123.storageMigrationCapability.methods.start.output)
|
|
10545
10578
|
.mutation(async ({ input, ctx }) => {
|
|
10546
10579
|
const { nodeId, ...methodInput } = input;
|
|
10547
10580
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10549,8 +10582,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10549
10582
|
return p.start(methodInput);
|
|
10550
10583
|
}),
|
|
10551
10584
|
status: trpc_middleware_js_1.adminProcedure
|
|
10552
|
-
.input(
|
|
10553
|
-
.output(
|
|
10585
|
+
.input(types_123.storageMigrationCapability.methods.status.input.loose())
|
|
10586
|
+
.output(types_123.storageMigrationCapability.methods.status.output)
|
|
10554
10587
|
.query(async ({ input, ctx }) => {
|
|
10555
10588
|
const { nodeId, ...methodInput } = input;
|
|
10556
10589
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10558,8 +10591,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10558
10591
|
return p.status(methodInput);
|
|
10559
10592
|
}),
|
|
10560
10593
|
cancel: trpc_middleware_js_1.adminProcedure
|
|
10561
|
-
.input(
|
|
10562
|
-
.output(
|
|
10594
|
+
.input(types_123.storageMigrationCapability.methods.cancel.input.loose())
|
|
10595
|
+
.output(types_123.storageMigrationCapability.methods.cancel.output)
|
|
10563
10596
|
.mutation(async ({ input, ctx }) => {
|
|
10564
10597
|
const { nodeId, ...methodInput } = input;
|
|
10565
10598
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10567,8 +10600,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10567
10600
|
return p.cancel(methodInput);
|
|
10568
10601
|
}),
|
|
10569
10602
|
movers: trpc_middleware_js_1.adminProcedure
|
|
10570
|
-
.input(
|
|
10571
|
-
.output(
|
|
10603
|
+
.input(types_123.storageMigrationCapability.methods.movers.input.loose())
|
|
10604
|
+
.output(types_123.storageMigrationCapability.methods.movers.output)
|
|
10572
10605
|
.query(async ({ input, ctx }) => {
|
|
10573
10606
|
const { nodeId, ...methodInput } = input;
|
|
10574
10607
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10576,8 +10609,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10576
10609
|
return p.movers(methodInput);
|
|
10577
10610
|
}),
|
|
10578
10611
|
residue: trpc_middleware_js_1.adminProcedure
|
|
10579
|
-
.input(
|
|
10580
|
-
.output(
|
|
10612
|
+
.input(types_123.storageMigrationCapability.methods.residue.input.loose())
|
|
10613
|
+
.output(types_123.storageMigrationCapability.methods.residue.output)
|
|
10581
10614
|
.query(async ({ input, ctx }) => {
|
|
10582
10615
|
const { nodeId, ...methodInput } = input;
|
|
10583
10616
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10585,8 +10618,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10585
10618
|
return p.residue(methodInput);
|
|
10586
10619
|
}),
|
|
10587
10620
|
drain: trpc_middleware_js_1.adminProcedure
|
|
10588
|
-
.input(
|
|
10589
|
-
.output(
|
|
10621
|
+
.input(types_123.storageMigrationCapability.methods.drain.input.loose())
|
|
10622
|
+
.output(types_123.storageMigrationCapability.methods.drain.output)
|
|
10590
10623
|
.mutation(async ({ input, ctx }) => {
|
|
10591
10624
|
const { nodeId, ...methodInput } = input;
|
|
10592
10625
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10594,8 +10627,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10594
10627
|
return p.drain(methodInput);
|
|
10595
10628
|
}),
|
|
10596
10629
|
cleanupStart: trpc_middleware_js_1.adminProcedure
|
|
10597
|
-
.input(
|
|
10598
|
-
.output(
|
|
10630
|
+
.input(types_123.storageMigrationCapability.methods.cleanupStart.input.loose())
|
|
10631
|
+
.output(types_123.storageMigrationCapability.methods.cleanupStart.output)
|
|
10599
10632
|
.mutation(async ({ input, ctx }) => {
|
|
10600
10633
|
const { nodeId, ...methodInput } = input;
|
|
10601
10634
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10603,8 +10636,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10603
10636
|
return p.cleanupStart(methodInput);
|
|
10604
10637
|
}),
|
|
10605
10638
|
cleanupStatus: trpc_middleware_js_1.adminProcedure
|
|
10606
|
-
.input(
|
|
10607
|
-
.output(
|
|
10639
|
+
.input(types_123.storageMigrationCapability.methods.cleanupStatus.input.loose())
|
|
10640
|
+
.output(types_123.storageMigrationCapability.methods.cleanupStatus.output)
|
|
10608
10641
|
.query(async ({ input, ctx }) => {
|
|
10609
10642
|
const { nodeId, ...methodInput } = input;
|
|
10610
10643
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10612,8 +10645,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10612
10645
|
return p.cleanupStatus(methodInput);
|
|
10613
10646
|
}),
|
|
10614
10647
|
cleanupCancel: trpc_middleware_js_1.adminProcedure
|
|
10615
|
-
.input(
|
|
10616
|
-
.output(
|
|
10648
|
+
.input(types_123.storageMigrationCapability.methods.cleanupCancel.input.loose())
|
|
10649
|
+
.output(types_123.storageMigrationCapability.methods.cleanupCancel.output)
|
|
10617
10650
|
.mutation(async ({ input, ctx }) => {
|
|
10618
10651
|
const { nodeId, ...methodInput } = input;
|
|
10619
10652
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10621,8 +10654,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10621
10654
|
return p.cleanupCancel(methodInput);
|
|
10622
10655
|
}),
|
|
10623
10656
|
history: trpc_middleware_js_1.adminProcedure
|
|
10624
|
-
.input(
|
|
10625
|
-
.output(
|
|
10657
|
+
.input(types_123.storageMigrationCapability.methods.history.input.loose())
|
|
10658
|
+
.output(types_123.storageMigrationCapability.methods.history.output)
|
|
10626
10659
|
.query(async ({ input, ctx }) => {
|
|
10627
10660
|
const { nodeId, ...methodInput } = input;
|
|
10628
10661
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10634,8 +10667,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
10634
10667
|
function createCapRouter_storageOccupancy(getProvider, createRemoteProxy) {
|
|
10635
10668
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10636
10669
|
getOccupancy: trpc_middleware_js_1.adminProcedure
|
|
10637
|
-
.input(
|
|
10638
|
-
.output(
|
|
10670
|
+
.input(types_124.storageOccupancyCapability.methods.getOccupancy.input.loose())
|
|
10671
|
+
.output(types_124.storageOccupancyCapability.methods.getOccupancy.output)
|
|
10639
10672
|
.query(async ({ input, ctx }) => {
|
|
10640
10673
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10641
10674
|
const p = resolveProvider('storage-occupancy', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10648,14 +10681,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10648
10681
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10649
10682
|
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
10650
10683
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
10651
|
-
.output(
|
|
10684
|
+
.output(types_125.storageProviderCapability.methods.getProviderInfo.output)
|
|
10652
10685
|
.query(async ({ input, ctx }) => {
|
|
10653
10686
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
10654
10687
|
return p.getProviderInfo();
|
|
10655
10688
|
}),
|
|
10656
10689
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
10657
|
-
.input(
|
|
10658
|
-
.output(
|
|
10690
|
+
.input(types_125.storageProviderCapability.methods.testLocation.input.loose())
|
|
10691
|
+
.output(types_125.storageProviderCapability.methods.testLocation.output)
|
|
10659
10692
|
.query(async ({ input, ctx }) => {
|
|
10660
10693
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10661
10694
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10663,8 +10696,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10663
10696
|
return p.testLocation(methodInput);
|
|
10664
10697
|
}),
|
|
10665
10698
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
10666
|
-
.input(
|
|
10667
|
-
.output(
|
|
10699
|
+
.input(types_125.storageProviderCapability.methods.resolve.input.loose())
|
|
10700
|
+
.output(types_125.storageProviderCapability.methods.resolve.output)
|
|
10668
10701
|
.query(async ({ input, ctx }) => {
|
|
10669
10702
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10670
10703
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10672,8 +10705,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10672
10705
|
return p.resolve(methodInput);
|
|
10673
10706
|
}),
|
|
10674
10707
|
write: trpc_middleware_js_1.adminProcedure
|
|
10675
|
-
.input(
|
|
10676
|
-
.output(
|
|
10708
|
+
.input(types_125.storageProviderCapability.methods.write.input.loose())
|
|
10709
|
+
.output(types_125.storageProviderCapability.methods.write.output)
|
|
10677
10710
|
.mutation(async ({ input, ctx }) => {
|
|
10678
10711
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10679
10712
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10681,8 +10714,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10681
10714
|
return p.write(methodInput);
|
|
10682
10715
|
}),
|
|
10683
10716
|
read: trpc_middleware_js_1.adminProcedure
|
|
10684
|
-
.input(
|
|
10685
|
-
.output(
|
|
10717
|
+
.input(types_125.storageProviderCapability.methods.read.input.loose())
|
|
10718
|
+
.output(types_125.storageProviderCapability.methods.read.output)
|
|
10686
10719
|
.query(async ({ input, ctx }) => {
|
|
10687
10720
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10688
10721
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10690,8 +10723,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10690
10723
|
return p.read(methodInput);
|
|
10691
10724
|
}),
|
|
10692
10725
|
exists: trpc_middleware_js_1.adminProcedure
|
|
10693
|
-
.input(
|
|
10694
|
-
.output(
|
|
10726
|
+
.input(types_125.storageProviderCapability.methods.exists.input.loose())
|
|
10727
|
+
.output(types_125.storageProviderCapability.methods.exists.output)
|
|
10695
10728
|
.query(async ({ input, ctx }) => {
|
|
10696
10729
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10697
10730
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10699,8 +10732,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10699
10732
|
return p.exists(methodInput);
|
|
10700
10733
|
}),
|
|
10701
10734
|
list: trpc_middleware_js_1.adminProcedure
|
|
10702
|
-
.input(
|
|
10703
|
-
.output(
|
|
10735
|
+
.input(types_125.storageProviderCapability.methods.list.input.loose())
|
|
10736
|
+
.output(types_125.storageProviderCapability.methods.list.output)
|
|
10704
10737
|
.query(async ({ input, ctx }) => {
|
|
10705
10738
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10706
10739
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10708,8 +10741,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10708
10741
|
return p.list(methodInput);
|
|
10709
10742
|
}),
|
|
10710
10743
|
delete: trpc_middleware_js_1.adminProcedure
|
|
10711
|
-
.input(
|
|
10712
|
-
.output(
|
|
10744
|
+
.input(types_125.storageProviderCapability.methods.delete.input.loose())
|
|
10745
|
+
.output(types_125.storageProviderCapability.methods.delete.output)
|
|
10713
10746
|
.mutation(async ({ input, ctx }) => {
|
|
10714
10747
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10715
10748
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10717,8 +10750,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10717
10750
|
return p.delete(methodInput);
|
|
10718
10751
|
}),
|
|
10719
10752
|
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
10720
|
-
.input(
|
|
10721
|
-
.output(
|
|
10753
|
+
.input(types_125.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
10754
|
+
.output(types_125.storageProviderCapability.methods.getAvailableSpace.output)
|
|
10722
10755
|
.query(async ({ input, ctx }) => {
|
|
10723
10756
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10724
10757
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10726,8 +10759,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10726
10759
|
return p.getAvailableSpace(methodInput);
|
|
10727
10760
|
}),
|
|
10728
10761
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
10729
|
-
.input(
|
|
10730
|
-
.output(
|
|
10762
|
+
.input(types_125.storageProviderCapability.methods.beginUpload.input.loose())
|
|
10763
|
+
.output(types_125.storageProviderCapability.methods.beginUpload.output)
|
|
10731
10764
|
.mutation(async ({ input, ctx }) => {
|
|
10732
10765
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10733
10766
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10735,8 +10768,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10735
10768
|
return p.beginUpload(methodInput);
|
|
10736
10769
|
}),
|
|
10737
10770
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
10738
|
-
.input(
|
|
10739
|
-
.output(
|
|
10771
|
+
.input(types_125.storageProviderCapability.methods.writeChunk.input.loose())
|
|
10772
|
+
.output(types_125.storageProviderCapability.methods.writeChunk.output)
|
|
10740
10773
|
.mutation(async ({ input, ctx }) => {
|
|
10741
10774
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10742
10775
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10744,8 +10777,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10744
10777
|
return p.writeChunk(methodInput);
|
|
10745
10778
|
}),
|
|
10746
10779
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
10747
|
-
.input(
|
|
10748
|
-
.output(
|
|
10780
|
+
.input(types_125.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
10781
|
+
.output(types_125.storageProviderCapability.methods.finalizeUpload.output)
|
|
10749
10782
|
.mutation(async ({ input, ctx }) => {
|
|
10750
10783
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10751
10784
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10753,8 +10786,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10753
10786
|
return p.finalizeUpload(methodInput);
|
|
10754
10787
|
}),
|
|
10755
10788
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
10756
|
-
.input(
|
|
10757
|
-
.output(
|
|
10789
|
+
.input(types_125.storageProviderCapability.methods.abortUpload.input.loose())
|
|
10790
|
+
.output(types_125.storageProviderCapability.methods.abortUpload.output)
|
|
10758
10791
|
.mutation(async ({ input, ctx }) => {
|
|
10759
10792
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10760
10793
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10762,8 +10795,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10762
10795
|
return p.abortUpload(methodInput);
|
|
10763
10796
|
}),
|
|
10764
10797
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
10765
|
-
.input(
|
|
10766
|
-
.output(
|
|
10798
|
+
.input(types_125.storageProviderCapability.methods.beginDownload.input.loose())
|
|
10799
|
+
.output(types_125.storageProviderCapability.methods.beginDownload.output)
|
|
10767
10800
|
.mutation(async ({ input, ctx }) => {
|
|
10768
10801
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10769
10802
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10771,8 +10804,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10771
10804
|
return p.beginDownload(methodInput);
|
|
10772
10805
|
}),
|
|
10773
10806
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
10774
|
-
.input(
|
|
10775
|
-
.output(
|
|
10807
|
+
.input(types_125.storageProviderCapability.methods.readChunk.input.loose())
|
|
10808
|
+
.output(types_125.storageProviderCapability.methods.readChunk.output)
|
|
10776
10809
|
.query(async ({ input, ctx }) => {
|
|
10777
10810
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10778
10811
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10780,8 +10813,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
10780
10813
|
return p.readChunk(methodInput);
|
|
10781
10814
|
}),
|
|
10782
10815
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
10783
|
-
.input(
|
|
10784
|
-
.output(
|
|
10816
|
+
.input(types_125.storageProviderCapability.methods.endDownload.input.loose())
|
|
10817
|
+
.output(types_125.storageProviderCapability.methods.endDownload.output)
|
|
10785
10818
|
.mutation(async ({ input, ctx }) => {
|
|
10786
10819
|
const { nodeId, addonId, ...methodInput } = input;
|
|
10787
10820
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -10820,8 +10853,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10820
10853
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
10821
10854
|
}),
|
|
10822
10855
|
reportStreamSignal: trpc_middleware_js_1.protectedProcedure
|
|
10823
|
-
.input(
|
|
10824
|
-
.output(
|
|
10856
|
+
.input(types_126.streamBrokerCapability.methods.reportStreamSignal.input.loose())
|
|
10857
|
+
.output(types_126.streamBrokerCapability.methods.reportStreamSignal.output)
|
|
10825
10858
|
.mutation(async ({ input, ctx }) => {
|
|
10826
10859
|
const { nodeId, ...methodInput } = input;
|
|
10827
10860
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10829,8 +10862,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10829
10862
|
return p.reportStreamSignal(methodInput);
|
|
10830
10863
|
}),
|
|
10831
10864
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
10832
|
-
.input(
|
|
10833
|
-
.output(
|
|
10865
|
+
.input(types_126.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
10866
|
+
.output(types_126.streamBrokerCapability.methods.publishCameraStream.output)
|
|
10834
10867
|
.mutation(async ({ input, ctx }) => {
|
|
10835
10868
|
const { nodeId, ...methodInput } = input;
|
|
10836
10869
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10838,8 +10871,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10838
10871
|
return p.publishCameraStream(methodInput);
|
|
10839
10872
|
}),
|
|
10840
10873
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
10841
|
-
.input(
|
|
10842
|
-
.output(
|
|
10874
|
+
.input(types_126.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
10875
|
+
.output(types_126.streamBrokerCapability.methods.retractCameraStream.output)
|
|
10843
10876
|
.mutation(async ({ input, ctx }) => {
|
|
10844
10877
|
const { nodeId, ...methodInput } = input;
|
|
10845
10878
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10847,8 +10880,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10847
10880
|
return p.retractCameraStream(methodInput);
|
|
10848
10881
|
}),
|
|
10849
10882
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
10850
|
-
.input(
|
|
10851
|
-
.output(
|
|
10883
|
+
.input(types_126.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
10884
|
+
.output(types_126.streamBrokerCapability.methods.assignProfile.output)
|
|
10852
10885
|
.mutation(async ({ input, ctx }) => {
|
|
10853
10886
|
const { nodeId, ...methodInput } = input;
|
|
10854
10887
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10856,8 +10889,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10856
10889
|
return p.assignProfile(methodInput);
|
|
10857
10890
|
}),
|
|
10858
10891
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
10859
|
-
.input(
|
|
10860
|
-
.output(
|
|
10892
|
+
.input(types_126.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
10893
|
+
.output(types_126.streamBrokerCapability.methods.unassignProfile.output)
|
|
10861
10894
|
.mutation(async ({ input, ctx }) => {
|
|
10862
10895
|
const { nodeId, ...methodInput } = input;
|
|
10863
10896
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10865,8 +10898,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10865
10898
|
return p.unassignProfile(methodInput);
|
|
10866
10899
|
}),
|
|
10867
10900
|
forgetDeviceHardware: trpc_middleware_js_1.adminProcedure
|
|
10868
|
-
.input(
|
|
10869
|
-
.output(
|
|
10901
|
+
.input(types_126.streamBrokerCapability.methods.forgetDeviceHardware.input.loose())
|
|
10902
|
+
.output(types_126.streamBrokerCapability.methods.forgetDeviceHardware.output)
|
|
10870
10903
|
.mutation(async ({ input, ctx }) => {
|
|
10871
10904
|
const { nodeId, ...methodInput } = input;
|
|
10872
10905
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10874,8 +10907,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10874
10907
|
return p.forgetDeviceHardware(methodInput);
|
|
10875
10908
|
}),
|
|
10876
10909
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
10877
|
-
.input(
|
|
10878
|
-
.output(
|
|
10910
|
+
.input(types_126.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
10911
|
+
.output(types_126.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
10879
10912
|
.mutation(async ({ input, ctx }) => {
|
|
10880
10913
|
const { nodeId, ...methodInput } = input;
|
|
10881
10914
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10883,8 +10916,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10883
10916
|
return p.renderPreBufferClip(methodInput);
|
|
10884
10917
|
}),
|
|
10885
10918
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
10886
|
-
.input(
|
|
10887
|
-
.output(
|
|
10919
|
+
.input(types_126.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
10920
|
+
.output(types_126.streamBrokerCapability.methods.produceEventMedia.output)
|
|
10888
10921
|
.mutation(async ({ input, ctx }) => {
|
|
10889
10922
|
const { nodeId, ...methodInput } = input;
|
|
10890
10923
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10892,8 +10925,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10892
10925
|
return p.produceEventMedia(methodInput);
|
|
10893
10926
|
}),
|
|
10894
10927
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
10895
|
-
.input(
|
|
10896
|
-
.output(
|
|
10928
|
+
.input(types_126.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
10929
|
+
.output(types_126.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
10897
10930
|
.mutation(async ({ input, ctx }) => {
|
|
10898
10931
|
const { nodeId, ...methodInput } = input;
|
|
10899
10932
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10902,21 +10935,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10902
10935
|
}),
|
|
10903
10936
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
10904
10937
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10905
|
-
.output(
|
|
10938
|
+
.output(types_126.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
10906
10939
|
.query(async ({ input, ctx }) => {
|
|
10907
10940
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10908
10941
|
return p.listAllCameraStreams();
|
|
10909
10942
|
}),
|
|
10910
10943
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
10911
10944
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10912
|
-
.output(
|
|
10945
|
+
.output(types_126.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
10913
10946
|
.query(async ({ input, ctx }) => {
|
|
10914
10947
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10915
10948
|
return p.listAllProfileSlots();
|
|
10916
10949
|
}),
|
|
10917
10950
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
10918
|
-
.input(
|
|
10919
|
-
.output(
|
|
10951
|
+
.input(types_126.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
10952
|
+
.output(types_126.streamBrokerCapability.methods.getBrokerStats.output)
|
|
10920
10953
|
.query(async ({ input, ctx }) => {
|
|
10921
10954
|
const { nodeId, ...methodInput } = input;
|
|
10922
10955
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10924,8 +10957,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10924
10957
|
return p.getBrokerStats(methodInput);
|
|
10925
10958
|
}),
|
|
10926
10959
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
10927
|
-
.input(
|
|
10928
|
-
.output(
|
|
10960
|
+
.input(types_126.streamBrokerCapability.methods.probeStream.input.loose())
|
|
10961
|
+
.output(types_126.streamBrokerCapability.methods.probeStream.output)
|
|
10929
10962
|
.mutation(async ({ input, ctx }) => {
|
|
10930
10963
|
const { nodeId, ...methodInput } = input;
|
|
10931
10964
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10933,8 +10966,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10933
10966
|
return p.probeStream(methodInput);
|
|
10934
10967
|
}),
|
|
10935
10968
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
10936
|
-
.input(
|
|
10937
|
-
.output(
|
|
10969
|
+
.input(types_126.streamBrokerCapability.methods.listClients.input.loose())
|
|
10970
|
+
.output(types_126.streamBrokerCapability.methods.listClients.output)
|
|
10938
10971
|
.query(async ({ input, ctx }) => {
|
|
10939
10972
|
const { nodeId, ...methodInput } = input;
|
|
10940
10973
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10943,14 +10976,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10943
10976
|
}),
|
|
10944
10977
|
getLiveViewerCounts: trpc_middleware_js_1.protectedProcedure
|
|
10945
10978
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
10946
|
-
.output(
|
|
10979
|
+
.output(types_126.streamBrokerCapability.methods.getLiveViewerCounts.output)
|
|
10947
10980
|
.query(async ({ input, ctx }) => {
|
|
10948
10981
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10949
10982
|
return p.getLiveViewerCounts();
|
|
10950
10983
|
}),
|
|
10951
10984
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
10952
|
-
.input(
|
|
10953
|
-
.output(
|
|
10985
|
+
.input(types_126.streamBrokerCapability.methods.killClient.input.loose())
|
|
10986
|
+
.output(types_126.streamBrokerCapability.methods.killClient.output)
|
|
10954
10987
|
.mutation(async ({ input, ctx }) => {
|
|
10955
10988
|
const { nodeId, ...methodInput } = input;
|
|
10956
10989
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10958,8 +10991,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10958
10991
|
return p.killClient(methodInput);
|
|
10959
10992
|
}),
|
|
10960
10993
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
10961
|
-
.input(
|
|
10962
|
-
.output(
|
|
10994
|
+
.input(types_126.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
10995
|
+
.output(types_126.streamBrokerCapability.methods.restartProfile.output)
|
|
10963
10996
|
.mutation(async ({ input, ctx }) => {
|
|
10964
10997
|
const { nodeId, ...methodInput } = input;
|
|
10965
10998
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10967,8 +11000,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10967
11000
|
return p.restartProfile(methodInput);
|
|
10968
11001
|
}),
|
|
10969
11002
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
10970
|
-
.input(
|
|
10971
|
-
.output(
|
|
11003
|
+
.input(types_126.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
11004
|
+
.output(types_126.streamBrokerCapability.methods.getStreamUrl.output)
|
|
10972
11005
|
.query(async ({ input, ctx }) => {
|
|
10973
11006
|
const { nodeId, ...methodInput } = input;
|
|
10974
11007
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10976,8 +11009,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10976
11009
|
return p.getStreamUrl(methodInput);
|
|
10977
11010
|
}),
|
|
10978
11011
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
10979
|
-
.input(
|
|
10980
|
-
.output(
|
|
11012
|
+
.input(types_126.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
11013
|
+
.output(types_126.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
10981
11014
|
.mutation(async ({ input, ctx }) => {
|
|
10982
11015
|
const { nodeId, ...methodInput } = input;
|
|
10983
11016
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10985,8 +11018,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10985
11018
|
return p.getStreamWithCodec(methodInput);
|
|
10986
11019
|
}),
|
|
10987
11020
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
10988
|
-
.input(
|
|
10989
|
-
.output(
|
|
11021
|
+
.input(types_126.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
11022
|
+
.output(types_126.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
10990
11023
|
.mutation(async ({ input, ctx }) => {
|
|
10991
11024
|
const { nodeId, ...methodInput } = input;
|
|
10992
11025
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10994,8 +11027,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
10994
11027
|
return p.releaseStreamWithCodec(methodInput);
|
|
10995
11028
|
}),
|
|
10996
11029
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
10997
|
-
.input(
|
|
10998
|
-
.output(
|
|
11030
|
+
.input(types_126.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
11031
|
+
.output(types_126.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
10999
11032
|
.mutation(async ({ input, ctx }) => {
|
|
11000
11033
|
const { nodeId, ...methodInput } = input;
|
|
11001
11034
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11003,8 +11036,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11003
11036
|
return p.acquireEgressTranscode(methodInput);
|
|
11004
11037
|
}),
|
|
11005
11038
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
11006
|
-
.input(
|
|
11007
|
-
.output(
|
|
11039
|
+
.input(types_126.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
11040
|
+
.output(types_126.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
11008
11041
|
.mutation(async ({ input, ctx }) => {
|
|
11009
11042
|
const { nodeId, ...methodInput } = input;
|
|
11010
11043
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11012,8 +11045,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11012
11045
|
return p.releaseEgressTranscode(methodInput);
|
|
11013
11046
|
}),
|
|
11014
11047
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
11015
|
-
.input(
|
|
11016
|
-
.output(
|
|
11048
|
+
.input(types_126.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
11049
|
+
.output(types_126.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
11017
11050
|
.mutation(async ({ input, ctx }) => {
|
|
11018
11051
|
const { nodeId, ...methodInput } = input;
|
|
11019
11052
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11021,8 +11054,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11021
11054
|
return p.subscribeAudioChunks(methodInput);
|
|
11022
11055
|
}),
|
|
11023
11056
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
11024
|
-
.input(
|
|
11025
|
-
.output(
|
|
11057
|
+
.input(types_126.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
11058
|
+
.output(types_126.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
11026
11059
|
.query(async ({ input, ctx }) => {
|
|
11027
11060
|
const { nodeId, ...methodInput } = input;
|
|
11028
11061
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11030,8 +11063,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11030
11063
|
return p.pullAudioChunks(methodInput);
|
|
11031
11064
|
}),
|
|
11032
11065
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
11033
|
-
.input(
|
|
11034
|
-
.output(
|
|
11066
|
+
.input(types_126.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
11067
|
+
.output(types_126.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
11035
11068
|
.mutation(async ({ input, ctx }) => {
|
|
11036
11069
|
const { nodeId, ...methodInput } = input;
|
|
11037
11070
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11039,8 +11072,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11039
11072
|
return p.unsubscribeAudioChunks(methodInput);
|
|
11040
11073
|
}),
|
|
11041
11074
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
11042
|
-
.input(
|
|
11043
|
-
.output(
|
|
11075
|
+
.input(types_126.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
11076
|
+
.output(types_126.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
11044
11077
|
.mutation(async ({ input, ctx }) => {
|
|
11045
11078
|
const { nodeId, ...methodInput } = input;
|
|
11046
11079
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11048,8 +11081,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11048
11081
|
return p.setPreBufferDuration(methodInput);
|
|
11049
11082
|
}),
|
|
11050
11083
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
11051
|
-
.input(
|
|
11052
|
-
.output(
|
|
11084
|
+
.input(types_126.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
11085
|
+
.output(types_126.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
11053
11086
|
.query(async ({ input, ctx }) => {
|
|
11054
11087
|
const { nodeId, ...methodInput } = input;
|
|
11055
11088
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11058,14 +11091,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11058
11091
|
}),
|
|
11059
11092
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
11060
11093
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11061
|
-
.output(
|
|
11094
|
+
.output(types_126.streamBrokerCapability.methods.getRtspPort.output)
|
|
11062
11095
|
.query(async ({ input, ctx }) => {
|
|
11063
11096
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11064
11097
|
return p.getRtspPort();
|
|
11065
11098
|
}),
|
|
11066
11099
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
11067
|
-
.input(
|
|
11068
|
-
.output(
|
|
11100
|
+
.input(types_126.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
11101
|
+
.output(types_126.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
11069
11102
|
.query(async ({ input, ctx }) => {
|
|
11070
11103
|
const { nodeId, ...methodInput } = input;
|
|
11071
11104
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11073,8 +11106,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11073
11106
|
return p.getAllRtspEntries(methodInput);
|
|
11074
11107
|
}),
|
|
11075
11108
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
11076
|
-
.input(
|
|
11077
|
-
.output(
|
|
11109
|
+
.input(types_126.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
11110
|
+
.output(types_126.streamBrokerCapability.methods.getRtspEntry.output)
|
|
11078
11111
|
.query(async ({ input, ctx }) => {
|
|
11079
11112
|
const { nodeId, ...methodInput } = input;
|
|
11080
11113
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11082,8 +11115,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11082
11115
|
return p.getRtspEntry(methodInput);
|
|
11083
11116
|
}),
|
|
11084
11117
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
11085
|
-
.input(
|
|
11086
|
-
.output(
|
|
11118
|
+
.input(types_126.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
11119
|
+
.output(types_126.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
11087
11120
|
.mutation(async ({ input, ctx }) => {
|
|
11088
11121
|
const { nodeId, ...methodInput } = input;
|
|
11089
11122
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11091,8 +11124,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11091
11124
|
return p.regenerateRtspToken(methodInput);
|
|
11092
11125
|
}),
|
|
11093
11126
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
11094
|
-
.input(
|
|
11095
|
-
.output(
|
|
11127
|
+
.input(types_126.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
11128
|
+
.output(types_126.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
11096
11129
|
.mutation(async ({ input, ctx }) => {
|
|
11097
11130
|
const { nodeId, ...methodInput } = input;
|
|
11098
11131
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11100,8 +11133,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11100
11133
|
return p.setRtspEnabled(methodInput);
|
|
11101
11134
|
}),
|
|
11102
11135
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
11103
|
-
.input(
|
|
11104
|
-
.output(
|
|
11136
|
+
.input(types_126.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
11137
|
+
.output(types_126.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
11105
11138
|
.query(async ({ input, ctx }) => {
|
|
11106
11139
|
const { nodeId, ...methodInput } = input;
|
|
11107
11140
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11109,8 +11142,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11109
11142
|
return p.isRtspEnabled(methodInput);
|
|
11110
11143
|
}),
|
|
11111
11144
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
11112
|
-
.input(
|
|
11113
|
-
.output(
|
|
11145
|
+
.input(types_126.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
11146
|
+
.output(types_126.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
11114
11147
|
.query(async ({ input, ctx }) => {
|
|
11115
11148
|
const { nodeId, ...methodInput } = input;
|
|
11116
11149
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11118,8 +11151,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11118
11151
|
return p.getDeviceAudioMute(methodInput);
|
|
11119
11152
|
}),
|
|
11120
11153
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
11121
|
-
.input(
|
|
11122
|
-
.output(
|
|
11154
|
+
.input(types_126.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
11155
|
+
.output(types_126.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
11123
11156
|
.mutation(async ({ input, ctx }) => {
|
|
11124
11157
|
const { nodeId, ...methodInput } = input;
|
|
11125
11158
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11131,8 +11164,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11131
11164
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
11132
11165
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11133
11166
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
11134
|
-
.input(
|
|
11135
|
-
.output(
|
|
11167
|
+
.input(types_127.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
11168
|
+
.output(types_127.streamCatalogCapability.methods.getCatalog.output)
|
|
11136
11169
|
.query(async ({ input, ctx }) => {
|
|
11137
11170
|
const { nodeId, ...methodInput } = input;
|
|
11138
11171
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11153,8 +11186,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
11153
11186
|
return p.getStatus(methodInput);
|
|
11154
11187
|
}),
|
|
11155
11188
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
11156
|
-
.input(
|
|
11157
|
-
.output(
|
|
11189
|
+
.input(types_128.streamParamsCapability.methods.getOptions.input.loose())
|
|
11190
|
+
.output(types_128.streamParamsCapability.methods.getOptions.output)
|
|
11158
11191
|
.query(async ({ input, ctx }) => {
|
|
11159
11192
|
const { nodeId, ...methodInput } = input;
|
|
11160
11193
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11162,8 +11195,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
11162
11195
|
return p.getOptions(methodInput);
|
|
11163
11196
|
}),
|
|
11164
11197
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
11165
|
-
.input(
|
|
11166
|
-
.output(
|
|
11198
|
+
.input(types_128.streamParamsCapability.methods.setProfile.input.loose())
|
|
11199
|
+
.output(types_128.streamParamsCapability.methods.setProfile.output)
|
|
11167
11200
|
.mutation(async ({ input, ctx }) => {
|
|
11168
11201
|
const { nodeId, ...methodInput } = input;
|
|
11169
11202
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11171,8 +11204,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
11171
11204
|
return p.setProfile(methodInput);
|
|
11172
11205
|
}),
|
|
11173
11206
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
11174
|
-
.input(
|
|
11175
|
-
.output(
|
|
11207
|
+
.input(types_128.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
11208
|
+
.output(types_128.streamParamsCapability.methods.getConfigSchema.output)
|
|
11176
11209
|
.query(async ({ input, ctx }) => {
|
|
11177
11210
|
const { nodeId, ...methodInput } = input;
|
|
11178
11211
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11185,7 +11218,7 @@ function createCapRouter_streamSignals(getProvider, createRemoteProxy) {
|
|
|
11185
11218
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11186
11219
|
listSignals: trpc_middleware_js_1.protectedProcedure
|
|
11187
11220
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11188
|
-
.output(
|
|
11221
|
+
.output(types_129.streamSignalsCapability.methods.listSignals.output)
|
|
11189
11222
|
.query(async ({ input, ctx }) => {
|
|
11190
11223
|
const p = resolveProvider('stream-signals', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11191
11224
|
return p.listSignals();
|
|
@@ -11204,8 +11237,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
11204
11237
|
return p.getStatus(methodInput);
|
|
11205
11238
|
}),
|
|
11206
11239
|
setState: trpc_middleware_js_1.protectedProcedure
|
|
11207
|
-
.input(
|
|
11208
|
-
.output(
|
|
11240
|
+
.input(types_130.switchCapability.methods.setState.input.loose())
|
|
11241
|
+
.output(types_130.switchCapability.methods.setState.output)
|
|
11209
11242
|
.mutation(async ({ input, ctx }) => {
|
|
11210
11243
|
const { nodeId, ...methodInput } = input;
|
|
11211
11244
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11218,98 +11251,98 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
11218
11251
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11219
11252
|
info: trpc_middleware_js_1.protectedProcedure
|
|
11220
11253
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11221
|
-
.output(
|
|
11254
|
+
.output(types_131.systemCapability.methods.info.output)
|
|
11222
11255
|
.query(async ({ input, ctx }) => {
|
|
11223
11256
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11224
11257
|
return p.info();
|
|
11225
11258
|
}),
|
|
11226
11259
|
health: trpc_middleware_js_1.protectedProcedure
|
|
11227
11260
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11228
|
-
.output(
|
|
11261
|
+
.output(types_131.systemCapability.methods.health.output)
|
|
11229
11262
|
.query(async ({ input, ctx }) => {
|
|
11230
11263
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11231
11264
|
return p.health();
|
|
11232
11265
|
}),
|
|
11233
11266
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
11234
11267
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11235
|
-
.output(
|
|
11268
|
+
.output(types_131.systemCapability.methods.featureFlags.output)
|
|
11236
11269
|
.query(async ({ input, ctx }) => {
|
|
11237
11270
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11238
11271
|
return p.featureFlags();
|
|
11239
11272
|
}),
|
|
11240
11273
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
11241
11274
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11242
|
-
.output(
|
|
11275
|
+
.output(types_131.systemCapability.methods.networkAddresses.output)
|
|
11243
11276
|
.query(async ({ input, ctx }) => {
|
|
11244
11277
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11245
11278
|
return p.networkAddresses();
|
|
11246
11279
|
}),
|
|
11247
11280
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
11248
11281
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11249
|
-
.output(
|
|
11282
|
+
.output(types_131.systemCapability.methods.getRetentionConfig.output)
|
|
11250
11283
|
.query(async ({ input, ctx }) => {
|
|
11251
11284
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11252
11285
|
return p.getRetentionConfig();
|
|
11253
11286
|
}),
|
|
11254
11287
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
11255
|
-
.input(
|
|
11256
|
-
.output(
|
|
11288
|
+
.input(types_131.systemCapability.methods.setRetentionConfig.input)
|
|
11289
|
+
.output(types_131.systemCapability.methods.setRetentionConfig.output)
|
|
11257
11290
|
.mutation(async ({ input, ctx }) => {
|
|
11258
11291
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
11259
11292
|
return p.setRetentionConfig(input);
|
|
11260
11293
|
}),
|
|
11261
11294
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
11262
11295
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11263
|
-
.output(
|
|
11296
|
+
.output(types_131.systemCapability.methods.forceRetentionCleanup.output)
|
|
11264
11297
|
.mutation(async ({ input, ctx }) => {
|
|
11265
11298
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11266
11299
|
return p.forceRetentionCleanup();
|
|
11267
11300
|
}),
|
|
11268
11301
|
getSiteLocation: trpc_middleware_js_1.protectedProcedure
|
|
11269
11302
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11270
|
-
.output(
|
|
11303
|
+
.output(types_131.systemCapability.methods.getSiteLocation.output)
|
|
11271
11304
|
.query(async ({ input, ctx }) => {
|
|
11272
11305
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11273
11306
|
return p.getSiteLocation();
|
|
11274
11307
|
}),
|
|
11275
11308
|
setSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
11276
|
-
.input(
|
|
11277
|
-
.output(
|
|
11309
|
+
.input(types_131.systemCapability.methods.setSiteLocation.input)
|
|
11310
|
+
.output(types_131.systemCapability.methods.setSiteLocation.output)
|
|
11278
11311
|
.mutation(async ({ input, ctx }) => {
|
|
11279
11312
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
11280
11313
|
return p.setSiteLocation(input);
|
|
11281
11314
|
}),
|
|
11282
11315
|
detectSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
11283
11316
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11284
|
-
.output(
|
|
11317
|
+
.output(types_131.systemCapability.methods.detectSiteLocation.output)
|
|
11285
11318
|
.mutation(async ({ input, ctx }) => {
|
|
11286
11319
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11287
11320
|
return p.detectSiteLocation();
|
|
11288
11321
|
}),
|
|
11289
11322
|
getRequestCensus: trpc_middleware_js_1.adminProcedure
|
|
11290
11323
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11291
|
-
.output(
|
|
11324
|
+
.output(types_131.systemCapability.methods.getRequestCensus.output)
|
|
11292
11325
|
.query(async ({ input, ctx }) => {
|
|
11293
11326
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11294
11327
|
return p.getRequestCensus();
|
|
11295
11328
|
}),
|
|
11296
11329
|
getLoadContributions: trpc_middleware_js_1.adminProcedure
|
|
11297
11330
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11298
|
-
.output(
|
|
11331
|
+
.output(types_131.systemCapability.methods.getLoadContributions.output)
|
|
11299
11332
|
.query(async ({ input, ctx }) => {
|
|
11300
11333
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11301
11334
|
return p.getLoadContributions();
|
|
11302
11335
|
}),
|
|
11303
11336
|
getFailureContributions: trpc_middleware_js_1.adminProcedure
|
|
11304
11337
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11305
|
-
.output(
|
|
11338
|
+
.output(types_131.systemCapability.methods.getFailureContributions.output)
|
|
11306
11339
|
.query(async ({ input, ctx }) => {
|
|
11307
11340
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11308
11341
|
return p.getFailureContributions();
|
|
11309
11342
|
}),
|
|
11310
11343
|
getLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
11311
|
-
.input(
|
|
11312
|
-
.output(
|
|
11344
|
+
.input(types_131.systemCapability.methods.getLoggingSettings.input.loose())
|
|
11345
|
+
.output(types_131.systemCapability.methods.getLoggingSettings.output)
|
|
11313
11346
|
.query(async ({ input, ctx }) => {
|
|
11314
11347
|
const { nodeId, ...methodInput } = input;
|
|
11315
11348
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11317,8 +11350,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
11317
11350
|
return p.getLoggingSettings(methodInput);
|
|
11318
11351
|
}),
|
|
11319
11352
|
setLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
11320
|
-
.input(
|
|
11321
|
-
.output(
|
|
11353
|
+
.input(types_131.systemCapability.methods.setLoggingSettings.input.loose())
|
|
11354
|
+
.output(types_131.systemCapability.methods.setLoggingSettings.output)
|
|
11322
11355
|
.mutation(async ({ input, ctx }) => {
|
|
11323
11356
|
const { nodeId, ...methodInput } = input;
|
|
11324
11357
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11357,21 +11390,21 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11357
11390
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11358
11391
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
11359
11392
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11360
|
-
.output(
|
|
11393
|
+
.output(types_132.terminalSessionCapability.methods.listProfiles.output)
|
|
11361
11394
|
.query(async ({ input, ctx }) => {
|
|
11362
11395
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11363
11396
|
return p.listProfiles();
|
|
11364
11397
|
}),
|
|
11365
11398
|
listInstances: trpc_middleware_js_1.adminProcedure
|
|
11366
11399
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11367
|
-
.output(
|
|
11400
|
+
.output(types_132.terminalSessionCapability.methods.listInstances.output)
|
|
11368
11401
|
.query(async ({ input, ctx }) => {
|
|
11369
11402
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11370
11403
|
return p.listInstances();
|
|
11371
11404
|
}),
|
|
11372
11405
|
createInstance: trpc_middleware_js_1.adminProcedure
|
|
11373
|
-
.input(
|
|
11374
|
-
.output(
|
|
11406
|
+
.input(types_132.terminalSessionCapability.methods.createInstance.input.loose())
|
|
11407
|
+
.output(types_132.terminalSessionCapability.methods.createInstance.output)
|
|
11375
11408
|
.mutation(async ({ input, ctx }) => {
|
|
11376
11409
|
const { nodeId, ...methodInput } = input;
|
|
11377
11410
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11379,8 +11412,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11379
11412
|
return p.createInstance(methodInput);
|
|
11380
11413
|
}),
|
|
11381
11414
|
updateInstance: trpc_middleware_js_1.adminProcedure
|
|
11382
|
-
.input(
|
|
11383
|
-
.output(
|
|
11415
|
+
.input(types_132.terminalSessionCapability.methods.updateInstance.input.loose())
|
|
11416
|
+
.output(types_132.terminalSessionCapability.methods.updateInstance.output)
|
|
11384
11417
|
.mutation(async ({ input, ctx }) => {
|
|
11385
11418
|
const { nodeId, ...methodInput } = input;
|
|
11386
11419
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11388,8 +11421,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11388
11421
|
return p.updateInstance(methodInput);
|
|
11389
11422
|
}),
|
|
11390
11423
|
deleteInstance: trpc_middleware_js_1.adminProcedure
|
|
11391
|
-
.input(
|
|
11392
|
-
.output(
|
|
11424
|
+
.input(types_132.terminalSessionCapability.methods.deleteInstance.input.loose())
|
|
11425
|
+
.output(types_132.terminalSessionCapability.methods.deleteInstance.output)
|
|
11393
11426
|
.mutation(async ({ input, ctx }) => {
|
|
11394
11427
|
const { nodeId, ...methodInput } = input;
|
|
11395
11428
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11397,8 +11430,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11397
11430
|
return p.deleteInstance(methodInput);
|
|
11398
11431
|
}),
|
|
11399
11432
|
setInstanceEnabled: trpc_middleware_js_1.adminProcedure
|
|
11400
|
-
.input(
|
|
11401
|
-
.output(
|
|
11433
|
+
.input(types_132.terminalSessionCapability.methods.setInstanceEnabled.input.loose())
|
|
11434
|
+
.output(types_132.terminalSessionCapability.methods.setInstanceEnabled.output)
|
|
11402
11435
|
.mutation(async ({ input, ctx }) => {
|
|
11403
11436
|
const { nodeId, ...methodInput } = input;
|
|
11404
11437
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11407,14 +11440,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11407
11440
|
}),
|
|
11408
11441
|
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
11409
11442
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11410
|
-
.output(
|
|
11443
|
+
.output(types_132.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
11411
11444
|
.query(async ({ input, ctx }) => {
|
|
11412
11445
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11413
11446
|
return p.listLegacyCameras();
|
|
11414
11447
|
}),
|
|
11415
11448
|
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
11416
|
-
.input(
|
|
11417
|
-
.output(
|
|
11449
|
+
.input(types_132.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
11450
|
+
.output(types_132.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
11418
11451
|
.mutation(async ({ input, ctx }) => {
|
|
11419
11452
|
const { nodeId, ...methodInput } = input;
|
|
11420
11453
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11423,14 +11456,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11423
11456
|
}),
|
|
11424
11457
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
11425
11458
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11426
|
-
.output(
|
|
11459
|
+
.output(types_132.terminalSessionCapability.methods.listSessions.output)
|
|
11427
11460
|
.query(async ({ input, ctx }) => {
|
|
11428
11461
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11429
11462
|
return p.listSessions();
|
|
11430
11463
|
}),
|
|
11431
11464
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
11432
|
-
.input(
|
|
11433
|
-
.output(
|
|
11465
|
+
.input(types_132.terminalSessionCapability.methods.openSession.input.loose())
|
|
11466
|
+
.output(types_132.terminalSessionCapability.methods.openSession.output)
|
|
11434
11467
|
.mutation(async ({ input, ctx }) => {
|
|
11435
11468
|
const { nodeId, ...methodInput } = input;
|
|
11436
11469
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11438,8 +11471,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11438
11471
|
return p.openSession(methodInput);
|
|
11439
11472
|
}),
|
|
11440
11473
|
resize: trpc_middleware_js_1.adminProcedure
|
|
11441
|
-
.input(
|
|
11442
|
-
.output(
|
|
11474
|
+
.input(types_132.terminalSessionCapability.methods.resize.input.loose())
|
|
11475
|
+
.output(types_132.terminalSessionCapability.methods.resize.output)
|
|
11443
11476
|
.mutation(async ({ input, ctx }) => {
|
|
11444
11477
|
const { nodeId, ...methodInput } = input;
|
|
11445
11478
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11447,8 +11480,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11447
11480
|
return p.resize(methodInput);
|
|
11448
11481
|
}),
|
|
11449
11482
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
11450
|
-
.input(
|
|
11451
|
-
.output(
|
|
11483
|
+
.input(types_132.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
11484
|
+
.output(types_132.terminalSessionCapability.methods.pullOutput.output)
|
|
11452
11485
|
.mutation(async ({ input, ctx }) => {
|
|
11453
11486
|
const { nodeId, ...methodInput } = input;
|
|
11454
11487
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11456,8 +11489,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11456
11489
|
return p.pullOutput(methodInput);
|
|
11457
11490
|
}),
|
|
11458
11491
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
11459
|
-
.input(
|
|
11460
|
-
.output(
|
|
11492
|
+
.input(types_132.terminalSessionCapability.methods.writeInput.input.loose())
|
|
11493
|
+
.output(types_132.terminalSessionCapability.methods.writeInput.output)
|
|
11461
11494
|
.mutation(async ({ input, ctx }) => {
|
|
11462
11495
|
const { nodeId, ...methodInput } = input;
|
|
11463
11496
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11465,8 +11498,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11465
11498
|
return p.writeInput(methodInput);
|
|
11466
11499
|
}),
|
|
11467
11500
|
close: trpc_middleware_js_1.adminProcedure
|
|
11468
|
-
.input(
|
|
11469
|
-
.output(
|
|
11501
|
+
.input(types_132.terminalSessionCapability.methods.close.input.loose())
|
|
11502
|
+
.output(types_132.terminalSessionCapability.methods.close.output)
|
|
11470
11503
|
.mutation(async ({ input, ctx }) => {
|
|
11471
11504
|
const { nodeId, ...methodInput } = input;
|
|
11472
11505
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11478,7 +11511,7 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
11478
11511
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
11479
11512
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11480
11513
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
11481
|
-
.input(
|
|
11514
|
+
.input(types_133.toastCapability.methods.onToast.input)
|
|
11482
11515
|
.subscription(({ input, ctx }) => {
|
|
11483
11516
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
11484
11517
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -11490,8 +11523,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
11490
11523
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
11491
11524
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11492
11525
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
11493
|
-
.input(
|
|
11494
|
-
.output(
|
|
11526
|
+
.input(types_134.trainingCapability.methods.listBaseModels.input.loose())
|
|
11527
|
+
.output(types_134.trainingCapability.methods.listBaseModels.output)
|
|
11495
11528
|
.query(async ({ input, ctx }) => {
|
|
11496
11529
|
const { nodeId, ...methodInput } = input;
|
|
11497
11530
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11499,8 +11532,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11499
11532
|
return p.listBaseModels(methodInput);
|
|
11500
11533
|
}),
|
|
11501
11534
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
11502
|
-
.input(
|
|
11503
|
-
.output(
|
|
11535
|
+
.input(types_134.trainingCapability.methods.planJob.input.loose())
|
|
11536
|
+
.output(types_134.trainingCapability.methods.planJob.output)
|
|
11504
11537
|
.query(async ({ input, ctx }) => {
|
|
11505
11538
|
const { nodeId, ...methodInput } = input;
|
|
11506
11539
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11508,8 +11541,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11508
11541
|
return p.planJob(methodInput);
|
|
11509
11542
|
}),
|
|
11510
11543
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
11511
|
-
.input(
|
|
11512
|
-
.output(
|
|
11544
|
+
.input(types_134.trainingCapability.methods.startJob.input.loose())
|
|
11545
|
+
.output(types_134.trainingCapability.methods.startJob.output)
|
|
11513
11546
|
.mutation(async ({ input, ctx }) => {
|
|
11514
11547
|
const { nodeId, ...methodInput } = input;
|
|
11515
11548
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11517,8 +11550,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11517
11550
|
return p.startJob(methodInput);
|
|
11518
11551
|
}),
|
|
11519
11552
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
11520
|
-
.input(
|
|
11521
|
-
.output(
|
|
11553
|
+
.input(types_134.trainingCapability.methods.startJobBatch.input.loose())
|
|
11554
|
+
.output(types_134.trainingCapability.methods.startJobBatch.output)
|
|
11522
11555
|
.mutation(async ({ input, ctx }) => {
|
|
11523
11556
|
const { nodeId, ...methodInput } = input;
|
|
11524
11557
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11526,8 +11559,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11526
11559
|
return p.startJobBatch(methodInput);
|
|
11527
11560
|
}),
|
|
11528
11561
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
11529
|
-
.input(
|
|
11530
|
-
.output(
|
|
11562
|
+
.input(types_134.trainingCapability.methods.listJobs.input.loose())
|
|
11563
|
+
.output(types_134.trainingCapability.methods.listJobs.output)
|
|
11531
11564
|
.query(async ({ input, ctx }) => {
|
|
11532
11565
|
const { nodeId, ...methodInput } = input;
|
|
11533
11566
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11535,8 +11568,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11535
11568
|
return p.listJobs(methodInput);
|
|
11536
11569
|
}),
|
|
11537
11570
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
11538
|
-
.input(
|
|
11539
|
-
.output(
|
|
11571
|
+
.input(types_134.trainingCapability.methods.getJob.input.loose())
|
|
11572
|
+
.output(types_134.trainingCapability.methods.getJob.output)
|
|
11540
11573
|
.query(async ({ input, ctx }) => {
|
|
11541
11574
|
const { nodeId, ...methodInput } = input;
|
|
11542
11575
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11544,8 +11577,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11544
11577
|
return p.getJob(methodInput);
|
|
11545
11578
|
}),
|
|
11546
11579
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
11547
|
-
.input(
|
|
11548
|
-
.output(
|
|
11580
|
+
.input(types_134.trainingCapability.methods.cancelJob.input.loose())
|
|
11581
|
+
.output(types_134.trainingCapability.methods.cancelJob.output)
|
|
11549
11582
|
.mutation(async ({ input, ctx }) => {
|
|
11550
11583
|
const { nodeId, ...methodInput } = input;
|
|
11551
11584
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11553,8 +11586,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11553
11586
|
return p.cancelJob(methodInput);
|
|
11554
11587
|
}),
|
|
11555
11588
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
11556
|
-
.input(
|
|
11557
|
-
.output(
|
|
11589
|
+
.input(types_134.trainingCapability.methods.getJobResult.input.loose())
|
|
11590
|
+
.output(types_134.trainingCapability.methods.getJobResult.output)
|
|
11558
11591
|
.query(async ({ input, ctx }) => {
|
|
11559
11592
|
const { nodeId, ...methodInput } = input;
|
|
11560
11593
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11562,8 +11595,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11562
11595
|
return p.getJobResult(methodInput);
|
|
11563
11596
|
}),
|
|
11564
11597
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
11565
|
-
.input(
|
|
11566
|
-
.output(
|
|
11598
|
+
.input(types_134.trainingCapability.methods.registerResult.input.loose())
|
|
11599
|
+
.output(types_134.trainingCapability.methods.registerResult.output)
|
|
11567
11600
|
.mutation(async ({ input, ctx }) => {
|
|
11568
11601
|
const { nodeId, ...methodInput } = input;
|
|
11569
11602
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11571,8 +11604,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11571
11604
|
return p.registerResult(methodInput);
|
|
11572
11605
|
}),
|
|
11573
11606
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
11574
|
-
.input(
|
|
11575
|
-
.output(
|
|
11607
|
+
.input(types_134.trainingCapability.methods.canaryResult.input.loose())
|
|
11608
|
+
.output(types_134.trainingCapability.methods.canaryResult.output)
|
|
11576
11609
|
.mutation(async ({ input, ctx }) => {
|
|
11577
11610
|
const { nodeId, ...methodInput } = input;
|
|
11578
11611
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11580,8 +11613,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11580
11613
|
return p.canaryResult(methodInput);
|
|
11581
11614
|
}),
|
|
11582
11615
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
11583
|
-
.input(
|
|
11584
|
-
.output(
|
|
11616
|
+
.input(types_134.trainingCapability.methods.rollbackCanary.input.loose())
|
|
11617
|
+
.output(types_134.trainingCapability.methods.rollbackCanary.output)
|
|
11585
11618
|
.mutation(async ({ input, ctx }) => {
|
|
11586
11619
|
const { nodeId, ...methodInput } = input;
|
|
11587
11620
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11589,8 +11622,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11589
11622
|
return p.rollbackCanary(methodInput);
|
|
11590
11623
|
}),
|
|
11591
11624
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
11592
|
-
.input(
|
|
11593
|
-
.output(
|
|
11625
|
+
.input(types_134.trainingCapability.methods.discardResult.input.loose())
|
|
11626
|
+
.output(types_134.trainingCapability.methods.discardResult.output)
|
|
11594
11627
|
.mutation(async ({ input, ctx }) => {
|
|
11595
11628
|
const { nodeId, ...methodInput } = input;
|
|
11596
11629
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11602,8 +11635,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
11602
11635
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
11603
11636
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11604
11637
|
describe: trpc_middleware_js_1.adminProcedure
|
|
11605
|
-
.input(
|
|
11606
|
-
.output(
|
|
11638
|
+
.input(types_135.trainingProviderCapability.methods.describe.input.loose())
|
|
11639
|
+
.output(types_135.trainingProviderCapability.methods.describe.output)
|
|
11607
11640
|
.query(async ({ input, ctx }) => {
|
|
11608
11641
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11609
11642
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11611,8 +11644,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11611
11644
|
return p.describe(methodInput);
|
|
11612
11645
|
}),
|
|
11613
11646
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
11614
|
-
.input(
|
|
11615
|
-
.output(
|
|
11647
|
+
.input(types_135.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
11648
|
+
.output(types_135.trainingProviderCapability.methods.describeTypes.output)
|
|
11616
11649
|
.query(async ({ input, ctx }) => {
|
|
11617
11650
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11618
11651
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11620,8 +11653,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11620
11653
|
return p.describeTypes(methodInput);
|
|
11621
11654
|
}),
|
|
11622
11655
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
11623
|
-
.input(
|
|
11624
|
-
.output(
|
|
11656
|
+
.input(types_135.trainingProviderCapability.methods.listEntries.input.loose())
|
|
11657
|
+
.output(types_135.trainingProviderCapability.methods.listEntries.output)
|
|
11625
11658
|
.query(async ({ input, ctx }) => {
|
|
11626
11659
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11627
11660
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11629,8 +11662,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11629
11662
|
return p.listEntries(methodInput);
|
|
11630
11663
|
}),
|
|
11631
11664
|
createEntry: trpc_middleware_js_1.adminProcedure
|
|
11632
|
-
.input(
|
|
11633
|
-
.output(
|
|
11665
|
+
.input(types_135.trainingProviderCapability.methods.createEntry.input.loose())
|
|
11666
|
+
.output(types_135.trainingProviderCapability.methods.createEntry.output)
|
|
11634
11667
|
.mutation(async ({ input, ctx }) => {
|
|
11635
11668
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11636
11669
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11638,8 +11671,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11638
11671
|
return p.createEntry(methodInput);
|
|
11639
11672
|
}),
|
|
11640
11673
|
deleteEntry: trpc_middleware_js_1.adminProcedure
|
|
11641
|
-
.input(
|
|
11642
|
-
.output(
|
|
11674
|
+
.input(types_135.trainingProviderCapability.methods.deleteEntry.input.loose())
|
|
11675
|
+
.output(types_135.trainingProviderCapability.methods.deleteEntry.output)
|
|
11643
11676
|
.mutation(async ({ input, ctx }) => {
|
|
11644
11677
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11645
11678
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11647,8 +11680,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11647
11680
|
return p.deleteEntry(methodInput);
|
|
11648
11681
|
}),
|
|
11649
11682
|
updateEntry: trpc_middleware_js_1.adminProcedure
|
|
11650
|
-
.input(
|
|
11651
|
-
.output(
|
|
11683
|
+
.input(types_135.trainingProviderCapability.methods.updateEntry.input.loose())
|
|
11684
|
+
.output(types_135.trainingProviderCapability.methods.updateEntry.output)
|
|
11652
11685
|
.mutation(async ({ input, ctx }) => {
|
|
11653
11686
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11654
11687
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11656,8 +11689,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11656
11689
|
return p.updateEntry(methodInput);
|
|
11657
11690
|
}),
|
|
11658
11691
|
validateCredentials: trpc_middleware_js_1.adminProcedure
|
|
11659
|
-
.input(
|
|
11660
|
-
.output(
|
|
11692
|
+
.input(types_135.trainingProviderCapability.methods.validateCredentials.input.loose())
|
|
11693
|
+
.output(types_135.trainingProviderCapability.methods.validateCredentials.output)
|
|
11661
11694
|
.mutation(async ({ input, ctx }) => {
|
|
11662
11695
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11663
11696
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11665,8 +11698,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11665
11698
|
return p.validateCredentials(methodInput);
|
|
11666
11699
|
}),
|
|
11667
11700
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
11668
|
-
.input(
|
|
11669
|
-
.output(
|
|
11701
|
+
.input(types_135.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
11702
|
+
.output(types_135.trainingProviderCapability.methods.estimateJob.output)
|
|
11670
11703
|
.query(async ({ input, ctx }) => {
|
|
11671
11704
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11672
11705
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11674,8 +11707,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11674
11707
|
return p.estimateJob(methodInput);
|
|
11675
11708
|
}),
|
|
11676
11709
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
11677
|
-
.input(
|
|
11678
|
-
.output(
|
|
11710
|
+
.input(types_135.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
11711
|
+
.output(types_135.trainingProviderCapability.methods.uploadDataset.output)
|
|
11679
11712
|
.mutation(async ({ input, ctx }) => {
|
|
11680
11713
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11681
11714
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11683,8 +11716,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11683
11716
|
return p.uploadDataset(methodInput);
|
|
11684
11717
|
}),
|
|
11685
11718
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
11686
|
-
.input(
|
|
11687
|
-
.output(
|
|
11719
|
+
.input(types_135.trainingProviderCapability.methods.submitJob.input.loose())
|
|
11720
|
+
.output(types_135.trainingProviderCapability.methods.submitJob.output)
|
|
11688
11721
|
.mutation(async ({ input, ctx }) => {
|
|
11689
11722
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11690
11723
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11692,8 +11725,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11692
11725
|
return p.submitJob(methodInput);
|
|
11693
11726
|
}),
|
|
11694
11727
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
11695
|
-
.input(
|
|
11696
|
-
.output(
|
|
11728
|
+
.input(types_135.trainingProviderCapability.methods.getJob.input.loose())
|
|
11729
|
+
.output(types_135.trainingProviderCapability.methods.getJob.output)
|
|
11697
11730
|
.query(async ({ input, ctx }) => {
|
|
11698
11731
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11699
11732
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11701,8 +11734,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11701
11734
|
return p.getJob(methodInput);
|
|
11702
11735
|
}),
|
|
11703
11736
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
11704
|
-
.input(
|
|
11705
|
-
.output(
|
|
11737
|
+
.input(types_135.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
11738
|
+
.output(types_135.trainingProviderCapability.methods.listJobEvents.output)
|
|
11706
11739
|
.query(async ({ input, ctx }) => {
|
|
11707
11740
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11708
11741
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11710,8 +11743,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11710
11743
|
return p.listJobEvents(methodInput);
|
|
11711
11744
|
}),
|
|
11712
11745
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
11713
|
-
.input(
|
|
11714
|
-
.output(
|
|
11746
|
+
.input(types_135.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
11747
|
+
.output(types_135.trainingProviderCapability.methods.cancelJob.output)
|
|
11715
11748
|
.mutation(async ({ input, ctx }) => {
|
|
11716
11749
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11717
11750
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11719,8 +11752,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11719
11752
|
return p.cancelJob(methodInput);
|
|
11720
11753
|
}),
|
|
11721
11754
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
11722
|
-
.input(
|
|
11723
|
-
.output(
|
|
11755
|
+
.input(types_135.trainingProviderCapability.methods.readResult.input.loose())
|
|
11756
|
+
.output(types_135.trainingProviderCapability.methods.readResult.output)
|
|
11724
11757
|
.mutation(async ({ input, ctx }) => {
|
|
11725
11758
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11726
11759
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11728,8 +11761,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11728
11761
|
return p.readResult(methodInput);
|
|
11729
11762
|
}),
|
|
11730
11763
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
11731
|
-
.input(
|
|
11732
|
-
.output(
|
|
11764
|
+
.input(types_135.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
11765
|
+
.output(types_135.trainingProviderCapability.methods.offerArtifact.output)
|
|
11733
11766
|
.mutation(async ({ input, ctx }) => {
|
|
11734
11767
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11735
11768
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11737,8 +11770,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11737
11770
|
return p.offerArtifact(methodInput);
|
|
11738
11771
|
}),
|
|
11739
11772
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
11740
|
-
.input(
|
|
11741
|
-
.output(
|
|
11773
|
+
.input(types_135.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
11774
|
+
.output(types_135.trainingProviderCapability.methods.cleanupJob.output)
|
|
11742
11775
|
.mutation(async ({ input, ctx }) => {
|
|
11743
11776
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11744
11777
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11746,8 +11779,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
11746
11779
|
return p.cleanupJob(methodInput);
|
|
11747
11780
|
}),
|
|
11748
11781
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
11749
|
-
.input(
|
|
11750
|
-
.output(
|
|
11782
|
+
.input(types_135.trainingProviderCapability.methods.listJobs.input.loose())
|
|
11783
|
+
.output(types_135.trainingProviderCapability.methods.listJobs.output)
|
|
11751
11784
|
.query(async ({ input, ctx }) => {
|
|
11752
11785
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11753
11786
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11760,7 +11793,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
11760
11793
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11761
11794
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
11762
11795
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11763
|
-
.output(
|
|
11796
|
+
.output(types_136.turnProviderCapability.methods.getTurnServers.output)
|
|
11764
11797
|
.query(async ({ input, ctx }) => {
|
|
11765
11798
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11766
11799
|
return p.getTurnServers();
|
|
@@ -11780,7 +11813,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
11780
11813
|
}),
|
|
11781
11814
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
11782
11815
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11783
|
-
.output(
|
|
11816
|
+
.output(types_137.updateCapability.methods.installUpdate.output)
|
|
11784
11817
|
.mutation(async ({ input, ctx }) => {
|
|
11785
11818
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11786
11819
|
return p.installUpdate();
|
|
@@ -11791,14 +11824,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11791
11824
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11792
11825
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
11793
11826
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11794
|
-
.output(
|
|
11827
|
+
.output(types_138.userManagementCapability.methods.listUsers.output)
|
|
11795
11828
|
.query(async ({ input, ctx }) => {
|
|
11796
11829
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11797
11830
|
return p.listUsers();
|
|
11798
11831
|
}),
|
|
11799
11832
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
11800
|
-
.input(
|
|
11801
|
-
.output(
|
|
11833
|
+
.input(types_138.userManagementCapability.methods.createUser.input.loose())
|
|
11834
|
+
.output(types_138.userManagementCapability.methods.createUser.output)
|
|
11802
11835
|
.mutation(async ({ input, ctx }) => {
|
|
11803
11836
|
const { nodeId, ...methodInput } = input;
|
|
11804
11837
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11806,8 +11839,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11806
11839
|
return p.createUser(methodInput);
|
|
11807
11840
|
}),
|
|
11808
11841
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
11809
|
-
.input(
|
|
11810
|
-
.output(
|
|
11842
|
+
.input(types_138.userManagementCapability.methods.updateUser.input.loose())
|
|
11843
|
+
.output(types_138.userManagementCapability.methods.updateUser.output)
|
|
11811
11844
|
.mutation(async ({ input, ctx }) => {
|
|
11812
11845
|
const { nodeId, ...methodInput } = input;
|
|
11813
11846
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11815,8 +11848,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11815
11848
|
return p.updateUser(methodInput);
|
|
11816
11849
|
}),
|
|
11817
11850
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
11818
|
-
.input(
|
|
11819
|
-
.output(
|
|
11851
|
+
.input(types_138.userManagementCapability.methods.deleteUser.input.loose())
|
|
11852
|
+
.output(types_138.userManagementCapability.methods.deleteUser.output)
|
|
11820
11853
|
.mutation(async ({ input, ctx }) => {
|
|
11821
11854
|
const { nodeId, ...methodInput } = input;
|
|
11822
11855
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11824,8 +11857,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11824
11857
|
return p.deleteUser(methodInput);
|
|
11825
11858
|
}),
|
|
11826
11859
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
11827
|
-
.input(
|
|
11828
|
-
.output(
|
|
11860
|
+
.input(types_138.userManagementCapability.methods.resetPassword.input.loose())
|
|
11861
|
+
.output(types_138.userManagementCapability.methods.resetPassword.output)
|
|
11829
11862
|
.mutation(async ({ input, ctx }) => {
|
|
11830
11863
|
const { nodeId, ...methodInput } = input;
|
|
11831
11864
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11833,8 +11866,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11833
11866
|
return p.resetPassword(methodInput);
|
|
11834
11867
|
}),
|
|
11835
11868
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
11836
|
-
.input(
|
|
11837
|
-
.output(
|
|
11869
|
+
.input(types_138.userManagementCapability.methods.setUserScopes.input.loose())
|
|
11870
|
+
.output(types_138.userManagementCapability.methods.setUserScopes.output)
|
|
11838
11871
|
.mutation(async ({ input, ctx }) => {
|
|
11839
11872
|
const { nodeId, ...methodInput } = input;
|
|
11840
11873
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11842,8 +11875,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11842
11875
|
return p.setUserScopes(methodInput);
|
|
11843
11876
|
}),
|
|
11844
11877
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
11845
|
-
.input(
|
|
11846
|
-
.output(
|
|
11878
|
+
.input(types_138.userManagementCapability.methods.validateCredentials.input.loose())
|
|
11879
|
+
.output(types_138.userManagementCapability.methods.validateCredentials.output)
|
|
11847
11880
|
.mutation(async ({ input, ctx }) => {
|
|
11848
11881
|
const { nodeId, ...methodInput } = input;
|
|
11849
11882
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11852,14 +11885,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11852
11885
|
}),
|
|
11853
11886
|
listApiKeys: trpc_middleware_js_1.adminProcedure
|
|
11854
11887
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11855
|
-
.output(
|
|
11888
|
+
.output(types_138.userManagementCapability.methods.listApiKeys.output)
|
|
11856
11889
|
.query(async ({ input, ctx }) => {
|
|
11857
11890
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11858
11891
|
return p.listApiKeys();
|
|
11859
11892
|
}),
|
|
11860
11893
|
revokeApiKey: trpc_middleware_js_1.adminProcedure
|
|
11861
|
-
.input(
|
|
11862
|
-
.output(
|
|
11894
|
+
.input(types_138.userManagementCapability.methods.revokeApiKey.input.loose())
|
|
11895
|
+
.output(types_138.userManagementCapability.methods.revokeApiKey.output)
|
|
11863
11896
|
.mutation(async ({ input, ctx }) => {
|
|
11864
11897
|
const { nodeId, ...methodInput } = input;
|
|
11865
11898
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11867,8 +11900,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11867
11900
|
return p.revokeApiKey(methodInput);
|
|
11868
11901
|
}),
|
|
11869
11902
|
createScopedToken: trpc_middleware_js_1.adminProcedure
|
|
11870
|
-
.input(
|
|
11871
|
-
.output(
|
|
11903
|
+
.input(types_138.userManagementCapability.methods.createScopedToken.input.loose())
|
|
11904
|
+
.output(types_138.userManagementCapability.methods.createScopedToken.output)
|
|
11872
11905
|
.mutation(async ({ input, ctx }) => {
|
|
11873
11906
|
const { nodeId, ...methodInput } = input;
|
|
11874
11907
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11876,8 +11909,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11876
11909
|
return p.createScopedToken(methodInput);
|
|
11877
11910
|
}),
|
|
11878
11911
|
revokeScopedToken: trpc_middleware_js_1.adminProcedure
|
|
11879
|
-
.input(
|
|
11880
|
-
.output(
|
|
11912
|
+
.input(types_138.userManagementCapability.methods.revokeScopedToken.input.loose())
|
|
11913
|
+
.output(types_138.userManagementCapability.methods.revokeScopedToken.output)
|
|
11881
11914
|
.mutation(async ({ input, ctx }) => {
|
|
11882
11915
|
const { nodeId, ...methodInput } = input;
|
|
11883
11916
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11885,8 +11918,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11885
11918
|
return p.revokeScopedToken(methodInput);
|
|
11886
11919
|
}),
|
|
11887
11920
|
validateScopedToken: trpc_middleware_js_1.protectedProcedure
|
|
11888
|
-
.input(
|
|
11889
|
-
.output(
|
|
11921
|
+
.input(types_138.userManagementCapability.methods.validateScopedToken.input.loose())
|
|
11922
|
+
.output(types_138.userManagementCapability.methods.validateScopedToken.output)
|
|
11890
11923
|
.query(async ({ input, ctx }) => {
|
|
11891
11924
|
const { nodeId, ...methodInput } = input;
|
|
11892
11925
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11894,8 +11927,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11894
11927
|
return p.validateScopedToken(methodInput);
|
|
11895
11928
|
}),
|
|
11896
11929
|
listScopedTokens: trpc_middleware_js_1.adminProcedure
|
|
11897
|
-
.input(
|
|
11898
|
-
.output(
|
|
11930
|
+
.input(types_138.userManagementCapability.methods.listScopedTokens.input.loose())
|
|
11931
|
+
.output(types_138.userManagementCapability.methods.listScopedTokens.output)
|
|
11899
11932
|
.query(async ({ input, ctx }) => {
|
|
11900
11933
|
const { nodeId, ...methodInput } = input;
|
|
11901
11934
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11903,8 +11936,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11903
11936
|
return p.listScopedTokens(methodInput);
|
|
11904
11937
|
}),
|
|
11905
11938
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
11906
|
-
.input(
|
|
11907
|
-
.output(
|
|
11939
|
+
.input(types_138.userManagementCapability.methods.setupTotp.input.loose())
|
|
11940
|
+
.output(types_138.userManagementCapability.methods.setupTotp.output)
|
|
11908
11941
|
.mutation(async ({ input, ctx }) => {
|
|
11909
11942
|
const { nodeId, ...methodInput } = input;
|
|
11910
11943
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11912,8 +11945,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11912
11945
|
return p.setupTotp(methodInput);
|
|
11913
11946
|
}),
|
|
11914
11947
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
11915
|
-
.input(
|
|
11916
|
-
.output(
|
|
11948
|
+
.input(types_138.userManagementCapability.methods.confirmTotp.input.loose())
|
|
11949
|
+
.output(types_138.userManagementCapability.methods.confirmTotp.output)
|
|
11917
11950
|
.mutation(async ({ input, ctx }) => {
|
|
11918
11951
|
const { nodeId, ...methodInput } = input;
|
|
11919
11952
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11921,8 +11954,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11921
11954
|
return p.confirmTotp(methodInput);
|
|
11922
11955
|
}),
|
|
11923
11956
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
11924
|
-
.input(
|
|
11925
|
-
.output(
|
|
11957
|
+
.input(types_138.userManagementCapability.methods.disableTotp.input.loose())
|
|
11958
|
+
.output(types_138.userManagementCapability.methods.disableTotp.output)
|
|
11926
11959
|
.mutation(async ({ input, ctx }) => {
|
|
11927
11960
|
const { nodeId, ...methodInput } = input;
|
|
11928
11961
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11930,8 +11963,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11930
11963
|
return p.disableTotp(methodInput);
|
|
11931
11964
|
}),
|
|
11932
11965
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
11933
|
-
.input(
|
|
11934
|
-
.output(
|
|
11966
|
+
.input(types_138.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
11967
|
+
.output(types_138.userManagementCapability.methods.getTotpStatus.output)
|
|
11935
11968
|
.query(async ({ input, ctx }) => {
|
|
11936
11969
|
const { nodeId, ...methodInput } = input;
|
|
11937
11970
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11939,8 +11972,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11939
11972
|
return p.getTotpStatus(methodInput);
|
|
11940
11973
|
}),
|
|
11941
11974
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
11942
|
-
.input(
|
|
11943
|
-
.output(
|
|
11975
|
+
.input(types_138.userManagementCapability.methods.verifyTotp.input.loose())
|
|
11976
|
+
.output(types_138.userManagementCapability.methods.verifyTotp.output)
|
|
11944
11977
|
.mutation(async ({ input, ctx }) => {
|
|
11945
11978
|
const { nodeId, ...methodInput } = input;
|
|
11946
11979
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11948,8 +11981,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11948
11981
|
return p.verifyTotp(methodInput);
|
|
11949
11982
|
}),
|
|
11950
11983
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
11951
|
-
.input(
|
|
11952
|
-
.output(
|
|
11984
|
+
.input(types_138.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
11985
|
+
.output(types_138.userManagementCapability.methods.oauthIssueCode.output)
|
|
11953
11986
|
.mutation(async ({ input, ctx }) => {
|
|
11954
11987
|
const { nodeId, ...methodInput } = input;
|
|
11955
11988
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11957,8 +11990,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11957
11990
|
return p.oauthIssueCode(methodInput);
|
|
11958
11991
|
}),
|
|
11959
11992
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
11960
|
-
.input(
|
|
11961
|
-
.output(
|
|
11993
|
+
.input(types_138.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
11994
|
+
.output(types_138.userManagementCapability.methods.oauthExchangeCode.output)
|
|
11962
11995
|
.mutation(async ({ input, ctx }) => {
|
|
11963
11996
|
const { nodeId, ...methodInput } = input;
|
|
11964
11997
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11966,8 +11999,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11966
11999
|
return p.oauthExchangeCode(methodInput);
|
|
11967
12000
|
}),
|
|
11968
12001
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
11969
|
-
.input(
|
|
11970
|
-
.output(
|
|
12002
|
+
.input(types_138.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
12003
|
+
.output(types_138.userManagementCapability.methods.oauthRefresh.output)
|
|
11971
12004
|
.mutation(async ({ input, ctx }) => {
|
|
11972
12005
|
const { nodeId, ...methodInput } = input;
|
|
11973
12006
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11975,8 +12008,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11975
12008
|
return p.oauthRefresh(methodInput);
|
|
11976
12009
|
}),
|
|
11977
12010
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
11978
|
-
.input(
|
|
11979
|
-
.output(
|
|
12011
|
+
.input(types_138.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
12012
|
+
.output(types_138.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
11980
12013
|
.query(async ({ input, ctx }) => {
|
|
11981
12014
|
const { nodeId, ...methodInput } = input;
|
|
11982
12015
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11984,8 +12017,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11984
12017
|
return p.oauthVerifyAccessToken(methodInput);
|
|
11985
12018
|
}),
|
|
11986
12019
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
11987
|
-
.input(
|
|
11988
|
-
.output(
|
|
12020
|
+
.input(types_138.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
12021
|
+
.output(types_138.userManagementCapability.methods.listExternalIdentities.output)
|
|
11989
12022
|
.query(async ({ input, ctx }) => {
|
|
11990
12023
|
const { nodeId, ...methodInput } = input;
|
|
11991
12024
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11993,8 +12026,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
11993
12026
|
return p.listExternalIdentities(methodInput);
|
|
11994
12027
|
}),
|
|
11995
12028
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
11996
|
-
.input(
|
|
11997
|
-
.output(
|
|
12029
|
+
.input(types_138.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
12030
|
+
.output(types_138.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
11998
12031
|
.query(async ({ input, ctx }) => {
|
|
11999
12032
|
const { nodeId, ...methodInput } = input;
|
|
12000
12033
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12002,8 +12035,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12002
12035
|
return p.findUserByExternalIdentity(methodInput);
|
|
12003
12036
|
}),
|
|
12004
12037
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
12005
|
-
.input(
|
|
12006
|
-
.output(
|
|
12038
|
+
.input(types_138.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
12039
|
+
.output(types_138.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
12007
12040
|
.mutation(async ({ input, ctx }) => {
|
|
12008
12041
|
const { nodeId, ...methodInput } = input;
|
|
12009
12042
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12012,14 +12045,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12012
12045
|
}),
|
|
12013
12046
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
12014
12047
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12015
|
-
.output(
|
|
12048
|
+
.output(types_138.userManagementCapability.methods.listOauthSessions.output)
|
|
12016
12049
|
.query(async ({ input, ctx }) => {
|
|
12017
12050
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12018
12051
|
return p.listOauthSessions();
|
|
12019
12052
|
}),
|
|
12020
12053
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
12021
|
-
.input(
|
|
12022
|
-
.output(
|
|
12054
|
+
.input(types_138.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
12055
|
+
.output(types_138.userManagementCapability.methods.revokeOauthSession.output)
|
|
12023
12056
|
.mutation(async ({ input, ctx }) => {
|
|
12024
12057
|
const { nodeId, ...methodInput } = input;
|
|
12025
12058
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12031,8 +12064,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12031
12064
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
12032
12065
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12033
12066
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
12034
|
-
.input(
|
|
12035
|
-
.output(
|
|
12067
|
+
.input(types_139.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
12068
|
+
.output(types_139.userPasskeysCapability.methods.beginRegistration.output)
|
|
12036
12069
|
.mutation(async ({ input, ctx }) => {
|
|
12037
12070
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12038
12071
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12040,8 +12073,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12040
12073
|
return p.beginRegistration(methodInput);
|
|
12041
12074
|
}),
|
|
12042
12075
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
12043
|
-
.input(
|
|
12044
|
-
.output(
|
|
12076
|
+
.input(types_139.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
12077
|
+
.output(types_139.userPasskeysCapability.methods.finishRegistration.output)
|
|
12045
12078
|
.mutation(async ({ input, ctx }) => {
|
|
12046
12079
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12047
12080
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12049,8 +12082,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12049
12082
|
return p.finishRegistration(methodInput);
|
|
12050
12083
|
}),
|
|
12051
12084
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12052
|
-
.input(
|
|
12053
|
-
.output(
|
|
12085
|
+
.input(types_139.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
12086
|
+
.output(types_139.userPasskeysCapability.methods.beginAuthentication.output)
|
|
12054
12087
|
.mutation(async ({ input, ctx }) => {
|
|
12055
12088
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12056
12089
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12058,8 +12091,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12058
12091
|
return p.beginAuthentication(methodInput);
|
|
12059
12092
|
}),
|
|
12060
12093
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12061
|
-
.input(
|
|
12062
|
-
.output(
|
|
12094
|
+
.input(types_139.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
12095
|
+
.output(types_139.userPasskeysCapability.methods.finishAuthentication.output)
|
|
12063
12096
|
.mutation(async ({ input, ctx }) => {
|
|
12064
12097
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12065
12098
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12067,8 +12100,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12067
12100
|
return p.finishAuthentication(methodInput);
|
|
12068
12101
|
}),
|
|
12069
12102
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12070
|
-
.input(
|
|
12071
|
-
.output(
|
|
12103
|
+
.input(types_139.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
12104
|
+
.output(types_139.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
12072
12105
|
.mutation(async ({ input, ctx }) => {
|
|
12073
12106
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12074
12107
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12076,8 +12109,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12076
12109
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
12077
12110
|
}),
|
|
12078
12111
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
12079
|
-
.input(
|
|
12080
|
-
.output(
|
|
12112
|
+
.input(types_139.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
12113
|
+
.output(types_139.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
12081
12114
|
.mutation(async ({ input, ctx }) => {
|
|
12082
12115
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12083
12116
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12085,8 +12118,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12085
12118
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
12086
12119
|
}),
|
|
12087
12120
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
12088
|
-
.input(
|
|
12089
|
-
.output(
|
|
12121
|
+
.input(types_139.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
12122
|
+
.output(types_139.userPasskeysCapability.methods.listPasskeys.output)
|
|
12090
12123
|
.query(async ({ input, ctx }) => {
|
|
12091
12124
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12092
12125
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12094,8 +12127,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12094
12127
|
return p.listPasskeys(methodInput);
|
|
12095
12128
|
}),
|
|
12096
12129
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
12097
|
-
.input(
|
|
12098
|
-
.output(
|
|
12130
|
+
.input(types_139.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
12131
|
+
.output(types_139.userPasskeysCapability.methods.removePasskey.output)
|
|
12099
12132
|
.mutation(async ({ input, ctx }) => {
|
|
12100
12133
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12101
12134
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12103,8 +12136,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12103
12136
|
return p.removePasskey(methodInput);
|
|
12104
12137
|
}),
|
|
12105
12138
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
12106
|
-
.input(
|
|
12107
|
-
.output(
|
|
12139
|
+
.input(types_139.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
12140
|
+
.output(types_139.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
12108
12141
|
.query(async ({ input, ctx }) => {
|
|
12109
12142
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12110
12143
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12112,8 +12145,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
12112
12145
|
return p.getSecondFactorPreference(methodInput);
|
|
12113
12146
|
}),
|
|
12114
12147
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
12115
|
-
.input(
|
|
12116
|
-
.output(
|
|
12148
|
+
.input(types_139.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
12149
|
+
.output(types_139.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
12117
12150
|
.mutation(async ({ input, ctx }) => {
|
|
12118
12151
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12119
12152
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12134,8 +12167,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12134
12167
|
return p.getStatus(methodInput);
|
|
12135
12168
|
}),
|
|
12136
12169
|
start: trpc_middleware_js_1.protectedProcedure
|
|
12137
|
-
.input(
|
|
12138
|
-
.output(
|
|
12170
|
+
.input(types_140.vacuumControlCapability.methods.start.input.loose())
|
|
12171
|
+
.output(types_140.vacuumControlCapability.methods.start.output)
|
|
12139
12172
|
.mutation(async ({ input, ctx }) => {
|
|
12140
12173
|
const { nodeId, ...methodInput } = input;
|
|
12141
12174
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12143,8 +12176,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12143
12176
|
return p.start(methodInput);
|
|
12144
12177
|
}),
|
|
12145
12178
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
12146
|
-
.input(
|
|
12147
|
-
.output(
|
|
12179
|
+
.input(types_140.vacuumControlCapability.methods.pause.input.loose())
|
|
12180
|
+
.output(types_140.vacuumControlCapability.methods.pause.output)
|
|
12148
12181
|
.mutation(async ({ input, ctx }) => {
|
|
12149
12182
|
const { nodeId, ...methodInput } = input;
|
|
12150
12183
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12152,8 +12185,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12152
12185
|
return p.pause(methodInput);
|
|
12153
12186
|
}),
|
|
12154
12187
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
12155
|
-
.input(
|
|
12156
|
-
.output(
|
|
12188
|
+
.input(types_140.vacuumControlCapability.methods.stop.input.loose())
|
|
12189
|
+
.output(types_140.vacuumControlCapability.methods.stop.output)
|
|
12157
12190
|
.mutation(async ({ input, ctx }) => {
|
|
12158
12191
|
const { nodeId, ...methodInput } = input;
|
|
12159
12192
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12161,8 +12194,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12161
12194
|
return p.stop(methodInput);
|
|
12162
12195
|
}),
|
|
12163
12196
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
12164
|
-
.input(
|
|
12165
|
-
.output(
|
|
12197
|
+
.input(types_140.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
12198
|
+
.output(types_140.vacuumControlCapability.methods.returnToBase.output)
|
|
12166
12199
|
.mutation(async ({ input, ctx }) => {
|
|
12167
12200
|
const { nodeId, ...methodInput } = input;
|
|
12168
12201
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12170,8 +12203,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12170
12203
|
return p.returnToBase(methodInput);
|
|
12171
12204
|
}),
|
|
12172
12205
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
12173
|
-
.input(
|
|
12174
|
-
.output(
|
|
12206
|
+
.input(types_140.vacuumControlCapability.methods.locate.input.loose())
|
|
12207
|
+
.output(types_140.vacuumControlCapability.methods.locate.output)
|
|
12175
12208
|
.mutation(async ({ input, ctx }) => {
|
|
12176
12209
|
const { nodeId, ...methodInput } = input;
|
|
12177
12210
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12179,8 +12212,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
12179
12212
|
return p.locate(methodInput);
|
|
12180
12213
|
}),
|
|
12181
12214
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
12182
|
-
.input(
|
|
12183
|
-
.output(
|
|
12215
|
+
.input(types_140.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
12216
|
+
.output(types_140.vacuumControlCapability.methods.setFanSpeed.output)
|
|
12184
12217
|
.mutation(async ({ input, ctx }) => {
|
|
12185
12218
|
const { nodeId, ...methodInput } = input;
|
|
12186
12219
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12201,8 +12234,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
12201
12234
|
return p.getStatus(methodInput);
|
|
12202
12235
|
}),
|
|
12203
12236
|
open: trpc_middleware_js_1.protectedProcedure
|
|
12204
|
-
.input(
|
|
12205
|
-
.output(
|
|
12237
|
+
.input(types_141.valveCapability.methods.open.input.loose())
|
|
12238
|
+
.output(types_141.valveCapability.methods.open.output)
|
|
12206
12239
|
.mutation(async ({ input, ctx }) => {
|
|
12207
12240
|
const { nodeId, ...methodInput } = input;
|
|
12208
12241
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12210,8 +12243,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
12210
12243
|
return p.open(methodInput);
|
|
12211
12244
|
}),
|
|
12212
12245
|
close: trpc_middleware_js_1.protectedProcedure
|
|
12213
|
-
.input(
|
|
12214
|
-
.output(
|
|
12246
|
+
.input(types_141.valveCapability.methods.close.input.loose())
|
|
12247
|
+
.output(types_141.valveCapability.methods.close.output)
|
|
12215
12248
|
.mutation(async ({ input, ctx }) => {
|
|
12216
12249
|
const { nodeId, ...methodInput } = input;
|
|
12217
12250
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12219,8 +12252,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
12219
12252
|
return p.close(methodInput);
|
|
12220
12253
|
}),
|
|
12221
12254
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
12222
|
-
.input(
|
|
12223
|
-
.output(
|
|
12255
|
+
.input(types_141.valveCapability.methods.stop.input.loose())
|
|
12256
|
+
.output(types_141.valveCapability.methods.stop.output)
|
|
12224
12257
|
.mutation(async ({ input, ctx }) => {
|
|
12225
12258
|
const { nodeId, ...methodInput } = input;
|
|
12226
12259
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12228,8 +12261,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
12228
12261
|
return p.stop(methodInput);
|
|
12229
12262
|
}),
|
|
12230
12263
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
12231
|
-
.input(
|
|
12232
|
-
.output(
|
|
12264
|
+
.input(types_141.valveCapability.methods.setPosition.input.loose())
|
|
12265
|
+
.output(types_141.valveCapability.methods.setPosition.output)
|
|
12233
12266
|
.mutation(async ({ input, ctx }) => {
|
|
12234
12267
|
const { nodeId, ...methodInput } = input;
|
|
12235
12268
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12241,8 +12274,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
12241
12274
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
12242
12275
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12243
12276
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
12244
|
-
.input(
|
|
12245
|
-
.output(
|
|
12277
|
+
.input(types_142.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
12278
|
+
.output(types_142.vectorStoreCapability.methods.declareIndex.output)
|
|
12246
12279
|
.mutation(async ({ input, ctx }) => {
|
|
12247
12280
|
const { nodeId, ...methodInput } = input;
|
|
12248
12281
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12250,8 +12283,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12250
12283
|
return p.declareIndex(methodInput);
|
|
12251
12284
|
}),
|
|
12252
12285
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
12253
|
-
.input(
|
|
12254
|
-
.output(
|
|
12286
|
+
.input(types_142.vectorStoreCapability.methods.upsert.input.loose())
|
|
12287
|
+
.output(types_142.vectorStoreCapability.methods.upsert.output)
|
|
12255
12288
|
.mutation(async ({ input, ctx }) => {
|
|
12256
12289
|
const { nodeId, ...methodInput } = input;
|
|
12257
12290
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12259,8 +12292,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12259
12292
|
return p.upsert(methodInput);
|
|
12260
12293
|
}),
|
|
12261
12294
|
query: trpc_middleware_js_1.adminProcedure
|
|
12262
|
-
.input(
|
|
12263
|
-
.output(
|
|
12295
|
+
.input(types_142.vectorStoreCapability.methods.query.input.loose())
|
|
12296
|
+
.output(types_142.vectorStoreCapability.methods.query.output)
|
|
12264
12297
|
.query(async ({ input, ctx }) => {
|
|
12265
12298
|
const { nodeId, ...methodInput } = input;
|
|
12266
12299
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12268,8 +12301,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12268
12301
|
return p.query(methodInput);
|
|
12269
12302
|
}),
|
|
12270
12303
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
12271
|
-
.input(
|
|
12272
|
-
.output(
|
|
12304
|
+
.input(types_142.vectorStoreCapability.methods.getByIds.input.loose())
|
|
12305
|
+
.output(types_142.vectorStoreCapability.methods.getByIds.output)
|
|
12273
12306
|
.query(async ({ input, ctx }) => {
|
|
12274
12307
|
const { nodeId, ...methodInput } = input;
|
|
12275
12308
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12277,8 +12310,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12277
12310
|
return p.getByIds(methodInput);
|
|
12278
12311
|
}),
|
|
12279
12312
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
12280
|
-
.input(
|
|
12281
|
-
.output(
|
|
12313
|
+
.input(types_142.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
12314
|
+
.output(types_142.vectorStoreCapability.methods.fetchByIds.output)
|
|
12282
12315
|
.query(async ({ input, ctx }) => {
|
|
12283
12316
|
const { nodeId, ...methodInput } = input;
|
|
12284
12317
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12286,8 +12319,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12286
12319
|
return p.fetchByIds(methodInput);
|
|
12287
12320
|
}),
|
|
12288
12321
|
scan: trpc_middleware_js_1.adminProcedure
|
|
12289
|
-
.input(
|
|
12290
|
-
.output(
|
|
12322
|
+
.input(types_142.vectorStoreCapability.methods.scan.input.loose())
|
|
12323
|
+
.output(types_142.vectorStoreCapability.methods.scan.output)
|
|
12291
12324
|
.query(async ({ input, ctx }) => {
|
|
12292
12325
|
const { nodeId, ...methodInput } = input;
|
|
12293
12326
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12295,8 +12328,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12295
12328
|
return p.scan(methodInput);
|
|
12296
12329
|
}),
|
|
12297
12330
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
12298
|
-
.input(
|
|
12299
|
-
.output(
|
|
12331
|
+
.input(types_142.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
12332
|
+
.output(types_142.vectorStoreCapability.methods.deleteByIds.output)
|
|
12300
12333
|
.mutation(async ({ input, ctx }) => {
|
|
12301
12334
|
const { nodeId, ...methodInput } = input;
|
|
12302
12335
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12304,8 +12337,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12304
12337
|
return p.deleteByIds(methodInput);
|
|
12305
12338
|
}),
|
|
12306
12339
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
12307
|
-
.input(
|
|
12308
|
-
.output(
|
|
12340
|
+
.input(types_142.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
12341
|
+
.output(types_142.vectorStoreCapability.methods.deleteByFilter.output)
|
|
12309
12342
|
.mutation(async ({ input, ctx }) => {
|
|
12310
12343
|
const { nodeId, ...methodInput } = input;
|
|
12311
12344
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12313,8 +12346,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
12313
12346
|
return p.deleteByFilter(methodInput);
|
|
12314
12347
|
}),
|
|
12315
12348
|
stats: trpc_middleware_js_1.adminProcedure
|
|
12316
|
-
.input(
|
|
12317
|
-
.output(
|
|
12349
|
+
.input(types_142.vectorStoreCapability.methods.stats.input.loose())
|
|
12350
|
+
.output(types_142.vectorStoreCapability.methods.stats.output)
|
|
12318
12351
|
.query(async ({ input, ctx }) => {
|
|
12319
12352
|
const { nodeId, ...methodInput } = input;
|
|
12320
12353
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12339,8 +12372,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
12339
12372
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
12340
12373
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12341
12374
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
12342
|
-
.input(
|
|
12343
|
-
.output(
|
|
12375
|
+
.input(types_143.videoclipsCapability.methods.listClips.input.loose())
|
|
12376
|
+
.output(types_143.videoclipsCapability.methods.listClips.output)
|
|
12344
12377
|
.query(async ({ input, ctx }) => {
|
|
12345
12378
|
const { nodeId, ...methodInput } = input;
|
|
12346
12379
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12348,8 +12381,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
12348
12381
|
return p.listClips(methodInput);
|
|
12349
12382
|
}),
|
|
12350
12383
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
12351
|
-
.input(
|
|
12352
|
-
.output(
|
|
12384
|
+
.input(types_143.videoclipsCapability.methods.listSources.input.loose())
|
|
12385
|
+
.output(types_143.videoclipsCapability.methods.listSources.output)
|
|
12353
12386
|
.query(async ({ input, ctx }) => {
|
|
12354
12387
|
const { nodeId, ...methodInput } = input;
|
|
12355
12388
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12357,8 +12390,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
12357
12390
|
return p.listSources(methodInput);
|
|
12358
12391
|
}),
|
|
12359
12392
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
12360
|
-
.input(
|
|
12361
|
-
.output(
|
|
12393
|
+
.input(types_143.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
12394
|
+
.output(types_143.videoclipsCapability.methods.getClipPlayback.output)
|
|
12362
12395
|
.query(async ({ input, ctx }) => {
|
|
12363
12396
|
const { nodeId, ...methodInput } = input;
|
|
12364
12397
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12366,8 +12399,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
12366
12399
|
return p.getClipPlayback(methodInput);
|
|
12367
12400
|
}),
|
|
12368
12401
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
12369
|
-
.input(
|
|
12370
|
-
.output(
|
|
12402
|
+
.input(types_143.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
12403
|
+
.output(types_143.videoclipsCapability.methods.readClipBytes.output)
|
|
12371
12404
|
.query(async ({ input, ctx }) => {
|
|
12372
12405
|
const { nodeId, ...methodInput } = input;
|
|
12373
12406
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12382,8 +12415,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
12382
12415
|
return fn.call(p, methodInput);
|
|
12383
12416
|
}),
|
|
12384
12417
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
12385
|
-
.input(
|
|
12386
|
-
.output(
|
|
12418
|
+
.input(types_143.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
12419
|
+
.output(types_143.videoclipsCapability.methods.offerClipBytes.output)
|
|
12387
12420
|
.query(async ({ input, ctx }) => {
|
|
12388
12421
|
const { nodeId, ...methodInput } = input;
|
|
12389
12422
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12398,8 +12431,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
12398
12431
|
return fn.call(p, methodInput);
|
|
12399
12432
|
}),
|
|
12400
12433
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
12401
|
-
.input(
|
|
12402
|
-
.output(
|
|
12434
|
+
.input(types_143.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
12435
|
+
.output(types_143.videoclipsCapability.methods.dialClipStream.output)
|
|
12403
12436
|
.query(async ({ input, ctx }) => {
|
|
12404
12437
|
const { nodeId, ...methodInput } = input;
|
|
12405
12438
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12414,8 +12447,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
12414
12447
|
return fn.call(p, methodInput);
|
|
12415
12448
|
}),
|
|
12416
12449
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
12417
|
-
.input(
|
|
12418
|
-
.output(
|
|
12450
|
+
.input(types_143.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
12451
|
+
.output(types_143.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
12419
12452
|
.query(async ({ input, ctx }) => {
|
|
12420
12453
|
const { nodeId, ...methodInput } = input;
|
|
12421
12454
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12435,14 +12468,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
12435
12468
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12436
12469
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
12437
12470
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12438
|
-
.output(
|
|
12471
|
+
.output(types_144.viewerUiCapability.methods.getStaticDir.output)
|
|
12439
12472
|
.query(async ({ input, ctx }) => {
|
|
12440
12473
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12441
12474
|
return p.getStaticDir();
|
|
12442
12475
|
}),
|
|
12443
12476
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
12444
12477
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12445
|
-
.output(
|
|
12478
|
+
.output(types_144.viewerUiCapability.methods.getVersion.output)
|
|
12446
12479
|
.query(async ({ input, ctx }) => {
|
|
12447
12480
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12448
12481
|
return p.getVersion();
|
|
@@ -12461,8 +12494,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
12461
12494
|
return p.getStatus(methodInput);
|
|
12462
12495
|
}),
|
|
12463
12496
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
12464
|
-
.input(
|
|
12465
|
-
.output(
|
|
12497
|
+
.input(types_145.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
12498
|
+
.output(types_145.waterHeaterCapability.methods.setTargetTemp.output)
|
|
12466
12499
|
.mutation(async ({ input, ctx }) => {
|
|
12467
12500
|
const { nodeId, ...methodInput } = input;
|
|
12468
12501
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12470,8 +12503,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
12470
12503
|
return p.setTargetTemp(methodInput);
|
|
12471
12504
|
}),
|
|
12472
12505
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
12473
|
-
.input(
|
|
12474
|
-
.output(
|
|
12506
|
+
.input(types_145.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
12507
|
+
.output(types_145.waterHeaterCapability.methods.setOperationMode.output)
|
|
12475
12508
|
.mutation(async ({ input, ctx }) => {
|
|
12476
12509
|
const { nodeId, ...methodInput } = input;
|
|
12477
12510
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12479,8 +12512,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
12479
12512
|
return p.setOperationMode(methodInput);
|
|
12480
12513
|
}),
|
|
12481
12514
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
12482
|
-
.input(
|
|
12483
|
-
.output(
|
|
12515
|
+
.input(types_145.waterHeaterCapability.methods.setAway.input.loose())
|
|
12516
|
+
.output(types_145.waterHeaterCapability.methods.setAway.output)
|
|
12484
12517
|
.mutation(async ({ input, ctx }) => {
|
|
12485
12518
|
const { nodeId, ...methodInput } = input;
|
|
12486
12519
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12505,8 +12538,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
12505
12538
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
12506
12539
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12507
12540
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
12508
|
-
.input(
|
|
12509
|
-
.output(
|
|
12541
|
+
.input(types_146.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
12542
|
+
.output(types_146.webrtcSessionCapability.methods.listStreams.output)
|
|
12510
12543
|
.query(async ({ input, ctx }) => {
|
|
12511
12544
|
const { nodeId, ...methodInput } = input;
|
|
12512
12545
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12514,8 +12547,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12514
12547
|
return p.listStreams(methodInput);
|
|
12515
12548
|
}),
|
|
12516
12549
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
12517
|
-
.input(
|
|
12518
|
-
.output(
|
|
12550
|
+
.input(types_146.webrtcSessionCapability.methods.createSession.input.loose())
|
|
12551
|
+
.output(types_146.webrtcSessionCapability.methods.createSession.output)
|
|
12519
12552
|
.mutation(async ({ input, ctx }) => {
|
|
12520
12553
|
const { nodeId, ...methodInput } = input;
|
|
12521
12554
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12523,8 +12556,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12523
12556
|
return p.createSession(methodInput);
|
|
12524
12557
|
}),
|
|
12525
12558
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
12526
|
-
.input(
|
|
12527
|
-
.output(
|
|
12559
|
+
.input(types_146.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
12560
|
+
.output(types_146.webrtcSessionCapability.methods.handleOffer.output)
|
|
12528
12561
|
.mutation(async ({ input, ctx }) => {
|
|
12529
12562
|
const { nodeId, ...methodInput } = input;
|
|
12530
12563
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12532,8 +12565,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12532
12565
|
return p.handleOffer(methodInput);
|
|
12533
12566
|
}),
|
|
12534
12567
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
12535
|
-
.input(
|
|
12536
|
-
.output(
|
|
12568
|
+
.input(types_146.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
12569
|
+
.output(types_146.webrtcSessionCapability.methods.handleAnswer.output)
|
|
12537
12570
|
.mutation(async ({ input, ctx }) => {
|
|
12538
12571
|
const { nodeId, ...methodInput } = input;
|
|
12539
12572
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12541,8 +12574,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12541
12574
|
return p.handleAnswer(methodInput);
|
|
12542
12575
|
}),
|
|
12543
12576
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
12544
|
-
.input(
|
|
12545
|
-
.output(
|
|
12577
|
+
.input(types_146.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
12578
|
+
.output(types_146.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
12546
12579
|
.mutation(async ({ input, ctx }) => {
|
|
12547
12580
|
const { nodeId, ...methodInput } = input;
|
|
12548
12581
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12550,8 +12583,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12550
12583
|
return p.addIceCandidate(methodInput);
|
|
12551
12584
|
}),
|
|
12552
12585
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
12553
|
-
.input(
|
|
12554
|
-
.output(
|
|
12586
|
+
.input(types_146.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
12587
|
+
.output(types_146.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
12555
12588
|
.query(async ({ input, ctx }) => {
|
|
12556
12589
|
const { nodeId, ...methodInput } = input;
|
|
12557
12590
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12559,8 +12592,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12559
12592
|
return p.getIceCandidates(methodInput);
|
|
12560
12593
|
}),
|
|
12561
12594
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
12562
|
-
.input(
|
|
12563
|
-
.output(
|
|
12595
|
+
.input(types_146.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
12596
|
+
.output(types_146.webrtcSessionCapability.methods.closeSession.output)
|
|
12564
12597
|
.mutation(async ({ input, ctx }) => {
|
|
12565
12598
|
const { nodeId, ...methodInput } = input;
|
|
12566
12599
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12568,8 +12601,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12568
12601
|
return p.closeSession(methodInput);
|
|
12569
12602
|
}),
|
|
12570
12603
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
12571
|
-
.input(
|
|
12572
|
-
.output(
|
|
12604
|
+
.input(types_146.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
12605
|
+
.output(types_146.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
12573
12606
|
.query(async ({ input, ctx }) => {
|
|
12574
12607
|
const { nodeId, ...methodInput } = input;
|
|
12575
12608
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12577,8 +12610,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12577
12610
|
return p.hasAdaptiveBitrate(methodInput);
|
|
12578
12611
|
}),
|
|
12579
12612
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
12580
|
-
.input(
|
|
12581
|
-
.output(
|
|
12613
|
+
.input(types_146.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
12614
|
+
.output(types_146.webrtcSessionCapability.methods.getSessionState.output)
|
|
12582
12615
|
.query(async ({ input, ctx }) => {
|
|
12583
12616
|
const { nodeId, ...methodInput } = input;
|
|
12584
12617
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12586,8 +12619,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12586
12619
|
return p.getSessionState(methodInput);
|
|
12587
12620
|
}),
|
|
12588
12621
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
12589
|
-
.input(
|
|
12590
|
-
.output(
|
|
12622
|
+
.input(types_146.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
12623
|
+
.output(types_146.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
12591
12624
|
.mutation(async ({ input, ctx }) => {
|
|
12592
12625
|
const { nodeId, ...methodInput } = input;
|
|
12593
12626
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12595,8 +12628,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12595
12628
|
return p.applyDownlinkProbe(methodInput);
|
|
12596
12629
|
}),
|
|
12597
12630
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
12598
|
-
.input(
|
|
12599
|
-
.output(
|
|
12631
|
+
.input(types_146.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
12632
|
+
.output(types_146.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
12600
12633
|
.query(async ({ input, ctx }) => {
|
|
12601
12634
|
const { nodeId, ...methodInput } = input;
|
|
12602
12635
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12608,8 +12641,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
12608
12641
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
12609
12642
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12610
12643
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
12611
|
-
.input(
|
|
12612
|
-
.output(
|
|
12644
|
+
.input(types_147.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
12645
|
+
.output(types_147.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
12613
12646
|
.query(async ({ input, ctx }) => {
|
|
12614
12647
|
const { nodeId, ...methodInput } = input;
|
|
12615
12648
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12617,8 +12650,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
12617
12650
|
return p.getCurrentSnapshot(methodInput);
|
|
12618
12651
|
}),
|
|
12619
12652
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
12620
|
-
.input(
|
|
12621
|
-
.output(
|
|
12653
|
+
.input(types_147.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
12654
|
+
.output(types_147.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
12622
12655
|
.query(async ({ input, ctx }) => {
|
|
12623
12656
|
const { nodeId, ...methodInput } = input;
|
|
12624
12657
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12626,8 +12659,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
12626
12659
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
12627
12660
|
}),
|
|
12628
12661
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
12629
|
-
.input(
|
|
12630
|
-
.output(
|
|
12662
|
+
.input(types_147.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
12663
|
+
.output(types_147.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
12631
12664
|
.query(async ({ input, ctx }) => {
|
|
12632
12665
|
const { nodeId, ...methodInput } = input;
|
|
12633
12666
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12635,8 +12668,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
12635
12668
|
return p.getZoneHistory(methodInput);
|
|
12636
12669
|
}),
|
|
12637
12670
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
12638
|
-
.input(
|
|
12639
|
-
.output(
|
|
12671
|
+
.input(types_147.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
12672
|
+
.output(types_147.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
12640
12673
|
.query(async ({ input, ctx }) => {
|
|
12641
12674
|
const { nodeId, ...methodInput } = input;
|
|
12642
12675
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12644,8 +12677,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
12644
12677
|
return p.getCameraHistory(methodInput);
|
|
12645
12678
|
}),
|
|
12646
12679
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
12647
|
-
.input(
|
|
12648
|
-
.output(
|
|
12680
|
+
.input(types_147.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
12681
|
+
.output(types_147.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
12649
12682
|
.query(async ({ input, ctx }) => {
|
|
12650
12683
|
const { nodeId, ...methodInput } = input;
|
|
12651
12684
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12657,8 +12690,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
12657
12690
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
12658
12691
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12659
12692
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
12660
|
-
.input(
|
|
12661
|
-
.output(
|
|
12693
|
+
.input(types_148.zoneRulesCapability.methods.listRules.input.loose())
|
|
12694
|
+
.output(types_148.zoneRulesCapability.methods.listRules.output)
|
|
12662
12695
|
.query(async ({ input, ctx }) => {
|
|
12663
12696
|
const { nodeId, ...methodInput } = input;
|
|
12664
12697
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12666,8 +12699,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
12666
12699
|
return p.listRules(methodInput);
|
|
12667
12700
|
}),
|
|
12668
12701
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
12669
|
-
.input(
|
|
12670
|
-
.output(
|
|
12702
|
+
.input(types_148.zoneRulesCapability.methods.setRules.input.loose())
|
|
12703
|
+
.output(types_148.zoneRulesCapability.methods.setRules.output)
|
|
12671
12704
|
.mutation(async ({ input, ctx }) => {
|
|
12672
12705
|
const { nodeId, ...methodInput } = input;
|
|
12673
12706
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12679,8 +12712,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
12679
12712
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
12680
12713
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12681
12714
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
12682
|
-
.input(
|
|
12683
|
-
.output(
|
|
12715
|
+
.input(types_149.zonesCapability.methods.listZones.input.loose())
|
|
12716
|
+
.output(types_149.zonesCapability.methods.listZones.output)
|
|
12684
12717
|
.query(async ({ input, ctx }) => {
|
|
12685
12718
|
const { nodeId, ...methodInput } = input;
|
|
12686
12719
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12688,8 +12721,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
12688
12721
|
return p.listZones(methodInput);
|
|
12689
12722
|
}),
|
|
12690
12723
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
12691
|
-
.input(
|
|
12692
|
-
.output(
|
|
12724
|
+
.input(types_149.zonesCapability.methods.addZone.input.loose())
|
|
12725
|
+
.output(types_149.zonesCapability.methods.addZone.output)
|
|
12693
12726
|
.mutation(async ({ input, ctx }) => {
|
|
12694
12727
|
const { nodeId, ...methodInput } = input;
|
|
12695
12728
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12697,8 +12730,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
12697
12730
|
return p.addZone(methodInput);
|
|
12698
12731
|
}),
|
|
12699
12732
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
12700
|
-
.input(
|
|
12701
|
-
.output(
|
|
12733
|
+
.input(types_149.zonesCapability.methods.removeZone.input.loose())
|
|
12734
|
+
.output(types_149.zonesCapability.methods.removeZone.output)
|
|
12702
12735
|
.mutation(async ({ input, ctx }) => {
|
|
12703
12736
|
const { nodeId, ...methodInput } = input;
|
|
12704
12737
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12706,8 +12739,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
12706
12739
|
return p.removeZone(methodInput);
|
|
12707
12740
|
}),
|
|
12708
12741
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
12709
|
-
.input(
|
|
12710
|
-
.output(
|
|
12742
|
+
.input(types_149.zonesCapability.methods.updateZone.input.loose())
|
|
12743
|
+
.output(types_149.zonesCapability.methods.updateZone.output)
|
|
12711
12744
|
.mutation(async ({ input, ctx }) => {
|
|
12712
12745
|
const { nodeId, ...methodInput } = input;
|
|
12713
12746
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|