@camstack/server 1.2.876 → 1.2.878
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +308 -256
- package/package.json +10 -9
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/actions-store.d.ts +2 -0
- package/system/dist/builtins/core-blocks/core-block-store.d.ts +6 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +3 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +410 -9
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +410 -9
- package/system/dist/builtins/core-blocks/record-kinds.d.ts +11 -1
- package/system/dist/builtins/core-blocks/scheduler/scheduler-store.d.ts +6 -0
- package/system/dist/builtins/core-blocks/tags-service.d.ts +50 -0
- package/system/dist/builtins/core-blocks/tags-wiring.d.ts +16 -0
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +59 -5
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +59 -5
- package/system/dist/builtins/device-manager/device-meta-actions.d.ts +6 -0
- package/system/dist/builtins/device-manager/device-meta-types.d.ts +2 -0
- package/system/dist/builtins/device-manager/device-row-store.d.ts +1 -0
- package/system/dist/builtins/device-manager/device-template/template-grammar.d.ts +15 -1
- package/system/dist/builtins/device-manager/device-template/template-protocol.d.ts +8 -0
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-DtuMWHR3.js → capture-engine-DAGmlBmJ.js} +1 -1
- package/system/dist/{capture-engine-Bao8AioF.mjs → capture-engine-vlouhBCY.mjs} +1 -1
- package/system/dist/{composition-sources-DPSSQaGb.js → composition-sources-Rm8xDXjA.js} +1 -1
- package/system/dist/{composition-sources-CCoQYZna.mjs → composition-sources-TeHa4THk.mjs} +1 -1
- package/system/dist/{constants-BQNuuICz.mjs → constants-Bq1Xl_Ku.mjs} +1 -1
- package/system/dist/{constants-wcqPhWGp.js → constants-DnUpXvIY.js} +1 -1
- package/system/dist/{device-ca-CDsYbRF8.js → device-ca-DMudhY-2.js} +1 -1
- package/system/dist/{device-ca-DvK5zoNx.mjs → device-ca-yHLgyutP.mjs} +1 -1
- package/system/dist/device-template-worker.js +26 -3
- package/system/dist/device-template-worker.mjs +26 -3
- package/system/dist/{dist-CdW0TjIj.js → dist-Bh5JIimH.js} +1704 -1178
- package/system/dist/{dist-DcH8pKL-.mjs → dist-DemZNuSJ.mjs} +1651 -1179
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-DOyLUW_7.mjs → hub-identity-BxaJKDQk.mjs} +1 -1
- package/system/dist/{hub-identity-BRxxw7hh.js → hub-identity-YfGdAaBm.js} +1 -1
- package/system/dist/{hub-mdns-ciao-lO2BAONK.js → hub-mdns-ciao-BkWOmG6H.js} +2 -2
- package/system/dist/{hub-mdns-ciao-9IzOmoit.mjs → hub-mdns-ciao-aIsTpo0F.mjs} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-DBL83TzQ.js → legacy-integration-rows-door-C9PZZiKH.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-CTxk0fz7.mjs → legacy-integration-rows-door-DrfZZHWq.mjs} +1 -1
- package/system/dist/{rename-composition-block-DK9CVk1U.mjs → rename-composition-block-C2KFIOMP.mjs} +1 -1
- package/system/dist/{rename-composition-block-CKZqCPQF.js → rename-composition-block-Qp1dW4FP.js} +1 -1
- package/system/dist/{restore-archive-2OReGcRK.js → restore-archive-DGgj7aqA.js} +1 -1
- package/system/dist/{restore-archive-CruwV_-u.mjs → restore-archive-D_K6PqRk.mjs} +1 -1
- package/system/dist/{template-protocol-DRZ4cm95.js → template-protocol-D5ogm1rj.js} +8 -44
- package/system/dist/{template-protocol-D_6uVHKs.mjs → template-protocol-SgPDx3Hw.mjs} +8 -44
- package/system/dist/{wal-maintenance-DgFSFQH0.mjs → wal-maintenance-BuiSFfF2.mjs} +0 -0
- package/system/dist/{wal-maintenance-CN7sdJj-.js → wal-maintenance-DD8mfRDn.js} +0 -0
- package/system/package.json +4 -1
|
@@ -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: 209
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -189,6 +189,7 @@ exports.createCapRouter_streamParams = createCapRouter_streamParams;
|
|
|
189
189
|
exports.createCapRouter_streamSignals = createCapRouter_streamSignals;
|
|
190
190
|
exports.createCapRouter_switch = createCapRouter_switch;
|
|
191
191
|
exports.createCapRouter_system = createCapRouter_system;
|
|
192
|
+
exports.createCapRouter_tags = createCapRouter_tags;
|
|
192
193
|
exports.createCapRouter_tamper = createCapRouter_tamper;
|
|
193
194
|
exports.createCapRouter_temperatureSensor = createCapRouter_temperatureSensor;
|
|
194
195
|
exports.createCapRouter_template = createCapRouter_template;
|
|
@@ -391,6 +392,7 @@ const types_170 = require("@camstack/types");
|
|
|
391
392
|
const types_171 = require("@camstack/types");
|
|
392
393
|
const types_172 = require("@camstack/types");
|
|
393
394
|
const types_173 = require("@camstack/types");
|
|
395
|
+
const types_174 = require("@camstack/types");
|
|
394
396
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
395
397
|
function requireCapProvider(name, getProvider) {
|
|
396
398
|
const p = getProvider();
|
|
@@ -3547,6 +3549,16 @@ function createCapRouter_deviceManager(getProvider, createRemoteProxy) {
|
|
|
3547
3549
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3548
3550
|
return p.setLocation(methodInput);
|
|
3549
3551
|
}),
|
|
3552
|
+
setTags: trpc_middleware_js_1.adminProcedure
|
|
3553
|
+
.input(types_53.deviceManagerCapability.methods.setTags.input.loose())
|
|
3554
|
+
.output(types_53.deviceManagerCapability.methods.setTags.output)
|
|
3555
|
+
.mutation(async ({ input, ctx }) => {
|
|
3556
|
+
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
3557
|
+
const { nodeId, ...methodInput } = parsedInput;
|
|
3558
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
3559
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3560
|
+
return p.setTags(methodInput);
|
|
3561
|
+
}),
|
|
3550
3562
|
setType: trpc_middleware_js_1.adminProcedure
|
|
3551
3563
|
.input(types_53.deviceManagerCapability.methods.setType.input.loose())
|
|
3552
3564
|
.output(types_53.deviceManagerCapability.methods.setType.output)
|
|
@@ -13430,6 +13442,46 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
13430
13442
|
}),
|
|
13431
13443
|
});
|
|
13432
13444
|
}
|
|
13445
|
+
function createCapRouter_tags(getProvider, createRemoteProxy) {
|
|
13446
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13447
|
+
list: trpc_middleware_js_1.protectedProcedure
|
|
13448
|
+
.input(types_154.tagsCapability.methods.list.input.loose())
|
|
13449
|
+
.output(types_154.tagsCapability.methods.list.output)
|
|
13450
|
+
.query(async ({ input, ctx }) => {
|
|
13451
|
+
const { nodeId, ...methodInput } = input;
|
|
13452
|
+
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13453
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
13454
|
+
return p.list(methodInput);
|
|
13455
|
+
}),
|
|
13456
|
+
setStyle: trpc_middleware_js_1.adminProcedure
|
|
13457
|
+
.input(types_154.tagsCapability.methods.setStyle.input.loose())
|
|
13458
|
+
.output(types_154.tagsCapability.methods.setStyle.output)
|
|
13459
|
+
.mutation(async ({ input, ctx }) => {
|
|
13460
|
+
const { nodeId, ...methodInput } = input;
|
|
13461
|
+
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13462
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
13463
|
+
return p.setStyle(methodInput);
|
|
13464
|
+
}),
|
|
13465
|
+
rename: trpc_middleware_js_1.adminProcedure
|
|
13466
|
+
.input(types_154.tagsCapability.methods.rename.input.loose())
|
|
13467
|
+
.output(types_154.tagsCapability.methods.rename.output)
|
|
13468
|
+
.mutation(async ({ input, ctx }) => {
|
|
13469
|
+
const { nodeId, ...methodInput } = input;
|
|
13470
|
+
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13471
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
13472
|
+
return p.rename(methodInput);
|
|
13473
|
+
}),
|
|
13474
|
+
remove: trpc_middleware_js_1.adminProcedure
|
|
13475
|
+
.input(types_154.tagsCapability.methods.remove.input.loose())
|
|
13476
|
+
.output(types_154.tagsCapability.methods.remove.output)
|
|
13477
|
+
.mutation(async ({ input, ctx }) => {
|
|
13478
|
+
const { nodeId, ...methodInput } = input;
|
|
13479
|
+
const p = resolveProvider('tags', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13480
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
13481
|
+
return p.remove(methodInput);
|
|
13482
|
+
}),
|
|
13483
|
+
});
|
|
13484
|
+
}
|
|
13433
13485
|
function createCapRouter_tamper(getProvider, createRemoteProxy) {
|
|
13434
13486
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13435
13487
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -13459,8 +13511,8 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
13459
13511
|
function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
13460
13512
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13461
13513
|
list: trpc_middleware_js_1.protectedProcedure
|
|
13462
|
-
.input(
|
|
13463
|
-
.output(
|
|
13514
|
+
.input(types_155.templateCapability.methods.list.input.loose())
|
|
13515
|
+
.output(types_155.templateCapability.methods.list.output)
|
|
13464
13516
|
.query(async ({ input, ctx }) => {
|
|
13465
13517
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13466
13518
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13468,8 +13520,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13468
13520
|
return p.list(methodInput);
|
|
13469
13521
|
}),
|
|
13470
13522
|
get: trpc_middleware_js_1.protectedProcedure
|
|
13471
|
-
.input(
|
|
13472
|
-
.output(
|
|
13523
|
+
.input(types_155.templateCapability.methods.get.input.loose())
|
|
13524
|
+
.output(types_155.templateCapability.methods.get.output)
|
|
13473
13525
|
.query(async ({ input, ctx }) => {
|
|
13474
13526
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13475
13527
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13477,8 +13529,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13477
13529
|
return p.get(methodInput);
|
|
13478
13530
|
}),
|
|
13479
13531
|
create: trpc_middleware_js_1.adminProcedure
|
|
13480
|
-
.input(
|
|
13481
|
-
.output(
|
|
13532
|
+
.input(types_155.templateCapability.methods.create.input.loose())
|
|
13533
|
+
.output(types_155.templateCapability.methods.create.output)
|
|
13482
13534
|
.mutation(async ({ input, ctx }) => {
|
|
13483
13535
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13484
13536
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13486,8 +13538,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13486
13538
|
return p.create(methodInput);
|
|
13487
13539
|
}),
|
|
13488
13540
|
update: trpc_middleware_js_1.adminProcedure
|
|
13489
|
-
.input(
|
|
13490
|
-
.output(
|
|
13541
|
+
.input(types_155.templateCapability.methods.update.input.loose())
|
|
13542
|
+
.output(types_155.templateCapability.methods.update.output)
|
|
13491
13543
|
.mutation(async ({ input, ctx }) => {
|
|
13492
13544
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13493
13545
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13495,8 +13547,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
13495
13547
|
return p.update(methodInput);
|
|
13496
13548
|
}),
|
|
13497
13549
|
delete: trpc_middleware_js_1.adminProcedure
|
|
13498
|
-
.input(
|
|
13499
|
-
.output(
|
|
13550
|
+
.input(types_155.templateCapability.methods.delete.input.loose())
|
|
13551
|
+
.output(types_155.templateCapability.methods.delete.output)
|
|
13500
13552
|
.mutation(async ({ input, ctx }) => {
|
|
13501
13553
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13502
13554
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13509,21 +13561,21 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13509
13561
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13510
13562
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
13511
13563
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13512
|
-
.output(
|
|
13564
|
+
.output(types_156.terminalSessionCapability.methods.listProfiles.output)
|
|
13513
13565
|
.query(async ({ input, ctx }) => {
|
|
13514
13566
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13515
13567
|
return p.listProfiles();
|
|
13516
13568
|
}),
|
|
13517
13569
|
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
13518
13570
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13519
|
-
.output(
|
|
13571
|
+
.output(types_156.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
13520
13572
|
.query(async ({ input, ctx }) => {
|
|
13521
13573
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13522
13574
|
return p.listLegacyCameras();
|
|
13523
13575
|
}),
|
|
13524
13576
|
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
13525
|
-
.input(
|
|
13526
|
-
.output(
|
|
13577
|
+
.input(types_156.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
13578
|
+
.output(types_156.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
13527
13579
|
.mutation(async ({ input, ctx }) => {
|
|
13528
13580
|
const { nodeId, ...methodInput } = input;
|
|
13529
13581
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13532,21 +13584,21 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13532
13584
|
}),
|
|
13533
13585
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
13534
13586
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13535
|
-
.output(
|
|
13587
|
+
.output(types_156.terminalSessionCapability.methods.listSessions.output)
|
|
13536
13588
|
.query(async ({ input, ctx }) => {
|
|
13537
13589
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13538
13590
|
return p.listSessions();
|
|
13539
13591
|
}),
|
|
13540
13592
|
serverShellStatus: trpc_middleware_js_1.adminProcedure
|
|
13541
13593
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13542
|
-
.output(
|
|
13594
|
+
.output(types_156.terminalSessionCapability.methods.serverShellStatus.output)
|
|
13543
13595
|
.query(async ({ input, ctx }) => {
|
|
13544
13596
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13545
13597
|
return p.serverShellStatus();
|
|
13546
13598
|
}),
|
|
13547
13599
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
13548
|
-
.input(
|
|
13549
|
-
.output(
|
|
13600
|
+
.input(types_156.terminalSessionCapability.methods.openSession.input.loose())
|
|
13601
|
+
.output(types_156.terminalSessionCapability.methods.openSession.output)
|
|
13550
13602
|
.mutation(async ({ input, ctx }) => {
|
|
13551
13603
|
const { nodeId, ...methodInput } = input;
|
|
13552
13604
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13554,8 +13606,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13554
13606
|
return p.openSession(methodInput);
|
|
13555
13607
|
}),
|
|
13556
13608
|
resize: trpc_middleware_js_1.adminProcedure
|
|
13557
|
-
.input(
|
|
13558
|
-
.output(
|
|
13609
|
+
.input(types_156.terminalSessionCapability.methods.resize.input.loose())
|
|
13610
|
+
.output(types_156.terminalSessionCapability.methods.resize.output)
|
|
13559
13611
|
.mutation(async ({ input, ctx }) => {
|
|
13560
13612
|
const { nodeId, ...methodInput } = input;
|
|
13561
13613
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13563,8 +13615,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13563
13615
|
return p.resize(methodInput);
|
|
13564
13616
|
}),
|
|
13565
13617
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
13566
|
-
.input(
|
|
13567
|
-
.output(
|
|
13618
|
+
.input(types_156.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
13619
|
+
.output(types_156.terminalSessionCapability.methods.pullOutput.output)
|
|
13568
13620
|
.mutation(async ({ input, ctx }) => {
|
|
13569
13621
|
const { nodeId, ...methodInput } = input;
|
|
13570
13622
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13572,8 +13624,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13572
13624
|
return p.pullOutput(methodInput);
|
|
13573
13625
|
}),
|
|
13574
13626
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
13575
|
-
.input(
|
|
13576
|
-
.output(
|
|
13627
|
+
.input(types_156.terminalSessionCapability.methods.writeInput.input.loose())
|
|
13628
|
+
.output(types_156.terminalSessionCapability.methods.writeInput.output)
|
|
13577
13629
|
.mutation(async ({ input, ctx }) => {
|
|
13578
13630
|
const { nodeId, ...methodInput } = input;
|
|
13579
13631
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13581,8 +13633,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13581
13633
|
return p.writeInput(methodInput);
|
|
13582
13634
|
}),
|
|
13583
13635
|
close: trpc_middleware_js_1.adminProcedure
|
|
13584
|
-
.input(
|
|
13585
|
-
.output(
|
|
13636
|
+
.input(types_156.terminalSessionCapability.methods.close.input.loose())
|
|
13637
|
+
.output(types_156.terminalSessionCapability.methods.close.output)
|
|
13586
13638
|
.mutation(async ({ input, ctx }) => {
|
|
13587
13639
|
const { nodeId, ...methodInput } = input;
|
|
13588
13640
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13603,8 +13655,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13603
13655
|
return p.getStatus(methodInput);
|
|
13604
13656
|
}),
|
|
13605
13657
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
13606
|
-
.input(
|
|
13607
|
-
.output(
|
|
13658
|
+
.input(types_157.timedRunCapability.methods.getOptions.input.loose())
|
|
13659
|
+
.output(types_157.timedRunCapability.methods.getOptions.output)
|
|
13608
13660
|
.query(async ({ input, ctx }) => {
|
|
13609
13661
|
const { nodeId, ...methodInput } = input;
|
|
13610
13662
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13612,8 +13664,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13612
13664
|
return p.getOptions(methodInput);
|
|
13613
13665
|
}),
|
|
13614
13666
|
setSettings: trpc_middleware_js_1.adminProcedure
|
|
13615
|
-
.input(
|
|
13616
|
-
.output(
|
|
13667
|
+
.input(types_157.timedRunCapability.methods.setSettings.input.loose())
|
|
13668
|
+
.output(types_157.timedRunCapability.methods.setSettings.output)
|
|
13617
13669
|
.mutation(async ({ input, ctx }) => {
|
|
13618
13670
|
const { nodeId, ...methodInput } = input;
|
|
13619
13671
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13621,8 +13673,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13621
13673
|
return p.setSettings(methodInput);
|
|
13622
13674
|
}),
|
|
13623
13675
|
runFor: trpc_middleware_js_1.protectedProcedure
|
|
13624
|
-
.input(
|
|
13625
|
-
.output(
|
|
13676
|
+
.input(types_157.timedRunCapability.methods.runFor.input.loose())
|
|
13677
|
+
.output(types_157.timedRunCapability.methods.runFor.output)
|
|
13626
13678
|
.mutation(async ({ input, ctx }) => {
|
|
13627
13679
|
const { nodeId, ...methodInput } = input;
|
|
13628
13680
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13630,8 +13682,8 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13630
13682
|
return p.runFor(methodInput);
|
|
13631
13683
|
}),
|
|
13632
13684
|
cancel: trpc_middleware_js_1.protectedProcedure
|
|
13633
|
-
.input(
|
|
13634
|
-
.output(
|
|
13685
|
+
.input(types_157.timedRunCapability.methods.cancel.input.loose())
|
|
13686
|
+
.output(types_157.timedRunCapability.methods.cancel.output)
|
|
13635
13687
|
.mutation(async ({ input, ctx }) => {
|
|
13636
13688
|
const { nodeId, ...methodInput } = input;
|
|
13637
13689
|
const p = resolveProvider('timed-run', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13643,7 +13695,7 @@ function createCapRouter_timedRun(getProvider, createRemoteProxy) {
|
|
|
13643
13695
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
13644
13696
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13645
13697
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
13646
|
-
.input(
|
|
13698
|
+
.input(types_158.toastCapability.methods.onToast.input)
|
|
13647
13699
|
.subscription(({ input, ctx }) => {
|
|
13648
13700
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
13649
13701
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -13655,8 +13707,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
13655
13707
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
13656
13708
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13657
13709
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
13658
|
-
.input(
|
|
13659
|
-
.output(
|
|
13710
|
+
.input(types_159.trainingCapability.methods.listBaseModels.input.loose())
|
|
13711
|
+
.output(types_159.trainingCapability.methods.listBaseModels.output)
|
|
13660
13712
|
.query(async ({ input, ctx }) => {
|
|
13661
13713
|
const { nodeId, ...methodInput } = input;
|
|
13662
13714
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13664,8 +13716,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13664
13716
|
return p.listBaseModels(methodInput);
|
|
13665
13717
|
}),
|
|
13666
13718
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
13667
|
-
.input(
|
|
13668
|
-
.output(
|
|
13719
|
+
.input(types_159.trainingCapability.methods.planJob.input.loose())
|
|
13720
|
+
.output(types_159.trainingCapability.methods.planJob.output)
|
|
13669
13721
|
.query(async ({ input, ctx }) => {
|
|
13670
13722
|
const { nodeId, ...methodInput } = input;
|
|
13671
13723
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13673,8 +13725,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13673
13725
|
return p.planJob(methodInput);
|
|
13674
13726
|
}),
|
|
13675
13727
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
13676
|
-
.input(
|
|
13677
|
-
.output(
|
|
13728
|
+
.input(types_159.trainingCapability.methods.startJob.input.loose())
|
|
13729
|
+
.output(types_159.trainingCapability.methods.startJob.output)
|
|
13678
13730
|
.mutation(async ({ input, ctx }) => {
|
|
13679
13731
|
const { nodeId, ...methodInput } = input;
|
|
13680
13732
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13682,8 +13734,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13682
13734
|
return p.startJob(methodInput);
|
|
13683
13735
|
}),
|
|
13684
13736
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
13685
|
-
.input(
|
|
13686
|
-
.output(
|
|
13737
|
+
.input(types_159.trainingCapability.methods.startJobBatch.input.loose())
|
|
13738
|
+
.output(types_159.trainingCapability.methods.startJobBatch.output)
|
|
13687
13739
|
.mutation(async ({ input, ctx }) => {
|
|
13688
13740
|
const { nodeId, ...methodInput } = input;
|
|
13689
13741
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13691,8 +13743,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13691
13743
|
return p.startJobBatch(methodInput);
|
|
13692
13744
|
}),
|
|
13693
13745
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
13694
|
-
.input(
|
|
13695
|
-
.output(
|
|
13746
|
+
.input(types_159.trainingCapability.methods.listJobs.input.loose())
|
|
13747
|
+
.output(types_159.trainingCapability.methods.listJobs.output)
|
|
13696
13748
|
.query(async ({ input, ctx }) => {
|
|
13697
13749
|
const { nodeId, ...methodInput } = input;
|
|
13698
13750
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13700,8 +13752,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13700
13752
|
return p.listJobs(methodInput);
|
|
13701
13753
|
}),
|
|
13702
13754
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
13703
|
-
.input(
|
|
13704
|
-
.output(
|
|
13755
|
+
.input(types_159.trainingCapability.methods.getJob.input.loose())
|
|
13756
|
+
.output(types_159.trainingCapability.methods.getJob.output)
|
|
13705
13757
|
.query(async ({ input, ctx }) => {
|
|
13706
13758
|
const { nodeId, ...methodInput } = input;
|
|
13707
13759
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13709,8 +13761,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13709
13761
|
return p.getJob(methodInput);
|
|
13710
13762
|
}),
|
|
13711
13763
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
13712
|
-
.input(
|
|
13713
|
-
.output(
|
|
13764
|
+
.input(types_159.trainingCapability.methods.cancelJob.input.loose())
|
|
13765
|
+
.output(types_159.trainingCapability.methods.cancelJob.output)
|
|
13714
13766
|
.mutation(async ({ input, ctx }) => {
|
|
13715
13767
|
const { nodeId, ...methodInput } = input;
|
|
13716
13768
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13718,8 +13770,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13718
13770
|
return p.cancelJob(methodInput);
|
|
13719
13771
|
}),
|
|
13720
13772
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
13721
|
-
.input(
|
|
13722
|
-
.output(
|
|
13773
|
+
.input(types_159.trainingCapability.methods.getJobResult.input.loose())
|
|
13774
|
+
.output(types_159.trainingCapability.methods.getJobResult.output)
|
|
13723
13775
|
.query(async ({ input, ctx }) => {
|
|
13724
13776
|
const { nodeId, ...methodInput } = input;
|
|
13725
13777
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13728,14 +13780,14 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13728
13780
|
}),
|
|
13729
13781
|
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
13730
13782
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13731
|
-
.output(
|
|
13783
|
+
.output(types_159.trainingCapability.methods.listCanaryTargets.output)
|
|
13732
13784
|
.query(async ({ input, ctx }) => {
|
|
13733
13785
|
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13734
13786
|
return p.listCanaryTargets();
|
|
13735
13787
|
}),
|
|
13736
13788
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
13737
|
-
.input(
|
|
13738
|
-
.output(
|
|
13789
|
+
.input(types_159.trainingCapability.methods.registerResult.input.loose())
|
|
13790
|
+
.output(types_159.trainingCapability.methods.registerResult.output)
|
|
13739
13791
|
.mutation(async ({ input, ctx }) => {
|
|
13740
13792
|
const { nodeId, ...methodInput } = input;
|
|
13741
13793
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13743,8 +13795,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13743
13795
|
return p.registerResult(methodInput);
|
|
13744
13796
|
}),
|
|
13745
13797
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
13746
|
-
.input(
|
|
13747
|
-
.output(
|
|
13798
|
+
.input(types_159.trainingCapability.methods.canaryResult.input.loose())
|
|
13799
|
+
.output(types_159.trainingCapability.methods.canaryResult.output)
|
|
13748
13800
|
.mutation(async ({ input, ctx }) => {
|
|
13749
13801
|
const { nodeId, ...methodInput } = input;
|
|
13750
13802
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13752,8 +13804,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13752
13804
|
return p.canaryResult(methodInput);
|
|
13753
13805
|
}),
|
|
13754
13806
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
13755
|
-
.input(
|
|
13756
|
-
.output(
|
|
13807
|
+
.input(types_159.trainingCapability.methods.rollbackCanary.input.loose())
|
|
13808
|
+
.output(types_159.trainingCapability.methods.rollbackCanary.output)
|
|
13757
13809
|
.mutation(async ({ input, ctx }) => {
|
|
13758
13810
|
const { nodeId, ...methodInput } = input;
|
|
13759
13811
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13761,8 +13813,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13761
13813
|
return p.rollbackCanary(methodInput);
|
|
13762
13814
|
}),
|
|
13763
13815
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
13764
|
-
.input(
|
|
13765
|
-
.output(
|
|
13816
|
+
.input(types_159.trainingCapability.methods.discardResult.input.loose())
|
|
13817
|
+
.output(types_159.trainingCapability.methods.discardResult.output)
|
|
13766
13818
|
.mutation(async ({ input, ctx }) => {
|
|
13767
13819
|
const { nodeId, ...methodInput } = input;
|
|
13768
13820
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13774,8 +13826,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
13774
13826
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
13775
13827
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13776
13828
|
describe: trpc_middleware_js_1.adminProcedure
|
|
13777
|
-
.input(
|
|
13778
|
-
.output(
|
|
13829
|
+
.input(types_160.trainingProviderCapability.methods.describe.input.loose())
|
|
13830
|
+
.output(types_160.trainingProviderCapability.methods.describe.output)
|
|
13779
13831
|
.query(async ({ input, ctx }) => {
|
|
13780
13832
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13781
13833
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13783,8 +13835,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13783
13835
|
return p.describe(methodInput);
|
|
13784
13836
|
}),
|
|
13785
13837
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
13786
|
-
.input(
|
|
13787
|
-
.output(
|
|
13838
|
+
.input(types_160.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
13839
|
+
.output(types_160.trainingProviderCapability.methods.describeTypes.output)
|
|
13788
13840
|
.query(async ({ input, ctx }) => {
|
|
13789
13841
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13790
13842
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13792,8 +13844,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13792
13844
|
return p.describeTypes(methodInput);
|
|
13793
13845
|
}),
|
|
13794
13846
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
13795
|
-
.input(
|
|
13796
|
-
.output(
|
|
13847
|
+
.input(types_160.trainingProviderCapability.methods.listEntries.input.loose())
|
|
13848
|
+
.output(types_160.trainingProviderCapability.methods.listEntries.output)
|
|
13797
13849
|
.query(async ({ input, ctx }) => {
|
|
13798
13850
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13799
13851
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13801,8 +13853,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13801
13853
|
return p.listEntries(methodInput);
|
|
13802
13854
|
}),
|
|
13803
13855
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
13804
|
-
.input(
|
|
13805
|
-
.output(
|
|
13856
|
+
.input(types_160.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
13857
|
+
.output(types_160.trainingProviderCapability.methods.estimateJob.output)
|
|
13806
13858
|
.query(async ({ input, ctx }) => {
|
|
13807
13859
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13808
13860
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13810,8 +13862,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13810
13862
|
return p.estimateJob(methodInput);
|
|
13811
13863
|
}),
|
|
13812
13864
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
13813
|
-
.input(
|
|
13814
|
-
.output(
|
|
13865
|
+
.input(types_160.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
13866
|
+
.output(types_160.trainingProviderCapability.methods.uploadDataset.output)
|
|
13815
13867
|
.mutation(async ({ input, ctx }) => {
|
|
13816
13868
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13817
13869
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13819,8 +13871,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13819
13871
|
return p.uploadDataset(methodInput);
|
|
13820
13872
|
}),
|
|
13821
13873
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
13822
|
-
.input(
|
|
13823
|
-
.output(
|
|
13874
|
+
.input(types_160.trainingProviderCapability.methods.submitJob.input.loose())
|
|
13875
|
+
.output(types_160.trainingProviderCapability.methods.submitJob.output)
|
|
13824
13876
|
.mutation(async ({ input, ctx }) => {
|
|
13825
13877
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13826
13878
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13828,8 +13880,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13828
13880
|
return p.submitJob(methodInput);
|
|
13829
13881
|
}),
|
|
13830
13882
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
13831
|
-
.input(
|
|
13832
|
-
.output(
|
|
13883
|
+
.input(types_160.trainingProviderCapability.methods.getJob.input.loose())
|
|
13884
|
+
.output(types_160.trainingProviderCapability.methods.getJob.output)
|
|
13833
13885
|
.query(async ({ input, ctx }) => {
|
|
13834
13886
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13835
13887
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13837,8 +13889,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13837
13889
|
return p.getJob(methodInput);
|
|
13838
13890
|
}),
|
|
13839
13891
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
13840
|
-
.input(
|
|
13841
|
-
.output(
|
|
13892
|
+
.input(types_160.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
13893
|
+
.output(types_160.trainingProviderCapability.methods.listJobEvents.output)
|
|
13842
13894
|
.query(async ({ input, ctx }) => {
|
|
13843
13895
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13844
13896
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13846,8 +13898,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13846
13898
|
return p.listJobEvents(methodInput);
|
|
13847
13899
|
}),
|
|
13848
13900
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
13849
|
-
.input(
|
|
13850
|
-
.output(
|
|
13901
|
+
.input(types_160.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
13902
|
+
.output(types_160.trainingProviderCapability.methods.cancelJob.output)
|
|
13851
13903
|
.mutation(async ({ input, ctx }) => {
|
|
13852
13904
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13853
13905
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13855,8 +13907,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13855
13907
|
return p.cancelJob(methodInput);
|
|
13856
13908
|
}),
|
|
13857
13909
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
13858
|
-
.input(
|
|
13859
|
-
.output(
|
|
13910
|
+
.input(types_160.trainingProviderCapability.methods.readResult.input.loose())
|
|
13911
|
+
.output(types_160.trainingProviderCapability.methods.readResult.output)
|
|
13860
13912
|
.mutation(async ({ input, ctx }) => {
|
|
13861
13913
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13862
13914
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13864,8 +13916,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13864
13916
|
return p.readResult(methodInput);
|
|
13865
13917
|
}),
|
|
13866
13918
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
13867
|
-
.input(
|
|
13868
|
-
.output(
|
|
13919
|
+
.input(types_160.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
13920
|
+
.output(types_160.trainingProviderCapability.methods.offerArtifact.output)
|
|
13869
13921
|
.mutation(async ({ input, ctx }) => {
|
|
13870
13922
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13871
13923
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13873,8 +13925,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13873
13925
|
return p.offerArtifact(methodInput);
|
|
13874
13926
|
}),
|
|
13875
13927
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
13876
|
-
.input(
|
|
13877
|
-
.output(
|
|
13928
|
+
.input(types_160.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
13929
|
+
.output(types_160.trainingProviderCapability.methods.cleanupJob.output)
|
|
13878
13930
|
.mutation(async ({ input, ctx }) => {
|
|
13879
13931
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13880
13932
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13882,8 +13934,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
13882
13934
|
return p.cleanupJob(methodInput);
|
|
13883
13935
|
}),
|
|
13884
13936
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
13885
|
-
.input(
|
|
13886
|
-
.output(
|
|
13937
|
+
.input(types_160.trainingProviderCapability.methods.listJobs.input.loose())
|
|
13938
|
+
.output(types_160.trainingProviderCapability.methods.listJobs.output)
|
|
13887
13939
|
.query(async ({ input, ctx }) => {
|
|
13888
13940
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13889
13941
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13896,7 +13948,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
13896
13948
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13897
13949
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
13898
13950
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
13899
|
-
.output(
|
|
13951
|
+
.output(types_161.turnProviderCapability.methods.getTurnServers.output)
|
|
13900
13952
|
.query(async ({ input, ctx }) => {
|
|
13901
13953
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
13902
13954
|
return p.getTurnServers();
|
|
@@ -13916,7 +13968,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
13916
13968
|
}),
|
|
13917
13969
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
13918
13970
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13919
|
-
.output(
|
|
13971
|
+
.output(types_162.updateCapability.methods.installUpdate.output)
|
|
13920
13972
|
.mutation(async ({ input, ctx }) => {
|
|
13921
13973
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13922
13974
|
return p.installUpdate();
|
|
@@ -13927,21 +13979,21 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13927
13979
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13928
13980
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
13929
13981
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13930
|
-
.output(
|
|
13982
|
+
.output(types_163.userManagementCapability.methods.listUsers.output)
|
|
13931
13983
|
.query(async ({ input, ctx }) => {
|
|
13932
13984
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13933
13985
|
return p.listUsers();
|
|
13934
13986
|
}),
|
|
13935
13987
|
getAdminBootstrapStatus: trpc_middleware_js_1.adminProcedure
|
|
13936
13988
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13937
|
-
.output(
|
|
13989
|
+
.output(types_163.userManagementCapability.methods.getAdminBootstrapStatus.output)
|
|
13938
13990
|
.query(async ({ input, ctx }) => {
|
|
13939
13991
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13940
13992
|
return p.getAdminBootstrapStatus();
|
|
13941
13993
|
}),
|
|
13942
13994
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
13943
|
-
.input(
|
|
13944
|
-
.output(
|
|
13995
|
+
.input(types_163.userManagementCapability.methods.createUser.input.loose())
|
|
13996
|
+
.output(types_163.userManagementCapability.methods.createUser.output)
|
|
13945
13997
|
.mutation(async ({ input, ctx }) => {
|
|
13946
13998
|
const { nodeId, ...methodInput } = input;
|
|
13947
13999
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13949,8 +14001,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13949
14001
|
return p.createUser(methodInput);
|
|
13950
14002
|
}),
|
|
13951
14003
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
13952
|
-
.input(
|
|
13953
|
-
.output(
|
|
14004
|
+
.input(types_163.userManagementCapability.methods.updateUser.input.loose())
|
|
14005
|
+
.output(types_163.userManagementCapability.methods.updateUser.output)
|
|
13954
14006
|
.mutation(async ({ input, ctx }) => {
|
|
13955
14007
|
const { nodeId, ...methodInput } = input;
|
|
13956
14008
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13958,8 +14010,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13958
14010
|
return p.updateUser(methodInput);
|
|
13959
14011
|
}),
|
|
13960
14012
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
13961
|
-
.input(
|
|
13962
|
-
.output(
|
|
14013
|
+
.input(types_163.userManagementCapability.methods.deleteUser.input.loose())
|
|
14014
|
+
.output(types_163.userManagementCapability.methods.deleteUser.output)
|
|
13963
14015
|
.mutation(async ({ input, ctx }) => {
|
|
13964
14016
|
const { nodeId, ...methodInput } = input;
|
|
13965
14017
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13967,8 +14019,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13967
14019
|
return p.deleteUser(methodInput);
|
|
13968
14020
|
}),
|
|
13969
14021
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
13970
|
-
.input(
|
|
13971
|
-
.output(
|
|
14022
|
+
.input(types_163.userManagementCapability.methods.resetPassword.input.loose())
|
|
14023
|
+
.output(types_163.userManagementCapability.methods.resetPassword.output)
|
|
13972
14024
|
.mutation(async ({ input, ctx }) => {
|
|
13973
14025
|
const { nodeId, ...methodInput } = input;
|
|
13974
14026
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13976,8 +14028,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13976
14028
|
return p.resetPassword(methodInput);
|
|
13977
14029
|
}),
|
|
13978
14030
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
13979
|
-
.input(
|
|
13980
|
-
.output(
|
|
14031
|
+
.input(types_163.userManagementCapability.methods.setUserScopes.input.loose())
|
|
14032
|
+
.output(types_163.userManagementCapability.methods.setUserScopes.output)
|
|
13981
14033
|
.mutation(async ({ input, ctx }) => {
|
|
13982
14034
|
const { nodeId, ...methodInput } = input;
|
|
13983
14035
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13985,8 +14037,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13985
14037
|
return p.setUserScopes(methodInput);
|
|
13986
14038
|
}),
|
|
13987
14039
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
13988
|
-
.input(
|
|
13989
|
-
.output(
|
|
14040
|
+
.input(types_163.userManagementCapability.methods.validateCredentials.input.loose())
|
|
14041
|
+
.output(types_163.userManagementCapability.methods.validateCredentials.output)
|
|
13990
14042
|
.mutation(async ({ input, ctx }) => {
|
|
13991
14043
|
const { nodeId, ...methodInput } = input;
|
|
13992
14044
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13994,8 +14046,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13994
14046
|
return p.validateCredentials(methodInput);
|
|
13995
14047
|
}),
|
|
13996
14048
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
13997
|
-
.input(
|
|
13998
|
-
.output(
|
|
14049
|
+
.input(types_163.userManagementCapability.methods.setupTotp.input.loose())
|
|
14050
|
+
.output(types_163.userManagementCapability.methods.setupTotp.output)
|
|
13999
14051
|
.mutation(async ({ input, ctx }) => {
|
|
14000
14052
|
const { nodeId, ...methodInput } = input;
|
|
14001
14053
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14003,8 +14055,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14003
14055
|
return p.setupTotp(methodInput);
|
|
14004
14056
|
}),
|
|
14005
14057
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
14006
|
-
.input(
|
|
14007
|
-
.output(
|
|
14058
|
+
.input(types_163.userManagementCapability.methods.confirmTotp.input.loose())
|
|
14059
|
+
.output(types_163.userManagementCapability.methods.confirmTotp.output)
|
|
14008
14060
|
.mutation(async ({ input, ctx }) => {
|
|
14009
14061
|
const { nodeId, ...methodInput } = input;
|
|
14010
14062
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14012,8 +14064,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14012
14064
|
return p.confirmTotp(methodInput);
|
|
14013
14065
|
}),
|
|
14014
14066
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
14015
|
-
.input(
|
|
14016
|
-
.output(
|
|
14067
|
+
.input(types_163.userManagementCapability.methods.disableTotp.input.loose())
|
|
14068
|
+
.output(types_163.userManagementCapability.methods.disableTotp.output)
|
|
14017
14069
|
.mutation(async ({ input, ctx }) => {
|
|
14018
14070
|
const { nodeId, ...methodInput } = input;
|
|
14019
14071
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14021,8 +14073,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14021
14073
|
return p.disableTotp(methodInput);
|
|
14022
14074
|
}),
|
|
14023
14075
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
14024
|
-
.input(
|
|
14025
|
-
.output(
|
|
14076
|
+
.input(types_163.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
14077
|
+
.output(types_163.userManagementCapability.methods.getTotpStatus.output)
|
|
14026
14078
|
.query(async ({ input, ctx }) => {
|
|
14027
14079
|
const { nodeId, ...methodInput } = input;
|
|
14028
14080
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14030,8 +14082,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14030
14082
|
return p.getTotpStatus(methodInput);
|
|
14031
14083
|
}),
|
|
14032
14084
|
migrateRawSecrets: trpc_middleware_js_1.adminProcedure
|
|
14033
|
-
.input(
|
|
14034
|
-
.output(
|
|
14085
|
+
.input(types_163.userManagementCapability.methods.migrateRawSecrets.input.loose())
|
|
14086
|
+
.output(types_163.userManagementCapability.methods.migrateRawSecrets.output)
|
|
14035
14087
|
.mutation(async ({ input, ctx }) => {
|
|
14036
14088
|
const { nodeId, ...methodInput } = input;
|
|
14037
14089
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14039,8 +14091,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14039
14091
|
return p.migrateRawSecrets(methodInput);
|
|
14040
14092
|
}),
|
|
14041
14093
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
14042
|
-
.input(
|
|
14043
|
-
.output(
|
|
14094
|
+
.input(types_163.userManagementCapability.methods.verifyTotp.input.loose())
|
|
14095
|
+
.output(types_163.userManagementCapability.methods.verifyTotp.output)
|
|
14044
14096
|
.mutation(async ({ input, ctx }) => {
|
|
14045
14097
|
const { nodeId, ...methodInput } = input;
|
|
14046
14098
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14048,8 +14100,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14048
14100
|
return p.verifyTotp(methodInput);
|
|
14049
14101
|
}),
|
|
14050
14102
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
14051
|
-
.input(
|
|
14052
|
-
.output(
|
|
14103
|
+
.input(types_163.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
14104
|
+
.output(types_163.userManagementCapability.methods.oauthIssueCode.output)
|
|
14053
14105
|
.mutation(async ({ input, ctx }) => {
|
|
14054
14106
|
const { nodeId, ...methodInput } = input;
|
|
14055
14107
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14057,8 +14109,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14057
14109
|
return p.oauthIssueCode(methodInput);
|
|
14058
14110
|
}),
|
|
14059
14111
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
14060
|
-
.input(
|
|
14061
|
-
.output(
|
|
14112
|
+
.input(types_163.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
14113
|
+
.output(types_163.userManagementCapability.methods.oauthExchangeCode.output)
|
|
14062
14114
|
.mutation(async ({ input, ctx }) => {
|
|
14063
14115
|
const { nodeId, ...methodInput } = input;
|
|
14064
14116
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14066,8 +14118,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14066
14118
|
return p.oauthExchangeCode(methodInput);
|
|
14067
14119
|
}),
|
|
14068
14120
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
14069
|
-
.input(
|
|
14070
|
-
.output(
|
|
14121
|
+
.input(types_163.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
14122
|
+
.output(types_163.userManagementCapability.methods.oauthRefresh.output)
|
|
14071
14123
|
.mutation(async ({ input, ctx }) => {
|
|
14072
14124
|
const { nodeId, ...methodInput } = input;
|
|
14073
14125
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14075,8 +14127,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14075
14127
|
return p.oauthRefresh(methodInput);
|
|
14076
14128
|
}),
|
|
14077
14129
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
14078
|
-
.input(
|
|
14079
|
-
.output(
|
|
14130
|
+
.input(types_163.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
14131
|
+
.output(types_163.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
14080
14132
|
.query(async ({ input, ctx }) => {
|
|
14081
14133
|
const { nodeId, ...methodInput } = input;
|
|
14082
14134
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14084,8 +14136,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14084
14136
|
return p.oauthVerifyAccessToken(methodInput);
|
|
14085
14137
|
}),
|
|
14086
14138
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
14087
|
-
.input(
|
|
14088
|
-
.output(
|
|
14139
|
+
.input(types_163.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
14140
|
+
.output(types_163.userManagementCapability.methods.listExternalIdentities.output)
|
|
14089
14141
|
.query(async ({ input, ctx }) => {
|
|
14090
14142
|
const { nodeId, ...methodInput } = input;
|
|
14091
14143
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14093,8 +14145,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14093
14145
|
return p.listExternalIdentities(methodInput);
|
|
14094
14146
|
}),
|
|
14095
14147
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
14096
|
-
.input(
|
|
14097
|
-
.output(
|
|
14148
|
+
.input(types_163.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
14149
|
+
.output(types_163.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
14098
14150
|
.query(async ({ input, ctx }) => {
|
|
14099
14151
|
const { nodeId, ...methodInput } = input;
|
|
14100
14152
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14102,8 +14154,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14102
14154
|
return p.findUserByExternalIdentity(methodInput);
|
|
14103
14155
|
}),
|
|
14104
14156
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
14105
|
-
.input(
|
|
14106
|
-
.output(
|
|
14157
|
+
.input(types_163.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
14158
|
+
.output(types_163.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
14107
14159
|
.mutation(async ({ input, ctx }) => {
|
|
14108
14160
|
const { nodeId, ...methodInput } = input;
|
|
14109
14161
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14112,14 +14164,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14112
14164
|
}),
|
|
14113
14165
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
14114
14166
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14115
|
-
.output(
|
|
14167
|
+
.output(types_163.userManagementCapability.methods.listOauthSessions.output)
|
|
14116
14168
|
.query(async ({ input, ctx }) => {
|
|
14117
14169
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14118
14170
|
return p.listOauthSessions();
|
|
14119
14171
|
}),
|
|
14120
14172
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
14121
|
-
.input(
|
|
14122
|
-
.output(
|
|
14173
|
+
.input(types_163.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
14174
|
+
.output(types_163.userManagementCapability.methods.revokeOauthSession.output)
|
|
14123
14175
|
.mutation(async ({ input, ctx }) => {
|
|
14124
14176
|
const { nodeId, ...methodInput } = input;
|
|
14125
14177
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14131,8 +14183,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
14131
14183
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
14132
14184
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14133
14185
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
14134
|
-
.input(
|
|
14135
|
-
.output(
|
|
14186
|
+
.input(types_164.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
14187
|
+
.output(types_164.userPasskeysCapability.methods.beginRegistration.output)
|
|
14136
14188
|
.mutation(async ({ input, ctx }) => {
|
|
14137
14189
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14138
14190
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14140,8 +14192,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14140
14192
|
return p.beginRegistration(methodInput);
|
|
14141
14193
|
}),
|
|
14142
14194
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
14143
|
-
.input(
|
|
14144
|
-
.output(
|
|
14195
|
+
.input(types_164.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
14196
|
+
.output(types_164.userPasskeysCapability.methods.finishRegistration.output)
|
|
14145
14197
|
.mutation(async ({ input, ctx }) => {
|
|
14146
14198
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14147
14199
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14149,8 +14201,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14149
14201
|
return p.finishRegistration(methodInput);
|
|
14150
14202
|
}),
|
|
14151
14203
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14152
|
-
.input(
|
|
14153
|
-
.output(
|
|
14204
|
+
.input(types_164.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
14205
|
+
.output(types_164.userPasskeysCapability.methods.beginAuthentication.output)
|
|
14154
14206
|
.mutation(async ({ input, ctx }) => {
|
|
14155
14207
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14156
14208
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14158,8 +14210,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14158
14210
|
return p.beginAuthentication(methodInput);
|
|
14159
14211
|
}),
|
|
14160
14212
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14161
|
-
.input(
|
|
14162
|
-
.output(
|
|
14213
|
+
.input(types_164.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
14214
|
+
.output(types_164.userPasskeysCapability.methods.finishAuthentication.output)
|
|
14163
14215
|
.mutation(async ({ input, ctx }) => {
|
|
14164
14216
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14165
14217
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14167,8 +14219,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14167
14219
|
return p.finishAuthentication(methodInput);
|
|
14168
14220
|
}),
|
|
14169
14221
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14170
|
-
.input(
|
|
14171
|
-
.output(
|
|
14222
|
+
.input(types_164.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
14223
|
+
.output(types_164.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
14172
14224
|
.mutation(async ({ input, ctx }) => {
|
|
14173
14225
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14174
14226
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14176,8 +14228,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14176
14228
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
14177
14229
|
}),
|
|
14178
14230
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
14179
|
-
.input(
|
|
14180
|
-
.output(
|
|
14231
|
+
.input(types_164.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
14232
|
+
.output(types_164.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
14181
14233
|
.mutation(async ({ input, ctx }) => {
|
|
14182
14234
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14183
14235
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14185,8 +14237,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14185
14237
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
14186
14238
|
}),
|
|
14187
14239
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
14188
|
-
.input(
|
|
14189
|
-
.output(
|
|
14240
|
+
.input(types_164.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
14241
|
+
.output(types_164.userPasskeysCapability.methods.listPasskeys.output)
|
|
14190
14242
|
.query(async ({ input, ctx }) => {
|
|
14191
14243
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14192
14244
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14194,8 +14246,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14194
14246
|
return p.listPasskeys(methodInput);
|
|
14195
14247
|
}),
|
|
14196
14248
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
14197
|
-
.input(
|
|
14198
|
-
.output(
|
|
14249
|
+
.input(types_164.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
14250
|
+
.output(types_164.userPasskeysCapability.methods.removePasskey.output)
|
|
14199
14251
|
.mutation(async ({ input, ctx }) => {
|
|
14200
14252
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14201
14253
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14203,8 +14255,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14203
14255
|
return p.removePasskey(methodInput);
|
|
14204
14256
|
}),
|
|
14205
14257
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
14206
|
-
.input(
|
|
14207
|
-
.output(
|
|
14258
|
+
.input(types_164.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
14259
|
+
.output(types_164.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
14208
14260
|
.query(async ({ input, ctx }) => {
|
|
14209
14261
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14210
14262
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14212,8 +14264,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
14212
14264
|
return p.getSecondFactorPreference(methodInput);
|
|
14213
14265
|
}),
|
|
14214
14266
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
14215
|
-
.input(
|
|
14216
|
-
.output(
|
|
14267
|
+
.input(types_164.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
14268
|
+
.output(types_164.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
14217
14269
|
.mutation(async ({ input, ctx }) => {
|
|
14218
14270
|
const { nodeId, addonId, ...methodInput } = input;
|
|
14219
14271
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -14234,8 +14286,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14234
14286
|
return p.getStatus(methodInput);
|
|
14235
14287
|
}),
|
|
14236
14288
|
start: trpc_middleware_js_1.protectedProcedure
|
|
14237
|
-
.input(
|
|
14238
|
-
.output(
|
|
14289
|
+
.input(types_165.vacuumControlCapability.methods.start.input.loose())
|
|
14290
|
+
.output(types_165.vacuumControlCapability.methods.start.output)
|
|
14239
14291
|
.mutation(async ({ input, ctx }) => {
|
|
14240
14292
|
const { nodeId, ...methodInput } = input;
|
|
14241
14293
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14243,8 +14295,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14243
14295
|
return p.start(methodInput);
|
|
14244
14296
|
}),
|
|
14245
14297
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
14246
|
-
.input(
|
|
14247
|
-
.output(
|
|
14298
|
+
.input(types_165.vacuumControlCapability.methods.pause.input.loose())
|
|
14299
|
+
.output(types_165.vacuumControlCapability.methods.pause.output)
|
|
14248
14300
|
.mutation(async ({ input, ctx }) => {
|
|
14249
14301
|
const { nodeId, ...methodInput } = input;
|
|
14250
14302
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14252,8 +14304,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14252
14304
|
return p.pause(methodInput);
|
|
14253
14305
|
}),
|
|
14254
14306
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
14255
|
-
.input(
|
|
14256
|
-
.output(
|
|
14307
|
+
.input(types_165.vacuumControlCapability.methods.stop.input.loose())
|
|
14308
|
+
.output(types_165.vacuumControlCapability.methods.stop.output)
|
|
14257
14309
|
.mutation(async ({ input, ctx }) => {
|
|
14258
14310
|
const { nodeId, ...methodInput } = input;
|
|
14259
14311
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14261,8 +14313,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14261
14313
|
return p.stop(methodInput);
|
|
14262
14314
|
}),
|
|
14263
14315
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
14264
|
-
.input(
|
|
14265
|
-
.output(
|
|
14316
|
+
.input(types_165.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
14317
|
+
.output(types_165.vacuumControlCapability.methods.returnToBase.output)
|
|
14266
14318
|
.mutation(async ({ input, ctx }) => {
|
|
14267
14319
|
const { nodeId, ...methodInput } = input;
|
|
14268
14320
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14270,8 +14322,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14270
14322
|
return p.returnToBase(methodInput);
|
|
14271
14323
|
}),
|
|
14272
14324
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
14273
|
-
.input(
|
|
14274
|
-
.output(
|
|
14325
|
+
.input(types_165.vacuumControlCapability.methods.locate.input.loose())
|
|
14326
|
+
.output(types_165.vacuumControlCapability.methods.locate.output)
|
|
14275
14327
|
.mutation(async ({ input, ctx }) => {
|
|
14276
14328
|
const { nodeId, ...methodInput } = input;
|
|
14277
14329
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14279,8 +14331,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
14279
14331
|
return p.locate(methodInput);
|
|
14280
14332
|
}),
|
|
14281
14333
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
14282
|
-
.input(
|
|
14283
|
-
.output(
|
|
14334
|
+
.input(types_165.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
14335
|
+
.output(types_165.vacuumControlCapability.methods.setFanSpeed.output)
|
|
14284
14336
|
.mutation(async ({ input, ctx }) => {
|
|
14285
14337
|
const { nodeId, ...methodInput } = input;
|
|
14286
14338
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14301,8 +14353,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14301
14353
|
return p.getStatus(methodInput);
|
|
14302
14354
|
}),
|
|
14303
14355
|
open: trpc_middleware_js_1.protectedProcedure
|
|
14304
|
-
.input(
|
|
14305
|
-
.output(
|
|
14356
|
+
.input(types_166.valveCapability.methods.open.input.loose())
|
|
14357
|
+
.output(types_166.valveCapability.methods.open.output)
|
|
14306
14358
|
.mutation(async ({ input, ctx }) => {
|
|
14307
14359
|
const { nodeId, ...methodInput } = input;
|
|
14308
14360
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14310,8 +14362,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14310
14362
|
return p.open(methodInput);
|
|
14311
14363
|
}),
|
|
14312
14364
|
close: trpc_middleware_js_1.protectedProcedure
|
|
14313
|
-
.input(
|
|
14314
|
-
.output(
|
|
14365
|
+
.input(types_166.valveCapability.methods.close.input.loose())
|
|
14366
|
+
.output(types_166.valveCapability.methods.close.output)
|
|
14315
14367
|
.mutation(async ({ input, ctx }) => {
|
|
14316
14368
|
const { nodeId, ...methodInput } = input;
|
|
14317
14369
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14319,8 +14371,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14319
14371
|
return p.close(methodInput);
|
|
14320
14372
|
}),
|
|
14321
14373
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
14322
|
-
.input(
|
|
14323
|
-
.output(
|
|
14374
|
+
.input(types_166.valveCapability.methods.stop.input.loose())
|
|
14375
|
+
.output(types_166.valveCapability.methods.stop.output)
|
|
14324
14376
|
.mutation(async ({ input, ctx }) => {
|
|
14325
14377
|
const { nodeId, ...methodInput } = input;
|
|
14326
14378
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14328,8 +14380,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14328
14380
|
return p.stop(methodInput);
|
|
14329
14381
|
}),
|
|
14330
14382
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
14331
|
-
.input(
|
|
14332
|
-
.output(
|
|
14383
|
+
.input(types_166.valveCapability.methods.setPosition.input.loose())
|
|
14384
|
+
.output(types_166.valveCapability.methods.setPosition.output)
|
|
14333
14385
|
.mutation(async ({ input, ctx }) => {
|
|
14334
14386
|
const { nodeId, ...methodInput } = input;
|
|
14335
14387
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14348,8 +14400,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
14348
14400
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
14349
14401
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14350
14402
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
14351
|
-
.input(
|
|
14352
|
-
.output(
|
|
14403
|
+
.input(types_167.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
14404
|
+
.output(types_167.vectorStoreCapability.methods.declareIndex.output)
|
|
14353
14405
|
.mutation(async ({ input, ctx }) => {
|
|
14354
14406
|
const { nodeId, ...methodInput } = input;
|
|
14355
14407
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14357,8 +14409,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14357
14409
|
return p.declareIndex(methodInput);
|
|
14358
14410
|
}),
|
|
14359
14411
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
14360
|
-
.input(
|
|
14361
|
-
.output(
|
|
14412
|
+
.input(types_167.vectorStoreCapability.methods.upsert.input.loose())
|
|
14413
|
+
.output(types_167.vectorStoreCapability.methods.upsert.output)
|
|
14362
14414
|
.mutation(async ({ input, ctx }) => {
|
|
14363
14415
|
const { nodeId, ...methodInput } = input;
|
|
14364
14416
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14366,8 +14418,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14366
14418
|
return p.upsert(methodInput);
|
|
14367
14419
|
}),
|
|
14368
14420
|
query: trpc_middleware_js_1.adminProcedure
|
|
14369
|
-
.input(
|
|
14370
|
-
.output(
|
|
14421
|
+
.input(types_167.vectorStoreCapability.methods.query.input.loose())
|
|
14422
|
+
.output(types_167.vectorStoreCapability.methods.query.output)
|
|
14371
14423
|
.query(async ({ input, ctx }) => {
|
|
14372
14424
|
const { nodeId, ...methodInput } = input;
|
|
14373
14425
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14375,8 +14427,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14375
14427
|
return p.query(methodInput);
|
|
14376
14428
|
}),
|
|
14377
14429
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
14378
|
-
.input(
|
|
14379
|
-
.output(
|
|
14430
|
+
.input(types_167.vectorStoreCapability.methods.getByIds.input.loose())
|
|
14431
|
+
.output(types_167.vectorStoreCapability.methods.getByIds.output)
|
|
14380
14432
|
.query(async ({ input, ctx }) => {
|
|
14381
14433
|
const { nodeId, ...methodInput } = input;
|
|
14382
14434
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14384,8 +14436,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14384
14436
|
return p.getByIds(methodInput);
|
|
14385
14437
|
}),
|
|
14386
14438
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
14387
|
-
.input(
|
|
14388
|
-
.output(
|
|
14439
|
+
.input(types_167.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
14440
|
+
.output(types_167.vectorStoreCapability.methods.fetchByIds.output)
|
|
14389
14441
|
.query(async ({ input, ctx }) => {
|
|
14390
14442
|
const { nodeId, ...methodInput } = input;
|
|
14391
14443
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14393,8 +14445,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14393
14445
|
return p.fetchByIds(methodInput);
|
|
14394
14446
|
}),
|
|
14395
14447
|
scan: trpc_middleware_js_1.adminProcedure
|
|
14396
|
-
.input(
|
|
14397
|
-
.output(
|
|
14448
|
+
.input(types_167.vectorStoreCapability.methods.scan.input.loose())
|
|
14449
|
+
.output(types_167.vectorStoreCapability.methods.scan.output)
|
|
14398
14450
|
.query(async ({ input, ctx }) => {
|
|
14399
14451
|
const { nodeId, ...methodInput } = input;
|
|
14400
14452
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14402,8 +14454,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14402
14454
|
return p.scan(methodInput);
|
|
14403
14455
|
}),
|
|
14404
14456
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
14405
|
-
.input(
|
|
14406
|
-
.output(
|
|
14457
|
+
.input(types_167.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
14458
|
+
.output(types_167.vectorStoreCapability.methods.deleteByIds.output)
|
|
14407
14459
|
.mutation(async ({ input, ctx }) => {
|
|
14408
14460
|
const { nodeId, ...methodInput } = input;
|
|
14409
14461
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14411,8 +14463,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14411
14463
|
return p.deleteByIds(methodInput);
|
|
14412
14464
|
}),
|
|
14413
14465
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
14414
|
-
.input(
|
|
14415
|
-
.output(
|
|
14466
|
+
.input(types_167.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
14467
|
+
.output(types_167.vectorStoreCapability.methods.deleteByFilter.output)
|
|
14416
14468
|
.mutation(async ({ input, ctx }) => {
|
|
14417
14469
|
const { nodeId, ...methodInput } = input;
|
|
14418
14470
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14420,8 +14472,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
14420
14472
|
return p.deleteByFilter(methodInput);
|
|
14421
14473
|
}),
|
|
14422
14474
|
stats: trpc_middleware_js_1.adminProcedure
|
|
14423
|
-
.input(
|
|
14424
|
-
.output(
|
|
14475
|
+
.input(types_167.vectorStoreCapability.methods.stats.input.loose())
|
|
14476
|
+
.output(types_167.vectorStoreCapability.methods.stats.output)
|
|
14425
14477
|
.query(async ({ input, ctx }) => {
|
|
14426
14478
|
const { nodeId, ...methodInput } = input;
|
|
14427
14479
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14446,8 +14498,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
14446
14498
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
14447
14499
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14448
14500
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
14449
|
-
.input(
|
|
14450
|
-
.output(
|
|
14501
|
+
.input(types_168.videoclipsCapability.methods.listClips.input.loose())
|
|
14502
|
+
.output(types_168.videoclipsCapability.methods.listClips.output)
|
|
14451
14503
|
.query(async ({ input, ctx }) => {
|
|
14452
14504
|
const { nodeId, ...methodInput } = input;
|
|
14453
14505
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14455,8 +14507,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14455
14507
|
return p.listClips(methodInput);
|
|
14456
14508
|
}),
|
|
14457
14509
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
14458
|
-
.input(
|
|
14459
|
-
.output(
|
|
14510
|
+
.input(types_168.videoclipsCapability.methods.listSources.input.loose())
|
|
14511
|
+
.output(types_168.videoclipsCapability.methods.listSources.output)
|
|
14460
14512
|
.query(async ({ input, ctx }) => {
|
|
14461
14513
|
const { nodeId, ...methodInput } = input;
|
|
14462
14514
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14464,8 +14516,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14464
14516
|
return p.listSources(methodInput);
|
|
14465
14517
|
}),
|
|
14466
14518
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
14467
|
-
.input(
|
|
14468
|
-
.output(
|
|
14519
|
+
.input(types_168.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
14520
|
+
.output(types_168.videoclipsCapability.methods.getClipPlayback.output)
|
|
14469
14521
|
.query(async ({ input, ctx }) => {
|
|
14470
14522
|
const { nodeId, ...methodInput } = input;
|
|
14471
14523
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14473,8 +14525,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14473
14525
|
return p.getClipPlayback(methodInput);
|
|
14474
14526
|
}),
|
|
14475
14527
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
14476
|
-
.input(
|
|
14477
|
-
.output(
|
|
14528
|
+
.input(types_168.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
14529
|
+
.output(types_168.videoclipsCapability.methods.readClipBytes.output)
|
|
14478
14530
|
.query(async ({ input, ctx }) => {
|
|
14479
14531
|
const { nodeId, ...methodInput } = input;
|
|
14480
14532
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14489,8 +14541,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14489
14541
|
return fn.call(p, methodInput);
|
|
14490
14542
|
}),
|
|
14491
14543
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
14492
|
-
.input(
|
|
14493
|
-
.output(
|
|
14544
|
+
.input(types_168.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
14545
|
+
.output(types_168.videoclipsCapability.methods.offerClipBytes.output)
|
|
14494
14546
|
.query(async ({ input, ctx }) => {
|
|
14495
14547
|
const { nodeId, ...methodInput } = input;
|
|
14496
14548
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14505,8 +14557,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14505
14557
|
return fn.call(p, methodInput);
|
|
14506
14558
|
}),
|
|
14507
14559
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
14508
|
-
.input(
|
|
14509
|
-
.output(
|
|
14560
|
+
.input(types_168.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
14561
|
+
.output(types_168.videoclipsCapability.methods.dialClipStream.output)
|
|
14510
14562
|
.query(async ({ input, ctx }) => {
|
|
14511
14563
|
const { nodeId, ...methodInput } = input;
|
|
14512
14564
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14521,8 +14573,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
14521
14573
|
return fn.call(p, methodInput);
|
|
14522
14574
|
}),
|
|
14523
14575
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
14524
|
-
.input(
|
|
14525
|
-
.output(
|
|
14576
|
+
.input(types_168.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
14577
|
+
.output(types_168.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
14526
14578
|
.query(async ({ input, ctx }) => {
|
|
14527
14579
|
const { nodeId, ...methodInput } = input;
|
|
14528
14580
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14542,14 +14594,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
14542
14594
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14543
14595
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
14544
14596
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14545
|
-
.output(
|
|
14597
|
+
.output(types_169.viewerUiCapability.methods.getStaticDir.output)
|
|
14546
14598
|
.query(async ({ input, ctx }) => {
|
|
14547
14599
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14548
14600
|
return p.getStaticDir();
|
|
14549
14601
|
}),
|
|
14550
14602
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
14551
14603
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
14552
|
-
.output(
|
|
14604
|
+
.output(types_169.viewerUiCapability.methods.getVersion.output)
|
|
14553
14605
|
.query(async ({ input, ctx }) => {
|
|
14554
14606
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14555
14607
|
return p.getVersion();
|
|
@@ -14568,8 +14620,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14568
14620
|
return p.getStatus(methodInput);
|
|
14569
14621
|
}),
|
|
14570
14622
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
14571
|
-
.input(
|
|
14572
|
-
.output(
|
|
14623
|
+
.input(types_170.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
14624
|
+
.output(types_170.waterHeaterCapability.methods.setOperationMode.output)
|
|
14573
14625
|
.mutation(async ({ input, ctx }) => {
|
|
14574
14626
|
const { nodeId, ...methodInput } = input;
|
|
14575
14627
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14577,8 +14629,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14577
14629
|
return p.setOperationMode(methodInput);
|
|
14578
14630
|
}),
|
|
14579
14631
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
14580
|
-
.input(
|
|
14581
|
-
.output(
|
|
14632
|
+
.input(types_170.waterHeaterCapability.methods.setAway.input.loose())
|
|
14633
|
+
.output(types_170.waterHeaterCapability.methods.setAway.output)
|
|
14582
14634
|
.mutation(async ({ input, ctx }) => {
|
|
14583
14635
|
const { nodeId, ...methodInput } = input;
|
|
14584
14636
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14586,8 +14638,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14586
14638
|
return p.setAway(methodInput);
|
|
14587
14639
|
}),
|
|
14588
14640
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
14589
|
-
.input(
|
|
14590
|
-
.output(
|
|
14641
|
+
.input(types_170.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
14642
|
+
.output(types_170.waterHeaterCapability.methods.setTargetTemp.output)
|
|
14591
14643
|
.mutation(async ({ input, ctx }) => {
|
|
14592
14644
|
const { nodeId, ...methodInput } = input;
|
|
14593
14645
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14625,8 +14677,8 @@ function createCapRouter_weatherStation(getProvider, createRemoteProxy) {
|
|
|
14625
14677
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
14626
14678
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14627
14679
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
14628
|
-
.input(
|
|
14629
|
-
.output(
|
|
14680
|
+
.input(types_171.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
14681
|
+
.output(types_171.webrtcSessionCapability.methods.listStreams.output)
|
|
14630
14682
|
.query(async ({ input, ctx }) => {
|
|
14631
14683
|
const { nodeId, ...methodInput } = input;
|
|
14632
14684
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14634,8 +14686,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14634
14686
|
return p.listStreams(methodInput);
|
|
14635
14687
|
}),
|
|
14636
14688
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
14637
|
-
.input(
|
|
14638
|
-
.output(
|
|
14689
|
+
.input(types_171.webrtcSessionCapability.methods.createSession.input.loose())
|
|
14690
|
+
.output(types_171.webrtcSessionCapability.methods.createSession.output)
|
|
14639
14691
|
.mutation(async ({ input, ctx }) => {
|
|
14640
14692
|
const { nodeId, ...methodInput } = input;
|
|
14641
14693
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14643,8 +14695,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14643
14695
|
return p.createSession(methodInput);
|
|
14644
14696
|
}),
|
|
14645
14697
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
14646
|
-
.input(
|
|
14647
|
-
.output(
|
|
14698
|
+
.input(types_171.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
14699
|
+
.output(types_171.webrtcSessionCapability.methods.handleOffer.output)
|
|
14648
14700
|
.mutation(async ({ input, ctx }) => {
|
|
14649
14701
|
const { nodeId, ...methodInput } = input;
|
|
14650
14702
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14652,8 +14704,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14652
14704
|
return p.handleOffer(methodInput);
|
|
14653
14705
|
}),
|
|
14654
14706
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
14655
|
-
.input(
|
|
14656
|
-
.output(
|
|
14707
|
+
.input(types_171.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
14708
|
+
.output(types_171.webrtcSessionCapability.methods.handleAnswer.output)
|
|
14657
14709
|
.mutation(async ({ input, ctx }) => {
|
|
14658
14710
|
const { nodeId, ...methodInput } = input;
|
|
14659
14711
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14661,8 +14713,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14661
14713
|
return p.handleAnswer(methodInput);
|
|
14662
14714
|
}),
|
|
14663
14715
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
14664
|
-
.input(
|
|
14665
|
-
.output(
|
|
14716
|
+
.input(types_171.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
14717
|
+
.output(types_171.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
14666
14718
|
.mutation(async ({ input, ctx }) => {
|
|
14667
14719
|
const { nodeId, ...methodInput } = input;
|
|
14668
14720
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14670,8 +14722,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14670
14722
|
return p.addIceCandidate(methodInput);
|
|
14671
14723
|
}),
|
|
14672
14724
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
14673
|
-
.input(
|
|
14674
|
-
.output(
|
|
14725
|
+
.input(types_171.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
14726
|
+
.output(types_171.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
14675
14727
|
.query(async ({ input, ctx }) => {
|
|
14676
14728
|
const { nodeId, ...methodInput } = input;
|
|
14677
14729
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14679,8 +14731,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14679
14731
|
return p.getIceCandidates(methodInput);
|
|
14680
14732
|
}),
|
|
14681
14733
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
14682
|
-
.input(
|
|
14683
|
-
.output(
|
|
14734
|
+
.input(types_171.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
14735
|
+
.output(types_171.webrtcSessionCapability.methods.closeSession.output)
|
|
14684
14736
|
.mutation(async ({ input, ctx }) => {
|
|
14685
14737
|
const { nodeId, ...methodInput } = input;
|
|
14686
14738
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14688,8 +14740,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14688
14740
|
return p.closeSession(methodInput);
|
|
14689
14741
|
}),
|
|
14690
14742
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
14691
|
-
.input(
|
|
14692
|
-
.output(
|
|
14743
|
+
.input(types_171.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
14744
|
+
.output(types_171.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
14693
14745
|
.query(async ({ input, ctx }) => {
|
|
14694
14746
|
const { nodeId, ...methodInput } = input;
|
|
14695
14747
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14697,8 +14749,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14697
14749
|
return p.hasAdaptiveBitrate(methodInput);
|
|
14698
14750
|
}),
|
|
14699
14751
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
14700
|
-
.input(
|
|
14701
|
-
.output(
|
|
14752
|
+
.input(types_171.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
14753
|
+
.output(types_171.webrtcSessionCapability.methods.getSessionState.output)
|
|
14702
14754
|
.query(async ({ input, ctx }) => {
|
|
14703
14755
|
const { nodeId, ...methodInput } = input;
|
|
14704
14756
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14706,8 +14758,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14706
14758
|
return p.getSessionState(methodInput);
|
|
14707
14759
|
}),
|
|
14708
14760
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
14709
|
-
.input(
|
|
14710
|
-
.output(
|
|
14761
|
+
.input(types_171.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
14762
|
+
.output(types_171.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
14711
14763
|
.mutation(async ({ input, ctx }) => {
|
|
14712
14764
|
const { nodeId, ...methodInput } = input;
|
|
14713
14765
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14715,8 +14767,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14715
14767
|
return p.applyDownlinkProbe(methodInput);
|
|
14716
14768
|
}),
|
|
14717
14769
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
14718
|
-
.input(
|
|
14719
|
-
.output(
|
|
14770
|
+
.input(types_171.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
14771
|
+
.output(types_171.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
14720
14772
|
.query(async ({ input, ctx }) => {
|
|
14721
14773
|
const { nodeId, ...methodInput } = input;
|
|
14722
14774
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14728,8 +14780,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
14728
14780
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
14729
14781
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14730
14782
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
14731
|
-
.input(
|
|
14732
|
-
.output(
|
|
14783
|
+
.input(types_172.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
14784
|
+
.output(types_172.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
14733
14785
|
.query(async ({ input, ctx }) => {
|
|
14734
14786
|
const { nodeId, ...methodInput } = input;
|
|
14735
14787
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14737,8 +14789,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
14737
14789
|
return p.getCurrentSnapshot(methodInput);
|
|
14738
14790
|
}),
|
|
14739
14791
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
14740
|
-
.input(
|
|
14741
|
-
.output(
|
|
14792
|
+
.input(types_172.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
14793
|
+
.output(types_172.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
14742
14794
|
.query(async ({ input, ctx }) => {
|
|
14743
14795
|
const { nodeId, ...methodInput } = input;
|
|
14744
14796
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14746,8 +14798,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
14746
14798
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
14747
14799
|
}),
|
|
14748
14800
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
14749
|
-
.input(
|
|
14750
|
-
.output(
|
|
14801
|
+
.input(types_172.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
14802
|
+
.output(types_172.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
14751
14803
|
.query(async ({ input, ctx }) => {
|
|
14752
14804
|
const { nodeId, ...methodInput } = input;
|
|
14753
14805
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14755,8 +14807,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
14755
14807
|
return p.getZoneHistory(methodInput);
|
|
14756
14808
|
}),
|
|
14757
14809
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
14758
|
-
.input(
|
|
14759
|
-
.output(
|
|
14810
|
+
.input(types_172.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
14811
|
+
.output(types_172.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
14760
14812
|
.query(async ({ input, ctx }) => {
|
|
14761
14813
|
const { nodeId, ...methodInput } = input;
|
|
14762
14814
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14764,8 +14816,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
14764
14816
|
return p.getCameraHistory(methodInput);
|
|
14765
14817
|
}),
|
|
14766
14818
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
14767
|
-
.input(
|
|
14768
|
-
.output(
|
|
14819
|
+
.input(types_172.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
14820
|
+
.output(types_172.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
14769
14821
|
.query(async ({ input, ctx }) => {
|
|
14770
14822
|
const { nodeId, ...methodInput } = input;
|
|
14771
14823
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14777,8 +14829,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
14777
14829
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
14778
14830
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14779
14831
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
14780
|
-
.input(
|
|
14781
|
-
.output(
|
|
14832
|
+
.input(types_173.zoneRulesCapability.methods.listRules.input.loose())
|
|
14833
|
+
.output(types_173.zoneRulesCapability.methods.listRules.output)
|
|
14782
14834
|
.query(async ({ input, ctx }) => {
|
|
14783
14835
|
const { nodeId, ...methodInput } = input;
|
|
14784
14836
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14786,8 +14838,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
14786
14838
|
return p.listRules(methodInput);
|
|
14787
14839
|
}),
|
|
14788
14840
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
14789
|
-
.input(
|
|
14790
|
-
.output(
|
|
14841
|
+
.input(types_173.zoneRulesCapability.methods.setRules.input.loose())
|
|
14842
|
+
.output(types_173.zoneRulesCapability.methods.setRules.output)
|
|
14791
14843
|
.mutation(async ({ input, ctx }) => {
|
|
14792
14844
|
const { nodeId, ...methodInput } = input;
|
|
14793
14845
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14799,8 +14851,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
14799
14851
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
14800
14852
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
14801
14853
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
14802
|
-
.input(
|
|
14803
|
-
.output(
|
|
14854
|
+
.input(types_174.zonesCapability.methods.listZones.input.loose())
|
|
14855
|
+
.output(types_174.zonesCapability.methods.listZones.output)
|
|
14804
14856
|
.query(async ({ input, ctx }) => {
|
|
14805
14857
|
const { nodeId, ...methodInput } = input;
|
|
14806
14858
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14808,8 +14860,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
14808
14860
|
return p.listZones(methodInput);
|
|
14809
14861
|
}),
|
|
14810
14862
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
14811
|
-
.input(
|
|
14812
|
-
.output(
|
|
14863
|
+
.input(types_174.zonesCapability.methods.addZone.input.loose())
|
|
14864
|
+
.output(types_174.zonesCapability.methods.addZone.output)
|
|
14813
14865
|
.mutation(async ({ input, ctx }) => {
|
|
14814
14866
|
const { nodeId, ...methodInput } = input;
|
|
14815
14867
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14817,8 +14869,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
14817
14869
|
return p.addZone(methodInput);
|
|
14818
14870
|
}),
|
|
14819
14871
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
14820
|
-
.input(
|
|
14821
|
-
.output(
|
|
14872
|
+
.input(types_174.zonesCapability.methods.removeZone.input.loose())
|
|
14873
|
+
.output(types_174.zonesCapability.methods.removeZone.output)
|
|
14822
14874
|
.mutation(async ({ input, ctx }) => {
|
|
14823
14875
|
const { nodeId, ...methodInput } = input;
|
|
14824
14876
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -14826,8 +14878,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
14826
14878
|
return p.removeZone(methodInput);
|
|
14827
14879
|
}),
|
|
14828
14880
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
14829
|
-
.input(
|
|
14830
|
-
.output(
|
|
14881
|
+
.input(types_174.zonesCapability.methods.updateZone.input.loose())
|
|
14882
|
+
.output(types_174.zonesCapability.methods.updateZone.output)
|
|
14831
14883
|
.mutation(async ({ input, ctx }) => {
|
|
14832
14884
|
const { nodeId, ...methodInput } = input;
|
|
14833
14885
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|