@moovio/sdk 0.19.2 → 0.20.0
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/README.md +70 -46
- package/bin/mcp-server.js +1308 -710
- package/bin/mcp-server.js.map +18 -8
- package/docs/sdks/feeplans/README.md +276 -0
- package/examples/package-lock.json +1 -1
- package/funcs/feePlansGetResidual.d.ts +17 -0
- package/funcs/feePlansGetResidual.d.ts.map +1 -0
- package/funcs/feePlansGetResidual.js +129 -0
- package/funcs/feePlansGetResidual.js.map +1 -0
- package/funcs/feePlansListResidualFees.d.ts +17 -0
- package/funcs/feePlansListResidualFees.d.ts.map +1 -0
- package/funcs/feePlansListResidualFees.js +136 -0
- package/funcs/feePlansListResidualFees.js.map +1 -0
- package/funcs/feePlansListResiduals.d.ts +17 -0
- package/funcs/feePlansListResiduals.d.ts.map +1 -0
- package/funcs/feePlansListResiduals.js +132 -0
- package/funcs/feePlansListResiduals.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +7 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/feePlansGetResidual.d.ts +8 -0
- package/mcp-server/tools/feePlansGetResidual.d.ts.map +1 -0
- package/mcp-server/tools/feePlansGetResidual.js +65 -0
- package/mcp-server/tools/feePlansGetResidual.js.map +1 -0
- package/mcp-server/tools/feePlansListResidualFees.d.ts +8 -0
- package/mcp-server/tools/feePlansListResidualFees.d.ts.map +1 -0
- package/mcp-server/tools/feePlansListResidualFees.js +65 -0
- package/mcp-server/tools/feePlansListResidualFees.js.map +1 -0
- package/mcp-server/tools/feePlansListResiduals.d.ts +8 -0
- package/mcp-server/tools/feePlansListResiduals.d.ts.map +1 -0
- package/mcp-server/tools/feePlansListResiduals.js +65 -0
- package/mcp-server/tools/feePlansListResiduals.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/residual.d.ts +59 -0
- package/models/components/residual.d.ts.map +1 -0
- package/models/components/residual.js +92 -0
- package/models/components/residual.js.map +1 -0
- package/models/operations/getresidual.d.ts +101 -0
- package/models/operations/getresidual.d.ts.map +1 -0
- package/models/operations/getresidual.js +147 -0
- package/models/operations/getresidual.js.map +1 -0
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +115 -0
- package/models/operations/listresidualfees.d.ts.map +1 -0
- package/models/operations/listresidualfees.js +155 -0
- package/models/operations/listresidualfees.js.map +1 -0
- package/models/operations/listresiduals.d.ts +113 -0
- package/models/operations/listresiduals.d.ts.map +1 -0
- package/models/operations/listresiduals.js +153 -0
- package/models/operations/listresiduals.js.map +1 -0
- package/package.json +1 -1
- package/sdk/feeplans.d.ts +21 -0
- package/sdk/feeplans.d.ts.map +1 -1
- package/sdk/feeplans.js +30 -0
- package/sdk/feeplans.js.map +1 -1
- package/src/funcs/feePlansGetResidual.ts +185 -0
- package/src/funcs/feePlansListResidualFees.ts +193 -0
- package/src/funcs/feePlansListResiduals.ts +187 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/feePlansGetResidual.ts +38 -0
- package/src/mcp-server/tools/feePlansListResidualFees.ts +38 -0
- package/src/mcp-server/tools/feePlansListResiduals.ts +38 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/residual.ts +121 -0
- package/src/models/operations/getresidual.ts +223 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listresidualfees.ts +245 -0
- package/src/models/operations/listresiduals.ts +241 -0
- package/src/sdk/feeplans.ts +54 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
|
|
|
34175
34175
|
SDK_METADATA = {
|
|
34176
34176
|
language: "typescript",
|
|
34177
34177
|
openapiDocVersion: "latest",
|
|
34178
|
-
sdkVersion: "0.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34178
|
+
sdkVersion: "0.20.0",
|
|
34179
|
+
genVersion: "2.735.1",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.20.0 2.735.1 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -47729,6 +47729,45 @@ var init_requestcard = __esm(() => {
|
|
|
47729
47729
|
})(RequestCard$ ||= {});
|
|
47730
47730
|
});
|
|
47731
47731
|
|
|
47732
|
+
// src/models/components/residual.ts
|
|
47733
|
+
var Residual$inboundSchema, Residual$outboundSchema, Residual$;
|
|
47734
|
+
var init_residual = __esm(() => {
|
|
47735
|
+
init_esm();
|
|
47736
|
+
init_amountdecimal();
|
|
47737
|
+
Residual$inboundSchema = objectType({
|
|
47738
|
+
residualID: stringType(),
|
|
47739
|
+
partnerAccountID: stringType(),
|
|
47740
|
+
periodStart: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47741
|
+
periodEnd: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47742
|
+
merchantFees: AmountDecimal$inboundSchema,
|
|
47743
|
+
partnerCost: AmountDecimal$inboundSchema,
|
|
47744
|
+
netIncome: AmountDecimal$inboundSchema,
|
|
47745
|
+
revenueShare: stringType(),
|
|
47746
|
+
residualAmount: AmountDecimal$inboundSchema,
|
|
47747
|
+
moovShare: AmountDecimal$inboundSchema,
|
|
47748
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47749
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
47750
|
+
});
|
|
47751
|
+
Residual$outboundSchema = objectType({
|
|
47752
|
+
residualID: stringType(),
|
|
47753
|
+
partnerAccountID: stringType(),
|
|
47754
|
+
periodStart: dateType().transform((v2) => v2.toISOString()),
|
|
47755
|
+
periodEnd: dateType().transform((v2) => v2.toISOString()),
|
|
47756
|
+
merchantFees: AmountDecimal$outboundSchema,
|
|
47757
|
+
partnerCost: AmountDecimal$outboundSchema,
|
|
47758
|
+
netIncome: AmountDecimal$outboundSchema,
|
|
47759
|
+
revenueShare: stringType(),
|
|
47760
|
+
residualAmount: AmountDecimal$outboundSchema,
|
|
47761
|
+
moovShare: AmountDecimal$outboundSchema,
|
|
47762
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
47763
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
47764
|
+
});
|
|
47765
|
+
((Residual$) => {
|
|
47766
|
+
Residual$.inboundSchema = Residual$inboundSchema;
|
|
47767
|
+
Residual$.outboundSchema = Residual$outboundSchema;
|
|
47768
|
+
})(Residual$ ||= {});
|
|
47769
|
+
});
|
|
47770
|
+
|
|
47732
47771
|
// src/models/components/reversedwithcancellation.ts
|
|
47733
47772
|
var ReversedWithCancellation$inboundSchema, ReversedWithCancellation$outboundSchema, ReversedWithCancellation$;
|
|
47734
47773
|
var init_reversedwithcancellation = __esm(() => {
|
|
@@ -50783,6 +50822,7 @@ var init_components = __esm(() => {
|
|
|
50783
50822
|
init_requirementerror();
|
|
50784
50823
|
init_requirementerrorcode();
|
|
50785
50824
|
init_requirementid();
|
|
50825
|
+
init_residual();
|
|
50786
50826
|
init_returnpolicytype();
|
|
50787
50827
|
init_reversal();
|
|
50788
50828
|
init_reversedwithcancellation();
|
|
@@ -57702,6 +57742,66 @@ var init_getrepresentative = __esm(() => {
|
|
|
57702
57742
|
})(GetRepresentativeResponse$ ||= {});
|
|
57703
57743
|
});
|
|
57704
57744
|
|
|
57745
|
+
// src/models/operations/getresidual.ts
|
|
57746
|
+
var GetResidualGlobals$inboundSchema, GetResidualGlobals$outboundSchema, GetResidualGlobals$, GetResidualRequest$inboundSchema, GetResidualRequest$outboundSchema, GetResidualRequest$, GetResidualResponse$inboundSchema, GetResidualResponse$outboundSchema, GetResidualResponse$;
|
|
57747
|
+
var init_getresidual = __esm(() => {
|
|
57748
|
+
init_esm();
|
|
57749
|
+
init_primitives();
|
|
57750
|
+
init_components();
|
|
57751
|
+
GetResidualGlobals$inboundSchema = objectType({
|
|
57752
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
57753
|
+
}).transform((v2) => {
|
|
57754
|
+
return remap(v2, {
|
|
57755
|
+
"X-Moov-Version": "xMoovVersion"
|
|
57756
|
+
});
|
|
57757
|
+
});
|
|
57758
|
+
GetResidualGlobals$outboundSchema = objectType({
|
|
57759
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
57760
|
+
}).transform((v2) => {
|
|
57761
|
+
return remap(v2, {
|
|
57762
|
+
xMoovVersion: "X-Moov-Version"
|
|
57763
|
+
});
|
|
57764
|
+
});
|
|
57765
|
+
((GetResidualGlobals$) => {
|
|
57766
|
+
GetResidualGlobals$.inboundSchema = GetResidualGlobals$inboundSchema;
|
|
57767
|
+
GetResidualGlobals$.outboundSchema = GetResidualGlobals$outboundSchema;
|
|
57768
|
+
})(GetResidualGlobals$ ||= {});
|
|
57769
|
+
GetResidualRequest$inboundSchema = objectType({
|
|
57770
|
+
accountID: stringType(),
|
|
57771
|
+
residualID: stringType()
|
|
57772
|
+
});
|
|
57773
|
+
GetResidualRequest$outboundSchema = objectType({
|
|
57774
|
+
accountID: stringType(),
|
|
57775
|
+
residualID: stringType()
|
|
57776
|
+
});
|
|
57777
|
+
((GetResidualRequest$) => {
|
|
57778
|
+
GetResidualRequest$.inboundSchema = GetResidualRequest$inboundSchema;
|
|
57779
|
+
GetResidualRequest$.outboundSchema = GetResidualRequest$outboundSchema;
|
|
57780
|
+
})(GetResidualRequest$ ||= {});
|
|
57781
|
+
GetResidualResponse$inboundSchema = objectType({
|
|
57782
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
57783
|
+
Result: Residual$inboundSchema
|
|
57784
|
+
}).transform((v2) => {
|
|
57785
|
+
return remap(v2, {
|
|
57786
|
+
Headers: "headers",
|
|
57787
|
+
Result: "result"
|
|
57788
|
+
});
|
|
57789
|
+
});
|
|
57790
|
+
GetResidualResponse$outboundSchema = objectType({
|
|
57791
|
+
headers: recordType(arrayType(stringType())),
|
|
57792
|
+
result: Residual$outboundSchema
|
|
57793
|
+
}).transform((v2) => {
|
|
57794
|
+
return remap(v2, {
|
|
57795
|
+
headers: "Headers",
|
|
57796
|
+
result: "Result"
|
|
57797
|
+
});
|
|
57798
|
+
});
|
|
57799
|
+
((GetResidualResponse$) => {
|
|
57800
|
+
GetResidualResponse$.inboundSchema = GetResidualResponse$inboundSchema;
|
|
57801
|
+
GetResidualResponse$.outboundSchema = GetResidualResponse$outboundSchema;
|
|
57802
|
+
})(GetResidualResponse$ ||= {});
|
|
57803
|
+
});
|
|
57804
|
+
|
|
57705
57805
|
// src/models/operations/getscheduledoccurrence.ts
|
|
57706
57806
|
var GetScheduledOccurrenceGlobals$inboundSchema, GetScheduledOccurrenceGlobals$outboundSchema, GetScheduledOccurrenceGlobals$, GetScheduledOccurrenceRequest$inboundSchema, GetScheduledOccurrenceRequest$outboundSchema, GetScheduledOccurrenceRequest$, GetScheduledOccurrenceResponse$inboundSchema, GetScheduledOccurrenceResponse$outboundSchema, GetScheduledOccurrenceResponse$;
|
|
57707
57807
|
var init_getscheduledoccurrence = __esm(() => {
|
|
@@ -60747,6 +60847,140 @@ var init_listrepresentatives = __esm(() => {
|
|
|
60747
60847
|
})(ListRepresentativesResponse$ ||= {});
|
|
60748
60848
|
});
|
|
60749
60849
|
|
|
60850
|
+
// src/models/operations/listresidualfees.ts
|
|
60851
|
+
var ListResidualFeesGlobals$inboundSchema, ListResidualFeesGlobals$outboundSchema, ListResidualFeesGlobals$, ListResidualFeesRequest$inboundSchema, ListResidualFeesRequest$outboundSchema, ListResidualFeesRequest$, ListResidualFeesResponse$inboundSchema, ListResidualFeesResponse$outboundSchema, ListResidualFeesResponse$;
|
|
60852
|
+
var init_listresidualfees = __esm(() => {
|
|
60853
|
+
init_esm();
|
|
60854
|
+
init_primitives();
|
|
60855
|
+
init_components();
|
|
60856
|
+
ListResidualFeesGlobals$inboundSchema = objectType({
|
|
60857
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
60858
|
+
}).transform((v2) => {
|
|
60859
|
+
return remap(v2, {
|
|
60860
|
+
"X-Moov-Version": "xMoovVersion"
|
|
60861
|
+
});
|
|
60862
|
+
});
|
|
60863
|
+
ListResidualFeesGlobals$outboundSchema = objectType({
|
|
60864
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
60865
|
+
}).transform((v2) => {
|
|
60866
|
+
return remap(v2, {
|
|
60867
|
+
xMoovVersion: "X-Moov-Version"
|
|
60868
|
+
});
|
|
60869
|
+
});
|
|
60870
|
+
((ListResidualFeesGlobals$) => {
|
|
60871
|
+
ListResidualFeesGlobals$.inboundSchema = ListResidualFeesGlobals$inboundSchema;
|
|
60872
|
+
ListResidualFeesGlobals$.outboundSchema = ListResidualFeesGlobals$outboundSchema;
|
|
60873
|
+
})(ListResidualFeesGlobals$ ||= {});
|
|
60874
|
+
ListResidualFeesRequest$inboundSchema = objectType({
|
|
60875
|
+
skip: numberType().int().optional(),
|
|
60876
|
+
count: numberType().int().optional(),
|
|
60877
|
+
accountID: stringType(),
|
|
60878
|
+
residualID: stringType(),
|
|
60879
|
+
startDateTime: stringType().optional(),
|
|
60880
|
+
endDateTime: stringType().optional()
|
|
60881
|
+
});
|
|
60882
|
+
ListResidualFeesRequest$outboundSchema = objectType({
|
|
60883
|
+
skip: numberType().int().optional(),
|
|
60884
|
+
count: numberType().int().optional(),
|
|
60885
|
+
accountID: stringType(),
|
|
60886
|
+
residualID: stringType(),
|
|
60887
|
+
startDateTime: stringType().optional(),
|
|
60888
|
+
endDateTime: stringType().optional()
|
|
60889
|
+
});
|
|
60890
|
+
((ListResidualFeesRequest$) => {
|
|
60891
|
+
ListResidualFeesRequest$.inboundSchema = ListResidualFeesRequest$inboundSchema;
|
|
60892
|
+
ListResidualFeesRequest$.outboundSchema = ListResidualFeesRequest$outboundSchema;
|
|
60893
|
+
})(ListResidualFeesRequest$ ||= {});
|
|
60894
|
+
ListResidualFeesResponse$inboundSchema = objectType({
|
|
60895
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
60896
|
+
Result: arrayType(IncurredFee$inboundSchema)
|
|
60897
|
+
}).transform((v2) => {
|
|
60898
|
+
return remap(v2, {
|
|
60899
|
+
Headers: "headers",
|
|
60900
|
+
Result: "result"
|
|
60901
|
+
});
|
|
60902
|
+
});
|
|
60903
|
+
ListResidualFeesResponse$outboundSchema = objectType({
|
|
60904
|
+
headers: recordType(arrayType(stringType())),
|
|
60905
|
+
result: arrayType(IncurredFee$outboundSchema)
|
|
60906
|
+
}).transform((v2) => {
|
|
60907
|
+
return remap(v2, {
|
|
60908
|
+
headers: "Headers",
|
|
60909
|
+
result: "Result"
|
|
60910
|
+
});
|
|
60911
|
+
});
|
|
60912
|
+
((ListResidualFeesResponse$) => {
|
|
60913
|
+
ListResidualFeesResponse$.inboundSchema = ListResidualFeesResponse$inboundSchema;
|
|
60914
|
+
ListResidualFeesResponse$.outboundSchema = ListResidualFeesResponse$outboundSchema;
|
|
60915
|
+
})(ListResidualFeesResponse$ ||= {});
|
|
60916
|
+
});
|
|
60917
|
+
|
|
60918
|
+
// src/models/operations/listresiduals.ts
|
|
60919
|
+
var ListResidualsGlobals$inboundSchema, ListResidualsGlobals$outboundSchema, ListResidualsGlobals$, ListResidualsRequest$inboundSchema, ListResidualsRequest$outboundSchema, ListResidualsRequest$, ListResidualsResponse$inboundSchema, ListResidualsResponse$outboundSchema, ListResidualsResponse$;
|
|
60920
|
+
var init_listresiduals = __esm(() => {
|
|
60921
|
+
init_esm();
|
|
60922
|
+
init_primitives();
|
|
60923
|
+
init_components();
|
|
60924
|
+
ListResidualsGlobals$inboundSchema = objectType({
|
|
60925
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
60926
|
+
}).transform((v2) => {
|
|
60927
|
+
return remap(v2, {
|
|
60928
|
+
"X-Moov-Version": "xMoovVersion"
|
|
60929
|
+
});
|
|
60930
|
+
});
|
|
60931
|
+
ListResidualsGlobals$outboundSchema = objectType({
|
|
60932
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
60933
|
+
}).transform((v2) => {
|
|
60934
|
+
return remap(v2, {
|
|
60935
|
+
xMoovVersion: "X-Moov-Version"
|
|
60936
|
+
});
|
|
60937
|
+
});
|
|
60938
|
+
((ListResidualsGlobals$) => {
|
|
60939
|
+
ListResidualsGlobals$.inboundSchema = ListResidualsGlobals$inboundSchema;
|
|
60940
|
+
ListResidualsGlobals$.outboundSchema = ListResidualsGlobals$outboundSchema;
|
|
60941
|
+
})(ListResidualsGlobals$ ||= {});
|
|
60942
|
+
ListResidualsRequest$inboundSchema = objectType({
|
|
60943
|
+
skip: numberType().int().optional(),
|
|
60944
|
+
count: numberType().int().optional(),
|
|
60945
|
+
accountID: stringType(),
|
|
60946
|
+
startDateTime: stringType().optional(),
|
|
60947
|
+
endDateTime: stringType().optional()
|
|
60948
|
+
});
|
|
60949
|
+
ListResidualsRequest$outboundSchema = objectType({
|
|
60950
|
+
skip: numberType().int().optional(),
|
|
60951
|
+
count: numberType().int().optional(),
|
|
60952
|
+
accountID: stringType(),
|
|
60953
|
+
startDateTime: stringType().optional(),
|
|
60954
|
+
endDateTime: stringType().optional()
|
|
60955
|
+
});
|
|
60956
|
+
((ListResidualsRequest$) => {
|
|
60957
|
+
ListResidualsRequest$.inboundSchema = ListResidualsRequest$inboundSchema;
|
|
60958
|
+
ListResidualsRequest$.outboundSchema = ListResidualsRequest$outboundSchema;
|
|
60959
|
+
})(ListResidualsRequest$ ||= {});
|
|
60960
|
+
ListResidualsResponse$inboundSchema = objectType({
|
|
60961
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
60962
|
+
Result: arrayType(Residual$inboundSchema)
|
|
60963
|
+
}).transform((v2) => {
|
|
60964
|
+
return remap(v2, {
|
|
60965
|
+
Headers: "headers",
|
|
60966
|
+
Result: "result"
|
|
60967
|
+
});
|
|
60968
|
+
});
|
|
60969
|
+
ListResidualsResponse$outboundSchema = objectType({
|
|
60970
|
+
headers: recordType(arrayType(stringType())),
|
|
60971
|
+
result: arrayType(Residual$outboundSchema)
|
|
60972
|
+
}).transform((v2) => {
|
|
60973
|
+
return remap(v2, {
|
|
60974
|
+
headers: "Headers",
|
|
60975
|
+
result: "Result"
|
|
60976
|
+
});
|
|
60977
|
+
});
|
|
60978
|
+
((ListResidualsResponse$) => {
|
|
60979
|
+
ListResidualsResponse$.inboundSchema = ListResidualsResponse$inboundSchema;
|
|
60980
|
+
ListResidualsResponse$.outboundSchema = ListResidualsResponse$outboundSchema;
|
|
60981
|
+
})(ListResidualsResponse$ ||= {});
|
|
60982
|
+
});
|
|
60983
|
+
|
|
60750
60984
|
// src/models/operations/listschedules.ts
|
|
60751
60985
|
var Hydrate, ListSchedulesGlobals$inboundSchema, ListSchedulesGlobals$outboundSchema, ListSchedulesGlobals$, Hydrate$inboundSchema, Hydrate$outboundSchema, Hydrate$, ListSchedulesRequest$inboundSchema, ListSchedulesRequest$outboundSchema, ListSchedulesRequest$, ListSchedulesResponse$inboundSchema, ListSchedulesResponse$outboundSchema, ListSchedulesResponse$;
|
|
60752
60986
|
var init_listschedules = __esm(() => {
|
|
@@ -63678,6 +63912,7 @@ var init_operations = __esm(() => {
|
|
|
63678
63912
|
init_getpublicimage();
|
|
63679
63913
|
init_getrefund();
|
|
63680
63914
|
init_getrepresentative();
|
|
63915
|
+
init_getresidual();
|
|
63681
63916
|
init_getscheduledoccurrence();
|
|
63682
63917
|
init_getschedules();
|
|
63683
63918
|
init_getstatement();
|
|
@@ -63726,6 +63961,8 @@ var init_operations = __esm(() => {
|
|
|
63726
63961
|
init_listreceipts();
|
|
63727
63962
|
init_listrefunds();
|
|
63728
63963
|
init_listrepresentatives();
|
|
63964
|
+
init_listresidualfees();
|
|
63965
|
+
init_listresiduals();
|
|
63729
63966
|
init_listschedules();
|
|
63730
63967
|
init_liststatements();
|
|
63731
63968
|
init_listsweepconfigs();
|
|
@@ -71893,12 +72130,12 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
71893
72130
|
};
|
|
71894
72131
|
});
|
|
71895
72132
|
|
|
71896
|
-
// src/funcs/
|
|
71897
|
-
function
|
|
72133
|
+
// src/funcs/feePlansGetResidual.ts
|
|
72134
|
+
function feePlansGetResidual(client, request, options) {
|
|
71898
72135
|
return new APIPromise($do67(client, request, options));
|
|
71899
72136
|
}
|
|
71900
72137
|
async function $do67(client, request, options) {
|
|
71901
|
-
const parsed = safeParse(request, (value) =>
|
|
72138
|
+
const parsed = safeParse(request, (value) => GetResidualRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71902
72139
|
if (!parsed.ok) {
|
|
71903
72140
|
return [parsed, { status: "invalid" }];
|
|
71904
72141
|
}
|
|
@@ -71908,15 +72145,13 @@ async function $do67(client, request, options) {
|
|
|
71908
72145
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71909
72146
|
explode: false,
|
|
71910
72147
|
charEncoding: "percent"
|
|
72148
|
+
}),
|
|
72149
|
+
residualID: encodeSimple("residualID", payload.residualID, {
|
|
72150
|
+
explode: false,
|
|
72151
|
+
charEncoding: "percent"
|
|
71911
72152
|
})
|
|
71912
72153
|
};
|
|
71913
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
71914
|
-
const query = encodeFormQuery({
|
|
71915
|
-
agreementID: payload.agreementID,
|
|
71916
|
-
count: payload.count,
|
|
71917
|
-
skip: payload.skip,
|
|
71918
|
-
status: payload.status
|
|
71919
|
-
}, { explode: false });
|
|
72154
|
+
const path = pathToFunc("/accounts/{accountID}/residuals/{residualID}")(pathParams);
|
|
71920
72155
|
const headers = new Headers(compactMap({
|
|
71921
72156
|
Accept: "application/json",
|
|
71922
72157
|
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -71926,7 +72161,7 @@ async function $do67(client, request, options) {
|
|
|
71926
72161
|
const context = {
|
|
71927
72162
|
options: client._options,
|
|
71928
72163
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71929
|
-
operationID: "
|
|
72164
|
+
operationID: "getResidual",
|
|
71930
72165
|
oAuth2Scopes: null,
|
|
71931
72166
|
resolvedSecurity: requestSecurity,
|
|
71932
72167
|
securitySource: client._options.security,
|
|
@@ -71939,7 +72174,6 @@ async function $do67(client, request, options) {
|
|
|
71939
72174
|
baseURL: options?.serverURL,
|
|
71940
72175
|
path,
|
|
71941
72176
|
headers,
|
|
71942
|
-
query,
|
|
71943
72177
|
body,
|
|
71944
72178
|
userAgent: client._options.userAgent,
|
|
71945
72179
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -71950,7 +72184,7 @@ async function $do67(client, request, options) {
|
|
|
71950
72184
|
const req = requestRes.value;
|
|
71951
72185
|
const doResult = await client._do(req, {
|
|
71952
72186
|
context,
|
|
71953
|
-
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
72187
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
71954
72188
|
retryConfig: context.retryConfig,
|
|
71955
72189
|
retryCodes: context.retryCodes
|
|
71956
72190
|
});
|
|
@@ -71961,16 +72195,16 @@ async function $do67(client, request, options) {
|
|
|
71961
72195
|
const responseFields = {
|
|
71962
72196
|
HttpMeta: { Response: response, Request: req }
|
|
71963
72197
|
};
|
|
71964
|
-
const [result] = await match(json(200,
|
|
72198
|
+
const [result] = await match(json(200, GetResidualResponse$inboundSchema, {
|
|
71965
72199
|
hdrs: true,
|
|
71966
72200
|
key: "Result"
|
|
71967
|
-
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72201
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71968
72202
|
if (!result.ok) {
|
|
71969
72203
|
return [result, { status: "complete", request: req, response }];
|
|
71970
72204
|
}
|
|
71971
72205
|
return [result, { status: "complete", request: req, response }];
|
|
71972
72206
|
}
|
|
71973
|
-
var
|
|
72207
|
+
var init_feePlansGetResidual = __esm(() => {
|
|
71974
72208
|
init_encodings();
|
|
71975
72209
|
init_matchers();
|
|
71976
72210
|
init_primitives();
|
|
@@ -71981,24 +72215,24 @@ var init_feePlansListFeePlanAgreements = __esm(() => {
|
|
|
71981
72215
|
init_async();
|
|
71982
72216
|
});
|
|
71983
72217
|
|
|
71984
|
-
// src/mcp-server/tools/
|
|
71985
|
-
var args67, tool$
|
|
71986
|
-
var
|
|
71987
|
-
|
|
72218
|
+
// src/mcp-server/tools/feePlansGetResidual.ts
|
|
72219
|
+
var args67, tool$feePlansGetResidual;
|
|
72220
|
+
var init_feePlansGetResidual2 = __esm(() => {
|
|
72221
|
+
init_feePlansGetResidual();
|
|
71988
72222
|
init_operations();
|
|
71989
72223
|
init_tools();
|
|
71990
72224
|
args67 = {
|
|
71991
|
-
request:
|
|
72225
|
+
request: GetResidualRequest$inboundSchema
|
|
71992
72226
|
};
|
|
71993
|
-
tool$
|
|
71994
|
-
name: "fee-plans-
|
|
71995
|
-
description: `
|
|
72227
|
+
tool$feePlansGetResidual = {
|
|
72228
|
+
name: "fee-plans-get-residual",
|
|
72229
|
+
description: `Get a residual associated with an account.
|
|
71996
72230
|
|
|
71997
72231
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71998
72232
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
71999
72233
|
args: args67,
|
|
72000
72234
|
tool: async (client, args68, ctx) => {
|
|
72001
|
-
const [result, apiCall] = await
|
|
72235
|
+
const [result, apiCall] = await feePlansGetResidual(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72002
72236
|
if (!result.ok) {
|
|
72003
72237
|
return {
|
|
72004
72238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72011,12 +72245,12 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72011
72245
|
};
|
|
72012
72246
|
});
|
|
72013
72247
|
|
|
72014
|
-
// src/funcs/
|
|
72015
|
-
function
|
|
72248
|
+
// src/funcs/feePlansListFeePlanAgreements.ts
|
|
72249
|
+
function feePlansListFeePlanAgreements(client, request, options) {
|
|
72016
72250
|
return new APIPromise($do68(client, request, options));
|
|
72017
72251
|
}
|
|
72018
72252
|
async function $do68(client, request, options) {
|
|
72019
|
-
const parsed = safeParse(request, (value) =>
|
|
72253
|
+
const parsed = safeParse(request, (value) => ListFeePlanAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72020
72254
|
if (!parsed.ok) {
|
|
72021
72255
|
return [parsed, { status: "invalid" }];
|
|
72022
72256
|
}
|
|
@@ -72028,9 +72262,12 @@ async function $do68(client, request, options) {
|
|
|
72028
72262
|
charEncoding: "percent"
|
|
72029
72263
|
})
|
|
72030
72264
|
};
|
|
72031
|
-
const path = pathToFunc("/accounts/{accountID}/fee-
|
|
72265
|
+
const path = pathToFunc("/accounts/{accountID}/fee-plan-agreements")(pathParams);
|
|
72032
72266
|
const query = encodeFormQuery({
|
|
72033
|
-
|
|
72267
|
+
agreementID: payload.agreementID,
|
|
72268
|
+
count: payload.count,
|
|
72269
|
+
skip: payload.skip,
|
|
72270
|
+
status: payload.status
|
|
72034
72271
|
}, { explode: false });
|
|
72035
72272
|
const headers = new Headers(compactMap({
|
|
72036
72273
|
Accept: "application/json",
|
|
@@ -72041,7 +72278,7 @@ async function $do68(client, request, options) {
|
|
|
72041
72278
|
const context = {
|
|
72042
72279
|
options: client._options,
|
|
72043
72280
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72044
|
-
operationID: "
|
|
72281
|
+
operationID: "listFeePlanAgreements",
|
|
72045
72282
|
oAuth2Scopes: null,
|
|
72046
72283
|
resolvedSecurity: requestSecurity,
|
|
72047
72284
|
securitySource: client._options.security,
|
|
@@ -72076,7 +72313,7 @@ async function $do68(client, request, options) {
|
|
|
72076
72313
|
const responseFields = {
|
|
72077
72314
|
HttpMeta: { Response: response, Request: req }
|
|
72078
72315
|
};
|
|
72079
|
-
const [result] = await match(json(200,
|
|
72316
|
+
const [result] = await match(json(200, ListFeePlanAgreementsResponse$inboundSchema, {
|
|
72080
72317
|
hdrs: true,
|
|
72081
72318
|
key: "Result"
|
|
72082
72319
|
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -72085,7 +72322,7 @@ async function $do68(client, request, options) {
|
|
|
72085
72322
|
}
|
|
72086
72323
|
return [result, { status: "complete", request: req, response }];
|
|
72087
72324
|
}
|
|
72088
|
-
var
|
|
72325
|
+
var init_feePlansListFeePlanAgreements = __esm(() => {
|
|
72089
72326
|
init_encodings();
|
|
72090
72327
|
init_matchers();
|
|
72091
72328
|
init_primitives();
|
|
@@ -72096,25 +72333,24 @@ var init_feePlansListFeePlans = __esm(() => {
|
|
|
72096
72333
|
init_async();
|
|
72097
72334
|
});
|
|
72098
72335
|
|
|
72099
|
-
// src/mcp-server/tools/
|
|
72100
|
-
var args68, tool$
|
|
72101
|
-
var
|
|
72102
|
-
|
|
72336
|
+
// src/mcp-server/tools/feePlansListFeePlanAgreements.ts
|
|
72337
|
+
var args68, tool$feePlansListFeePlanAgreements;
|
|
72338
|
+
var init_feePlansListFeePlanAgreements2 = __esm(() => {
|
|
72339
|
+
init_feePlansListFeePlanAgreements();
|
|
72103
72340
|
init_operations();
|
|
72104
72341
|
init_tools();
|
|
72105
72342
|
args68 = {
|
|
72106
|
-
request:
|
|
72343
|
+
request: ListFeePlanAgreementsRequest$inboundSchema
|
|
72107
72344
|
};
|
|
72108
|
-
tool$
|
|
72109
|
-
name: "fee-plans-list-fee-
|
|
72110
|
-
description: `List all fee
|
|
72111
|
-
selecting a fee plan to apply to a connected account.
|
|
72345
|
+
tool$feePlansListFeePlanAgreements = {
|
|
72346
|
+
name: "fee-plans-list-fee-plan-agreements",
|
|
72347
|
+
description: `List all fee plan agreements associated with an account.
|
|
72112
72348
|
|
|
72113
72349
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72114
72350
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72115
72351
|
args: args68,
|
|
72116
72352
|
tool: async (client, args69, ctx) => {
|
|
72117
|
-
const [result, apiCall] = await
|
|
72353
|
+
const [result, apiCall] = await feePlansListFeePlanAgreements(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72118
72354
|
if (!result.ok) {
|
|
72119
72355
|
return {
|
|
72120
72356
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72127,28 +72363,28 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72127
72363
|
};
|
|
72128
72364
|
});
|
|
72129
72365
|
|
|
72130
|
-
// src/funcs/
|
|
72131
|
-
function
|
|
72366
|
+
// src/funcs/feePlansListFeePlans.ts
|
|
72367
|
+
function feePlansListFeePlans(client, request, options) {
|
|
72132
72368
|
return new APIPromise($do69(client, request, options));
|
|
72133
72369
|
}
|
|
72134
72370
|
async function $do69(client, request, options) {
|
|
72135
|
-
const parsed = safeParse(request, (value) =>
|
|
72371
|
+
const parsed = safeParse(request, (value) => ListFeePlansRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72136
72372
|
if (!parsed.ok) {
|
|
72137
72373
|
return [parsed, { status: "invalid" }];
|
|
72138
72374
|
}
|
|
72139
72375
|
const payload = parsed.value;
|
|
72140
|
-
const body =
|
|
72141
|
-
explode: true
|
|
72142
|
-
});
|
|
72376
|
+
const body = null;
|
|
72143
72377
|
const pathParams = {
|
|
72144
72378
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72145
72379
|
explode: false,
|
|
72146
72380
|
charEncoding: "percent"
|
|
72147
72381
|
})
|
|
72148
72382
|
};
|
|
72149
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72383
|
+
const path = pathToFunc("/accounts/{accountID}/fee-plans")(pathParams);
|
|
72384
|
+
const query = encodeFormQuery({
|
|
72385
|
+
planIDs: payload.planIDs
|
|
72386
|
+
}, { explode: false });
|
|
72150
72387
|
const headers = new Headers(compactMap({
|
|
72151
|
-
"Content-Type": "application/json",
|
|
72152
72388
|
Accept: "application/json",
|
|
72153
72389
|
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72154
72390
|
}));
|
|
@@ -72157,7 +72393,7 @@ async function $do69(client, request, options) {
|
|
|
72157
72393
|
const context = {
|
|
72158
72394
|
options: client._options,
|
|
72159
72395
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72160
|
-
operationID: "
|
|
72396
|
+
operationID: "listFeePlans",
|
|
72161
72397
|
oAuth2Scopes: null,
|
|
72162
72398
|
resolvedSecurity: requestSecurity,
|
|
72163
72399
|
securitySource: client._options.security,
|
|
@@ -72166,10 +72402,11 @@ async function $do69(client, request, options) {
|
|
|
72166
72402
|
};
|
|
72167
72403
|
const requestRes = client._createRequest(context, {
|
|
72168
72404
|
security: requestSecurity,
|
|
72169
|
-
method: "
|
|
72405
|
+
method: "GET",
|
|
72170
72406
|
baseURL: options?.serverURL,
|
|
72171
72407
|
path,
|
|
72172
72408
|
headers,
|
|
72409
|
+
query,
|
|
72173
72410
|
body,
|
|
72174
72411
|
userAgent: client._options.userAgent,
|
|
72175
72412
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -72191,7 +72428,7 @@ async function $do69(client, request, options) {
|
|
|
72191
72428
|
const responseFields = {
|
|
72192
72429
|
HttpMeta: { Response: response, Request: req }
|
|
72193
72430
|
};
|
|
72194
|
-
const [result] = await match(json(200,
|
|
72431
|
+
const [result] = await match(json(200, ListFeePlansResponse$inboundSchema, {
|
|
72195
72432
|
hdrs: true,
|
|
72196
72433
|
key: "Result"
|
|
72197
72434
|
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -72200,7 +72437,7 @@ async function $do69(client, request, options) {
|
|
|
72200
72437
|
}
|
|
72201
72438
|
return [result, { status: "complete", request: req, response }];
|
|
72202
72439
|
}
|
|
72203
|
-
var
|
|
72440
|
+
var init_feePlansListFeePlans = __esm(() => {
|
|
72204
72441
|
init_encodings();
|
|
72205
72442
|
init_matchers();
|
|
72206
72443
|
init_primitives();
|
|
@@ -72211,24 +72448,25 @@ var init_feePlansListFeesFetch = __esm(() => {
|
|
|
72211
72448
|
init_async();
|
|
72212
72449
|
});
|
|
72213
72450
|
|
|
72214
|
-
// src/mcp-server/tools/
|
|
72215
|
-
var args69, tool$
|
|
72216
|
-
var
|
|
72217
|
-
|
|
72451
|
+
// src/mcp-server/tools/feePlansListFeePlans.ts
|
|
72452
|
+
var args69, tool$feePlansListFeePlans;
|
|
72453
|
+
var init_feePlansListFeePlans2 = __esm(() => {
|
|
72454
|
+
init_feePlansListFeePlans();
|
|
72218
72455
|
init_operations();
|
|
72219
72456
|
init_tools();
|
|
72220
72457
|
args69 = {
|
|
72221
|
-
request:
|
|
72458
|
+
request: ListFeePlansRequest$inboundSchema
|
|
72222
72459
|
};
|
|
72223
|
-
tool$
|
|
72224
|
-
name: "fee-plans-list-
|
|
72225
|
-
description: `List
|
|
72460
|
+
tool$feePlansListFeePlans = {
|
|
72461
|
+
name: "fee-plans-list-fee-plans",
|
|
72462
|
+
description: `List all fee plans available for use by an account. This is intended to be used by an account when
|
|
72463
|
+
selecting a fee plan to apply to a connected account.
|
|
72226
72464
|
|
|
72227
72465
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72228
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
72466
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72229
72467
|
args: args69,
|
|
72230
72468
|
tool: async (client, args70, ctx) => {
|
|
72231
|
-
const [result, apiCall] = await
|
|
72469
|
+
const [result, apiCall] = await feePlansListFeePlans(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72232
72470
|
if (!result.ok) {
|
|
72233
72471
|
return {
|
|
72234
72472
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72241,28 +72479,28 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72241
72479
|
};
|
|
72242
72480
|
});
|
|
72243
72481
|
|
|
72244
|
-
// src/funcs/
|
|
72245
|
-
function
|
|
72482
|
+
// src/funcs/feePlansListFeesFetch.ts
|
|
72483
|
+
function feePlansListFeesFetch(client, request, options) {
|
|
72246
72484
|
return new APIPromise($do70(client, request, options));
|
|
72247
72485
|
}
|
|
72248
72486
|
async function $do70(client, request, options) {
|
|
72249
|
-
const parsed = safeParse(request, (value) =>
|
|
72487
|
+
const parsed = safeParse(request, (value) => ListFeesFetchRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
72250
72488
|
if (!parsed.ok) {
|
|
72251
72489
|
return [parsed, { status: "invalid" }];
|
|
72252
72490
|
}
|
|
72253
72491
|
const payload = parsed.value;
|
|
72254
|
-
const body =
|
|
72492
|
+
const body = encodeJSON("body", payload.ListFeesFetchRequest, {
|
|
72493
|
+
explode: true
|
|
72494
|
+
});
|
|
72255
72495
|
const pathParams = {
|
|
72256
72496
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72257
72497
|
explode: false,
|
|
72258
72498
|
charEncoding: "percent"
|
|
72259
72499
|
})
|
|
72260
72500
|
};
|
|
72261
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72262
|
-
const query = encodeFormQuery({
|
|
72263
|
-
planIDs: payload.planIDs
|
|
72264
|
-
}, { explode: false });
|
|
72501
|
+
const path = pathToFunc("/accounts/{accountID}/fees/.fetch")(pathParams);
|
|
72265
72502
|
const headers = new Headers(compactMap({
|
|
72503
|
+
"Content-Type": "application/json",
|
|
72266
72504
|
Accept: "application/json",
|
|
72267
72505
|
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72268
72506
|
}));
|
|
@@ -72271,7 +72509,7 @@ async function $do70(client, request, options) {
|
|
|
72271
72509
|
const context = {
|
|
72272
72510
|
options: client._options,
|
|
72273
72511
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72274
|
-
operationID: "
|
|
72512
|
+
operationID: "listFeesFetch",
|
|
72275
72513
|
oAuth2Scopes: null,
|
|
72276
72514
|
resolvedSecurity: requestSecurity,
|
|
72277
72515
|
securitySource: client._options.security,
|
|
@@ -72280,11 +72518,125 @@ async function $do70(client, request, options) {
|
|
|
72280
72518
|
};
|
|
72281
72519
|
const requestRes = client._createRequest(context, {
|
|
72282
72520
|
security: requestSecurity,
|
|
72283
|
-
method: "
|
|
72521
|
+
method: "POST",
|
|
72284
72522
|
baseURL: options?.serverURL,
|
|
72285
72523
|
path,
|
|
72286
72524
|
headers,
|
|
72287
|
-
|
|
72525
|
+
body,
|
|
72526
|
+
userAgent: client._options.userAgent,
|
|
72527
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72528
|
+
}, options);
|
|
72529
|
+
if (!requestRes.ok) {
|
|
72530
|
+
return [requestRes, { status: "invalid" }];
|
|
72531
|
+
}
|
|
72532
|
+
const req = requestRes.value;
|
|
72533
|
+
const doResult = await client._do(req, {
|
|
72534
|
+
context,
|
|
72535
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
72536
|
+
retryConfig: context.retryConfig,
|
|
72537
|
+
retryCodes: context.retryCodes
|
|
72538
|
+
});
|
|
72539
|
+
if (!doResult.ok) {
|
|
72540
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72541
|
+
}
|
|
72542
|
+
const response = doResult.value;
|
|
72543
|
+
const responseFields = {
|
|
72544
|
+
HttpMeta: { Response: response, Request: req }
|
|
72545
|
+
};
|
|
72546
|
+
const [result] = await match(json(200, ListFeesFetchResponse$inboundSchema, {
|
|
72547
|
+
hdrs: true,
|
|
72548
|
+
key: "Result"
|
|
72549
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72550
|
+
if (!result.ok) {
|
|
72551
|
+
return [result, { status: "complete", request: req, response }];
|
|
72552
|
+
}
|
|
72553
|
+
return [result, { status: "complete", request: req, response }];
|
|
72554
|
+
}
|
|
72555
|
+
var init_feePlansListFeesFetch = __esm(() => {
|
|
72556
|
+
init_encodings();
|
|
72557
|
+
init_matchers();
|
|
72558
|
+
init_primitives();
|
|
72559
|
+
init_schemas();
|
|
72560
|
+
init_security();
|
|
72561
|
+
init_url();
|
|
72562
|
+
init_operations();
|
|
72563
|
+
init_async();
|
|
72564
|
+
});
|
|
72565
|
+
|
|
72566
|
+
// src/mcp-server/tools/feePlansListFeesFetch.ts
|
|
72567
|
+
var args70, tool$feePlansListFeesFetch;
|
|
72568
|
+
var init_feePlansListFeesFetch2 = __esm(() => {
|
|
72569
|
+
init_feePlansListFeesFetch();
|
|
72570
|
+
init_operations();
|
|
72571
|
+
init_tools();
|
|
72572
|
+
args70 = {
|
|
72573
|
+
request: ListFeesFetchRequest$inboundSchema2
|
|
72574
|
+
};
|
|
72575
|
+
tool$feePlansListFeesFetch = {
|
|
72576
|
+
name: "fee-plans-list-fees-fetch",
|
|
72577
|
+
description: `List fees associated with an account.
|
|
72578
|
+
|
|
72579
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72580
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72581
|
+
args: args70,
|
|
72582
|
+
tool: async (client, args71, ctx) => {
|
|
72583
|
+
const [result, apiCall] = await feePlansListFeesFetch(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72584
|
+
if (!result.ok) {
|
|
72585
|
+
return {
|
|
72586
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72587
|
+
isError: true
|
|
72588
|
+
};
|
|
72589
|
+
}
|
|
72590
|
+
const value = result.value.result;
|
|
72591
|
+
return formatResult(value, apiCall);
|
|
72592
|
+
}
|
|
72593
|
+
};
|
|
72594
|
+
});
|
|
72595
|
+
|
|
72596
|
+
// src/funcs/feePlansListPartnerPricing.ts
|
|
72597
|
+
function feePlansListPartnerPricing(client, request, options) {
|
|
72598
|
+
return new APIPromise($do71(client, request, options));
|
|
72599
|
+
}
|
|
72600
|
+
async function $do71(client, request, options) {
|
|
72601
|
+
const parsed = safeParse(request, (value) => ListPartnerPricingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72602
|
+
if (!parsed.ok) {
|
|
72603
|
+
return [parsed, { status: "invalid" }];
|
|
72604
|
+
}
|
|
72605
|
+
const payload = parsed.value;
|
|
72606
|
+
const body = null;
|
|
72607
|
+
const pathParams = {
|
|
72608
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72609
|
+
explode: false,
|
|
72610
|
+
charEncoding: "percent"
|
|
72611
|
+
})
|
|
72612
|
+
};
|
|
72613
|
+
const path = pathToFunc("/accounts/{accountID}/partner-pricing")(pathParams);
|
|
72614
|
+
const query = encodeFormQuery({
|
|
72615
|
+
planIDs: payload.planIDs
|
|
72616
|
+
}, { explode: false });
|
|
72617
|
+
const headers = new Headers(compactMap({
|
|
72618
|
+
Accept: "application/json",
|
|
72619
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72620
|
+
}));
|
|
72621
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72622
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72623
|
+
const context = {
|
|
72624
|
+
options: client._options,
|
|
72625
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72626
|
+
operationID: "listPartnerPricing",
|
|
72627
|
+
oAuth2Scopes: null,
|
|
72628
|
+
resolvedSecurity: requestSecurity,
|
|
72629
|
+
securitySource: client._options.security,
|
|
72630
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72631
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72632
|
+
};
|
|
72633
|
+
const requestRes = client._createRequest(context, {
|
|
72634
|
+
security: requestSecurity,
|
|
72635
|
+
method: "GET",
|
|
72636
|
+
baseURL: options?.serverURL,
|
|
72637
|
+
path,
|
|
72638
|
+
headers,
|
|
72639
|
+
query,
|
|
72288
72640
|
body,
|
|
72289
72641
|
userAgent: client._options.userAgent,
|
|
72290
72642
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -72327,12 +72679,12 @@ var init_feePlansListPartnerPricing = __esm(() => {
|
|
|
72327
72679
|
});
|
|
72328
72680
|
|
|
72329
72681
|
// src/mcp-server/tools/feePlansListPartnerPricing.ts
|
|
72330
|
-
var
|
|
72682
|
+
var args71, tool$feePlansListPartnerPricing;
|
|
72331
72683
|
var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
72332
72684
|
init_feePlansListPartnerPricing();
|
|
72333
72685
|
init_operations();
|
|
72334
72686
|
init_tools();
|
|
72335
|
-
|
|
72687
|
+
args71 = {
|
|
72336
72688
|
request: ListPartnerPricingRequest$inboundSchema
|
|
72337
72689
|
};
|
|
72338
72690
|
tool$feePlansListPartnerPricing = {
|
|
@@ -72341,9 +72693,9 @@ var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
|
72341
72693
|
|
|
72342
72694
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72343
72695
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72344
|
-
args:
|
|
72345
|
-
tool: async (client,
|
|
72346
|
-
const [result, apiCall] = await feePlansListPartnerPricing(client,
|
|
72696
|
+
args: args71,
|
|
72697
|
+
tool: async (client, args72, ctx) => {
|
|
72698
|
+
const [result, apiCall] = await feePlansListPartnerPricing(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72347
72699
|
if (!result.ok) {
|
|
72348
72700
|
return {
|
|
72349
72701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72358,9 +72710,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72358
72710
|
|
|
72359
72711
|
// src/funcs/feePlansListPartnerPricingAgreements.ts
|
|
72360
72712
|
function feePlansListPartnerPricingAgreements(client, request, options) {
|
|
72361
|
-
return new APIPromise($
|
|
72713
|
+
return new APIPromise($do72(client, request, options));
|
|
72362
72714
|
}
|
|
72363
|
-
async function $
|
|
72715
|
+
async function $do72(client, request, options) {
|
|
72364
72716
|
const parsed = safeParse(request, (value) => ListPartnerPricingAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72365
72717
|
if (!parsed.ok) {
|
|
72366
72718
|
return [parsed, { status: "invalid" }];
|
|
@@ -72445,12 +72797,12 @@ var init_feePlansListPartnerPricingAgreements = __esm(() => {
|
|
|
72445
72797
|
});
|
|
72446
72798
|
|
|
72447
72799
|
// src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts
|
|
72448
|
-
var
|
|
72800
|
+
var args72, tool$feePlansListPartnerPricingAgreements;
|
|
72449
72801
|
var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
72450
72802
|
init_feePlansListPartnerPricingAgreements();
|
|
72451
72803
|
init_operations();
|
|
72452
72804
|
init_tools();
|
|
72453
|
-
|
|
72805
|
+
args72 = {
|
|
72454
72806
|
request: ListPartnerPricingAgreementsRequest$inboundSchema
|
|
72455
72807
|
};
|
|
72456
72808
|
tool$feePlansListPartnerPricingAgreements = {
|
|
@@ -72459,9 +72811,249 @@ var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
|
72459
72811
|
|
|
72460
72812
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72461
72813
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72462
|
-
args:
|
|
72463
|
-
tool: async (client,
|
|
72464
|
-
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client,
|
|
72814
|
+
args: args72,
|
|
72815
|
+
tool: async (client, args73, ctx) => {
|
|
72816
|
+
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72817
|
+
if (!result.ok) {
|
|
72818
|
+
return {
|
|
72819
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72820
|
+
isError: true
|
|
72821
|
+
};
|
|
72822
|
+
}
|
|
72823
|
+
const value = result.value.result;
|
|
72824
|
+
return formatResult(value, apiCall);
|
|
72825
|
+
}
|
|
72826
|
+
};
|
|
72827
|
+
});
|
|
72828
|
+
|
|
72829
|
+
// src/funcs/feePlansListResidualFees.ts
|
|
72830
|
+
function feePlansListResidualFees(client, request, options) {
|
|
72831
|
+
return new APIPromise($do73(client, request, options));
|
|
72832
|
+
}
|
|
72833
|
+
async function $do73(client, request, options) {
|
|
72834
|
+
const parsed = safeParse(request, (value) => ListResidualFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72835
|
+
if (!parsed.ok) {
|
|
72836
|
+
return [parsed, { status: "invalid" }];
|
|
72837
|
+
}
|
|
72838
|
+
const payload = parsed.value;
|
|
72839
|
+
const body = null;
|
|
72840
|
+
const pathParams = {
|
|
72841
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72842
|
+
explode: false,
|
|
72843
|
+
charEncoding: "percent"
|
|
72844
|
+
}),
|
|
72845
|
+
residualID: encodeSimple("residualID", payload.residualID, {
|
|
72846
|
+
explode: false,
|
|
72847
|
+
charEncoding: "percent"
|
|
72848
|
+
})
|
|
72849
|
+
};
|
|
72850
|
+
const path = pathToFunc("/accounts/{accountID}/residuals/{residualID}/fees")(pathParams);
|
|
72851
|
+
const query = encodeFormQuery({
|
|
72852
|
+
count: payload.count,
|
|
72853
|
+
endDateTime: payload.endDateTime,
|
|
72854
|
+
skip: payload.skip,
|
|
72855
|
+
startDateTime: payload.startDateTime
|
|
72856
|
+
}, { explode: false });
|
|
72857
|
+
const headers = new Headers(compactMap({
|
|
72858
|
+
Accept: "application/json",
|
|
72859
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72860
|
+
}));
|
|
72861
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72862
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72863
|
+
const context = {
|
|
72864
|
+
options: client._options,
|
|
72865
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72866
|
+
operationID: "listResidualFees",
|
|
72867
|
+
oAuth2Scopes: null,
|
|
72868
|
+
resolvedSecurity: requestSecurity,
|
|
72869
|
+
securitySource: client._options.security,
|
|
72870
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72871
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72872
|
+
};
|
|
72873
|
+
const requestRes = client._createRequest(context, {
|
|
72874
|
+
security: requestSecurity,
|
|
72875
|
+
method: "GET",
|
|
72876
|
+
baseURL: options?.serverURL,
|
|
72877
|
+
path,
|
|
72878
|
+
headers,
|
|
72879
|
+
query,
|
|
72880
|
+
body,
|
|
72881
|
+
userAgent: client._options.userAgent,
|
|
72882
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72883
|
+
}, options);
|
|
72884
|
+
if (!requestRes.ok) {
|
|
72885
|
+
return [requestRes, { status: "invalid" }];
|
|
72886
|
+
}
|
|
72887
|
+
const req = requestRes.value;
|
|
72888
|
+
const doResult = await client._do(req, {
|
|
72889
|
+
context,
|
|
72890
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
72891
|
+
retryConfig: context.retryConfig,
|
|
72892
|
+
retryCodes: context.retryCodes
|
|
72893
|
+
});
|
|
72894
|
+
if (!doResult.ok) {
|
|
72895
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72896
|
+
}
|
|
72897
|
+
const response = doResult.value;
|
|
72898
|
+
const responseFields = {
|
|
72899
|
+
HttpMeta: { Response: response, Request: req }
|
|
72900
|
+
};
|
|
72901
|
+
const [result] = await match(json(200, ListResidualFeesResponse$inboundSchema, {
|
|
72902
|
+
hdrs: true,
|
|
72903
|
+
key: "Result"
|
|
72904
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72905
|
+
if (!result.ok) {
|
|
72906
|
+
return [result, { status: "complete", request: req, response }];
|
|
72907
|
+
}
|
|
72908
|
+
return [result, { status: "complete", request: req, response }];
|
|
72909
|
+
}
|
|
72910
|
+
var init_feePlansListResidualFees = __esm(() => {
|
|
72911
|
+
init_encodings();
|
|
72912
|
+
init_matchers();
|
|
72913
|
+
init_primitives();
|
|
72914
|
+
init_schemas();
|
|
72915
|
+
init_security();
|
|
72916
|
+
init_url();
|
|
72917
|
+
init_operations();
|
|
72918
|
+
init_async();
|
|
72919
|
+
});
|
|
72920
|
+
|
|
72921
|
+
// src/mcp-server/tools/feePlansListResidualFees.ts
|
|
72922
|
+
var args73, tool$feePlansListResidualFees;
|
|
72923
|
+
var init_feePlansListResidualFees2 = __esm(() => {
|
|
72924
|
+
init_feePlansListResidualFees();
|
|
72925
|
+
init_operations();
|
|
72926
|
+
init_tools();
|
|
72927
|
+
args73 = {
|
|
72928
|
+
request: ListResidualFeesRequest$inboundSchema
|
|
72929
|
+
};
|
|
72930
|
+
tool$feePlansListResidualFees = {
|
|
72931
|
+
name: "fee-plans-list-residual-fees",
|
|
72932
|
+
description: `List all fees associated with a residual.
|
|
72933
|
+
|
|
72934
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72935
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72936
|
+
args: args73,
|
|
72937
|
+
tool: async (client, args74, ctx) => {
|
|
72938
|
+
const [result, apiCall] = await feePlansListResidualFees(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72939
|
+
if (!result.ok) {
|
|
72940
|
+
return {
|
|
72941
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72942
|
+
isError: true
|
|
72943
|
+
};
|
|
72944
|
+
}
|
|
72945
|
+
const value = result.value.result;
|
|
72946
|
+
return formatResult(value, apiCall);
|
|
72947
|
+
}
|
|
72948
|
+
};
|
|
72949
|
+
});
|
|
72950
|
+
|
|
72951
|
+
// src/funcs/feePlansListResiduals.ts
|
|
72952
|
+
function feePlansListResiduals(client, request, options) {
|
|
72953
|
+
return new APIPromise($do74(client, request, options));
|
|
72954
|
+
}
|
|
72955
|
+
async function $do74(client, request, options) {
|
|
72956
|
+
const parsed = safeParse(request, (value) => ListResidualsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72957
|
+
if (!parsed.ok) {
|
|
72958
|
+
return [parsed, { status: "invalid" }];
|
|
72959
|
+
}
|
|
72960
|
+
const payload = parsed.value;
|
|
72961
|
+
const body = null;
|
|
72962
|
+
const pathParams = {
|
|
72963
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72964
|
+
explode: false,
|
|
72965
|
+
charEncoding: "percent"
|
|
72966
|
+
})
|
|
72967
|
+
};
|
|
72968
|
+
const path = pathToFunc("/accounts/{accountID}/residuals")(pathParams);
|
|
72969
|
+
const query = encodeFormQuery({
|
|
72970
|
+
count: payload.count,
|
|
72971
|
+
endDateTime: payload.endDateTime,
|
|
72972
|
+
skip: payload.skip,
|
|
72973
|
+
startDateTime: payload.startDateTime
|
|
72974
|
+
}, { explode: false });
|
|
72975
|
+
const headers = new Headers(compactMap({
|
|
72976
|
+
Accept: "application/json",
|
|
72977
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72978
|
+
}));
|
|
72979
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72980
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72981
|
+
const context = {
|
|
72982
|
+
options: client._options,
|
|
72983
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72984
|
+
operationID: "listResiduals",
|
|
72985
|
+
oAuth2Scopes: null,
|
|
72986
|
+
resolvedSecurity: requestSecurity,
|
|
72987
|
+
securitySource: client._options.security,
|
|
72988
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72989
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72990
|
+
};
|
|
72991
|
+
const requestRes = client._createRequest(context, {
|
|
72992
|
+
security: requestSecurity,
|
|
72993
|
+
method: "GET",
|
|
72994
|
+
baseURL: options?.serverURL,
|
|
72995
|
+
path,
|
|
72996
|
+
headers,
|
|
72997
|
+
query,
|
|
72998
|
+
body,
|
|
72999
|
+
userAgent: client._options.userAgent,
|
|
73000
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73001
|
+
}, options);
|
|
73002
|
+
if (!requestRes.ok) {
|
|
73003
|
+
return [requestRes, { status: "invalid" }];
|
|
73004
|
+
}
|
|
73005
|
+
const req = requestRes.value;
|
|
73006
|
+
const doResult = await client._do(req, {
|
|
73007
|
+
context,
|
|
73008
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
73009
|
+
retryConfig: context.retryConfig,
|
|
73010
|
+
retryCodes: context.retryCodes
|
|
73011
|
+
});
|
|
73012
|
+
if (!doResult.ok) {
|
|
73013
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73014
|
+
}
|
|
73015
|
+
const response = doResult.value;
|
|
73016
|
+
const responseFields = {
|
|
73017
|
+
HttpMeta: { Response: response, Request: req }
|
|
73018
|
+
};
|
|
73019
|
+
const [result] = await match(json(200, ListResidualsResponse$inboundSchema, {
|
|
73020
|
+
hdrs: true,
|
|
73021
|
+
key: "Result"
|
|
73022
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73023
|
+
if (!result.ok) {
|
|
73024
|
+
return [result, { status: "complete", request: req, response }];
|
|
73025
|
+
}
|
|
73026
|
+
return [result, { status: "complete", request: req, response }];
|
|
73027
|
+
}
|
|
73028
|
+
var init_feePlansListResiduals = __esm(() => {
|
|
73029
|
+
init_encodings();
|
|
73030
|
+
init_matchers();
|
|
73031
|
+
init_primitives();
|
|
73032
|
+
init_schemas();
|
|
73033
|
+
init_security();
|
|
73034
|
+
init_url();
|
|
73035
|
+
init_operations();
|
|
73036
|
+
init_async();
|
|
73037
|
+
});
|
|
73038
|
+
|
|
73039
|
+
// src/mcp-server/tools/feePlansListResiduals.ts
|
|
73040
|
+
var args74, tool$feePlansListResiduals;
|
|
73041
|
+
var init_feePlansListResiduals2 = __esm(() => {
|
|
73042
|
+
init_feePlansListResiduals();
|
|
73043
|
+
init_operations();
|
|
73044
|
+
init_tools();
|
|
73045
|
+
args74 = {
|
|
73046
|
+
request: ListResidualsRequest$inboundSchema
|
|
73047
|
+
};
|
|
73048
|
+
tool$feePlansListResiduals = {
|
|
73049
|
+
name: "fee-plans-list-residuals",
|
|
73050
|
+
description: `List all residuals associated with an account.
|
|
73051
|
+
|
|
73052
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73053
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
73054
|
+
args: args74,
|
|
73055
|
+
tool: async (client, args75, ctx) => {
|
|
73056
|
+
const [result, apiCall] = await feePlansListResiduals(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72465
73057
|
if (!result.ok) {
|
|
72466
73058
|
return {
|
|
72467
73059
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72476,9 +73068,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72476
73068
|
|
|
72477
73069
|
// src/funcs/feePlansRetrieveFees.ts
|
|
72478
73070
|
function feePlansRetrieveFees(client, request, options) {
|
|
72479
|
-
return new APIPromise($
|
|
73071
|
+
return new APIPromise($do75(client, request, options));
|
|
72480
73072
|
}
|
|
72481
|
-
async function $
|
|
73073
|
+
async function $do75(client, request, options) {
|
|
72482
73074
|
const parsed = safeParse(request, (value) => RetrieveFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72483
73075
|
if (!parsed.ok) {
|
|
72484
73076
|
return [parsed, { status: "invalid" }];
|
|
@@ -72565,12 +73157,12 @@ var init_feePlansRetrieveFees = __esm(() => {
|
|
|
72565
73157
|
});
|
|
72566
73158
|
|
|
72567
73159
|
// src/mcp-server/tools/feePlansRetrieveFees.ts
|
|
72568
|
-
var
|
|
73160
|
+
var args75, tool$feePlansRetrieveFees;
|
|
72569
73161
|
var init_feePlansRetrieveFees2 = __esm(() => {
|
|
72570
73162
|
init_feePlansRetrieveFees();
|
|
72571
73163
|
init_operations();
|
|
72572
73164
|
init_tools();
|
|
72573
|
-
|
|
73165
|
+
args75 = {
|
|
72574
73166
|
request: RetrieveFeesRequest$inboundSchema
|
|
72575
73167
|
};
|
|
72576
73168
|
tool$feePlansRetrieveFees = {
|
|
@@ -72579,9 +73171,9 @@ var init_feePlansRetrieveFees2 = __esm(() => {
|
|
|
72579
73171
|
|
|
72580
73172
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72581
73173
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72582
|
-
args:
|
|
72583
|
-
tool: async (client,
|
|
72584
|
-
const [result, apiCall] = await feePlansRetrieveFees(client,
|
|
73174
|
+
args: args75,
|
|
73175
|
+
tool: async (client, args76, ctx) => {
|
|
73176
|
+
const [result, apiCall] = await feePlansRetrieveFees(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72585
73177
|
if (!result.ok) {
|
|
72586
73178
|
return {
|
|
72587
73179
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72596,9 +73188,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72596
73188
|
|
|
72597
73189
|
// src/funcs/filesGet.ts
|
|
72598
73190
|
function filesGet(client, request, options) {
|
|
72599
|
-
return new APIPromise($
|
|
73191
|
+
return new APIPromise($do76(client, request, options));
|
|
72600
73192
|
}
|
|
72601
|
-
async function $
|
|
73193
|
+
async function $do76(client, request, options) {
|
|
72602
73194
|
const parsed = safeParse(request, (value) => GetFileDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72603
73195
|
if (!parsed.ok) {
|
|
72604
73196
|
return [parsed, { status: "invalid" }];
|
|
@@ -72680,12 +73272,12 @@ var init_filesGet = __esm(() => {
|
|
|
72680
73272
|
});
|
|
72681
73273
|
|
|
72682
73274
|
// src/mcp-server/tools/filesGet.ts
|
|
72683
|
-
var
|
|
73275
|
+
var args76, tool$filesGet;
|
|
72684
73276
|
var init_filesGet2 = __esm(() => {
|
|
72685
73277
|
init_filesGet();
|
|
72686
73278
|
init_operations();
|
|
72687
73279
|
init_tools();
|
|
72688
|
-
|
|
73280
|
+
args76 = {
|
|
72689
73281
|
request: GetFileDetailsRequest$inboundSchema
|
|
72690
73282
|
};
|
|
72691
73283
|
tool$filesGet = {
|
|
@@ -72694,9 +73286,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
72694
73286
|
|
|
72695
73287
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72696
73288
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
72697
|
-
args:
|
|
72698
|
-
tool: async (client,
|
|
72699
|
-
const [result, apiCall] = await filesGet(client,
|
|
73289
|
+
args: args76,
|
|
73290
|
+
tool: async (client, args77, ctx) => {
|
|
73291
|
+
const [result, apiCall] = await filesGet(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72700
73292
|
if (!result.ok) {
|
|
72701
73293
|
return {
|
|
72702
73294
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72711,9 +73303,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
72711
73303
|
|
|
72712
73304
|
// src/funcs/filesList.ts
|
|
72713
73305
|
function filesList(client, request, options) {
|
|
72714
|
-
return new APIPromise($
|
|
73306
|
+
return new APIPromise($do77(client, request, options));
|
|
72715
73307
|
}
|
|
72716
|
-
async function $
|
|
73308
|
+
async function $do77(client, request, options) {
|
|
72717
73309
|
const parsed = safeParse(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72718
73310
|
if (!parsed.ok) {
|
|
72719
73311
|
return [parsed, { status: "invalid" }];
|
|
@@ -72791,12 +73383,12 @@ var init_filesList = __esm(() => {
|
|
|
72791
73383
|
});
|
|
72792
73384
|
|
|
72793
73385
|
// src/mcp-server/tools/filesList.ts
|
|
72794
|
-
var
|
|
73386
|
+
var args77, tool$filesList;
|
|
72795
73387
|
var init_filesList2 = __esm(() => {
|
|
72796
73388
|
init_filesList();
|
|
72797
73389
|
init_operations();
|
|
72798
73390
|
init_tools();
|
|
72799
|
-
|
|
73391
|
+
args77 = {
|
|
72800
73392
|
request: ListFilesRequest$inboundSchema
|
|
72801
73393
|
};
|
|
72802
73394
|
tool$filesList = {
|
|
@@ -72805,9 +73397,9 @@ var init_filesList2 = __esm(() => {
|
|
|
72805
73397
|
|
|
72806
73398
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72807
73399
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
72808
|
-
args:
|
|
72809
|
-
tool: async (client,
|
|
72810
|
-
const [result, apiCall] = await filesList(client,
|
|
73400
|
+
args: args77,
|
|
73401
|
+
tool: async (client, args78, ctx) => {
|
|
73402
|
+
const [result, apiCall] = await filesList(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72811
73403
|
if (!result.ok) {
|
|
72812
73404
|
return {
|
|
72813
73405
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72822,9 +73414,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
72822
73414
|
|
|
72823
73415
|
// src/funcs/filesUpload.ts
|
|
72824
73416
|
function filesUpload(client, request, options) {
|
|
72825
|
-
return new APIPromise($
|
|
73417
|
+
return new APIPromise($do78(client, request, options));
|
|
72826
73418
|
}
|
|
72827
|
-
async function $
|
|
73419
|
+
async function $do78(client, request, options) {
|
|
72828
73420
|
const parsed = safeParse(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72829
73421
|
if (!parsed.ok) {
|
|
72830
73422
|
return [parsed, { status: "invalid" }];
|
|
@@ -72933,12 +73525,12 @@ var init_filesUpload = __esm(() => {
|
|
|
72933
73525
|
});
|
|
72934
73526
|
|
|
72935
73527
|
// src/mcp-server/tools/filesUpload.ts
|
|
72936
|
-
var
|
|
73528
|
+
var args78, tool$filesUpload;
|
|
72937
73529
|
var init_filesUpload2 = __esm(() => {
|
|
72938
73530
|
init_filesUpload();
|
|
72939
73531
|
init_operations();
|
|
72940
73532
|
init_tools();
|
|
72941
|
-
|
|
73533
|
+
args78 = {
|
|
72942
73534
|
request: UploadFileRequest$inboundSchema
|
|
72943
73535
|
};
|
|
72944
73536
|
tool$filesUpload = {
|
|
@@ -72950,9 +73542,9 @@ and png.
|
|
|
72950
73542
|
|
|
72951
73543
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72952
73544
|
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
72953
|
-
args:
|
|
72954
|
-
tool: async (client,
|
|
72955
|
-
const [result, apiCall] = await filesUpload(client,
|
|
73545
|
+
args: args78,
|
|
73546
|
+
tool: async (client, args79, ctx) => {
|
|
73547
|
+
const [result, apiCall] = await filesUpload(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72956
73548
|
if (!result.ok) {
|
|
72957
73549
|
return {
|
|
72958
73550
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72967,9 +73559,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
72967
73559
|
|
|
72968
73560
|
// src/funcs/imagesDelete.ts
|
|
72969
73561
|
function imagesDelete(client, request, options) {
|
|
72970
|
-
return new APIPromise($
|
|
73562
|
+
return new APIPromise($do79(client, request, options));
|
|
72971
73563
|
}
|
|
72972
|
-
async function $
|
|
73564
|
+
async function $do79(client, request, options) {
|
|
72973
73565
|
const parsed = safeParse(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72974
73566
|
if (!parsed.ok) {
|
|
72975
73567
|
return [parsed, { status: "invalid" }];
|
|
@@ -73062,20 +73654,20 @@ var init_imagesDelete = __esm(() => {
|
|
|
73062
73654
|
});
|
|
73063
73655
|
|
|
73064
73656
|
// src/mcp-server/tools/imagesDelete.ts
|
|
73065
|
-
var
|
|
73657
|
+
var args79, tool$imagesDelete;
|
|
73066
73658
|
var init_imagesDelete2 = __esm(() => {
|
|
73067
73659
|
init_imagesDelete();
|
|
73068
73660
|
init_operations();
|
|
73069
73661
|
init_tools();
|
|
73070
|
-
|
|
73662
|
+
args79 = {
|
|
73071
73663
|
request: DeleteImageRequest$inboundSchema
|
|
73072
73664
|
};
|
|
73073
73665
|
tool$imagesDelete = {
|
|
73074
73666
|
name: "images-delete",
|
|
73075
73667
|
description: `Permanently delete an image by its ID.`,
|
|
73076
|
-
args:
|
|
73077
|
-
tool: async (client,
|
|
73078
|
-
const [result, apiCall] = await imagesDelete(client,
|
|
73668
|
+
args: args79,
|
|
73669
|
+
tool: async (client, args80, ctx) => {
|
|
73670
|
+
const [result, apiCall] = await imagesDelete(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73079
73671
|
if (!result.ok) {
|
|
73080
73672
|
return {
|
|
73081
73673
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73089,9 +73681,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
73089
73681
|
|
|
73090
73682
|
// src/funcs/imagesGetMetadata.ts
|
|
73091
73683
|
function imagesGetMetadata(client, request, options) {
|
|
73092
|
-
return new APIPromise($
|
|
73684
|
+
return new APIPromise($do80(client, request, options));
|
|
73093
73685
|
}
|
|
73094
|
-
async function $
|
|
73686
|
+
async function $do80(client, request, options) {
|
|
73095
73687
|
const parsed = safeParse(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73096
73688
|
if (!parsed.ok) {
|
|
73097
73689
|
return [parsed, { status: "invalid" }];
|
|
@@ -73173,20 +73765,20 @@ var init_imagesGetMetadata = __esm(() => {
|
|
|
73173
73765
|
});
|
|
73174
73766
|
|
|
73175
73767
|
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
73176
|
-
var
|
|
73768
|
+
var args80, tool$imagesGetMetadata;
|
|
73177
73769
|
var init_imagesGetMetadata2 = __esm(() => {
|
|
73178
73770
|
init_imagesGetMetadata();
|
|
73179
73771
|
init_operations();
|
|
73180
73772
|
init_tools();
|
|
73181
|
-
|
|
73773
|
+
args80 = {
|
|
73182
73774
|
request: GetImageMetadataRequest$inboundSchema
|
|
73183
73775
|
};
|
|
73184
73776
|
tool$imagesGetMetadata = {
|
|
73185
73777
|
name: "images-get-metadata",
|
|
73186
73778
|
description: `Retrieve metadata for a specific image by its ID.`,
|
|
73187
|
-
args:
|
|
73188
|
-
tool: async (client,
|
|
73189
|
-
const [result, apiCall] = await imagesGetMetadata(client,
|
|
73779
|
+
args: args80,
|
|
73780
|
+
tool: async (client, args81, ctx) => {
|
|
73781
|
+
const [result, apiCall] = await imagesGetMetadata(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73190
73782
|
if (!result.ok) {
|
|
73191
73783
|
return {
|
|
73192
73784
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73201,9 +73793,9 @@ var init_imagesGetMetadata2 = __esm(() => {
|
|
|
73201
73793
|
|
|
73202
73794
|
// src/funcs/imagesGetPublic.ts
|
|
73203
73795
|
function imagesGetPublic(client, request, options) {
|
|
73204
|
-
return new APIPromise($
|
|
73796
|
+
return new APIPromise($do81(client, request, options));
|
|
73205
73797
|
}
|
|
73206
|
-
async function $
|
|
73798
|
+
async function $do81(client, request, options) {
|
|
73207
73799
|
const parsed = safeParse(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73208
73800
|
if (!parsed.ok) {
|
|
73209
73801
|
return [parsed, { status: "invalid" }];
|
|
@@ -73295,20 +73887,20 @@ var init_imagesGetPublic = __esm(() => {
|
|
|
73295
73887
|
});
|
|
73296
73888
|
|
|
73297
73889
|
// src/mcp-server/tools/imagesGetPublic.ts
|
|
73298
|
-
var
|
|
73890
|
+
var args81, tool$imagesGetPublic;
|
|
73299
73891
|
var init_imagesGetPublic2 = __esm(() => {
|
|
73300
73892
|
init_imagesGetPublic();
|
|
73301
73893
|
init_operations();
|
|
73302
73894
|
init_tools();
|
|
73303
|
-
|
|
73895
|
+
args81 = {
|
|
73304
73896
|
request: GetPublicImageRequest$inboundSchema
|
|
73305
73897
|
};
|
|
73306
73898
|
tool$imagesGetPublic = {
|
|
73307
73899
|
name: "images-get-public",
|
|
73308
73900
|
description: `Get an image by its public ID.`,
|
|
73309
|
-
args:
|
|
73310
|
-
tool: async (client,
|
|
73311
|
-
const [result, apiCall] = await imagesGetPublic(client,
|
|
73901
|
+
args: args81,
|
|
73902
|
+
tool: async (client, args82, ctx) => {
|
|
73903
|
+
const [result, apiCall] = await imagesGetPublic(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73312
73904
|
if (!result.ok) {
|
|
73313
73905
|
return {
|
|
73314
73906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73323,9 +73915,9 @@ var init_imagesGetPublic2 = __esm(() => {
|
|
|
73323
73915
|
|
|
73324
73916
|
// src/funcs/imagesList.ts
|
|
73325
73917
|
function imagesList(client, request, options) {
|
|
73326
|
-
return new APIPromise($
|
|
73918
|
+
return new APIPromise($do82(client, request, options));
|
|
73327
73919
|
}
|
|
73328
|
-
async function $
|
|
73920
|
+
async function $do82(client, request, options) {
|
|
73329
73921
|
const parsed = safeParse(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73330
73922
|
if (!parsed.ok) {
|
|
73331
73923
|
return [parsed, { status: "invalid" }];
|
|
@@ -73408,20 +74000,20 @@ var init_imagesList = __esm(() => {
|
|
|
73408
74000
|
});
|
|
73409
74001
|
|
|
73410
74002
|
// src/mcp-server/tools/imagesList.ts
|
|
73411
|
-
var
|
|
74003
|
+
var args82, tool$imagesList;
|
|
73412
74004
|
var init_imagesList2 = __esm(() => {
|
|
73413
74005
|
init_imagesList();
|
|
73414
74006
|
init_operations();
|
|
73415
74007
|
init_tools();
|
|
73416
|
-
|
|
74008
|
+
args82 = {
|
|
73417
74009
|
request: ListImageMetadataRequest$inboundSchema
|
|
73418
74010
|
};
|
|
73419
74011
|
tool$imagesList = {
|
|
73420
74012
|
name: "images-list",
|
|
73421
74013
|
description: `List metadata for all images in the specified account.`,
|
|
73422
|
-
args:
|
|
73423
|
-
tool: async (client,
|
|
73424
|
-
const [result, apiCall] = await imagesList(client,
|
|
74014
|
+
args: args82,
|
|
74015
|
+
tool: async (client, args83, ctx) => {
|
|
74016
|
+
const [result, apiCall] = await imagesList(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73425
74017
|
if (!result.ok) {
|
|
73426
74018
|
return {
|
|
73427
74019
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73436,9 +74028,9 @@ var init_imagesList2 = __esm(() => {
|
|
|
73436
74028
|
|
|
73437
74029
|
// src/funcs/imagesUpdate.ts
|
|
73438
74030
|
function imagesUpdate(client, request, options) {
|
|
73439
|
-
return new APIPromise($
|
|
74031
|
+
return new APIPromise($do83(client, request, options));
|
|
73440
74032
|
}
|
|
73441
|
-
async function $
|
|
74033
|
+
async function $do83(client, request, options) {
|
|
73442
74034
|
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73443
74035
|
if (!parsed.ok) {
|
|
73444
74036
|
return [parsed, { status: "invalid" }];
|
|
@@ -73554,12 +74146,12 @@ var init_imagesUpdate = __esm(() => {
|
|
|
73554
74146
|
});
|
|
73555
74147
|
|
|
73556
74148
|
// src/mcp-server/tools/imagesUpdate.ts
|
|
73557
|
-
var
|
|
74149
|
+
var args83, tool$imagesUpdate;
|
|
73558
74150
|
var init_imagesUpdate2 = __esm(() => {
|
|
73559
74151
|
init_imagesUpdate();
|
|
73560
74152
|
init_operations();
|
|
73561
74153
|
init_tools();
|
|
73562
|
-
|
|
74154
|
+
args83 = {
|
|
73563
74155
|
request: UpdateImageRequest$inboundSchema
|
|
73564
74156
|
};
|
|
73565
74157
|
tool$imagesUpdate = {
|
|
@@ -73569,9 +74161,9 @@ var init_imagesUpdate2 = __esm(() => {
|
|
|
73569
74161
|
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
73570
74162
|
the metadata form section to keep existing metadata, or send \`null\` to clear it.
|
|
73571
74163
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73572
|
-
args:
|
|
73573
|
-
tool: async (client,
|
|
73574
|
-
const [result, apiCall] = await imagesUpdate(client,
|
|
74164
|
+
args: args83,
|
|
74165
|
+
tool: async (client, args84, ctx) => {
|
|
74166
|
+
const [result, apiCall] = await imagesUpdate(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73575
74167
|
if (!result.ok) {
|
|
73576
74168
|
return {
|
|
73577
74169
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73586,9 +74178,9 @@ Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
|
73586
74178
|
|
|
73587
74179
|
// src/funcs/imagesUpdateMetadata.ts
|
|
73588
74180
|
function imagesUpdateMetadata(client, request, options) {
|
|
73589
|
-
return new APIPromise($
|
|
74181
|
+
return new APIPromise($do84(client, request, options));
|
|
73590
74182
|
}
|
|
73591
|
-
async function $
|
|
74183
|
+
async function $do84(client, request, options) {
|
|
73592
74184
|
const parsed = safeParse(request, (value) => UpdateImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73593
74185
|
if (!parsed.ok) {
|
|
73594
74186
|
return [parsed, { status: "invalid" }];
|
|
@@ -73688,20 +74280,20 @@ var init_imagesUpdateMetadata = __esm(() => {
|
|
|
73688
74280
|
});
|
|
73689
74281
|
|
|
73690
74282
|
// src/mcp-server/tools/imagesUpdateMetadata.ts
|
|
73691
|
-
var
|
|
74283
|
+
var args84, tool$imagesUpdateMetadata;
|
|
73692
74284
|
var init_imagesUpdateMetadata2 = __esm(() => {
|
|
73693
74285
|
init_imagesUpdateMetadata();
|
|
73694
74286
|
init_operations();
|
|
73695
74287
|
init_tools();
|
|
73696
|
-
|
|
74288
|
+
args84 = {
|
|
73697
74289
|
request: UpdateImageMetadataRequest$inboundSchema
|
|
73698
74290
|
};
|
|
73699
74291
|
tool$imagesUpdateMetadata = {
|
|
73700
74292
|
name: "images-update-metadata",
|
|
73701
74293
|
description: `Replace the metadata for an existing image.`,
|
|
73702
|
-
args:
|
|
73703
|
-
tool: async (client,
|
|
73704
|
-
const [result, apiCall] = await imagesUpdateMetadata(client,
|
|
74294
|
+
args: args84,
|
|
74295
|
+
tool: async (client, args85, ctx) => {
|
|
74296
|
+
const [result, apiCall] = await imagesUpdateMetadata(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73705
74297
|
if (!result.ok) {
|
|
73706
74298
|
return {
|
|
73707
74299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73716,9 +74308,9 @@ var init_imagesUpdateMetadata2 = __esm(() => {
|
|
|
73716
74308
|
|
|
73717
74309
|
// src/funcs/imagesUpload.ts
|
|
73718
74310
|
function imagesUpload(client, request, options) {
|
|
73719
|
-
return new APIPromise($
|
|
74311
|
+
return new APIPromise($do85(client, request, options));
|
|
73720
74312
|
}
|
|
73721
|
-
async function $
|
|
74313
|
+
async function $do85(client, request, options) {
|
|
73722
74314
|
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73723
74315
|
if (!parsed.ok) {
|
|
73724
74316
|
return [parsed, { status: "invalid" }];
|
|
@@ -73830,21 +74422,21 @@ var init_imagesUpload = __esm(() => {
|
|
|
73830
74422
|
});
|
|
73831
74423
|
|
|
73832
74424
|
// src/mcp-server/tools/imagesUpload.ts
|
|
73833
|
-
var
|
|
74425
|
+
var args85, tool$imagesUpload;
|
|
73834
74426
|
var init_imagesUpload2 = __esm(() => {
|
|
73835
74427
|
init_imagesUpload();
|
|
73836
74428
|
init_operations();
|
|
73837
74429
|
init_tools();
|
|
73838
|
-
|
|
74430
|
+
args85 = {
|
|
73839
74431
|
request: UploadImageRequest$inboundSchema
|
|
73840
74432
|
};
|
|
73841
74433
|
tool$imagesUpload = {
|
|
73842
74434
|
name: "images-upload",
|
|
73843
74435
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
73844
74436
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73845
|
-
args:
|
|
73846
|
-
tool: async (client,
|
|
73847
|
-
const [result, apiCall] = await imagesUpload(client,
|
|
74437
|
+
args: args85,
|
|
74438
|
+
tool: async (client, args86, ctx) => {
|
|
74439
|
+
const [result, apiCall] = await imagesUpload(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73848
74440
|
if (!result.ok) {
|
|
73849
74441
|
return {
|
|
73850
74442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73859,9 +74451,9 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
73859
74451
|
|
|
73860
74452
|
// src/funcs/industriesList.ts
|
|
73861
74453
|
function industriesList(client, _request, options) {
|
|
73862
|
-
return new APIPromise($
|
|
74454
|
+
return new APIPromise($do86(client, _request, options));
|
|
73863
74455
|
}
|
|
73864
|
-
async function $
|
|
74456
|
+
async function $do86(client, _request, options) {
|
|
73865
74457
|
const path = pathToFunc("/industries")();
|
|
73866
74458
|
const headers = new Headers(compactMap({
|
|
73867
74459
|
Accept: "application/json",
|
|
@@ -73925,12 +74517,12 @@ var init_industriesList = __esm(() => {
|
|
|
73925
74517
|
});
|
|
73926
74518
|
|
|
73927
74519
|
// src/mcp-server/tools/industriesList.ts
|
|
73928
|
-
var
|
|
74520
|
+
var args86, tool$industriesList;
|
|
73929
74521
|
var init_industriesList2 = __esm(() => {
|
|
73930
74522
|
init_industriesList();
|
|
73931
74523
|
init_operations();
|
|
73932
74524
|
init_tools();
|
|
73933
|
-
|
|
74525
|
+
args86 = {
|
|
73934
74526
|
request: ListIndustriesRequest$inboundSchema
|
|
73935
74527
|
};
|
|
73936
74528
|
tool$industriesList = {
|
|
@@ -73939,9 +74531,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
73939
74531
|
|
|
73940
74532
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
73941
74533
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
73942
|
-
args:
|
|
73943
|
-
tool: async (client,
|
|
73944
|
-
const [result, apiCall] = await industriesList(client,
|
|
74534
|
+
args: args86,
|
|
74535
|
+
tool: async (client, args87, ctx) => {
|
|
74536
|
+
const [result, apiCall] = await industriesList(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73945
74537
|
if (!result.ok) {
|
|
73946
74538
|
return {
|
|
73947
74539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73956,9 +74548,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
73956
74548
|
|
|
73957
74549
|
// src/funcs/institutionsSearch.ts
|
|
73958
74550
|
function institutionsSearch(client, request, options) {
|
|
73959
|
-
return new APIPromise($
|
|
74551
|
+
return new APIPromise($do87(client, request, options));
|
|
73960
74552
|
}
|
|
73961
|
-
async function $
|
|
74553
|
+
async function $do87(client, request, options) {
|
|
73962
74554
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73963
74555
|
if (!parsed.ok) {
|
|
73964
74556
|
return [parsed, { status: "invalid" }];
|
|
@@ -74038,12 +74630,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
74038
74630
|
});
|
|
74039
74631
|
|
|
74040
74632
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
74041
|
-
var
|
|
74633
|
+
var args87, tool$institutionsSearch;
|
|
74042
74634
|
var init_institutionsSearch2 = __esm(() => {
|
|
74043
74635
|
init_institutionsSearch();
|
|
74044
74636
|
init_operations();
|
|
74045
74637
|
init_tools();
|
|
74046
|
-
|
|
74638
|
+
args87 = {
|
|
74047
74639
|
request: ListInstitutionsRequest$inboundSchema
|
|
74048
74640
|
};
|
|
74049
74641
|
tool$institutionsSearch = {
|
|
@@ -74052,9 +74644,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
74052
74644
|
|
|
74053
74645
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74054
74646
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
74055
|
-
args:
|
|
74056
|
-
tool: async (client,
|
|
74057
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
74647
|
+
args: args87,
|
|
74648
|
+
tool: async (client, args88, ctx) => {
|
|
74649
|
+
const [result, apiCall] = await institutionsSearch(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74058
74650
|
if (!result.ok) {
|
|
74059
74651
|
return {
|
|
74060
74652
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74069,9 +74661,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
74069
74661
|
|
|
74070
74662
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
74071
74663
|
function institutionsSearchInstitutions(client, request, options) {
|
|
74072
|
-
return new APIPromise($
|
|
74664
|
+
return new APIPromise($do88(client, request, options));
|
|
74073
74665
|
}
|
|
74074
|
-
async function $
|
|
74666
|
+
async function $do88(client, request, options) {
|
|
74075
74667
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74076
74668
|
if (!parsed.ok) {
|
|
74077
74669
|
return [parsed, { status: "invalid" }];
|
|
@@ -74149,12 +74741,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
74149
74741
|
});
|
|
74150
74742
|
|
|
74151
74743
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
74152
|
-
var
|
|
74744
|
+
var args88, tool$institutionsSearchInstitutions;
|
|
74153
74745
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
74154
74746
|
init_institutionsSearchInstitutions();
|
|
74155
74747
|
init_operations();
|
|
74156
74748
|
init_tools();
|
|
74157
|
-
|
|
74749
|
+
args88 = {
|
|
74158
74750
|
request: SearchInstitutionsRequest$inboundSchema
|
|
74159
74751
|
};
|
|
74160
74752
|
tool$institutionsSearchInstitutions = {
|
|
@@ -74167,9 +74759,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
74167
74759
|
|
|
74168
74760
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74169
74761
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
74170
|
-
args:
|
|
74171
|
-
tool: async (client,
|
|
74172
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
74762
|
+
args: args88,
|
|
74763
|
+
tool: async (client, args89, ctx) => {
|
|
74764
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74173
74765
|
if (!result.ok) {
|
|
74174
74766
|
return {
|
|
74175
74767
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74184,9 +74776,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
74184
74776
|
|
|
74185
74777
|
// src/funcs/issuingTransactionsGet.ts
|
|
74186
74778
|
function issuingTransactionsGet(client, request, options) {
|
|
74187
|
-
return new APIPromise($
|
|
74779
|
+
return new APIPromise($do89(client, request, options));
|
|
74188
74780
|
}
|
|
74189
|
-
async function $
|
|
74781
|
+
async function $do89(client, request, options) {
|
|
74190
74782
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74191
74783
|
if (!parsed.ok) {
|
|
74192
74784
|
return [parsed, { status: "invalid" }];
|
|
@@ -74265,12 +74857,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
74265
74857
|
});
|
|
74266
74858
|
|
|
74267
74859
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
74268
|
-
var
|
|
74860
|
+
var args89, tool$issuingTransactionsGet;
|
|
74269
74861
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
74270
74862
|
init_issuingTransactionsGet();
|
|
74271
74863
|
init_operations();
|
|
74272
74864
|
init_tools();
|
|
74273
|
-
|
|
74865
|
+
args89 = {
|
|
74274
74866
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
74275
74867
|
};
|
|
74276
74868
|
tool$issuingTransactionsGet = {
|
|
@@ -74279,9 +74871,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
74279
74871
|
|
|
74280
74872
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74281
74873
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74282
|
-
args:
|
|
74283
|
-
tool: async (client,
|
|
74284
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
74874
|
+
args: args89,
|
|
74875
|
+
tool: async (client, args90, ctx) => {
|
|
74876
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74285
74877
|
if (!result.ok) {
|
|
74286
74878
|
return {
|
|
74287
74879
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74296,9 +74888,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74296
74888
|
|
|
74297
74889
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
74298
74890
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
74299
|
-
return new APIPromise($
|
|
74891
|
+
return new APIPromise($do90(client, request, options));
|
|
74300
74892
|
}
|
|
74301
|
-
async function $
|
|
74893
|
+
async function $do90(client, request, options) {
|
|
74302
74894
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74303
74895
|
if (!parsed.ok) {
|
|
74304
74896
|
return [parsed, { status: "invalid" }];
|
|
@@ -74380,12 +74972,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
74380
74972
|
});
|
|
74381
74973
|
|
|
74382
74974
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
74383
|
-
var
|
|
74975
|
+
var args90, tool$issuingTransactionsGetAuthorization;
|
|
74384
74976
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
74385
74977
|
init_issuingTransactionsGetAuthorization();
|
|
74386
74978
|
init_operations();
|
|
74387
74979
|
init_tools();
|
|
74388
|
-
|
|
74980
|
+
args90 = {
|
|
74389
74981
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
74390
74982
|
};
|
|
74391
74983
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -74394,9 +74986,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
74394
74986
|
|
|
74395
74987
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74396
74988
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74397
|
-
args:
|
|
74398
|
-
tool: async (client,
|
|
74399
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
74989
|
+
args: args90,
|
|
74990
|
+
tool: async (client, args91, ctx) => {
|
|
74991
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74400
74992
|
if (!result.ok) {
|
|
74401
74993
|
return {
|
|
74402
74994
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74411,9 +75003,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74411
75003
|
|
|
74412
75004
|
// src/funcs/issuingTransactionsList.ts
|
|
74413
75005
|
function issuingTransactionsList(client, request, options) {
|
|
74414
|
-
return new APIPromise($
|
|
75006
|
+
return new APIPromise($do91(client, request, options));
|
|
74415
75007
|
}
|
|
74416
|
-
async function $
|
|
75008
|
+
async function $do91(client, request, options) {
|
|
74417
75009
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74418
75010
|
if (!parsed.ok) {
|
|
74419
75011
|
return [parsed, { status: "invalid" }];
|
|
@@ -74499,12 +75091,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
74499
75091
|
});
|
|
74500
75092
|
|
|
74501
75093
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
74502
|
-
var
|
|
75094
|
+
var args91, tool$issuingTransactionsList;
|
|
74503
75095
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
74504
75096
|
init_issuingTransactionsList();
|
|
74505
75097
|
init_operations();
|
|
74506
75098
|
init_tools();
|
|
74507
|
-
|
|
75099
|
+
args91 = {
|
|
74508
75100
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
74509
75101
|
};
|
|
74510
75102
|
tool$issuingTransactionsList = {
|
|
@@ -74513,9 +75105,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
74513
75105
|
|
|
74514
75106
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74515
75107
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74516
|
-
args:
|
|
74517
|
-
tool: async (client,
|
|
74518
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
75108
|
+
args: args91,
|
|
75109
|
+
tool: async (client, args92, ctx) => {
|
|
75110
|
+
const [result, apiCall] = await issuingTransactionsList(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74519
75111
|
if (!result.ok) {
|
|
74520
75112
|
return {
|
|
74521
75113
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74530,9 +75122,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74530
75122
|
|
|
74531
75123
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
74532
75124
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
74533
|
-
return new APIPromise($
|
|
75125
|
+
return new APIPromise($do92(client, request, options));
|
|
74534
75126
|
}
|
|
74535
|
-
async function $
|
|
75127
|
+
async function $do92(client, request, options) {
|
|
74536
75128
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74537
75129
|
if (!parsed.ok) {
|
|
74538
75130
|
return [parsed, { status: "invalid" }];
|
|
@@ -74616,12 +75208,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
74616
75208
|
});
|
|
74617
75209
|
|
|
74618
75210
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
74619
|
-
var
|
|
75211
|
+
var args92, tool$issuingTransactionsListAuthorizationEvents;
|
|
74620
75212
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
74621
75213
|
init_issuingTransactionsListAuthorizationEvents();
|
|
74622
75214
|
init_operations();
|
|
74623
75215
|
init_tools();
|
|
74624
|
-
|
|
75216
|
+
args92 = {
|
|
74625
75217
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
74626
75218
|
};
|
|
74627
75219
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -74630,9 +75222,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
74630
75222
|
|
|
74631
75223
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74632
75224
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74633
|
-
args:
|
|
74634
|
-
tool: async (client,
|
|
74635
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
75225
|
+
args: args92,
|
|
75226
|
+
tool: async (client, args93, ctx) => {
|
|
75227
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74636
75228
|
if (!result.ok) {
|
|
74637
75229
|
return {
|
|
74638
75230
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74647,9 +75239,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74647
75239
|
|
|
74648
75240
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
74649
75241
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
74650
|
-
return new APIPromise($
|
|
75242
|
+
return new APIPromise($do93(client, request, options));
|
|
74651
75243
|
}
|
|
74652
|
-
async function $
|
|
75244
|
+
async function $do93(client, request, options) {
|
|
74653
75245
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74654
75246
|
if (!parsed.ok) {
|
|
74655
75247
|
return [parsed, { status: "invalid" }];
|
|
@@ -74736,12 +75328,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
74736
75328
|
});
|
|
74737
75329
|
|
|
74738
75330
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
74739
|
-
var
|
|
75331
|
+
var args93, tool$issuingTransactionsListAuthorizations;
|
|
74740
75332
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
74741
75333
|
init_issuingTransactionsListAuthorizations();
|
|
74742
75334
|
init_operations();
|
|
74743
75335
|
init_tools();
|
|
74744
|
-
|
|
75336
|
+
args93 = {
|
|
74745
75337
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
74746
75338
|
};
|
|
74747
75339
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -74750,9 +75342,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
74750
75342
|
|
|
74751
75343
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74752
75344
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74753
|
-
args:
|
|
74754
|
-
tool: async (client,
|
|
74755
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
75345
|
+
args: args93,
|
|
75346
|
+
tool: async (client, args94, ctx) => {
|
|
75347
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74756
75348
|
if (!result.ok) {
|
|
74757
75349
|
return {
|
|
74758
75350
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74767,9 +75359,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74767
75359
|
|
|
74768
75360
|
// src/funcs/onboardingCreateInvite.ts
|
|
74769
75361
|
function onboardingCreateInvite(client, request, options) {
|
|
74770
|
-
return new APIPromise($
|
|
75362
|
+
return new APIPromise($do94(client, request, options));
|
|
74771
75363
|
}
|
|
74772
|
-
async function $
|
|
75364
|
+
async function $do94(client, request, options) {
|
|
74773
75365
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74774
75366
|
if (!parsed.ok) {
|
|
74775
75367
|
return [parsed, { status: "invalid" }];
|
|
@@ -74856,12 +75448,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
74856
75448
|
});
|
|
74857
75449
|
|
|
74858
75450
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
74859
|
-
var
|
|
75451
|
+
var args94, tool$onboardingCreateInvite;
|
|
74860
75452
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
74861
75453
|
init_onboardingCreateInvite();
|
|
74862
75454
|
init_components();
|
|
74863
75455
|
init_tools();
|
|
74864
|
-
|
|
75456
|
+
args94 = {
|
|
74865
75457
|
request: OnboardingInviteRequest$inboundSchema
|
|
74866
75458
|
};
|
|
74867
75459
|
tool$onboardingCreateInvite = {
|
|
@@ -74870,9 +75462,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
74870
75462
|
|
|
74871
75463
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74872
75464
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74873
|
-
args:
|
|
74874
|
-
tool: async (client,
|
|
74875
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
75465
|
+
args: args94,
|
|
75466
|
+
tool: async (client, args95, ctx) => {
|
|
75467
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74876
75468
|
if (!result.ok) {
|
|
74877
75469
|
return {
|
|
74878
75470
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74887,9 +75479,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74887
75479
|
|
|
74888
75480
|
// src/funcs/onboardingGetInvite.ts
|
|
74889
75481
|
function onboardingGetInvite(client, request, options) {
|
|
74890
|
-
return new APIPromise($
|
|
75482
|
+
return new APIPromise($do95(client, request, options));
|
|
74891
75483
|
}
|
|
74892
|
-
async function $
|
|
75484
|
+
async function $do95(client, request, options) {
|
|
74893
75485
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74894
75486
|
if (!parsed.ok) {
|
|
74895
75487
|
return [parsed, { status: "invalid" }];
|
|
@@ -74967,12 +75559,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
74967
75559
|
});
|
|
74968
75560
|
|
|
74969
75561
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
74970
|
-
var
|
|
75562
|
+
var args95, tool$onboardingGetInvite;
|
|
74971
75563
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
74972
75564
|
init_onboardingGetInvite();
|
|
74973
75565
|
init_operations();
|
|
74974
75566
|
init_tools();
|
|
74975
|
-
|
|
75567
|
+
args95 = {
|
|
74976
75568
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
74977
75569
|
};
|
|
74978
75570
|
tool$onboardingGetInvite = {
|
|
@@ -74981,9 +75573,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
74981
75573
|
|
|
74982
75574
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74983
75575
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74984
|
-
args:
|
|
74985
|
-
tool: async (client,
|
|
74986
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
75576
|
+
args: args95,
|
|
75577
|
+
tool: async (client, args96, ctx) => {
|
|
75578
|
+
const [result, apiCall] = await onboardingGetInvite(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74987
75579
|
if (!result.ok) {
|
|
74988
75580
|
return {
|
|
74989
75581
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74998,9 +75590,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74998
75590
|
|
|
74999
75591
|
// src/funcs/onboardingListInvites.ts
|
|
75000
75592
|
function onboardingListInvites(client, _request, options) {
|
|
75001
|
-
return new APIPromise($
|
|
75593
|
+
return new APIPromise($do96(client, _request, options));
|
|
75002
75594
|
}
|
|
75003
|
-
async function $
|
|
75595
|
+
async function $do96(client, _request, options) {
|
|
75004
75596
|
const path = pathToFunc("/onboarding-invites")();
|
|
75005
75597
|
const headers = new Headers(compactMap({
|
|
75006
75598
|
Accept: "application/json",
|
|
@@ -75064,12 +75656,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
75064
75656
|
});
|
|
75065
75657
|
|
|
75066
75658
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
75067
|
-
var
|
|
75659
|
+
var args96, tool$onboardingListInvites;
|
|
75068
75660
|
var init_onboardingListInvites2 = __esm(() => {
|
|
75069
75661
|
init_onboardingListInvites();
|
|
75070
75662
|
init_operations();
|
|
75071
75663
|
init_tools();
|
|
75072
|
-
|
|
75664
|
+
args96 = {
|
|
75073
75665
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
75074
75666
|
};
|
|
75075
75667
|
tool$onboardingListInvites = {
|
|
@@ -75078,9 +75670,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
75078
75670
|
|
|
75079
75671
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75080
75672
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
75081
|
-
args:
|
|
75082
|
-
tool: async (client,
|
|
75083
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
75673
|
+
args: args96,
|
|
75674
|
+
tool: async (client, args97, ctx) => {
|
|
75675
|
+
const [result, apiCall] = await onboardingListInvites(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75084
75676
|
if (!result.ok) {
|
|
75085
75677
|
return {
|
|
75086
75678
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75095,9 +75687,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
75095
75687
|
|
|
75096
75688
|
// src/funcs/onboardingRevokeInvite.ts
|
|
75097
75689
|
function onboardingRevokeInvite(client, request, options) {
|
|
75098
|
-
return new APIPromise($
|
|
75690
|
+
return new APIPromise($do97(client, request, options));
|
|
75099
75691
|
}
|
|
75100
|
-
async function $
|
|
75692
|
+
async function $do97(client, request, options) {
|
|
75101
75693
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75102
75694
|
if (!parsed.ok) {
|
|
75103
75695
|
return [parsed, { status: "invalid" }];
|
|
@@ -75172,12 +75764,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
75172
75764
|
});
|
|
75173
75765
|
|
|
75174
75766
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
75175
|
-
var
|
|
75767
|
+
var args97, tool$onboardingRevokeInvite;
|
|
75176
75768
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
75177
75769
|
init_onboardingRevokeInvite();
|
|
75178
75770
|
init_operations();
|
|
75179
75771
|
init_tools();
|
|
75180
|
-
|
|
75772
|
+
args97 = {
|
|
75181
75773
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
75182
75774
|
};
|
|
75183
75775
|
tool$onboardingRevokeInvite = {
|
|
@@ -75186,9 +75778,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
75186
75778
|
|
|
75187
75779
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75188
75780
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
75189
|
-
args:
|
|
75190
|
-
tool: async (client,
|
|
75191
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
75781
|
+
args: args97,
|
|
75782
|
+
tool: async (client, args98, ctx) => {
|
|
75783
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75192
75784
|
if (!result.ok) {
|
|
75193
75785
|
return {
|
|
75194
75786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75202,9 +75794,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
75202
75794
|
|
|
75203
75795
|
// src/funcs/paymentLinksCreate.ts
|
|
75204
75796
|
function paymentLinksCreate(client, request, options) {
|
|
75205
|
-
return new APIPromise($
|
|
75797
|
+
return new APIPromise($do98(client, request, options));
|
|
75206
75798
|
}
|
|
75207
|
-
async function $
|
|
75799
|
+
async function $do98(client, request, options) {
|
|
75208
75800
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75209
75801
|
if (!parsed.ok) {
|
|
75210
75802
|
return [parsed, { status: "invalid" }];
|
|
@@ -75296,12 +75888,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
75296
75888
|
});
|
|
75297
75889
|
|
|
75298
75890
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
75299
|
-
var
|
|
75891
|
+
var args98, tool$paymentLinksCreate;
|
|
75300
75892
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
75301
75893
|
init_paymentLinksCreate();
|
|
75302
75894
|
init_operations();
|
|
75303
75895
|
init_tools();
|
|
75304
|
-
|
|
75896
|
+
args98 = {
|
|
75305
75897
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
75306
75898
|
};
|
|
75307
75899
|
tool$paymentLinksCreate = {
|
|
@@ -75310,9 +75902,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
75310
75902
|
|
|
75311
75903
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75312
75904
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75313
|
-
args:
|
|
75314
|
-
tool: async (client,
|
|
75315
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
75905
|
+
args: args98,
|
|
75906
|
+
tool: async (client, args99, ctx) => {
|
|
75907
|
+
const [result, apiCall] = await paymentLinksCreate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75316
75908
|
if (!result.ok) {
|
|
75317
75909
|
return {
|
|
75318
75910
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75327,9 +75919,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75327
75919
|
|
|
75328
75920
|
// src/funcs/paymentLinksDisable.ts
|
|
75329
75921
|
function paymentLinksDisable(client, request, options) {
|
|
75330
|
-
return new APIPromise($
|
|
75922
|
+
return new APIPromise($do99(client, request, options));
|
|
75331
75923
|
}
|
|
75332
|
-
async function $
|
|
75924
|
+
async function $do99(client, request, options) {
|
|
75333
75925
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75334
75926
|
if (!parsed.ok) {
|
|
75335
75927
|
return [parsed, { status: "invalid" }];
|
|
@@ -75410,12 +76002,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
75410
76002
|
});
|
|
75411
76003
|
|
|
75412
76004
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
75413
|
-
var
|
|
76005
|
+
var args99, tool$paymentLinksDisable;
|
|
75414
76006
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
75415
76007
|
init_paymentLinksDisable();
|
|
75416
76008
|
init_operations();
|
|
75417
76009
|
init_tools();
|
|
75418
|
-
|
|
76010
|
+
args99 = {
|
|
75419
76011
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
75420
76012
|
};
|
|
75421
76013
|
tool$paymentLinksDisable = {
|
|
@@ -75424,9 +76016,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
75424
76016
|
|
|
75425
76017
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75426
76018
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75427
|
-
args:
|
|
75428
|
-
tool: async (client,
|
|
75429
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
76019
|
+
args: args99,
|
|
76020
|
+
tool: async (client, args100, ctx) => {
|
|
76021
|
+
const [result, apiCall] = await paymentLinksDisable(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75430
76022
|
if (!result.ok) {
|
|
75431
76023
|
return {
|
|
75432
76024
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75440,9 +76032,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75440
76032
|
|
|
75441
76033
|
// src/funcs/paymentLinksGet.ts
|
|
75442
76034
|
function paymentLinksGet(client, request, options) {
|
|
75443
|
-
return new APIPromise($
|
|
76035
|
+
return new APIPromise($do100(client, request, options));
|
|
75444
76036
|
}
|
|
75445
|
-
async function $
|
|
76037
|
+
async function $do100(client, request, options) {
|
|
75446
76038
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75447
76039
|
if (!parsed.ok) {
|
|
75448
76040
|
return [parsed, { status: "invalid" }];
|
|
@@ -75524,12 +76116,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
75524
76116
|
});
|
|
75525
76117
|
|
|
75526
76118
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
75527
|
-
var
|
|
76119
|
+
var args100, tool$paymentLinksGet;
|
|
75528
76120
|
var init_paymentLinksGet2 = __esm(() => {
|
|
75529
76121
|
init_paymentLinksGet();
|
|
75530
76122
|
init_operations();
|
|
75531
76123
|
init_tools();
|
|
75532
|
-
|
|
76124
|
+
args100 = {
|
|
75533
76125
|
request: GetPaymentLinkRequest$inboundSchema
|
|
75534
76126
|
};
|
|
75535
76127
|
tool$paymentLinksGet = {
|
|
@@ -75538,9 +76130,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
75538
76130
|
|
|
75539
76131
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75540
76132
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75541
|
-
args:
|
|
75542
|
-
tool: async (client,
|
|
75543
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
76133
|
+
args: args100,
|
|
76134
|
+
tool: async (client, args101, ctx) => {
|
|
76135
|
+
const [result, apiCall] = await paymentLinksGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75544
76136
|
if (!result.ok) {
|
|
75545
76137
|
return {
|
|
75546
76138
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75555,9 +76147,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75555
76147
|
|
|
75556
76148
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
75557
76149
|
function paymentLinksGetQRCode(client, request, options) {
|
|
75558
|
-
return new APIPromise($
|
|
76150
|
+
return new APIPromise($do101(client, request, options));
|
|
75559
76151
|
}
|
|
75560
|
-
async function $
|
|
76152
|
+
async function $do101(client, request, options) {
|
|
75561
76153
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75562
76154
|
if (!parsed.ok) {
|
|
75563
76155
|
return [parsed, { status: "invalid" }];
|
|
@@ -75643,12 +76235,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
75643
76235
|
});
|
|
75644
76236
|
|
|
75645
76237
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
75646
|
-
var
|
|
76238
|
+
var args101, tool$paymentLinksGetQRCode;
|
|
75647
76239
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
75648
76240
|
init_paymentLinksGetQRCode();
|
|
75649
76241
|
init_operations();
|
|
75650
76242
|
init_tools();
|
|
75651
|
-
|
|
76243
|
+
args101 = {
|
|
75652
76244
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
75653
76245
|
};
|
|
75654
76246
|
tool$paymentLinksGetQRCode = {
|
|
@@ -75659,9 +76251,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75659
76251
|
|
|
75660
76252
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75661
76253
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75662
|
-
args:
|
|
75663
|
-
tool: async (client,
|
|
75664
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
76254
|
+
args: args101,
|
|
76255
|
+
tool: async (client, args102, ctx) => {
|
|
76256
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75665
76257
|
if (!result.ok) {
|
|
75666
76258
|
return {
|
|
75667
76259
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75676,9 +76268,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75676
76268
|
|
|
75677
76269
|
// src/funcs/paymentLinksList.ts
|
|
75678
76270
|
function paymentLinksList(client, request, options) {
|
|
75679
|
-
return new APIPromise($
|
|
76271
|
+
return new APIPromise($do102(client, request, options));
|
|
75680
76272
|
}
|
|
75681
|
-
async function $
|
|
76273
|
+
async function $do102(client, request, options) {
|
|
75682
76274
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75683
76275
|
if (!parsed.ok) {
|
|
75684
76276
|
return [parsed, { status: "invalid" }];
|
|
@@ -75756,12 +76348,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
75756
76348
|
});
|
|
75757
76349
|
|
|
75758
76350
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
75759
|
-
var
|
|
76351
|
+
var args102, tool$paymentLinksList;
|
|
75760
76352
|
var init_paymentLinksList2 = __esm(() => {
|
|
75761
76353
|
init_paymentLinksList();
|
|
75762
76354
|
init_operations();
|
|
75763
76355
|
init_tools();
|
|
75764
|
-
|
|
76356
|
+
args102 = {
|
|
75765
76357
|
request: ListPaymentLinksRequest$inboundSchema
|
|
75766
76358
|
};
|
|
75767
76359
|
tool$paymentLinksList = {
|
|
@@ -75770,9 +76362,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
75770
76362
|
|
|
75771
76363
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75772
76364
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75773
|
-
args:
|
|
75774
|
-
tool: async (client,
|
|
75775
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
76365
|
+
args: args102,
|
|
76366
|
+
tool: async (client, args103, ctx) => {
|
|
76367
|
+
const [result, apiCall] = await paymentLinksList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75776
76368
|
if (!result.ok) {
|
|
75777
76369
|
return {
|
|
75778
76370
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75787,9 +76379,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75787
76379
|
|
|
75788
76380
|
// src/funcs/paymentLinksUpdate.ts
|
|
75789
76381
|
function paymentLinksUpdate(client, request, options) {
|
|
75790
|
-
return new APIPromise($
|
|
76382
|
+
return new APIPromise($do103(client, request, options));
|
|
75791
76383
|
}
|
|
75792
|
-
async function $
|
|
76384
|
+
async function $do103(client, request, options) {
|
|
75793
76385
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75794
76386
|
if (!parsed.ok) {
|
|
75795
76387
|
return [parsed, { status: "invalid" }];
|
|
@@ -75885,12 +76477,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
75885
76477
|
});
|
|
75886
76478
|
|
|
75887
76479
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
75888
|
-
var
|
|
76480
|
+
var args103, tool$paymentLinksUpdate;
|
|
75889
76481
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
75890
76482
|
init_paymentLinksUpdate();
|
|
75891
76483
|
init_operations();
|
|
75892
76484
|
init_tools();
|
|
75893
|
-
|
|
76485
|
+
args103 = {
|
|
75894
76486
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
75895
76487
|
};
|
|
75896
76488
|
tool$paymentLinksUpdate = {
|
|
@@ -75899,9 +76491,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
75899
76491
|
|
|
75900
76492
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75901
76493
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75902
|
-
args:
|
|
75903
|
-
tool: async (client,
|
|
75904
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
76494
|
+
args: args103,
|
|
76495
|
+
tool: async (client, args104, ctx) => {
|
|
76496
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75905
76497
|
if (!result.ok) {
|
|
75906
76498
|
return {
|
|
75907
76499
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75916,9 +76508,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75916
76508
|
|
|
75917
76509
|
// src/funcs/paymentMethodsGet.ts
|
|
75918
76510
|
function paymentMethodsGet(client, request, options) {
|
|
75919
|
-
return new APIPromise($
|
|
76511
|
+
return new APIPromise($do104(client, request, options));
|
|
75920
76512
|
}
|
|
75921
|
-
async function $
|
|
76513
|
+
async function $do104(client, request, options) {
|
|
75922
76514
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75923
76515
|
if (!parsed.ok) {
|
|
75924
76516
|
return [parsed, { status: "invalid" }];
|
|
@@ -76000,12 +76592,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
76000
76592
|
});
|
|
76001
76593
|
|
|
76002
76594
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
76003
|
-
var
|
|
76595
|
+
var args104, tool$paymentMethodsGet;
|
|
76004
76596
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
76005
76597
|
init_paymentMethodsGet();
|
|
76006
76598
|
init_operations();
|
|
76007
76599
|
init_tools();
|
|
76008
|
-
|
|
76600
|
+
args104 = {
|
|
76009
76601
|
request: GetPaymentMethodRequest$inboundSchema
|
|
76010
76602
|
};
|
|
76011
76603
|
tool$paymentMethodsGet = {
|
|
@@ -76014,9 +76606,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
76014
76606
|
|
|
76015
76607
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76016
76608
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
76017
|
-
args:
|
|
76018
|
-
tool: async (client,
|
|
76019
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
76609
|
+
args: args104,
|
|
76610
|
+
tool: async (client, args105, ctx) => {
|
|
76611
|
+
const [result, apiCall] = await paymentMethodsGet(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76020
76612
|
if (!result.ok) {
|
|
76021
76613
|
return {
|
|
76022
76614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76031,9 +76623,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
76031
76623
|
|
|
76032
76624
|
// src/funcs/paymentMethodsList.ts
|
|
76033
76625
|
function paymentMethodsList(client, request, options) {
|
|
76034
|
-
return new APIPromise($
|
|
76626
|
+
return new APIPromise($do105(client, request, options));
|
|
76035
76627
|
}
|
|
76036
|
-
async function $
|
|
76628
|
+
async function $do105(client, request, options) {
|
|
76037
76629
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76038
76630
|
if (!parsed.ok) {
|
|
76039
76631
|
return [parsed, { status: "invalid" }];
|
|
@@ -76116,12 +76708,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
76116
76708
|
});
|
|
76117
76709
|
|
|
76118
76710
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
76119
|
-
var
|
|
76711
|
+
var args105, tool$paymentMethodsList;
|
|
76120
76712
|
var init_paymentMethodsList2 = __esm(() => {
|
|
76121
76713
|
init_paymentMethodsList();
|
|
76122
76714
|
init_operations();
|
|
76123
76715
|
init_tools();
|
|
76124
|
-
|
|
76716
|
+
args105 = {
|
|
76125
76717
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
76126
76718
|
};
|
|
76127
76719
|
tool$paymentMethodsList = {
|
|
@@ -76131,9 +76723,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
76131
76723
|
|
|
76132
76724
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76133
76725
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
76134
|
-
args:
|
|
76135
|
-
tool: async (client,
|
|
76136
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
76726
|
+
args: args105,
|
|
76727
|
+
tool: async (client, args106, ctx) => {
|
|
76728
|
+
const [result, apiCall] = await paymentMethodsList(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76137
76729
|
if (!result.ok) {
|
|
76138
76730
|
return {
|
|
76139
76731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76148,9 +76740,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
76148
76740
|
|
|
76149
76741
|
// src/funcs/pingPing.ts
|
|
76150
76742
|
function pingPing(client, _request, options) {
|
|
76151
|
-
return new APIPromise($
|
|
76743
|
+
return new APIPromise($do106(client, _request, options));
|
|
76152
76744
|
}
|
|
76153
|
-
async function $
|
|
76745
|
+
async function $do106(client, _request, options) {
|
|
76154
76746
|
const path = pathToFunc("/ping")();
|
|
76155
76747
|
const headers = new Headers(compactMap({
|
|
76156
76748
|
Accept: "*/*",
|
|
@@ -76213,12 +76805,12 @@ var init_pingPing = __esm(() => {
|
|
|
76213
76805
|
});
|
|
76214
76806
|
|
|
76215
76807
|
// src/mcp-server/tools/pingPing.ts
|
|
76216
|
-
var
|
|
76808
|
+
var args106, tool$pingPing;
|
|
76217
76809
|
var init_pingPing2 = __esm(() => {
|
|
76218
76810
|
init_pingPing();
|
|
76219
76811
|
init_operations();
|
|
76220
76812
|
init_tools();
|
|
76221
|
-
|
|
76813
|
+
args106 = {
|
|
76222
76814
|
request: PingRequest$inboundSchema
|
|
76223
76815
|
};
|
|
76224
76816
|
tool$pingPing = {
|
|
@@ -76227,9 +76819,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
76227
76819
|
|
|
76228
76820
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76229
76821
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
76230
|
-
args:
|
|
76231
|
-
tool: async (client,
|
|
76232
|
-
const [result, apiCall] = await pingPing(client,
|
|
76822
|
+
args: args106,
|
|
76823
|
+
tool: async (client, args107, ctx) => {
|
|
76824
|
+
const [result, apiCall] = await pingPing(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76233
76825
|
if (!result.ok) {
|
|
76234
76826
|
return {
|
|
76235
76827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76243,9 +76835,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
76243
76835
|
|
|
76244
76836
|
// src/funcs/productsCreate.ts
|
|
76245
76837
|
function productsCreate(client, request, options) {
|
|
76246
|
-
return new APIPromise($
|
|
76838
|
+
return new APIPromise($do107(client, request, options));
|
|
76247
76839
|
}
|
|
76248
|
-
async function $
|
|
76840
|
+
async function $do107(client, request, options) {
|
|
76249
76841
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76250
76842
|
if (!parsed.ok) {
|
|
76251
76843
|
return [parsed, { status: "invalid" }];
|
|
@@ -76339,20 +76931,20 @@ var init_productsCreate = __esm(() => {
|
|
|
76339
76931
|
});
|
|
76340
76932
|
|
|
76341
76933
|
// src/mcp-server/tools/productsCreate.ts
|
|
76342
|
-
var
|
|
76934
|
+
var args107, tool$productsCreate;
|
|
76343
76935
|
var init_productsCreate2 = __esm(() => {
|
|
76344
76936
|
init_productsCreate();
|
|
76345
76937
|
init_operations();
|
|
76346
76938
|
init_tools();
|
|
76347
|
-
|
|
76939
|
+
args107 = {
|
|
76348
76940
|
request: CreateProductRequest$inboundSchema
|
|
76349
76941
|
};
|
|
76350
76942
|
tool$productsCreate = {
|
|
76351
76943
|
name: "products-create",
|
|
76352
76944
|
description: `Creates a new product for the specified account.`,
|
|
76353
|
-
args:
|
|
76354
|
-
tool: async (client,
|
|
76355
|
-
const [result, apiCall] = await productsCreate(client,
|
|
76945
|
+
args: args107,
|
|
76946
|
+
tool: async (client, args108, ctx) => {
|
|
76947
|
+
const [result, apiCall] = await productsCreate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76356
76948
|
if (!result.ok) {
|
|
76357
76949
|
return {
|
|
76358
76950
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76367,9 +76959,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
76367
76959
|
|
|
76368
76960
|
// src/funcs/productsDisable.ts
|
|
76369
76961
|
function productsDisable(client, request, options) {
|
|
76370
|
-
return new APIPromise($
|
|
76962
|
+
return new APIPromise($do108(client, request, options));
|
|
76371
76963
|
}
|
|
76372
|
-
async function $
|
|
76964
|
+
async function $do108(client, request, options) {
|
|
76373
76965
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76374
76966
|
if (!parsed.ok) {
|
|
76375
76967
|
return [parsed, { status: "invalid" }];
|
|
@@ -76462,12 +77054,12 @@ var init_productsDisable = __esm(() => {
|
|
|
76462
77054
|
});
|
|
76463
77055
|
|
|
76464
77056
|
// src/mcp-server/tools/productsDisable.ts
|
|
76465
|
-
var
|
|
77057
|
+
var args108, tool$productsDisable;
|
|
76466
77058
|
var init_productsDisable2 = __esm(() => {
|
|
76467
77059
|
init_productsDisable();
|
|
76468
77060
|
init_operations();
|
|
76469
77061
|
init_tools();
|
|
76470
|
-
|
|
77062
|
+
args108 = {
|
|
76471
77063
|
request: DisableProductRequest$inboundSchema
|
|
76472
77064
|
};
|
|
76473
77065
|
tool$productsDisable = {
|
|
@@ -76475,9 +77067,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
76475
77067
|
description: `Disable a product by ID.
|
|
76476
77068
|
|
|
76477
77069
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
76478
|
-
args:
|
|
76479
|
-
tool: async (client,
|
|
76480
|
-
const [result, apiCall] = await productsDisable(client,
|
|
77070
|
+
args: args108,
|
|
77071
|
+
tool: async (client, args109, ctx) => {
|
|
77072
|
+
const [result, apiCall] = await productsDisable(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76481
77073
|
if (!result.ok) {
|
|
76482
77074
|
return {
|
|
76483
77075
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76491,9 +77083,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
76491
77083
|
|
|
76492
77084
|
// src/funcs/productsGet.ts
|
|
76493
77085
|
function productsGet(client, request, options) {
|
|
76494
|
-
return new APIPromise($
|
|
77086
|
+
return new APIPromise($do109(client, request, options));
|
|
76495
77087
|
}
|
|
76496
|
-
async function $
|
|
77088
|
+
async function $do109(client, request, options) {
|
|
76497
77089
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76498
77090
|
if (!parsed.ok) {
|
|
76499
77091
|
return [parsed, { status: "invalid" }];
|
|
@@ -76575,20 +77167,20 @@ var init_productsGet = __esm(() => {
|
|
|
76575
77167
|
});
|
|
76576
77168
|
|
|
76577
77169
|
// src/mcp-server/tools/productsGet.ts
|
|
76578
|
-
var
|
|
77170
|
+
var args109, tool$productsGet;
|
|
76579
77171
|
var init_productsGet2 = __esm(() => {
|
|
76580
77172
|
init_productsGet();
|
|
76581
77173
|
init_operations();
|
|
76582
77174
|
init_tools();
|
|
76583
|
-
|
|
77175
|
+
args109 = {
|
|
76584
77176
|
request: GetProductRequest$inboundSchema
|
|
76585
77177
|
};
|
|
76586
77178
|
tool$productsGet = {
|
|
76587
77179
|
name: "products-get",
|
|
76588
77180
|
description: `Retrieve a product by ID.`,
|
|
76589
|
-
args:
|
|
76590
|
-
tool: async (client,
|
|
76591
|
-
const [result, apiCall] = await productsGet(client,
|
|
77181
|
+
args: args109,
|
|
77182
|
+
tool: async (client, args110, ctx) => {
|
|
77183
|
+
const [result, apiCall] = await productsGet(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76592
77184
|
if (!result.ok) {
|
|
76593
77185
|
return {
|
|
76594
77186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76603,9 +77195,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
76603
77195
|
|
|
76604
77196
|
// src/funcs/productsList.ts
|
|
76605
77197
|
function productsList(client, request, options) {
|
|
76606
|
-
return new APIPromise($
|
|
77198
|
+
return new APIPromise($do110(client, request, options));
|
|
76607
77199
|
}
|
|
76608
|
-
async function $
|
|
77200
|
+
async function $do110(client, request, options) {
|
|
76609
77201
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76610
77202
|
if (!parsed.ok) {
|
|
76611
77203
|
return [parsed, { status: "invalid" }];
|
|
@@ -76688,20 +77280,20 @@ var init_productsList = __esm(() => {
|
|
|
76688
77280
|
});
|
|
76689
77281
|
|
|
76690
77282
|
// src/mcp-server/tools/productsList.ts
|
|
76691
|
-
var
|
|
77283
|
+
var args110, tool$productsList;
|
|
76692
77284
|
var init_productsList2 = __esm(() => {
|
|
76693
77285
|
init_productsList();
|
|
76694
77286
|
init_operations();
|
|
76695
77287
|
init_tools();
|
|
76696
|
-
|
|
77288
|
+
args110 = {
|
|
76697
77289
|
request: ListProductsRequest$inboundSchema
|
|
76698
77290
|
};
|
|
76699
77291
|
tool$productsList = {
|
|
76700
77292
|
name: "products-list",
|
|
76701
77293
|
description: `List active (non-disabled) products for an account.`,
|
|
76702
|
-
args:
|
|
76703
|
-
tool: async (client,
|
|
76704
|
-
const [result, apiCall] = await productsList(client,
|
|
77294
|
+
args: args110,
|
|
77295
|
+
tool: async (client, args111, ctx) => {
|
|
77296
|
+
const [result, apiCall] = await productsList(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76705
77297
|
if (!result.ok) {
|
|
76706
77298
|
return {
|
|
76707
77299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76716,9 +77308,9 @@ var init_productsList2 = __esm(() => {
|
|
|
76716
77308
|
|
|
76717
77309
|
// src/funcs/productsUpdate.ts
|
|
76718
77310
|
function productsUpdate(client, request, options) {
|
|
76719
|
-
return new APIPromise($
|
|
77311
|
+
return new APIPromise($do111(client, request, options));
|
|
76720
77312
|
}
|
|
76721
|
-
async function $
|
|
77313
|
+
async function $do111(client, request, options) {
|
|
76722
77314
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76723
77315
|
if (!parsed.ok) {
|
|
76724
77316
|
return [parsed, { status: "invalid" }];
|
|
@@ -76816,20 +77408,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
76816
77408
|
});
|
|
76817
77409
|
|
|
76818
77410
|
// src/mcp-server/tools/productsUpdate.ts
|
|
76819
|
-
var
|
|
77411
|
+
var args111, tool$productsUpdate;
|
|
76820
77412
|
var init_productsUpdate2 = __esm(() => {
|
|
76821
77413
|
init_productsUpdate();
|
|
76822
77414
|
init_operations();
|
|
76823
77415
|
init_tools();
|
|
76824
|
-
|
|
77416
|
+
args111 = {
|
|
76825
77417
|
request: UpdateProductRequest$inboundSchema
|
|
76826
77418
|
};
|
|
76827
77419
|
tool$productsUpdate = {
|
|
76828
77420
|
name: "products-update",
|
|
76829
77421
|
description: `Update a product and its options.`,
|
|
76830
|
-
args:
|
|
76831
|
-
tool: async (client,
|
|
76832
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
77422
|
+
args: args111,
|
|
77423
|
+
tool: async (client, args112, ctx) => {
|
|
77424
|
+
const [result, apiCall] = await productsUpdate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76833
77425
|
if (!result.ok) {
|
|
76834
77426
|
return {
|
|
76835
77427
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76844,9 +77436,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
76844
77436
|
|
|
76845
77437
|
// src/funcs/receiptsCreate.ts
|
|
76846
77438
|
function receiptsCreate(client, request, options) {
|
|
76847
|
-
return new APIPromise($
|
|
77439
|
+
return new APIPromise($do112(client, request, options));
|
|
76848
77440
|
}
|
|
76849
|
-
async function $
|
|
77441
|
+
async function $do112(client, request, options) {
|
|
76850
77442
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
76851
77443
|
if (!parsed.ok) {
|
|
76852
77444
|
return [parsed, { status: "invalid" }];
|
|
@@ -76934,13 +77526,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
76934
77526
|
});
|
|
76935
77527
|
|
|
76936
77528
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
76937
|
-
var
|
|
77529
|
+
var args112, tool$receiptsCreate;
|
|
76938
77530
|
var init_receiptsCreate2 = __esm(() => {
|
|
76939
77531
|
init_esm();
|
|
76940
77532
|
init_receiptsCreate();
|
|
76941
77533
|
init_components();
|
|
76942
77534
|
init_tools();
|
|
76943
|
-
|
|
77535
|
+
args112 = {
|
|
76944
77536
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
76945
77537
|
};
|
|
76946
77538
|
tool$receiptsCreate = {
|
|
@@ -76949,9 +77541,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76949
77541
|
|
|
76950
77542
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76951
77543
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
76952
|
-
args:
|
|
76953
|
-
tool: async (client,
|
|
76954
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
77544
|
+
args: args112,
|
|
77545
|
+
tool: async (client, args113, ctx) => {
|
|
77546
|
+
const [result, apiCall] = await receiptsCreate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76955
77547
|
if (!result.ok) {
|
|
76956
77548
|
return {
|
|
76957
77549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76966,9 +77558,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76966
77558
|
|
|
76967
77559
|
// src/funcs/receiptsList.ts
|
|
76968
77560
|
function receiptsList(client, request, options) {
|
|
76969
|
-
return new APIPromise($
|
|
77561
|
+
return new APIPromise($do113(client, request, options));
|
|
76970
77562
|
}
|
|
76971
|
-
async function $
|
|
77563
|
+
async function $do113(client, request, options) {
|
|
76972
77564
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76973
77565
|
if (!parsed.ok) {
|
|
76974
77566
|
return [parsed, { status: "invalid" }];
|
|
@@ -77044,12 +77636,12 @@ var init_receiptsList = __esm(() => {
|
|
|
77044
77636
|
});
|
|
77045
77637
|
|
|
77046
77638
|
// src/mcp-server/tools/receiptsList.ts
|
|
77047
|
-
var
|
|
77639
|
+
var args113, tool$receiptsList;
|
|
77048
77640
|
var init_receiptsList2 = __esm(() => {
|
|
77049
77641
|
init_receiptsList();
|
|
77050
77642
|
init_operations();
|
|
77051
77643
|
init_tools();
|
|
77052
|
-
|
|
77644
|
+
args113 = {
|
|
77053
77645
|
request: ListReceiptsRequest$inboundSchema
|
|
77054
77646
|
};
|
|
77055
77647
|
tool$receiptsList = {
|
|
@@ -77058,9 +77650,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
77058
77650
|
|
|
77059
77651
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77060
77652
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77061
|
-
args:
|
|
77062
|
-
tool: async (client,
|
|
77063
|
-
const [result, apiCall] = await receiptsList(client,
|
|
77653
|
+
args: args113,
|
|
77654
|
+
tool: async (client, args114, ctx) => {
|
|
77655
|
+
const [result, apiCall] = await receiptsList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77064
77656
|
if (!result.ok) {
|
|
77065
77657
|
return {
|
|
77066
77658
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77075,9 +77667,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77075
77667
|
|
|
77076
77668
|
// src/funcs/representativesCreate.ts
|
|
77077
77669
|
function representativesCreate(client, request, options) {
|
|
77078
|
-
return new APIPromise($
|
|
77670
|
+
return new APIPromise($do114(client, request, options));
|
|
77079
77671
|
}
|
|
77080
|
-
async function $
|
|
77672
|
+
async function $do114(client, request, options) {
|
|
77081
77673
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77082
77674
|
if (!parsed.ok) {
|
|
77083
77675
|
return [parsed, { status: "invalid" }];
|
|
@@ -77173,12 +77765,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
77173
77765
|
});
|
|
77174
77766
|
|
|
77175
77767
|
// src/mcp-server/tools/representativesCreate.ts
|
|
77176
|
-
var
|
|
77768
|
+
var args114, tool$representativesCreate;
|
|
77177
77769
|
var init_representativesCreate2 = __esm(() => {
|
|
77178
77770
|
init_representativesCreate();
|
|
77179
77771
|
init_operations();
|
|
77180
77772
|
init_tools();
|
|
77181
|
-
|
|
77773
|
+
args114 = {
|
|
77182
77774
|
request: CreateRepresentativeRequest$inboundSchema
|
|
77183
77775
|
};
|
|
77184
77776
|
tool$representativesCreate = {
|
|
@@ -77189,9 +77781,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
77189
77781
|
|
|
77190
77782
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77191
77783
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77192
|
-
args:
|
|
77193
|
-
tool: async (client,
|
|
77194
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
77784
|
+
args: args114,
|
|
77785
|
+
tool: async (client, args115, ctx) => {
|
|
77786
|
+
const [result, apiCall] = await representativesCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77195
77787
|
if (!result.ok) {
|
|
77196
77788
|
return {
|
|
77197
77789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77206,9 +77798,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77206
77798
|
|
|
77207
77799
|
// src/funcs/representativesDelete.ts
|
|
77208
77800
|
function representativesDelete(client, request, options) {
|
|
77209
|
-
return new APIPromise($
|
|
77801
|
+
return new APIPromise($do115(client, request, options));
|
|
77210
77802
|
}
|
|
77211
|
-
async function $
|
|
77803
|
+
async function $do115(client, request, options) {
|
|
77212
77804
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77213
77805
|
if (!parsed.ok) {
|
|
77214
77806
|
return [parsed, { status: "invalid" }];
|
|
@@ -77296,12 +77888,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
77296
77888
|
});
|
|
77297
77889
|
|
|
77298
77890
|
// src/mcp-server/tools/representativesDelete.ts
|
|
77299
|
-
var
|
|
77891
|
+
var args115, tool$representativesDelete;
|
|
77300
77892
|
var init_representativesDelete2 = __esm(() => {
|
|
77301
77893
|
init_representativesDelete();
|
|
77302
77894
|
init_operations();
|
|
77303
77895
|
init_tools();
|
|
77304
|
-
|
|
77896
|
+
args115 = {
|
|
77305
77897
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
77306
77898
|
};
|
|
77307
77899
|
tool$representativesDelete = {
|
|
@@ -77310,9 +77902,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
77310
77902
|
|
|
77311
77903
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77312
77904
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77313
|
-
args:
|
|
77314
|
-
tool: async (client,
|
|
77315
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
77905
|
+
args: args115,
|
|
77906
|
+
tool: async (client, args116, ctx) => {
|
|
77907
|
+
const [result, apiCall] = await representativesDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77316
77908
|
if (!result.ok) {
|
|
77317
77909
|
return {
|
|
77318
77910
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77326,9 +77918,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77326
77918
|
|
|
77327
77919
|
// src/funcs/representativesGet.ts
|
|
77328
77920
|
function representativesGet(client, request, options) {
|
|
77329
|
-
return new APIPromise($
|
|
77921
|
+
return new APIPromise($do116(client, request, options));
|
|
77330
77922
|
}
|
|
77331
|
-
async function $
|
|
77923
|
+
async function $do116(client, request, options) {
|
|
77332
77924
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77333
77925
|
if (!parsed.ok) {
|
|
77334
77926
|
return [parsed, { status: "invalid" }];
|
|
@@ -77407,12 +77999,12 @@ var init_representativesGet = __esm(() => {
|
|
|
77407
77999
|
});
|
|
77408
78000
|
|
|
77409
78001
|
// src/mcp-server/tools/representativesGet.ts
|
|
77410
|
-
var
|
|
78002
|
+
var args116, tool$representativesGet;
|
|
77411
78003
|
var init_representativesGet2 = __esm(() => {
|
|
77412
78004
|
init_representativesGet();
|
|
77413
78005
|
init_operations();
|
|
77414
78006
|
init_tools();
|
|
77415
|
-
|
|
78007
|
+
args116 = {
|
|
77416
78008
|
request: GetRepresentativeRequest$inboundSchema
|
|
77417
78009
|
};
|
|
77418
78010
|
tool$representativesGet = {
|
|
@@ -77421,9 +78013,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
77421
78013
|
|
|
77422
78014
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77423
78015
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
77424
|
-
args:
|
|
77425
|
-
tool: async (client,
|
|
77426
|
-
const [result, apiCall] = await representativesGet(client,
|
|
78016
|
+
args: args116,
|
|
78017
|
+
tool: async (client, args117, ctx) => {
|
|
78018
|
+
const [result, apiCall] = await representativesGet(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77427
78019
|
if (!result.ok) {
|
|
77428
78020
|
return {
|
|
77429
78021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77438,9 +78030,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
77438
78030
|
|
|
77439
78031
|
// src/funcs/representativesList.ts
|
|
77440
78032
|
function representativesList(client, request, options) {
|
|
77441
|
-
return new APIPromise($
|
|
78033
|
+
return new APIPromise($do117(client, request, options));
|
|
77442
78034
|
}
|
|
77443
|
-
async function $
|
|
78035
|
+
async function $do117(client, request, options) {
|
|
77444
78036
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77445
78037
|
if (!parsed.ok) {
|
|
77446
78038
|
return [parsed, { status: "invalid" }];
|
|
@@ -77518,12 +78110,12 @@ var init_representativesList = __esm(() => {
|
|
|
77518
78110
|
});
|
|
77519
78111
|
|
|
77520
78112
|
// src/mcp-server/tools/representativesList.ts
|
|
77521
|
-
var
|
|
78113
|
+
var args117, tool$representativesList;
|
|
77522
78114
|
var init_representativesList2 = __esm(() => {
|
|
77523
78115
|
init_representativesList();
|
|
77524
78116
|
init_operations();
|
|
77525
78117
|
init_tools();
|
|
77526
|
-
|
|
78118
|
+
args117 = {
|
|
77527
78119
|
request: ListRepresentativesRequest$inboundSchema
|
|
77528
78120
|
};
|
|
77529
78121
|
tool$representativesList = {
|
|
@@ -77535,9 +78127,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
77535
78127
|
|
|
77536
78128
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77537
78129
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
77538
|
-
args:
|
|
77539
|
-
tool: async (client,
|
|
77540
|
-
const [result, apiCall] = await representativesList(client,
|
|
78130
|
+
args: args117,
|
|
78131
|
+
tool: async (client, args118, ctx) => {
|
|
78132
|
+
const [result, apiCall] = await representativesList(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77541
78133
|
if (!result.ok) {
|
|
77542
78134
|
return {
|
|
77543
78135
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77552,9 +78144,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
77552
78144
|
|
|
77553
78145
|
// src/funcs/representativesUpdate.ts
|
|
77554
78146
|
function representativesUpdate(client, request, options) {
|
|
77555
|
-
return new APIPromise($
|
|
78147
|
+
return new APIPromise($do118(client, request, options));
|
|
77556
78148
|
}
|
|
77557
|
-
async function $
|
|
78149
|
+
async function $do118(client, request, options) {
|
|
77558
78150
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77559
78151
|
if (!parsed.ok) {
|
|
77560
78152
|
return [parsed, { status: "invalid" }];
|
|
@@ -77648,12 +78240,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
77648
78240
|
});
|
|
77649
78241
|
|
|
77650
78242
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
77651
|
-
var
|
|
78243
|
+
var args118, tool$representativesUpdate;
|
|
77652
78244
|
var init_representativesUpdate2 = __esm(() => {
|
|
77653
78245
|
init_representativesUpdate();
|
|
77654
78246
|
init_operations();
|
|
77655
78247
|
init_tools();
|
|
77656
|
-
|
|
78248
|
+
args118 = {
|
|
77657
78249
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
77658
78250
|
};
|
|
77659
78251
|
tool$representativesUpdate = {
|
|
@@ -77675,9 +78267,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
77675
78267
|
|
|
77676
78268
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77677
78269
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77678
|
-
args:
|
|
77679
|
-
tool: async (client,
|
|
77680
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
78270
|
+
args: args118,
|
|
78271
|
+
tool: async (client, args119, ctx) => {
|
|
78272
|
+
const [result, apiCall] = await representativesUpdate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77681
78273
|
if (!result.ok) {
|
|
77682
78274
|
return {
|
|
77683
78275
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77692,9 +78284,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77692
78284
|
|
|
77693
78285
|
// src/funcs/schedulingCancel.ts
|
|
77694
78286
|
function schedulingCancel(client, request, options) {
|
|
77695
|
-
return new APIPromise($
|
|
78287
|
+
return new APIPromise($do119(client, request, options));
|
|
77696
78288
|
}
|
|
77697
|
-
async function $
|
|
78289
|
+
async function $do119(client, request, options) {
|
|
77698
78290
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77699
78291
|
if (!parsed.ok) {
|
|
77700
78292
|
return [parsed, { status: "invalid" }];
|
|
@@ -77787,12 +78379,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
77787
78379
|
});
|
|
77788
78380
|
|
|
77789
78381
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
77790
|
-
var
|
|
78382
|
+
var args119, tool$schedulingCancel;
|
|
77791
78383
|
var init_schedulingCancel2 = __esm(() => {
|
|
77792
78384
|
init_schedulingCancel();
|
|
77793
78385
|
init_operations();
|
|
77794
78386
|
init_tools();
|
|
77795
|
-
|
|
78387
|
+
args119 = {
|
|
77796
78388
|
request: CancelScheduleRequest$inboundSchema
|
|
77797
78389
|
};
|
|
77798
78390
|
tool$schedulingCancel = {
|
|
@@ -77801,9 +78393,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
77801
78393
|
|
|
77802
78394
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77803
78395
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77804
|
-
args:
|
|
77805
|
-
tool: async (client,
|
|
77806
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
78396
|
+
args: args119,
|
|
78397
|
+
tool: async (client, args120, ctx) => {
|
|
78398
|
+
const [result, apiCall] = await schedulingCancel(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77807
78399
|
if (!result.ok) {
|
|
77808
78400
|
return {
|
|
77809
78401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77817,9 +78409,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77817
78409
|
|
|
77818
78410
|
// src/funcs/schedulingCreate.ts
|
|
77819
78411
|
function schedulingCreate(client, request, options) {
|
|
77820
|
-
return new APIPromise($
|
|
78412
|
+
return new APIPromise($do120(client, request, options));
|
|
77821
78413
|
}
|
|
77822
|
-
async function $
|
|
78414
|
+
async function $do120(client, request, options) {
|
|
77823
78415
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77824
78416
|
if (!parsed.ok) {
|
|
77825
78417
|
return [parsed, { status: "invalid" }];
|
|
@@ -77913,12 +78505,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
77913
78505
|
});
|
|
77914
78506
|
|
|
77915
78507
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
77916
|
-
var
|
|
78508
|
+
var args120, tool$schedulingCreate;
|
|
77917
78509
|
var init_schedulingCreate2 = __esm(() => {
|
|
77918
78510
|
init_schedulingCreate();
|
|
77919
78511
|
init_operations();
|
|
77920
78512
|
init_tools();
|
|
77921
|
-
|
|
78513
|
+
args120 = {
|
|
77922
78514
|
request: CreateScheduleRequest$inboundSchema
|
|
77923
78515
|
};
|
|
77924
78516
|
tool$schedulingCreate = {
|
|
@@ -77927,9 +78519,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
77927
78519
|
|
|
77928
78520
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77929
78521
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77930
|
-
args:
|
|
77931
|
-
tool: async (client,
|
|
77932
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
78522
|
+
args: args120,
|
|
78523
|
+
tool: async (client, args121, ctx) => {
|
|
78524
|
+
const [result, apiCall] = await schedulingCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77933
78525
|
if (!result.ok) {
|
|
77934
78526
|
return {
|
|
77935
78527
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77944,9 +78536,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77944
78536
|
|
|
77945
78537
|
// src/funcs/schedulingGet.ts
|
|
77946
78538
|
function schedulingGet(client, request, options) {
|
|
77947
|
-
return new APIPromise($
|
|
78539
|
+
return new APIPromise($do121(client, request, options));
|
|
77948
78540
|
}
|
|
77949
|
-
async function $
|
|
78541
|
+
async function $do121(client, request, options) {
|
|
77950
78542
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77951
78543
|
if (!parsed.ok) {
|
|
77952
78544
|
return [parsed, { status: "invalid" }];
|
|
@@ -78028,12 +78620,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
78028
78620
|
});
|
|
78029
78621
|
|
|
78030
78622
|
// src/mcp-server/tools/schedulingGet.ts
|
|
78031
|
-
var
|
|
78623
|
+
var args121, tool$schedulingGet;
|
|
78032
78624
|
var init_schedulingGet2 = __esm(() => {
|
|
78033
78625
|
init_schedulingGet();
|
|
78034
78626
|
init_operations();
|
|
78035
78627
|
init_tools();
|
|
78036
|
-
|
|
78628
|
+
args121 = {
|
|
78037
78629
|
request: GetSchedulesRequest$inboundSchema
|
|
78038
78630
|
};
|
|
78039
78631
|
tool$schedulingGet = {
|
|
@@ -78042,9 +78634,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
78042
78634
|
|
|
78043
78635
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78044
78636
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78045
|
-
args:
|
|
78046
|
-
tool: async (client,
|
|
78047
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
78637
|
+
args: args121,
|
|
78638
|
+
tool: async (client, args122, ctx) => {
|
|
78639
|
+
const [result, apiCall] = await schedulingGet(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78048
78640
|
if (!result.ok) {
|
|
78049
78641
|
return {
|
|
78050
78642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78059,9 +78651,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78059
78651
|
|
|
78060
78652
|
// src/funcs/schedulingGetOccurrance.ts
|
|
78061
78653
|
function schedulingGetOccurrance(client, request, options) {
|
|
78062
|
-
return new APIPromise($
|
|
78654
|
+
return new APIPromise($do122(client, request, options));
|
|
78063
78655
|
}
|
|
78064
|
-
async function $
|
|
78656
|
+
async function $do122(client, request, options) {
|
|
78065
78657
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78066
78658
|
if (!parsed.ok) {
|
|
78067
78659
|
return [parsed, { status: "invalid" }];
|
|
@@ -78144,12 +78736,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
78144
78736
|
});
|
|
78145
78737
|
|
|
78146
78738
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
78147
|
-
var
|
|
78739
|
+
var args122, tool$schedulingGetOccurrance;
|
|
78148
78740
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
78149
78741
|
init_schedulingGetOccurrance();
|
|
78150
78742
|
init_operations();
|
|
78151
78743
|
init_tools();
|
|
78152
|
-
|
|
78744
|
+
args122 = {
|
|
78153
78745
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
78154
78746
|
};
|
|
78155
78747
|
tool$schedulingGetOccurrance = {
|
|
@@ -78158,9 +78750,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
78158
78750
|
|
|
78159
78751
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78160
78752
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78161
|
-
args:
|
|
78162
|
-
tool: async (client,
|
|
78163
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
78753
|
+
args: args122,
|
|
78754
|
+
tool: async (client, args123, ctx) => {
|
|
78755
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78164
78756
|
if (!result.ok) {
|
|
78165
78757
|
return {
|
|
78166
78758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78175,9 +78767,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78175
78767
|
|
|
78176
78768
|
// src/funcs/schedulingList.ts
|
|
78177
78769
|
function schedulingList(client, request, options) {
|
|
78178
|
-
return new APIPromise($
|
|
78770
|
+
return new APIPromise($do123(client, request, options));
|
|
78179
78771
|
}
|
|
78180
|
-
async function $
|
|
78772
|
+
async function $do123(client, request, options) {
|
|
78181
78773
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78182
78774
|
if (!parsed.ok) {
|
|
78183
78775
|
return [parsed, { status: "invalid" }];
|
|
@@ -78261,12 +78853,12 @@ var init_schedulingList = __esm(() => {
|
|
|
78261
78853
|
});
|
|
78262
78854
|
|
|
78263
78855
|
// src/mcp-server/tools/schedulingList.ts
|
|
78264
|
-
var
|
|
78856
|
+
var args123, tool$schedulingList;
|
|
78265
78857
|
var init_schedulingList2 = __esm(() => {
|
|
78266
78858
|
init_schedulingList();
|
|
78267
78859
|
init_operations();
|
|
78268
78860
|
init_tools();
|
|
78269
|
-
|
|
78861
|
+
args123 = {
|
|
78270
78862
|
request: ListSchedulesRequest$inboundSchema
|
|
78271
78863
|
};
|
|
78272
78864
|
tool$schedulingList = {
|
|
@@ -78275,9 +78867,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
78275
78867
|
|
|
78276
78868
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78277
78869
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78278
|
-
args:
|
|
78279
|
-
tool: async (client,
|
|
78280
|
-
const [result, apiCall] = await schedulingList(client,
|
|
78870
|
+
args: args123,
|
|
78871
|
+
tool: async (client, args124, ctx) => {
|
|
78872
|
+
const [result, apiCall] = await schedulingList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78281
78873
|
if (!result.ok) {
|
|
78282
78874
|
return {
|
|
78283
78875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78292,9 +78884,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78292
78884
|
|
|
78293
78885
|
// src/funcs/schedulingUpdate.ts
|
|
78294
78886
|
function schedulingUpdate(client, request, options) {
|
|
78295
|
-
return new APIPromise($
|
|
78887
|
+
return new APIPromise($do124(client, request, options));
|
|
78296
78888
|
}
|
|
78297
|
-
async function $
|
|
78889
|
+
async function $do124(client, request, options) {
|
|
78298
78890
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78299
78891
|
if (!parsed.ok) {
|
|
78300
78892
|
return [parsed, { status: "invalid" }];
|
|
@@ -78392,12 +78984,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
78392
78984
|
});
|
|
78393
78985
|
|
|
78394
78986
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
78395
|
-
var
|
|
78987
|
+
var args124, tool$schedulingUpdate;
|
|
78396
78988
|
var init_schedulingUpdate2 = __esm(() => {
|
|
78397
78989
|
init_schedulingUpdate();
|
|
78398
78990
|
init_operations();
|
|
78399
78991
|
init_tools();
|
|
78400
|
-
|
|
78992
|
+
args124 = {
|
|
78401
78993
|
request: UpdateScheduleRequest$inboundSchema
|
|
78402
78994
|
};
|
|
78403
78995
|
tool$schedulingUpdate = {
|
|
@@ -78406,9 +78998,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
78406
78998
|
|
|
78407
78999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78408
79000
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78409
|
-
args:
|
|
78410
|
-
tool: async (client,
|
|
78411
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
79001
|
+
args: args124,
|
|
79002
|
+
tool: async (client, args125, ctx) => {
|
|
79003
|
+
const [result, apiCall] = await schedulingUpdate(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78412
79004
|
if (!result.ok) {
|
|
78413
79005
|
return {
|
|
78414
79006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78423,9 +79015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78423
79015
|
|
|
78424
79016
|
// src/funcs/statementsGet.ts
|
|
78425
79017
|
function statementsGet(client, request, options) {
|
|
78426
|
-
return new APIPromise($
|
|
79018
|
+
return new APIPromise($do125(client, request, options));
|
|
78427
79019
|
}
|
|
78428
|
-
async function $
|
|
79020
|
+
async function $do125(client, request, options) {
|
|
78429
79021
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78430
79022
|
if (!parsed.ok) {
|
|
78431
79023
|
return [parsed, { status: "invalid" }];
|
|
@@ -78511,12 +79103,12 @@ var init_statementsGet = __esm(() => {
|
|
|
78511
79103
|
});
|
|
78512
79104
|
|
|
78513
79105
|
// src/mcp-server/tools/statementsGet.ts
|
|
78514
|
-
var
|
|
79106
|
+
var args125, tool$statementsGet;
|
|
78515
79107
|
var init_statementsGet2 = __esm(() => {
|
|
78516
79108
|
init_statementsGet();
|
|
78517
79109
|
init_operations();
|
|
78518
79110
|
init_tools();
|
|
78519
|
-
|
|
79111
|
+
args125 = {
|
|
78520
79112
|
request: GetStatementRequest$inboundSchema
|
|
78521
79113
|
};
|
|
78522
79114
|
tool$statementsGet = {
|
|
@@ -78527,9 +79119,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
78527
79119
|
|
|
78528
79120
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78529
79121
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78530
|
-
args:
|
|
78531
|
-
tool: async (client,
|
|
78532
|
-
const [result, apiCall] = await statementsGet(client,
|
|
79122
|
+
args: args125,
|
|
79123
|
+
tool: async (client, args126, ctx) => {
|
|
79124
|
+
const [result, apiCall] = await statementsGet(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78533
79125
|
if (!result.ok) {
|
|
78534
79126
|
return {
|
|
78535
79127
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78544,9 +79136,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78544
79136
|
|
|
78545
79137
|
// src/funcs/statementsList.ts
|
|
78546
79138
|
function statementsList(client, request, options) {
|
|
78547
|
-
return new APIPromise($
|
|
79139
|
+
return new APIPromise($do126(client, request, options));
|
|
78548
79140
|
}
|
|
78549
|
-
async function $
|
|
79141
|
+
async function $do126(client, request, options) {
|
|
78550
79142
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78551
79143
|
if (!parsed.ok) {
|
|
78552
79144
|
return [parsed, { status: "invalid" }];
|
|
@@ -78632,12 +79224,12 @@ var init_statementsList = __esm(() => {
|
|
|
78632
79224
|
});
|
|
78633
79225
|
|
|
78634
79226
|
// src/mcp-server/tools/statementsList.ts
|
|
78635
|
-
var
|
|
79227
|
+
var args126, tool$statementsList;
|
|
78636
79228
|
var init_statementsList2 = __esm(() => {
|
|
78637
79229
|
init_statementsList();
|
|
78638
79230
|
init_operations();
|
|
78639
79231
|
init_tools();
|
|
78640
|
-
|
|
79232
|
+
args126 = {
|
|
78641
79233
|
request: ListStatementsRequest$inboundSchema
|
|
78642
79234
|
};
|
|
78643
79235
|
tool$statementsList = {
|
|
@@ -78646,9 +79238,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
78646
79238
|
|
|
78647
79239
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78648
79240
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78649
|
-
args:
|
|
78650
|
-
tool: async (client,
|
|
78651
|
-
const [result, apiCall] = await statementsList(client,
|
|
79241
|
+
args: args126,
|
|
79242
|
+
tool: async (client, args127, ctx) => {
|
|
79243
|
+
const [result, apiCall] = await statementsList(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78652
79244
|
if (!result.ok) {
|
|
78653
79245
|
return {
|
|
78654
79246
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78663,9 +79255,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78663
79255
|
|
|
78664
79256
|
// src/funcs/supportCreateTicket.ts
|
|
78665
79257
|
function supportCreateTicket(client, request, options) {
|
|
78666
|
-
return new APIPromise($
|
|
79258
|
+
return new APIPromise($do127(client, request, options));
|
|
78667
79259
|
}
|
|
78668
|
-
async function $
|
|
79260
|
+
async function $do127(client, request, options) {
|
|
78669
79261
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78670
79262
|
if (!parsed.ok) {
|
|
78671
79263
|
return [parsed, { status: "invalid" }];
|
|
@@ -78757,12 +79349,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
78757
79349
|
});
|
|
78758
79350
|
|
|
78759
79351
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
78760
|
-
var
|
|
79352
|
+
var args127, tool$supportCreateTicket;
|
|
78761
79353
|
var init_supportCreateTicket2 = __esm(() => {
|
|
78762
79354
|
init_supportCreateTicket();
|
|
78763
79355
|
init_operations();
|
|
78764
79356
|
init_tools();
|
|
78765
|
-
|
|
79357
|
+
args127 = {
|
|
78766
79358
|
request: CreateTicketRequest$inboundSchema
|
|
78767
79359
|
};
|
|
78768
79360
|
tool$supportCreateTicket = {
|
|
@@ -78774,9 +79366,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78774
79366
|
|
|
78775
79367
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
78776
79368
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78777
|
-
args:
|
|
78778
|
-
tool: async (client,
|
|
78779
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
79369
|
+
args: args127,
|
|
79370
|
+
tool: async (client, args128, ctx) => {
|
|
79371
|
+
const [result, apiCall] = await supportCreateTicket(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78780
79372
|
if (!result.ok) {
|
|
78781
79373
|
return {
|
|
78782
79374
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78791,9 +79383,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78791
79383
|
|
|
78792
79384
|
// src/funcs/supportGetTicket.ts
|
|
78793
79385
|
function supportGetTicket(client, request, options) {
|
|
78794
|
-
return new APIPromise($
|
|
79386
|
+
return new APIPromise($do128(client, request, options));
|
|
78795
79387
|
}
|
|
78796
|
-
async function $
|
|
79388
|
+
async function $do128(client, request, options) {
|
|
78797
79389
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78798
79390
|
if (!parsed.ok) {
|
|
78799
79391
|
return [parsed, { status: "invalid" }];
|
|
@@ -78875,12 +79467,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
78875
79467
|
});
|
|
78876
79468
|
|
|
78877
79469
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
78878
|
-
var
|
|
79470
|
+
var args128, tool$supportGetTicket;
|
|
78879
79471
|
var init_supportGetTicket2 = __esm(() => {
|
|
78880
79472
|
init_supportGetTicket();
|
|
78881
79473
|
init_operations();
|
|
78882
79474
|
init_tools();
|
|
78883
|
-
|
|
79475
|
+
args128 = {
|
|
78884
79476
|
request: GetTicketRequest$inboundSchema
|
|
78885
79477
|
};
|
|
78886
79478
|
tool$supportGetTicket = {
|
|
@@ -78892,9 +79484,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78892
79484
|
|
|
78893
79485
|
If you're retrieving another account's ticket, then you'll need to
|
|
78894
79486
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78895
|
-
args:
|
|
78896
|
-
tool: async (client,
|
|
78897
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
79487
|
+
args: args128,
|
|
79488
|
+
tool: async (client, args129, ctx) => {
|
|
79489
|
+
const [result, apiCall] = await supportGetTicket(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78898
79490
|
if (!result.ok) {
|
|
78899
79491
|
return {
|
|
78900
79492
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78909,9 +79501,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78909
79501
|
|
|
78910
79502
|
// src/funcs/supportListTicketMessages.ts
|
|
78911
79503
|
function supportListTicketMessages(client, request, options) {
|
|
78912
|
-
return new APIPromise($
|
|
79504
|
+
return new APIPromise($do129(client, request, options));
|
|
78913
79505
|
}
|
|
78914
|
-
async function $
|
|
79506
|
+
async function $do129(client, request, options) {
|
|
78915
79507
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78916
79508
|
if (!parsed.ok) {
|
|
78917
79509
|
return [parsed, { status: "invalid" }];
|
|
@@ -78993,12 +79585,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
78993
79585
|
});
|
|
78994
79586
|
|
|
78995
79587
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
78996
|
-
var
|
|
79588
|
+
var args129, tool$supportListTicketMessages;
|
|
78997
79589
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
78998
79590
|
init_supportListTicketMessages();
|
|
78999
79591
|
init_operations();
|
|
79000
79592
|
init_tools();
|
|
79001
|
-
|
|
79593
|
+
args129 = {
|
|
79002
79594
|
request: ListTicketMessagesRequest$inboundSchema
|
|
79003
79595
|
};
|
|
79004
79596
|
tool$supportListTicketMessages = {
|
|
@@ -79010,9 +79602,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
79010
79602
|
|
|
79011
79603
|
If you're listing another account's messages, then you'll need to
|
|
79012
79604
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79013
|
-
args:
|
|
79014
|
-
tool: async (client,
|
|
79015
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
79605
|
+
args: args129,
|
|
79606
|
+
tool: async (client, args130, ctx) => {
|
|
79607
|
+
const [result, apiCall] = await supportListTicketMessages(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79016
79608
|
if (!result.ok) {
|
|
79017
79609
|
return {
|
|
79018
79610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79027,9 +79619,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
79027
79619
|
|
|
79028
79620
|
// src/funcs/supportListTickets.ts
|
|
79029
79621
|
function supportListTickets(client, request, options) {
|
|
79030
|
-
return new APIPromise($
|
|
79622
|
+
return new APIPromise($do130(client, request, options));
|
|
79031
79623
|
}
|
|
79032
|
-
async function $
|
|
79624
|
+
async function $do130(client, request, options) {
|
|
79033
79625
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79034
79626
|
if (!parsed.ok) {
|
|
79035
79627
|
return [parsed, { status: "invalid" }];
|
|
@@ -79114,12 +79706,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
79114
79706
|
});
|
|
79115
79707
|
|
|
79116
79708
|
// src/mcp-server/tools/supportListTickets.ts
|
|
79117
|
-
var
|
|
79709
|
+
var args130, tool$supportListTickets;
|
|
79118
79710
|
var init_supportListTickets2 = __esm(() => {
|
|
79119
79711
|
init_supportListTickets();
|
|
79120
79712
|
init_operations();
|
|
79121
79713
|
init_tools();
|
|
79122
|
-
|
|
79714
|
+
args130 = {
|
|
79123
79715
|
request: ListTicketsRequest$inboundSchema
|
|
79124
79716
|
};
|
|
79125
79717
|
tool$supportListTickets = {
|
|
@@ -79131,9 +79723,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
79131
79723
|
|
|
79132
79724
|
If you're listing another account's tickets, then you'll need to
|
|
79133
79725
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79134
|
-
args:
|
|
79135
|
-
tool: async (client,
|
|
79136
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
79726
|
+
args: args130,
|
|
79727
|
+
tool: async (client, args131, ctx) => {
|
|
79728
|
+
const [result, apiCall] = await supportListTickets(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79137
79729
|
if (!result.ok) {
|
|
79138
79730
|
return {
|
|
79139
79731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79148,9 +79740,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
79148
79740
|
|
|
79149
79741
|
// src/funcs/supportUpdateTicket.ts
|
|
79150
79742
|
function supportUpdateTicket(client, request, options) {
|
|
79151
|
-
return new APIPromise($
|
|
79743
|
+
return new APIPromise($do131(client, request, options));
|
|
79152
79744
|
}
|
|
79153
|
-
async function $
|
|
79745
|
+
async function $do131(client, request, options) {
|
|
79154
79746
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79155
79747
|
if (!parsed.ok) {
|
|
79156
79748
|
return [parsed, { status: "invalid" }];
|
|
@@ -79246,12 +79838,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
79246
79838
|
});
|
|
79247
79839
|
|
|
79248
79840
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
79249
|
-
var
|
|
79841
|
+
var args131, tool$supportUpdateTicket;
|
|
79250
79842
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
79251
79843
|
init_supportUpdateTicket();
|
|
79252
79844
|
init_operations();
|
|
79253
79845
|
init_tools();
|
|
79254
|
-
|
|
79846
|
+
args131 = {
|
|
79255
79847
|
request: UpdateTicketRequest$inboundSchema
|
|
79256
79848
|
};
|
|
79257
79849
|
tool$supportUpdateTicket = {
|
|
@@ -79263,9 +79855,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
79263
79855
|
|
|
79264
79856
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
79265
79857
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79266
|
-
args:
|
|
79267
|
-
tool: async (client,
|
|
79268
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
79858
|
+
args: args131,
|
|
79859
|
+
tool: async (client, args132, ctx) => {
|
|
79860
|
+
const [result, apiCall] = await supportUpdateTicket(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79269
79861
|
if (!result.ok) {
|
|
79270
79862
|
return {
|
|
79271
79863
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79280,9 +79872,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
79280
79872
|
|
|
79281
79873
|
// src/funcs/sweepsCreateConfig.ts
|
|
79282
79874
|
function sweepsCreateConfig(client, request, options) {
|
|
79283
|
-
return new APIPromise($
|
|
79875
|
+
return new APIPromise($do132(client, request, options));
|
|
79284
79876
|
}
|
|
79285
|
-
async function $
|
|
79877
|
+
async function $do132(client, request, options) {
|
|
79286
79878
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79287
79879
|
if (!parsed.ok) {
|
|
79288
79880
|
return [parsed, { status: "invalid" }];
|
|
@@ -79374,12 +79966,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
79374
79966
|
});
|
|
79375
79967
|
|
|
79376
79968
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
79377
|
-
var
|
|
79969
|
+
var args132, tool$sweepsCreateConfig;
|
|
79378
79970
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
79379
79971
|
init_sweepsCreateConfig();
|
|
79380
79972
|
init_operations();
|
|
79381
79973
|
init_tools();
|
|
79382
|
-
|
|
79974
|
+
args132 = {
|
|
79383
79975
|
request: CreateSweepConfigRequest$inboundSchema
|
|
79384
79976
|
};
|
|
79385
79977
|
tool$sweepsCreateConfig = {
|
|
@@ -79388,9 +79980,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
79388
79980
|
|
|
79389
79981
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79390
79982
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79391
|
-
args:
|
|
79392
|
-
tool: async (client,
|
|
79393
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
79983
|
+
args: args132,
|
|
79984
|
+
tool: async (client, args133, ctx) => {
|
|
79985
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79394
79986
|
if (!result.ok) {
|
|
79395
79987
|
return {
|
|
79396
79988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79405,9 +79997,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79405
79997
|
|
|
79406
79998
|
// src/funcs/sweepsGet.ts
|
|
79407
79999
|
function sweepsGet(client, request, options) {
|
|
79408
|
-
return new APIPromise($
|
|
80000
|
+
return new APIPromise($do133(client, request, options));
|
|
79409
80001
|
}
|
|
79410
|
-
async function $
|
|
80002
|
+
async function $do133(client, request, options) {
|
|
79411
80003
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79412
80004
|
if (!parsed.ok) {
|
|
79413
80005
|
return [parsed, { status: "invalid" }];
|
|
@@ -79493,12 +80085,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
79493
80085
|
});
|
|
79494
80086
|
|
|
79495
80087
|
// src/mcp-server/tools/sweepsGet.ts
|
|
79496
|
-
var
|
|
80088
|
+
var args133, tool$sweepsGet;
|
|
79497
80089
|
var init_sweepsGet2 = __esm(() => {
|
|
79498
80090
|
init_sweepsGet();
|
|
79499
80091
|
init_operations();
|
|
79500
80092
|
init_tools();
|
|
79501
|
-
|
|
80093
|
+
args133 = {
|
|
79502
80094
|
request: GetSweepRequest$inboundSchema
|
|
79503
80095
|
};
|
|
79504
80096
|
tool$sweepsGet = {
|
|
@@ -79507,9 +80099,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
79507
80099
|
|
|
79508
80100
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79509
80101
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79510
|
-
args:
|
|
79511
|
-
tool: async (client,
|
|
79512
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
80102
|
+
args: args133,
|
|
80103
|
+
tool: async (client, args134, ctx) => {
|
|
80104
|
+
const [result, apiCall] = await sweepsGet(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79513
80105
|
if (!result.ok) {
|
|
79514
80106
|
return {
|
|
79515
80107
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79524,9 +80116,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79524
80116
|
|
|
79525
80117
|
// src/funcs/sweepsGetConfig.ts
|
|
79526
80118
|
function sweepsGetConfig(client, request, options) {
|
|
79527
|
-
return new APIPromise($
|
|
80119
|
+
return new APIPromise($do134(client, request, options));
|
|
79528
80120
|
}
|
|
79529
|
-
async function $
|
|
80121
|
+
async function $do134(client, request, options) {
|
|
79530
80122
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79531
80123
|
if (!parsed.ok) {
|
|
79532
80124
|
return [parsed, { status: "invalid" }];
|
|
@@ -79608,12 +80200,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
79608
80200
|
});
|
|
79609
80201
|
|
|
79610
80202
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
79611
|
-
var
|
|
80203
|
+
var args134, tool$sweepsGetConfig;
|
|
79612
80204
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
79613
80205
|
init_sweepsGetConfig();
|
|
79614
80206
|
init_operations();
|
|
79615
80207
|
init_tools();
|
|
79616
|
-
|
|
80208
|
+
args134 = {
|
|
79617
80209
|
request: GetSweepConfigRequest$inboundSchema
|
|
79618
80210
|
};
|
|
79619
80211
|
tool$sweepsGetConfig = {
|
|
@@ -79622,9 +80214,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
79622
80214
|
|
|
79623
80215
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79624
80216
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79625
|
-
args:
|
|
79626
|
-
tool: async (client,
|
|
79627
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
80217
|
+
args: args134,
|
|
80218
|
+
tool: async (client, args135, ctx) => {
|
|
80219
|
+
const [result, apiCall] = await sweepsGetConfig(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79628
80220
|
if (!result.ok) {
|
|
79629
80221
|
return {
|
|
79630
80222
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79639,9 +80231,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79639
80231
|
|
|
79640
80232
|
// src/funcs/sweepsList.ts
|
|
79641
80233
|
function sweepsList(client, request, options) {
|
|
79642
|
-
return new APIPromise($
|
|
80234
|
+
return new APIPromise($do135(client, request, options));
|
|
79643
80235
|
}
|
|
79644
|
-
async function $
|
|
80236
|
+
async function $do135(client, request, options) {
|
|
79645
80237
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79646
80238
|
if (!parsed.ok) {
|
|
79647
80239
|
return [parsed, { status: "invalid" }];
|
|
@@ -79730,12 +80322,12 @@ var init_sweepsList = __esm(() => {
|
|
|
79730
80322
|
});
|
|
79731
80323
|
|
|
79732
80324
|
// src/mcp-server/tools/sweepsList.ts
|
|
79733
|
-
var
|
|
80325
|
+
var args135, tool$sweepsList;
|
|
79734
80326
|
var init_sweepsList2 = __esm(() => {
|
|
79735
80327
|
init_sweepsList();
|
|
79736
80328
|
init_operations();
|
|
79737
80329
|
init_tools();
|
|
79738
|
-
|
|
80330
|
+
args135 = {
|
|
79739
80331
|
request: ListSweepsRequest$inboundSchema
|
|
79740
80332
|
};
|
|
79741
80333
|
tool$sweepsList = {
|
|
@@ -79744,9 +80336,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
79744
80336
|
|
|
79745
80337
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79746
80338
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79747
|
-
args:
|
|
79748
|
-
tool: async (client,
|
|
79749
|
-
const [result, apiCall] = await sweepsList(client,
|
|
80339
|
+
args: args135,
|
|
80340
|
+
tool: async (client, args136, ctx) => {
|
|
80341
|
+
const [result, apiCall] = await sweepsList(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79750
80342
|
if (!result.ok) {
|
|
79751
80343
|
return {
|
|
79752
80344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79761,9 +80353,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79761
80353
|
|
|
79762
80354
|
// src/funcs/sweepsListConfigs.ts
|
|
79763
80355
|
function sweepsListConfigs(client, request, options) {
|
|
79764
|
-
return new APIPromise($
|
|
80356
|
+
return new APIPromise($do136(client, request, options));
|
|
79765
80357
|
}
|
|
79766
|
-
async function $
|
|
80358
|
+
async function $do136(client, request, options) {
|
|
79767
80359
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79768
80360
|
if (!parsed.ok) {
|
|
79769
80361
|
return [parsed, { status: "invalid" }];
|
|
@@ -79841,12 +80433,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
79841
80433
|
});
|
|
79842
80434
|
|
|
79843
80435
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
79844
|
-
var
|
|
80436
|
+
var args136, tool$sweepsListConfigs;
|
|
79845
80437
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
79846
80438
|
init_sweepsListConfigs();
|
|
79847
80439
|
init_operations();
|
|
79848
80440
|
init_tools();
|
|
79849
|
-
|
|
80441
|
+
args136 = {
|
|
79850
80442
|
request: ListSweepConfigsRequest$inboundSchema
|
|
79851
80443
|
};
|
|
79852
80444
|
tool$sweepsListConfigs = {
|
|
@@ -79855,9 +80447,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
79855
80447
|
|
|
79856
80448
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79857
80449
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79858
|
-
args:
|
|
79859
|
-
tool: async (client,
|
|
79860
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
80450
|
+
args: args136,
|
|
80451
|
+
tool: async (client, args137, ctx) => {
|
|
80452
|
+
const [result, apiCall] = await sweepsListConfigs(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79861
80453
|
if (!result.ok) {
|
|
79862
80454
|
return {
|
|
79863
80455
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79872,9 +80464,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79872
80464
|
|
|
79873
80465
|
// src/funcs/sweepsUpdateConfig.ts
|
|
79874
80466
|
function sweepsUpdateConfig(client, request, options) {
|
|
79875
|
-
return new APIPromise($
|
|
80467
|
+
return new APIPromise($do137(client, request, options));
|
|
79876
80468
|
}
|
|
79877
|
-
async function $
|
|
80469
|
+
async function $do137(client, request, options) {
|
|
79878
80470
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79879
80471
|
if (!parsed.ok) {
|
|
79880
80472
|
return [parsed, { status: "invalid" }];
|
|
@@ -79970,12 +80562,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
79970
80562
|
});
|
|
79971
80563
|
|
|
79972
80564
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
79973
|
-
var
|
|
80565
|
+
var args137, tool$sweepsUpdateConfig;
|
|
79974
80566
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
79975
80567
|
init_sweepsUpdateConfig();
|
|
79976
80568
|
init_operations();
|
|
79977
80569
|
init_tools();
|
|
79978
|
-
|
|
80570
|
+
args137 = {
|
|
79979
80571
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
79980
80572
|
};
|
|
79981
80573
|
tool$sweepsUpdateConfig = {
|
|
@@ -79984,9 +80576,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
79984
80576
|
|
|
79985
80577
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79986
80578
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79987
|
-
args:
|
|
79988
|
-
tool: async (client,
|
|
79989
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
80579
|
+
args: args137,
|
|
80580
|
+
tool: async (client, args138, ctx) => {
|
|
80581
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79990
80582
|
if (!result.ok) {
|
|
79991
80583
|
return {
|
|
79992
80584
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80001,9 +80593,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
80001
80593
|
|
|
80002
80594
|
// src/funcs/terminalApplicationsCreate.ts
|
|
80003
80595
|
function terminalApplicationsCreate(client, request, options) {
|
|
80004
|
-
return new APIPromise($
|
|
80596
|
+
return new APIPromise($do138(client, request, options));
|
|
80005
80597
|
}
|
|
80006
|
-
async function $
|
|
80598
|
+
async function $do138(client, request, options) {
|
|
80007
80599
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
80008
80600
|
if (!parsed.ok) {
|
|
80009
80601
|
return [parsed, { status: "invalid" }];
|
|
@@ -80092,12 +80684,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
80092
80684
|
});
|
|
80093
80685
|
|
|
80094
80686
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
80095
|
-
var
|
|
80687
|
+
var args138, tool$terminalApplicationsCreate;
|
|
80096
80688
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
80097
80689
|
init_terminalApplicationsCreate();
|
|
80098
80690
|
init_components();
|
|
80099
80691
|
init_tools();
|
|
80100
|
-
|
|
80692
|
+
args138 = {
|
|
80101
80693
|
request: CreateTerminalApplication$inboundSchema
|
|
80102
80694
|
};
|
|
80103
80695
|
tool$terminalApplicationsCreate = {
|
|
@@ -80106,9 +80698,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
80106
80698
|
|
|
80107
80699
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80108
80700
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80109
|
-
args:
|
|
80110
|
-
tool: async (client,
|
|
80111
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
80701
|
+
args: args138,
|
|
80702
|
+
tool: async (client, args139, ctx) => {
|
|
80703
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80112
80704
|
if (!result.ok) {
|
|
80113
80705
|
return {
|
|
80114
80706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80123,9 +80715,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80123
80715
|
|
|
80124
80716
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
80125
80717
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
80126
|
-
return new APIPromise($
|
|
80718
|
+
return new APIPromise($do139(client, request, options));
|
|
80127
80719
|
}
|
|
80128
|
-
async function $
|
|
80720
|
+
async function $do139(client, request, options) {
|
|
80129
80721
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80130
80722
|
if (!parsed.ok) {
|
|
80131
80723
|
return [parsed, { status: "invalid" }];
|
|
@@ -80215,12 +80807,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
80215
80807
|
});
|
|
80216
80808
|
|
|
80217
80809
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
80218
|
-
var
|
|
80810
|
+
var args139, tool$terminalApplicationsCreateVersion;
|
|
80219
80811
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
80220
80812
|
init_terminalApplicationsCreateVersion();
|
|
80221
80813
|
init_operations();
|
|
80222
80814
|
init_tools();
|
|
80223
|
-
|
|
80815
|
+
args139 = {
|
|
80224
80816
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
80225
80817
|
};
|
|
80226
80818
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -80229,9 +80821,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
80229
80821
|
|
|
80230
80822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80231
80823
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80232
|
-
args:
|
|
80233
|
-
tool: async (client,
|
|
80234
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
80824
|
+
args: args139,
|
|
80825
|
+
tool: async (client, args140, ctx) => {
|
|
80826
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80235
80827
|
if (!result.ok) {
|
|
80236
80828
|
return {
|
|
80237
80829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80246,9 +80838,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80246
80838
|
|
|
80247
80839
|
// src/funcs/terminalApplicationsDelete.ts
|
|
80248
80840
|
function terminalApplicationsDelete(client, request, options) {
|
|
80249
|
-
return new APIPromise($
|
|
80841
|
+
return new APIPromise($do140(client, request, options));
|
|
80250
80842
|
}
|
|
80251
|
-
async function $
|
|
80843
|
+
async function $do140(client, request, options) {
|
|
80252
80844
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80253
80845
|
if (!parsed.ok) {
|
|
80254
80846
|
return [parsed, { status: "invalid" }];
|
|
@@ -80332,12 +80924,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
80332
80924
|
});
|
|
80333
80925
|
|
|
80334
80926
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
80335
|
-
var
|
|
80927
|
+
var args140, tool$terminalApplicationsDelete;
|
|
80336
80928
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
80337
80929
|
init_terminalApplicationsDelete();
|
|
80338
80930
|
init_operations();
|
|
80339
80931
|
init_tools();
|
|
80340
|
-
|
|
80932
|
+
args140 = {
|
|
80341
80933
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
80342
80934
|
};
|
|
80343
80935
|
tool$terminalApplicationsDelete = {
|
|
@@ -80346,9 +80938,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
80346
80938
|
|
|
80347
80939
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80348
80940
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80349
|
-
args:
|
|
80350
|
-
tool: async (client,
|
|
80351
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
80941
|
+
args: args140,
|
|
80942
|
+
tool: async (client, args141, ctx) => {
|
|
80943
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80352
80944
|
if (!result.ok) {
|
|
80353
80945
|
return {
|
|
80354
80946
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80362,9 +80954,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80362
80954
|
|
|
80363
80955
|
// src/funcs/terminalApplicationsGet.ts
|
|
80364
80956
|
function terminalApplicationsGet(client, request, options) {
|
|
80365
|
-
return new APIPromise($
|
|
80957
|
+
return new APIPromise($do141(client, request, options));
|
|
80366
80958
|
}
|
|
80367
|
-
async function $
|
|
80959
|
+
async function $do141(client, request, options) {
|
|
80368
80960
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80369
80961
|
if (!parsed.ok) {
|
|
80370
80962
|
return [parsed, { status: "invalid" }];
|
|
@@ -80439,12 +81031,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
80439
81031
|
});
|
|
80440
81032
|
|
|
80441
81033
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
80442
|
-
var
|
|
81034
|
+
var args141, tool$terminalApplicationsGet;
|
|
80443
81035
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
80444
81036
|
init_terminalApplicationsGet();
|
|
80445
81037
|
init_operations();
|
|
80446
81038
|
init_tools();
|
|
80447
|
-
|
|
81039
|
+
args141 = {
|
|
80448
81040
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
80449
81041
|
};
|
|
80450
81042
|
tool$terminalApplicationsGet = {
|
|
@@ -80453,9 +81045,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
80453
81045
|
|
|
80454
81046
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80455
81047
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
80456
|
-
args:
|
|
80457
|
-
tool: async (client,
|
|
80458
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
81048
|
+
args: args141,
|
|
81049
|
+
tool: async (client, args142, ctx) => {
|
|
81050
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80459
81051
|
if (!result.ok) {
|
|
80460
81052
|
return {
|
|
80461
81053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80470,9 +81062,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
80470
81062
|
|
|
80471
81063
|
// src/funcs/terminalApplicationsList.ts
|
|
80472
81064
|
function terminalApplicationsList(client, _request, options) {
|
|
80473
|
-
return new APIPromise($
|
|
81065
|
+
return new APIPromise($do142(client, _request, options));
|
|
80474
81066
|
}
|
|
80475
|
-
async function $
|
|
81067
|
+
async function $do142(client, _request, options) {
|
|
80476
81068
|
const path = pathToFunc("/terminal-applications")();
|
|
80477
81069
|
const headers = new Headers(compactMap({
|
|
80478
81070
|
Accept: "application/json",
|
|
@@ -80536,12 +81128,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
80536
81128
|
});
|
|
80537
81129
|
|
|
80538
81130
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
80539
|
-
var
|
|
81131
|
+
var args142, tool$terminalApplicationsList;
|
|
80540
81132
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
80541
81133
|
init_terminalApplicationsList();
|
|
80542
81134
|
init_operations();
|
|
80543
81135
|
init_tools();
|
|
80544
|
-
|
|
81136
|
+
args142 = {
|
|
80545
81137
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
80546
81138
|
};
|
|
80547
81139
|
tool$terminalApplicationsList = {
|
|
@@ -80550,9 +81142,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
80550
81142
|
|
|
80551
81143
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80552
81144
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
80553
|
-
args:
|
|
80554
|
-
tool: async (client,
|
|
80555
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
81145
|
+
args: args142,
|
|
81146
|
+
tool: async (client, args143, ctx) => {
|
|
81147
|
+
const [result, apiCall] = await terminalApplicationsList(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80556
81148
|
if (!result.ok) {
|
|
80557
81149
|
return {
|
|
80558
81150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80567,9 +81159,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
80567
81159
|
|
|
80568
81160
|
// src/funcs/transfersCreate.ts
|
|
80569
81161
|
function transfersCreate(client, request, options) {
|
|
80570
|
-
return new APIPromise($
|
|
81162
|
+
return new APIPromise($do143(client, request, options));
|
|
80571
81163
|
}
|
|
80572
|
-
async function $
|
|
81164
|
+
async function $do143(client, request, options) {
|
|
80573
81165
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80574
81166
|
if (!parsed.ok) {
|
|
80575
81167
|
return [parsed, { status: "invalid" }];
|
|
@@ -80662,12 +81254,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
80662
81254
|
});
|
|
80663
81255
|
|
|
80664
81256
|
// src/mcp-server/tools/transfersCreate.ts
|
|
80665
|
-
var
|
|
81257
|
+
var args143, tool$transfersCreate;
|
|
80666
81258
|
var init_transfersCreate2 = __esm(() => {
|
|
80667
81259
|
init_transfersCreate();
|
|
80668
81260
|
init_operations();
|
|
80669
81261
|
init_tools();
|
|
80670
|
-
|
|
81262
|
+
args143 = {
|
|
80671
81263
|
request: CreateTransferRequest$inboundSchema
|
|
80672
81264
|
};
|
|
80673
81265
|
tool$transfersCreate = {
|
|
@@ -80678,9 +81270,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
80678
81270
|
|
|
80679
81271
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80680
81272
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80681
|
-
args:
|
|
80682
|
-
tool: async (client,
|
|
80683
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
81273
|
+
args: args143,
|
|
81274
|
+
tool: async (client, args144, ctx) => {
|
|
81275
|
+
const [result, apiCall] = await transfersCreate(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80684
81276
|
if (!result.ok) {
|
|
80685
81277
|
return {
|
|
80686
81278
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80695,9 +81287,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80695
81287
|
|
|
80696
81288
|
// src/funcs/transfersCreateCancellation.ts
|
|
80697
81289
|
function transfersCreateCancellation(client, request, options) {
|
|
80698
|
-
return new APIPromise($
|
|
81290
|
+
return new APIPromise($do144(client, request, options));
|
|
80699
81291
|
}
|
|
80700
|
-
async function $
|
|
81292
|
+
async function $do144(client, request, options) {
|
|
80701
81293
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80702
81294
|
if (!parsed.ok) {
|
|
80703
81295
|
return [parsed, { status: "invalid" }];
|
|
@@ -80780,12 +81372,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
80780
81372
|
});
|
|
80781
81373
|
|
|
80782
81374
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
80783
|
-
var
|
|
81375
|
+
var args144, tool$transfersCreateCancellation;
|
|
80784
81376
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
80785
81377
|
init_transfersCreateCancellation();
|
|
80786
81378
|
init_operations();
|
|
80787
81379
|
init_tools();
|
|
80788
|
-
|
|
81380
|
+
args144 = {
|
|
80789
81381
|
request: CreateCancellationRequest$inboundSchema
|
|
80790
81382
|
};
|
|
80791
81383
|
tool$transfersCreateCancellation = {
|
|
@@ -80794,9 +81386,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80794
81386
|
|
|
80795
81387
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80796
81388
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80797
|
-
args:
|
|
80798
|
-
tool: async (client,
|
|
80799
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
81389
|
+
args: args144,
|
|
81390
|
+
tool: async (client, args145, ctx) => {
|
|
81391
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80800
81392
|
if (!result.ok) {
|
|
80801
81393
|
return {
|
|
80802
81394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80811,9 +81403,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80811
81403
|
|
|
80812
81404
|
// src/funcs/transfersCreateReversal.ts
|
|
80813
81405
|
function transfersCreateReversal(client, request, options) {
|
|
80814
|
-
return new APIPromise($
|
|
81406
|
+
return new APIPromise($do145(client, request, options));
|
|
80815
81407
|
}
|
|
80816
|
-
async function $
|
|
81408
|
+
async function $do145(client, request, options) {
|
|
80817
81409
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80818
81410
|
if (!parsed.ok) {
|
|
80819
81411
|
return [parsed, { status: "invalid" }];
|
|
@@ -80912,12 +81504,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
80912
81504
|
});
|
|
80913
81505
|
|
|
80914
81506
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
80915
|
-
var
|
|
81507
|
+
var args145, tool$transfersCreateReversal;
|
|
80916
81508
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
80917
81509
|
init_transfersCreateReversal();
|
|
80918
81510
|
init_operations();
|
|
80919
81511
|
init_tools();
|
|
80920
|
-
|
|
81512
|
+
args145 = {
|
|
80921
81513
|
request: CreateReversalRequest$inboundSchema
|
|
80922
81514
|
};
|
|
80923
81515
|
tool$transfersCreateReversal = {
|
|
@@ -80928,9 +81520,9 @@ to learn more.
|
|
|
80928
81520
|
|
|
80929
81521
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80930
81522
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80931
|
-
args:
|
|
80932
|
-
tool: async (client,
|
|
80933
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
81523
|
+
args: args145,
|
|
81524
|
+
tool: async (client, args146, ctx) => {
|
|
81525
|
+
const [result, apiCall] = await transfersCreateReversal(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80934
81526
|
if (!result.ok) {
|
|
80935
81527
|
return {
|
|
80936
81528
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80945,9 +81537,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80945
81537
|
|
|
80946
81538
|
// src/funcs/transfersGenerateOptions.ts
|
|
80947
81539
|
function transfersGenerateOptions(client, request, options) {
|
|
80948
|
-
return new APIPromise($
|
|
81540
|
+
return new APIPromise($do146(client, request, options));
|
|
80949
81541
|
}
|
|
80950
|
-
async function $
|
|
81542
|
+
async function $do146(client, request, options) {
|
|
80951
81543
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80952
81544
|
if (!parsed.ok) {
|
|
80953
81545
|
return [parsed, { status: "invalid" }];
|
|
@@ -81031,12 +81623,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
81031
81623
|
});
|
|
81032
81624
|
|
|
81033
81625
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
81034
|
-
var
|
|
81626
|
+
var args146, tool$transfersGenerateOptions;
|
|
81035
81627
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
81036
81628
|
init_transfersGenerateOptions();
|
|
81037
81629
|
init_operations();
|
|
81038
81630
|
init_tools();
|
|
81039
|
-
|
|
81631
|
+
args146 = {
|
|
81040
81632
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
81041
81633
|
};
|
|
81042
81634
|
tool$transfersGenerateOptions = {
|
|
@@ -81050,9 +81642,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81050
81642
|
|
|
81051
81643
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81052
81644
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81053
|
-
args:
|
|
81054
|
-
tool: async (client,
|
|
81055
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
81645
|
+
args: args146,
|
|
81646
|
+
tool: async (client, args147, ctx) => {
|
|
81647
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81056
81648
|
if (!result.ok) {
|
|
81057
81649
|
return {
|
|
81058
81650
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81067,9 +81659,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81067
81659
|
|
|
81068
81660
|
// src/funcs/transfersGet.ts
|
|
81069
81661
|
function transfersGet(client, request, options) {
|
|
81070
|
-
return new APIPromise($
|
|
81662
|
+
return new APIPromise($do147(client, request, options));
|
|
81071
81663
|
}
|
|
81072
|
-
async function $
|
|
81664
|
+
async function $do147(client, request, options) {
|
|
81073
81665
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81074
81666
|
if (!parsed.ok) {
|
|
81075
81667
|
return [parsed, { status: "invalid" }];
|
|
@@ -81151,12 +81743,12 @@ var init_transfersGet = __esm(() => {
|
|
|
81151
81743
|
});
|
|
81152
81744
|
|
|
81153
81745
|
// src/mcp-server/tools/transfersGet.ts
|
|
81154
|
-
var
|
|
81746
|
+
var args147, tool$transfersGet;
|
|
81155
81747
|
var init_transfersGet2 = __esm(() => {
|
|
81156
81748
|
init_transfersGet();
|
|
81157
81749
|
init_operations();
|
|
81158
81750
|
init_tools();
|
|
81159
|
-
|
|
81751
|
+
args147 = {
|
|
81160
81752
|
request: GetTransferRequest$inboundSchema
|
|
81161
81753
|
};
|
|
81162
81754
|
tool$transfersGet = {
|
|
@@ -81168,9 +81760,9 @@ to learn more.
|
|
|
81168
81760
|
|
|
81169
81761
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81170
81762
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81171
|
-
args:
|
|
81172
|
-
tool: async (client,
|
|
81173
|
-
const [result, apiCall] = await transfersGet(client,
|
|
81763
|
+
args: args147,
|
|
81764
|
+
tool: async (client, args148, ctx) => {
|
|
81765
|
+
const [result, apiCall] = await transfersGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81174
81766
|
if (!result.ok) {
|
|
81175
81767
|
return {
|
|
81176
81768
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81185,9 +81777,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81185
81777
|
|
|
81186
81778
|
// src/funcs/transfersGetCancellation.ts
|
|
81187
81779
|
function transfersGetCancellation(client, request, options) {
|
|
81188
|
-
return new APIPromise($
|
|
81780
|
+
return new APIPromise($do148(client, request, options));
|
|
81189
81781
|
}
|
|
81190
|
-
async function $
|
|
81782
|
+
async function $do148(client, request, options) {
|
|
81191
81783
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81192
81784
|
if (!parsed.ok) {
|
|
81193
81785
|
return [parsed, { status: "invalid" }];
|
|
@@ -81273,12 +81865,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
81273
81865
|
});
|
|
81274
81866
|
|
|
81275
81867
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
81276
|
-
var
|
|
81868
|
+
var args148, tool$transfersGetCancellation;
|
|
81277
81869
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
81278
81870
|
init_transfersGetCancellation();
|
|
81279
81871
|
init_operations();
|
|
81280
81872
|
init_tools();
|
|
81281
|
-
|
|
81873
|
+
args148 = {
|
|
81282
81874
|
request: GetCancellationRequest$inboundSchema
|
|
81283
81875
|
};
|
|
81284
81876
|
tool$transfersGetCancellation = {
|
|
@@ -81287,9 +81879,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
81287
81879
|
|
|
81288
81880
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
81289
81881
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81290
|
-
args:
|
|
81291
|
-
tool: async (client,
|
|
81292
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
81882
|
+
args: args148,
|
|
81883
|
+
tool: async (client, args149, ctx) => {
|
|
81884
|
+
const [result, apiCall] = await transfersGetCancellation(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81293
81885
|
if (!result.ok) {
|
|
81294
81886
|
return {
|
|
81295
81887
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81304,9 +81896,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
81304
81896
|
|
|
81305
81897
|
// src/funcs/transfersGetRefund.ts
|
|
81306
81898
|
function transfersGetRefund(client, request, options) {
|
|
81307
|
-
return new APIPromise($
|
|
81899
|
+
return new APIPromise($do149(client, request, options));
|
|
81308
81900
|
}
|
|
81309
|
-
async function $
|
|
81901
|
+
async function $do149(client, request, options) {
|
|
81310
81902
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81311
81903
|
if (!parsed.ok) {
|
|
81312
81904
|
return [parsed, { status: "invalid" }];
|
|
@@ -81392,12 +81984,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
81392
81984
|
});
|
|
81393
81985
|
|
|
81394
81986
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
81395
|
-
var
|
|
81987
|
+
var args149, tool$transfersGetRefund;
|
|
81396
81988
|
var init_transfersGetRefund2 = __esm(() => {
|
|
81397
81989
|
init_transfersGetRefund();
|
|
81398
81990
|
init_operations();
|
|
81399
81991
|
init_tools();
|
|
81400
|
-
|
|
81992
|
+
args149 = {
|
|
81401
81993
|
request: GetRefundRequest$inboundSchema
|
|
81402
81994
|
};
|
|
81403
81995
|
tool$transfersGetRefund = {
|
|
@@ -81406,9 +81998,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
81406
81998
|
|
|
81407
81999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81408
82000
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81409
|
-
args:
|
|
81410
|
-
tool: async (client,
|
|
81411
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
82001
|
+
args: args149,
|
|
82002
|
+
tool: async (client, args150, ctx) => {
|
|
82003
|
+
const [result, apiCall] = await transfersGetRefund(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81412
82004
|
if (!result.ok) {
|
|
81413
82005
|
return {
|
|
81414
82006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81423,9 +82015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81423
82015
|
|
|
81424
82016
|
// src/funcs/transfersInitiateRefund.ts
|
|
81425
82017
|
function transfersInitiateRefund(client, request, options) {
|
|
81426
|
-
return new APIPromise($
|
|
82018
|
+
return new APIPromise($do150(client, request, options));
|
|
81427
82019
|
}
|
|
81428
|
-
async function $
|
|
82020
|
+
async function $do150(client, request, options) {
|
|
81429
82021
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81430
82022
|
if (!parsed.ok) {
|
|
81431
82023
|
return [parsed, { status: "invalid" }];
|
|
@@ -81517,12 +82109,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
81517
82109
|
});
|
|
81518
82110
|
|
|
81519
82111
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
81520
|
-
var
|
|
82112
|
+
var args150, tool$transfersInitiateRefund;
|
|
81521
82113
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
81522
82114
|
init_transfersInitiateRefund();
|
|
81523
82115
|
init_operations();
|
|
81524
82116
|
init_tools();
|
|
81525
|
-
|
|
82117
|
+
args150 = {
|
|
81526
82118
|
request: InitiateRefundRequest$inboundSchema
|
|
81527
82119
|
};
|
|
81528
82120
|
tool$transfersInitiateRefund = {
|
|
@@ -81534,9 +82126,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
81534
82126
|
|
|
81535
82127
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81536
82128
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81537
|
-
args:
|
|
81538
|
-
tool: async (client,
|
|
81539
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
82129
|
+
args: args150,
|
|
82130
|
+
tool: async (client, args151, ctx) => {
|
|
82131
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81540
82132
|
if (!result.ok) {
|
|
81541
82133
|
return {
|
|
81542
82134
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81551,9 +82143,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81551
82143
|
|
|
81552
82144
|
// src/funcs/transfersList.ts
|
|
81553
82145
|
function transfersList(client, request, options) {
|
|
81554
|
-
return new APIPromise($
|
|
82146
|
+
return new APIPromise($do151(client, request, options));
|
|
81555
82147
|
}
|
|
81556
|
-
async function $
|
|
82148
|
+
async function $do151(client, request, options) {
|
|
81557
82149
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81558
82150
|
if (!parsed.ok) {
|
|
81559
82151
|
return [parsed, { status: "invalid" }];
|
|
@@ -81649,12 +82241,12 @@ var init_transfersList = __esm(() => {
|
|
|
81649
82241
|
});
|
|
81650
82242
|
|
|
81651
82243
|
// src/mcp-server/tools/transfersList.ts
|
|
81652
|
-
var
|
|
82244
|
+
var args151, tool$transfersList;
|
|
81653
82245
|
var init_transfersList2 = __esm(() => {
|
|
81654
82246
|
init_transfersList();
|
|
81655
82247
|
init_operations();
|
|
81656
82248
|
init_tools();
|
|
81657
|
-
|
|
82249
|
+
args151 = {
|
|
81658
82250
|
request: ListTransfersRequest$inboundSchema
|
|
81659
82251
|
};
|
|
81660
82252
|
tool$transfersList = {
|
|
@@ -81670,9 +82262,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
81670
82262
|
|
|
81671
82263
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81672
82264
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81673
|
-
args:
|
|
81674
|
-
tool: async (client,
|
|
81675
|
-
const [result, apiCall] = await transfersList(client,
|
|
82265
|
+
args: args151,
|
|
82266
|
+
tool: async (client, args152, ctx) => {
|
|
82267
|
+
const [result, apiCall] = await transfersList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81676
82268
|
if (!result.ok) {
|
|
81677
82269
|
return {
|
|
81678
82270
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81687,9 +82279,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81687
82279
|
|
|
81688
82280
|
// src/funcs/transfersListRefunds.ts
|
|
81689
82281
|
function transfersListRefunds(client, request, options) {
|
|
81690
|
-
return new APIPromise($
|
|
82282
|
+
return new APIPromise($do152(client, request, options));
|
|
81691
82283
|
}
|
|
81692
|
-
async function $
|
|
82284
|
+
async function $do152(client, request, options) {
|
|
81693
82285
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81694
82286
|
if (!parsed.ok) {
|
|
81695
82287
|
return [parsed, { status: "invalid" }];
|
|
@@ -81771,12 +82363,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
81771
82363
|
});
|
|
81772
82364
|
|
|
81773
82365
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
81774
|
-
var
|
|
82366
|
+
var args152, tool$transfersListRefunds;
|
|
81775
82367
|
var init_transfersListRefunds2 = __esm(() => {
|
|
81776
82368
|
init_transfersListRefunds();
|
|
81777
82369
|
init_operations();
|
|
81778
82370
|
init_tools();
|
|
81779
|
-
|
|
82371
|
+
args152 = {
|
|
81780
82372
|
request: ListRefundsRequest$inboundSchema
|
|
81781
82373
|
};
|
|
81782
82374
|
tool$transfersListRefunds = {
|
|
@@ -81785,9 +82377,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
81785
82377
|
|
|
81786
82378
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81787
82379
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81788
|
-
args:
|
|
81789
|
-
tool: async (client,
|
|
81790
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
82380
|
+
args: args152,
|
|
82381
|
+
tool: async (client, args153, ctx) => {
|
|
82382
|
+
const [result, apiCall] = await transfersListRefunds(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81791
82383
|
if (!result.ok) {
|
|
81792
82384
|
return {
|
|
81793
82385
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81802,9 +82394,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81802
82394
|
|
|
81803
82395
|
// src/funcs/transfersUpdate.ts
|
|
81804
82396
|
function transfersUpdate(client, request, options) {
|
|
81805
|
-
return new APIPromise($
|
|
82397
|
+
return new APIPromise($do153(client, request, options));
|
|
81806
82398
|
}
|
|
81807
|
-
async function $
|
|
82399
|
+
async function $do153(client, request, options) {
|
|
81808
82400
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81809
82401
|
if (!parsed.ok) {
|
|
81810
82402
|
return [parsed, { status: "invalid" }];
|
|
@@ -81890,12 +82482,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
81890
82482
|
});
|
|
81891
82483
|
|
|
81892
82484
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
81893
|
-
var
|
|
82485
|
+
var args153, tool$transfersUpdate;
|
|
81894
82486
|
var init_transfersUpdate2 = __esm(() => {
|
|
81895
82487
|
init_transfersUpdate();
|
|
81896
82488
|
init_operations();
|
|
81897
82489
|
init_tools();
|
|
81898
|
-
|
|
82490
|
+
args153 = {
|
|
81899
82491
|
request: UpdateTransferRequest$inboundSchema
|
|
81900
82492
|
};
|
|
81901
82493
|
tool$transfersUpdate = {
|
|
@@ -81906,9 +82498,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81906
82498
|
|
|
81907
82499
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81908
82500
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81909
|
-
args:
|
|
81910
|
-
tool: async (client,
|
|
81911
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
82501
|
+
args: args153,
|
|
82502
|
+
tool: async (client, args154, ctx) => {
|
|
82503
|
+
const [result, apiCall] = await transfersUpdate(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81912
82504
|
if (!result.ok) {
|
|
81913
82505
|
return {
|
|
81914
82506
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81923,9 +82515,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81923
82515
|
|
|
81924
82516
|
// src/funcs/underwritingGet.ts
|
|
81925
82517
|
function underwritingGet(client, request, options) {
|
|
81926
|
-
return new APIPromise($
|
|
82518
|
+
return new APIPromise($do154(client, request, options));
|
|
81927
82519
|
}
|
|
81928
|
-
async function $
|
|
82520
|
+
async function $do154(client, request, options) {
|
|
81929
82521
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81930
82522
|
if (!parsed.ok) {
|
|
81931
82523
|
return [parsed, { status: "invalid" }];
|
|
@@ -82003,12 +82595,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
82003
82595
|
});
|
|
82004
82596
|
|
|
82005
82597
|
// src/mcp-server/tools/underwritingGet.ts
|
|
82006
|
-
var
|
|
82598
|
+
var args154, tool$underwritingGet;
|
|
82007
82599
|
var init_underwritingGet2 = __esm(() => {
|
|
82008
82600
|
init_underwritingGet();
|
|
82009
82601
|
init_operations();
|
|
82010
82602
|
init_tools();
|
|
82011
|
-
|
|
82603
|
+
args154 = {
|
|
82012
82604
|
request: GetUnderwritingRequest$inboundSchema
|
|
82013
82605
|
};
|
|
82014
82606
|
tool$underwritingGet = {
|
|
@@ -82019,9 +82611,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82019
82611
|
|
|
82020
82612
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82021
82613
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
82022
|
-
args:
|
|
82023
|
-
tool: async (client,
|
|
82024
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
82614
|
+
args: args154,
|
|
82615
|
+
tool: async (client, args155, ctx) => {
|
|
82616
|
+
const [result, apiCall] = await underwritingGet(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82025
82617
|
if (!result.ok) {
|
|
82026
82618
|
return {
|
|
82027
82619
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82036,9 +82628,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
82036
82628
|
|
|
82037
82629
|
// src/funcs/underwritingSave.ts
|
|
82038
82630
|
function underwritingSave(client, request, options) {
|
|
82039
|
-
return new APIPromise($
|
|
82631
|
+
return new APIPromise($do155(client, request, options));
|
|
82040
82632
|
}
|
|
82041
|
-
async function $
|
|
82633
|
+
async function $do155(client, request, options) {
|
|
82042
82634
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82043
82635
|
if (!parsed.ok) {
|
|
82044
82636
|
return [parsed, { status: "invalid" }];
|
|
@@ -82134,12 +82726,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
82134
82726
|
});
|
|
82135
82727
|
|
|
82136
82728
|
// src/mcp-server/tools/underwritingSave.ts
|
|
82137
|
-
var
|
|
82729
|
+
var args155, tool$underwritingSave;
|
|
82138
82730
|
var init_underwritingSave2 = __esm(() => {
|
|
82139
82731
|
init_underwritingSave();
|
|
82140
82732
|
init_operations();
|
|
82141
82733
|
init_tools();
|
|
82142
|
-
|
|
82734
|
+
args155 = {
|
|
82143
82735
|
request: SaveUnderwritingRequest$inboundSchema
|
|
82144
82736
|
};
|
|
82145
82737
|
tool$underwritingSave = {
|
|
@@ -82150,9 +82742,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82150
82742
|
|
|
82151
82743
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82152
82744
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
82153
|
-
args:
|
|
82154
|
-
tool: async (client,
|
|
82155
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
82745
|
+
args: args155,
|
|
82746
|
+
tool: async (client, args156, ctx) => {
|
|
82747
|
+
const [result, apiCall] = await underwritingSave(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82156
82748
|
if (!result.ok) {
|
|
82157
82749
|
return {
|
|
82158
82750
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82167,9 +82759,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
82167
82759
|
|
|
82168
82760
|
// src/funcs/underwritingUpsert.ts
|
|
82169
82761
|
function underwritingUpsert(client, request, options) {
|
|
82170
|
-
return new APIPromise($
|
|
82762
|
+
return new APIPromise($do156(client, request, options));
|
|
82171
82763
|
}
|
|
82172
|
-
async function $
|
|
82764
|
+
async function $do156(client, request, options) {
|
|
82173
82765
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82174
82766
|
if (!parsed.ok) {
|
|
82175
82767
|
return [parsed, { status: "invalid" }];
|
|
@@ -82265,12 +82857,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
82265
82857
|
});
|
|
82266
82858
|
|
|
82267
82859
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
82268
|
-
var
|
|
82860
|
+
var args156, tool$underwritingUpsert;
|
|
82269
82861
|
var init_underwritingUpsert2 = __esm(() => {
|
|
82270
82862
|
init_underwritingUpsert();
|
|
82271
82863
|
init_operations();
|
|
82272
82864
|
init_tools();
|
|
82273
|
-
|
|
82865
|
+
args156 = {
|
|
82274
82866
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
82275
82867
|
};
|
|
82276
82868
|
tool$underwritingUpsert = {
|
|
@@ -82281,9 +82873,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82281
82873
|
|
|
82282
82874
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82283
82875
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
82284
|
-
args:
|
|
82285
|
-
tool: async (client,
|
|
82286
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
82876
|
+
args: args156,
|
|
82877
|
+
tool: async (client, args157, ctx) => {
|
|
82878
|
+
const [result, apiCall] = await underwritingUpsert(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82287
82879
|
if (!result.ok) {
|
|
82288
82880
|
return {
|
|
82289
82881
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82298,9 +82890,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
82298
82890
|
|
|
82299
82891
|
// src/funcs/walletsCreate.ts
|
|
82300
82892
|
function walletsCreate(client, request, options) {
|
|
82301
|
-
return new APIPromise($
|
|
82893
|
+
return new APIPromise($do157(client, request, options));
|
|
82302
82894
|
}
|
|
82303
|
-
async function $
|
|
82895
|
+
async function $do157(client, request, options) {
|
|
82304
82896
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82305
82897
|
if (!parsed.ok) {
|
|
82306
82898
|
return [parsed, { status: "invalid" }];
|
|
@@ -82394,12 +82986,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
82394
82986
|
});
|
|
82395
82987
|
|
|
82396
82988
|
// src/mcp-server/tools/walletsCreate.ts
|
|
82397
|
-
var
|
|
82989
|
+
var args157, tool$walletsCreate;
|
|
82398
82990
|
var init_walletsCreate2 = __esm(() => {
|
|
82399
82991
|
init_walletsCreate();
|
|
82400
82992
|
init_operations();
|
|
82401
82993
|
init_tools();
|
|
82402
|
-
|
|
82994
|
+
args157 = {
|
|
82403
82995
|
request: CreateWalletRequest$inboundSchema
|
|
82404
82996
|
};
|
|
82405
82997
|
tool$walletsCreate = {
|
|
@@ -82410,9 +83002,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82410
83002
|
|
|
82411
83003
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82412
83004
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82413
|
-
args:
|
|
82414
|
-
tool: async (client,
|
|
82415
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
83005
|
+
args: args157,
|
|
83006
|
+
tool: async (client, args158, ctx) => {
|
|
83007
|
+
const [result, apiCall] = await walletsCreate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82416
83008
|
if (!result.ok) {
|
|
82417
83009
|
return {
|
|
82418
83010
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82427,9 +83019,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82427
83019
|
|
|
82428
83020
|
// src/funcs/walletsGet.ts
|
|
82429
83021
|
function walletsGet(client, request, options) {
|
|
82430
|
-
return new APIPromise($
|
|
83022
|
+
return new APIPromise($do158(client, request, options));
|
|
82431
83023
|
}
|
|
82432
|
-
async function $
|
|
83024
|
+
async function $do158(client, request, options) {
|
|
82433
83025
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82434
83026
|
if (!parsed.ok) {
|
|
82435
83027
|
return [parsed, { status: "invalid" }];
|
|
@@ -82511,12 +83103,12 @@ var init_walletsGet = __esm(() => {
|
|
|
82511
83103
|
});
|
|
82512
83104
|
|
|
82513
83105
|
// src/mcp-server/tools/walletsGet.ts
|
|
82514
|
-
var
|
|
83106
|
+
var args158, tool$walletsGet;
|
|
82515
83107
|
var init_walletsGet2 = __esm(() => {
|
|
82516
83108
|
init_walletsGet();
|
|
82517
83109
|
init_operations();
|
|
82518
83110
|
init_tools();
|
|
82519
|
-
|
|
83111
|
+
args158 = {
|
|
82520
83112
|
request: GetWalletRequest$inboundSchema
|
|
82521
83113
|
};
|
|
82522
83114
|
tool$walletsGet = {
|
|
@@ -82527,9 +83119,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82527
83119
|
|
|
82528
83120
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82529
83121
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82530
|
-
args:
|
|
82531
|
-
tool: async (client,
|
|
82532
|
-
const [result, apiCall] = await walletsGet(client,
|
|
83122
|
+
args: args158,
|
|
83123
|
+
tool: async (client, args159, ctx) => {
|
|
83124
|
+
const [result, apiCall] = await walletsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82533
83125
|
if (!result.ok) {
|
|
82534
83126
|
return {
|
|
82535
83127
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82544,9 +83136,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82544
83136
|
|
|
82545
83137
|
// src/funcs/walletsList.ts
|
|
82546
83138
|
function walletsList(client, request, options) {
|
|
82547
|
-
return new APIPromise($
|
|
83139
|
+
return new APIPromise($do159(client, request, options));
|
|
82548
83140
|
}
|
|
82549
|
-
async function $
|
|
83141
|
+
async function $do159(client, request, options) {
|
|
82550
83142
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82551
83143
|
if (!parsed.ok) {
|
|
82552
83144
|
return [parsed, { status: "invalid" }];
|
|
@@ -82634,12 +83226,12 @@ var init_walletsList = __esm(() => {
|
|
|
82634
83226
|
});
|
|
82635
83227
|
|
|
82636
83228
|
// src/mcp-server/tools/walletsList.ts
|
|
82637
|
-
var
|
|
83229
|
+
var args159, tool$walletsList;
|
|
82638
83230
|
var init_walletsList2 = __esm(() => {
|
|
82639
83231
|
init_walletsList();
|
|
82640
83232
|
init_operations();
|
|
82641
83233
|
init_tools();
|
|
82642
|
-
|
|
83234
|
+
args159 = {
|
|
82643
83235
|
request: ListWalletsRequest$inboundSchema
|
|
82644
83236
|
};
|
|
82645
83237
|
tool$walletsList = {
|
|
@@ -82650,9 +83242,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82650
83242
|
|
|
82651
83243
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82652
83244
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82653
|
-
args:
|
|
82654
|
-
tool: async (client,
|
|
82655
|
-
const [result, apiCall] = await walletsList(client,
|
|
83245
|
+
args: args159,
|
|
83246
|
+
tool: async (client, args160, ctx) => {
|
|
83247
|
+
const [result, apiCall] = await walletsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82656
83248
|
if (!result.ok) {
|
|
82657
83249
|
return {
|
|
82658
83250
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82667,9 +83259,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82667
83259
|
|
|
82668
83260
|
// src/funcs/walletsUpdate.ts
|
|
82669
83261
|
function walletsUpdate(client, request, options) {
|
|
82670
|
-
return new APIPromise($
|
|
83262
|
+
return new APIPromise($do160(client, request, options));
|
|
82671
83263
|
}
|
|
82672
|
-
async function $
|
|
83264
|
+
async function $do160(client, request, options) {
|
|
82673
83265
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82674
83266
|
if (!parsed.ok) {
|
|
82675
83267
|
return [parsed, { status: "invalid" }];
|
|
@@ -82767,12 +83359,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
82767
83359
|
});
|
|
82768
83360
|
|
|
82769
83361
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
82770
|
-
var
|
|
83362
|
+
var args160, tool$walletsUpdate;
|
|
82771
83363
|
var init_walletsUpdate2 = __esm(() => {
|
|
82772
83364
|
init_walletsUpdate();
|
|
82773
83365
|
init_operations();
|
|
82774
83366
|
init_tools();
|
|
82775
|
-
|
|
83367
|
+
args160 = {
|
|
82776
83368
|
request: UpdateWalletRequest$inboundSchema
|
|
82777
83369
|
};
|
|
82778
83370
|
tool$walletsUpdate = {
|
|
@@ -82783,9 +83375,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82783
83375
|
|
|
82784
83376
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82785
83377
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82786
|
-
args:
|
|
82787
|
-
tool: async (client,
|
|
82788
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
83378
|
+
args: args160,
|
|
83379
|
+
tool: async (client, args161, ctx) => {
|
|
83380
|
+
const [result, apiCall] = await walletsUpdate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82789
83381
|
if (!result.ok) {
|
|
82790
83382
|
return {
|
|
82791
83383
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82800,9 +83392,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82800
83392
|
|
|
82801
83393
|
// src/funcs/walletTransactionsGet.ts
|
|
82802
83394
|
function walletTransactionsGet(client, request, options) {
|
|
82803
|
-
return new APIPromise($
|
|
83395
|
+
return new APIPromise($do161(client, request, options));
|
|
82804
83396
|
}
|
|
82805
|
-
async function $
|
|
83397
|
+
async function $do161(client, request, options) {
|
|
82806
83398
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82807
83399
|
if (!parsed.ok) {
|
|
82808
83400
|
return [parsed, { status: "invalid" }];
|
|
@@ -82888,12 +83480,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
82888
83480
|
});
|
|
82889
83481
|
|
|
82890
83482
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
82891
|
-
var
|
|
83483
|
+
var args161, tool$walletTransactionsGet;
|
|
82892
83484
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
82893
83485
|
init_walletTransactionsGet();
|
|
82894
83486
|
init_operations();
|
|
82895
83487
|
init_tools();
|
|
82896
|
-
|
|
83488
|
+
args161 = {
|
|
82897
83489
|
request: GetWalletTransactionRequest$inboundSchema
|
|
82898
83490
|
};
|
|
82899
83491
|
tool$walletTransactionsGet = {
|
|
@@ -82904,9 +83496,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82904
83496
|
|
|
82905
83497
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82906
83498
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82907
|
-
args:
|
|
82908
|
-
tool: async (client,
|
|
82909
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
83499
|
+
args: args161,
|
|
83500
|
+
tool: async (client, args162, ctx) => {
|
|
83501
|
+
const [result, apiCall] = await walletTransactionsGet(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82910
83502
|
if (!result.ok) {
|
|
82911
83503
|
return {
|
|
82912
83504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82921,9 +83513,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82921
83513
|
|
|
82922
83514
|
// src/funcs/walletTransactionsList.ts
|
|
82923
83515
|
function walletTransactionsList(client, request, options) {
|
|
82924
|
-
return new APIPromise($
|
|
83516
|
+
return new APIPromise($do162(client, request, options));
|
|
82925
83517
|
}
|
|
82926
|
-
async function $
|
|
83518
|
+
async function $do162(client, request, options) {
|
|
82927
83519
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82928
83520
|
if (!parsed.ok) {
|
|
82929
83521
|
return [parsed, { status: "invalid" }];
|
|
@@ -83023,12 +83615,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
83023
83615
|
});
|
|
83024
83616
|
|
|
83025
83617
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
83026
|
-
var
|
|
83618
|
+
var args162, tool$walletTransactionsList;
|
|
83027
83619
|
var init_walletTransactionsList2 = __esm(() => {
|
|
83028
83620
|
init_walletTransactionsList();
|
|
83029
83621
|
init_operations();
|
|
83030
83622
|
init_tools();
|
|
83031
|
-
|
|
83623
|
+
args162 = {
|
|
83032
83624
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
83033
83625
|
};
|
|
83034
83626
|
tool$walletTransactionsList = {
|
|
@@ -83039,9 +83631,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
83039
83631
|
|
|
83040
83632
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
83041
83633
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
83042
|
-
args:
|
|
83043
|
-
tool: async (client,
|
|
83044
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
83634
|
+
args: args162,
|
|
83635
|
+
tool: async (client, args163, ctx) => {
|
|
83636
|
+
const [result, apiCall] = await walletTransactionsList(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83045
83637
|
if (!result.ok) {
|
|
83046
83638
|
return {
|
|
83047
83639
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83058,7 +83650,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
83058
83650
|
function createMCPServer(deps) {
|
|
83059
83651
|
const server = new McpServer({
|
|
83060
83652
|
name: "Moov",
|
|
83061
|
-
version: "0.
|
|
83653
|
+
version: "0.20.0"
|
|
83062
83654
|
});
|
|
83063
83655
|
const client = new MoovCore({
|
|
83064
83656
|
security: deps.security,
|
|
@@ -83129,6 +83721,9 @@ function createMCPServer(deps) {
|
|
|
83129
83721
|
tool(tool$feePlansListFeesFetch);
|
|
83130
83722
|
tool(tool$feePlansListPartnerPricing);
|
|
83131
83723
|
tool(tool$feePlansListPartnerPricingAgreements);
|
|
83724
|
+
tool(tool$feePlansListResiduals);
|
|
83725
|
+
tool(tool$feePlansGetResidual);
|
|
83726
|
+
tool(tool$feePlansListResidualFees);
|
|
83132
83727
|
tool(tool$filesUpload);
|
|
83133
83728
|
tool(tool$filesList);
|
|
83134
83729
|
tool(tool$filesGet);
|
|
@@ -83305,11 +83900,14 @@ var init_server2 = __esm(() => {
|
|
|
83305
83900
|
init_enrichedAddressGet2();
|
|
83306
83901
|
init_enrichedProfileGet2();
|
|
83307
83902
|
init_feePlansCreateFeePlanAgreements2();
|
|
83903
|
+
init_feePlansGetResidual2();
|
|
83308
83904
|
init_feePlansListFeePlanAgreements2();
|
|
83309
83905
|
init_feePlansListFeePlans2();
|
|
83310
83906
|
init_feePlansListFeesFetch2();
|
|
83311
83907
|
init_feePlansListPartnerPricing2();
|
|
83312
83908
|
init_feePlansListPartnerPricingAgreements2();
|
|
83909
|
+
init_feePlansListResidualFees2();
|
|
83910
|
+
init_feePlansListResiduals2();
|
|
83313
83911
|
init_feePlansRetrieveFees2();
|
|
83314
83912
|
init_filesGet2();
|
|
83315
83913
|
init_filesList2();
|
|
@@ -84600,7 +85198,7 @@ var routes = rn({
|
|
|
84600
85198
|
var app = Ve(routes, {
|
|
84601
85199
|
name: "mcp",
|
|
84602
85200
|
versionInfo: {
|
|
84603
|
-
currentVersion: "0.
|
|
85201
|
+
currentVersion: "0.20.0"
|
|
84604
85202
|
}
|
|
84605
85203
|
});
|
|
84606
85204
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84608,5 +85206,5 @@ export {
|
|
|
84608
85206
|
app
|
|
84609
85207
|
};
|
|
84610
85208
|
|
|
84611
|
-
//# debugId=
|
|
85209
|
+
//# debugId=90F28B2BF898CE3464756E2164756E21
|
|
84612
85210
|
//# sourceMappingURL=mcp-server.js.map
|