@camstack/server 1.1.25 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/core/hwaccel.router.js +63 -40
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +687 -582
- package/dist/api/trpc/trpc.router.js +5 -4
- package/dist/core/addon/addon-registry.service.js +26 -7
- package/dist/core/agent/agent-registry.service.js +82 -8
- package/dist/core/moleculer/moleculer.service.js +8 -6
- package/package.json +1 -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: 137
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -93,6 +93,7 @@ exports.createCapRouter_notifier = createCapRouter_notifier;
|
|
|
93
93
|
exports.createCapRouter_numericSensor = createCapRouter_numericSensor;
|
|
94
94
|
exports.createCapRouter_oauthIntegration = createCapRouter_oauthIntegration;
|
|
95
95
|
exports.createCapRouter_osd = createCapRouter_osd;
|
|
96
|
+
exports.createCapRouter_petFeeder = createCapRouter_petFeeder;
|
|
96
97
|
exports.createCapRouter_pipelineAnalytics = createCapRouter_pipelineAnalytics;
|
|
97
98
|
exports.createCapRouter_pipelineExecutor = createCapRouter_pipelineExecutor;
|
|
98
99
|
exports.createCapRouter_pipelineOrchestrator = createCapRouter_pipelineOrchestrator;
|
|
@@ -258,6 +259,7 @@ const types_109 = require("@camstack/types");
|
|
|
258
259
|
const types_110 = require("@camstack/types");
|
|
259
260
|
const types_111 = require("@camstack/types");
|
|
260
261
|
const types_112 = require("@camstack/types");
|
|
262
|
+
const types_113 = require("@camstack/types");
|
|
261
263
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
262
264
|
function requireCapProvider(name, getProvider) {
|
|
263
265
|
const p = getProvider();
|
|
@@ -4647,6 +4649,109 @@ function createCapRouter_osd(getProvider, createRemoteProxy) {
|
|
|
4647
4649
|
}),
|
|
4648
4650
|
});
|
|
4649
4651
|
}
|
|
4652
|
+
function createCapRouter_petFeeder(getProvider, createRemoteProxy) {
|
|
4653
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
4654
|
+
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
4655
|
+
.input(types_2.DEVICE_STATUS_METHOD.getStatus.input.loose())
|
|
4656
|
+
.output(types_2.DEVICE_STATUS_METHOD.getStatus.output)
|
|
4657
|
+
.query(async ({ input, ctx }) => {
|
|
4658
|
+
const { nodeId, ...methodInput } = input;
|
|
4659
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4660
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4661
|
+
return p.getStatus(methodInput);
|
|
4662
|
+
}),
|
|
4663
|
+
feed: trpc_middleware_js_1.adminProcedure
|
|
4664
|
+
.input(types_72.petFeederCapability.methods.feed.input.loose())
|
|
4665
|
+
.output(types_72.petFeederCapability.methods.feed.output)
|
|
4666
|
+
.mutation(async ({ input, ctx }) => {
|
|
4667
|
+
const { nodeId, ...methodInput } = input;
|
|
4668
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4669
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4670
|
+
return p.feed(methodInput);
|
|
4671
|
+
}),
|
|
4672
|
+
cancelFeed: trpc_middleware_js_1.adminProcedure
|
|
4673
|
+
.input(types_72.petFeederCapability.methods.cancelFeed.input.loose())
|
|
4674
|
+
.output(types_72.petFeederCapability.methods.cancelFeed.output)
|
|
4675
|
+
.mutation(async ({ input, ctx }) => {
|
|
4676
|
+
const { nodeId, ...methodInput } = input;
|
|
4677
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4678
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4679
|
+
return p.cancelFeed(methodInput);
|
|
4680
|
+
}),
|
|
4681
|
+
resetDesiccant: trpc_middleware_js_1.adminProcedure
|
|
4682
|
+
.input(types_72.petFeederCapability.methods.resetDesiccant.input.loose())
|
|
4683
|
+
.output(types_72.petFeederCapability.methods.resetDesiccant.output)
|
|
4684
|
+
.mutation(async ({ input, ctx }) => {
|
|
4685
|
+
const { nodeId, ...methodInput } = input;
|
|
4686
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4687
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4688
|
+
return p.resetDesiccant(methodInput);
|
|
4689
|
+
}),
|
|
4690
|
+
markFoodReplenished: trpc_middleware_js_1.adminProcedure
|
|
4691
|
+
.input(types_72.petFeederCapability.methods.markFoodReplenished.input.loose())
|
|
4692
|
+
.output(types_72.petFeederCapability.methods.markFoodReplenished.output)
|
|
4693
|
+
.mutation(async ({ input, ctx }) => {
|
|
4694
|
+
const { nodeId, ...methodInput } = input;
|
|
4695
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4696
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4697
|
+
return p.markFoodReplenished(methodInput);
|
|
4698
|
+
}),
|
|
4699
|
+
callPet: trpc_middleware_js_1.adminProcedure
|
|
4700
|
+
.input(types_72.petFeederCapability.methods.callPet.input.loose())
|
|
4701
|
+
.output(types_72.petFeederCapability.methods.callPet.output)
|
|
4702
|
+
.mutation(async ({ input, ctx }) => {
|
|
4703
|
+
const { nodeId, ...methodInput } = input;
|
|
4704
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4705
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4706
|
+
return p.callPet(methodInput);
|
|
4707
|
+
}),
|
|
4708
|
+
playSound: trpc_middleware_js_1.adminProcedure
|
|
4709
|
+
.input(types_72.petFeederCapability.methods.playSound.input.loose())
|
|
4710
|
+
.output(types_72.petFeederCapability.methods.playSound.output)
|
|
4711
|
+
.mutation(async ({ input, ctx }) => {
|
|
4712
|
+
const { nodeId, ...methodInput } = input;
|
|
4713
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4714
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4715
|
+
return p.playSound(methodInput);
|
|
4716
|
+
}),
|
|
4717
|
+
setChildLock: trpc_middleware_js_1.adminProcedure
|
|
4718
|
+
.input(types_72.petFeederCapability.methods.setChildLock.input.loose())
|
|
4719
|
+
.output(types_72.petFeederCapability.methods.setChildLock.output)
|
|
4720
|
+
.mutation(async ({ input, ctx }) => {
|
|
4721
|
+
const { nodeId, ...methodInput } = input;
|
|
4722
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4723
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4724
|
+
return p.setChildLock(methodInput);
|
|
4725
|
+
}),
|
|
4726
|
+
setIndicatorLight: trpc_middleware_js_1.adminProcedure
|
|
4727
|
+
.input(types_72.petFeederCapability.methods.setIndicatorLight.input.loose())
|
|
4728
|
+
.output(types_72.petFeederCapability.methods.setIndicatorLight.output)
|
|
4729
|
+
.mutation(async ({ input, ctx }) => {
|
|
4730
|
+
const { nodeId, ...methodInput } = input;
|
|
4731
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4732
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4733
|
+
return p.setIndicatorLight(methodInput);
|
|
4734
|
+
}),
|
|
4735
|
+
setFeedSound: trpc_middleware_js_1.adminProcedure
|
|
4736
|
+
.input(types_72.petFeederCapability.methods.setFeedSound.input.loose())
|
|
4737
|
+
.output(types_72.petFeederCapability.methods.setFeedSound.output)
|
|
4738
|
+
.mutation(async ({ input, ctx }) => {
|
|
4739
|
+
const { nodeId, ...methodInput } = input;
|
|
4740
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4741
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4742
|
+
return p.setFeedSound(methodInput);
|
|
4743
|
+
}),
|
|
4744
|
+
setVolume: trpc_middleware_js_1.adminProcedure
|
|
4745
|
+
.input(types_72.petFeederCapability.methods.setVolume.input.loose())
|
|
4746
|
+
.output(types_72.petFeederCapability.methods.setVolume.output)
|
|
4747
|
+
.mutation(async ({ input, ctx }) => {
|
|
4748
|
+
const { nodeId, ...methodInput } = input;
|
|
4749
|
+
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4750
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4751
|
+
return p.setVolume(methodInput);
|
|
4752
|
+
}),
|
|
4753
|
+
});
|
|
4754
|
+
}
|
|
4650
4755
|
function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
4651
4756
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
4652
4757
|
getDeviceSettingsContribution: trpc_middleware_js_1.protectedProcedure
|
|
@@ -4677,8 +4782,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4677
4782
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
4678
4783
|
}),
|
|
4679
4784
|
getActiveTracks: trpc_middleware_js_1.protectedProcedure
|
|
4680
|
-
.input(
|
|
4681
|
-
.output(
|
|
4785
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getActiveTracks.input.loose())
|
|
4786
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getActiveTracks.output)
|
|
4682
4787
|
.query(async ({ input, ctx }) => {
|
|
4683
4788
|
const { nodeId, ...methodInput } = input;
|
|
4684
4789
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4686,8 +4791,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4686
4791
|
return p.getActiveTracks(methodInput);
|
|
4687
4792
|
}),
|
|
4688
4793
|
getTrack: trpc_middleware_js_1.protectedProcedure
|
|
4689
|
-
.input(
|
|
4690
|
-
.output(
|
|
4794
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getTrack.input.loose())
|
|
4795
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getTrack.output)
|
|
4691
4796
|
.query(async ({ input, ctx }) => {
|
|
4692
4797
|
const { nodeId, ...methodInput } = input;
|
|
4693
4798
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4695,8 +4800,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4695
4800
|
return p.getTrack(methodInput);
|
|
4696
4801
|
}),
|
|
4697
4802
|
listTracks: trpc_middleware_js_1.protectedProcedure
|
|
4698
|
-
.input(
|
|
4699
|
-
.output(
|
|
4803
|
+
.input(types_73.pipelineAnalyticsCapability.methods.listTracks.input.loose())
|
|
4804
|
+
.output(types_73.pipelineAnalyticsCapability.methods.listTracks.output)
|
|
4700
4805
|
.query(async ({ input, ctx }) => {
|
|
4701
4806
|
const { nodeId, ...methodInput } = input;
|
|
4702
4807
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4704,8 +4809,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4704
4809
|
return p.listTracks(methodInput);
|
|
4705
4810
|
}),
|
|
4706
4811
|
clearTracks: trpc_middleware_js_1.adminProcedure
|
|
4707
|
-
.input(
|
|
4708
|
-
.output(
|
|
4812
|
+
.input(types_73.pipelineAnalyticsCapability.methods.clearTracks.input.loose())
|
|
4813
|
+
.output(types_73.pipelineAnalyticsCapability.methods.clearTracks.output)
|
|
4709
4814
|
.mutation(async ({ input, ctx }) => {
|
|
4710
4815
|
const { nodeId, ...methodInput } = input;
|
|
4711
4816
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4713,8 +4818,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4713
4818
|
return p.clearTracks(methodInput);
|
|
4714
4819
|
}),
|
|
4715
4820
|
getMotionEvents: trpc_middleware_js_1.protectedProcedure
|
|
4716
|
-
.input(
|
|
4717
|
-
.output(
|
|
4821
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getMotionEvents.input.loose())
|
|
4822
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getMotionEvents.output)
|
|
4718
4823
|
.query(async ({ input, ctx }) => {
|
|
4719
4824
|
const { nodeId, ...methodInput } = input;
|
|
4720
4825
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4722,8 +4827,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4722
4827
|
return p.getMotionEvents(methodInput);
|
|
4723
4828
|
}),
|
|
4724
4829
|
getObjectEvents: trpc_middleware_js_1.protectedProcedure
|
|
4725
|
-
.input(
|
|
4726
|
-
.output(
|
|
4830
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getObjectEvents.input.loose())
|
|
4831
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getObjectEvents.output)
|
|
4727
4832
|
.query(async ({ input, ctx }) => {
|
|
4728
4833
|
const { nodeId, ...methodInput } = input;
|
|
4729
4834
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4731,8 +4836,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4731
4836
|
return p.getObjectEvents(methodInput);
|
|
4732
4837
|
}),
|
|
4733
4838
|
getAudioEvents: trpc_middleware_js_1.protectedProcedure
|
|
4734
|
-
.input(
|
|
4735
|
-
.output(
|
|
4839
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getAudioEvents.input.loose())
|
|
4840
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getAudioEvents.output)
|
|
4736
4841
|
.query(async ({ input, ctx }) => {
|
|
4737
4842
|
const { nodeId, ...methodInput } = input;
|
|
4738
4843
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4740,8 +4845,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4740
4845
|
return p.getAudioEvents(methodInput);
|
|
4741
4846
|
}),
|
|
4742
4847
|
getEventDensity: trpc_middleware_js_1.protectedProcedure
|
|
4743
|
-
.input(
|
|
4744
|
-
.output(
|
|
4848
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getEventDensity.input.loose())
|
|
4849
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getEventDensity.output)
|
|
4745
4850
|
.query(async ({ input, ctx }) => {
|
|
4746
4851
|
const { nodeId, ...methodInput } = input;
|
|
4747
4852
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4749,8 +4854,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4749
4854
|
return p.getEventDensity(methodInput);
|
|
4750
4855
|
}),
|
|
4751
4856
|
pruneEventsBefore: trpc_middleware_js_1.adminProcedure
|
|
4752
|
-
.input(
|
|
4753
|
-
.output(
|
|
4857
|
+
.input(types_73.pipelineAnalyticsCapability.methods.pruneEventsBefore.input.loose())
|
|
4858
|
+
.output(types_73.pipelineAnalyticsCapability.methods.pruneEventsBefore.output)
|
|
4754
4859
|
.mutation(async ({ input, ctx }) => {
|
|
4755
4860
|
const { nodeId, ...methodInput } = input;
|
|
4756
4861
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4758,8 +4863,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4758
4863
|
return p.pruneEventsBefore(methodInput);
|
|
4759
4864
|
}),
|
|
4760
4865
|
getEventMedia: trpc_middleware_js_1.protectedProcedure
|
|
4761
|
-
.input(
|
|
4762
|
-
.output(
|
|
4866
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getEventMedia.input.loose())
|
|
4867
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getEventMedia.output)
|
|
4763
4868
|
.query(async ({ input, ctx }) => {
|
|
4764
4869
|
const { nodeId, ...methodInput } = input;
|
|
4765
4870
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4767,8 +4872,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4767
4872
|
return p.getEventMedia(methodInput);
|
|
4768
4873
|
}),
|
|
4769
4874
|
getTrackMedia: trpc_middleware_js_1.protectedProcedure
|
|
4770
|
-
.input(
|
|
4771
|
-
.output(
|
|
4875
|
+
.input(types_73.pipelineAnalyticsCapability.methods.getTrackMedia.input.loose())
|
|
4876
|
+
.output(types_73.pipelineAnalyticsCapability.methods.getTrackMedia.output)
|
|
4772
4877
|
.query(async ({ input, ctx }) => {
|
|
4773
4878
|
const { nodeId, ...methodInput } = input;
|
|
4774
4879
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4776,8 +4881,8 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4776
4881
|
return p.getTrackMedia(methodInput);
|
|
4777
4882
|
}),
|
|
4778
4883
|
searchObjectEvents: trpc_middleware_js_1.protectedProcedure
|
|
4779
|
-
.input(
|
|
4780
|
-
.output(
|
|
4884
|
+
.input(types_73.pipelineAnalyticsCapability.methods.searchObjectEvents.input.loose())
|
|
4885
|
+
.output(types_73.pipelineAnalyticsCapability.methods.searchObjectEvents.output)
|
|
4781
4886
|
.query(async ({ input, ctx }) => {
|
|
4782
4887
|
const { nodeId, ...methodInput } = input;
|
|
4783
4888
|
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4790,21 +4895,21 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4790
4895
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
4791
4896
|
getAvailableEngines: trpc_middleware_js_1.protectedProcedure
|
|
4792
4897
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4793
|
-
.output(
|
|
4898
|
+
.output(types_74.pipelineExecutorCapability.methods.getAvailableEngines.output)
|
|
4794
4899
|
.query(async ({ input, ctx }) => {
|
|
4795
4900
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4796
4901
|
return p.getAvailableEngines();
|
|
4797
4902
|
}),
|
|
4798
4903
|
getSelectedEngine: trpc_middleware_js_1.protectedProcedure
|
|
4799
4904
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4800
|
-
.output(
|
|
4905
|
+
.output(types_74.pipelineExecutorCapability.methods.getSelectedEngine.output)
|
|
4801
4906
|
.query(async ({ input, ctx }) => {
|
|
4802
4907
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4803
4908
|
return p.getSelectedEngine();
|
|
4804
4909
|
}),
|
|
4805
4910
|
getDefaultSteps: trpc_middleware_js_1.protectedProcedure
|
|
4806
|
-
.input(
|
|
4807
|
-
.output(
|
|
4911
|
+
.input(types_74.pipelineExecutorCapability.methods.getDefaultSteps.input.loose())
|
|
4912
|
+
.output(types_74.pipelineExecutorCapability.methods.getDefaultSteps.output)
|
|
4808
4913
|
.query(async ({ input, ctx }) => {
|
|
4809
4914
|
const { nodeId, ...methodInput } = input;
|
|
4810
4915
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4813,14 +4918,14 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4813
4918
|
}),
|
|
4814
4919
|
reprobeEngine: trpc_middleware_js_1.adminProcedure
|
|
4815
4920
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4816
|
-
.output(
|
|
4921
|
+
.output(types_74.pipelineExecutorCapability.methods.reprobeEngine.output)
|
|
4817
4922
|
.mutation(async ({ input, ctx }) => {
|
|
4818
4923
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4819
4924
|
return p.reprobeEngine();
|
|
4820
4925
|
}),
|
|
4821
4926
|
getEngineProvisioning: trpc_middleware_js_1.protectedProcedure
|
|
4822
|
-
.input(
|
|
4823
|
-
.output(
|
|
4927
|
+
.input(types_74.pipelineExecutorCapability.methods.getEngineProvisioning.input.loose())
|
|
4928
|
+
.output(types_74.pipelineExecutorCapability.methods.getEngineProvisioning.output)
|
|
4824
4929
|
.query(async ({ input, ctx }) => {
|
|
4825
4930
|
const { nodeId, ...methodInput } = input;
|
|
4826
4931
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4829,14 +4934,14 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4829
4934
|
}),
|
|
4830
4935
|
getVideoPipelineSteps: trpc_middleware_js_1.protectedProcedure
|
|
4831
4936
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4832
|
-
.output(
|
|
4937
|
+
.output(types_74.pipelineExecutorCapability.methods.getVideoPipelineSteps.output)
|
|
4833
4938
|
.query(async ({ input, ctx }) => {
|
|
4834
4939
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4835
4940
|
return p.getVideoPipelineSteps();
|
|
4836
4941
|
}),
|
|
4837
4942
|
setVideoPipelineSteps: trpc_middleware_js_1.adminProcedure
|
|
4838
|
-
.input(
|
|
4839
|
-
.output(
|
|
4943
|
+
.input(types_74.pipelineExecutorCapability.methods.setVideoPipelineSteps.input.loose())
|
|
4944
|
+
.output(types_74.pipelineExecutorCapability.methods.setVideoPipelineSteps.output)
|
|
4840
4945
|
.mutation(async ({ input, ctx }) => {
|
|
4841
4946
|
const { nodeId, ...methodInput } = input;
|
|
4842
4947
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4845,42 +4950,42 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4845
4950
|
}),
|
|
4846
4951
|
getSchema: trpc_middleware_js_1.protectedProcedure
|
|
4847
4952
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4848
|
-
.output(
|
|
4953
|
+
.output(types_74.pipelineExecutorCapability.methods.getSchema.output)
|
|
4849
4954
|
.query(async ({ input, ctx }) => {
|
|
4850
4955
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4851
4956
|
return p.getSchema();
|
|
4852
4957
|
}),
|
|
4853
4958
|
getGlobalSteps: trpc_middleware_js_1.protectedProcedure
|
|
4854
4959
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4855
|
-
.output(
|
|
4960
|
+
.output(types_74.pipelineExecutorCapability.methods.getGlobalSteps.output)
|
|
4856
4961
|
.query(async ({ input, ctx }) => {
|
|
4857
4962
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4858
4963
|
return p.getGlobalSteps();
|
|
4859
4964
|
}),
|
|
4860
4965
|
getGlobalPipelineConfig: trpc_middleware_js_1.protectedProcedure
|
|
4861
4966
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4862
|
-
.output(
|
|
4967
|
+
.output(types_74.pipelineExecutorCapability.methods.getGlobalPipelineConfig.output)
|
|
4863
4968
|
.query(async ({ input, ctx }) => {
|
|
4864
4969
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4865
4970
|
return p.getGlobalPipelineConfig();
|
|
4866
4971
|
}),
|
|
4867
4972
|
getOrchestratorConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
4868
4973
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4869
|
-
.output(
|
|
4974
|
+
.output(types_74.pipelineExecutorCapability.methods.getOrchestratorConfigSchema.output)
|
|
4870
4975
|
.query(async ({ input, ctx }) => {
|
|
4871
4976
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4872
4977
|
return p.getOrchestratorConfigSchema();
|
|
4873
4978
|
}),
|
|
4874
4979
|
listTemplates: trpc_middleware_js_1.protectedProcedure
|
|
4875
4980
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4876
|
-
.output(
|
|
4981
|
+
.output(types_74.pipelineExecutorCapability.methods.listTemplates.output)
|
|
4877
4982
|
.query(async ({ input, ctx }) => {
|
|
4878
4983
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4879
4984
|
return p.listTemplates();
|
|
4880
4985
|
}),
|
|
4881
4986
|
saveTemplate: trpc_middleware_js_1.protectedProcedure
|
|
4882
|
-
.input(
|
|
4883
|
-
.output(
|
|
4987
|
+
.input(types_74.pipelineExecutorCapability.methods.saveTemplate.input.loose())
|
|
4988
|
+
.output(types_74.pipelineExecutorCapability.methods.saveTemplate.output)
|
|
4884
4989
|
.mutation(async ({ input, ctx }) => {
|
|
4885
4990
|
const { nodeId, ...methodInput } = input;
|
|
4886
4991
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4888,8 +4993,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4888
4993
|
return p.saveTemplate(methodInput);
|
|
4889
4994
|
}),
|
|
4890
4995
|
updateTemplate: trpc_middleware_js_1.protectedProcedure
|
|
4891
|
-
.input(
|
|
4892
|
-
.output(
|
|
4996
|
+
.input(types_74.pipelineExecutorCapability.methods.updateTemplate.input.loose())
|
|
4997
|
+
.output(types_74.pipelineExecutorCapability.methods.updateTemplate.output)
|
|
4893
4998
|
.mutation(async ({ input, ctx }) => {
|
|
4894
4999
|
const { nodeId, ...methodInput } = input;
|
|
4895
5000
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4897,8 +5002,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4897
5002
|
return p.updateTemplate(methodInput);
|
|
4898
5003
|
}),
|
|
4899
5004
|
deleteTemplate: trpc_middleware_js_1.protectedProcedure
|
|
4900
|
-
.input(
|
|
4901
|
-
.output(
|
|
5005
|
+
.input(types_74.pipelineExecutorCapability.methods.deleteTemplate.input.loose())
|
|
5006
|
+
.output(types_74.pipelineExecutorCapability.methods.deleteTemplate.output)
|
|
4902
5007
|
.mutation(async ({ input, ctx }) => {
|
|
4903
5008
|
const { nodeId, ...methodInput } = input;
|
|
4904
5009
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4907,14 +5012,14 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4907
5012
|
}),
|
|
4908
5013
|
getCapabilities: trpc_middleware_js_1.protectedProcedure
|
|
4909
5014
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4910
|
-
.output(
|
|
5015
|
+
.output(types_74.pipelineExecutorCapability.methods.getCapabilities.output)
|
|
4911
5016
|
.query(async ({ input, ctx }) => {
|
|
4912
5017
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4913
5018
|
return p.getCapabilities();
|
|
4914
5019
|
}),
|
|
4915
5020
|
getAddonModels: trpc_middleware_js_1.protectedProcedure
|
|
4916
|
-
.input(
|
|
4917
|
-
.output(
|
|
5021
|
+
.input(types_74.pipelineExecutorCapability.methods.getAddonModels.input.loose())
|
|
5022
|
+
.output(types_74.pipelineExecutorCapability.methods.getAddonModels.output)
|
|
4918
5023
|
.query(async ({ input, ctx }) => {
|
|
4919
5024
|
const { nodeId, ...methodInput } = input;
|
|
4920
5025
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4922,8 +5027,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4922
5027
|
return p.getAddonModels(methodInput);
|
|
4923
5028
|
}),
|
|
4924
5029
|
downloadModel: trpc_middleware_js_1.protectedProcedure
|
|
4925
|
-
.input(
|
|
4926
|
-
.output(
|
|
5030
|
+
.input(types_74.pipelineExecutorCapability.methods.downloadModel.input.loose())
|
|
5031
|
+
.output(types_74.pipelineExecutorCapability.methods.downloadModel.output)
|
|
4927
5032
|
.mutation(async ({ input, ctx }) => {
|
|
4928
5033
|
const { nodeId, ...methodInput } = input;
|
|
4929
5034
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4931,8 +5036,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4931
5036
|
return p.downloadModel(methodInput);
|
|
4932
5037
|
}),
|
|
4933
5038
|
deleteModel: trpc_middleware_js_1.protectedProcedure
|
|
4934
|
-
.input(
|
|
4935
|
-
.output(
|
|
5039
|
+
.input(types_74.pipelineExecutorCapability.methods.deleteModel.input.loose())
|
|
5040
|
+
.output(types_74.pipelineExecutorCapability.methods.deleteModel.output)
|
|
4936
5041
|
.mutation(async ({ input, ctx }) => {
|
|
4937
5042
|
const { nodeId, ...methodInput } = input;
|
|
4938
5043
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4940,8 +5045,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4940
5045
|
return p.deleteModel(methodInput);
|
|
4941
5046
|
}),
|
|
4942
5047
|
detect: trpc_middleware_js_1.protectedProcedure
|
|
4943
|
-
.input(
|
|
4944
|
-
.output(
|
|
5048
|
+
.input(types_74.pipelineExecutorCapability.methods.detect.input.loose())
|
|
5049
|
+
.output(types_74.pipelineExecutorCapability.methods.detect.output)
|
|
4945
5050
|
.query(async ({ input, ctx }) => {
|
|
4946
5051
|
const { nodeId, ...methodInput } = input;
|
|
4947
5052
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4949,8 +5054,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4949
5054
|
return p.detect(methodInput);
|
|
4950
5055
|
}),
|
|
4951
5056
|
runPipeline: trpc_middleware_js_1.protectedProcedure
|
|
4952
|
-
.input(
|
|
4953
|
-
.output(
|
|
5057
|
+
.input(types_74.pipelineExecutorCapability.methods.runPipeline.input.loose())
|
|
5058
|
+
.output(types_74.pipelineExecutorCapability.methods.runPipeline.output)
|
|
4954
5059
|
.mutation(async ({ input, ctx }) => {
|
|
4955
5060
|
const { nodeId, ...methodInput } = input;
|
|
4956
5061
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4958,8 +5063,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4958
5063
|
return p.runPipeline(methodInput);
|
|
4959
5064
|
}),
|
|
4960
5065
|
runPipelineBatch: trpc_middleware_js_1.protectedProcedure
|
|
4961
|
-
.input(
|
|
4962
|
-
.output(
|
|
5066
|
+
.input(types_74.pipelineExecutorCapability.methods.runPipelineBatch.input.loose())
|
|
5067
|
+
.output(types_74.pipelineExecutorCapability.methods.runPipelineBatch.output)
|
|
4963
5068
|
.mutation(async ({ input, ctx }) => {
|
|
4964
5069
|
const { nodeId, ...methodInput } = input;
|
|
4965
5070
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4967,8 +5072,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4967
5072
|
return p.runPipelineBatch(methodInput);
|
|
4968
5073
|
}),
|
|
4969
5074
|
cacheFrameInPool: trpc_middleware_js_1.protectedProcedure
|
|
4970
|
-
.input(
|
|
4971
|
-
.output(
|
|
5075
|
+
.input(types_74.pipelineExecutorCapability.methods.cacheFrameInPool.input.loose())
|
|
5076
|
+
.output(types_74.pipelineExecutorCapability.methods.cacheFrameInPool.output)
|
|
4972
5077
|
.mutation(async ({ input, ctx }) => {
|
|
4973
5078
|
const { nodeId, ...methodInput } = input;
|
|
4974
5079
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4976,8 +5081,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4976
5081
|
return p.cacheFrameInPool(methodInput);
|
|
4977
5082
|
}),
|
|
4978
5083
|
inferCached: trpc_middleware_js_1.protectedProcedure
|
|
4979
|
-
.input(
|
|
4980
|
-
.output(
|
|
5084
|
+
.input(types_74.pipelineExecutorCapability.methods.inferCached.input.loose())
|
|
5085
|
+
.output(types_74.pipelineExecutorCapability.methods.inferCached.output)
|
|
4981
5086
|
.mutation(async ({ input, ctx }) => {
|
|
4982
5087
|
const { nodeId, ...methodInput } = input;
|
|
4983
5088
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4985,8 +5090,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4985
5090
|
return p.inferCached(methodInput);
|
|
4986
5091
|
}),
|
|
4987
5092
|
uncacheFrame: trpc_middleware_js_1.protectedProcedure
|
|
4988
|
-
.input(
|
|
4989
|
-
.output(
|
|
5093
|
+
.input(types_74.pipelineExecutorCapability.methods.uncacheFrame.input.loose())
|
|
5094
|
+
.output(types_74.pipelineExecutorCapability.methods.uncacheFrame.output)
|
|
4990
5095
|
.mutation(async ({ input, ctx }) => {
|
|
4991
5096
|
const { nodeId, ...methodInput } = input;
|
|
4992
5097
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -4995,21 +5100,21 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4995
5100
|
}),
|
|
4996
5101
|
getEffectiveTuning: trpc_middleware_js_1.protectedProcedure
|
|
4997
5102
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4998
|
-
.output(
|
|
5103
|
+
.output(types_74.pipelineExecutorCapability.methods.getEffectiveTuning.output)
|
|
4999
5104
|
.query(async ({ input, ctx }) => {
|
|
5000
5105
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5001
5106
|
return p.getEffectiveTuning();
|
|
5002
5107
|
}),
|
|
5003
5108
|
listLoadedEngines: trpc_middleware_js_1.protectedProcedure
|
|
5004
5109
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5005
|
-
.output(
|
|
5110
|
+
.output(types_74.pipelineExecutorCapability.methods.listLoadedEngines.output)
|
|
5006
5111
|
.query(async ({ input, ctx }) => {
|
|
5007
5112
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5008
5113
|
return p.listLoadedEngines();
|
|
5009
5114
|
}),
|
|
5010
5115
|
spinEngine: trpc_middleware_js_1.adminProcedure
|
|
5011
|
-
.input(
|
|
5012
|
-
.output(
|
|
5116
|
+
.input(types_74.pipelineExecutorCapability.methods.spinEngine.input.loose())
|
|
5117
|
+
.output(types_74.pipelineExecutorCapability.methods.spinEngine.output)
|
|
5013
5118
|
.mutation(async ({ input, ctx }) => {
|
|
5014
5119
|
const { nodeId, ...methodInput } = input;
|
|
5015
5120
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5017,8 +5122,8 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
5017
5122
|
return p.spinEngine(methodInput);
|
|
5018
5123
|
}),
|
|
5019
5124
|
killEngine: trpc_middleware_js_1.adminProcedure
|
|
5020
|
-
.input(
|
|
5021
|
-
.output(
|
|
5125
|
+
.input(types_74.pipelineExecutorCapability.methods.killEngine.input.loose())
|
|
5126
|
+
.output(types_74.pipelineExecutorCapability.methods.killEngine.output)
|
|
5022
5127
|
.mutation(async ({ input, ctx }) => {
|
|
5023
5128
|
const { nodeId, ...methodInput } = input;
|
|
5024
5129
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5027,14 +5132,14 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
5027
5132
|
}),
|
|
5028
5133
|
listReferenceImages: trpc_middleware_js_1.protectedProcedure
|
|
5029
5134
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5030
|
-
.output(
|
|
5135
|
+
.output(types_74.pipelineExecutorCapability.methods.listReferenceImages.output)
|
|
5031
5136
|
.query(async ({ input, ctx }) => {
|
|
5032
5137
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5033
5138
|
return p.listReferenceImages();
|
|
5034
5139
|
}),
|
|
5035
5140
|
getReferenceImage: trpc_middleware_js_1.protectedProcedure
|
|
5036
|
-
.input(
|
|
5037
|
-
.output(
|
|
5141
|
+
.input(types_74.pipelineExecutorCapability.methods.getReferenceImage.input.loose())
|
|
5142
|
+
.output(types_74.pipelineExecutorCapability.methods.getReferenceImage.output)
|
|
5038
5143
|
.query(async ({ input, ctx }) => {
|
|
5039
5144
|
const { nodeId, ...methodInput } = input;
|
|
5040
5145
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5043,14 +5148,14 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
5043
5148
|
}),
|
|
5044
5149
|
getReferenceAudioFiles: trpc_middleware_js_1.protectedProcedure
|
|
5045
5150
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5046
|
-
.output(
|
|
5151
|
+
.output(types_74.pipelineExecutorCapability.methods.getReferenceAudioFiles.output)
|
|
5047
5152
|
.query(async ({ input, ctx }) => {
|
|
5048
5153
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5049
5154
|
return p.getReferenceAudioFiles();
|
|
5050
5155
|
}),
|
|
5051
5156
|
getReferenceAudio: trpc_middleware_js_1.protectedProcedure
|
|
5052
|
-
.input(
|
|
5053
|
-
.output(
|
|
5157
|
+
.input(types_74.pipelineExecutorCapability.methods.getReferenceAudio.input.loose())
|
|
5158
|
+
.output(types_74.pipelineExecutorCapability.methods.getReferenceAudio.output)
|
|
5054
5159
|
.query(async ({ input, ctx }) => {
|
|
5055
5160
|
const { nodeId, ...methodInput } = input;
|
|
5056
5161
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5059,14 +5164,14 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
5059
5164
|
}),
|
|
5060
5165
|
getAudioCapabilities: trpc_middleware_js_1.protectedProcedure
|
|
5061
5166
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5062
|
-
.output(
|
|
5167
|
+
.output(types_74.pipelineExecutorCapability.methods.getAudioCapabilities.output)
|
|
5063
5168
|
.query(async ({ input, ctx }) => {
|
|
5064
5169
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5065
5170
|
return p.getAudioCapabilities();
|
|
5066
5171
|
}),
|
|
5067
5172
|
runAudioTest: trpc_middleware_js_1.protectedProcedure
|
|
5068
|
-
.input(
|
|
5069
|
-
.output(
|
|
5173
|
+
.input(types_74.pipelineExecutorCapability.methods.runAudioTest.input.loose())
|
|
5174
|
+
.output(types_74.pipelineExecutorCapability.methods.runAudioTest.output)
|
|
5070
5175
|
.mutation(async ({ input, ctx }) => {
|
|
5071
5176
|
const { nodeId, ...methodInput } = input;
|
|
5072
5177
|
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5075,7 +5180,7 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
5075
5180
|
}),
|
|
5076
5181
|
getDetectionConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
5077
5182
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5078
|
-
.output(
|
|
5183
|
+
.output(types_74.pipelineExecutorCapability.methods.getDetectionConfigSchema.output)
|
|
5079
5184
|
.query(async ({ input, ctx }) => {
|
|
5080
5185
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5081
5186
|
return p.getDetectionConfigSchema();
|
|
@@ -5109,16 +5214,16 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5109
5214
|
return p.applyDeviceSettingsPatch(input);
|
|
5110
5215
|
}),
|
|
5111
5216
|
assignPipeline: trpc_middleware_js_1.adminProcedure
|
|
5112
|
-
.input(
|
|
5113
|
-
.output(
|
|
5217
|
+
.input(types_75.pipelineOrchestratorCapability.methods.assignPipeline.input.loose())
|
|
5218
|
+
.output(types_75.pipelineOrchestratorCapability.methods.assignPipeline.output)
|
|
5114
5219
|
.mutation(async ({ input, ctx }) => {
|
|
5115
5220
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5116
5221
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5117
5222
|
return p.assignPipeline(input);
|
|
5118
5223
|
}),
|
|
5119
5224
|
unassignPipeline: trpc_middleware_js_1.adminProcedure
|
|
5120
|
-
.input(
|
|
5121
|
-
.output(
|
|
5225
|
+
.input(types_75.pipelineOrchestratorCapability.methods.unassignPipeline.input.loose())
|
|
5226
|
+
.output(types_75.pipelineOrchestratorCapability.methods.unassignPipeline.output)
|
|
5122
5227
|
.mutation(async ({ input, ctx }) => {
|
|
5123
5228
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5124
5229
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5126,7 +5231,7 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5126
5231
|
}),
|
|
5127
5232
|
rebalance: trpc_middleware_js_1.adminProcedure
|
|
5128
5233
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5129
|
-
.output(
|
|
5234
|
+
.output(types_75.pipelineOrchestratorCapability.methods.rebalance.output)
|
|
5130
5235
|
.mutation(async ({ input, ctx }) => {
|
|
5131
5236
|
void input;
|
|
5132
5237
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
@@ -5134,15 +5239,15 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5134
5239
|
}),
|
|
5135
5240
|
getPipelineAssignments: trpc_middleware_js_1.protectedProcedure
|
|
5136
5241
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5137
|
-
.output(
|
|
5242
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getPipelineAssignments.output)
|
|
5138
5243
|
.query(async ({ input, ctx }) => {
|
|
5139
5244
|
void input;
|
|
5140
5245
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5141
5246
|
return p.getPipelineAssignments();
|
|
5142
5247
|
}),
|
|
5143
5248
|
getPipelineAssignment: trpc_middleware_js_1.protectedProcedure
|
|
5144
|
-
.input(
|
|
5145
|
-
.output(
|
|
5249
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getPipelineAssignment.input.loose())
|
|
5250
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getPipelineAssignment.output)
|
|
5146
5251
|
.query(async ({ input, ctx }) => {
|
|
5147
5252
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5148
5253
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5150,7 +5255,7 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5150
5255
|
}),
|
|
5151
5256
|
getAgentLoad: trpc_middleware_js_1.protectedProcedure
|
|
5152
5257
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5153
|
-
.output(
|
|
5258
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getAgentLoad.output)
|
|
5154
5259
|
.query(async ({ input, ctx }) => {
|
|
5155
5260
|
void input;
|
|
5156
5261
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
@@ -5158,47 +5263,47 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5158
5263
|
}),
|
|
5159
5264
|
getGlobalMetrics: trpc_middleware_js_1.protectedProcedure
|
|
5160
5265
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5161
|
-
.output(
|
|
5266
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getGlobalMetrics.output)
|
|
5162
5267
|
.query(async ({ input, ctx }) => {
|
|
5163
5268
|
void input;
|
|
5164
5269
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5165
5270
|
return p.getGlobalMetrics();
|
|
5166
5271
|
}),
|
|
5167
5272
|
getCameraMetrics: trpc_middleware_js_1.protectedProcedure
|
|
5168
|
-
.input(
|
|
5169
|
-
.output(
|
|
5273
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getCameraMetrics.input.loose())
|
|
5274
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getCameraMetrics.output)
|
|
5170
5275
|
.query(async ({ input, ctx }) => {
|
|
5171
5276
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5172
5277
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5173
5278
|
return p.getCameraMetrics(input);
|
|
5174
5279
|
}),
|
|
5175
5280
|
getCapabilityBindings: trpc_middleware_js_1.protectedProcedure
|
|
5176
|
-
.input(
|
|
5177
|
-
.output(
|
|
5281
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getCapabilityBindings.input.loose())
|
|
5282
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getCapabilityBindings.output)
|
|
5178
5283
|
.query(async ({ input, ctx }) => {
|
|
5179
5284
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5180
5285
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5181
5286
|
return p.getCapabilityBindings(input);
|
|
5182
5287
|
}),
|
|
5183
5288
|
setCapabilityBinding: trpc_middleware_js_1.adminProcedure
|
|
5184
|
-
.input(
|
|
5185
|
-
.output(
|
|
5289
|
+
.input(types_75.pipelineOrchestratorCapability.methods.setCapabilityBinding.input.loose())
|
|
5290
|
+
.output(types_75.pipelineOrchestratorCapability.methods.setCapabilityBinding.output)
|
|
5186
5291
|
.mutation(async ({ input, ctx }) => {
|
|
5187
5292
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5188
5293
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5189
5294
|
return p.setCapabilityBinding(input);
|
|
5190
5295
|
}),
|
|
5191
5296
|
assignDecoder: trpc_middleware_js_1.adminProcedure
|
|
5192
|
-
.input(
|
|
5193
|
-
.output(
|
|
5297
|
+
.input(types_75.pipelineOrchestratorCapability.methods.assignDecoder.input.loose())
|
|
5298
|
+
.output(types_75.pipelineOrchestratorCapability.methods.assignDecoder.output)
|
|
5194
5299
|
.mutation(async ({ input, ctx }) => {
|
|
5195
5300
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5196
5301
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5197
5302
|
return p.assignDecoder(input);
|
|
5198
5303
|
}),
|
|
5199
5304
|
unassignDecoder: trpc_middleware_js_1.adminProcedure
|
|
5200
|
-
.input(
|
|
5201
|
-
.output(
|
|
5305
|
+
.input(types_75.pipelineOrchestratorCapability.methods.unassignDecoder.input.loose())
|
|
5306
|
+
.output(types_75.pipelineOrchestratorCapability.methods.unassignDecoder.output)
|
|
5202
5307
|
.mutation(async ({ input, ctx }) => {
|
|
5203
5308
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5204
5309
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5206,31 +5311,31 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5206
5311
|
}),
|
|
5207
5312
|
getDecoderAssignments: trpc_middleware_js_1.protectedProcedure
|
|
5208
5313
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5209
|
-
.output(
|
|
5314
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getDecoderAssignments.output)
|
|
5210
5315
|
.query(async ({ input, ctx }) => {
|
|
5211
5316
|
void input;
|
|
5212
5317
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5213
5318
|
return p.getDecoderAssignments();
|
|
5214
5319
|
}),
|
|
5215
5320
|
assignAudio: trpc_middleware_js_1.adminProcedure
|
|
5216
|
-
.input(
|
|
5217
|
-
.output(
|
|
5321
|
+
.input(types_75.pipelineOrchestratorCapability.methods.assignAudio.input.loose())
|
|
5322
|
+
.output(types_75.pipelineOrchestratorCapability.methods.assignAudio.output)
|
|
5218
5323
|
.mutation(async ({ input, ctx }) => {
|
|
5219
5324
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5220
5325
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5221
5326
|
return p.assignAudio(input);
|
|
5222
5327
|
}),
|
|
5223
5328
|
unassignAudio: trpc_middleware_js_1.adminProcedure
|
|
5224
|
-
.input(
|
|
5225
|
-
.output(
|
|
5329
|
+
.input(types_75.pipelineOrchestratorCapability.methods.unassignAudio.input.loose())
|
|
5330
|
+
.output(types_75.pipelineOrchestratorCapability.methods.unassignAudio.output)
|
|
5226
5331
|
.mutation(async ({ input, ctx }) => {
|
|
5227
5332
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5228
5333
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5229
5334
|
return p.unassignAudio(input);
|
|
5230
5335
|
}),
|
|
5231
5336
|
getAudioAssignment: trpc_middleware_js_1.protectedProcedure
|
|
5232
|
-
.input(
|
|
5233
|
-
.output(
|
|
5337
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getAudioAssignment.input.loose())
|
|
5338
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getAudioAssignment.output)
|
|
5234
5339
|
.query(async ({ input, ctx }) => {
|
|
5235
5340
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5236
5341
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5238,7 +5343,7 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5238
5343
|
}),
|
|
5239
5344
|
getAudioNodeLoad: trpc_middleware_js_1.protectedProcedure
|
|
5240
5345
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5241
|
-
.output(
|
|
5346
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getAudioNodeLoad.output)
|
|
5242
5347
|
.query(async ({ input, ctx }) => {
|
|
5243
5348
|
void input;
|
|
5244
5349
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
@@ -5246,23 +5351,23 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5246
5351
|
}),
|
|
5247
5352
|
getAudioAssignments: trpc_middleware_js_1.protectedProcedure
|
|
5248
5353
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5249
|
-
.output(
|
|
5354
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getAudioAssignments.output)
|
|
5250
5355
|
.query(async ({ input, ctx }) => {
|
|
5251
5356
|
void input;
|
|
5252
5357
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5253
5358
|
return p.getAudioAssignments();
|
|
5254
5359
|
}),
|
|
5255
5360
|
getDecoderAssignment: trpc_middleware_js_1.protectedProcedure
|
|
5256
|
-
.input(
|
|
5257
|
-
.output(
|
|
5361
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getDecoderAssignment.input.loose())
|
|
5362
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getDecoderAssignment.output)
|
|
5258
5363
|
.query(async ({ input, ctx }) => {
|
|
5259
5364
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5260
5365
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5261
5366
|
return p.getDecoderAssignment(input);
|
|
5262
5367
|
}),
|
|
5263
5368
|
getAgentSettings: trpc_middleware_js_1.protectedProcedure
|
|
5264
|
-
.input(
|
|
5265
|
-
.output(
|
|
5369
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getAgentSettings.input.loose())
|
|
5370
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getAgentSettings.output)
|
|
5266
5371
|
.query(async ({ input, ctx }) => {
|
|
5267
5372
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5268
5373
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5270,95 +5375,95 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5270
5375
|
}),
|
|
5271
5376
|
listAgentSettings: trpc_middleware_js_1.protectedProcedure
|
|
5272
5377
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5273
|
-
.output(
|
|
5378
|
+
.output(types_75.pipelineOrchestratorCapability.methods.listAgentSettings.output)
|
|
5274
5379
|
.query(async ({ input, ctx }) => {
|
|
5275
5380
|
void input;
|
|
5276
5381
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5277
5382
|
return p.listAgentSettings();
|
|
5278
5383
|
}),
|
|
5279
5384
|
setAgentAddonDefaults: trpc_middleware_js_1.adminProcedure
|
|
5280
|
-
.input(
|
|
5281
|
-
.output(
|
|
5385
|
+
.input(types_75.pipelineOrchestratorCapability.methods.setAgentAddonDefaults.input.loose())
|
|
5386
|
+
.output(types_75.pipelineOrchestratorCapability.methods.setAgentAddonDefaults.output)
|
|
5282
5387
|
.mutation(async ({ input, ctx }) => {
|
|
5283
5388
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5284
5389
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5285
5390
|
return p.setAgentAddonDefaults(input);
|
|
5286
5391
|
}),
|
|
5287
5392
|
removeAgentSettings: trpc_middleware_js_1.adminProcedure
|
|
5288
|
-
.input(
|
|
5289
|
-
.output(
|
|
5393
|
+
.input(types_75.pipelineOrchestratorCapability.methods.removeAgentSettings.input.loose())
|
|
5394
|
+
.output(types_75.pipelineOrchestratorCapability.methods.removeAgentSettings.output)
|
|
5290
5395
|
.mutation(async ({ input, ctx }) => {
|
|
5291
5396
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5292
5397
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5293
5398
|
return p.removeAgentSettings(input);
|
|
5294
5399
|
}),
|
|
5295
5400
|
setAgentMaxCameras: trpc_middleware_js_1.adminProcedure
|
|
5296
|
-
.input(
|
|
5297
|
-
.output(
|
|
5401
|
+
.input(types_75.pipelineOrchestratorCapability.methods.setAgentMaxCameras.input.loose())
|
|
5402
|
+
.output(types_75.pipelineOrchestratorCapability.methods.setAgentMaxCameras.output)
|
|
5298
5403
|
.mutation(async ({ input, ctx }) => {
|
|
5299
5404
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5300
5405
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5301
5406
|
return p.setAgentMaxCameras(input);
|
|
5302
5407
|
}),
|
|
5303
5408
|
getCameraSettings: trpc_middleware_js_1.protectedProcedure
|
|
5304
|
-
.input(
|
|
5305
|
-
.output(
|
|
5409
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getCameraSettings.input.loose())
|
|
5410
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getCameraSettings.output)
|
|
5306
5411
|
.query(async ({ input, ctx }) => {
|
|
5307
5412
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5308
5413
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5309
5414
|
return p.getCameraSettings(input);
|
|
5310
5415
|
}),
|
|
5311
5416
|
setCameraStepToggle: trpc_middleware_js_1.adminProcedure
|
|
5312
|
-
.input(
|
|
5313
|
-
.output(
|
|
5417
|
+
.input(types_75.pipelineOrchestratorCapability.methods.setCameraStepToggle.input.loose())
|
|
5418
|
+
.output(types_75.pipelineOrchestratorCapability.methods.setCameraStepToggle.output)
|
|
5314
5419
|
.mutation(async ({ input, ctx }) => {
|
|
5315
5420
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5316
5421
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5317
5422
|
return p.setCameraStepToggle(input);
|
|
5318
5423
|
}),
|
|
5319
5424
|
getCameraStepOverrides: trpc_middleware_js_1.protectedProcedure
|
|
5320
|
-
.input(
|
|
5321
|
-
.output(
|
|
5425
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getCameraStepOverrides.input.loose())
|
|
5426
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getCameraStepOverrides.output)
|
|
5322
5427
|
.query(async ({ input, ctx }) => {
|
|
5323
5428
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5324
5429
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5325
5430
|
return p.getCameraStepOverrides(input);
|
|
5326
5431
|
}),
|
|
5327
5432
|
setCameraStepOverride: trpc_middleware_js_1.adminProcedure
|
|
5328
|
-
.input(
|
|
5329
|
-
.output(
|
|
5433
|
+
.input(types_75.pipelineOrchestratorCapability.methods.setCameraStepOverride.input.loose())
|
|
5434
|
+
.output(types_75.pipelineOrchestratorCapability.methods.setCameraStepOverride.output)
|
|
5330
5435
|
.mutation(async ({ input, ctx }) => {
|
|
5331
5436
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5332
5437
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5333
5438
|
return p.setCameraStepOverride(input);
|
|
5334
5439
|
}),
|
|
5335
5440
|
setCameraPipelineForAgent: trpc_middleware_js_1.adminProcedure
|
|
5336
|
-
.input(
|
|
5337
|
-
.output(
|
|
5441
|
+
.input(types_75.pipelineOrchestratorCapability.methods.setCameraPipelineForAgent.input.loose())
|
|
5442
|
+
.output(types_75.pipelineOrchestratorCapability.methods.setCameraPipelineForAgent.output)
|
|
5338
5443
|
.mutation(async ({ input, ctx }) => {
|
|
5339
5444
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5340
5445
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5341
5446
|
return p.setCameraPipelineForAgent(input);
|
|
5342
5447
|
}),
|
|
5343
5448
|
resolvePipeline: trpc_middleware_js_1.protectedProcedure
|
|
5344
|
-
.input(
|
|
5345
|
-
.output(
|
|
5449
|
+
.input(types_75.pipelineOrchestratorCapability.methods.resolvePipeline.input.loose())
|
|
5450
|
+
.output(types_75.pipelineOrchestratorCapability.methods.resolvePipeline.output)
|
|
5346
5451
|
.query(async ({ input, ctx }) => {
|
|
5347
5452
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5348
5453
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5349
5454
|
return p.resolvePipeline(input);
|
|
5350
5455
|
}),
|
|
5351
5456
|
getCameraStatus: trpc_middleware_js_1.protectedProcedure
|
|
5352
|
-
.input(
|
|
5353
|
-
.output(
|
|
5457
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getCameraStatus.input.loose())
|
|
5458
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getCameraStatus.output)
|
|
5354
5459
|
.query(async ({ input, ctx }) => {
|
|
5355
5460
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5356
5461
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5357
5462
|
return p.getCameraStatus(input);
|
|
5358
5463
|
}),
|
|
5359
5464
|
getCameraStatuses: trpc_middleware_js_1.protectedProcedure
|
|
5360
|
-
.input(
|
|
5361
|
-
.output(
|
|
5465
|
+
.input(types_75.pipelineOrchestratorCapability.methods.getCameraStatuses.input.loose())
|
|
5466
|
+
.output(types_75.pipelineOrchestratorCapability.methods.getCameraStatuses.output)
|
|
5362
5467
|
.query(async ({ input, ctx }) => {
|
|
5363
5468
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5364
5469
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5366,31 +5471,31 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5366
5471
|
}),
|
|
5367
5472
|
listTemplates: trpc_middleware_js_1.protectedProcedure
|
|
5368
5473
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5369
|
-
.output(
|
|
5474
|
+
.output(types_75.pipelineOrchestratorCapability.methods.listTemplates.output)
|
|
5370
5475
|
.query(async ({ input, ctx }) => {
|
|
5371
5476
|
void input;
|
|
5372
5477
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5373
5478
|
return p.listTemplates();
|
|
5374
5479
|
}),
|
|
5375
5480
|
saveTemplate: trpc_middleware_js_1.adminProcedure
|
|
5376
|
-
.input(
|
|
5377
|
-
.output(
|
|
5481
|
+
.input(types_75.pipelineOrchestratorCapability.methods.saveTemplate.input.loose())
|
|
5482
|
+
.output(types_75.pipelineOrchestratorCapability.methods.saveTemplate.output)
|
|
5378
5483
|
.mutation(async ({ input, ctx }) => {
|
|
5379
5484
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5380
5485
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5381
5486
|
return p.saveTemplate(input);
|
|
5382
5487
|
}),
|
|
5383
5488
|
updateTemplate: trpc_middleware_js_1.adminProcedure
|
|
5384
|
-
.input(
|
|
5385
|
-
.output(
|
|
5489
|
+
.input(types_75.pipelineOrchestratorCapability.methods.updateTemplate.input.loose())
|
|
5490
|
+
.output(types_75.pipelineOrchestratorCapability.methods.updateTemplate.output)
|
|
5386
5491
|
.mutation(async ({ input, ctx }) => {
|
|
5387
5492
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5388
5493
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5389
5494
|
return p.updateTemplate(input);
|
|
5390
5495
|
}),
|
|
5391
5496
|
deleteTemplate: trpc_middleware_js_1.adminProcedure
|
|
5392
|
-
.input(
|
|
5393
|
-
.output(
|
|
5497
|
+
.input(types_75.pipelineOrchestratorCapability.methods.deleteTemplate.input.loose())
|
|
5498
|
+
.output(types_75.pipelineOrchestratorCapability.methods.deleteTemplate.output)
|
|
5394
5499
|
.mutation(async ({ input, ctx }) => {
|
|
5395
5500
|
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
5396
5501
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -5401,8 +5506,8 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
5401
5506
|
function createCapRouter_pipelineRunner(getProvider, createRemoteProxy) {
|
|
5402
5507
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5403
5508
|
attachCamera: trpc_middleware_js_1.protectedProcedure
|
|
5404
|
-
.input(
|
|
5405
|
-
.output(
|
|
5509
|
+
.input(types_76.pipelineRunnerCapability.methods.attachCamera.input.loose())
|
|
5510
|
+
.output(types_76.pipelineRunnerCapability.methods.attachCamera.output)
|
|
5406
5511
|
.mutation(async ({ input, ctx }) => {
|
|
5407
5512
|
const { nodeId, ...methodInput } = input;
|
|
5408
5513
|
const p = resolveProvider('pipeline-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5410,8 +5515,8 @@ function createCapRouter_pipelineRunner(getProvider, createRemoteProxy) {
|
|
|
5410
5515
|
return p.attachCamera(methodInput);
|
|
5411
5516
|
}),
|
|
5412
5517
|
detachCamera: trpc_middleware_js_1.protectedProcedure
|
|
5413
|
-
.input(
|
|
5414
|
-
.output(
|
|
5518
|
+
.input(types_76.pipelineRunnerCapability.methods.detachCamera.input.loose())
|
|
5519
|
+
.output(types_76.pipelineRunnerCapability.methods.detachCamera.output)
|
|
5415
5520
|
.mutation(async ({ input, ctx }) => {
|
|
5416
5521
|
const { nodeId, ...methodInput } = input;
|
|
5417
5522
|
const p = resolveProvider('pipeline-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5419,8 +5524,8 @@ function createCapRouter_pipelineRunner(getProvider, createRemoteProxy) {
|
|
|
5419
5524
|
return p.detachCamera(methodInput);
|
|
5420
5525
|
}),
|
|
5421
5526
|
reportMotion: trpc_middleware_js_1.protectedProcedure
|
|
5422
|
-
.input(
|
|
5423
|
-
.output(
|
|
5527
|
+
.input(types_76.pipelineRunnerCapability.methods.reportMotion.input.loose())
|
|
5528
|
+
.output(types_76.pipelineRunnerCapability.methods.reportMotion.output)
|
|
5424
5529
|
.mutation(async ({ input, ctx }) => {
|
|
5425
5530
|
const { nodeId, ...methodInput } = input;
|
|
5426
5531
|
const p = resolveProvider('pipeline-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5429,21 +5534,21 @@ function createCapRouter_pipelineRunner(getProvider, createRemoteProxy) {
|
|
|
5429
5534
|
}),
|
|
5430
5535
|
getLocalLoad: trpc_middleware_js_1.protectedProcedure
|
|
5431
5536
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5432
|
-
.output(
|
|
5537
|
+
.output(types_76.pipelineRunnerCapability.methods.getLocalLoad.output)
|
|
5433
5538
|
.query(async ({ input, ctx }) => {
|
|
5434
5539
|
const p = resolveProvider('pipeline-runner', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5435
5540
|
return p.getLocalLoad();
|
|
5436
5541
|
}),
|
|
5437
5542
|
getLocalMetrics: trpc_middleware_js_1.protectedProcedure
|
|
5438
5543
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5439
|
-
.output(
|
|
5544
|
+
.output(types_76.pipelineRunnerCapability.methods.getLocalMetrics.output)
|
|
5440
5545
|
.query(async ({ input, ctx }) => {
|
|
5441
5546
|
const p = resolveProvider('pipeline-runner', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5442
5547
|
return p.getLocalMetrics();
|
|
5443
5548
|
}),
|
|
5444
5549
|
getCameraMetrics: trpc_middleware_js_1.protectedProcedure
|
|
5445
|
-
.input(
|
|
5446
|
-
.output(
|
|
5550
|
+
.input(types_76.pipelineRunnerCapability.methods.getCameraMetrics.input.loose())
|
|
5551
|
+
.output(types_76.pipelineRunnerCapability.methods.getCameraMetrics.output)
|
|
5447
5552
|
.query(async ({ input, ctx }) => {
|
|
5448
5553
|
const { nodeId, ...methodInput } = input;
|
|
5449
5554
|
const p = resolveProvider('pipeline-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5452,14 +5557,14 @@ function createCapRouter_pipelineRunner(getProvider, createRemoteProxy) {
|
|
|
5452
5557
|
}),
|
|
5453
5558
|
getAllCameraMetrics: trpc_middleware_js_1.protectedProcedure
|
|
5454
5559
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5455
|
-
.output(
|
|
5560
|
+
.output(types_76.pipelineRunnerCapability.methods.getAllCameraMetrics.output)
|
|
5456
5561
|
.query(async ({ input, ctx }) => {
|
|
5457
5562
|
const p = resolveProvider('pipeline-runner', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5458
5563
|
return p.getAllCameraMetrics();
|
|
5459
5564
|
}),
|
|
5460
5565
|
getLocalCameras: trpc_middleware_js_1.protectedProcedure
|
|
5461
5566
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5462
|
-
.output(
|
|
5567
|
+
.output(types_76.pipelineRunnerCapability.methods.getLocalCameras.output)
|
|
5463
5568
|
.query(async ({ input, ctx }) => {
|
|
5464
5569
|
const p = resolveProvider('pipeline-runner', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5465
5570
|
return p.getLocalCameras();
|
|
@@ -5469,15 +5574,15 @@ function createCapRouter_pipelineRunner(getProvider, createRemoteProxy) {
|
|
|
5469
5574
|
function createCapRouter_plateGallery(getProvider, createRemoteProxy) {
|
|
5470
5575
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5471
5576
|
listPlates: trpc_middleware_js_1.protectedProcedure
|
|
5472
|
-
.input(
|
|
5473
|
-
.output(
|
|
5577
|
+
.input(types_77.plateGalleryCapability.methods.listPlates.input)
|
|
5578
|
+
.output(types_77.plateGalleryCapability.methods.listPlates.output)
|
|
5474
5579
|
.query(async ({ input, ctx }) => {
|
|
5475
5580
|
const p = requireCapProvider('plate-gallery', () => getProvider(ctx));
|
|
5476
5581
|
return p.listPlates(input);
|
|
5477
5582
|
}),
|
|
5478
5583
|
getPlateByTrack: trpc_middleware_js_1.protectedProcedure
|
|
5479
|
-
.input(
|
|
5480
|
-
.output(
|
|
5584
|
+
.input(types_77.plateGalleryCapability.methods.getPlateByTrack.input.loose())
|
|
5585
|
+
.output(types_77.plateGalleryCapability.methods.getPlateByTrack.output)
|
|
5481
5586
|
.query(async ({ input, ctx }) => {
|
|
5482
5587
|
const { nodeId, ...methodInput } = input;
|
|
5483
5588
|
const p = resolveProvider('plate-gallery', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5485,8 +5590,8 @@ function createCapRouter_plateGallery(getProvider, createRemoteProxy) {
|
|
|
5485
5590
|
return p.getPlateByTrack(methodInput);
|
|
5486
5591
|
}),
|
|
5487
5592
|
getPlateMedia: trpc_middleware_js_1.protectedProcedure
|
|
5488
|
-
.input(
|
|
5489
|
-
.output(
|
|
5593
|
+
.input(types_77.plateGalleryCapability.methods.getPlateMedia.input.loose())
|
|
5594
|
+
.output(types_77.plateGalleryCapability.methods.getPlateMedia.output)
|
|
5490
5595
|
.query(async ({ input, ctx }) => {
|
|
5491
5596
|
const { nodeId, ...methodInput } = input;
|
|
5492
5597
|
const p = resolveProvider('plate-gallery', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5494,8 +5599,8 @@ function createCapRouter_plateGallery(getProvider, createRemoteProxy) {
|
|
|
5494
5599
|
return p.getPlateMedia(methodInput);
|
|
5495
5600
|
}),
|
|
5496
5601
|
searchPlates: trpc_middleware_js_1.protectedProcedure
|
|
5497
|
-
.input(
|
|
5498
|
-
.output(
|
|
5602
|
+
.input(types_77.plateGalleryCapability.methods.searchPlates.input.loose())
|
|
5603
|
+
.output(types_77.plateGalleryCapability.methods.searchPlates.output)
|
|
5499
5604
|
.query(async ({ input, ctx }) => {
|
|
5500
5605
|
const { nodeId, ...methodInput } = input;
|
|
5501
5606
|
const p = resolveProvider('plate-gallery', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5503,15 +5608,15 @@ function createCapRouter_plateGallery(getProvider, createRemoteProxy) {
|
|
|
5503
5608
|
return p.searchPlates(methodInput);
|
|
5504
5609
|
}),
|
|
5505
5610
|
suggestPlateClusters: trpc_middleware_js_1.protectedProcedure
|
|
5506
|
-
.input(
|
|
5507
|
-
.output(
|
|
5611
|
+
.input(types_77.plateGalleryCapability.methods.suggestPlateClusters.input)
|
|
5612
|
+
.output(types_77.plateGalleryCapability.methods.suggestPlateClusters.output)
|
|
5508
5613
|
.query(async ({ input, ctx }) => {
|
|
5509
5614
|
const p = requireCapProvider('plate-gallery', () => getProvider(ctx));
|
|
5510
5615
|
return p.suggestPlateClusters(input);
|
|
5511
5616
|
}),
|
|
5512
5617
|
correctPlateText: trpc_middleware_js_1.adminProcedure
|
|
5513
|
-
.input(
|
|
5514
|
-
.output(
|
|
5618
|
+
.input(types_77.plateGalleryCapability.methods.correctPlateText.input.loose())
|
|
5619
|
+
.output(types_77.plateGalleryCapability.methods.correctPlateText.output)
|
|
5515
5620
|
.mutation(async ({ input, ctx }) => {
|
|
5516
5621
|
const { nodeId, ...methodInput } = input;
|
|
5517
5622
|
const p = resolveProvider('plate-gallery', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5519,8 +5624,8 @@ function createCapRouter_plateGallery(getProvider, createRemoteProxy) {
|
|
|
5519
5624
|
return p.correctPlateText(methodInput);
|
|
5520
5625
|
}),
|
|
5521
5626
|
deletePlate: trpc_middleware_js_1.adminProcedure
|
|
5522
|
-
.input(
|
|
5523
|
-
.output(
|
|
5627
|
+
.input(types_77.plateGalleryCapability.methods.deletePlate.input.loose())
|
|
5628
|
+
.output(types_77.plateGalleryCapability.methods.deletePlate.output)
|
|
5524
5629
|
.mutation(async ({ input, ctx }) => {
|
|
5525
5630
|
const { nodeId, ...methodInput } = input;
|
|
5526
5631
|
const p = resolveProvider('plate-gallery', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5533,21 +5638,21 @@ function createCapRouter_platformProbe(getProvider, createRemoteProxy) {
|
|
|
5533
5638
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5534
5639
|
getCapabilities: trpc_middleware_js_1.protectedProcedure
|
|
5535
5640
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5536
|
-
.output(
|
|
5641
|
+
.output(types_78.platformProbeCapability.methods.getCapabilities.output)
|
|
5537
5642
|
.query(async ({ input, ctx }) => {
|
|
5538
5643
|
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5539
5644
|
return p.getCapabilities();
|
|
5540
5645
|
}),
|
|
5541
5646
|
getHardware: trpc_middleware_js_1.protectedProcedure
|
|
5542
5647
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5543
|
-
.output(
|
|
5648
|
+
.output(types_78.platformProbeCapability.methods.getHardware.output)
|
|
5544
5649
|
.query(async ({ input, ctx }) => {
|
|
5545
5650
|
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5546
5651
|
return p.getHardware();
|
|
5547
5652
|
}),
|
|
5548
5653
|
resolveInferenceConfig: trpc_middleware_js_1.protectedProcedure
|
|
5549
|
-
.input(
|
|
5550
|
-
.output(
|
|
5654
|
+
.input(types_78.platformProbeCapability.methods.resolveInferenceConfig.input.loose())
|
|
5655
|
+
.output(types_78.platformProbeCapability.methods.resolveInferenceConfig.output)
|
|
5551
5656
|
.query(async ({ input, ctx }) => {
|
|
5552
5657
|
const { nodeId, ...methodInput } = input;
|
|
5553
5658
|
const p = resolveProvider('platform-probe', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5555,8 +5660,8 @@ function createCapRouter_platformProbe(getProvider, createRemoteProxy) {
|
|
|
5555
5660
|
return p.resolveInferenceConfig(methodInput);
|
|
5556
5661
|
}),
|
|
5557
5662
|
resolveHwAccel: trpc_middleware_js_1.protectedProcedure
|
|
5558
|
-
.input(
|
|
5559
|
-
.output(
|
|
5663
|
+
.input(types_78.platformProbeCapability.methods.resolveHwAccel.input.loose())
|
|
5664
|
+
.output(types_78.platformProbeCapability.methods.resolveHwAccel.output)
|
|
5560
5665
|
.query(async ({ input, ctx }) => {
|
|
5561
5666
|
const { nodeId, ...methodInput } = input;
|
|
5562
5667
|
const p = resolveProvider('platform-probe', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5565,28 +5670,28 @@ function createCapRouter_platformProbe(getProvider, createRemoteProxy) {
|
|
|
5565
5670
|
}),
|
|
5566
5671
|
getHardwareEncoders: trpc_middleware_js_1.protectedProcedure
|
|
5567
5672
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5568
|
-
.output(
|
|
5673
|
+
.output(types_78.platformProbeCapability.methods.getHardwareEncoders.output)
|
|
5569
5674
|
.query(async ({ input, ctx }) => {
|
|
5570
5675
|
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5571
5676
|
return p.getHardwareEncoders();
|
|
5572
5677
|
}),
|
|
5573
5678
|
refreshHardwareEncoders: trpc_middleware_js_1.adminProcedure
|
|
5574
5679
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5575
|
-
.output(
|
|
5680
|
+
.output(types_78.platformProbeCapability.methods.refreshHardwareEncoders.output)
|
|
5576
5681
|
.mutation(async ({ input, ctx }) => {
|
|
5577
5682
|
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5578
5683
|
return p.refreshHardwareEncoders();
|
|
5579
5684
|
}),
|
|
5580
5685
|
getHardwareDecodeAccels: trpc_middleware_js_1.protectedProcedure
|
|
5581
5686
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5582
|
-
.output(
|
|
5687
|
+
.output(types_78.platformProbeCapability.methods.getHardwareDecodeAccels.output)
|
|
5583
5688
|
.query(async ({ input, ctx }) => {
|
|
5584
5689
|
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5585
5690
|
return p.getHardwareDecodeAccels();
|
|
5586
5691
|
}),
|
|
5587
5692
|
refreshHardwareDecodeAccels: trpc_middleware_js_1.adminProcedure
|
|
5588
5693
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5589
|
-
.output(
|
|
5694
|
+
.output(types_78.platformProbeCapability.methods.refreshHardwareDecodeAccels.output)
|
|
5590
5695
|
.mutation(async ({ input, ctx }) => {
|
|
5591
5696
|
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5592
5697
|
return p.refreshHardwareDecodeAccels();
|
|
@@ -5644,8 +5749,8 @@ function createCapRouter_privacyMask(getProvider, createRemoteProxy) {
|
|
|
5644
5749
|
return p.getStatus(methodInput);
|
|
5645
5750
|
}),
|
|
5646
5751
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
5647
|
-
.input(
|
|
5648
|
-
.output(
|
|
5752
|
+
.input(types_79.privacyMaskCapability.methods.getOptions.input.loose())
|
|
5753
|
+
.output(types_79.privacyMaskCapability.methods.getOptions.output)
|
|
5649
5754
|
.query(async ({ input, ctx }) => {
|
|
5650
5755
|
const { nodeId, ...methodInput } = input;
|
|
5651
5756
|
const p = resolveProvider('privacy-mask', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5653,8 +5758,8 @@ function createCapRouter_privacyMask(getProvider, createRemoteProxy) {
|
|
|
5653
5758
|
return p.getOptions(methodInput);
|
|
5654
5759
|
}),
|
|
5655
5760
|
setMask: trpc_middleware_js_1.adminProcedure
|
|
5656
|
-
.input(
|
|
5657
|
-
.output(
|
|
5761
|
+
.input(types_79.privacyMaskCapability.methods.setMask.input.loose())
|
|
5762
|
+
.output(types_79.privacyMaskCapability.methods.setMask.output)
|
|
5658
5763
|
.mutation(async ({ input, ctx }) => {
|
|
5659
5764
|
const { nodeId, ...methodInput } = input;
|
|
5660
5765
|
const p = resolveProvider('privacy-mask', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5675,8 +5780,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5675
5780
|
return p.getStatus(methodInput);
|
|
5676
5781
|
}),
|
|
5677
5782
|
move: trpc_middleware_js_1.protectedProcedure
|
|
5678
|
-
.input(
|
|
5679
|
-
.output(
|
|
5783
|
+
.input(types_80.ptzCapability.methods.move.input.loose())
|
|
5784
|
+
.output(types_80.ptzCapability.methods.move.output)
|
|
5680
5785
|
.mutation(async ({ input, ctx }) => {
|
|
5681
5786
|
const { nodeId, ...methodInput } = input;
|
|
5682
5787
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5684,8 +5789,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5684
5789
|
return p.move(methodInput);
|
|
5685
5790
|
}),
|
|
5686
5791
|
continuousMove: trpc_middleware_js_1.protectedProcedure
|
|
5687
|
-
.input(
|
|
5688
|
-
.output(
|
|
5792
|
+
.input(types_80.ptzCapability.methods.continuousMove.input.loose())
|
|
5793
|
+
.output(types_80.ptzCapability.methods.continuousMove.output)
|
|
5689
5794
|
.mutation(async ({ input, ctx }) => {
|
|
5690
5795
|
const { nodeId, ...methodInput } = input;
|
|
5691
5796
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5693,8 +5798,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5693
5798
|
return p.continuousMove(methodInput);
|
|
5694
5799
|
}),
|
|
5695
5800
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
5696
|
-
.input(
|
|
5697
|
-
.output(
|
|
5801
|
+
.input(types_80.ptzCapability.methods.stop.input.loose())
|
|
5802
|
+
.output(types_80.ptzCapability.methods.stop.output)
|
|
5698
5803
|
.mutation(async ({ input, ctx }) => {
|
|
5699
5804
|
const { nodeId, ...methodInput } = input;
|
|
5700
5805
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5702,8 +5807,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5702
5807
|
return p.stop(methodInput);
|
|
5703
5808
|
}),
|
|
5704
5809
|
getPresets: trpc_middleware_js_1.protectedProcedure
|
|
5705
|
-
.input(
|
|
5706
|
-
.output(
|
|
5810
|
+
.input(types_80.ptzCapability.methods.getPresets.input.loose())
|
|
5811
|
+
.output(types_80.ptzCapability.methods.getPresets.output)
|
|
5707
5812
|
.query(async ({ input, ctx }) => {
|
|
5708
5813
|
const { nodeId, ...methodInput } = input;
|
|
5709
5814
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5711,8 +5816,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5711
5816
|
return p.getPresets(methodInput);
|
|
5712
5817
|
}),
|
|
5713
5818
|
goToPreset: trpc_middleware_js_1.protectedProcedure
|
|
5714
|
-
.input(
|
|
5715
|
-
.output(
|
|
5819
|
+
.input(types_80.ptzCapability.methods.goToPreset.input.loose())
|
|
5820
|
+
.output(types_80.ptzCapability.methods.goToPreset.output)
|
|
5716
5821
|
.mutation(async ({ input, ctx }) => {
|
|
5717
5822
|
const { nodeId, ...methodInput } = input;
|
|
5718
5823
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5720,8 +5825,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5720
5825
|
return p.goToPreset(methodInput);
|
|
5721
5826
|
}),
|
|
5722
5827
|
savePreset: trpc_middleware_js_1.adminProcedure
|
|
5723
|
-
.input(
|
|
5724
|
-
.output(
|
|
5828
|
+
.input(types_80.ptzCapability.methods.savePreset.input.loose())
|
|
5829
|
+
.output(types_80.ptzCapability.methods.savePreset.output)
|
|
5725
5830
|
.mutation(async ({ input, ctx }) => {
|
|
5726
5831
|
const { nodeId, ...methodInput } = input;
|
|
5727
5832
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5729,8 +5834,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5729
5834
|
return p.savePreset(methodInput);
|
|
5730
5835
|
}),
|
|
5731
5836
|
deletePreset: trpc_middleware_js_1.adminProcedure
|
|
5732
|
-
.input(
|
|
5733
|
-
.output(
|
|
5837
|
+
.input(types_80.ptzCapability.methods.deletePreset.input.loose())
|
|
5838
|
+
.output(types_80.ptzCapability.methods.deletePreset.output)
|
|
5734
5839
|
.mutation(async ({ input, ctx }) => {
|
|
5735
5840
|
const { nodeId, ...methodInput } = input;
|
|
5736
5841
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5738,8 +5843,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5738
5843
|
return p.deletePreset(methodInput);
|
|
5739
5844
|
}),
|
|
5740
5845
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
5741
|
-
.input(
|
|
5742
|
-
.output(
|
|
5846
|
+
.input(types_80.ptzCapability.methods.getOptions.input.loose())
|
|
5847
|
+
.output(types_80.ptzCapability.methods.getOptions.output)
|
|
5743
5848
|
.query(async ({ input, ctx }) => {
|
|
5744
5849
|
const { nodeId, ...methodInput } = input;
|
|
5745
5850
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5747,8 +5852,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5747
5852
|
return p.getOptions(methodInput);
|
|
5748
5853
|
}),
|
|
5749
5854
|
goHome: trpc_middleware_js_1.protectedProcedure
|
|
5750
|
-
.input(
|
|
5751
|
-
.output(
|
|
5855
|
+
.input(types_80.ptzCapability.methods.goHome.input.loose())
|
|
5856
|
+
.output(types_80.ptzCapability.methods.goHome.output)
|
|
5752
5857
|
.mutation(async ({ input, ctx }) => {
|
|
5753
5858
|
const { nodeId, ...methodInput } = input;
|
|
5754
5859
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5756,8 +5861,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5756
5861
|
return p.goHome(methodInput);
|
|
5757
5862
|
}),
|
|
5758
5863
|
getPosition: trpc_middleware_js_1.protectedProcedure
|
|
5759
|
-
.input(
|
|
5760
|
-
.output(
|
|
5864
|
+
.input(types_80.ptzCapability.methods.getPosition.input.loose())
|
|
5865
|
+
.output(types_80.ptzCapability.methods.getPosition.output)
|
|
5761
5866
|
.query(async ({ input, ctx }) => {
|
|
5762
5867
|
const { nodeId, ...methodInput } = input;
|
|
5763
5868
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5765,8 +5870,8 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
5765
5870
|
return p.getPosition(methodInput);
|
|
5766
5871
|
}),
|
|
5767
5872
|
setAutofocus: trpc_middleware_js_1.protectedProcedure
|
|
5768
|
-
.input(
|
|
5769
|
-
.output(
|
|
5873
|
+
.input(types_80.ptzCapability.methods.setAutofocus.input.loose())
|
|
5874
|
+
.output(types_80.ptzCapability.methods.setAutofocus.output)
|
|
5770
5875
|
.mutation(async ({ input, ctx }) => {
|
|
5771
5876
|
const { nodeId, ...methodInput } = input;
|
|
5772
5877
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5787,8 +5892,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
5787
5892
|
return p.getStatus(methodInput);
|
|
5788
5893
|
}),
|
|
5789
5894
|
setEnabled: trpc_middleware_js_1.protectedProcedure
|
|
5790
|
-
.input(
|
|
5791
|
-
.output(
|
|
5895
|
+
.input(types_81.ptzAutotrackCapability.methods.setEnabled.input.loose())
|
|
5896
|
+
.output(types_81.ptzAutotrackCapability.methods.setEnabled.output)
|
|
5792
5897
|
.mutation(async ({ input, ctx }) => {
|
|
5793
5898
|
const { nodeId, ...methodInput } = input;
|
|
5794
5899
|
const p = resolveProvider('ptz-autotrack', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5796,8 +5901,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
5796
5901
|
return p.setEnabled(methodInput);
|
|
5797
5902
|
}),
|
|
5798
5903
|
getSettings: trpc_middleware_js_1.protectedProcedure
|
|
5799
|
-
.input(
|
|
5800
|
-
.output(
|
|
5904
|
+
.input(types_81.ptzAutotrackCapability.methods.getSettings.input.loose())
|
|
5905
|
+
.output(types_81.ptzAutotrackCapability.methods.getSettings.output)
|
|
5801
5906
|
.query(async ({ input, ctx }) => {
|
|
5802
5907
|
const { nodeId, ...methodInput } = input;
|
|
5803
5908
|
const p = resolveProvider('ptz-autotrack', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5805,8 +5910,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
5805
5910
|
return p.getSettings(methodInput);
|
|
5806
5911
|
}),
|
|
5807
5912
|
setSettings: trpc_middleware_js_1.protectedProcedure
|
|
5808
|
-
.input(
|
|
5809
|
-
.output(
|
|
5913
|
+
.input(types_81.ptzAutotrackCapability.methods.setSettings.input.loose())
|
|
5914
|
+
.output(types_81.ptzAutotrackCapability.methods.setSettings.output)
|
|
5810
5915
|
.mutation(async ({ input, ctx }) => {
|
|
5811
5916
|
const { nodeId, ...methodInput } = input;
|
|
5812
5917
|
const p = resolveProvider('ptz-autotrack', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5818,8 +5923,8 @@ function createCapRouter_ptzAutotrack(getProvider, createRemoteProxy) {
|
|
|
5818
5923
|
function createCapRouter_reboot(getProvider, createRemoteProxy) {
|
|
5819
5924
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5820
5925
|
reboot: trpc_middleware_js_1.adminProcedure
|
|
5821
|
-
.input(
|
|
5822
|
-
.output(
|
|
5926
|
+
.input(types_82.rebootCapability.methods.reboot.input.loose())
|
|
5927
|
+
.output(types_82.rebootCapability.methods.reboot.output)
|
|
5823
5928
|
.mutation(async ({ input, ctx }) => {
|
|
5824
5929
|
const { nodeId, ...methodInput } = input;
|
|
5825
5930
|
const p = resolveProvider('reboot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5867,8 +5972,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5867
5972
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
5868
5973
|
}),
|
|
5869
5974
|
getAvailability: trpc_middleware_js_1.adminProcedure
|
|
5870
|
-
.input(
|
|
5871
|
-
.output(
|
|
5975
|
+
.input(types_83.recordingCapability.methods.getAvailability.input.loose())
|
|
5976
|
+
.output(types_83.recordingCapability.methods.getAvailability.output)
|
|
5872
5977
|
.query(async ({ input, ctx }) => {
|
|
5873
5978
|
const { nodeId, ...methodInput } = input;
|
|
5874
5979
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5876,8 +5981,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5876
5981
|
return p.getAvailability(methodInput);
|
|
5877
5982
|
}),
|
|
5878
5983
|
getDaysWithRecordings: trpc_middleware_js_1.adminProcedure
|
|
5879
|
-
.input(
|
|
5880
|
-
.output(
|
|
5984
|
+
.input(types_83.recordingCapability.methods.getDaysWithRecordings.input.loose())
|
|
5985
|
+
.output(types_83.recordingCapability.methods.getDaysWithRecordings.output)
|
|
5881
5986
|
.query(async ({ input, ctx }) => {
|
|
5882
5987
|
const { nodeId, ...methodInput } = input;
|
|
5883
5988
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5885,8 +5990,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5885
5990
|
return p.getDaysWithRecordings(methodInput);
|
|
5886
5991
|
}),
|
|
5887
5992
|
getPlaybackManifest: trpc_middleware_js_1.adminProcedure
|
|
5888
|
-
.input(
|
|
5889
|
-
.output(
|
|
5993
|
+
.input(types_83.recordingCapability.methods.getPlaybackManifest.input.loose())
|
|
5994
|
+
.output(types_83.recordingCapability.methods.getPlaybackManifest.output)
|
|
5890
5995
|
.query(async ({ input, ctx }) => {
|
|
5891
5996
|
const { nodeId, ...methodInput } = input;
|
|
5892
5997
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5894,8 +5999,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5894
5999
|
return p.getPlaybackManifest(methodInput);
|
|
5895
6000
|
}),
|
|
5896
6001
|
getStorageUsage: trpc_middleware_js_1.adminProcedure
|
|
5897
|
-
.input(
|
|
5898
|
-
.output(
|
|
6002
|
+
.input(types_83.recordingCapability.methods.getStorageUsage.input.loose())
|
|
6003
|
+
.output(types_83.recordingCapability.methods.getStorageUsage.output)
|
|
5899
6004
|
.query(async ({ input, ctx }) => {
|
|
5900
6005
|
const { nodeId, ...methodInput } = input;
|
|
5901
6006
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5903,8 +6008,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5903
6008
|
return p.getStorageUsage(methodInput);
|
|
5904
6009
|
}),
|
|
5905
6010
|
getDeviceConfig: trpc_middleware_js_1.adminProcedure
|
|
5906
|
-
.input(
|
|
5907
|
-
.output(
|
|
6011
|
+
.input(types_83.recordingCapability.methods.getDeviceConfig.input.loose())
|
|
6012
|
+
.output(types_83.recordingCapability.methods.getDeviceConfig.output)
|
|
5908
6013
|
.query(async ({ input, ctx }) => {
|
|
5909
6014
|
const { nodeId, ...methodInput } = input;
|
|
5910
6015
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5912,8 +6017,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5912
6017
|
return p.getDeviceConfig(methodInput);
|
|
5913
6018
|
}),
|
|
5914
6019
|
locateSegment: trpc_middleware_js_1.adminProcedure
|
|
5915
|
-
.input(
|
|
5916
|
-
.output(
|
|
6020
|
+
.input(types_83.recordingCapability.methods.locateSegment.input.loose())
|
|
6021
|
+
.output(types_83.recordingCapability.methods.locateSegment.output)
|
|
5917
6022
|
.query(async ({ input, ctx }) => {
|
|
5918
6023
|
const { nodeId, ...methodInput } = input;
|
|
5919
6024
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5921,8 +6026,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5921
6026
|
return p.locateSegment(methodInput);
|
|
5922
6027
|
}),
|
|
5923
6028
|
readSegmentBytes: trpc_middleware_js_1.adminProcedure
|
|
5924
|
-
.input(
|
|
5925
|
-
.output(
|
|
6029
|
+
.input(types_83.recordingCapability.methods.readSegmentBytes.input.loose())
|
|
6030
|
+
.output(types_83.recordingCapability.methods.readSegmentBytes.output)
|
|
5926
6031
|
.query(async ({ input, ctx }) => {
|
|
5927
6032
|
const { nodeId, ...methodInput } = input;
|
|
5928
6033
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5930,8 +6035,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5930
6035
|
return p.readSegmentBytes(methodInput);
|
|
5931
6036
|
}),
|
|
5932
6037
|
setDeviceConfig: trpc_middleware_js_1.adminProcedure
|
|
5933
|
-
.input(
|
|
5934
|
-
.output(
|
|
6038
|
+
.input(types_83.recordingCapability.methods.setDeviceConfig.input.loose())
|
|
6039
|
+
.output(types_83.recordingCapability.methods.setDeviceConfig.output)
|
|
5935
6040
|
.mutation(async ({ input, ctx }) => {
|
|
5936
6041
|
const { nodeId, ...methodInput } = input;
|
|
5937
6042
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5939,8 +6044,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5939
6044
|
return p.setDeviceConfig(methodInput);
|
|
5940
6045
|
}),
|
|
5941
6046
|
rescanStorage: trpc_middleware_js_1.adminProcedure
|
|
5942
|
-
.input(
|
|
5943
|
-
.output(
|
|
6047
|
+
.input(types_83.recordingCapability.methods.rescanStorage.input.loose())
|
|
6048
|
+
.output(types_83.recordingCapability.methods.rescanStorage.output)
|
|
5944
6049
|
.mutation(async ({ input, ctx }) => {
|
|
5945
6050
|
const { nodeId, ...methodInput } = input;
|
|
5946
6051
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5948,8 +6053,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5948
6053
|
return p.rescanStorage(methodInput);
|
|
5949
6054
|
}),
|
|
5950
6055
|
pruneFootage: trpc_middleware_js_1.adminProcedure
|
|
5951
|
-
.input(
|
|
5952
|
-
.output(
|
|
6056
|
+
.input(types_83.recordingCapability.methods.pruneFootage.input.loose())
|
|
6057
|
+
.output(types_83.recordingCapability.methods.pruneFootage.output)
|
|
5953
6058
|
.mutation(async ({ input, ctx }) => {
|
|
5954
6059
|
const { nodeId, ...methodInput } = input;
|
|
5955
6060
|
const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -5961,8 +6066,8 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
|
|
|
5961
6066
|
function createCapRouter_restreamer(getProvider, createRemoteProxy) {
|
|
5962
6067
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5963
6068
|
registerDevice: trpc_middleware_js_1.protectedProcedure
|
|
5964
|
-
.input(
|
|
5965
|
-
.output(
|
|
6069
|
+
.input(types_84.restreamerCapability.methods.registerDevice.input.loose())
|
|
6070
|
+
.output(types_84.restreamerCapability.methods.registerDevice.output)
|
|
5966
6071
|
.mutation(async ({ input, ctx }) => {
|
|
5967
6072
|
const { nodeId, addonId, ...methodInput } = input;
|
|
5968
6073
|
const p = resolveProvider('restreamer', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -5970,8 +6075,8 @@ function createCapRouter_restreamer(getProvider, createRemoteProxy) {
|
|
|
5970
6075
|
return p.registerDevice(methodInput);
|
|
5971
6076
|
}),
|
|
5972
6077
|
unregisterDevice: trpc_middleware_js_1.protectedProcedure
|
|
5973
|
-
.input(
|
|
5974
|
-
.output(
|
|
6078
|
+
.input(types_84.restreamerCapability.methods.unregisterDevice.input.loose())
|
|
6079
|
+
.output(types_84.restreamerCapability.methods.unregisterDevice.output)
|
|
5975
6080
|
.mutation(async ({ input, ctx }) => {
|
|
5976
6081
|
const { nodeId, addonId, ...methodInput } = input;
|
|
5977
6082
|
const p = resolveProvider('restreamer', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -5979,8 +6084,8 @@ function createCapRouter_restreamer(getProvider, createRemoteProxy) {
|
|
|
5979
6084
|
return p.unregisterDevice(methodInput);
|
|
5980
6085
|
}),
|
|
5981
6086
|
getExposedResources: trpc_middleware_js_1.protectedProcedure
|
|
5982
|
-
.input(
|
|
5983
|
-
.output(
|
|
6087
|
+
.input(types_84.restreamerCapability.methods.getExposedResources.input.loose())
|
|
6088
|
+
.output(types_84.restreamerCapability.methods.getExposedResources.output)
|
|
5984
6089
|
.query(async ({ input, ctx }) => {
|
|
5985
6090
|
const { nodeId, addonId, ...methodInput } = input;
|
|
5986
6091
|
const p = resolveProvider('restreamer', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6001,8 +6106,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
6001
6106
|
return p.getStatus(methodInput);
|
|
6002
6107
|
}),
|
|
6003
6108
|
run: trpc_middleware_js_1.adminProcedure
|
|
6004
|
-
.input(
|
|
6005
|
-
.output(
|
|
6109
|
+
.input(types_85.scriptRunnerCapability.methods.run.input.loose())
|
|
6110
|
+
.output(types_85.scriptRunnerCapability.methods.run.output)
|
|
6006
6111
|
.mutation(async ({ input, ctx }) => {
|
|
6007
6112
|
const { nodeId, ...methodInput } = input;
|
|
6008
6113
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6010,8 +6115,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
6010
6115
|
return p.run(methodInput);
|
|
6011
6116
|
}),
|
|
6012
6117
|
stop: trpc_middleware_js_1.adminProcedure
|
|
6013
|
-
.input(
|
|
6014
|
-
.output(
|
|
6118
|
+
.input(types_85.scriptRunnerCapability.methods.stop.input.loose())
|
|
6119
|
+
.output(types_85.scriptRunnerCapability.methods.stop.output)
|
|
6015
6120
|
.mutation(async ({ input, ctx }) => {
|
|
6016
6121
|
const { nodeId, ...methodInput } = input;
|
|
6017
6122
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6023,8 +6128,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
6023
6128
|
function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
6024
6129
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6025
6130
|
get: trpc_middleware_js_1.protectedProcedure
|
|
6026
|
-
.input(
|
|
6027
|
-
.output(
|
|
6131
|
+
.input(types_86.settingsStoreCapability.methods.get.input.loose())
|
|
6132
|
+
.output(types_86.settingsStoreCapability.methods.get.output)
|
|
6028
6133
|
.query(async ({ input, ctx }) => {
|
|
6029
6134
|
const { nodeId, ...methodInput } = input;
|
|
6030
6135
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6032,8 +6137,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6032
6137
|
return p.get(methodInput);
|
|
6033
6138
|
}),
|
|
6034
6139
|
set: trpc_middleware_js_1.protectedProcedure
|
|
6035
|
-
.input(
|
|
6036
|
-
.output(
|
|
6140
|
+
.input(types_86.settingsStoreCapability.methods.set.input.loose())
|
|
6141
|
+
.output(types_86.settingsStoreCapability.methods.set.output)
|
|
6037
6142
|
.mutation(async ({ input, ctx }) => {
|
|
6038
6143
|
const { nodeId, ...methodInput } = input;
|
|
6039
6144
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6041,8 +6146,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6041
6146
|
return p.set(methodInput);
|
|
6042
6147
|
}),
|
|
6043
6148
|
query: trpc_middleware_js_1.protectedProcedure
|
|
6044
|
-
.input(
|
|
6045
|
-
.output(
|
|
6149
|
+
.input(types_86.settingsStoreCapability.methods.query.input.loose())
|
|
6150
|
+
.output(types_86.settingsStoreCapability.methods.query.output)
|
|
6046
6151
|
.query(async ({ input, ctx }) => {
|
|
6047
6152
|
const { nodeId, ...methodInput } = input;
|
|
6048
6153
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6050,8 +6155,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6050
6155
|
return p.query(methodInput);
|
|
6051
6156
|
}),
|
|
6052
6157
|
insert: trpc_middleware_js_1.protectedProcedure
|
|
6053
|
-
.input(
|
|
6054
|
-
.output(
|
|
6158
|
+
.input(types_86.settingsStoreCapability.methods.insert.input.loose())
|
|
6159
|
+
.output(types_86.settingsStoreCapability.methods.insert.output)
|
|
6055
6160
|
.mutation(async ({ input, ctx }) => {
|
|
6056
6161
|
const { nodeId, ...methodInput } = input;
|
|
6057
6162
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6059,8 +6164,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6059
6164
|
return p.insert(methodInput);
|
|
6060
6165
|
}),
|
|
6061
6166
|
update: trpc_middleware_js_1.protectedProcedure
|
|
6062
|
-
.input(
|
|
6063
|
-
.output(
|
|
6167
|
+
.input(types_86.settingsStoreCapability.methods.update.input.loose())
|
|
6168
|
+
.output(types_86.settingsStoreCapability.methods.update.output)
|
|
6064
6169
|
.mutation(async ({ input, ctx }) => {
|
|
6065
6170
|
const { nodeId, ...methodInput } = input;
|
|
6066
6171
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6068,8 +6173,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6068
6173
|
return p.update(methodInput);
|
|
6069
6174
|
}),
|
|
6070
6175
|
delete: trpc_middleware_js_1.protectedProcedure
|
|
6071
|
-
.input(
|
|
6072
|
-
.output(
|
|
6176
|
+
.input(types_86.settingsStoreCapability.methods.delete.input.loose())
|
|
6177
|
+
.output(types_86.settingsStoreCapability.methods.delete.output)
|
|
6073
6178
|
.mutation(async ({ input, ctx }) => {
|
|
6074
6179
|
const { nodeId, ...methodInput } = input;
|
|
6075
6180
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6077,8 +6182,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6077
6182
|
return p.delete(methodInput);
|
|
6078
6183
|
}),
|
|
6079
6184
|
count: trpc_middleware_js_1.protectedProcedure
|
|
6080
|
-
.input(
|
|
6081
|
-
.output(
|
|
6185
|
+
.input(types_86.settingsStoreCapability.methods.count.input.loose())
|
|
6186
|
+
.output(types_86.settingsStoreCapability.methods.count.output)
|
|
6082
6187
|
.query(async ({ input, ctx }) => {
|
|
6083
6188
|
const { nodeId, ...methodInput } = input;
|
|
6084
6189
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6086,8 +6191,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6086
6191
|
return p.count(methodInput);
|
|
6087
6192
|
}),
|
|
6088
6193
|
histogram: trpc_middleware_js_1.protectedProcedure
|
|
6089
|
-
.input(
|
|
6090
|
-
.output(
|
|
6194
|
+
.input(types_86.settingsStoreCapability.methods.histogram.input.loose())
|
|
6195
|
+
.output(types_86.settingsStoreCapability.methods.histogram.output)
|
|
6091
6196
|
.query(async ({ input, ctx }) => {
|
|
6092
6197
|
const { nodeId, ...methodInput } = input;
|
|
6093
6198
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6095,8 +6200,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6095
6200
|
return p.histogram(methodInput);
|
|
6096
6201
|
}),
|
|
6097
6202
|
isEmpty: trpc_middleware_js_1.protectedProcedure
|
|
6098
|
-
.input(
|
|
6099
|
-
.output(
|
|
6203
|
+
.input(types_86.settingsStoreCapability.methods.isEmpty.input.loose())
|
|
6204
|
+
.output(types_86.settingsStoreCapability.methods.isEmpty.output)
|
|
6100
6205
|
.query(async ({ input, ctx }) => {
|
|
6101
6206
|
const { nodeId, ...methodInput } = input;
|
|
6102
6207
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6104,8 +6209,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
6104
6209
|
return p.isEmpty(methodInput);
|
|
6105
6210
|
}),
|
|
6106
6211
|
declareCollection: trpc_middleware_js_1.protectedProcedure
|
|
6107
|
-
.input(
|
|
6108
|
-
.output(
|
|
6212
|
+
.input(types_86.settingsStoreCapability.methods.declareCollection.input.loose())
|
|
6213
|
+
.output(types_86.settingsStoreCapability.methods.declareCollection.output)
|
|
6109
6214
|
.mutation(async ({ input, ctx }) => {
|
|
6110
6215
|
const { nodeId, ...methodInput } = input;
|
|
6111
6216
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6130,8 +6235,8 @@ function createCapRouter_smoke(getProvider, createRemoteProxy) {
|
|
|
6130
6235
|
function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
6131
6236
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6132
6237
|
sendEmail: trpc_middleware_js_1.adminProcedure
|
|
6133
|
-
.input(
|
|
6134
|
-
.output(
|
|
6238
|
+
.input(types_87.smtpProviderCapability.methods.sendEmail.input.loose())
|
|
6239
|
+
.output(types_87.smtpProviderCapability.methods.sendEmail.output)
|
|
6135
6240
|
.mutation(async ({ input, ctx }) => {
|
|
6136
6241
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6137
6242
|
const p = resolveProvider('smtp-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6140,7 +6245,7 @@ function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
|
6140
6245
|
}),
|
|
6141
6246
|
verify: trpc_middleware_js_1.adminProcedure
|
|
6142
6247
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
6143
|
-
.output(
|
|
6248
|
+
.output(types_87.smtpProviderCapability.methods.verify.output)
|
|
6144
6249
|
.mutation(async ({ input, ctx }) => {
|
|
6145
6250
|
const p = resolveProvider('smtp-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
6146
6251
|
return p.verify();
|
|
@@ -6193,8 +6298,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
6193
6298
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
6194
6299
|
}),
|
|
6195
6300
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
6196
|
-
.input(
|
|
6197
|
-
.output(
|
|
6301
|
+
.input(types_88.snapshotCapability.methods.getSnapshot.input.loose())
|
|
6302
|
+
.output(types_88.snapshotCapability.methods.getSnapshot.output)
|
|
6198
6303
|
.query(async ({ input, ctx }) => {
|
|
6199
6304
|
const { nodeId, ...methodInput } = input;
|
|
6200
6305
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6202,8 +6307,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
6202
6307
|
return p.getSnapshot(methodInput);
|
|
6203
6308
|
}),
|
|
6204
6309
|
invalidateCache: trpc_middleware_js_1.adminProcedure
|
|
6205
|
-
.input(
|
|
6206
|
-
.output(
|
|
6310
|
+
.input(types_88.snapshotCapability.methods.invalidateCache.input.loose())
|
|
6311
|
+
.output(types_88.snapshotCapability.methods.invalidateCache.output)
|
|
6207
6312
|
.mutation(async ({ input, ctx }) => {
|
|
6208
6313
|
const { nodeId, ...methodInput } = input;
|
|
6209
6314
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6215,8 +6320,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
6215
6320
|
function createCapRouter_snapshotProvider(getProvider, createRemoteProxy) {
|
|
6216
6321
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6217
6322
|
supportsDevice: trpc_middleware_js_1.protectedProcedure
|
|
6218
|
-
.input(
|
|
6219
|
-
.output(
|
|
6323
|
+
.input(types_89.snapshotProviderCapability.methods.supportsDevice.input.loose())
|
|
6324
|
+
.output(types_89.snapshotProviderCapability.methods.supportsDevice.output)
|
|
6220
6325
|
.query(async ({ input, ctx }) => {
|
|
6221
6326
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6222
6327
|
const p = resolveProvider('snapshot-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6224,8 +6329,8 @@ function createCapRouter_snapshotProvider(getProvider, createRemoteProxy) {
|
|
|
6224
6329
|
return p.supportsDevice(methodInput);
|
|
6225
6330
|
}),
|
|
6226
6331
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
6227
|
-
.input(
|
|
6228
|
-
.output(
|
|
6332
|
+
.input(types_89.snapshotProviderCapability.methods.getSnapshot.input.loose())
|
|
6333
|
+
.output(types_89.snapshotProviderCapability.methods.getSnapshot.output)
|
|
6229
6334
|
.query(async ({ input, ctx }) => {
|
|
6230
6335
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6231
6336
|
const p = resolveProvider('snapshot-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6237,8 +6342,8 @@ function createCapRouter_snapshotProvider(getProvider, createRemoteProxy) {
|
|
|
6237
6342
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
6238
6343
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6239
6344
|
signBridgeToken: trpc_middleware_js_1.protectedProcedure
|
|
6240
|
-
.input(
|
|
6241
|
-
.output(
|
|
6345
|
+
.input(types_90.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
6346
|
+
.output(types_90.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
6242
6347
|
.query(async ({ input, ctx }) => {
|
|
6243
6348
|
const { nodeId, ...methodInput } = input;
|
|
6244
6349
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6246,8 +6351,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
6246
6351
|
return p.signBridgeToken(methodInput);
|
|
6247
6352
|
}),
|
|
6248
6353
|
verifyBridgeToken: trpc_middleware_js_1.protectedProcedure
|
|
6249
|
-
.input(
|
|
6250
|
-
.output(
|
|
6354
|
+
.input(types_90.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
6355
|
+
.output(types_90.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
6251
6356
|
.query(async ({ input, ctx }) => {
|
|
6252
6357
|
const { nodeId, ...methodInput } = input;
|
|
6253
6358
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6259,8 +6364,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
6259
6364
|
function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
6260
6365
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6261
6366
|
resolve: trpc_middleware_js_1.protectedProcedure
|
|
6262
|
-
.input(
|
|
6263
|
-
.output(
|
|
6367
|
+
.input(types_91.storageCapability.methods.resolve.input.loose())
|
|
6368
|
+
.output(types_91.storageCapability.methods.resolve.output)
|
|
6264
6369
|
.query(async ({ input, ctx }) => {
|
|
6265
6370
|
const { nodeId, ...methodInput } = input;
|
|
6266
6371
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6268,8 +6373,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6268
6373
|
return p.resolve(methodInput);
|
|
6269
6374
|
}),
|
|
6270
6375
|
write: trpc_middleware_js_1.protectedProcedure
|
|
6271
|
-
.input(
|
|
6272
|
-
.output(
|
|
6376
|
+
.input(types_91.storageCapability.methods.write.input.loose())
|
|
6377
|
+
.output(types_91.storageCapability.methods.write.output)
|
|
6273
6378
|
.mutation(async ({ input, ctx }) => {
|
|
6274
6379
|
const { nodeId, ...methodInput } = input;
|
|
6275
6380
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6277,8 +6382,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6277
6382
|
return p.write(methodInput);
|
|
6278
6383
|
}),
|
|
6279
6384
|
read: trpc_middleware_js_1.protectedProcedure
|
|
6280
|
-
.input(
|
|
6281
|
-
.output(
|
|
6385
|
+
.input(types_91.storageCapability.methods.read.input.loose())
|
|
6386
|
+
.output(types_91.storageCapability.methods.read.output)
|
|
6282
6387
|
.query(async ({ input, ctx }) => {
|
|
6283
6388
|
const { nodeId, ...methodInput } = input;
|
|
6284
6389
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6286,8 +6391,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6286
6391
|
return p.read(methodInput);
|
|
6287
6392
|
}),
|
|
6288
6393
|
exists: trpc_middleware_js_1.protectedProcedure
|
|
6289
|
-
.input(
|
|
6290
|
-
.output(
|
|
6394
|
+
.input(types_91.storageCapability.methods.exists.input.loose())
|
|
6395
|
+
.output(types_91.storageCapability.methods.exists.output)
|
|
6291
6396
|
.query(async ({ input, ctx }) => {
|
|
6292
6397
|
const { nodeId, ...methodInput } = input;
|
|
6293
6398
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6295,8 +6400,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6295
6400
|
return p.exists(methodInput);
|
|
6296
6401
|
}),
|
|
6297
6402
|
list: trpc_middleware_js_1.protectedProcedure
|
|
6298
|
-
.input(
|
|
6299
|
-
.output(
|
|
6403
|
+
.input(types_91.storageCapability.methods.list.input.loose())
|
|
6404
|
+
.output(types_91.storageCapability.methods.list.output)
|
|
6300
6405
|
.query(async ({ input, ctx }) => {
|
|
6301
6406
|
const { nodeId, ...methodInput } = input;
|
|
6302
6407
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6304,8 +6409,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6304
6409
|
return p.list(methodInput);
|
|
6305
6410
|
}),
|
|
6306
6411
|
delete: trpc_middleware_js_1.protectedProcedure
|
|
6307
|
-
.input(
|
|
6308
|
-
.output(
|
|
6412
|
+
.input(types_91.storageCapability.methods.delete.input.loose())
|
|
6413
|
+
.output(types_91.storageCapability.methods.delete.output)
|
|
6309
6414
|
.mutation(async ({ input, ctx }) => {
|
|
6310
6415
|
const { nodeId, ...methodInput } = input;
|
|
6311
6416
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6313,8 +6418,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6313
6418
|
return p.delete(methodInput);
|
|
6314
6419
|
}),
|
|
6315
6420
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
6316
|
-
.input(
|
|
6317
|
-
.output(
|
|
6421
|
+
.input(types_91.storageCapability.methods.getAvailableSpace.input.loose())
|
|
6422
|
+
.output(types_91.storageCapability.methods.getAvailableSpace.output)
|
|
6318
6423
|
.query(async ({ input, ctx }) => {
|
|
6319
6424
|
const { nodeId, ...methodInput } = input;
|
|
6320
6425
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6322,8 +6427,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6322
6427
|
return p.getAvailableSpace(methodInput);
|
|
6323
6428
|
}),
|
|
6324
6429
|
beginUpload: trpc_middleware_js_1.protectedProcedure
|
|
6325
|
-
.input(
|
|
6326
|
-
.output(
|
|
6430
|
+
.input(types_91.storageCapability.methods.beginUpload.input.loose())
|
|
6431
|
+
.output(types_91.storageCapability.methods.beginUpload.output)
|
|
6327
6432
|
.mutation(async ({ input, ctx }) => {
|
|
6328
6433
|
const { nodeId, ...methodInput } = input;
|
|
6329
6434
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6331,8 +6436,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6331
6436
|
return p.beginUpload(methodInput);
|
|
6332
6437
|
}),
|
|
6333
6438
|
writeChunk: trpc_middleware_js_1.protectedProcedure
|
|
6334
|
-
.input(
|
|
6335
|
-
.output(
|
|
6439
|
+
.input(types_91.storageCapability.methods.writeChunk.input.loose())
|
|
6440
|
+
.output(types_91.storageCapability.methods.writeChunk.output)
|
|
6336
6441
|
.mutation(async ({ input, ctx }) => {
|
|
6337
6442
|
const { nodeId, ...methodInput } = input;
|
|
6338
6443
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6340,8 +6445,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6340
6445
|
return p.writeChunk(methodInput);
|
|
6341
6446
|
}),
|
|
6342
6447
|
finalizeUpload: trpc_middleware_js_1.protectedProcedure
|
|
6343
|
-
.input(
|
|
6344
|
-
.output(
|
|
6448
|
+
.input(types_91.storageCapability.methods.finalizeUpload.input.loose())
|
|
6449
|
+
.output(types_91.storageCapability.methods.finalizeUpload.output)
|
|
6345
6450
|
.mutation(async ({ input, ctx }) => {
|
|
6346
6451
|
const { nodeId, ...methodInput } = input;
|
|
6347
6452
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6349,8 +6454,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6349
6454
|
return p.finalizeUpload(methodInput);
|
|
6350
6455
|
}),
|
|
6351
6456
|
abortUpload: trpc_middleware_js_1.protectedProcedure
|
|
6352
|
-
.input(
|
|
6353
|
-
.output(
|
|
6457
|
+
.input(types_91.storageCapability.methods.abortUpload.input.loose())
|
|
6458
|
+
.output(types_91.storageCapability.methods.abortUpload.output)
|
|
6354
6459
|
.mutation(async ({ input, ctx }) => {
|
|
6355
6460
|
const { nodeId, ...methodInput } = input;
|
|
6356
6461
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6358,8 +6463,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6358
6463
|
return p.abortUpload(methodInput);
|
|
6359
6464
|
}),
|
|
6360
6465
|
beginDownload: trpc_middleware_js_1.protectedProcedure
|
|
6361
|
-
.input(
|
|
6362
|
-
.output(
|
|
6466
|
+
.input(types_91.storageCapability.methods.beginDownload.input.loose())
|
|
6467
|
+
.output(types_91.storageCapability.methods.beginDownload.output)
|
|
6363
6468
|
.mutation(async ({ input, ctx }) => {
|
|
6364
6469
|
const { nodeId, ...methodInput } = input;
|
|
6365
6470
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6367,8 +6472,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6367
6472
|
return p.beginDownload(methodInput);
|
|
6368
6473
|
}),
|
|
6369
6474
|
readChunk: trpc_middleware_js_1.protectedProcedure
|
|
6370
|
-
.input(
|
|
6371
|
-
.output(
|
|
6475
|
+
.input(types_91.storageCapability.methods.readChunk.input.loose())
|
|
6476
|
+
.output(types_91.storageCapability.methods.readChunk.output)
|
|
6372
6477
|
.query(async ({ input, ctx }) => {
|
|
6373
6478
|
const { nodeId, ...methodInput } = input;
|
|
6374
6479
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6376,8 +6481,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6376
6481
|
return p.readChunk(methodInput);
|
|
6377
6482
|
}),
|
|
6378
6483
|
endDownload: trpc_middleware_js_1.protectedProcedure
|
|
6379
|
-
.input(
|
|
6380
|
-
.output(
|
|
6484
|
+
.input(types_91.storageCapability.methods.endDownload.input.loose())
|
|
6485
|
+
.output(types_91.storageCapability.methods.endDownload.output)
|
|
6381
6486
|
.mutation(async ({ input, ctx }) => {
|
|
6382
6487
|
const { nodeId, ...methodInput } = input;
|
|
6383
6488
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6385,8 +6490,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6385
6490
|
return p.endDownload(methodInput);
|
|
6386
6491
|
}),
|
|
6387
6492
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
6388
|
-
.input(
|
|
6389
|
-
.output(
|
|
6493
|
+
.input(types_91.storageCapability.methods.listLocations.input.loose())
|
|
6494
|
+
.output(types_91.storageCapability.methods.listLocations.output)
|
|
6390
6495
|
.query(async ({ input, ctx }) => {
|
|
6391
6496
|
const { nodeId, ...methodInput } = input;
|
|
6392
6497
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6394,8 +6499,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6394
6499
|
return p.listLocations(methodInput);
|
|
6395
6500
|
}),
|
|
6396
6501
|
getDefaultLocation: trpc_middleware_js_1.protectedProcedure
|
|
6397
|
-
.input(
|
|
6398
|
-
.output(
|
|
6502
|
+
.input(types_91.storageCapability.methods.getDefaultLocation.input.loose())
|
|
6503
|
+
.output(types_91.storageCapability.methods.getDefaultLocation.output)
|
|
6399
6504
|
.query(async ({ input, ctx }) => {
|
|
6400
6505
|
const { nodeId, ...methodInput } = input;
|
|
6401
6506
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6404,14 +6509,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6404
6509
|
}),
|
|
6405
6510
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
6406
6511
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6407
|
-
.output(
|
|
6512
|
+
.output(types_91.storageCapability.methods.listLocationDeclarations.output)
|
|
6408
6513
|
.query(async ({ input, ctx }) => {
|
|
6409
6514
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6410
6515
|
return p.listLocationDeclarations();
|
|
6411
6516
|
}),
|
|
6412
6517
|
upsertLocation: trpc_middleware_js_1.adminProcedure
|
|
6413
|
-
.input(
|
|
6414
|
-
.output(
|
|
6518
|
+
.input(types_91.storageCapability.methods.upsertLocation.input.loose())
|
|
6519
|
+
.output(types_91.storageCapability.methods.upsertLocation.output)
|
|
6415
6520
|
.mutation(async ({ input, ctx }) => {
|
|
6416
6521
|
const { nodeId, ...methodInput } = input;
|
|
6417
6522
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6419,8 +6524,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6419
6524
|
return p.upsertLocation(methodInput);
|
|
6420
6525
|
}),
|
|
6421
6526
|
deleteLocation: trpc_middleware_js_1.adminProcedure
|
|
6422
|
-
.input(
|
|
6423
|
-
.output(
|
|
6527
|
+
.input(types_91.storageCapability.methods.deleteLocation.input.loose())
|
|
6528
|
+
.output(types_91.storageCapability.methods.deleteLocation.output)
|
|
6424
6529
|
.mutation(async ({ input, ctx }) => {
|
|
6425
6530
|
const { nodeId, ...methodInput } = input;
|
|
6426
6531
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6428,8 +6533,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6428
6533
|
return p.deleteLocation(methodInput);
|
|
6429
6534
|
}),
|
|
6430
6535
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
6431
|
-
.input(
|
|
6432
|
-
.output(
|
|
6536
|
+
.input(types_91.storageCapability.methods.testLocation.input.loose())
|
|
6537
|
+
.output(types_91.storageCapability.methods.testLocation.output)
|
|
6433
6538
|
.query(async ({ input, ctx }) => {
|
|
6434
6539
|
const { nodeId, ...methodInput } = input;
|
|
6435
6540
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6438,14 +6543,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6438
6543
|
}),
|
|
6439
6544
|
listProviders: trpc_middleware_js_1.protectedProcedure
|
|
6440
6545
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6441
|
-
.output(
|
|
6546
|
+
.output(types_91.storageCapability.methods.listProviders.output)
|
|
6442
6547
|
.query(async ({ input, ctx }) => {
|
|
6443
6548
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6444
6549
|
return p.listProviders();
|
|
6445
6550
|
}),
|
|
6446
6551
|
testConfig: trpc_middleware_js_1.adminProcedure
|
|
6447
|
-
.input(
|
|
6448
|
-
.output(
|
|
6552
|
+
.input(types_91.storageCapability.methods.testConfig.input.loose())
|
|
6553
|
+
.output(types_91.storageCapability.methods.testConfig.output)
|
|
6449
6554
|
.query(async ({ input, ctx }) => {
|
|
6450
6555
|
const { nodeId, ...methodInput } = input;
|
|
6451
6556
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6457,8 +6562,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
6457
6562
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
6458
6563
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6459
6564
|
getEvictableUsage: trpc_middleware_js_1.protectedProcedure
|
|
6460
|
-
.input(
|
|
6461
|
-
.output(
|
|
6565
|
+
.input(types_92.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
6566
|
+
.output(types_92.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
6462
6567
|
.query(async ({ input, ctx }) => {
|
|
6463
6568
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6464
6569
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6466,8 +6571,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
6466
6571
|
return p.getEvictableUsage(methodInput);
|
|
6467
6572
|
}),
|
|
6468
6573
|
evict: trpc_middleware_js_1.protectedProcedure
|
|
6469
|
-
.input(
|
|
6470
|
-
.output(
|
|
6574
|
+
.input(types_92.storageEvictableCapability.methods.evict.input.loose())
|
|
6575
|
+
.output(types_92.storageEvictableCapability.methods.evict.output)
|
|
6471
6576
|
.mutation(async ({ input, ctx }) => {
|
|
6472
6577
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6473
6578
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6480,14 +6585,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6480
6585
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6481
6586
|
getProviderInfo: trpc_middleware_js_1.protectedProcedure
|
|
6482
6587
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
6483
|
-
.output(
|
|
6588
|
+
.output(types_93.storageProviderCapability.methods.getProviderInfo.output)
|
|
6484
6589
|
.query(async ({ input, ctx }) => {
|
|
6485
6590
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
6486
6591
|
return p.getProviderInfo();
|
|
6487
6592
|
}),
|
|
6488
6593
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
6489
|
-
.input(
|
|
6490
|
-
.output(
|
|
6594
|
+
.input(types_93.storageProviderCapability.methods.testLocation.input.loose())
|
|
6595
|
+
.output(types_93.storageProviderCapability.methods.testLocation.output)
|
|
6491
6596
|
.query(async ({ input, ctx }) => {
|
|
6492
6597
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6493
6598
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6495,8 +6600,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6495
6600
|
return p.testLocation(methodInput);
|
|
6496
6601
|
}),
|
|
6497
6602
|
resolve: trpc_middleware_js_1.protectedProcedure
|
|
6498
|
-
.input(
|
|
6499
|
-
.output(
|
|
6603
|
+
.input(types_93.storageProviderCapability.methods.resolve.input.loose())
|
|
6604
|
+
.output(types_93.storageProviderCapability.methods.resolve.output)
|
|
6500
6605
|
.query(async ({ input, ctx }) => {
|
|
6501
6606
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6502
6607
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6504,8 +6609,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6504
6609
|
return p.resolve(methodInput);
|
|
6505
6610
|
}),
|
|
6506
6611
|
write: trpc_middleware_js_1.protectedProcedure
|
|
6507
|
-
.input(
|
|
6508
|
-
.output(
|
|
6612
|
+
.input(types_93.storageProviderCapability.methods.write.input.loose())
|
|
6613
|
+
.output(types_93.storageProviderCapability.methods.write.output)
|
|
6509
6614
|
.mutation(async ({ input, ctx }) => {
|
|
6510
6615
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6511
6616
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6513,8 +6618,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6513
6618
|
return p.write(methodInput);
|
|
6514
6619
|
}),
|
|
6515
6620
|
read: trpc_middleware_js_1.protectedProcedure
|
|
6516
|
-
.input(
|
|
6517
|
-
.output(
|
|
6621
|
+
.input(types_93.storageProviderCapability.methods.read.input.loose())
|
|
6622
|
+
.output(types_93.storageProviderCapability.methods.read.output)
|
|
6518
6623
|
.query(async ({ input, ctx }) => {
|
|
6519
6624
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6520
6625
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6522,8 +6627,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6522
6627
|
return p.read(methodInput);
|
|
6523
6628
|
}),
|
|
6524
6629
|
exists: trpc_middleware_js_1.protectedProcedure
|
|
6525
|
-
.input(
|
|
6526
|
-
.output(
|
|
6630
|
+
.input(types_93.storageProviderCapability.methods.exists.input.loose())
|
|
6631
|
+
.output(types_93.storageProviderCapability.methods.exists.output)
|
|
6527
6632
|
.query(async ({ input, ctx }) => {
|
|
6528
6633
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6529
6634
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6531,8 +6636,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6531
6636
|
return p.exists(methodInput);
|
|
6532
6637
|
}),
|
|
6533
6638
|
list: trpc_middleware_js_1.protectedProcedure
|
|
6534
|
-
.input(
|
|
6535
|
-
.output(
|
|
6639
|
+
.input(types_93.storageProviderCapability.methods.list.input.loose())
|
|
6640
|
+
.output(types_93.storageProviderCapability.methods.list.output)
|
|
6536
6641
|
.query(async ({ input, ctx }) => {
|
|
6537
6642
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6538
6643
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6540,8 +6645,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6540
6645
|
return p.list(methodInput);
|
|
6541
6646
|
}),
|
|
6542
6647
|
delete: trpc_middleware_js_1.protectedProcedure
|
|
6543
|
-
.input(
|
|
6544
|
-
.output(
|
|
6648
|
+
.input(types_93.storageProviderCapability.methods.delete.input.loose())
|
|
6649
|
+
.output(types_93.storageProviderCapability.methods.delete.output)
|
|
6545
6650
|
.mutation(async ({ input, ctx }) => {
|
|
6546
6651
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6547
6652
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6549,8 +6654,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6549
6654
|
return p.delete(methodInput);
|
|
6550
6655
|
}),
|
|
6551
6656
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
6552
|
-
.input(
|
|
6553
|
-
.output(
|
|
6657
|
+
.input(types_93.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
6658
|
+
.output(types_93.storageProviderCapability.methods.getAvailableSpace.output)
|
|
6554
6659
|
.query(async ({ input, ctx }) => {
|
|
6555
6660
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6556
6661
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6558,8 +6663,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6558
6663
|
return p.getAvailableSpace(methodInput);
|
|
6559
6664
|
}),
|
|
6560
6665
|
beginUpload: trpc_middleware_js_1.protectedProcedure
|
|
6561
|
-
.input(
|
|
6562
|
-
.output(
|
|
6666
|
+
.input(types_93.storageProviderCapability.methods.beginUpload.input.loose())
|
|
6667
|
+
.output(types_93.storageProviderCapability.methods.beginUpload.output)
|
|
6563
6668
|
.mutation(async ({ input, ctx }) => {
|
|
6564
6669
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6565
6670
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6567,8 +6672,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6567
6672
|
return p.beginUpload(methodInput);
|
|
6568
6673
|
}),
|
|
6569
6674
|
writeChunk: trpc_middleware_js_1.protectedProcedure
|
|
6570
|
-
.input(
|
|
6571
|
-
.output(
|
|
6675
|
+
.input(types_93.storageProviderCapability.methods.writeChunk.input.loose())
|
|
6676
|
+
.output(types_93.storageProviderCapability.methods.writeChunk.output)
|
|
6572
6677
|
.mutation(async ({ input, ctx }) => {
|
|
6573
6678
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6574
6679
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6576,8 +6681,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6576
6681
|
return p.writeChunk(methodInput);
|
|
6577
6682
|
}),
|
|
6578
6683
|
finalizeUpload: trpc_middleware_js_1.protectedProcedure
|
|
6579
|
-
.input(
|
|
6580
|
-
.output(
|
|
6684
|
+
.input(types_93.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
6685
|
+
.output(types_93.storageProviderCapability.methods.finalizeUpload.output)
|
|
6581
6686
|
.mutation(async ({ input, ctx }) => {
|
|
6582
6687
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6583
6688
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6585,8 +6690,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6585
6690
|
return p.finalizeUpload(methodInput);
|
|
6586
6691
|
}),
|
|
6587
6692
|
abortUpload: trpc_middleware_js_1.protectedProcedure
|
|
6588
|
-
.input(
|
|
6589
|
-
.output(
|
|
6693
|
+
.input(types_93.storageProviderCapability.methods.abortUpload.input.loose())
|
|
6694
|
+
.output(types_93.storageProviderCapability.methods.abortUpload.output)
|
|
6590
6695
|
.mutation(async ({ input, ctx }) => {
|
|
6591
6696
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6592
6697
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6594,8 +6699,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6594
6699
|
return p.abortUpload(methodInput);
|
|
6595
6700
|
}),
|
|
6596
6701
|
beginDownload: trpc_middleware_js_1.protectedProcedure
|
|
6597
|
-
.input(
|
|
6598
|
-
.output(
|
|
6702
|
+
.input(types_93.storageProviderCapability.methods.beginDownload.input.loose())
|
|
6703
|
+
.output(types_93.storageProviderCapability.methods.beginDownload.output)
|
|
6599
6704
|
.mutation(async ({ input, ctx }) => {
|
|
6600
6705
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6601
6706
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6603,8 +6708,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6603
6708
|
return p.beginDownload(methodInput);
|
|
6604
6709
|
}),
|
|
6605
6710
|
readChunk: trpc_middleware_js_1.protectedProcedure
|
|
6606
|
-
.input(
|
|
6607
|
-
.output(
|
|
6711
|
+
.input(types_93.storageProviderCapability.methods.readChunk.input.loose())
|
|
6712
|
+
.output(types_93.storageProviderCapability.methods.readChunk.output)
|
|
6608
6713
|
.query(async ({ input, ctx }) => {
|
|
6609
6714
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6610
6715
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6612,8 +6717,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
6612
6717
|
return p.readChunk(methodInput);
|
|
6613
6718
|
}),
|
|
6614
6719
|
endDownload: trpc_middleware_js_1.protectedProcedure
|
|
6615
|
-
.input(
|
|
6616
|
-
.output(
|
|
6720
|
+
.input(types_93.storageProviderCapability.methods.endDownload.input.loose())
|
|
6721
|
+
.output(types_93.storageProviderCapability.methods.endDownload.output)
|
|
6617
6722
|
.mutation(async ({ input, ctx }) => {
|
|
6618
6723
|
const { nodeId, addonId, ...methodInput } = input;
|
|
6619
6724
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -6652,8 +6757,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6652
6757
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
6653
6758
|
}),
|
|
6654
6759
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
6655
|
-
.input(
|
|
6656
|
-
.output(
|
|
6760
|
+
.input(types_94.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
6761
|
+
.output(types_94.streamBrokerCapability.methods.publishCameraStream.output)
|
|
6657
6762
|
.mutation(async ({ input, ctx }) => {
|
|
6658
6763
|
const { nodeId, ...methodInput } = input;
|
|
6659
6764
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6661,8 +6766,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6661
6766
|
return p.publishCameraStream(methodInput);
|
|
6662
6767
|
}),
|
|
6663
6768
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
6664
|
-
.input(
|
|
6665
|
-
.output(
|
|
6769
|
+
.input(types_94.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
6770
|
+
.output(types_94.streamBrokerCapability.methods.retractCameraStream.output)
|
|
6666
6771
|
.mutation(async ({ input, ctx }) => {
|
|
6667
6772
|
const { nodeId, ...methodInput } = input;
|
|
6668
6773
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6670,8 +6775,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6670
6775
|
return p.retractCameraStream(methodInput);
|
|
6671
6776
|
}),
|
|
6672
6777
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
6673
|
-
.input(
|
|
6674
|
-
.output(
|
|
6778
|
+
.input(types_94.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
6779
|
+
.output(types_94.streamBrokerCapability.methods.assignProfile.output)
|
|
6675
6780
|
.mutation(async ({ input, ctx }) => {
|
|
6676
6781
|
const { nodeId, ...methodInput } = input;
|
|
6677
6782
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6679,8 +6784,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6679
6784
|
return p.assignProfile(methodInput);
|
|
6680
6785
|
}),
|
|
6681
6786
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
6682
|
-
.input(
|
|
6683
|
-
.output(
|
|
6787
|
+
.input(types_94.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
6788
|
+
.output(types_94.streamBrokerCapability.methods.unassignProfile.output)
|
|
6684
6789
|
.mutation(async ({ input, ctx }) => {
|
|
6685
6790
|
const { nodeId, ...methodInput } = input;
|
|
6686
6791
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6689,21 +6794,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6689
6794
|
}),
|
|
6690
6795
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
6691
6796
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6692
|
-
.output(
|
|
6797
|
+
.output(types_94.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
6693
6798
|
.query(async ({ input, ctx }) => {
|
|
6694
6799
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6695
6800
|
return p.listAllCameraStreams();
|
|
6696
6801
|
}),
|
|
6697
6802
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
6698
6803
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6699
|
-
.output(
|
|
6804
|
+
.output(types_94.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
6700
6805
|
.query(async ({ input, ctx }) => {
|
|
6701
6806
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6702
6807
|
return p.listAllProfileSlots();
|
|
6703
6808
|
}),
|
|
6704
6809
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
6705
|
-
.input(
|
|
6706
|
-
.output(
|
|
6810
|
+
.input(types_94.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
6811
|
+
.output(types_94.streamBrokerCapability.methods.getBrokerStats.output)
|
|
6707
6812
|
.query(async ({ input, ctx }) => {
|
|
6708
6813
|
const { nodeId, ...methodInput } = input;
|
|
6709
6814
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6711,8 +6816,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6711
6816
|
return p.getBrokerStats(methodInput);
|
|
6712
6817
|
}),
|
|
6713
6818
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
6714
|
-
.input(
|
|
6715
|
-
.output(
|
|
6819
|
+
.input(types_94.streamBrokerCapability.methods.probeStream.input.loose())
|
|
6820
|
+
.output(types_94.streamBrokerCapability.methods.probeStream.output)
|
|
6716
6821
|
.mutation(async ({ input, ctx }) => {
|
|
6717
6822
|
const { nodeId, ...methodInput } = input;
|
|
6718
6823
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6720,8 +6825,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6720
6825
|
return p.probeStream(methodInput);
|
|
6721
6826
|
}),
|
|
6722
6827
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
6723
|
-
.input(
|
|
6724
|
-
.output(
|
|
6828
|
+
.input(types_94.streamBrokerCapability.methods.listClients.input.loose())
|
|
6829
|
+
.output(types_94.streamBrokerCapability.methods.listClients.output)
|
|
6725
6830
|
.query(async ({ input, ctx }) => {
|
|
6726
6831
|
const { nodeId, ...methodInput } = input;
|
|
6727
6832
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6729,8 +6834,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6729
6834
|
return p.listClients(methodInput);
|
|
6730
6835
|
}),
|
|
6731
6836
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
6732
|
-
.input(
|
|
6733
|
-
.output(
|
|
6837
|
+
.input(types_94.streamBrokerCapability.methods.killClient.input.loose())
|
|
6838
|
+
.output(types_94.streamBrokerCapability.methods.killClient.output)
|
|
6734
6839
|
.mutation(async ({ input, ctx }) => {
|
|
6735
6840
|
const { nodeId, ...methodInput } = input;
|
|
6736
6841
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6738,8 +6843,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6738
6843
|
return p.killClient(methodInput);
|
|
6739
6844
|
}),
|
|
6740
6845
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
6741
|
-
.input(
|
|
6742
|
-
.output(
|
|
6846
|
+
.input(types_94.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
6847
|
+
.output(types_94.streamBrokerCapability.methods.restartProfile.output)
|
|
6743
6848
|
.mutation(async ({ input, ctx }) => {
|
|
6744
6849
|
const { nodeId, ...methodInput } = input;
|
|
6745
6850
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6747,8 +6852,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6747
6852
|
return p.restartProfile(methodInput);
|
|
6748
6853
|
}),
|
|
6749
6854
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
6750
|
-
.input(
|
|
6751
|
-
.output(
|
|
6855
|
+
.input(types_94.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
6856
|
+
.output(types_94.streamBrokerCapability.methods.getStreamUrl.output)
|
|
6752
6857
|
.query(async ({ input, ctx }) => {
|
|
6753
6858
|
const { nodeId, ...methodInput } = input;
|
|
6754
6859
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6756,8 +6861,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6756
6861
|
return p.getStreamUrl(methodInput);
|
|
6757
6862
|
}),
|
|
6758
6863
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
6759
|
-
.input(
|
|
6760
|
-
.output(
|
|
6864
|
+
.input(types_94.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
6865
|
+
.output(types_94.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
6761
6866
|
.mutation(async ({ input, ctx }) => {
|
|
6762
6867
|
const { nodeId, ...methodInput } = input;
|
|
6763
6868
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6765,8 +6870,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6765
6870
|
return p.getStreamWithCodec(methodInput);
|
|
6766
6871
|
}),
|
|
6767
6872
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
6768
|
-
.input(
|
|
6769
|
-
.output(
|
|
6873
|
+
.input(types_94.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
6874
|
+
.output(types_94.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
6770
6875
|
.mutation(async ({ input, ctx }) => {
|
|
6771
6876
|
const { nodeId, ...methodInput } = input;
|
|
6772
6877
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6774,8 +6879,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6774
6879
|
return p.releaseStreamWithCodec(methodInput);
|
|
6775
6880
|
}),
|
|
6776
6881
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
6777
|
-
.input(
|
|
6778
|
-
.output(
|
|
6882
|
+
.input(types_94.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
6883
|
+
.output(types_94.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
6779
6884
|
.mutation(async ({ input, ctx }) => {
|
|
6780
6885
|
const { nodeId, ...methodInput } = input;
|
|
6781
6886
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6783,8 +6888,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6783
6888
|
return p.subscribeAudioChunks(methodInput);
|
|
6784
6889
|
}),
|
|
6785
6890
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
6786
|
-
.input(
|
|
6787
|
-
.output(
|
|
6891
|
+
.input(types_94.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
6892
|
+
.output(types_94.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
6788
6893
|
.query(async ({ input, ctx }) => {
|
|
6789
6894
|
const { nodeId, ...methodInput } = input;
|
|
6790
6895
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6792,8 +6897,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6792
6897
|
return p.pullAudioChunks(methodInput);
|
|
6793
6898
|
}),
|
|
6794
6899
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
6795
|
-
.input(
|
|
6796
|
-
.output(
|
|
6900
|
+
.input(types_94.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
6901
|
+
.output(types_94.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
6797
6902
|
.mutation(async ({ input, ctx }) => {
|
|
6798
6903
|
const { nodeId, ...methodInput } = input;
|
|
6799
6904
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6801,8 +6906,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6801
6906
|
return p.unsubscribeAudioChunks(methodInput);
|
|
6802
6907
|
}),
|
|
6803
6908
|
subscribeFrames: trpc_middleware_js_1.protectedProcedure
|
|
6804
|
-
.input(
|
|
6805
|
-
.output(
|
|
6909
|
+
.input(types_94.streamBrokerCapability.methods.subscribeFrames.input.loose())
|
|
6910
|
+
.output(types_94.streamBrokerCapability.methods.subscribeFrames.output)
|
|
6806
6911
|
.mutation(async ({ input, ctx }) => {
|
|
6807
6912
|
const { nodeId, ...methodInput } = input;
|
|
6808
6913
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6810,8 +6915,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6810
6915
|
return p.subscribeFrames(methodInput);
|
|
6811
6916
|
}),
|
|
6812
6917
|
pullFrameHandles: trpc_middleware_js_1.protectedProcedure
|
|
6813
|
-
.input(
|
|
6814
|
-
.output(
|
|
6918
|
+
.input(types_94.streamBrokerCapability.methods.pullFrameHandles.input.loose())
|
|
6919
|
+
.output(types_94.streamBrokerCapability.methods.pullFrameHandles.output)
|
|
6815
6920
|
.query(async ({ input, ctx }) => {
|
|
6816
6921
|
const { nodeId, ...methodInput } = input;
|
|
6817
6922
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6819,8 +6924,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6819
6924
|
return p.pullFrameHandles(methodInput);
|
|
6820
6925
|
}),
|
|
6821
6926
|
unsubscribeFrames: trpc_middleware_js_1.protectedProcedure
|
|
6822
|
-
.input(
|
|
6823
|
-
.output(
|
|
6927
|
+
.input(types_94.streamBrokerCapability.methods.unsubscribeFrames.input.loose())
|
|
6928
|
+
.output(types_94.streamBrokerCapability.methods.unsubscribeFrames.output)
|
|
6824
6929
|
.mutation(async ({ input, ctx }) => {
|
|
6825
6930
|
const { nodeId, ...methodInput } = input;
|
|
6826
6931
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6828,8 +6933,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6828
6933
|
return p.unsubscribeFrames(methodInput);
|
|
6829
6934
|
}),
|
|
6830
6935
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
6831
|
-
.input(
|
|
6832
|
-
.output(
|
|
6936
|
+
.input(types_94.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
6937
|
+
.output(types_94.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
6833
6938
|
.mutation(async ({ input, ctx }) => {
|
|
6834
6939
|
const { nodeId, ...methodInput } = input;
|
|
6835
6940
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6837,8 +6942,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6837
6942
|
return p.setPreBufferDuration(methodInput);
|
|
6838
6943
|
}),
|
|
6839
6944
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
6840
|
-
.input(
|
|
6841
|
-
.output(
|
|
6945
|
+
.input(types_94.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
6946
|
+
.output(types_94.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
6842
6947
|
.query(async ({ input, ctx }) => {
|
|
6843
6948
|
const { nodeId, ...methodInput } = input;
|
|
6844
6949
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6847,14 +6952,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6847
6952
|
}),
|
|
6848
6953
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
6849
6954
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6850
|
-
.output(
|
|
6955
|
+
.output(types_94.streamBrokerCapability.methods.getRtspPort.output)
|
|
6851
6956
|
.query(async ({ input, ctx }) => {
|
|
6852
6957
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6853
6958
|
return p.getRtspPort();
|
|
6854
6959
|
}),
|
|
6855
6960
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
6856
|
-
.input(
|
|
6857
|
-
.output(
|
|
6961
|
+
.input(types_94.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
6962
|
+
.output(types_94.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
6858
6963
|
.query(async ({ input, ctx }) => {
|
|
6859
6964
|
const { nodeId, ...methodInput } = input;
|
|
6860
6965
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6862,8 +6967,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6862
6967
|
return p.getAllRtspEntries(methodInput);
|
|
6863
6968
|
}),
|
|
6864
6969
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
6865
|
-
.input(
|
|
6866
|
-
.output(
|
|
6970
|
+
.input(types_94.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
6971
|
+
.output(types_94.streamBrokerCapability.methods.getRtspEntry.output)
|
|
6867
6972
|
.query(async ({ input, ctx }) => {
|
|
6868
6973
|
const { nodeId, ...methodInput } = input;
|
|
6869
6974
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6871,8 +6976,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6871
6976
|
return p.getRtspEntry(methodInput);
|
|
6872
6977
|
}),
|
|
6873
6978
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
6874
|
-
.input(
|
|
6875
|
-
.output(
|
|
6979
|
+
.input(types_94.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
6980
|
+
.output(types_94.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
6876
6981
|
.mutation(async ({ input, ctx }) => {
|
|
6877
6982
|
const { nodeId, ...methodInput } = input;
|
|
6878
6983
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6880,8 +6985,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6880
6985
|
return p.regenerateRtspToken(methodInput);
|
|
6881
6986
|
}),
|
|
6882
6987
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
6883
|
-
.input(
|
|
6884
|
-
.output(
|
|
6988
|
+
.input(types_94.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
6989
|
+
.output(types_94.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
6885
6990
|
.mutation(async ({ input, ctx }) => {
|
|
6886
6991
|
const { nodeId, ...methodInput } = input;
|
|
6887
6992
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6889,8 +6994,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6889
6994
|
return p.setRtspEnabled(methodInput);
|
|
6890
6995
|
}),
|
|
6891
6996
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
6892
|
-
.input(
|
|
6893
|
-
.output(
|
|
6997
|
+
.input(types_94.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
6998
|
+
.output(types_94.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
6894
6999
|
.query(async ({ input, ctx }) => {
|
|
6895
7000
|
const { nodeId, ...methodInput } = input;
|
|
6896
7001
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6902,8 +7007,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
6902
7007
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
6903
7008
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6904
7009
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
6905
|
-
.input(
|
|
6906
|
-
.output(
|
|
7010
|
+
.input(types_95.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
7011
|
+
.output(types_95.streamCatalogCapability.methods.getCatalog.output)
|
|
6907
7012
|
.query(async ({ input, ctx }) => {
|
|
6908
7013
|
const { nodeId, ...methodInput } = input;
|
|
6909
7014
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6924,8 +7029,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
6924
7029
|
return p.getStatus(methodInput);
|
|
6925
7030
|
}),
|
|
6926
7031
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
6927
|
-
.input(
|
|
6928
|
-
.output(
|
|
7032
|
+
.input(types_96.streamParamsCapability.methods.getOptions.input.loose())
|
|
7033
|
+
.output(types_96.streamParamsCapability.methods.getOptions.output)
|
|
6929
7034
|
.query(async ({ input, ctx }) => {
|
|
6930
7035
|
const { nodeId, ...methodInput } = input;
|
|
6931
7036
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6933,8 +7038,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
6933
7038
|
return p.getOptions(methodInput);
|
|
6934
7039
|
}),
|
|
6935
7040
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
6936
|
-
.input(
|
|
6937
|
-
.output(
|
|
7041
|
+
.input(types_96.streamParamsCapability.methods.setProfile.input.loose())
|
|
7042
|
+
.output(types_96.streamParamsCapability.methods.setProfile.output)
|
|
6938
7043
|
.mutation(async ({ input, ctx }) => {
|
|
6939
7044
|
const { nodeId, ...methodInput } = input;
|
|
6940
7045
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6942,8 +7047,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
6942
7047
|
return p.setProfile(methodInput);
|
|
6943
7048
|
}),
|
|
6944
7049
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
6945
|
-
.input(
|
|
6946
|
-
.output(
|
|
7050
|
+
.input(types_96.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
7051
|
+
.output(types_96.streamParamsCapability.methods.getConfigSchema.output)
|
|
6947
7052
|
.query(async ({ input, ctx }) => {
|
|
6948
7053
|
const { nodeId, ...methodInput } = input;
|
|
6949
7054
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6955,8 +7060,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
6955
7060
|
function createCapRouter_streamingEngine(getProvider, createRemoteProxy) {
|
|
6956
7061
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
6957
7062
|
registerStream: trpc_middleware_js_1.protectedProcedure
|
|
6958
|
-
.input(
|
|
6959
|
-
.output(
|
|
7063
|
+
.input(types_97.streamingEngineCapability.methods.registerStream.input.loose())
|
|
7064
|
+
.output(types_97.streamingEngineCapability.methods.registerStream.output)
|
|
6960
7065
|
.mutation(async ({ input, ctx }) => {
|
|
6961
7066
|
const { nodeId, ...methodInput } = input;
|
|
6962
7067
|
const p = resolveProvider('streaming-engine', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6964,8 +7069,8 @@ function createCapRouter_streamingEngine(getProvider, createRemoteProxy) {
|
|
|
6964
7069
|
return p.registerStream(methodInput);
|
|
6965
7070
|
}),
|
|
6966
7071
|
unregisterStream: trpc_middleware_js_1.protectedProcedure
|
|
6967
|
-
.input(
|
|
6968
|
-
.output(
|
|
7072
|
+
.input(types_97.streamingEngineCapability.methods.unregisterStream.input.loose())
|
|
7073
|
+
.output(types_97.streamingEngineCapability.methods.unregisterStream.output)
|
|
6969
7074
|
.mutation(async ({ input, ctx }) => {
|
|
6970
7075
|
const { nodeId, ...methodInput } = input;
|
|
6971
7076
|
const p = resolveProvider('streaming-engine', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6973,8 +7078,8 @@ function createCapRouter_streamingEngine(getProvider, createRemoteProxy) {
|
|
|
6973
7078
|
return p.unregisterStream(methodInput);
|
|
6974
7079
|
}),
|
|
6975
7080
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
6976
|
-
.input(
|
|
6977
|
-
.output(
|
|
7081
|
+
.input(types_97.streamingEngineCapability.methods.getStreamUrl.input.loose())
|
|
7082
|
+
.output(types_97.streamingEngineCapability.methods.getStreamUrl.output)
|
|
6978
7083
|
.query(async ({ input, ctx }) => {
|
|
6979
7084
|
const { nodeId, ...methodInput } = input;
|
|
6980
7085
|
const p = resolveProvider('streaming-engine', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -6983,7 +7088,7 @@ function createCapRouter_streamingEngine(getProvider, createRemoteProxy) {
|
|
|
6983
7088
|
}),
|
|
6984
7089
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
6985
7090
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6986
|
-
.output(
|
|
7091
|
+
.output(types_97.streamingEngineCapability.methods.listStreams.output)
|
|
6987
7092
|
.query(async ({ input, ctx }) => {
|
|
6988
7093
|
const p = resolveProvider('streaming-engine', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6989
7094
|
return p.listStreams();
|
|
@@ -7002,8 +7107,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
7002
7107
|
return p.getStatus(methodInput);
|
|
7003
7108
|
}),
|
|
7004
7109
|
setState: trpc_middleware_js_1.adminProcedure
|
|
7005
|
-
.input(
|
|
7006
|
-
.output(
|
|
7110
|
+
.input(types_98.switchCapability.methods.setState.input.loose())
|
|
7111
|
+
.output(types_98.switchCapability.methods.setState.output)
|
|
7007
7112
|
.mutation(async ({ input, ctx }) => {
|
|
7008
7113
|
const { nodeId, ...methodInput } = input;
|
|
7009
7114
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7016,49 +7121,49 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
7016
7121
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7017
7122
|
info: trpc_middleware_js_1.protectedProcedure
|
|
7018
7123
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7019
|
-
.output(
|
|
7124
|
+
.output(types_99.systemCapability.methods.info.output)
|
|
7020
7125
|
.query(async ({ input, ctx }) => {
|
|
7021
7126
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7022
7127
|
return p.info();
|
|
7023
7128
|
}),
|
|
7024
7129
|
health: trpc_middleware_js_1.protectedProcedure
|
|
7025
7130
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7026
|
-
.output(
|
|
7131
|
+
.output(types_99.systemCapability.methods.health.output)
|
|
7027
7132
|
.query(async ({ input, ctx }) => {
|
|
7028
7133
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7029
7134
|
return p.health();
|
|
7030
7135
|
}),
|
|
7031
7136
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
7032
7137
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7033
|
-
.output(
|
|
7138
|
+
.output(types_99.systemCapability.methods.featureFlags.output)
|
|
7034
7139
|
.query(async ({ input, ctx }) => {
|
|
7035
7140
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7036
7141
|
return p.featureFlags();
|
|
7037
7142
|
}),
|
|
7038
7143
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
7039
7144
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7040
|
-
.output(
|
|
7145
|
+
.output(types_99.systemCapability.methods.networkAddresses.output)
|
|
7041
7146
|
.query(async ({ input, ctx }) => {
|
|
7042
7147
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7043
7148
|
return p.networkAddresses();
|
|
7044
7149
|
}),
|
|
7045
7150
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
7046
7151
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7047
|
-
.output(
|
|
7152
|
+
.output(types_99.systemCapability.methods.getRetentionConfig.output)
|
|
7048
7153
|
.query(async ({ input, ctx }) => {
|
|
7049
7154
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7050
7155
|
return p.getRetentionConfig();
|
|
7051
7156
|
}),
|
|
7052
7157
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
7053
|
-
.input(
|
|
7054
|
-
.output(
|
|
7158
|
+
.input(types_99.systemCapability.methods.setRetentionConfig.input)
|
|
7159
|
+
.output(types_99.systemCapability.methods.setRetentionConfig.output)
|
|
7055
7160
|
.mutation(async ({ input, ctx }) => {
|
|
7056
7161
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
7057
7162
|
return p.setRetentionConfig(input);
|
|
7058
7163
|
}),
|
|
7059
7164
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
7060
7165
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7061
|
-
.output(
|
|
7166
|
+
.output(types_99.systemCapability.methods.forceRetentionCleanup.output)
|
|
7062
7167
|
.mutation(async ({ input, ctx }) => {
|
|
7063
7168
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7064
7169
|
return p.forceRetentionCleanup();
|
|
@@ -7094,7 +7199,7 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
7094
7199
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
7095
7200
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7096
7201
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
7097
|
-
.input(
|
|
7202
|
+
.input(types_100.toastCapability.methods.onToast.input)
|
|
7098
7203
|
.subscription(({ input, ctx }) => {
|
|
7099
7204
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
7100
7205
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -7107,7 +7212,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
7107
7212
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7108
7213
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
7109
7214
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
7110
|
-
.output(
|
|
7215
|
+
.output(types_101.turnProviderCapability.methods.getTurnServers.output)
|
|
7111
7216
|
.query(async ({ input, ctx }) => {
|
|
7112
7217
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
7113
7218
|
return p.getTurnServers();
|
|
@@ -7127,7 +7232,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
7127
7232
|
}),
|
|
7128
7233
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
7129
7234
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7130
|
-
.output(
|
|
7235
|
+
.output(types_102.updateCapability.methods.installUpdate.output)
|
|
7131
7236
|
.mutation(async ({ input, ctx }) => {
|
|
7132
7237
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7133
7238
|
return p.installUpdate();
|
|
@@ -7138,14 +7243,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7138
7243
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7139
7244
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
7140
7245
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7141
|
-
.output(
|
|
7246
|
+
.output(types_103.userManagementCapability.methods.listUsers.output)
|
|
7142
7247
|
.query(async ({ input, ctx }) => {
|
|
7143
7248
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7144
7249
|
return p.listUsers();
|
|
7145
7250
|
}),
|
|
7146
7251
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
7147
|
-
.input(
|
|
7148
|
-
.output(
|
|
7252
|
+
.input(types_103.userManagementCapability.methods.createUser.input.loose())
|
|
7253
|
+
.output(types_103.userManagementCapability.methods.createUser.output)
|
|
7149
7254
|
.mutation(async ({ input, ctx }) => {
|
|
7150
7255
|
const { nodeId, ...methodInput } = input;
|
|
7151
7256
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7153,8 +7258,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7153
7258
|
return p.createUser(methodInput);
|
|
7154
7259
|
}),
|
|
7155
7260
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
7156
|
-
.input(
|
|
7157
|
-
.output(
|
|
7261
|
+
.input(types_103.userManagementCapability.methods.updateUser.input.loose())
|
|
7262
|
+
.output(types_103.userManagementCapability.methods.updateUser.output)
|
|
7158
7263
|
.mutation(async ({ input, ctx }) => {
|
|
7159
7264
|
const { nodeId, ...methodInput } = input;
|
|
7160
7265
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7162,8 +7267,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7162
7267
|
return p.updateUser(methodInput);
|
|
7163
7268
|
}),
|
|
7164
7269
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
7165
|
-
.input(
|
|
7166
|
-
.output(
|
|
7270
|
+
.input(types_103.userManagementCapability.methods.deleteUser.input.loose())
|
|
7271
|
+
.output(types_103.userManagementCapability.methods.deleteUser.output)
|
|
7167
7272
|
.mutation(async ({ input, ctx }) => {
|
|
7168
7273
|
const { nodeId, ...methodInput } = input;
|
|
7169
7274
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7171,8 +7276,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7171
7276
|
return p.deleteUser(methodInput);
|
|
7172
7277
|
}),
|
|
7173
7278
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
7174
|
-
.input(
|
|
7175
|
-
.output(
|
|
7279
|
+
.input(types_103.userManagementCapability.methods.resetPassword.input.loose())
|
|
7280
|
+
.output(types_103.userManagementCapability.methods.resetPassword.output)
|
|
7176
7281
|
.mutation(async ({ input, ctx }) => {
|
|
7177
7282
|
const { nodeId, ...methodInput } = input;
|
|
7178
7283
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7180,8 +7285,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7180
7285
|
return p.resetPassword(methodInput);
|
|
7181
7286
|
}),
|
|
7182
7287
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
7183
|
-
.input(
|
|
7184
|
-
.output(
|
|
7288
|
+
.input(types_103.userManagementCapability.methods.setUserScopes.input.loose())
|
|
7289
|
+
.output(types_103.userManagementCapability.methods.setUserScopes.output)
|
|
7185
7290
|
.mutation(async ({ input, ctx }) => {
|
|
7186
7291
|
const { nodeId, ...methodInput } = input;
|
|
7187
7292
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7189,8 +7294,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7189
7294
|
return p.setUserScopes(methodInput);
|
|
7190
7295
|
}),
|
|
7191
7296
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
7192
|
-
.input(
|
|
7193
|
-
.output(
|
|
7297
|
+
.input(types_103.userManagementCapability.methods.validateCredentials.input.loose())
|
|
7298
|
+
.output(types_103.userManagementCapability.methods.validateCredentials.output)
|
|
7194
7299
|
.mutation(async ({ input, ctx }) => {
|
|
7195
7300
|
const { nodeId, ...methodInput } = input;
|
|
7196
7301
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7199,14 +7304,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7199
7304
|
}),
|
|
7200
7305
|
listApiKeys: trpc_middleware_js_1.adminProcedure
|
|
7201
7306
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7202
|
-
.output(
|
|
7307
|
+
.output(types_103.userManagementCapability.methods.listApiKeys.output)
|
|
7203
7308
|
.query(async ({ input, ctx }) => {
|
|
7204
7309
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7205
7310
|
return p.listApiKeys();
|
|
7206
7311
|
}),
|
|
7207
7312
|
createApiKey: trpc_middleware_js_1.adminProcedure
|
|
7208
|
-
.input(
|
|
7209
|
-
.output(
|
|
7313
|
+
.input(types_103.userManagementCapability.methods.createApiKey.input.loose())
|
|
7314
|
+
.output(types_103.userManagementCapability.methods.createApiKey.output)
|
|
7210
7315
|
.mutation(async ({ input, ctx }) => {
|
|
7211
7316
|
const { nodeId, ...methodInput } = input;
|
|
7212
7317
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7214,8 +7319,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7214
7319
|
return p.createApiKey(methodInput);
|
|
7215
7320
|
}),
|
|
7216
7321
|
revokeApiKey: trpc_middleware_js_1.adminProcedure
|
|
7217
|
-
.input(
|
|
7218
|
-
.output(
|
|
7322
|
+
.input(types_103.userManagementCapability.methods.revokeApiKey.input.loose())
|
|
7323
|
+
.output(types_103.userManagementCapability.methods.revokeApiKey.output)
|
|
7219
7324
|
.mutation(async ({ input, ctx }) => {
|
|
7220
7325
|
const { nodeId, ...methodInput } = input;
|
|
7221
7326
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7223,8 +7328,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7223
7328
|
return p.revokeApiKey(methodInput);
|
|
7224
7329
|
}),
|
|
7225
7330
|
validateApiKey: trpc_middleware_js_1.protectedProcedure
|
|
7226
|
-
.input(
|
|
7227
|
-
.output(
|
|
7331
|
+
.input(types_103.userManagementCapability.methods.validateApiKey.input.loose())
|
|
7332
|
+
.output(types_103.userManagementCapability.methods.validateApiKey.output)
|
|
7228
7333
|
.mutation(async ({ input, ctx }) => {
|
|
7229
7334
|
const { nodeId, ...methodInput } = input;
|
|
7230
7335
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7232,8 +7337,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7232
7337
|
return p.validateApiKey(methodInput);
|
|
7233
7338
|
}),
|
|
7234
7339
|
createScopedToken: trpc_middleware_js_1.adminProcedure
|
|
7235
|
-
.input(
|
|
7236
|
-
.output(
|
|
7340
|
+
.input(types_103.userManagementCapability.methods.createScopedToken.input.loose())
|
|
7341
|
+
.output(types_103.userManagementCapability.methods.createScopedToken.output)
|
|
7237
7342
|
.mutation(async ({ input, ctx }) => {
|
|
7238
7343
|
const { nodeId, ...methodInput } = input;
|
|
7239
7344
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7241,8 +7346,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7241
7346
|
return p.createScopedToken(methodInput);
|
|
7242
7347
|
}),
|
|
7243
7348
|
revokeScopedToken: trpc_middleware_js_1.adminProcedure
|
|
7244
|
-
.input(
|
|
7245
|
-
.output(
|
|
7349
|
+
.input(types_103.userManagementCapability.methods.revokeScopedToken.input.loose())
|
|
7350
|
+
.output(types_103.userManagementCapability.methods.revokeScopedToken.output)
|
|
7246
7351
|
.mutation(async ({ input, ctx }) => {
|
|
7247
7352
|
const { nodeId, ...methodInput } = input;
|
|
7248
7353
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7250,8 +7355,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7250
7355
|
return p.revokeScopedToken(methodInput);
|
|
7251
7356
|
}),
|
|
7252
7357
|
validateScopedToken: trpc_middleware_js_1.protectedProcedure
|
|
7253
|
-
.input(
|
|
7254
|
-
.output(
|
|
7358
|
+
.input(types_103.userManagementCapability.methods.validateScopedToken.input.loose())
|
|
7359
|
+
.output(types_103.userManagementCapability.methods.validateScopedToken.output)
|
|
7255
7360
|
.query(async ({ input, ctx }) => {
|
|
7256
7361
|
const { nodeId, ...methodInput } = input;
|
|
7257
7362
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7259,8 +7364,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7259
7364
|
return p.validateScopedToken(methodInput);
|
|
7260
7365
|
}),
|
|
7261
7366
|
listScopedTokens: trpc_middleware_js_1.adminProcedure
|
|
7262
|
-
.input(
|
|
7263
|
-
.output(
|
|
7367
|
+
.input(types_103.userManagementCapability.methods.listScopedTokens.input.loose())
|
|
7368
|
+
.output(types_103.userManagementCapability.methods.listScopedTokens.output)
|
|
7264
7369
|
.query(async ({ input, ctx }) => {
|
|
7265
7370
|
const { nodeId, ...methodInput } = input;
|
|
7266
7371
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7268,8 +7373,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7268
7373
|
return p.listScopedTokens(methodInput);
|
|
7269
7374
|
}),
|
|
7270
7375
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
7271
|
-
.input(
|
|
7272
|
-
.output(
|
|
7376
|
+
.input(types_103.userManagementCapability.methods.setupTotp.input.loose())
|
|
7377
|
+
.output(types_103.userManagementCapability.methods.setupTotp.output)
|
|
7273
7378
|
.mutation(async ({ input, ctx }) => {
|
|
7274
7379
|
const { nodeId, ...methodInput } = input;
|
|
7275
7380
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7277,8 +7382,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7277
7382
|
return p.setupTotp(methodInput);
|
|
7278
7383
|
}),
|
|
7279
7384
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
7280
|
-
.input(
|
|
7281
|
-
.output(
|
|
7385
|
+
.input(types_103.userManagementCapability.methods.confirmTotp.input.loose())
|
|
7386
|
+
.output(types_103.userManagementCapability.methods.confirmTotp.output)
|
|
7282
7387
|
.mutation(async ({ input, ctx }) => {
|
|
7283
7388
|
const { nodeId, ...methodInput } = input;
|
|
7284
7389
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7286,8 +7391,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7286
7391
|
return p.confirmTotp(methodInput);
|
|
7287
7392
|
}),
|
|
7288
7393
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
7289
|
-
.input(
|
|
7290
|
-
.output(
|
|
7394
|
+
.input(types_103.userManagementCapability.methods.disableTotp.input.loose())
|
|
7395
|
+
.output(types_103.userManagementCapability.methods.disableTotp.output)
|
|
7291
7396
|
.mutation(async ({ input, ctx }) => {
|
|
7292
7397
|
const { nodeId, ...methodInput } = input;
|
|
7293
7398
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7295,8 +7400,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7295
7400
|
return p.disableTotp(methodInput);
|
|
7296
7401
|
}),
|
|
7297
7402
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
7298
|
-
.input(
|
|
7299
|
-
.output(
|
|
7403
|
+
.input(types_103.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
7404
|
+
.output(types_103.userManagementCapability.methods.getTotpStatus.output)
|
|
7300
7405
|
.query(async ({ input, ctx }) => {
|
|
7301
7406
|
const { nodeId, ...methodInput } = input;
|
|
7302
7407
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7304,8 +7409,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7304
7409
|
return p.getTotpStatus(methodInput);
|
|
7305
7410
|
}),
|
|
7306
7411
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
7307
|
-
.input(
|
|
7308
|
-
.output(
|
|
7412
|
+
.input(types_103.userManagementCapability.methods.verifyTotp.input.loose())
|
|
7413
|
+
.output(types_103.userManagementCapability.methods.verifyTotp.output)
|
|
7309
7414
|
.mutation(async ({ input, ctx }) => {
|
|
7310
7415
|
const { nodeId, ...methodInput } = input;
|
|
7311
7416
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7313,8 +7418,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7313
7418
|
return p.verifyTotp(methodInput);
|
|
7314
7419
|
}),
|
|
7315
7420
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
7316
|
-
.input(
|
|
7317
|
-
.output(
|
|
7421
|
+
.input(types_103.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
7422
|
+
.output(types_103.userManagementCapability.methods.oauthIssueCode.output)
|
|
7318
7423
|
.mutation(async ({ input, ctx }) => {
|
|
7319
7424
|
const { nodeId, ...methodInput } = input;
|
|
7320
7425
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7322,8 +7427,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7322
7427
|
return p.oauthIssueCode(methodInput);
|
|
7323
7428
|
}),
|
|
7324
7429
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
7325
|
-
.input(
|
|
7326
|
-
.output(
|
|
7430
|
+
.input(types_103.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
7431
|
+
.output(types_103.userManagementCapability.methods.oauthExchangeCode.output)
|
|
7327
7432
|
.mutation(async ({ input, ctx }) => {
|
|
7328
7433
|
const { nodeId, ...methodInput } = input;
|
|
7329
7434
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7331,8 +7436,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7331
7436
|
return p.oauthExchangeCode(methodInput);
|
|
7332
7437
|
}),
|
|
7333
7438
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
7334
|
-
.input(
|
|
7335
|
-
.output(
|
|
7439
|
+
.input(types_103.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
7440
|
+
.output(types_103.userManagementCapability.methods.oauthRefresh.output)
|
|
7336
7441
|
.mutation(async ({ input, ctx }) => {
|
|
7337
7442
|
const { nodeId, ...methodInput } = input;
|
|
7338
7443
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7340,8 +7445,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7340
7445
|
return p.oauthRefresh(methodInput);
|
|
7341
7446
|
}),
|
|
7342
7447
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
7343
|
-
.input(
|
|
7344
|
-
.output(
|
|
7448
|
+
.input(types_103.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
7449
|
+
.output(types_103.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
7345
7450
|
.query(async ({ input, ctx }) => {
|
|
7346
7451
|
const { nodeId, ...methodInput } = input;
|
|
7347
7452
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7350,14 +7455,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7350
7455
|
}),
|
|
7351
7456
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
7352
7457
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
7353
|
-
.output(
|
|
7458
|
+
.output(types_103.userManagementCapability.methods.listOauthSessions.output)
|
|
7354
7459
|
.query(async ({ input, ctx }) => {
|
|
7355
7460
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7356
7461
|
return p.listOauthSessions();
|
|
7357
7462
|
}),
|
|
7358
7463
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
7359
|
-
.input(
|
|
7360
|
-
.output(
|
|
7464
|
+
.input(types_103.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
7465
|
+
.output(types_103.userManagementCapability.methods.revokeOauthSession.output)
|
|
7361
7466
|
.mutation(async ({ input, ctx }) => {
|
|
7362
7467
|
const { nodeId, ...methodInput } = input;
|
|
7363
7468
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7369,8 +7474,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
7369
7474
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
7370
7475
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7371
7476
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
7372
|
-
.input(
|
|
7373
|
-
.output(
|
|
7477
|
+
.input(types_104.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
7478
|
+
.output(types_104.userPasskeysCapability.methods.beginRegistration.output)
|
|
7374
7479
|
.mutation(async ({ input, ctx }) => {
|
|
7375
7480
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7376
7481
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7378,8 +7483,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
7378
7483
|
return p.beginRegistration(methodInput);
|
|
7379
7484
|
}),
|
|
7380
7485
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
7381
|
-
.input(
|
|
7382
|
-
.output(
|
|
7486
|
+
.input(types_104.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
7487
|
+
.output(types_104.userPasskeysCapability.methods.finishRegistration.output)
|
|
7383
7488
|
.mutation(async ({ input, ctx }) => {
|
|
7384
7489
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7385
7490
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7387,8 +7492,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
7387
7492
|
return p.finishRegistration(methodInput);
|
|
7388
7493
|
}),
|
|
7389
7494
|
beginAuthentication: trpc_middleware_js_1.protectedProcedure
|
|
7390
|
-
.input(
|
|
7391
|
-
.output(
|
|
7495
|
+
.input(types_104.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
7496
|
+
.output(types_104.userPasskeysCapability.methods.beginAuthentication.output)
|
|
7392
7497
|
.mutation(async ({ input, ctx }) => {
|
|
7393
7498
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7394
7499
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7396,8 +7501,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
7396
7501
|
return p.beginAuthentication(methodInput);
|
|
7397
7502
|
}),
|
|
7398
7503
|
finishAuthentication: trpc_middleware_js_1.protectedProcedure
|
|
7399
|
-
.input(
|
|
7400
|
-
.output(
|
|
7504
|
+
.input(types_104.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
7505
|
+
.output(types_104.userPasskeysCapability.methods.finishAuthentication.output)
|
|
7401
7506
|
.mutation(async ({ input, ctx }) => {
|
|
7402
7507
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7403
7508
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7405,8 +7510,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
7405
7510
|
return p.finishAuthentication(methodInput);
|
|
7406
7511
|
}),
|
|
7407
7512
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
7408
|
-
.input(
|
|
7409
|
-
.output(
|
|
7513
|
+
.input(types_104.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
7514
|
+
.output(types_104.userPasskeysCapability.methods.listPasskeys.output)
|
|
7410
7515
|
.query(async ({ input, ctx }) => {
|
|
7411
7516
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7412
7517
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7414,8 +7519,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
7414
7519
|
return p.listPasskeys(methodInput);
|
|
7415
7520
|
}),
|
|
7416
7521
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
7417
|
-
.input(
|
|
7418
|
-
.output(
|
|
7522
|
+
.input(types_104.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
7523
|
+
.output(types_104.userPasskeysCapability.methods.removePasskey.output)
|
|
7419
7524
|
.mutation(async ({ input, ctx }) => {
|
|
7420
7525
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7421
7526
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7436,8 +7541,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
7436
7541
|
return p.getStatus(methodInput);
|
|
7437
7542
|
}),
|
|
7438
7543
|
start: trpc_middleware_js_1.adminProcedure
|
|
7439
|
-
.input(
|
|
7440
|
-
.output(
|
|
7544
|
+
.input(types_105.vacuumControlCapability.methods.start.input.loose())
|
|
7545
|
+
.output(types_105.vacuumControlCapability.methods.start.output)
|
|
7441
7546
|
.mutation(async ({ input, ctx }) => {
|
|
7442
7547
|
const { nodeId, ...methodInput } = input;
|
|
7443
7548
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7445,8 +7550,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
7445
7550
|
return p.start(methodInput);
|
|
7446
7551
|
}),
|
|
7447
7552
|
pause: trpc_middleware_js_1.adminProcedure
|
|
7448
|
-
.input(
|
|
7449
|
-
.output(
|
|
7553
|
+
.input(types_105.vacuumControlCapability.methods.pause.input.loose())
|
|
7554
|
+
.output(types_105.vacuumControlCapability.methods.pause.output)
|
|
7450
7555
|
.mutation(async ({ input, ctx }) => {
|
|
7451
7556
|
const { nodeId, ...methodInput } = input;
|
|
7452
7557
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7454,8 +7559,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
7454
7559
|
return p.pause(methodInput);
|
|
7455
7560
|
}),
|
|
7456
7561
|
stop: trpc_middleware_js_1.adminProcedure
|
|
7457
|
-
.input(
|
|
7458
|
-
.output(
|
|
7562
|
+
.input(types_105.vacuumControlCapability.methods.stop.input.loose())
|
|
7563
|
+
.output(types_105.vacuumControlCapability.methods.stop.output)
|
|
7459
7564
|
.mutation(async ({ input, ctx }) => {
|
|
7460
7565
|
const { nodeId, ...methodInput } = input;
|
|
7461
7566
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7463,8 +7568,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
7463
7568
|
return p.stop(methodInput);
|
|
7464
7569
|
}),
|
|
7465
7570
|
returnToBase: trpc_middleware_js_1.adminProcedure
|
|
7466
|
-
.input(
|
|
7467
|
-
.output(
|
|
7571
|
+
.input(types_105.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
7572
|
+
.output(types_105.vacuumControlCapability.methods.returnToBase.output)
|
|
7468
7573
|
.mutation(async ({ input, ctx }) => {
|
|
7469
7574
|
const { nodeId, ...methodInput } = input;
|
|
7470
7575
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7472,8 +7577,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
7472
7577
|
return p.returnToBase(methodInput);
|
|
7473
7578
|
}),
|
|
7474
7579
|
locate: trpc_middleware_js_1.adminProcedure
|
|
7475
|
-
.input(
|
|
7476
|
-
.output(
|
|
7580
|
+
.input(types_105.vacuumControlCapability.methods.locate.input.loose())
|
|
7581
|
+
.output(types_105.vacuumControlCapability.methods.locate.output)
|
|
7477
7582
|
.mutation(async ({ input, ctx }) => {
|
|
7478
7583
|
const { nodeId, ...methodInput } = input;
|
|
7479
7584
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7481,8 +7586,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
7481
7586
|
return p.locate(methodInput);
|
|
7482
7587
|
}),
|
|
7483
7588
|
setFanSpeed: trpc_middleware_js_1.adminProcedure
|
|
7484
|
-
.input(
|
|
7485
|
-
.output(
|
|
7589
|
+
.input(types_105.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
7590
|
+
.output(types_105.vacuumControlCapability.methods.setFanSpeed.output)
|
|
7486
7591
|
.mutation(async ({ input, ctx }) => {
|
|
7487
7592
|
const { nodeId, ...methodInput } = input;
|
|
7488
7593
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7503,8 +7608,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
7503
7608
|
return p.getStatus(methodInput);
|
|
7504
7609
|
}),
|
|
7505
7610
|
open: trpc_middleware_js_1.adminProcedure
|
|
7506
|
-
.input(
|
|
7507
|
-
.output(
|
|
7611
|
+
.input(types_106.valveCapability.methods.open.input.loose())
|
|
7612
|
+
.output(types_106.valveCapability.methods.open.output)
|
|
7508
7613
|
.mutation(async ({ input, ctx }) => {
|
|
7509
7614
|
const { nodeId, ...methodInput } = input;
|
|
7510
7615
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7512,8 +7617,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
7512
7617
|
return p.open(methodInput);
|
|
7513
7618
|
}),
|
|
7514
7619
|
close: trpc_middleware_js_1.adminProcedure
|
|
7515
|
-
.input(
|
|
7516
|
-
.output(
|
|
7620
|
+
.input(types_106.valveCapability.methods.close.input.loose())
|
|
7621
|
+
.output(types_106.valveCapability.methods.close.output)
|
|
7517
7622
|
.mutation(async ({ input, ctx }) => {
|
|
7518
7623
|
const { nodeId, ...methodInput } = input;
|
|
7519
7624
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7521,8 +7626,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
7521
7626
|
return p.close(methodInput);
|
|
7522
7627
|
}),
|
|
7523
7628
|
stop: trpc_middleware_js_1.adminProcedure
|
|
7524
|
-
.input(
|
|
7525
|
-
.output(
|
|
7629
|
+
.input(types_106.valveCapability.methods.stop.input.loose())
|
|
7630
|
+
.output(types_106.valveCapability.methods.stop.output)
|
|
7526
7631
|
.mutation(async ({ input, ctx }) => {
|
|
7527
7632
|
const { nodeId, ...methodInput } = input;
|
|
7528
7633
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7530,8 +7635,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
7530
7635
|
return p.stop(methodInput);
|
|
7531
7636
|
}),
|
|
7532
7637
|
setPosition: trpc_middleware_js_1.adminProcedure
|
|
7533
|
-
.input(
|
|
7534
|
-
.output(
|
|
7638
|
+
.input(types_106.valveCapability.methods.setPosition.input.loose())
|
|
7639
|
+
.output(types_106.valveCapability.methods.setPosition.output)
|
|
7535
7640
|
.mutation(async ({ input, ctx }) => {
|
|
7536
7641
|
const { nodeId, ...methodInput } = input;
|
|
7537
7642
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7556,8 +7661,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
7556
7661
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
7557
7662
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7558
7663
|
listClips: trpc_middleware_js_1.adminProcedure
|
|
7559
|
-
.input(
|
|
7560
|
-
.output(
|
|
7664
|
+
.input(types_107.videoclipsCapability.methods.listClips.input.loose())
|
|
7665
|
+
.output(types_107.videoclipsCapability.methods.listClips.output)
|
|
7561
7666
|
.query(async ({ input, ctx }) => {
|
|
7562
7667
|
const { nodeId, ...methodInput } = input;
|
|
7563
7668
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7565,8 +7670,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
7565
7670
|
return p.listClips(methodInput);
|
|
7566
7671
|
}),
|
|
7567
7672
|
getClipPlayback: trpc_middleware_js_1.adminProcedure
|
|
7568
|
-
.input(
|
|
7569
|
-
.output(
|
|
7673
|
+
.input(types_107.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
7674
|
+
.output(types_107.videoclipsCapability.methods.getClipPlayback.output)
|
|
7570
7675
|
.query(async ({ input, ctx }) => {
|
|
7571
7676
|
const { nodeId, ...methodInput } = input;
|
|
7572
7677
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7587,8 +7692,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
7587
7692
|
return p.getStatus(methodInput);
|
|
7588
7693
|
}),
|
|
7589
7694
|
setTargetTemp: trpc_middleware_js_1.adminProcedure
|
|
7590
|
-
.input(
|
|
7591
|
-
.output(
|
|
7695
|
+
.input(types_108.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
7696
|
+
.output(types_108.waterHeaterCapability.methods.setTargetTemp.output)
|
|
7592
7697
|
.mutation(async ({ input, ctx }) => {
|
|
7593
7698
|
const { nodeId, ...methodInput } = input;
|
|
7594
7699
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7596,8 +7701,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
7596
7701
|
return p.setTargetTemp(methodInput);
|
|
7597
7702
|
}),
|
|
7598
7703
|
setOperationMode: trpc_middleware_js_1.adminProcedure
|
|
7599
|
-
.input(
|
|
7600
|
-
.output(
|
|
7704
|
+
.input(types_108.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
7705
|
+
.output(types_108.waterHeaterCapability.methods.setOperationMode.output)
|
|
7601
7706
|
.mutation(async ({ input, ctx }) => {
|
|
7602
7707
|
const { nodeId, ...methodInput } = input;
|
|
7603
7708
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7605,8 +7710,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
7605
7710
|
return p.setOperationMode(methodInput);
|
|
7606
7711
|
}),
|
|
7607
7712
|
setAway: trpc_middleware_js_1.adminProcedure
|
|
7608
|
-
.input(
|
|
7609
|
-
.output(
|
|
7713
|
+
.input(types_108.waterHeaterCapability.methods.setAway.input.loose())
|
|
7714
|
+
.output(types_108.waterHeaterCapability.methods.setAway.output)
|
|
7610
7715
|
.mutation(async ({ input, ctx }) => {
|
|
7611
7716
|
const { nodeId, ...methodInput } = input;
|
|
7612
7717
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7631,8 +7736,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
7631
7736
|
function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
7632
7737
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7633
7738
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
7634
|
-
.input(
|
|
7635
|
-
.output(
|
|
7739
|
+
.input(types_109.webrtcCapability.methods.handleOffer.input.loose())
|
|
7740
|
+
.output(types_109.webrtcCapability.methods.handleOffer.output)
|
|
7636
7741
|
.mutation(async ({ input, ctx }) => {
|
|
7637
7742
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7638
7743
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7640,8 +7745,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7640
7745
|
return p.handleOffer(methodInput);
|
|
7641
7746
|
}),
|
|
7642
7747
|
supportsStream: trpc_middleware_js_1.protectedProcedure
|
|
7643
|
-
.input(
|
|
7644
|
-
.output(
|
|
7748
|
+
.input(types_109.webrtcCapability.methods.supportsStream.input.loose())
|
|
7749
|
+
.output(types_109.webrtcCapability.methods.supportsStream.output)
|
|
7645
7750
|
.query(async ({ input, ctx }) => {
|
|
7646
7751
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7647
7752
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7649,8 +7754,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7649
7754
|
return p.supportsStream(methodInput);
|
|
7650
7755
|
}),
|
|
7651
7756
|
registerStream: trpc_middleware_js_1.protectedProcedure
|
|
7652
|
-
.input(
|
|
7653
|
-
.output(
|
|
7757
|
+
.input(types_109.webrtcCapability.methods.registerStream.input.loose())
|
|
7758
|
+
.output(types_109.webrtcCapability.methods.registerStream.output)
|
|
7654
7759
|
.mutation(async ({ input, ctx }) => {
|
|
7655
7760
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7656
7761
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7658,8 +7763,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7658
7763
|
return p.registerStream(methodInput);
|
|
7659
7764
|
}),
|
|
7660
7765
|
unregisterStream: trpc_middleware_js_1.protectedProcedure
|
|
7661
|
-
.input(
|
|
7662
|
-
.output(
|
|
7766
|
+
.input(types_109.webrtcCapability.methods.unregisterStream.input.loose())
|
|
7767
|
+
.output(types_109.webrtcCapability.methods.unregisterStream.output)
|
|
7663
7768
|
.mutation(async ({ input, ctx }) => {
|
|
7664
7769
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7665
7770
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7667,8 +7772,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7667
7772
|
return p.unregisterStream(methodInput);
|
|
7668
7773
|
}),
|
|
7669
7774
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
7670
|
-
.input(
|
|
7671
|
-
.output(
|
|
7775
|
+
.input(types_109.webrtcCapability.methods.createSession.input.loose())
|
|
7776
|
+
.output(types_109.webrtcCapability.methods.createSession.output)
|
|
7672
7777
|
.mutation(async ({ input, ctx }) => {
|
|
7673
7778
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7674
7779
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7676,8 +7781,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7676
7781
|
return p.createSession(methodInput);
|
|
7677
7782
|
}),
|
|
7678
7783
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
7679
|
-
.input(
|
|
7680
|
-
.output(
|
|
7784
|
+
.input(types_109.webrtcCapability.methods.handleAnswer.input.loose())
|
|
7785
|
+
.output(types_109.webrtcCapability.methods.handleAnswer.output)
|
|
7681
7786
|
.mutation(async ({ input, ctx }) => {
|
|
7682
7787
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7683
7788
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7685,8 +7790,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7685
7790
|
return p.handleAnswer(methodInput);
|
|
7686
7791
|
}),
|
|
7687
7792
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
7688
|
-
.input(
|
|
7689
|
-
.output(
|
|
7793
|
+
.input(types_109.webrtcCapability.methods.closeSession.input.loose())
|
|
7794
|
+
.output(types_109.webrtcCapability.methods.closeSession.output)
|
|
7690
7795
|
.mutation(async ({ input, ctx }) => {
|
|
7691
7796
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7692
7797
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7694,8 +7799,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7694
7799
|
return p.closeSession(methodInput);
|
|
7695
7800
|
}),
|
|
7696
7801
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
7697
|
-
.input(
|
|
7698
|
-
.output(
|
|
7802
|
+
.input(types_109.webrtcCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
7803
|
+
.output(types_109.webrtcCapability.methods.hasAdaptiveBitrate.output)
|
|
7699
7804
|
.query(async ({ input, ctx }) => {
|
|
7700
7805
|
const { nodeId, addonId, ...methodInput } = input;
|
|
7701
7806
|
const p = resolveProvider('webrtc', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -7707,8 +7812,8 @@ function createCapRouter_webrtc(getProvider, createRemoteProxy) {
|
|
|
7707
7812
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
7708
7813
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7709
7814
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
7710
|
-
.input(
|
|
7711
|
-
.output(
|
|
7815
|
+
.input(types_110.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
7816
|
+
.output(types_110.webrtcSessionCapability.methods.listStreams.output)
|
|
7712
7817
|
.query(async ({ input, ctx }) => {
|
|
7713
7818
|
const { nodeId, ...methodInput } = input;
|
|
7714
7819
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7716,8 +7821,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7716
7821
|
return p.listStreams(methodInput);
|
|
7717
7822
|
}),
|
|
7718
7823
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
7719
|
-
.input(
|
|
7720
|
-
.output(
|
|
7824
|
+
.input(types_110.webrtcSessionCapability.methods.createSession.input.loose())
|
|
7825
|
+
.output(types_110.webrtcSessionCapability.methods.createSession.output)
|
|
7721
7826
|
.mutation(async ({ input, ctx }) => {
|
|
7722
7827
|
const { nodeId, ...methodInput } = input;
|
|
7723
7828
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7725,8 +7830,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7725
7830
|
return p.createSession(methodInput);
|
|
7726
7831
|
}),
|
|
7727
7832
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
7728
|
-
.input(
|
|
7729
|
-
.output(
|
|
7833
|
+
.input(types_110.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
7834
|
+
.output(types_110.webrtcSessionCapability.methods.handleOffer.output)
|
|
7730
7835
|
.mutation(async ({ input, ctx }) => {
|
|
7731
7836
|
const { nodeId, ...methodInput } = input;
|
|
7732
7837
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7734,8 +7839,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7734
7839
|
return p.handleOffer(methodInput);
|
|
7735
7840
|
}),
|
|
7736
7841
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
7737
|
-
.input(
|
|
7738
|
-
.output(
|
|
7842
|
+
.input(types_110.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
7843
|
+
.output(types_110.webrtcSessionCapability.methods.handleAnswer.output)
|
|
7739
7844
|
.mutation(async ({ input, ctx }) => {
|
|
7740
7845
|
const { nodeId, ...methodInput } = input;
|
|
7741
7846
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7743,8 +7848,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7743
7848
|
return p.handleAnswer(methodInput);
|
|
7744
7849
|
}),
|
|
7745
7850
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
7746
|
-
.input(
|
|
7747
|
-
.output(
|
|
7851
|
+
.input(types_110.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
7852
|
+
.output(types_110.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
7748
7853
|
.mutation(async ({ input, ctx }) => {
|
|
7749
7854
|
const { nodeId, ...methodInput } = input;
|
|
7750
7855
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7752,8 +7857,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7752
7857
|
return p.addIceCandidate(methodInput);
|
|
7753
7858
|
}),
|
|
7754
7859
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
7755
|
-
.input(
|
|
7756
|
-
.output(
|
|
7860
|
+
.input(types_110.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
7861
|
+
.output(types_110.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
7757
7862
|
.query(async ({ input, ctx }) => {
|
|
7758
7863
|
const { nodeId, ...methodInput } = input;
|
|
7759
7864
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7761,8 +7866,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7761
7866
|
return p.getIceCandidates(methodInput);
|
|
7762
7867
|
}),
|
|
7763
7868
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
7764
|
-
.input(
|
|
7765
|
-
.output(
|
|
7869
|
+
.input(types_110.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
7870
|
+
.output(types_110.webrtcSessionCapability.methods.closeSession.output)
|
|
7766
7871
|
.mutation(async ({ input, ctx }) => {
|
|
7767
7872
|
const { nodeId, ...methodInput } = input;
|
|
7768
7873
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7770,8 +7875,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7770
7875
|
return p.closeSession(methodInput);
|
|
7771
7876
|
}),
|
|
7772
7877
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
7773
|
-
.input(
|
|
7774
|
-
.output(
|
|
7878
|
+
.input(types_110.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
7879
|
+
.output(types_110.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
7775
7880
|
.query(async ({ input, ctx }) => {
|
|
7776
7881
|
const { nodeId, ...methodInput } = input;
|
|
7777
7882
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7779,8 +7884,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7779
7884
|
return p.hasAdaptiveBitrate(methodInput);
|
|
7780
7885
|
}),
|
|
7781
7886
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
7782
|
-
.input(
|
|
7783
|
-
.output(
|
|
7887
|
+
.input(types_110.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
7888
|
+
.output(types_110.webrtcSessionCapability.methods.getSessionState.output)
|
|
7784
7889
|
.query(async ({ input, ctx }) => {
|
|
7785
7890
|
const { nodeId, ...methodInput } = input;
|
|
7786
7891
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7792,8 +7897,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
7792
7897
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
7793
7898
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7794
7899
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
7795
|
-
.input(
|
|
7796
|
-
.output(
|
|
7900
|
+
.input(types_111.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
7901
|
+
.output(types_111.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
7797
7902
|
.query(async ({ input, ctx }) => {
|
|
7798
7903
|
const { nodeId, ...methodInput } = input;
|
|
7799
7904
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7801,8 +7906,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
7801
7906
|
return p.getCurrentSnapshot(methodInput);
|
|
7802
7907
|
}),
|
|
7803
7908
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
7804
|
-
.input(
|
|
7805
|
-
.output(
|
|
7909
|
+
.input(types_111.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
7910
|
+
.output(types_111.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
7806
7911
|
.query(async ({ input, ctx }) => {
|
|
7807
7912
|
const { nodeId, ...methodInput } = input;
|
|
7808
7913
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7810,8 +7915,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
7810
7915
|
return p.getZoneHistory(methodInput);
|
|
7811
7916
|
}),
|
|
7812
7917
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
7813
|
-
.input(
|
|
7814
|
-
.output(
|
|
7918
|
+
.input(types_111.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
7919
|
+
.output(types_111.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
7815
7920
|
.query(async ({ input, ctx }) => {
|
|
7816
7921
|
const { nodeId, ...methodInput } = input;
|
|
7817
7922
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7819,8 +7924,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
7819
7924
|
return p.getCameraHistory(methodInput);
|
|
7820
7925
|
}),
|
|
7821
7926
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
7822
|
-
.input(
|
|
7823
|
-
.output(
|
|
7927
|
+
.input(types_111.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
7928
|
+
.output(types_111.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
7824
7929
|
.query(async ({ input, ctx }) => {
|
|
7825
7930
|
const { nodeId, ...methodInput } = input;
|
|
7826
7931
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7832,8 +7937,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
7832
7937
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
7833
7938
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7834
7939
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
7835
|
-
.input(
|
|
7836
|
-
.output(
|
|
7940
|
+
.input(types_112.zoneRulesCapability.methods.listRules.input.loose())
|
|
7941
|
+
.output(types_112.zoneRulesCapability.methods.listRules.output)
|
|
7837
7942
|
.query(async ({ input, ctx }) => {
|
|
7838
7943
|
const { nodeId, ...methodInput } = input;
|
|
7839
7944
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7841,8 +7946,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
7841
7946
|
return p.listRules(methodInput);
|
|
7842
7947
|
}),
|
|
7843
7948
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
7844
|
-
.input(
|
|
7845
|
-
.output(
|
|
7949
|
+
.input(types_112.zoneRulesCapability.methods.setRules.input.loose())
|
|
7950
|
+
.output(types_112.zoneRulesCapability.methods.setRules.output)
|
|
7846
7951
|
.mutation(async ({ input, ctx }) => {
|
|
7847
7952
|
const { nodeId, ...methodInput } = input;
|
|
7848
7953
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7854,8 +7959,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
7854
7959
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
7855
7960
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
7856
7961
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
7857
|
-
.input(
|
|
7858
|
-
.output(
|
|
7962
|
+
.input(types_113.zonesCapability.methods.listZones.input.loose())
|
|
7963
|
+
.output(types_113.zonesCapability.methods.listZones.output)
|
|
7859
7964
|
.query(async ({ input, ctx }) => {
|
|
7860
7965
|
const { nodeId, ...methodInput } = input;
|
|
7861
7966
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7863,8 +7968,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
7863
7968
|
return p.listZones(methodInput);
|
|
7864
7969
|
}),
|
|
7865
7970
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
7866
|
-
.input(
|
|
7867
|
-
.output(
|
|
7971
|
+
.input(types_113.zonesCapability.methods.addZone.input.loose())
|
|
7972
|
+
.output(types_113.zonesCapability.methods.addZone.output)
|
|
7868
7973
|
.mutation(async ({ input, ctx }) => {
|
|
7869
7974
|
const { nodeId, ...methodInput } = input;
|
|
7870
7975
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7872,8 +7977,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
7872
7977
|
return p.addZone(methodInput);
|
|
7873
7978
|
}),
|
|
7874
7979
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
7875
|
-
.input(
|
|
7876
|
-
.output(
|
|
7980
|
+
.input(types_113.zonesCapability.methods.removeZone.input.loose())
|
|
7981
|
+
.output(types_113.zonesCapability.methods.removeZone.output)
|
|
7877
7982
|
.mutation(async ({ input, ctx }) => {
|
|
7878
7983
|
const { nodeId, ...methodInput } = input;
|
|
7879
7984
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -7881,8 +7986,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
7881
7986
|
return p.removeZone(methodInput);
|
|
7882
7987
|
}),
|
|
7883
7988
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
7884
|
-
.input(
|
|
7885
|
-
.output(
|
|
7989
|
+
.input(types_113.zonesCapability.methods.updateZone.input.loose())
|
|
7990
|
+
.output(types_113.zonesCapability.methods.updateZone.output)
|
|
7886
7991
|
.mutation(async ({ input, ctx }) => {
|
|
7887
7992
|
const { nodeId, ...methodInput } = input;
|
|
7888
7993
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|