@moovio/sdk 0.12.0 → 0.12.1
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/FUNCTIONS.md +6 -22
- package/README.md +97 -55
- package/bin/mcp-server.js +749 -415
- package/bin/mcp-server.js.map +19 -9
- package/docs/sdks/accounts/README.md +63 -81
- package/docs/sdks/accountterminalapplications/README.md +28 -36
- package/docs/sdks/adjustments/README.md +14 -18
- package/docs/sdks/applepay/README.md +35 -45
- package/docs/sdks/authentication/README.md +14 -18
- package/docs/sdks/avatars/README.md +7 -9
- package/docs/sdks/bankaccounts/README.md +63 -81
- package/docs/sdks/branding/README.md +28 -36
- package/docs/sdks/capabilities/README.md +28 -36
- package/docs/sdks/cardissuing/README.md +35 -45
- package/docs/sdks/cards/README.md +35 -45
- package/docs/sdks/disputes/README.md +77 -99
- package/docs/sdks/endtoendencryption/README.md +14 -18
- package/docs/sdks/enrichedaddress/README.md +7 -9
- package/docs/sdks/enrichedprofile/README.md +7 -9
- package/docs/sdks/feeplans/README.md +49 -63
- package/docs/sdks/files/README.md +21 -27
- package/docs/sdks/industries/README.md +7 -9
- package/docs/sdks/institutions/README.md +98 -9
- package/docs/sdks/issuingtransactions/README.md +35 -45
- package/docs/sdks/onboarding/README.md +28 -36
- package/docs/sdks/paymentlinks/README.md +42 -54
- package/docs/sdks/paymentmethods/README.md +14 -18
- package/docs/sdks/ping/README.md +7 -9
- package/docs/sdks/receipts/README.md +14 -18
- package/docs/sdks/representatives/README.md +35 -45
- package/docs/sdks/scheduling/README.md +42 -54
- package/docs/sdks/sweeps/README.md +42 -54
- package/docs/sdks/terminalapplications/README.md +28 -36
- package/docs/sdks/transfers/README.md +77 -99
- package/docs/sdks/underwriting/README.md +14 -18
- package/docs/sdks/wallets/README.md +14 -18
- package/docs/sdks/wallettransactions/README.md +14 -18
- package/funcs/institutionsSearchInstitutions.d.ts +20 -0
- package/funcs/institutionsSearchInstitutions.d.ts.map +1 -0
- package/funcs/institutionsSearchInstitutions.js +129 -0
- package/funcs/institutionsSearchInstitutions.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 +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/institutionsSearchInstitutions.d.ts +8 -0
- package/mcp-server/tools/institutionsSearchInstitutions.d.ts.map +1 -0
- package/mcp-server/tools/institutionsSearchInstitutions.js +69 -0
- package/mcp-server/tools/institutionsSearchInstitutions.js.map +1 -0
- package/models/components/achinstitution.d.ts +40 -0
- package/models/components/achinstitution.d.ts.map +1 -0
- package/models/components/achinstitution.js +77 -0
- package/models/components/achinstitution.js.map +1 -0
- package/models/components/contact.d.ts +30 -0
- package/models/components/contact.d.ts.map +1 -0
- package/models/components/contact.js +70 -0
- package/models/components/contact.js.map +1 -0
- package/models/components/index.d.ts +7 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -0
- package/models/components/index.js.map +1 -1
- package/models/components/institutionssearchresponse.d.ts +36 -0
- package/models/components/institutionssearchresponse.d.ts.map +1 -0
- package/models/components/institutionssearchresponse.js +76 -0
- package/models/components/institutionssearchresponse.js.map +1 -0
- package/models/components/rtpinstitution.d.ts +37 -0
- package/models/components/rtpinstitution.d.ts.map +1 -0
- package/models/components/rtpinstitution.js +74 -0
- package/models/components/rtpinstitution.js.map +1 -0
- package/models/components/rtpservices.d.ts +37 -0
- package/models/components/rtpservices.d.ts.map +1 -0
- package/models/components/rtpservices.js +71 -0
- package/models/components/rtpservices.js.map +1 -0
- package/models/components/wireinstitution.d.ts +40 -0
- package/models/components/wireinstitution.d.ts.map +1 -0
- package/models/components/wireinstitution.js +77 -0
- package/models/components/wireinstitution.js.map +1 -0
- package/models/components/wireservices.d.ts +42 -0
- package/models/components/wireservices.d.ts.map +1 -0
- package/models/components/wireservices.js +73 -0
- package/models/components/wireservices.js.map +1 -0
- package/models/errors/apierror.d.ts +14 -2
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +1 -1
- package/models/errors/apierror.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/searchinstitutions.d.ts +112 -0
- package/models/operations/searchinstitutions.d.ts.map +1 -0
- package/models/operations/searchinstitutions.js +149 -0
- package/models/operations/searchinstitutions.js.map +1 -0
- package/package.json +1 -1
- package/sdk/institutions.d.ts +11 -0
- package/sdk/institutions.d.ts.map +1 -1
- package/sdk/institutions.js +14 -0
- package/sdk/institutions.js.map +1 -1
- package/src/funcs/institutionsSearchInstitutions.ts +179 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/institutionsSearchInstitutions.ts +43 -0
- package/src/models/components/achinstitution.ts +89 -0
- package/src/models/components/contact.ts +65 -0
- package/src/models/components/index.ts +7 -0
- package/src/models/components/institutionssearchresponse.ts +92 -0
- package/src/models/components/rtpinstitution.ts +79 -0
- package/src/models/components/rtpservices.ts +72 -0
- package/src/models/components/wireinstitution.ts +91 -0
- package/src/models/components/wireservices.ts +79 -0
- package/src/models/errors/apierror.ts +18 -3
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/searchinstitutions.ts +236 -0
- package/src/sdk/institutions.ts +22 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34246,9 +34246,9 @@ var init_config = __esm(() => {
|
|
|
34246
34246
|
SDK_METADATA = {
|
|
34247
34247
|
language: "typescript",
|
|
34248
34248
|
openapiDocVersion: "latest",
|
|
34249
|
-
sdkVersion: "0.12.
|
|
34250
|
-
genVersion: "2.
|
|
34251
|
-
userAgent: "speakeasy-sdk/typescript 0.12.
|
|
34249
|
+
sdkVersion: "0.12.1",
|
|
34250
|
+
genVersion: "2.621.3",
|
|
34251
|
+
userAgent: "speakeasy-sdk/typescript 0.12.1 2.621.3 latest @moovio/sdk"
|
|
34252
34252
|
};
|
|
34253
34253
|
});
|
|
34254
34254
|
|
|
@@ -35212,18 +35212,18 @@ var init_tools = __esm(() => {
|
|
|
35212
35212
|
var APIError;
|
|
35213
35213
|
var init_apierror = __esm(() => {
|
|
35214
35214
|
APIError = class APIError extends Error {
|
|
35215
|
-
rawResponse;
|
|
35216
|
-
body;
|
|
35217
35215
|
statusCode;
|
|
35218
35216
|
contentType;
|
|
35217
|
+
body;
|
|
35218
|
+
rawResponse;
|
|
35219
35219
|
constructor(message, rawResponse, body = "") {
|
|
35220
35220
|
const statusCode = rawResponse.status;
|
|
35221
35221
|
const contentType2 = rawResponse.headers.get("content-type") || "";
|
|
35222
35222
|
const bodyString = body.length > 0 ? `
|
|
35223
35223
|
${body}` : "";
|
|
35224
35224
|
super(`${message}: Status ${statusCode} Content-Type ${contentType2} Body ${bodyString}`);
|
|
35225
|
-
this.rawResponse = rawResponse;
|
|
35226
35225
|
this.body = body;
|
|
35226
|
+
this.rawResponse = rawResponse;
|
|
35227
35227
|
this.statusCode = statusCode;
|
|
35228
35228
|
this.contentType = contentType2;
|
|
35229
35229
|
this.name = "APIError";
|
|
@@ -36547,6 +36547,47 @@ var init_achexception = __esm(() => {
|
|
|
36547
36547
|
})(ACHException$ ||= {});
|
|
36548
36548
|
});
|
|
36549
36549
|
|
|
36550
|
+
// src/models/components/contact.ts
|
|
36551
|
+
var Contact$inboundSchema, Contact$outboundSchema, Contact$;
|
|
36552
|
+
var init_contact = __esm(() => {
|
|
36553
|
+
init_esm();
|
|
36554
|
+
init_phonenumber();
|
|
36555
|
+
Contact$inboundSchema = objectType({
|
|
36556
|
+
phone: PhoneNumber$inboundSchema.optional()
|
|
36557
|
+
});
|
|
36558
|
+
Contact$outboundSchema = objectType({
|
|
36559
|
+
phone: PhoneNumber$outboundSchema.optional()
|
|
36560
|
+
});
|
|
36561
|
+
((Contact$) => {
|
|
36562
|
+
Contact$.inboundSchema = Contact$inboundSchema;
|
|
36563
|
+
Contact$.outboundSchema = Contact$outboundSchema;
|
|
36564
|
+
})(Contact$ ||= {});
|
|
36565
|
+
});
|
|
36566
|
+
|
|
36567
|
+
// src/models/components/achinstitution.ts
|
|
36568
|
+
var ACHInstitution$inboundSchema, ACHInstitution$outboundSchema, ACHInstitution$;
|
|
36569
|
+
var init_achinstitution = __esm(() => {
|
|
36570
|
+
init_esm();
|
|
36571
|
+
init_address();
|
|
36572
|
+
init_contact();
|
|
36573
|
+
ACHInstitution$inboundSchema = objectType({
|
|
36574
|
+
name: stringType(),
|
|
36575
|
+
routingNumber: stringType(),
|
|
36576
|
+
address: Address$inboundSchema.optional(),
|
|
36577
|
+
contact: Contact$inboundSchema.optional()
|
|
36578
|
+
});
|
|
36579
|
+
ACHInstitution$outboundSchema = objectType({
|
|
36580
|
+
name: stringType(),
|
|
36581
|
+
routingNumber: stringType(),
|
|
36582
|
+
address: Address$outboundSchema.optional(),
|
|
36583
|
+
contact: Contact$outboundSchema.optional()
|
|
36584
|
+
});
|
|
36585
|
+
((ACHInstitution$) => {
|
|
36586
|
+
ACHInstitution$.inboundSchema = ACHInstitution$inboundSchema;
|
|
36587
|
+
ACHInstitution$.outboundSchema = ACHInstitution$outboundSchema;
|
|
36588
|
+
})(ACHInstitution$ ||= {});
|
|
36589
|
+
});
|
|
36590
|
+
|
|
36550
36591
|
// src/models/components/achlocation.ts
|
|
36551
36592
|
var AchLocation$inboundSchema, AchLocation$outboundSchema, AchLocation$;
|
|
36552
36593
|
var init_achlocation = __esm(() => {
|
|
@@ -41800,6 +41841,112 @@ var init_individualnameupdate = __esm(() => {
|
|
|
41800
41841
|
})(IndividualNameUpdate$ ||= {});
|
|
41801
41842
|
});
|
|
41802
41843
|
|
|
41844
|
+
// src/models/components/rtpservices.ts
|
|
41845
|
+
var RTPServices$inboundSchema, RTPServices$outboundSchema, RTPServices$;
|
|
41846
|
+
var init_rtpservices = __esm(() => {
|
|
41847
|
+
init_esm();
|
|
41848
|
+
RTPServices$inboundSchema = objectType({
|
|
41849
|
+
receivePayments: booleanType(),
|
|
41850
|
+
receiveRequestForPayment: booleanType()
|
|
41851
|
+
});
|
|
41852
|
+
RTPServices$outboundSchema = objectType({
|
|
41853
|
+
receivePayments: booleanType(),
|
|
41854
|
+
receiveRequestForPayment: booleanType()
|
|
41855
|
+
});
|
|
41856
|
+
((RTPServices$) => {
|
|
41857
|
+
RTPServices$.inboundSchema = RTPServices$inboundSchema;
|
|
41858
|
+
RTPServices$.outboundSchema = RTPServices$outboundSchema;
|
|
41859
|
+
})(RTPServices$ ||= {});
|
|
41860
|
+
});
|
|
41861
|
+
|
|
41862
|
+
// src/models/components/rtpinstitution.ts
|
|
41863
|
+
var RTPInstitution$inboundSchema, RTPInstitution$outboundSchema, RTPInstitution$;
|
|
41864
|
+
var init_rtpinstitution = __esm(() => {
|
|
41865
|
+
init_esm();
|
|
41866
|
+
init_rtpservices();
|
|
41867
|
+
RTPInstitution$inboundSchema = objectType({
|
|
41868
|
+
name: stringType(),
|
|
41869
|
+
routingNumber: stringType(),
|
|
41870
|
+
services: RTPServices$inboundSchema
|
|
41871
|
+
});
|
|
41872
|
+
RTPInstitution$outboundSchema = objectType({
|
|
41873
|
+
name: stringType(),
|
|
41874
|
+
routingNumber: stringType(),
|
|
41875
|
+
services: RTPServices$outboundSchema
|
|
41876
|
+
});
|
|
41877
|
+
((RTPInstitution$) => {
|
|
41878
|
+
RTPInstitution$.inboundSchema = RTPInstitution$inboundSchema;
|
|
41879
|
+
RTPInstitution$.outboundSchema = RTPInstitution$outboundSchema;
|
|
41880
|
+
})(RTPInstitution$ ||= {});
|
|
41881
|
+
});
|
|
41882
|
+
|
|
41883
|
+
// src/models/components/wireservices.ts
|
|
41884
|
+
var WireServices$inboundSchema, WireServices$outboundSchema, WireServices$;
|
|
41885
|
+
var init_wireservices = __esm(() => {
|
|
41886
|
+
init_esm();
|
|
41887
|
+
WireServices$inboundSchema = objectType({
|
|
41888
|
+
fundsTransferStatus: booleanType(),
|
|
41889
|
+
fundsSettlementOnlyStatus: booleanType(),
|
|
41890
|
+
bookEntrySecuritiesTransferStatus: booleanType()
|
|
41891
|
+
});
|
|
41892
|
+
WireServices$outboundSchema = objectType({
|
|
41893
|
+
fundsTransferStatus: booleanType(),
|
|
41894
|
+
fundsSettlementOnlyStatus: booleanType(),
|
|
41895
|
+
bookEntrySecuritiesTransferStatus: booleanType()
|
|
41896
|
+
});
|
|
41897
|
+
((WireServices$) => {
|
|
41898
|
+
WireServices$.inboundSchema = WireServices$inboundSchema;
|
|
41899
|
+
WireServices$.outboundSchema = WireServices$outboundSchema;
|
|
41900
|
+
})(WireServices$ ||= {});
|
|
41901
|
+
});
|
|
41902
|
+
|
|
41903
|
+
// src/models/components/wireinstitution.ts
|
|
41904
|
+
var WireInstitution$inboundSchema, WireInstitution$outboundSchema, WireInstitution$;
|
|
41905
|
+
var init_wireinstitution = __esm(() => {
|
|
41906
|
+
init_esm();
|
|
41907
|
+
init_address();
|
|
41908
|
+
init_wireservices();
|
|
41909
|
+
WireInstitution$inboundSchema = objectType({
|
|
41910
|
+
name: stringType(),
|
|
41911
|
+
routingNumber: stringType(),
|
|
41912
|
+
address: Address$inboundSchema.optional(),
|
|
41913
|
+
services: WireServices$inboundSchema
|
|
41914
|
+
});
|
|
41915
|
+
WireInstitution$outboundSchema = objectType({
|
|
41916
|
+
name: stringType(),
|
|
41917
|
+
routingNumber: stringType(),
|
|
41918
|
+
address: Address$outboundSchema.optional(),
|
|
41919
|
+
services: WireServices$outboundSchema
|
|
41920
|
+
});
|
|
41921
|
+
((WireInstitution$) => {
|
|
41922
|
+
WireInstitution$.inboundSchema = WireInstitution$inboundSchema;
|
|
41923
|
+
WireInstitution$.outboundSchema = WireInstitution$outboundSchema;
|
|
41924
|
+
})(WireInstitution$ ||= {});
|
|
41925
|
+
});
|
|
41926
|
+
|
|
41927
|
+
// src/models/components/institutionssearchresponse.ts
|
|
41928
|
+
var InstitutionsSearchResponse$inboundSchema, InstitutionsSearchResponse$outboundSchema, InstitutionsSearchResponse$;
|
|
41929
|
+
var init_institutionssearchresponse = __esm(() => {
|
|
41930
|
+
init_esm();
|
|
41931
|
+
init_achinstitution();
|
|
41932
|
+
init_rtpinstitution();
|
|
41933
|
+
init_wireinstitution();
|
|
41934
|
+
InstitutionsSearchResponse$inboundSchema = objectType({
|
|
41935
|
+
ach: arrayType(ACHInstitution$inboundSchema),
|
|
41936
|
+
rtp: arrayType(RTPInstitution$inboundSchema),
|
|
41937
|
+
wire: arrayType(WireInstitution$inboundSchema)
|
|
41938
|
+
});
|
|
41939
|
+
InstitutionsSearchResponse$outboundSchema = objectType({
|
|
41940
|
+
ach: arrayType(ACHInstitution$outboundSchema),
|
|
41941
|
+
rtp: arrayType(RTPInstitution$outboundSchema),
|
|
41942
|
+
wire: arrayType(WireInstitution$outboundSchema)
|
|
41943
|
+
});
|
|
41944
|
+
((InstitutionsSearchResponse$) => {
|
|
41945
|
+
InstitutionsSearchResponse$.inboundSchema = InstitutionsSearchResponse$inboundSchema;
|
|
41946
|
+
InstitutionsSearchResponse$.outboundSchema = InstitutionsSearchResponse$outboundSchema;
|
|
41947
|
+
})(InstitutionsSearchResponse$ ||= {});
|
|
41948
|
+
});
|
|
41949
|
+
|
|
41803
41950
|
// src/models/components/issuedcard.ts
|
|
41804
41951
|
var IssuedCard$inboundSchema, IssuedCard$outboundSchema, IssuedCard$;
|
|
41805
41952
|
var init_issuedcard = __esm(() => {
|
|
@@ -45770,6 +45917,7 @@ var init_components = __esm(() => {
|
|
|
45770
45917
|
init_achdebitcollectpaymentmethod();
|
|
45771
45918
|
init_achdebitfundpaymentmethod();
|
|
45772
45919
|
init_achexception();
|
|
45920
|
+
init_achinstitution();
|
|
45773
45921
|
init_achlocation();
|
|
45774
45922
|
init_achparticipant();
|
|
45775
45923
|
init_achpaymentdetails();
|
|
@@ -45861,6 +46009,7 @@ var init_components = __esm(() => {
|
|
|
45861
46009
|
init_completebankaccountverification();
|
|
45862
46010
|
init_completedmicrodeposits();
|
|
45863
46011
|
init_completemicrodeposits();
|
|
46012
|
+
init_contact();
|
|
45864
46013
|
init_countrieserrors();
|
|
45865
46014
|
init_createaccount();
|
|
45866
46015
|
init_createaccounterror();
|
|
@@ -45953,6 +46102,7 @@ var init_components = __esm(() => {
|
|
|
45953
46102
|
init_individualprofile();
|
|
45954
46103
|
init_industrycodes();
|
|
45955
46104
|
init_industrytaxonomy();
|
|
46105
|
+
init_institutionssearchresponse();
|
|
45956
46106
|
init_issuedcard();
|
|
45957
46107
|
init_issuedcardauthorization();
|
|
45958
46108
|
init_issuedcardauthorizationevent();
|
|
@@ -46058,7 +46208,9 @@ var init_components = __esm(() => {
|
|
|
46058
46208
|
init_revoketokenrequest();
|
|
46059
46209
|
init_rtpcreditpaymentmethod();
|
|
46060
46210
|
init_rtpfailurecode();
|
|
46211
|
+
init_rtpinstitution();
|
|
46061
46212
|
init_rtprejectioncode();
|
|
46213
|
+
init_rtpservices();
|
|
46062
46214
|
init_rtptransactiondetails();
|
|
46063
46215
|
init_rtptransactionstatus();
|
|
46064
46216
|
init_runtransfer();
|
|
@@ -46158,6 +46310,8 @@ var init_components = __esm(() => {
|
|
|
46158
46310
|
init_webhookeventtype();
|
|
46159
46311
|
init_webhooktransferpaymentmethoddetails();
|
|
46160
46312
|
init_webhookwalletavailablebalance();
|
|
46313
|
+
init_wireinstitution();
|
|
46314
|
+
init_wireservices();
|
|
46161
46315
|
});
|
|
46162
46316
|
|
|
46163
46317
|
// src/models/errors/addcapabilitieserror.ts
|
|
@@ -55102,6 +55256,68 @@ var init_revokeonboardinginvite = __esm(() => {
|
|
|
55102
55256
|
})(RevokeOnboardingInviteResponse$ ||= {});
|
|
55103
55257
|
});
|
|
55104
55258
|
|
|
55259
|
+
// src/models/operations/searchinstitutions.ts
|
|
55260
|
+
var SearchInstitutionsGlobals$inboundSchema, SearchInstitutionsGlobals$outboundSchema, SearchInstitutionsGlobals$, SearchInstitutionsRequest$inboundSchema, SearchInstitutionsRequest$outboundSchema, SearchInstitutionsRequest$, SearchInstitutionsResponse$inboundSchema, SearchInstitutionsResponse$outboundSchema, SearchInstitutionsResponse$;
|
|
55261
|
+
var init_searchinstitutions = __esm(() => {
|
|
55262
|
+
init_esm();
|
|
55263
|
+
init_primitives();
|
|
55264
|
+
init_components();
|
|
55265
|
+
SearchInstitutionsGlobals$inboundSchema = objectType({
|
|
55266
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
55267
|
+
}).transform((v2) => {
|
|
55268
|
+
return remap(v2, {
|
|
55269
|
+
"x-moov-version": "xMoovVersion"
|
|
55270
|
+
});
|
|
55271
|
+
});
|
|
55272
|
+
SearchInstitutionsGlobals$outboundSchema = objectType({
|
|
55273
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
55274
|
+
}).transform((v2) => {
|
|
55275
|
+
return remap(v2, {
|
|
55276
|
+
xMoovVersion: "x-moov-version"
|
|
55277
|
+
});
|
|
55278
|
+
});
|
|
55279
|
+
((SearchInstitutionsGlobals$) => {
|
|
55280
|
+
SearchInstitutionsGlobals$.inboundSchema = SearchInstitutionsGlobals$inboundSchema;
|
|
55281
|
+
SearchInstitutionsGlobals$.outboundSchema = SearchInstitutionsGlobals$outboundSchema;
|
|
55282
|
+
})(SearchInstitutionsGlobals$ ||= {});
|
|
55283
|
+
SearchInstitutionsRequest$inboundSchema = objectType({
|
|
55284
|
+
name: stringType().optional(),
|
|
55285
|
+
routingNumber: stringType().optional(),
|
|
55286
|
+
limit: numberType().int().optional()
|
|
55287
|
+
});
|
|
55288
|
+
SearchInstitutionsRequest$outboundSchema = objectType({
|
|
55289
|
+
name: stringType().optional(),
|
|
55290
|
+
routingNumber: stringType().optional(),
|
|
55291
|
+
limit: numberType().int().optional()
|
|
55292
|
+
});
|
|
55293
|
+
((SearchInstitutionsRequest$) => {
|
|
55294
|
+
SearchInstitutionsRequest$.inboundSchema = SearchInstitutionsRequest$inboundSchema;
|
|
55295
|
+
SearchInstitutionsRequest$.outboundSchema = SearchInstitutionsRequest$outboundSchema;
|
|
55296
|
+
})(SearchInstitutionsRequest$ ||= {});
|
|
55297
|
+
SearchInstitutionsResponse$inboundSchema = objectType({
|
|
55298
|
+
Headers: recordType(arrayType(stringType())),
|
|
55299
|
+
Result: InstitutionsSearchResponse$inboundSchema
|
|
55300
|
+
}).transform((v2) => {
|
|
55301
|
+
return remap(v2, {
|
|
55302
|
+
Headers: "headers",
|
|
55303
|
+
Result: "result"
|
|
55304
|
+
});
|
|
55305
|
+
});
|
|
55306
|
+
SearchInstitutionsResponse$outboundSchema = objectType({
|
|
55307
|
+
headers: recordType(arrayType(stringType())),
|
|
55308
|
+
result: InstitutionsSearchResponse$outboundSchema
|
|
55309
|
+
}).transform((v2) => {
|
|
55310
|
+
return remap(v2, {
|
|
55311
|
+
headers: "Headers",
|
|
55312
|
+
result: "Result"
|
|
55313
|
+
});
|
|
55314
|
+
});
|
|
55315
|
+
((SearchInstitutionsResponse$) => {
|
|
55316
|
+
SearchInstitutionsResponse$.inboundSchema = SearchInstitutionsResponse$inboundSchema;
|
|
55317
|
+
SearchInstitutionsResponse$.outboundSchema = SearchInstitutionsResponse$outboundSchema;
|
|
55318
|
+
})(SearchInstitutionsResponse$ ||= {});
|
|
55319
|
+
});
|
|
55320
|
+
|
|
55105
55321
|
// src/models/operations/submitdisputeevidence.ts
|
|
55106
55322
|
var SubmitDisputeEvidenceGlobals$inboundSchema, SubmitDisputeEvidenceGlobals$outboundSchema, SubmitDisputeEvidenceGlobals$, SubmitDisputeEvidenceRequest$inboundSchema, SubmitDisputeEvidenceRequest$outboundSchema, SubmitDisputeEvidenceRequest$, SubmitDisputeEvidenceResponse$inboundSchema, SubmitDisputeEvidenceResponse$outboundSchema, SubmitDisputeEvidenceResponse$;
|
|
55107
55323
|
var init_submitdisputeevidence = __esm(() => {
|
|
@@ -56426,6 +56642,7 @@ var init_operations = __esm(() => {
|
|
|
56426
56642
|
init_retrievefees();
|
|
56427
56643
|
init_revokeaccesstoken();
|
|
56428
56644
|
init_revokeonboardinginvite();
|
|
56645
|
+
init_searchinstitutions();
|
|
56429
56646
|
init_submitdisputeevidence();
|
|
56430
56647
|
init_testendtoendtoken();
|
|
56431
56648
|
init_updateaccount2();
|
|
@@ -65815,11 +66032,126 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
65815
66032
|
};
|
|
65816
66033
|
});
|
|
65817
66034
|
|
|
65818
|
-
// src/funcs/
|
|
65819
|
-
function
|
|
66035
|
+
// src/funcs/institutionsSearchInstitutions.ts
|
|
66036
|
+
function institutionsSearchInstitutions(client, request, options) {
|
|
65820
66037
|
return new APIPromise($do78(client, request, options));
|
|
65821
66038
|
}
|
|
65822
66039
|
async function $do78(client, request, options) {
|
|
66040
|
+
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66041
|
+
if (!parsed.ok) {
|
|
66042
|
+
return [parsed, { status: "invalid" }];
|
|
66043
|
+
}
|
|
66044
|
+
const payload = parsed.value;
|
|
66045
|
+
const body = null;
|
|
66046
|
+
const path = pathToFunc("/institutions")();
|
|
66047
|
+
const query = encodeFormQuery({
|
|
66048
|
+
limit: payload.limit,
|
|
66049
|
+
name: payload.name,
|
|
66050
|
+
routingNumber: payload.routingNumber
|
|
66051
|
+
}, { explode: false });
|
|
66052
|
+
const headers = new Headers(compactMap({
|
|
66053
|
+
Accept: "application/json",
|
|
66054
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
66055
|
+
}));
|
|
66056
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
66057
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
66058
|
+
const context = {
|
|
66059
|
+
options: client._options,
|
|
66060
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
66061
|
+
operationID: "searchInstitutions",
|
|
66062
|
+
oAuth2Scopes: [],
|
|
66063
|
+
resolvedSecurity: requestSecurity,
|
|
66064
|
+
securitySource: client._options.security,
|
|
66065
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
66066
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
66067
|
+
};
|
|
66068
|
+
const requestRes = client._createRequest(context, {
|
|
66069
|
+
security: requestSecurity,
|
|
66070
|
+
method: "GET",
|
|
66071
|
+
baseURL: options?.serverURL,
|
|
66072
|
+
path,
|
|
66073
|
+
headers,
|
|
66074
|
+
query,
|
|
66075
|
+
body,
|
|
66076
|
+
userAgent: client._options.userAgent,
|
|
66077
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
66078
|
+
}, options);
|
|
66079
|
+
if (!requestRes.ok) {
|
|
66080
|
+
return [requestRes, { status: "invalid" }];
|
|
66081
|
+
}
|
|
66082
|
+
const req = requestRes.value;
|
|
66083
|
+
const doResult = await client._do(req, {
|
|
66084
|
+
context,
|
|
66085
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
66086
|
+
retryConfig: context.retryConfig,
|
|
66087
|
+
retryCodes: context.retryCodes
|
|
66088
|
+
});
|
|
66089
|
+
if (!doResult.ok) {
|
|
66090
|
+
return [doResult, { status: "request-error", request: req }];
|
|
66091
|
+
}
|
|
66092
|
+
const response = doResult.value;
|
|
66093
|
+
const responseFields = {
|
|
66094
|
+
HttpMeta: { Response: response, Request: req }
|
|
66095
|
+
};
|
|
66096
|
+
const [result] = await match(json(200, SearchInstitutionsResponse$inboundSchema, {
|
|
66097
|
+
hdrs: true,
|
|
66098
|
+
key: "Result"
|
|
66099
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
66100
|
+
if (!result.ok) {
|
|
66101
|
+
return [result, { status: "complete", request: req, response }];
|
|
66102
|
+
}
|
|
66103
|
+
return [result, { status: "complete", request: req, response }];
|
|
66104
|
+
}
|
|
66105
|
+
var init_institutionsSearchInstitutions = __esm(() => {
|
|
66106
|
+
init_encodings();
|
|
66107
|
+
init_matchers();
|
|
66108
|
+
init_primitives();
|
|
66109
|
+
init_schemas();
|
|
66110
|
+
init_security();
|
|
66111
|
+
init_url();
|
|
66112
|
+
init_operations();
|
|
66113
|
+
init_async();
|
|
66114
|
+
});
|
|
66115
|
+
|
|
66116
|
+
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
66117
|
+
var args78, tool$institutionsSearchInstitutions;
|
|
66118
|
+
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
66119
|
+
init_institutionsSearchInstitutions();
|
|
66120
|
+
init_operations();
|
|
66121
|
+
init_tools();
|
|
66122
|
+
args78 = {
|
|
66123
|
+
request: SearchInstitutionsRequest$inboundSchema
|
|
66124
|
+
};
|
|
66125
|
+
tool$institutionsSearchInstitutions = {
|
|
66126
|
+
name: "institutions-search-institutions",
|
|
66127
|
+
description: `Search for financial institutions by name or routing number.
|
|
66128
|
+
|
|
66129
|
+
This endpoint returns metadata about each matched institution, including basic identifying details (such as name, routing number, and address) and information about which payment services they support (e.g., ACH, RTP, and Wire).
|
|
66130
|
+
|
|
66131
|
+
This can be used to validate a financial institution before initiating payment activity, or to check which payment rails are available for a given routing number.
|
|
66132
|
+
|
|
66133
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66134
|
+
you'll need to specify the \`/institutions.read\` scope.`,
|
|
66135
|
+
args: args78,
|
|
66136
|
+
tool: async (client, args79, ctx) => {
|
|
66137
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66138
|
+
if (!result.ok) {
|
|
66139
|
+
return {
|
|
66140
|
+
content: [{ type: "text", text: result.error.message }],
|
|
66141
|
+
isError: true
|
|
66142
|
+
};
|
|
66143
|
+
}
|
|
66144
|
+
const value = result.value.result;
|
|
66145
|
+
return formatResult(value, apiCall);
|
|
66146
|
+
}
|
|
66147
|
+
};
|
|
66148
|
+
});
|
|
66149
|
+
|
|
66150
|
+
// src/funcs/issuingTransactionsGet.ts
|
|
66151
|
+
function issuingTransactionsGet(client, request, options) {
|
|
66152
|
+
return new APIPromise($do79(client, request, options));
|
|
66153
|
+
}
|
|
66154
|
+
async function $do79(client, request, options) {
|
|
65823
66155
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65824
66156
|
if (!parsed.ok) {
|
|
65825
66157
|
return [parsed, { status: "invalid" }];
|
|
@@ -65898,12 +66230,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
65898
66230
|
});
|
|
65899
66231
|
|
|
65900
66232
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
65901
|
-
var
|
|
66233
|
+
var args79, tool$issuingTransactionsGet;
|
|
65902
66234
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
65903
66235
|
init_issuingTransactionsGet();
|
|
65904
66236
|
init_operations();
|
|
65905
66237
|
init_tools();
|
|
65906
|
-
|
|
66238
|
+
args79 = {
|
|
65907
66239
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
65908
66240
|
};
|
|
65909
66241
|
tool$issuingTransactionsGet = {
|
|
@@ -65912,9 +66244,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
65912
66244
|
|
|
65913
66245
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65914
66246
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
65915
|
-
args:
|
|
65916
|
-
tool: async (client,
|
|
65917
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
66247
|
+
args: args79,
|
|
66248
|
+
tool: async (client, args80, ctx) => {
|
|
66249
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65918
66250
|
if (!result.ok) {
|
|
65919
66251
|
return {
|
|
65920
66252
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65929,9 +66261,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
65929
66261
|
|
|
65930
66262
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
65931
66263
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
65932
|
-
return new APIPromise($
|
|
66264
|
+
return new APIPromise($do80(client, request, options));
|
|
65933
66265
|
}
|
|
65934
|
-
async function $
|
|
66266
|
+
async function $do80(client, request, options) {
|
|
65935
66267
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65936
66268
|
if (!parsed.ok) {
|
|
65937
66269
|
return [parsed, { status: "invalid" }];
|
|
@@ -66013,12 +66345,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
66013
66345
|
});
|
|
66014
66346
|
|
|
66015
66347
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
66016
|
-
var
|
|
66348
|
+
var args80, tool$issuingTransactionsGetAuthorization;
|
|
66017
66349
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
66018
66350
|
init_issuingTransactionsGetAuthorization();
|
|
66019
66351
|
init_operations();
|
|
66020
66352
|
init_tools();
|
|
66021
|
-
|
|
66353
|
+
args80 = {
|
|
66022
66354
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
66023
66355
|
};
|
|
66024
66356
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -66027,9 +66359,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
66027
66359
|
|
|
66028
66360
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66029
66361
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
66030
|
-
args:
|
|
66031
|
-
tool: async (client,
|
|
66032
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
66362
|
+
args: args80,
|
|
66363
|
+
tool: async (client, args81, ctx) => {
|
|
66364
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66033
66365
|
if (!result.ok) {
|
|
66034
66366
|
return {
|
|
66035
66367
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66044,9 +66376,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
66044
66376
|
|
|
66045
66377
|
// src/funcs/issuingTransactionsList.ts
|
|
66046
66378
|
function issuingTransactionsList(client, request, options) {
|
|
66047
|
-
return new APIPromise($
|
|
66379
|
+
return new APIPromise($do81(client, request, options));
|
|
66048
66380
|
}
|
|
66049
|
-
async function $
|
|
66381
|
+
async function $do81(client, request, options) {
|
|
66050
66382
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66051
66383
|
if (!parsed.ok) {
|
|
66052
66384
|
return [parsed, { status: "invalid" }];
|
|
@@ -66132,12 +66464,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
66132
66464
|
});
|
|
66133
66465
|
|
|
66134
66466
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
66135
|
-
var
|
|
66467
|
+
var args81, tool$issuingTransactionsList;
|
|
66136
66468
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
66137
66469
|
init_issuingTransactionsList();
|
|
66138
66470
|
init_operations();
|
|
66139
66471
|
init_tools();
|
|
66140
|
-
|
|
66472
|
+
args81 = {
|
|
66141
66473
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
66142
66474
|
};
|
|
66143
66475
|
tool$issuingTransactionsList = {
|
|
@@ -66146,9 +66478,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
66146
66478
|
|
|
66147
66479
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66148
66480
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
66149
|
-
args:
|
|
66150
|
-
tool: async (client,
|
|
66151
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
66481
|
+
args: args81,
|
|
66482
|
+
tool: async (client, args82, ctx) => {
|
|
66483
|
+
const [result, apiCall] = await issuingTransactionsList(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66152
66484
|
if (!result.ok) {
|
|
66153
66485
|
return {
|
|
66154
66486
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66163,9 +66495,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
66163
66495
|
|
|
66164
66496
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
66165
66497
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
66166
|
-
return new APIPromise($
|
|
66498
|
+
return new APIPromise($do82(client, request, options));
|
|
66167
66499
|
}
|
|
66168
|
-
async function $
|
|
66500
|
+
async function $do82(client, request, options) {
|
|
66169
66501
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66170
66502
|
if (!parsed.ok) {
|
|
66171
66503
|
return [parsed, { status: "invalid" }];
|
|
@@ -66249,12 +66581,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
66249
66581
|
});
|
|
66250
66582
|
|
|
66251
66583
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
66252
|
-
var
|
|
66584
|
+
var args82, tool$issuingTransactionsListAuthorizationEvents;
|
|
66253
66585
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
66254
66586
|
init_issuingTransactionsListAuthorizationEvents();
|
|
66255
66587
|
init_operations();
|
|
66256
66588
|
init_tools();
|
|
66257
|
-
|
|
66589
|
+
args82 = {
|
|
66258
66590
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
66259
66591
|
};
|
|
66260
66592
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -66263,9 +66595,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
66263
66595
|
|
|
66264
66596
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66265
66597
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
66266
|
-
args:
|
|
66267
|
-
tool: async (client,
|
|
66268
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
66598
|
+
args: args82,
|
|
66599
|
+
tool: async (client, args83, ctx) => {
|
|
66600
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66269
66601
|
if (!result.ok) {
|
|
66270
66602
|
return {
|
|
66271
66603
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66280,9 +66612,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
66280
66612
|
|
|
66281
66613
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
66282
66614
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
66283
|
-
return new APIPromise($
|
|
66615
|
+
return new APIPromise($do83(client, request, options));
|
|
66284
66616
|
}
|
|
66285
|
-
async function $
|
|
66617
|
+
async function $do83(client, request, options) {
|
|
66286
66618
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66287
66619
|
if (!parsed.ok) {
|
|
66288
66620
|
return [parsed, { status: "invalid" }];
|
|
@@ -66369,12 +66701,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
66369
66701
|
});
|
|
66370
66702
|
|
|
66371
66703
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
66372
|
-
var
|
|
66704
|
+
var args83, tool$issuingTransactionsListAuthorizations;
|
|
66373
66705
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
66374
66706
|
init_issuingTransactionsListAuthorizations();
|
|
66375
66707
|
init_operations();
|
|
66376
66708
|
init_tools();
|
|
66377
|
-
|
|
66709
|
+
args83 = {
|
|
66378
66710
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
66379
66711
|
};
|
|
66380
66712
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -66383,9 +66715,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
66383
66715
|
|
|
66384
66716
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66385
66717
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
66386
|
-
args:
|
|
66387
|
-
tool: async (client,
|
|
66388
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
66718
|
+
args: args83,
|
|
66719
|
+
tool: async (client, args84, ctx) => {
|
|
66720
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66389
66721
|
if (!result.ok) {
|
|
66390
66722
|
return {
|
|
66391
66723
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66400,9 +66732,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
66400
66732
|
|
|
66401
66733
|
// src/funcs/onboardingCreateInvite.ts
|
|
66402
66734
|
function onboardingCreateInvite(client, request, options) {
|
|
66403
|
-
return new APIPromise($
|
|
66735
|
+
return new APIPromise($do84(client, request, options));
|
|
66404
66736
|
}
|
|
66405
|
-
async function $
|
|
66737
|
+
async function $do84(client, request, options) {
|
|
66406
66738
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66407
66739
|
if (!parsed.ok) {
|
|
66408
66740
|
return [parsed, { status: "invalid" }];
|
|
@@ -66489,12 +66821,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
66489
66821
|
});
|
|
66490
66822
|
|
|
66491
66823
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
66492
|
-
var
|
|
66824
|
+
var args84, tool$onboardingCreateInvite;
|
|
66493
66825
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
66494
66826
|
init_onboardingCreateInvite();
|
|
66495
66827
|
init_components();
|
|
66496
66828
|
init_tools();
|
|
66497
|
-
|
|
66829
|
+
args84 = {
|
|
66498
66830
|
request: OnboardingInviteRequest$inboundSchema
|
|
66499
66831
|
};
|
|
66500
66832
|
tool$onboardingCreateInvite = {
|
|
@@ -66503,9 +66835,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
66503
66835
|
|
|
66504
66836
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66505
66837
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
66506
|
-
args:
|
|
66507
|
-
tool: async (client,
|
|
66508
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
66838
|
+
args: args84,
|
|
66839
|
+
tool: async (client, args85, ctx) => {
|
|
66840
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66509
66841
|
if (!result.ok) {
|
|
66510
66842
|
return {
|
|
66511
66843
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66520,9 +66852,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
66520
66852
|
|
|
66521
66853
|
// src/funcs/onboardingGetInvite.ts
|
|
66522
66854
|
function onboardingGetInvite(client, request, options) {
|
|
66523
|
-
return new APIPromise($
|
|
66855
|
+
return new APIPromise($do85(client, request, options));
|
|
66524
66856
|
}
|
|
66525
|
-
async function $
|
|
66857
|
+
async function $do85(client, request, options) {
|
|
66526
66858
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66527
66859
|
if (!parsed.ok) {
|
|
66528
66860
|
return [parsed, { status: "invalid" }];
|
|
@@ -66600,12 +66932,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
66600
66932
|
});
|
|
66601
66933
|
|
|
66602
66934
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
66603
|
-
var
|
|
66935
|
+
var args85, tool$onboardingGetInvite;
|
|
66604
66936
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
66605
66937
|
init_onboardingGetInvite();
|
|
66606
66938
|
init_operations();
|
|
66607
66939
|
init_tools();
|
|
66608
|
-
|
|
66940
|
+
args85 = {
|
|
66609
66941
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
66610
66942
|
};
|
|
66611
66943
|
tool$onboardingGetInvite = {
|
|
@@ -66614,9 +66946,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
66614
66946
|
|
|
66615
66947
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66616
66948
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
66617
|
-
args:
|
|
66618
|
-
tool: async (client,
|
|
66619
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
66949
|
+
args: args85,
|
|
66950
|
+
tool: async (client, args86, ctx) => {
|
|
66951
|
+
const [result, apiCall] = await onboardingGetInvite(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66620
66952
|
if (!result.ok) {
|
|
66621
66953
|
return {
|
|
66622
66954
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66631,9 +66963,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
66631
66963
|
|
|
66632
66964
|
// src/funcs/onboardingListInvites.ts
|
|
66633
66965
|
function onboardingListInvites(client, _request, options) {
|
|
66634
|
-
return new APIPromise($
|
|
66966
|
+
return new APIPromise($do86(client, _request, options));
|
|
66635
66967
|
}
|
|
66636
|
-
async function $
|
|
66968
|
+
async function $do86(client, _request, options) {
|
|
66637
66969
|
const path = pathToFunc("/onboarding-invites")();
|
|
66638
66970
|
const headers = new Headers(compactMap({
|
|
66639
66971
|
Accept: "application/json",
|
|
@@ -66697,12 +67029,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
66697
67029
|
});
|
|
66698
67030
|
|
|
66699
67031
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
66700
|
-
var
|
|
67032
|
+
var args86, tool$onboardingListInvites;
|
|
66701
67033
|
var init_onboardingListInvites2 = __esm(() => {
|
|
66702
67034
|
init_onboardingListInvites();
|
|
66703
67035
|
init_operations();
|
|
66704
67036
|
init_tools();
|
|
66705
|
-
|
|
67037
|
+
args86 = {
|
|
66706
67038
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
66707
67039
|
};
|
|
66708
67040
|
tool$onboardingListInvites = {
|
|
@@ -66711,9 +67043,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
66711
67043
|
|
|
66712
67044
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66713
67045
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
66714
|
-
args:
|
|
66715
|
-
tool: async (client,
|
|
66716
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
67046
|
+
args: args86,
|
|
67047
|
+
tool: async (client, args87, ctx) => {
|
|
67048
|
+
const [result, apiCall] = await onboardingListInvites(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66717
67049
|
if (!result.ok) {
|
|
66718
67050
|
return {
|
|
66719
67051
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66728,9 +67060,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
66728
67060
|
|
|
66729
67061
|
// src/funcs/onboardingRevokeInvite.ts
|
|
66730
67062
|
function onboardingRevokeInvite(client, request, options) {
|
|
66731
|
-
return new APIPromise($
|
|
67063
|
+
return new APIPromise($do87(client, request, options));
|
|
66732
67064
|
}
|
|
66733
|
-
async function $
|
|
67065
|
+
async function $do87(client, request, options) {
|
|
66734
67066
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66735
67067
|
if (!parsed.ok) {
|
|
66736
67068
|
return [parsed, { status: "invalid" }];
|
|
@@ -66805,12 +67137,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
66805
67137
|
});
|
|
66806
67138
|
|
|
66807
67139
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
66808
|
-
var
|
|
67140
|
+
var args87, tool$onboardingRevokeInvite;
|
|
66809
67141
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
66810
67142
|
init_onboardingRevokeInvite();
|
|
66811
67143
|
init_operations();
|
|
66812
67144
|
init_tools();
|
|
66813
|
-
|
|
67145
|
+
args87 = {
|
|
66814
67146
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
66815
67147
|
};
|
|
66816
67148
|
tool$onboardingRevokeInvite = {
|
|
@@ -66819,9 +67151,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
66819
67151
|
|
|
66820
67152
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66821
67153
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
66822
|
-
args:
|
|
66823
|
-
tool: async (client,
|
|
66824
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
67154
|
+
args: args87,
|
|
67155
|
+
tool: async (client, args88, ctx) => {
|
|
67156
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66825
67157
|
if (!result.ok) {
|
|
66826
67158
|
return {
|
|
66827
67159
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66835,9 +67167,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
66835
67167
|
|
|
66836
67168
|
// src/funcs/paymentLinksCreate.ts
|
|
66837
67169
|
function paymentLinksCreate(client, request, options) {
|
|
66838
|
-
return new APIPromise($
|
|
67170
|
+
return new APIPromise($do88(client, request, options));
|
|
66839
67171
|
}
|
|
66840
|
-
async function $
|
|
67172
|
+
async function $do88(client, request, options) {
|
|
66841
67173
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66842
67174
|
if (!parsed.ok) {
|
|
66843
67175
|
return [parsed, { status: "invalid" }];
|
|
@@ -66929,12 +67261,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
66929
67261
|
});
|
|
66930
67262
|
|
|
66931
67263
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
66932
|
-
var
|
|
67264
|
+
var args88, tool$paymentLinksCreate;
|
|
66933
67265
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
66934
67266
|
init_paymentLinksCreate();
|
|
66935
67267
|
init_operations();
|
|
66936
67268
|
init_tools();
|
|
66937
|
-
|
|
67269
|
+
args88 = {
|
|
66938
67270
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
66939
67271
|
};
|
|
66940
67272
|
tool$paymentLinksCreate = {
|
|
@@ -66943,9 +67275,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
66943
67275
|
|
|
66944
67276
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66945
67277
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
66946
|
-
args:
|
|
66947
|
-
tool: async (client,
|
|
66948
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
67278
|
+
args: args88,
|
|
67279
|
+
tool: async (client, args89, ctx) => {
|
|
67280
|
+
const [result, apiCall] = await paymentLinksCreate(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66949
67281
|
if (!result.ok) {
|
|
66950
67282
|
return {
|
|
66951
67283
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66960,9 +67292,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
66960
67292
|
|
|
66961
67293
|
// src/funcs/paymentLinksDisable.ts
|
|
66962
67294
|
function paymentLinksDisable(client, request, options) {
|
|
66963
|
-
return new APIPromise($
|
|
67295
|
+
return new APIPromise($do89(client, request, options));
|
|
66964
67296
|
}
|
|
66965
|
-
async function $
|
|
67297
|
+
async function $do89(client, request, options) {
|
|
66966
67298
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66967
67299
|
if (!parsed.ok) {
|
|
66968
67300
|
return [parsed, { status: "invalid" }];
|
|
@@ -67043,12 +67375,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
67043
67375
|
});
|
|
67044
67376
|
|
|
67045
67377
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
67046
|
-
var
|
|
67378
|
+
var args89, tool$paymentLinksDisable;
|
|
67047
67379
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
67048
67380
|
init_paymentLinksDisable();
|
|
67049
67381
|
init_operations();
|
|
67050
67382
|
init_tools();
|
|
67051
|
-
|
|
67383
|
+
args89 = {
|
|
67052
67384
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
67053
67385
|
};
|
|
67054
67386
|
tool$paymentLinksDisable = {
|
|
@@ -67057,9 +67389,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
67057
67389
|
|
|
67058
67390
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67059
67391
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
67060
|
-
args:
|
|
67061
|
-
tool: async (client,
|
|
67062
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
67392
|
+
args: args89,
|
|
67393
|
+
tool: async (client, args90, ctx) => {
|
|
67394
|
+
const [result, apiCall] = await paymentLinksDisable(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67063
67395
|
if (!result.ok) {
|
|
67064
67396
|
return {
|
|
67065
67397
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67073,9 +67405,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
67073
67405
|
|
|
67074
67406
|
// src/funcs/paymentLinksGet.ts
|
|
67075
67407
|
function paymentLinksGet(client, request, options) {
|
|
67076
|
-
return new APIPromise($
|
|
67408
|
+
return new APIPromise($do90(client, request, options));
|
|
67077
67409
|
}
|
|
67078
|
-
async function $
|
|
67410
|
+
async function $do90(client, request, options) {
|
|
67079
67411
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67080
67412
|
if (!parsed.ok) {
|
|
67081
67413
|
return [parsed, { status: "invalid" }];
|
|
@@ -67157,12 +67489,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
67157
67489
|
});
|
|
67158
67490
|
|
|
67159
67491
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
67160
|
-
var
|
|
67492
|
+
var args90, tool$paymentLinksGet;
|
|
67161
67493
|
var init_paymentLinksGet2 = __esm(() => {
|
|
67162
67494
|
init_paymentLinksGet();
|
|
67163
67495
|
init_operations();
|
|
67164
67496
|
init_tools();
|
|
67165
|
-
|
|
67497
|
+
args90 = {
|
|
67166
67498
|
request: GetPaymentLinkRequest$inboundSchema
|
|
67167
67499
|
};
|
|
67168
67500
|
tool$paymentLinksGet = {
|
|
@@ -67171,9 +67503,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
67171
67503
|
|
|
67172
67504
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67173
67505
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
67174
|
-
args:
|
|
67175
|
-
tool: async (client,
|
|
67176
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
67506
|
+
args: args90,
|
|
67507
|
+
tool: async (client, args91, ctx) => {
|
|
67508
|
+
const [result, apiCall] = await paymentLinksGet(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67177
67509
|
if (!result.ok) {
|
|
67178
67510
|
return {
|
|
67179
67511
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67188,9 +67520,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
67188
67520
|
|
|
67189
67521
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
67190
67522
|
function paymentLinksGetQRCode(client, request, options) {
|
|
67191
|
-
return new APIPromise($
|
|
67523
|
+
return new APIPromise($do91(client, request, options));
|
|
67192
67524
|
}
|
|
67193
|
-
async function $
|
|
67525
|
+
async function $do91(client, request, options) {
|
|
67194
67526
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67195
67527
|
if (!parsed.ok) {
|
|
67196
67528
|
return [parsed, { status: "invalid" }];
|
|
@@ -67276,12 +67608,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
67276
67608
|
});
|
|
67277
67609
|
|
|
67278
67610
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
67279
|
-
var
|
|
67611
|
+
var args91, tool$paymentLinksGetQRCode;
|
|
67280
67612
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
67281
67613
|
init_paymentLinksGetQRCode();
|
|
67282
67614
|
init_operations();
|
|
67283
67615
|
init_tools();
|
|
67284
|
-
|
|
67616
|
+
args91 = {
|
|
67285
67617
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
67286
67618
|
};
|
|
67287
67619
|
tool$paymentLinksGetQRCode = {
|
|
@@ -67292,9 +67624,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
67292
67624
|
|
|
67293
67625
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67294
67626
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
67295
|
-
args:
|
|
67296
|
-
tool: async (client,
|
|
67297
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
67627
|
+
args: args91,
|
|
67628
|
+
tool: async (client, args92, ctx) => {
|
|
67629
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67298
67630
|
if (!result.ok) {
|
|
67299
67631
|
return {
|
|
67300
67632
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67309,9 +67641,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
67309
67641
|
|
|
67310
67642
|
// src/funcs/paymentLinksList.ts
|
|
67311
67643
|
function paymentLinksList(client, request, options) {
|
|
67312
|
-
return new APIPromise($
|
|
67644
|
+
return new APIPromise($do92(client, request, options));
|
|
67313
67645
|
}
|
|
67314
|
-
async function $
|
|
67646
|
+
async function $do92(client, request, options) {
|
|
67315
67647
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67316
67648
|
if (!parsed.ok) {
|
|
67317
67649
|
return [parsed, { status: "invalid" }];
|
|
@@ -67389,12 +67721,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
67389
67721
|
});
|
|
67390
67722
|
|
|
67391
67723
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
67392
|
-
var
|
|
67724
|
+
var args92, tool$paymentLinksList;
|
|
67393
67725
|
var init_paymentLinksList2 = __esm(() => {
|
|
67394
67726
|
init_paymentLinksList();
|
|
67395
67727
|
init_operations();
|
|
67396
67728
|
init_tools();
|
|
67397
|
-
|
|
67729
|
+
args92 = {
|
|
67398
67730
|
request: ListPaymentLinksRequest$inboundSchema
|
|
67399
67731
|
};
|
|
67400
67732
|
tool$paymentLinksList = {
|
|
@@ -67403,9 +67735,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
67403
67735
|
|
|
67404
67736
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67405
67737
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
67406
|
-
args:
|
|
67407
|
-
tool: async (client,
|
|
67408
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
67738
|
+
args: args92,
|
|
67739
|
+
tool: async (client, args93, ctx) => {
|
|
67740
|
+
const [result, apiCall] = await paymentLinksList(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67409
67741
|
if (!result.ok) {
|
|
67410
67742
|
return {
|
|
67411
67743
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67420,9 +67752,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
67420
67752
|
|
|
67421
67753
|
// src/funcs/paymentLinksUpdate.ts
|
|
67422
67754
|
function paymentLinksUpdate(client, request, options) {
|
|
67423
|
-
return new APIPromise($
|
|
67755
|
+
return new APIPromise($do93(client, request, options));
|
|
67424
67756
|
}
|
|
67425
|
-
async function $
|
|
67757
|
+
async function $do93(client, request, options) {
|
|
67426
67758
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67427
67759
|
if (!parsed.ok) {
|
|
67428
67760
|
return [parsed, { status: "invalid" }];
|
|
@@ -67518,12 +67850,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
67518
67850
|
});
|
|
67519
67851
|
|
|
67520
67852
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
67521
|
-
var
|
|
67853
|
+
var args93, tool$paymentLinksUpdate;
|
|
67522
67854
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
67523
67855
|
init_paymentLinksUpdate();
|
|
67524
67856
|
init_operations();
|
|
67525
67857
|
init_tools();
|
|
67526
|
-
|
|
67858
|
+
args93 = {
|
|
67527
67859
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
67528
67860
|
};
|
|
67529
67861
|
tool$paymentLinksUpdate = {
|
|
@@ -67532,9 +67864,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
67532
67864
|
|
|
67533
67865
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67534
67866
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
67535
|
-
args:
|
|
67536
|
-
tool: async (client,
|
|
67537
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
67867
|
+
args: args93,
|
|
67868
|
+
tool: async (client, args94, ctx) => {
|
|
67869
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67538
67870
|
if (!result.ok) {
|
|
67539
67871
|
return {
|
|
67540
67872
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67549,9 +67881,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
67549
67881
|
|
|
67550
67882
|
// src/funcs/paymentMethodsGet.ts
|
|
67551
67883
|
function paymentMethodsGet(client, request, options) {
|
|
67552
|
-
return new APIPromise($
|
|
67884
|
+
return new APIPromise($do94(client, request, options));
|
|
67553
67885
|
}
|
|
67554
|
-
async function $
|
|
67886
|
+
async function $do94(client, request, options) {
|
|
67555
67887
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67556
67888
|
if (!parsed.ok) {
|
|
67557
67889
|
return [parsed, { status: "invalid" }];
|
|
@@ -67633,12 +67965,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
67633
67965
|
});
|
|
67634
67966
|
|
|
67635
67967
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
67636
|
-
var
|
|
67968
|
+
var args94, tool$paymentMethodsGet;
|
|
67637
67969
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
67638
67970
|
init_paymentMethodsGet();
|
|
67639
67971
|
init_operations();
|
|
67640
67972
|
init_tools();
|
|
67641
|
-
|
|
67973
|
+
args94 = {
|
|
67642
67974
|
request: GetPaymentMethodRequest$inboundSchema
|
|
67643
67975
|
};
|
|
67644
67976
|
tool$paymentMethodsGet = {
|
|
@@ -67647,9 +67979,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
67647
67979
|
|
|
67648
67980
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67649
67981
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
67650
|
-
args:
|
|
67651
|
-
tool: async (client,
|
|
67652
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
67982
|
+
args: args94,
|
|
67983
|
+
tool: async (client, args95, ctx) => {
|
|
67984
|
+
const [result, apiCall] = await paymentMethodsGet(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67653
67985
|
if (!result.ok) {
|
|
67654
67986
|
return {
|
|
67655
67987
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67664,9 +67996,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
67664
67996
|
|
|
67665
67997
|
// src/funcs/paymentMethodsList.ts
|
|
67666
67998
|
function paymentMethodsList(client, request, options) {
|
|
67667
|
-
return new APIPromise($
|
|
67999
|
+
return new APIPromise($do95(client, request, options));
|
|
67668
68000
|
}
|
|
67669
|
-
async function $
|
|
68001
|
+
async function $do95(client, request, options) {
|
|
67670
68002
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67671
68003
|
if (!parsed.ok) {
|
|
67672
68004
|
return [parsed, { status: "invalid" }];
|
|
@@ -67749,12 +68081,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
67749
68081
|
});
|
|
67750
68082
|
|
|
67751
68083
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
67752
|
-
var
|
|
68084
|
+
var args95, tool$paymentMethodsList;
|
|
67753
68085
|
var init_paymentMethodsList2 = __esm(() => {
|
|
67754
68086
|
init_paymentMethodsList();
|
|
67755
68087
|
init_operations();
|
|
67756
68088
|
init_tools();
|
|
67757
|
-
|
|
68089
|
+
args95 = {
|
|
67758
68090
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
67759
68091
|
};
|
|
67760
68092
|
tool$paymentMethodsList = {
|
|
@@ -67764,9 +68096,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
67764
68096
|
|
|
67765
68097
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67766
68098
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
67767
|
-
args:
|
|
67768
|
-
tool: async (client,
|
|
67769
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
68099
|
+
args: args95,
|
|
68100
|
+
tool: async (client, args96, ctx) => {
|
|
68101
|
+
const [result, apiCall] = await paymentMethodsList(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67770
68102
|
if (!result.ok) {
|
|
67771
68103
|
return {
|
|
67772
68104
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67781,9 +68113,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
67781
68113
|
|
|
67782
68114
|
// src/funcs/pingPing.ts
|
|
67783
68115
|
function pingPing(client, _request, options) {
|
|
67784
|
-
return new APIPromise($
|
|
68116
|
+
return new APIPromise($do96(client, _request, options));
|
|
67785
68117
|
}
|
|
67786
|
-
async function $
|
|
68118
|
+
async function $do96(client, _request, options) {
|
|
67787
68119
|
const path = pathToFunc("/ping")();
|
|
67788
68120
|
const headers = new Headers(compactMap({
|
|
67789
68121
|
Accept: "*/*",
|
|
@@ -67846,12 +68178,12 @@ var init_pingPing = __esm(() => {
|
|
|
67846
68178
|
});
|
|
67847
68179
|
|
|
67848
68180
|
// src/mcp-server/tools/pingPing.ts
|
|
67849
|
-
var
|
|
68181
|
+
var args96, tool$pingPing;
|
|
67850
68182
|
var init_pingPing2 = __esm(() => {
|
|
67851
68183
|
init_pingPing();
|
|
67852
68184
|
init_operations();
|
|
67853
68185
|
init_tools();
|
|
67854
|
-
|
|
68186
|
+
args96 = {
|
|
67855
68187
|
request: PingRequest$inboundSchema
|
|
67856
68188
|
};
|
|
67857
68189
|
tool$pingPing = {
|
|
@@ -67860,9 +68192,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
67860
68192
|
|
|
67861
68193
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67862
68194
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
67863
|
-
args:
|
|
67864
|
-
tool: async (client,
|
|
67865
|
-
const [result, apiCall] = await pingPing(client,
|
|
68195
|
+
args: args96,
|
|
68196
|
+
tool: async (client, args97, ctx) => {
|
|
68197
|
+
const [result, apiCall] = await pingPing(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67866
68198
|
if (!result.ok) {
|
|
67867
68199
|
return {
|
|
67868
68200
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67876,9 +68208,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
67876
68208
|
|
|
67877
68209
|
// src/funcs/receiptsCreate.ts
|
|
67878
68210
|
function receiptsCreate(client, request, options) {
|
|
67879
|
-
return new APIPromise($
|
|
68211
|
+
return new APIPromise($do97(client, request, options));
|
|
67880
68212
|
}
|
|
67881
|
-
async function $
|
|
68213
|
+
async function $do97(client, request, options) {
|
|
67882
68214
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
67883
68215
|
if (!parsed.ok) {
|
|
67884
68216
|
return [parsed, { status: "invalid" }];
|
|
@@ -67966,13 +68298,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
67966
68298
|
});
|
|
67967
68299
|
|
|
67968
68300
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
67969
|
-
var
|
|
68301
|
+
var args97, tool$receiptsCreate;
|
|
67970
68302
|
var init_receiptsCreate2 = __esm(() => {
|
|
67971
68303
|
init_esm();
|
|
67972
68304
|
init_receiptsCreate();
|
|
67973
68305
|
init_components();
|
|
67974
68306
|
init_tools();
|
|
67975
|
-
|
|
68307
|
+
args97 = {
|
|
67976
68308
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
67977
68309
|
};
|
|
67978
68310
|
tool$receiptsCreate = {
|
|
@@ -67981,9 +68313,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
67981
68313
|
|
|
67982
68314
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67983
68315
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
67984
|
-
args:
|
|
67985
|
-
tool: async (client,
|
|
67986
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
68316
|
+
args: args97,
|
|
68317
|
+
tool: async (client, args98, ctx) => {
|
|
68318
|
+
const [result, apiCall] = await receiptsCreate(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67987
68319
|
if (!result.ok) {
|
|
67988
68320
|
return {
|
|
67989
68321
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67998,9 +68330,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
67998
68330
|
|
|
67999
68331
|
// src/funcs/receiptsList.ts
|
|
68000
68332
|
function receiptsList(client, request, options) {
|
|
68001
|
-
return new APIPromise($
|
|
68333
|
+
return new APIPromise($do98(client, request, options));
|
|
68002
68334
|
}
|
|
68003
|
-
async function $
|
|
68335
|
+
async function $do98(client, request, options) {
|
|
68004
68336
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68005
68337
|
if (!parsed.ok) {
|
|
68006
68338
|
return [parsed, { status: "invalid" }];
|
|
@@ -68076,12 +68408,12 @@ var init_receiptsList = __esm(() => {
|
|
|
68076
68408
|
});
|
|
68077
68409
|
|
|
68078
68410
|
// src/mcp-server/tools/receiptsList.ts
|
|
68079
|
-
var
|
|
68411
|
+
var args98, tool$receiptsList;
|
|
68080
68412
|
var init_receiptsList2 = __esm(() => {
|
|
68081
68413
|
init_receiptsList();
|
|
68082
68414
|
init_operations();
|
|
68083
68415
|
init_tools();
|
|
68084
|
-
|
|
68416
|
+
args98 = {
|
|
68085
68417
|
request: ListReceiptsRequest$inboundSchema
|
|
68086
68418
|
};
|
|
68087
68419
|
tool$receiptsList = {
|
|
@@ -68090,9 +68422,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
68090
68422
|
|
|
68091
68423
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68092
68424
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68093
|
-
args:
|
|
68094
|
-
tool: async (client,
|
|
68095
|
-
const [result, apiCall] = await receiptsList(client,
|
|
68425
|
+
args: args98,
|
|
68426
|
+
tool: async (client, args99, ctx) => {
|
|
68427
|
+
const [result, apiCall] = await receiptsList(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68096
68428
|
if (!result.ok) {
|
|
68097
68429
|
return {
|
|
68098
68430
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68107,9 +68439,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68107
68439
|
|
|
68108
68440
|
// src/funcs/representativesCreate.ts
|
|
68109
68441
|
function representativesCreate(client, request, options) {
|
|
68110
|
-
return new APIPromise($
|
|
68442
|
+
return new APIPromise($do99(client, request, options));
|
|
68111
68443
|
}
|
|
68112
|
-
async function $
|
|
68444
|
+
async function $do99(client, request, options) {
|
|
68113
68445
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68114
68446
|
if (!parsed.ok) {
|
|
68115
68447
|
return [parsed, { status: "invalid" }];
|
|
@@ -68205,12 +68537,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
68205
68537
|
});
|
|
68206
68538
|
|
|
68207
68539
|
// src/mcp-server/tools/representativesCreate.ts
|
|
68208
|
-
var
|
|
68540
|
+
var args99, tool$representativesCreate;
|
|
68209
68541
|
var init_representativesCreate2 = __esm(() => {
|
|
68210
68542
|
init_representativesCreate();
|
|
68211
68543
|
init_operations();
|
|
68212
68544
|
init_tools();
|
|
68213
|
-
|
|
68545
|
+
args99 = {
|
|
68214
68546
|
request: CreateRepresentativeRequest$inboundSchema
|
|
68215
68547
|
};
|
|
68216
68548
|
tool$representativesCreate = {
|
|
@@ -68221,9 +68553,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
68221
68553
|
|
|
68222
68554
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68223
68555
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
68224
|
-
args:
|
|
68225
|
-
tool: async (client,
|
|
68226
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
68556
|
+
args: args99,
|
|
68557
|
+
tool: async (client, args100, ctx) => {
|
|
68558
|
+
const [result, apiCall] = await representativesCreate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68227
68559
|
if (!result.ok) {
|
|
68228
68560
|
return {
|
|
68229
68561
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68238,9 +68570,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
68238
68570
|
|
|
68239
68571
|
// src/funcs/representativesDelete.ts
|
|
68240
68572
|
function representativesDelete(client, request, options) {
|
|
68241
|
-
return new APIPromise($
|
|
68573
|
+
return new APIPromise($do100(client, request, options));
|
|
68242
68574
|
}
|
|
68243
|
-
async function $
|
|
68575
|
+
async function $do100(client, request, options) {
|
|
68244
68576
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68245
68577
|
if (!parsed.ok) {
|
|
68246
68578
|
return [parsed, { status: "invalid" }];
|
|
@@ -68328,12 +68660,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
68328
68660
|
});
|
|
68329
68661
|
|
|
68330
68662
|
// src/mcp-server/tools/representativesDelete.ts
|
|
68331
|
-
var
|
|
68663
|
+
var args100, tool$representativesDelete;
|
|
68332
68664
|
var init_representativesDelete2 = __esm(() => {
|
|
68333
68665
|
init_representativesDelete();
|
|
68334
68666
|
init_operations();
|
|
68335
68667
|
init_tools();
|
|
68336
|
-
|
|
68668
|
+
args100 = {
|
|
68337
68669
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
68338
68670
|
};
|
|
68339
68671
|
tool$representativesDelete = {
|
|
@@ -68342,9 +68674,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
68342
68674
|
|
|
68343
68675
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68344
68676
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
68345
|
-
args:
|
|
68346
|
-
tool: async (client,
|
|
68347
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
68677
|
+
args: args100,
|
|
68678
|
+
tool: async (client, args101, ctx) => {
|
|
68679
|
+
const [result, apiCall] = await representativesDelete(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68348
68680
|
if (!result.ok) {
|
|
68349
68681
|
return {
|
|
68350
68682
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68358,9 +68690,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
68358
68690
|
|
|
68359
68691
|
// src/funcs/representativesGet.ts
|
|
68360
68692
|
function representativesGet(client, request, options) {
|
|
68361
|
-
return new APIPromise($
|
|
68693
|
+
return new APIPromise($do101(client, request, options));
|
|
68362
68694
|
}
|
|
68363
|
-
async function $
|
|
68695
|
+
async function $do101(client, request, options) {
|
|
68364
68696
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68365
68697
|
if (!parsed.ok) {
|
|
68366
68698
|
return [parsed, { status: "invalid" }];
|
|
@@ -68439,12 +68771,12 @@ var init_representativesGet = __esm(() => {
|
|
|
68439
68771
|
});
|
|
68440
68772
|
|
|
68441
68773
|
// src/mcp-server/tools/representativesGet.ts
|
|
68442
|
-
var
|
|
68774
|
+
var args101, tool$representativesGet;
|
|
68443
68775
|
var init_representativesGet2 = __esm(() => {
|
|
68444
68776
|
init_representativesGet();
|
|
68445
68777
|
init_operations();
|
|
68446
68778
|
init_tools();
|
|
68447
|
-
|
|
68779
|
+
args101 = {
|
|
68448
68780
|
request: GetRepresentativeRequest$inboundSchema
|
|
68449
68781
|
};
|
|
68450
68782
|
tool$representativesGet = {
|
|
@@ -68453,9 +68785,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
68453
68785
|
|
|
68454
68786
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68455
68787
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
68456
|
-
args:
|
|
68457
|
-
tool: async (client,
|
|
68458
|
-
const [result, apiCall] = await representativesGet(client,
|
|
68788
|
+
args: args101,
|
|
68789
|
+
tool: async (client, args102, ctx) => {
|
|
68790
|
+
const [result, apiCall] = await representativesGet(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68459
68791
|
if (!result.ok) {
|
|
68460
68792
|
return {
|
|
68461
68793
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68470,9 +68802,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
68470
68802
|
|
|
68471
68803
|
// src/funcs/representativesList.ts
|
|
68472
68804
|
function representativesList(client, request, options) {
|
|
68473
|
-
return new APIPromise($
|
|
68805
|
+
return new APIPromise($do102(client, request, options));
|
|
68474
68806
|
}
|
|
68475
|
-
async function $
|
|
68807
|
+
async function $do102(client, request, options) {
|
|
68476
68808
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68477
68809
|
if (!parsed.ok) {
|
|
68478
68810
|
return [parsed, { status: "invalid" }];
|
|
@@ -68550,12 +68882,12 @@ var init_representativesList = __esm(() => {
|
|
|
68550
68882
|
});
|
|
68551
68883
|
|
|
68552
68884
|
// src/mcp-server/tools/representativesList.ts
|
|
68553
|
-
var
|
|
68885
|
+
var args102, tool$representativesList;
|
|
68554
68886
|
var init_representativesList2 = __esm(() => {
|
|
68555
68887
|
init_representativesList();
|
|
68556
68888
|
init_operations();
|
|
68557
68889
|
init_tools();
|
|
68558
|
-
|
|
68890
|
+
args102 = {
|
|
68559
68891
|
request: ListRepresentativesRequest$inboundSchema
|
|
68560
68892
|
};
|
|
68561
68893
|
tool$representativesList = {
|
|
@@ -68567,9 +68899,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
68567
68899
|
|
|
68568
68900
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68569
68901
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
68570
|
-
args:
|
|
68571
|
-
tool: async (client,
|
|
68572
|
-
const [result, apiCall] = await representativesList(client,
|
|
68902
|
+
args: args102,
|
|
68903
|
+
tool: async (client, args103, ctx) => {
|
|
68904
|
+
const [result, apiCall] = await representativesList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68573
68905
|
if (!result.ok) {
|
|
68574
68906
|
return {
|
|
68575
68907
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68584,9 +68916,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
68584
68916
|
|
|
68585
68917
|
// src/funcs/representativesUpdate.ts
|
|
68586
68918
|
function representativesUpdate(client, request, options) {
|
|
68587
|
-
return new APIPromise($
|
|
68919
|
+
return new APIPromise($do103(client, request, options));
|
|
68588
68920
|
}
|
|
68589
|
-
async function $
|
|
68921
|
+
async function $do103(client, request, options) {
|
|
68590
68922
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68591
68923
|
if (!parsed.ok) {
|
|
68592
68924
|
return [parsed, { status: "invalid" }];
|
|
@@ -68680,12 +69012,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
68680
69012
|
});
|
|
68681
69013
|
|
|
68682
69014
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
68683
|
-
var
|
|
69015
|
+
var args103, tool$representativesUpdate;
|
|
68684
69016
|
var init_representativesUpdate2 = __esm(() => {
|
|
68685
69017
|
init_representativesUpdate();
|
|
68686
69018
|
init_operations();
|
|
68687
69019
|
init_tools();
|
|
68688
|
-
|
|
69020
|
+
args103 = {
|
|
68689
69021
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
68690
69022
|
};
|
|
68691
69023
|
tool$representativesUpdate = {
|
|
@@ -68707,9 +69039,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
68707
69039
|
|
|
68708
69040
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68709
69041
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
68710
|
-
args:
|
|
68711
|
-
tool: async (client,
|
|
68712
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
69042
|
+
args: args103,
|
|
69043
|
+
tool: async (client, args104, ctx) => {
|
|
69044
|
+
const [result, apiCall] = await representativesUpdate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68713
69045
|
if (!result.ok) {
|
|
68714
69046
|
return {
|
|
68715
69047
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68724,9 +69056,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
68724
69056
|
|
|
68725
69057
|
// src/funcs/schedulingCancel.ts
|
|
68726
69058
|
function schedulingCancel(client, request, options) {
|
|
68727
|
-
return new APIPromise($
|
|
69059
|
+
return new APIPromise($do104(client, request, options));
|
|
68728
69060
|
}
|
|
68729
|
-
async function $
|
|
69061
|
+
async function $do104(client, request, options) {
|
|
68730
69062
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68731
69063
|
if (!parsed.ok) {
|
|
68732
69064
|
return [parsed, { status: "invalid" }];
|
|
@@ -68819,12 +69151,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
68819
69151
|
});
|
|
68820
69152
|
|
|
68821
69153
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
68822
|
-
var
|
|
69154
|
+
var args104, tool$schedulingCancel;
|
|
68823
69155
|
var init_schedulingCancel2 = __esm(() => {
|
|
68824
69156
|
init_schedulingCancel();
|
|
68825
69157
|
init_operations();
|
|
68826
69158
|
init_tools();
|
|
68827
|
-
|
|
69159
|
+
args104 = {
|
|
68828
69160
|
request: CancelScheduleRequest$inboundSchema
|
|
68829
69161
|
};
|
|
68830
69162
|
tool$schedulingCancel = {
|
|
@@ -68833,9 +69165,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
68833
69165
|
|
|
68834
69166
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68835
69167
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68836
|
-
args:
|
|
68837
|
-
tool: async (client,
|
|
68838
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
69168
|
+
args: args104,
|
|
69169
|
+
tool: async (client, args105, ctx) => {
|
|
69170
|
+
const [result, apiCall] = await schedulingCancel(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68839
69171
|
if (!result.ok) {
|
|
68840
69172
|
return {
|
|
68841
69173
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68849,9 +69181,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
68849
69181
|
|
|
68850
69182
|
// src/funcs/schedulingCreate.ts
|
|
68851
69183
|
function schedulingCreate(client, request, options) {
|
|
68852
|
-
return new APIPromise($
|
|
69184
|
+
return new APIPromise($do105(client, request, options));
|
|
68853
69185
|
}
|
|
68854
|
-
async function $
|
|
69186
|
+
async function $do105(client, request, options) {
|
|
68855
69187
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68856
69188
|
if (!parsed.ok) {
|
|
68857
69189
|
return [parsed, { status: "invalid" }];
|
|
@@ -68945,12 +69277,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
68945
69277
|
});
|
|
68946
69278
|
|
|
68947
69279
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
68948
|
-
var
|
|
69280
|
+
var args105, tool$schedulingCreate;
|
|
68949
69281
|
var init_schedulingCreate2 = __esm(() => {
|
|
68950
69282
|
init_schedulingCreate();
|
|
68951
69283
|
init_operations();
|
|
68952
69284
|
init_tools();
|
|
68953
|
-
|
|
69285
|
+
args105 = {
|
|
68954
69286
|
request: CreateScheduleRequest$inboundSchema
|
|
68955
69287
|
};
|
|
68956
69288
|
tool$schedulingCreate = {
|
|
@@ -68959,9 +69291,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
68959
69291
|
|
|
68960
69292
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68961
69293
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68962
|
-
args:
|
|
68963
|
-
tool: async (client,
|
|
68964
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
69294
|
+
args: args105,
|
|
69295
|
+
tool: async (client, args106, ctx) => {
|
|
69296
|
+
const [result, apiCall] = await schedulingCreate(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68965
69297
|
if (!result.ok) {
|
|
68966
69298
|
return {
|
|
68967
69299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68976,9 +69308,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
68976
69308
|
|
|
68977
69309
|
// src/funcs/schedulingGet.ts
|
|
68978
69310
|
function schedulingGet(client, request, options) {
|
|
68979
|
-
return new APIPromise($
|
|
69311
|
+
return new APIPromise($do106(client, request, options));
|
|
68980
69312
|
}
|
|
68981
|
-
async function $
|
|
69313
|
+
async function $do106(client, request, options) {
|
|
68982
69314
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68983
69315
|
if (!parsed.ok) {
|
|
68984
69316
|
return [parsed, { status: "invalid" }];
|
|
@@ -69060,12 +69392,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
69060
69392
|
});
|
|
69061
69393
|
|
|
69062
69394
|
// src/mcp-server/tools/schedulingGet.ts
|
|
69063
|
-
var
|
|
69395
|
+
var args106, tool$schedulingGet;
|
|
69064
69396
|
var init_schedulingGet2 = __esm(() => {
|
|
69065
69397
|
init_schedulingGet();
|
|
69066
69398
|
init_operations();
|
|
69067
69399
|
init_tools();
|
|
69068
|
-
|
|
69400
|
+
args106 = {
|
|
69069
69401
|
request: GetSchedulesRequest$inboundSchema
|
|
69070
69402
|
};
|
|
69071
69403
|
tool$schedulingGet = {
|
|
@@ -69074,9 +69406,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
69074
69406
|
|
|
69075
69407
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69076
69408
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69077
|
-
args:
|
|
69078
|
-
tool: async (client,
|
|
69079
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
69409
|
+
args: args106,
|
|
69410
|
+
tool: async (client, args107, ctx) => {
|
|
69411
|
+
const [result, apiCall] = await schedulingGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69080
69412
|
if (!result.ok) {
|
|
69081
69413
|
return {
|
|
69082
69414
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69091,9 +69423,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69091
69423
|
|
|
69092
69424
|
// src/funcs/schedulingGetOccurrance.ts
|
|
69093
69425
|
function schedulingGetOccurrance(client, request, options) {
|
|
69094
|
-
return new APIPromise($
|
|
69426
|
+
return new APIPromise($do107(client, request, options));
|
|
69095
69427
|
}
|
|
69096
|
-
async function $
|
|
69428
|
+
async function $do107(client, request, options) {
|
|
69097
69429
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69098
69430
|
if (!parsed.ok) {
|
|
69099
69431
|
return [parsed, { status: "invalid" }];
|
|
@@ -69176,12 +69508,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
69176
69508
|
});
|
|
69177
69509
|
|
|
69178
69510
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
69179
|
-
var
|
|
69511
|
+
var args107, tool$schedulingGetOccurrance;
|
|
69180
69512
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
69181
69513
|
init_schedulingGetOccurrance();
|
|
69182
69514
|
init_operations();
|
|
69183
69515
|
init_tools();
|
|
69184
|
-
|
|
69516
|
+
args107 = {
|
|
69185
69517
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
69186
69518
|
};
|
|
69187
69519
|
tool$schedulingGetOccurrance = {
|
|
@@ -69190,9 +69522,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
69190
69522
|
|
|
69191
69523
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69192
69524
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69193
|
-
args:
|
|
69194
|
-
tool: async (client,
|
|
69195
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
69525
|
+
args: args107,
|
|
69526
|
+
tool: async (client, args108, ctx) => {
|
|
69527
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69196
69528
|
if (!result.ok) {
|
|
69197
69529
|
return {
|
|
69198
69530
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69207,9 +69539,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69207
69539
|
|
|
69208
69540
|
// src/funcs/schedulingList.ts
|
|
69209
69541
|
function schedulingList(client, request, options) {
|
|
69210
|
-
return new APIPromise($
|
|
69542
|
+
return new APIPromise($do108(client, request, options));
|
|
69211
69543
|
}
|
|
69212
|
-
async function $
|
|
69544
|
+
async function $do108(client, request, options) {
|
|
69213
69545
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69214
69546
|
if (!parsed.ok) {
|
|
69215
69547
|
return [parsed, { status: "invalid" }];
|
|
@@ -69293,12 +69625,12 @@ var init_schedulingList = __esm(() => {
|
|
|
69293
69625
|
});
|
|
69294
69626
|
|
|
69295
69627
|
// src/mcp-server/tools/schedulingList.ts
|
|
69296
|
-
var
|
|
69628
|
+
var args108, tool$schedulingList;
|
|
69297
69629
|
var init_schedulingList2 = __esm(() => {
|
|
69298
69630
|
init_schedulingList();
|
|
69299
69631
|
init_operations();
|
|
69300
69632
|
init_tools();
|
|
69301
|
-
|
|
69633
|
+
args108 = {
|
|
69302
69634
|
request: ListSchedulesRequest$inboundSchema
|
|
69303
69635
|
};
|
|
69304
69636
|
tool$schedulingList = {
|
|
@@ -69307,9 +69639,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
69307
69639
|
|
|
69308
69640
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69309
69641
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69310
|
-
args:
|
|
69311
|
-
tool: async (client,
|
|
69312
|
-
const [result, apiCall] = await schedulingList(client,
|
|
69642
|
+
args: args108,
|
|
69643
|
+
tool: async (client, args109, ctx) => {
|
|
69644
|
+
const [result, apiCall] = await schedulingList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69313
69645
|
if (!result.ok) {
|
|
69314
69646
|
return {
|
|
69315
69647
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69324,9 +69656,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69324
69656
|
|
|
69325
69657
|
// src/funcs/schedulingUpdate.ts
|
|
69326
69658
|
function schedulingUpdate(client, request, options) {
|
|
69327
|
-
return new APIPromise($
|
|
69659
|
+
return new APIPromise($do109(client, request, options));
|
|
69328
69660
|
}
|
|
69329
|
-
async function $
|
|
69661
|
+
async function $do109(client, request, options) {
|
|
69330
69662
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69331
69663
|
if (!parsed.ok) {
|
|
69332
69664
|
return [parsed, { status: "invalid" }];
|
|
@@ -69424,12 +69756,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
69424
69756
|
});
|
|
69425
69757
|
|
|
69426
69758
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
69427
|
-
var
|
|
69759
|
+
var args109, tool$schedulingUpdate;
|
|
69428
69760
|
var init_schedulingUpdate2 = __esm(() => {
|
|
69429
69761
|
init_schedulingUpdate();
|
|
69430
69762
|
init_operations();
|
|
69431
69763
|
init_tools();
|
|
69432
|
-
|
|
69764
|
+
args109 = {
|
|
69433
69765
|
request: UpdateScheduleRequest$inboundSchema
|
|
69434
69766
|
};
|
|
69435
69767
|
tool$schedulingUpdate = {
|
|
@@ -69438,9 +69770,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
69438
69770
|
|
|
69439
69771
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69440
69772
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
69441
|
-
args:
|
|
69442
|
-
tool: async (client,
|
|
69443
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
69773
|
+
args: args109,
|
|
69774
|
+
tool: async (client, args110, ctx) => {
|
|
69775
|
+
const [result, apiCall] = await schedulingUpdate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69444
69776
|
if (!result.ok) {
|
|
69445
69777
|
return {
|
|
69446
69778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69455,9 +69787,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
69455
69787
|
|
|
69456
69788
|
// src/funcs/sweepsCreateConfig.ts
|
|
69457
69789
|
function sweepsCreateConfig(client, request, options) {
|
|
69458
|
-
return new APIPromise($
|
|
69790
|
+
return new APIPromise($do110(client, request, options));
|
|
69459
69791
|
}
|
|
69460
|
-
async function $
|
|
69792
|
+
async function $do110(client, request, options) {
|
|
69461
69793
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69462
69794
|
if (!parsed.ok) {
|
|
69463
69795
|
return [parsed, { status: "invalid" }];
|
|
@@ -69549,12 +69881,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
69549
69881
|
});
|
|
69550
69882
|
|
|
69551
69883
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
69552
|
-
var
|
|
69884
|
+
var args110, tool$sweepsCreateConfig;
|
|
69553
69885
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
69554
69886
|
init_sweepsCreateConfig();
|
|
69555
69887
|
init_operations();
|
|
69556
69888
|
init_tools();
|
|
69557
|
-
|
|
69889
|
+
args110 = {
|
|
69558
69890
|
request: CreateSweepConfigRequest$inboundSchema
|
|
69559
69891
|
};
|
|
69560
69892
|
tool$sweepsCreateConfig = {
|
|
@@ -69563,9 +69895,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
69563
69895
|
|
|
69564
69896
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69565
69897
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
69566
|
-
args:
|
|
69567
|
-
tool: async (client,
|
|
69568
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
69898
|
+
args: args110,
|
|
69899
|
+
tool: async (client, args111, ctx) => {
|
|
69900
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69569
69901
|
if (!result.ok) {
|
|
69570
69902
|
return {
|
|
69571
69903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69580,9 +69912,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
69580
69912
|
|
|
69581
69913
|
// src/funcs/sweepsGet.ts
|
|
69582
69914
|
function sweepsGet(client, request, options) {
|
|
69583
|
-
return new APIPromise($
|
|
69915
|
+
return new APIPromise($do111(client, request, options));
|
|
69584
69916
|
}
|
|
69585
|
-
async function $
|
|
69917
|
+
async function $do111(client, request, options) {
|
|
69586
69918
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69587
69919
|
if (!parsed.ok) {
|
|
69588
69920
|
return [parsed, { status: "invalid" }];
|
|
@@ -69668,12 +70000,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
69668
70000
|
});
|
|
69669
70001
|
|
|
69670
70002
|
// src/mcp-server/tools/sweepsGet.ts
|
|
69671
|
-
var
|
|
70003
|
+
var args111, tool$sweepsGet;
|
|
69672
70004
|
var init_sweepsGet2 = __esm(() => {
|
|
69673
70005
|
init_sweepsGet();
|
|
69674
70006
|
init_operations();
|
|
69675
70007
|
init_tools();
|
|
69676
|
-
|
|
70008
|
+
args111 = {
|
|
69677
70009
|
request: GetSweepRequest$inboundSchema
|
|
69678
70010
|
};
|
|
69679
70011
|
tool$sweepsGet = {
|
|
@@ -69682,9 +70014,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
69682
70014
|
|
|
69683
70015
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69684
70016
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69685
|
-
args:
|
|
69686
|
-
tool: async (client,
|
|
69687
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
70017
|
+
args: args111,
|
|
70018
|
+
tool: async (client, args112, ctx) => {
|
|
70019
|
+
const [result, apiCall] = await sweepsGet(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69688
70020
|
if (!result.ok) {
|
|
69689
70021
|
return {
|
|
69690
70022
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69699,9 +70031,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69699
70031
|
|
|
69700
70032
|
// src/funcs/sweepsGetConfig.ts
|
|
69701
70033
|
function sweepsGetConfig(client, request, options) {
|
|
69702
|
-
return new APIPromise($
|
|
70034
|
+
return new APIPromise($do112(client, request, options));
|
|
69703
70035
|
}
|
|
69704
|
-
async function $
|
|
70036
|
+
async function $do112(client, request, options) {
|
|
69705
70037
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69706
70038
|
if (!parsed.ok) {
|
|
69707
70039
|
return [parsed, { status: "invalid" }];
|
|
@@ -69783,12 +70115,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
69783
70115
|
});
|
|
69784
70116
|
|
|
69785
70117
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
69786
|
-
var
|
|
70118
|
+
var args112, tool$sweepsGetConfig;
|
|
69787
70119
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
69788
70120
|
init_sweepsGetConfig();
|
|
69789
70121
|
init_operations();
|
|
69790
70122
|
init_tools();
|
|
69791
|
-
|
|
70123
|
+
args112 = {
|
|
69792
70124
|
request: GetSweepConfigRequest$inboundSchema
|
|
69793
70125
|
};
|
|
69794
70126
|
tool$sweepsGetConfig = {
|
|
@@ -69797,9 +70129,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
69797
70129
|
|
|
69798
70130
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69799
70131
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69800
|
-
args:
|
|
69801
|
-
tool: async (client,
|
|
69802
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
70132
|
+
args: args112,
|
|
70133
|
+
tool: async (client, args113, ctx) => {
|
|
70134
|
+
const [result, apiCall] = await sweepsGetConfig(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69803
70135
|
if (!result.ok) {
|
|
69804
70136
|
return {
|
|
69805
70137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69814,9 +70146,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69814
70146
|
|
|
69815
70147
|
// src/funcs/sweepsList.ts
|
|
69816
70148
|
function sweepsList(client, request, options) {
|
|
69817
|
-
return new APIPromise($
|
|
70149
|
+
return new APIPromise($do113(client, request, options));
|
|
69818
70150
|
}
|
|
69819
|
-
async function $
|
|
70151
|
+
async function $do113(client, request, options) {
|
|
69820
70152
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69821
70153
|
if (!parsed.ok) {
|
|
69822
70154
|
return [parsed, { status: "invalid" }];
|
|
@@ -69905,12 +70237,12 @@ var init_sweepsList = __esm(() => {
|
|
|
69905
70237
|
});
|
|
69906
70238
|
|
|
69907
70239
|
// src/mcp-server/tools/sweepsList.ts
|
|
69908
|
-
var
|
|
70240
|
+
var args113, tool$sweepsList;
|
|
69909
70241
|
var init_sweepsList2 = __esm(() => {
|
|
69910
70242
|
init_sweepsList();
|
|
69911
70243
|
init_operations();
|
|
69912
70244
|
init_tools();
|
|
69913
|
-
|
|
70245
|
+
args113 = {
|
|
69914
70246
|
request: ListSweepsRequest$inboundSchema
|
|
69915
70247
|
};
|
|
69916
70248
|
tool$sweepsList = {
|
|
@@ -69919,9 +70251,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
69919
70251
|
|
|
69920
70252
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69921
70253
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69922
|
-
args:
|
|
69923
|
-
tool: async (client,
|
|
69924
|
-
const [result, apiCall] = await sweepsList(client,
|
|
70254
|
+
args: args113,
|
|
70255
|
+
tool: async (client, args114, ctx) => {
|
|
70256
|
+
const [result, apiCall] = await sweepsList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69925
70257
|
if (!result.ok) {
|
|
69926
70258
|
return {
|
|
69927
70259
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69936,9 +70268,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69936
70268
|
|
|
69937
70269
|
// src/funcs/sweepsListConfigs.ts
|
|
69938
70270
|
function sweepsListConfigs(client, request, options) {
|
|
69939
|
-
return new APIPromise($
|
|
70271
|
+
return new APIPromise($do114(client, request, options));
|
|
69940
70272
|
}
|
|
69941
|
-
async function $
|
|
70273
|
+
async function $do114(client, request, options) {
|
|
69942
70274
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69943
70275
|
if (!parsed.ok) {
|
|
69944
70276
|
return [parsed, { status: "invalid" }];
|
|
@@ -70016,12 +70348,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
70016
70348
|
});
|
|
70017
70349
|
|
|
70018
70350
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
70019
|
-
var
|
|
70351
|
+
var args114, tool$sweepsListConfigs;
|
|
70020
70352
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
70021
70353
|
init_sweepsListConfigs();
|
|
70022
70354
|
init_operations();
|
|
70023
70355
|
init_tools();
|
|
70024
|
-
|
|
70356
|
+
args114 = {
|
|
70025
70357
|
request: ListSweepConfigsRequest$inboundSchema
|
|
70026
70358
|
};
|
|
70027
70359
|
tool$sweepsListConfigs = {
|
|
@@ -70030,9 +70362,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
70030
70362
|
|
|
70031
70363
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70032
70364
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
70033
|
-
args:
|
|
70034
|
-
tool: async (client,
|
|
70035
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
70365
|
+
args: args114,
|
|
70366
|
+
tool: async (client, args115, ctx) => {
|
|
70367
|
+
const [result, apiCall] = await sweepsListConfigs(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70036
70368
|
if (!result.ok) {
|
|
70037
70369
|
return {
|
|
70038
70370
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70047,9 +70379,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70047
70379
|
|
|
70048
70380
|
// src/funcs/sweepsUpdateConfig.ts
|
|
70049
70381
|
function sweepsUpdateConfig(client, request, options) {
|
|
70050
|
-
return new APIPromise($
|
|
70382
|
+
return new APIPromise($do115(client, request, options));
|
|
70051
70383
|
}
|
|
70052
|
-
async function $
|
|
70384
|
+
async function $do115(client, request, options) {
|
|
70053
70385
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70054
70386
|
if (!parsed.ok) {
|
|
70055
70387
|
return [parsed, { status: "invalid" }];
|
|
@@ -70145,12 +70477,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
70145
70477
|
});
|
|
70146
70478
|
|
|
70147
70479
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
70148
|
-
var
|
|
70480
|
+
var args115, tool$sweepsUpdateConfig;
|
|
70149
70481
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
70150
70482
|
init_sweepsUpdateConfig();
|
|
70151
70483
|
init_operations();
|
|
70152
70484
|
init_tools();
|
|
70153
|
-
|
|
70485
|
+
args115 = {
|
|
70154
70486
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
70155
70487
|
};
|
|
70156
70488
|
tool$sweepsUpdateConfig = {
|
|
@@ -70159,9 +70491,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
70159
70491
|
|
|
70160
70492
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70161
70493
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
70162
|
-
args:
|
|
70163
|
-
tool: async (client,
|
|
70164
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
70494
|
+
args: args115,
|
|
70495
|
+
tool: async (client, args116, ctx) => {
|
|
70496
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70165
70497
|
if (!result.ok) {
|
|
70166
70498
|
return {
|
|
70167
70499
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70176,9 +70508,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
70176
70508
|
|
|
70177
70509
|
// src/funcs/terminalApplicationsCreate.ts
|
|
70178
70510
|
function terminalApplicationsCreate(client, request, options) {
|
|
70179
|
-
return new APIPromise($
|
|
70511
|
+
return new APIPromise($do116(client, request, options));
|
|
70180
70512
|
}
|
|
70181
|
-
async function $
|
|
70513
|
+
async function $do116(client, request, options) {
|
|
70182
70514
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
70183
70515
|
if (!parsed.ok) {
|
|
70184
70516
|
return [parsed, { status: "invalid" }];
|
|
@@ -70267,12 +70599,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
70267
70599
|
});
|
|
70268
70600
|
|
|
70269
70601
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
70270
|
-
var
|
|
70602
|
+
var args116, tool$terminalApplicationsCreate;
|
|
70271
70603
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
70272
70604
|
init_terminalApplicationsCreate();
|
|
70273
70605
|
init_components();
|
|
70274
70606
|
init_tools();
|
|
70275
|
-
|
|
70607
|
+
args116 = {
|
|
70276
70608
|
request: CreateTerminalApplication$inboundSchema
|
|
70277
70609
|
};
|
|
70278
70610
|
tool$terminalApplicationsCreate = {
|
|
@@ -70281,9 +70613,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
70281
70613
|
|
|
70282
70614
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70283
70615
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
70284
|
-
args:
|
|
70285
|
-
tool: async (client,
|
|
70286
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
70616
|
+
args: args116,
|
|
70617
|
+
tool: async (client, args117, ctx) => {
|
|
70618
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70287
70619
|
if (!result.ok) {
|
|
70288
70620
|
return {
|
|
70289
70621
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70298,9 +70630,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
70298
70630
|
|
|
70299
70631
|
// src/funcs/terminalApplicationsDelete.ts
|
|
70300
70632
|
function terminalApplicationsDelete(client, request, options) {
|
|
70301
|
-
return new APIPromise($
|
|
70633
|
+
return new APIPromise($do117(client, request, options));
|
|
70302
70634
|
}
|
|
70303
|
-
async function $
|
|
70635
|
+
async function $do117(client, request, options) {
|
|
70304
70636
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70305
70637
|
if (!parsed.ok) {
|
|
70306
70638
|
return [parsed, { status: "invalid" }];
|
|
@@ -70384,12 +70716,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
70384
70716
|
});
|
|
70385
70717
|
|
|
70386
70718
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
70387
|
-
var
|
|
70719
|
+
var args117, tool$terminalApplicationsDelete;
|
|
70388
70720
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
70389
70721
|
init_terminalApplicationsDelete();
|
|
70390
70722
|
init_operations();
|
|
70391
70723
|
init_tools();
|
|
70392
|
-
|
|
70724
|
+
args117 = {
|
|
70393
70725
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
70394
70726
|
};
|
|
70395
70727
|
tool$terminalApplicationsDelete = {
|
|
@@ -70398,9 +70730,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
70398
70730
|
|
|
70399
70731
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70400
70732
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
70401
|
-
args:
|
|
70402
|
-
tool: async (client,
|
|
70403
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
70733
|
+
args: args117,
|
|
70734
|
+
tool: async (client, args118, ctx) => {
|
|
70735
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70404
70736
|
if (!result.ok) {
|
|
70405
70737
|
return {
|
|
70406
70738
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70414,9 +70746,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
70414
70746
|
|
|
70415
70747
|
// src/funcs/terminalApplicationsGet.ts
|
|
70416
70748
|
function terminalApplicationsGet(client, request, options) {
|
|
70417
|
-
return new APIPromise($
|
|
70749
|
+
return new APIPromise($do118(client, request, options));
|
|
70418
70750
|
}
|
|
70419
|
-
async function $
|
|
70751
|
+
async function $do118(client, request, options) {
|
|
70420
70752
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70421
70753
|
if (!parsed.ok) {
|
|
70422
70754
|
return [parsed, { status: "invalid" }];
|
|
@@ -70491,12 +70823,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
70491
70823
|
});
|
|
70492
70824
|
|
|
70493
70825
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
70494
|
-
var
|
|
70826
|
+
var args118, tool$terminalApplicationsGet;
|
|
70495
70827
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
70496
70828
|
init_terminalApplicationsGet();
|
|
70497
70829
|
init_operations();
|
|
70498
70830
|
init_tools();
|
|
70499
|
-
|
|
70831
|
+
args118 = {
|
|
70500
70832
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
70501
70833
|
};
|
|
70502
70834
|
tool$terminalApplicationsGet = {
|
|
@@ -70505,9 +70837,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
70505
70837
|
|
|
70506
70838
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70507
70839
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
70508
|
-
args:
|
|
70509
|
-
tool: async (client,
|
|
70510
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
70840
|
+
args: args118,
|
|
70841
|
+
tool: async (client, args119, ctx) => {
|
|
70842
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70511
70843
|
if (!result.ok) {
|
|
70512
70844
|
return {
|
|
70513
70845
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70522,9 +70854,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
70522
70854
|
|
|
70523
70855
|
// src/funcs/terminalApplicationsList.ts
|
|
70524
70856
|
function terminalApplicationsList(client, _request, options) {
|
|
70525
|
-
return new APIPromise($
|
|
70857
|
+
return new APIPromise($do119(client, _request, options));
|
|
70526
70858
|
}
|
|
70527
|
-
async function $
|
|
70859
|
+
async function $do119(client, _request, options) {
|
|
70528
70860
|
const path = pathToFunc("/terminal-applications")();
|
|
70529
70861
|
const headers = new Headers(compactMap({
|
|
70530
70862
|
Accept: "application/json",
|
|
@@ -70588,12 +70920,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
70588
70920
|
});
|
|
70589
70921
|
|
|
70590
70922
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
70591
|
-
var
|
|
70923
|
+
var args119, tool$terminalApplicationsList;
|
|
70592
70924
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
70593
70925
|
init_terminalApplicationsList();
|
|
70594
70926
|
init_operations();
|
|
70595
70927
|
init_tools();
|
|
70596
|
-
|
|
70928
|
+
args119 = {
|
|
70597
70929
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
70598
70930
|
};
|
|
70599
70931
|
tool$terminalApplicationsList = {
|
|
@@ -70602,9 +70934,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
70602
70934
|
|
|
70603
70935
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70604
70936
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
70605
|
-
args:
|
|
70606
|
-
tool: async (client,
|
|
70607
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
70937
|
+
args: args119,
|
|
70938
|
+
tool: async (client, args120, ctx) => {
|
|
70939
|
+
const [result, apiCall] = await terminalApplicationsList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70608
70940
|
if (!result.ok) {
|
|
70609
70941
|
return {
|
|
70610
70942
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70619,9 +70951,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
70619
70951
|
|
|
70620
70952
|
// src/funcs/transfersCreate.ts
|
|
70621
70953
|
function transfersCreate(client, request, options) {
|
|
70622
|
-
return new APIPromise($
|
|
70954
|
+
return new APIPromise($do120(client, request, options));
|
|
70623
70955
|
}
|
|
70624
|
-
async function $
|
|
70956
|
+
async function $do120(client, request, options) {
|
|
70625
70957
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70626
70958
|
if (!parsed.ok) {
|
|
70627
70959
|
return [parsed, { status: "invalid" }];
|
|
@@ -70714,12 +71046,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
70714
71046
|
});
|
|
70715
71047
|
|
|
70716
71048
|
// src/mcp-server/tools/transfersCreate.ts
|
|
70717
|
-
var
|
|
71049
|
+
var args120, tool$transfersCreate;
|
|
70718
71050
|
var init_transfersCreate2 = __esm(() => {
|
|
70719
71051
|
init_transfersCreate();
|
|
70720
71052
|
init_operations();
|
|
70721
71053
|
init_tools();
|
|
70722
|
-
|
|
71054
|
+
args120 = {
|
|
70723
71055
|
request: CreateTransferRequest$inboundSchema
|
|
70724
71056
|
};
|
|
70725
71057
|
tool$transfersCreate = {
|
|
@@ -70730,9 +71062,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
70730
71062
|
|
|
70731
71063
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70732
71064
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
70733
|
-
args:
|
|
70734
|
-
tool: async (client,
|
|
70735
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
71065
|
+
args: args120,
|
|
71066
|
+
tool: async (client, args121, ctx) => {
|
|
71067
|
+
const [result, apiCall] = await transfersCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70736
71068
|
if (!result.ok) {
|
|
70737
71069
|
return {
|
|
70738
71070
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70747,9 +71079,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
70747
71079
|
|
|
70748
71080
|
// src/funcs/transfersCreateCancellation.ts
|
|
70749
71081
|
function transfersCreateCancellation(client, request, options) {
|
|
70750
|
-
return new APIPromise($
|
|
71082
|
+
return new APIPromise($do121(client, request, options));
|
|
70751
71083
|
}
|
|
70752
|
-
async function $
|
|
71084
|
+
async function $do121(client, request, options) {
|
|
70753
71085
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70754
71086
|
if (!parsed.ok) {
|
|
70755
71087
|
return [parsed, { status: "invalid" }];
|
|
@@ -70832,12 +71164,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
70832
71164
|
});
|
|
70833
71165
|
|
|
70834
71166
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
70835
|
-
var
|
|
71167
|
+
var args121, tool$transfersCreateCancellation;
|
|
70836
71168
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
70837
71169
|
init_transfersCreateCancellation();
|
|
70838
71170
|
init_operations();
|
|
70839
71171
|
init_tools();
|
|
70840
|
-
|
|
71172
|
+
args121 = {
|
|
70841
71173
|
request: CreateCancellationRequest$inboundSchema
|
|
70842
71174
|
};
|
|
70843
71175
|
tool$transfersCreateCancellation = {
|
|
@@ -70846,9 +71178,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
70846
71178
|
|
|
70847
71179
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
70848
71180
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
70849
|
-
args:
|
|
70850
|
-
tool: async (client,
|
|
70851
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
71181
|
+
args: args121,
|
|
71182
|
+
tool: async (client, args122, ctx) => {
|
|
71183
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70852
71184
|
if (!result.ok) {
|
|
70853
71185
|
return {
|
|
70854
71186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70863,9 +71195,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
70863
71195
|
|
|
70864
71196
|
// src/funcs/transfersCreateReversal.ts
|
|
70865
71197
|
function transfersCreateReversal(client, request, options) {
|
|
70866
|
-
return new APIPromise($
|
|
71198
|
+
return new APIPromise($do122(client, request, options));
|
|
70867
71199
|
}
|
|
70868
|
-
async function $
|
|
71200
|
+
async function $do122(client, request, options) {
|
|
70869
71201
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70870
71202
|
if (!parsed.ok) {
|
|
70871
71203
|
return [parsed, { status: "invalid" }];
|
|
@@ -70964,12 +71296,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
70964
71296
|
});
|
|
70965
71297
|
|
|
70966
71298
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
70967
|
-
var
|
|
71299
|
+
var args122, tool$transfersCreateReversal;
|
|
70968
71300
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
70969
71301
|
init_transfersCreateReversal();
|
|
70970
71302
|
init_operations();
|
|
70971
71303
|
init_tools();
|
|
70972
|
-
|
|
71304
|
+
args122 = {
|
|
70973
71305
|
request: CreateReversalRequest$inboundSchema
|
|
70974
71306
|
};
|
|
70975
71307
|
tool$transfersCreateReversal = {
|
|
@@ -70980,9 +71312,9 @@ to learn more.
|
|
|
70980
71312
|
|
|
70981
71313
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
70982
71314
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
70983
|
-
args:
|
|
70984
|
-
tool: async (client,
|
|
70985
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
71315
|
+
args: args122,
|
|
71316
|
+
tool: async (client, args123, ctx) => {
|
|
71317
|
+
const [result, apiCall] = await transfersCreateReversal(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70986
71318
|
if (!result.ok) {
|
|
70987
71319
|
return {
|
|
70988
71320
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70997,9 +71329,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
70997
71329
|
|
|
70998
71330
|
// src/funcs/transfersGenerateOptions.ts
|
|
70999
71331
|
function transfersGenerateOptions(client, request, options) {
|
|
71000
|
-
return new APIPromise($
|
|
71332
|
+
return new APIPromise($do123(client, request, options));
|
|
71001
71333
|
}
|
|
71002
|
-
async function $
|
|
71334
|
+
async function $do123(client, request, options) {
|
|
71003
71335
|
const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
|
|
71004
71336
|
if (!parsed.ok) {
|
|
71005
71337
|
return [parsed, { status: "invalid" }];
|
|
@@ -71076,12 +71408,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
71076
71408
|
});
|
|
71077
71409
|
|
|
71078
71410
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
71079
|
-
var
|
|
71411
|
+
var args123, tool$transfersGenerateOptions;
|
|
71080
71412
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
71081
71413
|
init_transfersGenerateOptions();
|
|
71082
71414
|
init_components();
|
|
71083
71415
|
init_tools();
|
|
71084
|
-
|
|
71416
|
+
args123 = {
|
|
71085
71417
|
request: CreateTransferOptions$inboundSchema
|
|
71086
71418
|
};
|
|
71087
71419
|
tool$transfersGenerateOptions = {
|
|
@@ -71093,9 +71425,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
71093
71425
|
|
|
71094
71426
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71095
71427
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71096
|
-
args:
|
|
71097
|
-
tool: async (client,
|
|
71098
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
71428
|
+
args: args123,
|
|
71429
|
+
tool: async (client, args124, ctx) => {
|
|
71430
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71099
71431
|
if (!result.ok) {
|
|
71100
71432
|
return {
|
|
71101
71433
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71110,9 +71442,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71110
71442
|
|
|
71111
71443
|
// src/funcs/transfersGet.ts
|
|
71112
71444
|
function transfersGet(client, request, options) {
|
|
71113
|
-
return new APIPromise($
|
|
71445
|
+
return new APIPromise($do124(client, request, options));
|
|
71114
71446
|
}
|
|
71115
|
-
async function $
|
|
71447
|
+
async function $do124(client, request, options) {
|
|
71116
71448
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71117
71449
|
if (!parsed.ok) {
|
|
71118
71450
|
return [parsed, { status: "invalid" }];
|
|
@@ -71194,12 +71526,12 @@ var init_transfersGet = __esm(() => {
|
|
|
71194
71526
|
});
|
|
71195
71527
|
|
|
71196
71528
|
// src/mcp-server/tools/transfersGet.ts
|
|
71197
|
-
var
|
|
71529
|
+
var args124, tool$transfersGet;
|
|
71198
71530
|
var init_transfersGet2 = __esm(() => {
|
|
71199
71531
|
init_transfersGet();
|
|
71200
71532
|
init_operations();
|
|
71201
71533
|
init_tools();
|
|
71202
|
-
|
|
71534
|
+
args124 = {
|
|
71203
71535
|
request: GetTransferRequest$inboundSchema
|
|
71204
71536
|
};
|
|
71205
71537
|
tool$transfersGet = {
|
|
@@ -71211,9 +71543,9 @@ to learn more.
|
|
|
71211
71543
|
|
|
71212
71544
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71213
71545
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71214
|
-
args:
|
|
71215
|
-
tool: async (client,
|
|
71216
|
-
const [result, apiCall] = await transfersGet(client,
|
|
71546
|
+
args: args124,
|
|
71547
|
+
tool: async (client, args125, ctx) => {
|
|
71548
|
+
const [result, apiCall] = await transfersGet(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71217
71549
|
if (!result.ok) {
|
|
71218
71550
|
return {
|
|
71219
71551
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71228,9 +71560,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71228
71560
|
|
|
71229
71561
|
// src/funcs/transfersGetCancellation.ts
|
|
71230
71562
|
function transfersGetCancellation(client, request, options) {
|
|
71231
|
-
return new APIPromise($
|
|
71563
|
+
return new APIPromise($do125(client, request, options));
|
|
71232
71564
|
}
|
|
71233
|
-
async function $
|
|
71565
|
+
async function $do125(client, request, options) {
|
|
71234
71566
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71235
71567
|
if (!parsed.ok) {
|
|
71236
71568
|
return [parsed, { status: "invalid" }];
|
|
@@ -71316,12 +71648,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
71316
71648
|
});
|
|
71317
71649
|
|
|
71318
71650
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
71319
|
-
var
|
|
71651
|
+
var args125, tool$transfersGetCancellation;
|
|
71320
71652
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
71321
71653
|
init_transfersGetCancellation();
|
|
71322
71654
|
init_operations();
|
|
71323
71655
|
init_tools();
|
|
71324
|
-
|
|
71656
|
+
args125 = {
|
|
71325
71657
|
request: GetCancellationRequest$inboundSchema
|
|
71326
71658
|
};
|
|
71327
71659
|
tool$transfersGetCancellation = {
|
|
@@ -71330,9 +71662,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
71330
71662
|
|
|
71331
71663
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
71332
71664
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71333
|
-
args:
|
|
71334
|
-
tool: async (client,
|
|
71335
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
71665
|
+
args: args125,
|
|
71666
|
+
tool: async (client, args126, ctx) => {
|
|
71667
|
+
const [result, apiCall] = await transfersGetCancellation(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71336
71668
|
if (!result.ok) {
|
|
71337
71669
|
return {
|
|
71338
71670
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71347,9 +71679,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
71347
71679
|
|
|
71348
71680
|
// src/funcs/transfersGetRefund.ts
|
|
71349
71681
|
function transfersGetRefund(client, request, options) {
|
|
71350
|
-
return new APIPromise($
|
|
71682
|
+
return new APIPromise($do126(client, request, options));
|
|
71351
71683
|
}
|
|
71352
|
-
async function $
|
|
71684
|
+
async function $do126(client, request, options) {
|
|
71353
71685
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71354
71686
|
if (!parsed.ok) {
|
|
71355
71687
|
return [parsed, { status: "invalid" }];
|
|
@@ -71435,12 +71767,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
71435
71767
|
});
|
|
71436
71768
|
|
|
71437
71769
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
71438
|
-
var
|
|
71770
|
+
var args126, tool$transfersGetRefund;
|
|
71439
71771
|
var init_transfersGetRefund2 = __esm(() => {
|
|
71440
71772
|
init_transfersGetRefund();
|
|
71441
71773
|
init_operations();
|
|
71442
71774
|
init_tools();
|
|
71443
|
-
|
|
71775
|
+
args126 = {
|
|
71444
71776
|
request: GetRefundRequest$inboundSchema
|
|
71445
71777
|
};
|
|
71446
71778
|
tool$transfersGetRefund = {
|
|
@@ -71449,9 +71781,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
71449
71781
|
|
|
71450
71782
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71451
71783
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71452
|
-
args:
|
|
71453
|
-
tool: async (client,
|
|
71454
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
71784
|
+
args: args126,
|
|
71785
|
+
tool: async (client, args127, ctx) => {
|
|
71786
|
+
const [result, apiCall] = await transfersGetRefund(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71455
71787
|
if (!result.ok) {
|
|
71456
71788
|
return {
|
|
71457
71789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71466,9 +71798,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71466
71798
|
|
|
71467
71799
|
// src/funcs/transfersInitiateRefund.ts
|
|
71468
71800
|
function transfersInitiateRefund(client, request, options) {
|
|
71469
|
-
return new APIPromise($
|
|
71801
|
+
return new APIPromise($do127(client, request, options));
|
|
71470
71802
|
}
|
|
71471
|
-
async function $
|
|
71803
|
+
async function $do127(client, request, options) {
|
|
71472
71804
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71473
71805
|
if (!parsed.ok) {
|
|
71474
71806
|
return [parsed, { status: "invalid" }];
|
|
@@ -71560,12 +71892,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
71560
71892
|
});
|
|
71561
71893
|
|
|
71562
71894
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
71563
|
-
var
|
|
71895
|
+
var args127, tool$transfersInitiateRefund;
|
|
71564
71896
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
71565
71897
|
init_transfersInitiateRefund();
|
|
71566
71898
|
init_operations();
|
|
71567
71899
|
init_tools();
|
|
71568
|
-
|
|
71900
|
+
args127 = {
|
|
71569
71901
|
request: InitiateRefundRequest$inboundSchema
|
|
71570
71902
|
};
|
|
71571
71903
|
tool$transfersInitiateRefund = {
|
|
@@ -71577,9 +71909,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
71577
71909
|
|
|
71578
71910
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71579
71911
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
71580
|
-
args:
|
|
71581
|
-
tool: async (client,
|
|
71582
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
71912
|
+
args: args127,
|
|
71913
|
+
tool: async (client, args128, ctx) => {
|
|
71914
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71583
71915
|
if (!result.ok) {
|
|
71584
71916
|
return {
|
|
71585
71917
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71594,9 +71926,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
71594
71926
|
|
|
71595
71927
|
// src/funcs/transfersList.ts
|
|
71596
71928
|
function transfersList(client, request, options) {
|
|
71597
|
-
return new APIPromise($
|
|
71929
|
+
return new APIPromise($do128(client, request, options));
|
|
71598
71930
|
}
|
|
71599
|
-
async function $
|
|
71931
|
+
async function $do128(client, request, options) {
|
|
71600
71932
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71601
71933
|
if (!parsed.ok) {
|
|
71602
71934
|
return [parsed, { status: "invalid" }];
|
|
@@ -71687,12 +72019,12 @@ var init_transfersList = __esm(() => {
|
|
|
71687
72019
|
});
|
|
71688
72020
|
|
|
71689
72021
|
// src/mcp-server/tools/transfersList.ts
|
|
71690
|
-
var
|
|
72022
|
+
var args128, tool$transfersList;
|
|
71691
72023
|
var init_transfersList2 = __esm(() => {
|
|
71692
72024
|
init_transfersList();
|
|
71693
72025
|
init_operations();
|
|
71694
72026
|
init_tools();
|
|
71695
|
-
|
|
72027
|
+
args128 = {
|
|
71696
72028
|
request: ListTransfersRequest$inboundSchema
|
|
71697
72029
|
};
|
|
71698
72030
|
tool$transfersList = {
|
|
@@ -71708,9 +72040,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
71708
72040
|
|
|
71709
72041
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71710
72042
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71711
|
-
args:
|
|
71712
|
-
tool: async (client,
|
|
71713
|
-
const [result, apiCall] = await transfersList(client,
|
|
72043
|
+
args: args128,
|
|
72044
|
+
tool: async (client, args129, ctx) => {
|
|
72045
|
+
const [result, apiCall] = await transfersList(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71714
72046
|
if (!result.ok) {
|
|
71715
72047
|
return {
|
|
71716
72048
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71725,9 +72057,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71725
72057
|
|
|
71726
72058
|
// src/funcs/transfersListRefunds.ts
|
|
71727
72059
|
function transfersListRefunds(client, request, options) {
|
|
71728
|
-
return new APIPromise($
|
|
72060
|
+
return new APIPromise($do129(client, request, options));
|
|
71729
72061
|
}
|
|
71730
|
-
async function $
|
|
72062
|
+
async function $do129(client, request, options) {
|
|
71731
72063
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71732
72064
|
if (!parsed.ok) {
|
|
71733
72065
|
return [parsed, { status: "invalid" }];
|
|
@@ -71809,12 +72141,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
71809
72141
|
});
|
|
71810
72142
|
|
|
71811
72143
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
71812
|
-
var
|
|
72144
|
+
var args129, tool$transfersListRefunds;
|
|
71813
72145
|
var init_transfersListRefunds2 = __esm(() => {
|
|
71814
72146
|
init_transfersListRefunds();
|
|
71815
72147
|
init_operations();
|
|
71816
72148
|
init_tools();
|
|
71817
|
-
|
|
72149
|
+
args129 = {
|
|
71818
72150
|
request: ListRefundsRequest$inboundSchema
|
|
71819
72151
|
};
|
|
71820
72152
|
tool$transfersListRefunds = {
|
|
@@ -71823,9 +72155,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
71823
72155
|
|
|
71824
72156
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71825
72157
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71826
|
-
args:
|
|
71827
|
-
tool: async (client,
|
|
71828
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
72158
|
+
args: args129,
|
|
72159
|
+
tool: async (client, args130, ctx) => {
|
|
72160
|
+
const [result, apiCall] = await transfersListRefunds(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71829
72161
|
if (!result.ok) {
|
|
71830
72162
|
return {
|
|
71831
72163
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71840,9 +72172,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71840
72172
|
|
|
71841
72173
|
// src/funcs/transfersUpdate.ts
|
|
71842
72174
|
function transfersUpdate(client, request, options) {
|
|
71843
|
-
return new APIPromise($
|
|
72175
|
+
return new APIPromise($do130(client, request, options));
|
|
71844
72176
|
}
|
|
71845
|
-
async function $
|
|
72177
|
+
async function $do130(client, request, options) {
|
|
71846
72178
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71847
72179
|
if (!parsed.ok) {
|
|
71848
72180
|
return [parsed, { status: "invalid" }];
|
|
@@ -71925,12 +72257,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
71925
72257
|
});
|
|
71926
72258
|
|
|
71927
72259
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
71928
|
-
var
|
|
72260
|
+
var args130, tool$transfersUpdate;
|
|
71929
72261
|
var init_transfersUpdate2 = __esm(() => {
|
|
71930
72262
|
init_transfersUpdate();
|
|
71931
72263
|
init_operations();
|
|
71932
72264
|
init_tools();
|
|
71933
|
-
|
|
72265
|
+
args130 = {
|
|
71934
72266
|
request: UpdateTransferRequest$inboundSchema
|
|
71935
72267
|
};
|
|
71936
72268
|
tool$transfersUpdate = {
|
|
@@ -71941,9 +72273,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
71941
72273
|
|
|
71942
72274
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71943
72275
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
71944
|
-
args:
|
|
71945
|
-
tool: async (client,
|
|
71946
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
72276
|
+
args: args130,
|
|
72277
|
+
tool: async (client, args131, ctx) => {
|
|
72278
|
+
const [result, apiCall] = await transfersUpdate(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71947
72279
|
if (!result.ok) {
|
|
71948
72280
|
return {
|
|
71949
72281
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71958,9 +72290,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
71958
72290
|
|
|
71959
72291
|
// src/funcs/underwritingGet.ts
|
|
71960
72292
|
function underwritingGet(client, request, options) {
|
|
71961
|
-
return new APIPromise($
|
|
72293
|
+
return new APIPromise($do131(client, request, options));
|
|
71962
72294
|
}
|
|
71963
|
-
async function $
|
|
72295
|
+
async function $do131(client, request, options) {
|
|
71964
72296
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71965
72297
|
if (!parsed.ok) {
|
|
71966
72298
|
return [parsed, { status: "invalid" }];
|
|
@@ -72038,12 +72370,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
72038
72370
|
});
|
|
72039
72371
|
|
|
72040
72372
|
// src/mcp-server/tools/underwritingGet.ts
|
|
72041
|
-
var
|
|
72373
|
+
var args131, tool$underwritingGet;
|
|
72042
72374
|
var init_underwritingGet2 = __esm(() => {
|
|
72043
72375
|
init_underwritingGet();
|
|
72044
72376
|
init_operations();
|
|
72045
72377
|
init_tools();
|
|
72046
|
-
|
|
72378
|
+
args131 = {
|
|
72047
72379
|
request: GetUnderwritingRequest$inboundSchema
|
|
72048
72380
|
};
|
|
72049
72381
|
tool$underwritingGet = {
|
|
@@ -72054,9 +72386,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
72054
72386
|
|
|
72055
72387
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72056
72388
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72057
|
-
args:
|
|
72058
|
-
tool: async (client,
|
|
72059
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
72389
|
+
args: args131,
|
|
72390
|
+
tool: async (client, args132, ctx) => {
|
|
72391
|
+
const [result, apiCall] = await underwritingGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72060
72392
|
if (!result.ok) {
|
|
72061
72393
|
return {
|
|
72062
72394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72071,9 +72403,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72071
72403
|
|
|
72072
72404
|
// src/funcs/underwritingUpsert.ts
|
|
72073
72405
|
function underwritingUpsert(client, request, options) {
|
|
72074
|
-
return new APIPromise($
|
|
72406
|
+
return new APIPromise($do132(client, request, options));
|
|
72075
72407
|
}
|
|
72076
|
-
async function $
|
|
72408
|
+
async function $do132(client, request, options) {
|
|
72077
72409
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72078
72410
|
if (!parsed.ok) {
|
|
72079
72411
|
return [parsed, { status: "invalid" }];
|
|
@@ -72169,12 +72501,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
72169
72501
|
});
|
|
72170
72502
|
|
|
72171
72503
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
72172
|
-
var
|
|
72504
|
+
var args132, tool$underwritingUpsert;
|
|
72173
72505
|
var init_underwritingUpsert2 = __esm(() => {
|
|
72174
72506
|
init_underwritingUpsert();
|
|
72175
72507
|
init_operations();
|
|
72176
72508
|
init_tools();
|
|
72177
|
-
|
|
72509
|
+
args132 = {
|
|
72178
72510
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
72179
72511
|
};
|
|
72180
72512
|
tool$underwritingUpsert = {
|
|
@@ -72185,9 +72517,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
72185
72517
|
|
|
72186
72518
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72187
72519
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
72188
|
-
args:
|
|
72189
|
-
tool: async (client,
|
|
72190
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
72520
|
+
args: args132,
|
|
72521
|
+
tool: async (client, args133, ctx) => {
|
|
72522
|
+
const [result, apiCall] = await underwritingUpsert(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72191
72523
|
if (!result.ok) {
|
|
72192
72524
|
return {
|
|
72193
72525
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72202,9 +72534,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
72202
72534
|
|
|
72203
72535
|
// src/funcs/walletsGet.ts
|
|
72204
72536
|
function walletsGet(client, request, options) {
|
|
72205
|
-
return new APIPromise($
|
|
72537
|
+
return new APIPromise($do133(client, request, options));
|
|
72206
72538
|
}
|
|
72207
|
-
async function $
|
|
72539
|
+
async function $do133(client, request, options) {
|
|
72208
72540
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72209
72541
|
if (!parsed.ok) {
|
|
72210
72542
|
return [parsed, { status: "invalid" }];
|
|
@@ -72286,12 +72618,12 @@ var init_walletsGet = __esm(() => {
|
|
|
72286
72618
|
});
|
|
72287
72619
|
|
|
72288
72620
|
// src/mcp-server/tools/walletsGet.ts
|
|
72289
|
-
var
|
|
72621
|
+
var args133, tool$walletsGet;
|
|
72290
72622
|
var init_walletsGet2 = __esm(() => {
|
|
72291
72623
|
init_walletsGet();
|
|
72292
72624
|
init_operations();
|
|
72293
72625
|
init_tools();
|
|
72294
|
-
|
|
72626
|
+
args133 = {
|
|
72295
72627
|
request: GetWalletRequest$inboundSchema
|
|
72296
72628
|
};
|
|
72297
72629
|
tool$walletsGet = {
|
|
@@ -72302,9 +72634,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
72302
72634
|
|
|
72303
72635
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72304
72636
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
72305
|
-
args:
|
|
72306
|
-
tool: async (client,
|
|
72307
|
-
const [result, apiCall] = await walletsGet(client,
|
|
72637
|
+
args: args133,
|
|
72638
|
+
tool: async (client, args134, ctx) => {
|
|
72639
|
+
const [result, apiCall] = await walletsGet(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72308
72640
|
if (!result.ok) {
|
|
72309
72641
|
return {
|
|
72310
72642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72319,9 +72651,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
72319
72651
|
|
|
72320
72652
|
// src/funcs/walletsList.ts
|
|
72321
72653
|
function walletsList(client, request, options) {
|
|
72322
|
-
return new APIPromise($
|
|
72654
|
+
return new APIPromise($do134(client, request, options));
|
|
72323
72655
|
}
|
|
72324
|
-
async function $
|
|
72656
|
+
async function $do134(client, request, options) {
|
|
72325
72657
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72326
72658
|
if (!parsed.ok) {
|
|
72327
72659
|
return [parsed, { status: "invalid" }];
|
|
@@ -72399,12 +72731,12 @@ var init_walletsList = __esm(() => {
|
|
|
72399
72731
|
});
|
|
72400
72732
|
|
|
72401
72733
|
// src/mcp-server/tools/walletsList.ts
|
|
72402
|
-
var
|
|
72734
|
+
var args134, tool$walletsList;
|
|
72403
72735
|
var init_walletsList2 = __esm(() => {
|
|
72404
72736
|
init_walletsList();
|
|
72405
72737
|
init_operations();
|
|
72406
72738
|
init_tools();
|
|
72407
|
-
|
|
72739
|
+
args134 = {
|
|
72408
72740
|
request: ListWalletsRequest$inboundSchema
|
|
72409
72741
|
};
|
|
72410
72742
|
tool$walletsList = {
|
|
@@ -72415,9 +72747,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
72415
72747
|
|
|
72416
72748
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72417
72749
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
72418
|
-
args:
|
|
72419
|
-
tool: async (client,
|
|
72420
|
-
const [result, apiCall] = await walletsList(client,
|
|
72750
|
+
args: args134,
|
|
72751
|
+
tool: async (client, args135, ctx) => {
|
|
72752
|
+
const [result, apiCall] = await walletsList(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72421
72753
|
if (!result.ok) {
|
|
72422
72754
|
return {
|
|
72423
72755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72432,9 +72764,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
72432
72764
|
|
|
72433
72765
|
// src/funcs/walletTransactionsGet.ts
|
|
72434
72766
|
function walletTransactionsGet(client, request, options) {
|
|
72435
|
-
return new APIPromise($
|
|
72767
|
+
return new APIPromise($do135(client, request, options));
|
|
72436
72768
|
}
|
|
72437
|
-
async function $
|
|
72769
|
+
async function $do135(client, request, options) {
|
|
72438
72770
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72439
72771
|
if (!parsed.ok) {
|
|
72440
72772
|
return [parsed, { status: "invalid" }];
|
|
@@ -72520,12 +72852,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
72520
72852
|
});
|
|
72521
72853
|
|
|
72522
72854
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
72523
|
-
var
|
|
72855
|
+
var args135, tool$walletTransactionsGet;
|
|
72524
72856
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
72525
72857
|
init_walletTransactionsGet();
|
|
72526
72858
|
init_operations();
|
|
72527
72859
|
init_tools();
|
|
72528
|
-
|
|
72860
|
+
args135 = {
|
|
72529
72861
|
request: GetWalletTransactionRequest$inboundSchema
|
|
72530
72862
|
};
|
|
72531
72863
|
tool$walletTransactionsGet = {
|
|
@@ -72536,9 +72868,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
72536
72868
|
|
|
72537
72869
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72538
72870
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
72539
|
-
args:
|
|
72540
|
-
tool: async (client,
|
|
72541
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
72871
|
+
args: args135,
|
|
72872
|
+
tool: async (client, args136, ctx) => {
|
|
72873
|
+
const [result, apiCall] = await walletTransactionsGet(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72542
72874
|
if (!result.ok) {
|
|
72543
72875
|
return {
|
|
72544
72876
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72553,9 +72885,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
72553
72885
|
|
|
72554
72886
|
// src/funcs/walletTransactionsList.ts
|
|
72555
72887
|
function walletTransactionsList(client, request, options) {
|
|
72556
|
-
return new APIPromise($
|
|
72888
|
+
return new APIPromise($do136(client, request, options));
|
|
72557
72889
|
}
|
|
72558
|
-
async function $
|
|
72890
|
+
async function $do136(client, request, options) {
|
|
72559
72891
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72560
72892
|
if (!parsed.ok) {
|
|
72561
72893
|
return [parsed, { status: "invalid" }];
|
|
@@ -72652,12 +72984,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
72652
72984
|
});
|
|
72653
72985
|
|
|
72654
72986
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
72655
|
-
var
|
|
72987
|
+
var args136, tool$walletTransactionsList;
|
|
72656
72988
|
var init_walletTransactionsList2 = __esm(() => {
|
|
72657
72989
|
init_walletTransactionsList();
|
|
72658
72990
|
init_operations();
|
|
72659
72991
|
init_tools();
|
|
72660
|
-
|
|
72992
|
+
args136 = {
|
|
72661
72993
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
72662
72994
|
};
|
|
72663
72995
|
tool$walletTransactionsList = {
|
|
@@ -72668,9 +73000,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
72668
73000
|
|
|
72669
73001
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72670
73002
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
72671
|
-
args:
|
|
72672
|
-
tool: async (client,
|
|
72673
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
73003
|
+
args: args136,
|
|
73004
|
+
tool: async (client, args137, ctx) => {
|
|
73005
|
+
const [result, apiCall] = await walletTransactionsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72674
73006
|
if (!result.ok) {
|
|
72675
73007
|
return {
|
|
72676
73008
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72687,7 +73019,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
72687
73019
|
function createMCPServer(deps) {
|
|
72688
73020
|
const server = new McpServer({
|
|
72689
73021
|
name: "Moov",
|
|
72690
|
-
version: "0.12.
|
|
73022
|
+
version: "0.12.1"
|
|
72691
73023
|
});
|
|
72692
73024
|
const client = new MoovCore({
|
|
72693
73025
|
security: deps.security,
|
|
@@ -72813,6 +73145,7 @@ function createMCPServer(deps) {
|
|
|
72813
73145
|
tool(tool$enrichedAddressGet);
|
|
72814
73146
|
tool(tool$enrichedProfileGet);
|
|
72815
73147
|
tool(tool$industriesList);
|
|
73148
|
+
tool(tool$institutionsSearchInstitutions);
|
|
72816
73149
|
tool(tool$institutionsSearch);
|
|
72817
73150
|
tool(tool$issuingTransactionsListAuthorizations);
|
|
72818
73151
|
tool(tool$issuingTransactionsGetAuthorization);
|
|
@@ -72921,6 +73254,7 @@ var init_server2 = __esm(() => {
|
|
|
72921
73254
|
init_filesUpload2();
|
|
72922
73255
|
init_industriesList2();
|
|
72923
73256
|
init_institutionsSearch2();
|
|
73257
|
+
init_institutionsSearchInstitutions2();
|
|
72924
73258
|
init_issuingTransactionsGet2();
|
|
72925
73259
|
init_issuingTransactionsGetAuthorization2();
|
|
72926
73260
|
init_issuingTransactionsList2();
|
|
@@ -74197,7 +74531,7 @@ var routes = rn({
|
|
|
74197
74531
|
var app = Ve(routes, {
|
|
74198
74532
|
name: "mcp",
|
|
74199
74533
|
versionInfo: {
|
|
74200
|
-
currentVersion: "0.12.
|
|
74534
|
+
currentVersion: "0.12.1"
|
|
74201
74535
|
}
|
|
74202
74536
|
});
|
|
74203
74537
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -74205,5 +74539,5 @@ export {
|
|
|
74205
74539
|
app
|
|
74206
74540
|
};
|
|
74207
74541
|
|
|
74208
|
-
//# debugId=
|
|
74542
|
+
//# debugId=F62A93F672D01BB964756E2164756E21
|
|
74209
74543
|
//# sourceMappingURL=mcp-server.js.map
|