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