@moovio/sdk 26.7.0-dev.6 → 26.10.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -59
- package/bin/mcp-server.js +344 -150
- package/bin/mcp-server.js.map +16 -11
- package/funcs/transfersGetRiskOutcomes.d.ts +19 -0
- package/funcs/transfersGetRiskOutcomes.d.ts.map +1 -0
- package/funcs/transfersGetRiskOutcomes.js +131 -0
- package/funcs/transfersGetRiskOutcomes.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +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/transfersGetRiskOutcomes.d.ts +8 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.d.ts.map +1 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.js +67 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.js.map +1 -0
- package/models/components/contributingrule.d.ts +23 -0
- package/models/components/contributingrule.d.ts.map +1 -0
- package/models/components/contributingrule.js +59 -0
- package/models/components/contributingrule.js.map +1 -0
- package/models/components/filedetails.d.ts +1 -1
- package/models/components/filepurpose.d.ts +2 -2
- package/models/components/filepurpose.js +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/onboardinginvite.d.ts +1 -1
- package/models/components/partnerriskoutcomesresponse.d.ts +33 -0
- package/models/components/partnerriskoutcomesresponse.d.ts.map +1 -0
- package/models/components/partnerriskoutcomesresponse.js +62 -0
- package/models/components/partnerriskoutcomesresponse.js.map +1 -0
- package/models/operations/gettransferriskoutcomes.d.ts +48 -0
- package/models/operations/gettransferriskoutcomes.d.ts.map +1 -0
- package/models/operations/gettransferriskoutcomes.js +99 -0
- package/models/operations/gettransferriskoutcomes.js.map +1 -0
- 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/package.json +1 -1
- package/sdk/transfers.d.ts +9 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +12 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/transfersGetRiskOutcomes.ts +182 -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/transfersGetRiskOutcomes.ts +41 -0
- package/src/models/components/contributingrule.ts +58 -0
- package/src/models/components/filedetails.ts +1 -1
- package/src/models/components/filepurpose.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/onboardinginvite.ts +1 -1
- package/src/models/components/partnerriskoutcomesresponse.ts +77 -0
- package/src/models/operations/gettransferriskoutcomes.ts +136 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/transfers.ts +20 -0
package/bin/mcp-server.js
CHANGED
|
@@ -53650,10 +53650,10 @@ var init_config = __esm(() => {
|
|
|
53650
53650
|
];
|
|
53651
53651
|
SDK_METADATA = {
|
|
53652
53652
|
language: "typescript",
|
|
53653
|
-
openapiDocVersion: "v2026.
|
|
53654
|
-
sdkVersion: "26.
|
|
53653
|
+
openapiDocVersion: "v2026.10.00",
|
|
53654
|
+
sdkVersion: "26.10.0-dev.0",
|
|
53655
53655
|
genVersion: "2.917.0",
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 26.
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.10.0-dev.0 2.917.0 v2026.10.00 @moovio/sdk"
|
|
53657
53657
|
};
|
|
53658
53658
|
});
|
|
53659
53659
|
|
|
@@ -62128,6 +62128,19 @@ var init_completemicrodeposits = __esm(() => {
|
|
|
62128
62128
|
});
|
|
62129
62129
|
});
|
|
62130
62130
|
|
|
62131
|
+
// src/models/components/contributingrule.ts
|
|
62132
|
+
var ContributingRule$inboundSchema, ContributingRule$outboundSchema;
|
|
62133
|
+
var init_contributingrule = __esm(() => {
|
|
62134
|
+
init_v3();
|
|
62135
|
+
init_primitives2();
|
|
62136
|
+
ContributingRule$inboundSchema = objectType({
|
|
62137
|
+
name: string4()
|
|
62138
|
+
});
|
|
62139
|
+
ContributingRule$outboundSchema = objectType({
|
|
62140
|
+
name: stringType()
|
|
62141
|
+
});
|
|
62142
|
+
});
|
|
62143
|
+
|
|
62131
62144
|
// src/models/components/createaccounttype.ts
|
|
62132
62145
|
var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema;
|
|
62133
62146
|
var init_createaccounttype = __esm(() => {
|
|
@@ -67609,6 +67622,22 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
67609
67622
|
});
|
|
67610
67623
|
});
|
|
67611
67624
|
|
|
67625
|
+
// src/models/components/partnerriskoutcomesresponse.ts
|
|
67626
|
+
var PartnerRiskOutcomesResponse$inboundSchema, PartnerRiskOutcomesResponse$outboundSchema;
|
|
67627
|
+
var init_partnerriskoutcomesresponse = __esm(() => {
|
|
67628
|
+
init_v3();
|
|
67629
|
+
init_primitives2();
|
|
67630
|
+
init_contributingrule();
|
|
67631
|
+
PartnerRiskOutcomesResponse$inboundSchema = objectType({
|
|
67632
|
+
transferID: string4(),
|
|
67633
|
+
contributingRules: arrayType(ContributingRule$inboundSchema)
|
|
67634
|
+
});
|
|
67635
|
+
PartnerRiskOutcomesResponse$outboundSchema = objectType({
|
|
67636
|
+
transferID: stringType(),
|
|
67637
|
+
contributingRules: arrayType(ContributingRule$outboundSchema)
|
|
67638
|
+
});
|
|
67639
|
+
});
|
|
67640
|
+
|
|
67612
67641
|
// src/models/components/taxidupdate.ts
|
|
67613
67642
|
var TaxIDUpdateEin$inboundSchema, TaxIDUpdateEin$outboundSchema, TaxIDUpdate$inboundSchema, TaxIDUpdate$outboundSchema;
|
|
67614
67643
|
var init_taxidupdate = __esm(() => {
|
|
@@ -71884,6 +71913,7 @@ var init_components = __esm(() => {
|
|
|
71884
71913
|
init_completedmicrodeposits();
|
|
71885
71914
|
init_completemicrodeposits();
|
|
71886
71915
|
init_contact();
|
|
71916
|
+
init_contributingrule();
|
|
71887
71917
|
init_createaccount();
|
|
71888
71918
|
init_createaccountsettings();
|
|
71889
71919
|
init_createaccounttype();
|
|
@@ -72110,6 +72140,7 @@ var init_components = __esm(() => {
|
|
|
72110
72140
|
init_partialscheduleaccount();
|
|
72111
72141
|
init_partnerfees();
|
|
72112
72142
|
init_partnerpricingagreement();
|
|
72143
|
+
init_partnerriskoutcomesresponse();
|
|
72113
72144
|
init_patchaccount();
|
|
72114
72145
|
init_patchbusiness();
|
|
72115
72146
|
init_patchindividual();
|
|
@@ -79038,6 +79069,49 @@ var init_gettransferconfig = __esm(() => {
|
|
|
79038
79069
|
});
|
|
79039
79070
|
});
|
|
79040
79071
|
|
|
79072
|
+
// src/models/operations/gettransferriskoutcomes.ts
|
|
79073
|
+
var GetTransferRiskOutcomesRequest$inboundSchema, GetTransferRiskOutcomesRequest$outboundSchema, GetTransferRiskOutcomesResponse$inboundSchema, GetTransferRiskOutcomesResponse$outboundSchema;
|
|
79074
|
+
var init_gettransferriskoutcomes = __esm(() => {
|
|
79075
|
+
init_v3();
|
|
79076
|
+
init_primitives();
|
|
79077
|
+
init_primitives2();
|
|
79078
|
+
init_components();
|
|
79079
|
+
GetTransferRiskOutcomesRequest$inboundSchema = objectType({
|
|
79080
|
+
transferID: string4(),
|
|
79081
|
+
"X-Account-ID": optional3(string4())
|
|
79082
|
+
}).transform((v2) => {
|
|
79083
|
+
return remap(v2, {
|
|
79084
|
+
"X-Account-ID": "xAccountID"
|
|
79085
|
+
});
|
|
79086
|
+
});
|
|
79087
|
+
GetTransferRiskOutcomesRequest$outboundSchema = objectType({
|
|
79088
|
+
transferID: stringType(),
|
|
79089
|
+
xAccountID: stringType().optional()
|
|
79090
|
+
}).transform((v2) => {
|
|
79091
|
+
return remap(v2, {
|
|
79092
|
+
xAccountID: "X-Account-ID"
|
|
79093
|
+
});
|
|
79094
|
+
});
|
|
79095
|
+
GetTransferRiskOutcomesResponse$inboundSchema = objectType({
|
|
79096
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79097
|
+
Result: PartnerRiskOutcomesResponse$inboundSchema
|
|
79098
|
+
}).transform((v2) => {
|
|
79099
|
+
return remap(v2, {
|
|
79100
|
+
Headers: "headers",
|
|
79101
|
+
Result: "result"
|
|
79102
|
+
});
|
|
79103
|
+
});
|
|
79104
|
+
GetTransferRiskOutcomesResponse$outboundSchema = objectType({
|
|
79105
|
+
headers: recordType(arrayType(stringType())),
|
|
79106
|
+
result: PartnerRiskOutcomesResponse$outboundSchema
|
|
79107
|
+
}).transform((v2) => {
|
|
79108
|
+
return remap(v2, {
|
|
79109
|
+
headers: "Headers",
|
|
79110
|
+
result: "Result"
|
|
79111
|
+
});
|
|
79112
|
+
});
|
|
79113
|
+
});
|
|
79114
|
+
|
|
79041
79115
|
// src/models/operations/getunderwriting.ts
|
|
79042
79116
|
var GetUnderwritingRequest$inboundSchema, GetUnderwritingRequest$outboundSchema, GetUnderwritingResponse$inboundSchema, GetUnderwritingResponse$outboundSchema;
|
|
79043
79117
|
var init_getunderwriting = __esm(() => {
|
|
@@ -82973,6 +83047,7 @@ var init_operations = __esm(() => {
|
|
|
82973
83047
|
init_getticket();
|
|
82974
83048
|
init_gettransfer();
|
|
82975
83049
|
init_gettransferconfig();
|
|
83050
|
+
init_gettransferriskoutcomes();
|
|
82976
83051
|
init_getunderwriting();
|
|
82977
83052
|
init_getwallet();
|
|
82978
83053
|
init_getwallettransaction();
|
|
@@ -102609,11 +102684,128 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102609
102684
|
};
|
|
102610
102685
|
});
|
|
102611
102686
|
|
|
102612
|
-
// src/funcs/
|
|
102613
|
-
function
|
|
102687
|
+
// src/funcs/transfersGetRiskOutcomes.ts
|
|
102688
|
+
function transfersGetRiskOutcomes(client, request, options) {
|
|
102614
102689
|
return new APIPromise($do169(client, request, options));
|
|
102615
102690
|
}
|
|
102616
102691
|
async function $do169(client, request, options) {
|
|
102692
|
+
const parsed = safeParse4(request, (value) => GetTransferRiskOutcomesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102693
|
+
if (!parsed.ok) {
|
|
102694
|
+
return [parsed, { status: "invalid" }];
|
|
102695
|
+
}
|
|
102696
|
+
const payload = parsed.value;
|
|
102697
|
+
const body = null;
|
|
102698
|
+
const pathParams = {
|
|
102699
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
102700
|
+
explode: false,
|
|
102701
|
+
charEncoding: "percent"
|
|
102702
|
+
})
|
|
102703
|
+
};
|
|
102704
|
+
const path = pathToFunc("/transfers/{transferID}/risk-outcomes")(pathParams);
|
|
102705
|
+
const headers = new Headers(compactMap({
|
|
102706
|
+
Accept: "application/json",
|
|
102707
|
+
"X-Account-ID": encodeSimple("X-Account-ID", payload["X-Account-ID"], {
|
|
102708
|
+
explode: false,
|
|
102709
|
+
charEncoding: "none"
|
|
102710
|
+
})
|
|
102711
|
+
}));
|
|
102712
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
102713
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
102714
|
+
const context = {
|
|
102715
|
+
options: client._options,
|
|
102716
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
102717
|
+
operationID: "getTransferRiskOutcomes",
|
|
102718
|
+
oAuth2Scopes: null,
|
|
102719
|
+
resolvedSecurity: requestSecurity,
|
|
102720
|
+
securitySource: client._options.security,
|
|
102721
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
102722
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
102723
|
+
};
|
|
102724
|
+
const requestRes = client._createRequest(context, {
|
|
102725
|
+
security: requestSecurity,
|
|
102726
|
+
method: "GET",
|
|
102727
|
+
baseURL: options?.serverURL,
|
|
102728
|
+
path,
|
|
102729
|
+
headers,
|
|
102730
|
+
body,
|
|
102731
|
+
userAgent: client._options.userAgent,
|
|
102732
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
102733
|
+
}, options);
|
|
102734
|
+
if (!requestRes.ok) {
|
|
102735
|
+
return [requestRes, { status: "invalid" }];
|
|
102736
|
+
}
|
|
102737
|
+
const req = requestRes.value;
|
|
102738
|
+
const doResult = await client._do(req, {
|
|
102739
|
+
context,
|
|
102740
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
102741
|
+
retryConfig: context.retryConfig,
|
|
102742
|
+
retryCodes: context.retryCodes
|
|
102743
|
+
});
|
|
102744
|
+
if (!doResult.ok) {
|
|
102745
|
+
return [doResult, { status: "request-error", request: req }];
|
|
102746
|
+
}
|
|
102747
|
+
const response = doResult.value;
|
|
102748
|
+
const responseFields = {
|
|
102749
|
+
HttpMeta: { Response: response, Request: req }
|
|
102750
|
+
};
|
|
102751
|
+
const [result] = await match(json(200, GetTransferRiskOutcomesResponse$inboundSchema, {
|
|
102752
|
+
hdrs: true,
|
|
102753
|
+
key: "Result"
|
|
102754
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
102755
|
+
if (!result.ok) {
|
|
102756
|
+
return [result, { status: "complete", request: req, response }];
|
|
102757
|
+
}
|
|
102758
|
+
return [result, { status: "complete", request: req, response }];
|
|
102759
|
+
}
|
|
102760
|
+
var init_transfersGetRiskOutcomes = __esm(() => {
|
|
102761
|
+
init_encodings();
|
|
102762
|
+
init_http();
|
|
102763
|
+
init_matchers();
|
|
102764
|
+
init_primitives();
|
|
102765
|
+
init_schemas4();
|
|
102766
|
+
init_security();
|
|
102767
|
+
init_url();
|
|
102768
|
+
init_operations();
|
|
102769
|
+
init_async();
|
|
102770
|
+
});
|
|
102771
|
+
|
|
102772
|
+
// src/mcp-server/tools/transfersGetRiskOutcomes.ts
|
|
102773
|
+
var args164, tool$transfersGetRiskOutcomes;
|
|
102774
|
+
var init_transfersGetRiskOutcomes2 = __esm(() => {
|
|
102775
|
+
init_transfersGetRiskOutcomes();
|
|
102776
|
+
init_operations();
|
|
102777
|
+
init_tools();
|
|
102778
|
+
args164 = {
|
|
102779
|
+
request: GetTransferRiskOutcomesRequest$inboundSchema
|
|
102780
|
+
};
|
|
102781
|
+
tool$transfersGetRiskOutcomes = {
|
|
102782
|
+
name: "transfers-get-risk-outcomes",
|
|
102783
|
+
description: `Retrieve the risk rules that contributed to a transfer's risk decision.
|
|
102784
|
+
|
|
102785
|
+
This endpoint has limited availability and must be enabled for your account by Moov.
|
|
102786
|
+
|
|
102787
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102788
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102789
|
+
args: args164,
|
|
102790
|
+
tool: async (client, args165, ctx) => {
|
|
102791
|
+
const [result, apiCall] = await transfersGetRiskOutcomes(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102792
|
+
if (!result.ok) {
|
|
102793
|
+
return {
|
|
102794
|
+
content: [{ type: "text", text: result.error.message }],
|
|
102795
|
+
isError: true
|
|
102796
|
+
};
|
|
102797
|
+
}
|
|
102798
|
+
const value = result.value.result;
|
|
102799
|
+
return formatResult(value, apiCall);
|
|
102800
|
+
}
|
|
102801
|
+
};
|
|
102802
|
+
});
|
|
102803
|
+
|
|
102804
|
+
// src/funcs/transfersInitiateRefund.ts
|
|
102805
|
+
function transfersInitiateRefund(client, request, options) {
|
|
102806
|
+
return new APIPromise($do170(client, request, options));
|
|
102807
|
+
}
|
|
102808
|
+
async function $do170(client, request, options) {
|
|
102617
102809
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102618
102810
|
if (!parsed.ok) {
|
|
102619
102811
|
return [parsed, { status: "invalid" }];
|
|
@@ -102705,12 +102897,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
102705
102897
|
});
|
|
102706
102898
|
|
|
102707
102899
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
102708
|
-
var
|
|
102900
|
+
var args165, tool$transfersInitiateRefund;
|
|
102709
102901
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
102710
102902
|
init_transfersInitiateRefund();
|
|
102711
102903
|
init_operations();
|
|
102712
102904
|
init_tools();
|
|
102713
|
-
|
|
102905
|
+
args165 = {
|
|
102714
102906
|
request: InitiateRefundRequest$inboundSchema
|
|
102715
102907
|
};
|
|
102716
102908
|
tool$transfersInitiateRefund = {
|
|
@@ -102722,9 +102914,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
102722
102914
|
|
|
102723
102915
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102724
102916
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
102725
|
-
args:
|
|
102726
|
-
tool: async (client,
|
|
102727
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
102917
|
+
args: args165,
|
|
102918
|
+
tool: async (client, args166, ctx) => {
|
|
102919
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102728
102920
|
if (!result.ok) {
|
|
102729
102921
|
return {
|
|
102730
102922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102739,9 +102931,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102739
102931
|
|
|
102740
102932
|
// src/funcs/transfersList.ts
|
|
102741
102933
|
function transfersList(client, request, options) {
|
|
102742
|
-
return new APIPromise($
|
|
102934
|
+
return new APIPromise($do171(client, request, options));
|
|
102743
102935
|
}
|
|
102744
|
-
async function $
|
|
102936
|
+
async function $do171(client, request, options) {
|
|
102745
102937
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102746
102938
|
if (!parsed.ok) {
|
|
102747
102939
|
return [parsed, { status: "invalid" }];
|
|
@@ -102837,12 +103029,12 @@ var init_transfersList = __esm(() => {
|
|
|
102837
103029
|
});
|
|
102838
103030
|
|
|
102839
103031
|
// src/mcp-server/tools/transfersList.ts
|
|
102840
|
-
var
|
|
103032
|
+
var args166, tool$transfersList;
|
|
102841
103033
|
var init_transfersList2 = __esm(() => {
|
|
102842
103034
|
init_transfersList();
|
|
102843
103035
|
init_operations();
|
|
102844
103036
|
init_tools();
|
|
102845
|
-
|
|
103037
|
+
args166 = {
|
|
102846
103038
|
request: ListTransfersRequest$inboundSchema
|
|
102847
103039
|
};
|
|
102848
103040
|
tool$transfersList = {
|
|
@@ -102858,9 +103050,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
102858
103050
|
|
|
102859
103051
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102860
103052
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102861
|
-
args:
|
|
102862
|
-
tool: async (client,
|
|
102863
|
-
const [result, apiCall] = await transfersList(client,
|
|
103053
|
+
args: args166,
|
|
103054
|
+
tool: async (client, args167, ctx) => {
|
|
103055
|
+
const [result, apiCall] = await transfersList(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102864
103056
|
if (!result.ok) {
|
|
102865
103057
|
return {
|
|
102866
103058
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102875,9 +103067,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102875
103067
|
|
|
102876
103068
|
// src/funcs/transfersListCancellations.ts
|
|
102877
103069
|
function transfersListCancellations(client, request, options) {
|
|
102878
|
-
return new APIPromise($
|
|
103070
|
+
return new APIPromise($do172(client, request, options));
|
|
102879
103071
|
}
|
|
102880
|
-
async function $
|
|
103072
|
+
async function $do172(client, request, options) {
|
|
102881
103073
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102882
103074
|
if (!parsed.ok) {
|
|
102883
103075
|
return [parsed, { status: "invalid" }];
|
|
@@ -102959,12 +103151,12 @@ var init_transfersListCancellations = __esm(() => {
|
|
|
102959
103151
|
});
|
|
102960
103152
|
|
|
102961
103153
|
// src/mcp-server/tools/transfersListCancellations.ts
|
|
102962
|
-
var
|
|
103154
|
+
var args167, tool$transfersListCancellations;
|
|
102963
103155
|
var init_transfersListCancellations2 = __esm(() => {
|
|
102964
103156
|
init_transfersListCancellations();
|
|
102965
103157
|
init_operations();
|
|
102966
103158
|
init_tools();
|
|
102967
|
-
|
|
103159
|
+
args167 = {
|
|
102968
103160
|
request: ListCancellationsRequest$inboundSchema
|
|
102969
103161
|
};
|
|
102970
103162
|
tool$transfersListCancellations = {
|
|
@@ -102973,9 +103165,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
102973
103165
|
|
|
102974
103166
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
102975
103167
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102976
|
-
args:
|
|
102977
|
-
tool: async (client,
|
|
102978
|
-
const [result, apiCall] = await transfersListCancellations(client,
|
|
103168
|
+
args: args167,
|
|
103169
|
+
tool: async (client, args168, ctx) => {
|
|
103170
|
+
const [result, apiCall] = await transfersListCancellations(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102979
103171
|
if (!result.ok) {
|
|
102980
103172
|
return {
|
|
102981
103173
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102990,9 +103182,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
102990
103182
|
|
|
102991
103183
|
// src/funcs/transfersListRefunds.ts
|
|
102992
103184
|
function transfersListRefunds(client, request, options) {
|
|
102993
|
-
return new APIPromise($
|
|
103185
|
+
return new APIPromise($do173(client, request, options));
|
|
102994
103186
|
}
|
|
102995
|
-
async function $
|
|
103187
|
+
async function $do173(client, request, options) {
|
|
102996
103188
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102997
103189
|
if (!parsed.ok) {
|
|
102998
103190
|
return [parsed, { status: "invalid" }];
|
|
@@ -103074,12 +103266,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
103074
103266
|
});
|
|
103075
103267
|
|
|
103076
103268
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
103077
|
-
var
|
|
103269
|
+
var args168, tool$transfersListRefunds;
|
|
103078
103270
|
var init_transfersListRefunds2 = __esm(() => {
|
|
103079
103271
|
init_transfersListRefunds();
|
|
103080
103272
|
init_operations();
|
|
103081
103273
|
init_tools();
|
|
103082
|
-
|
|
103274
|
+
args168 = {
|
|
103083
103275
|
request: ListRefundsRequest$inboundSchema
|
|
103084
103276
|
};
|
|
103085
103277
|
tool$transfersListRefunds = {
|
|
@@ -103088,9 +103280,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
103088
103280
|
|
|
103089
103281
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103090
103282
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103091
|
-
args:
|
|
103092
|
-
tool: async (client,
|
|
103093
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
103283
|
+
args: args168,
|
|
103284
|
+
tool: async (client, args169, ctx) => {
|
|
103285
|
+
const [result, apiCall] = await transfersListRefunds(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103094
103286
|
if (!result.ok) {
|
|
103095
103287
|
return {
|
|
103096
103288
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103105,9 +103297,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103105
103297
|
|
|
103106
103298
|
// src/funcs/transfersUpdate.ts
|
|
103107
103299
|
function transfersUpdate(client, request, options) {
|
|
103108
|
-
return new APIPromise($
|
|
103300
|
+
return new APIPromise($do174(client, request, options));
|
|
103109
103301
|
}
|
|
103110
|
-
async function $
|
|
103302
|
+
async function $do174(client, request, options) {
|
|
103111
103303
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103112
103304
|
if (!parsed.ok) {
|
|
103113
103305
|
return [parsed, { status: "invalid" }];
|
|
@@ -103193,12 +103385,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
103193
103385
|
});
|
|
103194
103386
|
|
|
103195
103387
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
103196
|
-
var
|
|
103388
|
+
var args169, tool$transfersUpdate;
|
|
103197
103389
|
var init_transfersUpdate2 = __esm(() => {
|
|
103198
103390
|
init_transfersUpdate();
|
|
103199
103391
|
init_operations();
|
|
103200
103392
|
init_tools();
|
|
103201
|
-
|
|
103393
|
+
args169 = {
|
|
103202
103394
|
request: UpdateTransferRequest$inboundSchema
|
|
103203
103395
|
};
|
|
103204
103396
|
tool$transfersUpdate = {
|
|
@@ -103209,9 +103401,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
103209
103401
|
|
|
103210
103402
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103211
103403
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
103212
|
-
args:
|
|
103213
|
-
tool: async (client,
|
|
103214
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
103404
|
+
args: args169,
|
|
103405
|
+
tool: async (client, args170, ctx) => {
|
|
103406
|
+
const [result, apiCall] = await transfersUpdate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103215
103407
|
if (!result.ok) {
|
|
103216
103408
|
return {
|
|
103217
103409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103226,9 +103418,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103226
103418
|
|
|
103227
103419
|
// src/funcs/underwritingGet.ts
|
|
103228
103420
|
function underwritingGet(client, request, options) {
|
|
103229
|
-
return new APIPromise($
|
|
103421
|
+
return new APIPromise($do175(client, request, options));
|
|
103230
103422
|
}
|
|
103231
|
-
async function $
|
|
103423
|
+
async function $do175(client, request, options) {
|
|
103232
103424
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103233
103425
|
if (!parsed.ok) {
|
|
103234
103426
|
return [parsed, { status: "invalid" }];
|
|
@@ -103306,12 +103498,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
103306
103498
|
});
|
|
103307
103499
|
|
|
103308
103500
|
// src/mcp-server/tools/underwritingGet.ts
|
|
103309
|
-
var
|
|
103501
|
+
var args170, tool$underwritingGet;
|
|
103310
103502
|
var init_underwritingGet2 = __esm(() => {
|
|
103311
103503
|
init_underwritingGet();
|
|
103312
103504
|
init_operations();
|
|
103313
103505
|
init_tools();
|
|
103314
|
-
|
|
103506
|
+
args170 = {
|
|
103315
103507
|
request: GetUnderwritingRequest$inboundSchema
|
|
103316
103508
|
};
|
|
103317
103509
|
tool$underwritingGet = {
|
|
@@ -103322,9 +103514,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103322
103514
|
|
|
103323
103515
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103324
103516
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
103325
|
-
args:
|
|
103326
|
-
tool: async (client,
|
|
103327
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
103517
|
+
args: args170,
|
|
103518
|
+
tool: async (client, args171, ctx) => {
|
|
103519
|
+
const [result, apiCall] = await underwritingGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103328
103520
|
if (!result.ok) {
|
|
103329
103521
|
return {
|
|
103330
103522
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103339,9 +103531,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103339
103531
|
|
|
103340
103532
|
// src/funcs/underwritingSave.ts
|
|
103341
103533
|
function underwritingSave(client, request, options) {
|
|
103342
|
-
return new APIPromise($
|
|
103534
|
+
return new APIPromise($do176(client, request, options));
|
|
103343
103535
|
}
|
|
103344
|
-
async function $
|
|
103536
|
+
async function $do176(client, request, options) {
|
|
103345
103537
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103346
103538
|
if (!parsed.ok) {
|
|
103347
103539
|
return [parsed, { status: "invalid" }];
|
|
@@ -103425,12 +103617,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
103425
103617
|
});
|
|
103426
103618
|
|
|
103427
103619
|
// src/mcp-server/tools/underwritingSave.ts
|
|
103428
|
-
var
|
|
103620
|
+
var args171, tool$underwritingSave;
|
|
103429
103621
|
var init_underwritingSave2 = __esm(() => {
|
|
103430
103622
|
init_underwritingSave();
|
|
103431
103623
|
init_operations();
|
|
103432
103624
|
init_tools();
|
|
103433
|
-
|
|
103625
|
+
args171 = {
|
|
103434
103626
|
request: SaveUnderwritingRequest$inboundSchema
|
|
103435
103627
|
};
|
|
103436
103628
|
tool$underwritingSave = {
|
|
@@ -103441,9 +103633,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103441
103633
|
|
|
103442
103634
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103443
103635
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103444
|
-
args:
|
|
103445
|
-
tool: async (client,
|
|
103446
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
103636
|
+
args: args171,
|
|
103637
|
+
tool: async (client, args172, ctx) => {
|
|
103638
|
+
const [result, apiCall] = await underwritingSave(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103447
103639
|
if (!result.ok) {
|
|
103448
103640
|
return {
|
|
103449
103641
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103458,9 +103650,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103458
103650
|
|
|
103459
103651
|
// src/funcs/underwritingUpsert.ts
|
|
103460
103652
|
function underwritingUpsert(client, request, options) {
|
|
103461
|
-
return new APIPromise($
|
|
103653
|
+
return new APIPromise($do177(client, request, options));
|
|
103462
103654
|
}
|
|
103463
|
-
async function $
|
|
103655
|
+
async function $do177(client, request, options) {
|
|
103464
103656
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103465
103657
|
if (!parsed.ok) {
|
|
103466
103658
|
return [parsed, { status: "invalid" }];
|
|
@@ -103544,12 +103736,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
103544
103736
|
});
|
|
103545
103737
|
|
|
103546
103738
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
103547
|
-
var
|
|
103739
|
+
var args172, tool$underwritingUpsert;
|
|
103548
103740
|
var init_underwritingUpsert2 = __esm(() => {
|
|
103549
103741
|
init_underwritingUpsert();
|
|
103550
103742
|
init_operations();
|
|
103551
103743
|
init_tools();
|
|
103552
|
-
|
|
103744
|
+
args172 = {
|
|
103553
103745
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
103554
103746
|
};
|
|
103555
103747
|
tool$underwritingUpsert = {
|
|
@@ -103560,9 +103752,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103560
103752
|
|
|
103561
103753
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103562
103754
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103563
|
-
args:
|
|
103564
|
-
tool: async (client,
|
|
103565
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
103755
|
+
args: args172,
|
|
103756
|
+
tool: async (client, args173, ctx) => {
|
|
103757
|
+
const [result, apiCall] = await underwritingUpsert(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103566
103758
|
if (!result.ok) {
|
|
103567
103759
|
return {
|
|
103568
103760
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103577,9 +103769,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103577
103769
|
|
|
103578
103770
|
// src/funcs/walletsCreate.ts
|
|
103579
103771
|
function walletsCreate(client, request, options) {
|
|
103580
|
-
return new APIPromise($
|
|
103772
|
+
return new APIPromise($do178(client, request, options));
|
|
103581
103773
|
}
|
|
103582
|
-
async function $
|
|
103774
|
+
async function $do178(client, request, options) {
|
|
103583
103775
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103584
103776
|
if (!parsed.ok) {
|
|
103585
103777
|
return [parsed, { status: "invalid" }];
|
|
@@ -103661,12 +103853,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
103661
103853
|
});
|
|
103662
103854
|
|
|
103663
103855
|
// src/mcp-server/tools/walletsCreate.ts
|
|
103664
|
-
var
|
|
103856
|
+
var args173, tool$walletsCreate;
|
|
103665
103857
|
var init_walletsCreate2 = __esm(() => {
|
|
103666
103858
|
init_walletsCreate();
|
|
103667
103859
|
init_operations();
|
|
103668
103860
|
init_tools();
|
|
103669
|
-
|
|
103861
|
+
args173 = {
|
|
103670
103862
|
request: CreateWalletRequest$inboundSchema
|
|
103671
103863
|
};
|
|
103672
103864
|
tool$walletsCreate = {
|
|
@@ -103677,9 +103869,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103677
103869
|
|
|
103678
103870
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103679
103871
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
103680
|
-
args:
|
|
103681
|
-
tool: async (client,
|
|
103682
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
103872
|
+
args: args173,
|
|
103873
|
+
tool: async (client, args174, ctx) => {
|
|
103874
|
+
const [result, apiCall] = await walletsCreate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103683
103875
|
if (!result.ok) {
|
|
103684
103876
|
return {
|
|
103685
103877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103694,9 +103886,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103694
103886
|
|
|
103695
103887
|
// src/funcs/walletsGet.ts
|
|
103696
103888
|
function walletsGet(client, request, options) {
|
|
103697
|
-
return new APIPromise($
|
|
103889
|
+
return new APIPromise($do179(client, request, options));
|
|
103698
103890
|
}
|
|
103699
|
-
async function $
|
|
103891
|
+
async function $do179(client, request, options) {
|
|
103700
103892
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103701
103893
|
if (!parsed.ok) {
|
|
103702
103894
|
return [parsed, { status: "invalid" }];
|
|
@@ -103778,12 +103970,12 @@ var init_walletsGet = __esm(() => {
|
|
|
103778
103970
|
});
|
|
103779
103971
|
|
|
103780
103972
|
// src/mcp-server/tools/walletsGet.ts
|
|
103781
|
-
var
|
|
103973
|
+
var args174, tool$walletsGet;
|
|
103782
103974
|
var init_walletsGet2 = __esm(() => {
|
|
103783
103975
|
init_walletsGet();
|
|
103784
103976
|
init_operations();
|
|
103785
103977
|
init_tools();
|
|
103786
|
-
|
|
103978
|
+
args174 = {
|
|
103787
103979
|
request: GetWalletRequest$inboundSchema
|
|
103788
103980
|
};
|
|
103789
103981
|
tool$walletsGet = {
|
|
@@ -103794,9 +103986,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103794
103986
|
|
|
103795
103987
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103796
103988
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103797
|
-
args:
|
|
103798
|
-
tool: async (client,
|
|
103799
|
-
const [result, apiCall] = await walletsGet(client,
|
|
103989
|
+
args: args174,
|
|
103990
|
+
tool: async (client, args175, ctx) => {
|
|
103991
|
+
const [result, apiCall] = await walletsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103800
103992
|
if (!result.ok) {
|
|
103801
103993
|
return {
|
|
103802
103994
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103811,9 +104003,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103811
104003
|
|
|
103812
104004
|
// src/funcs/walletsList.ts
|
|
103813
104005
|
function walletsList(client, request, options) {
|
|
103814
|
-
return new APIPromise($
|
|
104006
|
+
return new APIPromise($do180(client, request, options));
|
|
103815
104007
|
}
|
|
103816
|
-
async function $
|
|
104008
|
+
async function $do180(client, request, options) {
|
|
103817
104009
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103818
104010
|
if (!parsed.ok) {
|
|
103819
104011
|
return [parsed, { status: "invalid" }];
|
|
@@ -103901,12 +104093,12 @@ var init_walletsList = __esm(() => {
|
|
|
103901
104093
|
});
|
|
103902
104094
|
|
|
103903
104095
|
// src/mcp-server/tools/walletsList.ts
|
|
103904
|
-
var
|
|
104096
|
+
var args175, tool$walletsList;
|
|
103905
104097
|
var init_walletsList2 = __esm(() => {
|
|
103906
104098
|
init_walletsList();
|
|
103907
104099
|
init_operations();
|
|
103908
104100
|
init_tools();
|
|
103909
|
-
|
|
104101
|
+
args175 = {
|
|
103910
104102
|
request: ListWalletsRequest$inboundSchema
|
|
103911
104103
|
};
|
|
103912
104104
|
tool$walletsList = {
|
|
@@ -103917,9 +104109,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103917
104109
|
|
|
103918
104110
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103919
104111
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103920
|
-
args:
|
|
103921
|
-
tool: async (client,
|
|
103922
|
-
const [result, apiCall] = await walletsList(client,
|
|
104112
|
+
args: args175,
|
|
104113
|
+
tool: async (client, args176, ctx) => {
|
|
104114
|
+
const [result, apiCall] = await walletsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103923
104115
|
if (!result.ok) {
|
|
103924
104116
|
return {
|
|
103925
104117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103934,9 +104126,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103934
104126
|
|
|
103935
104127
|
// src/funcs/walletsUpdate.ts
|
|
103936
104128
|
function walletsUpdate(client, request, options) {
|
|
103937
|
-
return new APIPromise($
|
|
104129
|
+
return new APIPromise($do181(client, request, options));
|
|
103938
104130
|
}
|
|
103939
|
-
async function $
|
|
104131
|
+
async function $do181(client, request, options) {
|
|
103940
104132
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103941
104133
|
if (!parsed.ok) {
|
|
103942
104134
|
return [parsed, { status: "invalid" }];
|
|
@@ -104022,12 +104214,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
104022
104214
|
});
|
|
104023
104215
|
|
|
104024
104216
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
104025
|
-
var
|
|
104217
|
+
var args176, tool$walletsUpdate;
|
|
104026
104218
|
var init_walletsUpdate2 = __esm(() => {
|
|
104027
104219
|
init_walletsUpdate();
|
|
104028
104220
|
init_operations();
|
|
104029
104221
|
init_tools();
|
|
104030
|
-
|
|
104222
|
+
args176 = {
|
|
104031
104223
|
request: UpdateWalletRequest$inboundSchema
|
|
104032
104224
|
};
|
|
104033
104225
|
tool$walletsUpdate = {
|
|
@@ -104038,9 +104230,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104038
104230
|
|
|
104039
104231
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104040
104232
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
104041
|
-
args:
|
|
104042
|
-
tool: async (client,
|
|
104043
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
104233
|
+
args: args176,
|
|
104234
|
+
tool: async (client, args177, ctx) => {
|
|
104235
|
+
const [result, apiCall] = await walletsUpdate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104044
104236
|
if (!result.ok) {
|
|
104045
104237
|
return {
|
|
104046
104238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104055,9 +104247,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104055
104247
|
|
|
104056
104248
|
// src/funcs/walletTransactionsGet.ts
|
|
104057
104249
|
function walletTransactionsGet(client, request, options) {
|
|
104058
|
-
return new APIPromise($
|
|
104250
|
+
return new APIPromise($do182(client, request, options));
|
|
104059
104251
|
}
|
|
104060
|
-
async function $
|
|
104252
|
+
async function $do182(client, request, options) {
|
|
104061
104253
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104062
104254
|
if (!parsed.ok) {
|
|
104063
104255
|
return [parsed, { status: "invalid" }];
|
|
@@ -104143,12 +104335,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
104143
104335
|
});
|
|
104144
104336
|
|
|
104145
104337
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
104146
|
-
var
|
|
104338
|
+
var args177, tool$walletTransactionsGet;
|
|
104147
104339
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
104148
104340
|
init_walletTransactionsGet();
|
|
104149
104341
|
init_operations();
|
|
104150
104342
|
init_tools();
|
|
104151
|
-
|
|
104343
|
+
args177 = {
|
|
104152
104344
|
request: GetWalletTransactionRequest$inboundSchema
|
|
104153
104345
|
};
|
|
104154
104346
|
tool$walletTransactionsGet = {
|
|
@@ -104159,9 +104351,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104159
104351
|
|
|
104160
104352
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104161
104353
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104162
|
-
args:
|
|
104163
|
-
tool: async (client,
|
|
104164
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
104354
|
+
args: args177,
|
|
104355
|
+
tool: async (client, args178, ctx) => {
|
|
104356
|
+
const [result, apiCall] = await walletTransactionsGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104165
104357
|
if (!result.ok) {
|
|
104166
104358
|
return {
|
|
104167
104359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104176,9 +104368,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104176
104368
|
|
|
104177
104369
|
// src/funcs/walletTransactionsList.ts
|
|
104178
104370
|
function walletTransactionsList(client, request, options) {
|
|
104179
|
-
return new APIPromise($
|
|
104371
|
+
return new APIPromise($do183(client, request, options));
|
|
104180
104372
|
}
|
|
104181
|
-
async function $
|
|
104373
|
+
async function $do183(client, request, options) {
|
|
104182
104374
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104183
104375
|
if (!parsed.ok) {
|
|
104184
104376
|
return [parsed, { status: "invalid" }];
|
|
@@ -104278,12 +104470,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
104278
104470
|
});
|
|
104279
104471
|
|
|
104280
104472
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
104281
|
-
var
|
|
104473
|
+
var args178, tool$walletTransactionsList;
|
|
104282
104474
|
var init_walletTransactionsList2 = __esm(() => {
|
|
104283
104475
|
init_walletTransactionsList();
|
|
104284
104476
|
init_operations();
|
|
104285
104477
|
init_tools();
|
|
104286
|
-
|
|
104478
|
+
args178 = {
|
|
104287
104479
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
104288
104480
|
};
|
|
104289
104481
|
tool$walletTransactionsList = {
|
|
@@ -104294,9 +104486,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104294
104486
|
|
|
104295
104487
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104296
104488
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104297
|
-
args:
|
|
104298
|
-
tool: async (client,
|
|
104299
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
104489
|
+
args: args178,
|
|
104490
|
+
tool: async (client, args179, ctx) => {
|
|
104491
|
+
const [result, apiCall] = await walletTransactionsList(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104300
104492
|
if (!result.ok) {
|
|
104301
104493
|
return {
|
|
104302
104494
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104311,9 +104503,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104311
104503
|
|
|
104312
104504
|
// src/funcs/webhooksCreate.ts
|
|
104313
104505
|
function webhooksCreate(client, request, options) {
|
|
104314
|
-
return new APIPromise($
|
|
104506
|
+
return new APIPromise($do184(client, request, options));
|
|
104315
104507
|
}
|
|
104316
|
-
async function $
|
|
104508
|
+
async function $do184(client, request, options) {
|
|
104317
104509
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104318
104510
|
if (!parsed.ok) {
|
|
104319
104511
|
return [parsed, { status: "invalid" }];
|
|
@@ -104390,20 +104582,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
104390
104582
|
});
|
|
104391
104583
|
|
|
104392
104584
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
104393
|
-
var
|
|
104585
|
+
var args179, tool$webhooksCreate;
|
|
104394
104586
|
var init_webhooksCreate2 = __esm(() => {
|
|
104395
104587
|
init_webhooksCreate();
|
|
104396
104588
|
init_components();
|
|
104397
104589
|
init_tools();
|
|
104398
|
-
|
|
104590
|
+
args179 = {
|
|
104399
104591
|
request: CreateWebhook$inboundSchema
|
|
104400
104592
|
};
|
|
104401
104593
|
tool$webhooksCreate = {
|
|
104402
104594
|
name: "webhooks-create",
|
|
104403
104595
|
description: `Create a new webhook for the account.`,
|
|
104404
|
-
args:
|
|
104405
|
-
tool: async (client,
|
|
104406
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
104596
|
+
args: args179,
|
|
104597
|
+
tool: async (client, args180, ctx) => {
|
|
104598
|
+
const [result, apiCall] = await webhooksCreate(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104407
104599
|
if (!result.ok) {
|
|
104408
104600
|
return {
|
|
104409
104601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104418,9 +104610,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104418
104610
|
|
|
104419
104611
|
// src/funcs/webhooksDisable.ts
|
|
104420
104612
|
function webhooksDisable(client, request, options) {
|
|
104421
|
-
return new APIPromise($
|
|
104613
|
+
return new APIPromise($do185(client, request, options));
|
|
104422
104614
|
}
|
|
104423
|
-
async function $
|
|
104615
|
+
async function $do185(client, request, options) {
|
|
104424
104616
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104425
104617
|
if (!parsed.ok) {
|
|
104426
104618
|
return [parsed, { status: "invalid" }];
|
|
@@ -104497,20 +104689,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
104497
104689
|
});
|
|
104498
104690
|
|
|
104499
104691
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
104500
|
-
var
|
|
104692
|
+
var args180, tool$webhooksDisable;
|
|
104501
104693
|
var init_webhooksDisable2 = __esm(() => {
|
|
104502
104694
|
init_webhooksDisable();
|
|
104503
104695
|
init_operations();
|
|
104504
104696
|
init_tools();
|
|
104505
|
-
|
|
104697
|
+
args180 = {
|
|
104506
104698
|
request: DisableWebhookRequest$inboundSchema
|
|
104507
104699
|
};
|
|
104508
104700
|
tool$webhooksDisable = {
|
|
104509
104701
|
name: "webhooks-disable",
|
|
104510
104702
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
104511
|
-
args:
|
|
104512
|
-
tool: async (client,
|
|
104513
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
104703
|
+
args: args180,
|
|
104704
|
+
tool: async (client, args181, ctx) => {
|
|
104705
|
+
const [result, apiCall] = await webhooksDisable(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104514
104706
|
if (!result.ok) {
|
|
104515
104707
|
return {
|
|
104516
104708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104524,9 +104716,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104524
104716
|
|
|
104525
104717
|
// src/funcs/webhooksGet.ts
|
|
104526
104718
|
function webhooksGet(client, request, options) {
|
|
104527
|
-
return new APIPromise($
|
|
104719
|
+
return new APIPromise($do186(client, request, options));
|
|
104528
104720
|
}
|
|
104529
|
-
async function $
|
|
104721
|
+
async function $do186(client, request, options) {
|
|
104530
104722
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104531
104723
|
if (!parsed.ok) {
|
|
104532
104724
|
return [parsed, { status: "invalid" }];
|
|
@@ -104604,20 +104796,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
104604
104796
|
});
|
|
104605
104797
|
|
|
104606
104798
|
// src/mcp-server/tools/webhooksGet.ts
|
|
104607
|
-
var
|
|
104799
|
+
var args181, tool$webhooksGet;
|
|
104608
104800
|
var init_webhooksGet2 = __esm(() => {
|
|
104609
104801
|
init_webhooksGet();
|
|
104610
104802
|
init_operations();
|
|
104611
104803
|
init_tools();
|
|
104612
|
-
|
|
104804
|
+
args181 = {
|
|
104613
104805
|
request: GetWebhookRequest$inboundSchema
|
|
104614
104806
|
};
|
|
104615
104807
|
tool$webhooksGet = {
|
|
104616
104808
|
name: "webhooks-get",
|
|
104617
104809
|
description: `Get details of a specific webhook.`,
|
|
104618
|
-
args:
|
|
104619
|
-
tool: async (client,
|
|
104620
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
104810
|
+
args: args181,
|
|
104811
|
+
tool: async (client, args182, ctx) => {
|
|
104812
|
+
const [result, apiCall] = await webhooksGet(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104621
104813
|
if (!result.ok) {
|
|
104622
104814
|
return {
|
|
104623
104815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104632,9 +104824,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104632
104824
|
|
|
104633
104825
|
// src/funcs/webhooksGetSecret.ts
|
|
104634
104826
|
function webhooksGetSecret(client, request, options) {
|
|
104635
|
-
return new APIPromise($
|
|
104827
|
+
return new APIPromise($do187(client, request, options));
|
|
104636
104828
|
}
|
|
104637
|
-
async function $
|
|
104829
|
+
async function $do187(client, request, options) {
|
|
104638
104830
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104639
104831
|
if (!parsed.ok) {
|
|
104640
104832
|
return [parsed, { status: "invalid" }];
|
|
@@ -104712,20 +104904,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
104712
104904
|
});
|
|
104713
104905
|
|
|
104714
104906
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
104715
|
-
var
|
|
104907
|
+
var args182, tool$webhooksGetSecret;
|
|
104716
104908
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
104717
104909
|
init_webhooksGetSecret();
|
|
104718
104910
|
init_operations();
|
|
104719
104911
|
init_tools();
|
|
104720
|
-
|
|
104912
|
+
args182 = {
|
|
104721
104913
|
request: GetWebhookSecretRequest$inboundSchema
|
|
104722
104914
|
};
|
|
104723
104915
|
tool$webhooksGetSecret = {
|
|
104724
104916
|
name: "webhooks-get-secret",
|
|
104725
104917
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
104726
|
-
args:
|
|
104727
|
-
tool: async (client,
|
|
104728
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
104918
|
+
args: args182,
|
|
104919
|
+
tool: async (client, args183, ctx) => {
|
|
104920
|
+
const [result, apiCall] = await webhooksGetSecret(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104729
104921
|
if (!result.ok) {
|
|
104730
104922
|
return {
|
|
104731
104923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104740,9 +104932,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104740
104932
|
|
|
104741
104933
|
// src/funcs/webhooksList.ts
|
|
104742
104934
|
function webhooksList(client, options) {
|
|
104743
|
-
return new APIPromise($
|
|
104935
|
+
return new APIPromise($do188(client, options));
|
|
104744
104936
|
}
|
|
104745
|
-
async function $
|
|
104937
|
+
async function $do188(client, options) {
|
|
104746
104938
|
const path = pathToFunc("/webhooks")();
|
|
104747
104939
|
const headers = new Headers(compactMap({
|
|
104748
104940
|
Accept: "application/json"
|
|
@@ -104828,9 +105020,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
104828
105020
|
|
|
104829
105021
|
// src/funcs/webhooksListEventTypes.ts
|
|
104830
105022
|
function webhooksListEventTypes(client, options) {
|
|
104831
|
-
return new APIPromise($
|
|
105023
|
+
return new APIPromise($do189(client, options));
|
|
104832
105024
|
}
|
|
104833
|
-
async function $
|
|
105025
|
+
async function $do189(client, options) {
|
|
104834
105026
|
const path = pathToFunc("/event-types")();
|
|
104835
105027
|
const headers = new Headers(compactMap({
|
|
104836
105028
|
Accept: "application/json"
|
|
@@ -104916,9 +105108,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104916
105108
|
|
|
104917
105109
|
// src/funcs/webhooksPing.ts
|
|
104918
105110
|
function webhooksPing(client, request, options) {
|
|
104919
|
-
return new APIPromise($
|
|
105111
|
+
return new APIPromise($do190(client, request, options));
|
|
104920
105112
|
}
|
|
104921
|
-
async function $
|
|
105113
|
+
async function $do190(client, request, options) {
|
|
104922
105114
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104923
105115
|
if (!parsed.ok) {
|
|
104924
105116
|
return [parsed, { status: "invalid" }];
|
|
@@ -104996,20 +105188,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
104996
105188
|
});
|
|
104997
105189
|
|
|
104998
105190
|
// src/mcp-server/tools/webhooksPing.ts
|
|
104999
|
-
var
|
|
105191
|
+
var args183, tool$webhooksPing;
|
|
105000
105192
|
var init_webhooksPing2 = __esm(() => {
|
|
105001
105193
|
init_webhooksPing();
|
|
105002
105194
|
init_operations();
|
|
105003
105195
|
init_tools();
|
|
105004
|
-
|
|
105196
|
+
args183 = {
|
|
105005
105197
|
request: PingWebhookRequest$inboundSchema
|
|
105006
105198
|
};
|
|
105007
105199
|
tool$webhooksPing = {
|
|
105008
105200
|
name: "webhooks-ping",
|
|
105009
105201
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
105010
|
-
args:
|
|
105011
|
-
tool: async (client,
|
|
105012
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
105202
|
+
args: args183,
|
|
105203
|
+
tool: async (client, args184, ctx) => {
|
|
105204
|
+
const [result, apiCall] = await webhooksPing(client, args184.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105013
105205
|
if (!result.ok) {
|
|
105014
105206
|
return {
|
|
105015
105207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105024,9 +105216,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105024
105216
|
|
|
105025
105217
|
// src/funcs/webhooksUpdate.ts
|
|
105026
105218
|
function webhooksUpdate(client, request, options) {
|
|
105027
|
-
return new APIPromise($
|
|
105219
|
+
return new APIPromise($do191(client, request, options));
|
|
105028
105220
|
}
|
|
105029
|
-
async function $
|
|
105221
|
+
async function $do191(client, request, options) {
|
|
105030
105222
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105031
105223
|
if (!parsed.ok) {
|
|
105032
105224
|
return [parsed, { status: "invalid" }];
|
|
@@ -105108,20 +105300,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
105108
105300
|
});
|
|
105109
105301
|
|
|
105110
105302
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
105111
|
-
var
|
|
105303
|
+
var args184, tool$webhooksUpdate;
|
|
105112
105304
|
var init_webhooksUpdate2 = __esm(() => {
|
|
105113
105305
|
init_webhooksUpdate();
|
|
105114
105306
|
init_operations();
|
|
105115
105307
|
init_tools();
|
|
105116
|
-
|
|
105308
|
+
args184 = {
|
|
105117
105309
|
request: UpdateWebhookRequest$inboundSchema
|
|
105118
105310
|
};
|
|
105119
105311
|
tool$webhooksUpdate = {
|
|
105120
105312
|
name: "webhooks-update",
|
|
105121
105313
|
description: `Update an existing webhook.`,
|
|
105122
|
-
args:
|
|
105123
|
-
tool: async (client,
|
|
105124
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
105314
|
+
args: args184,
|
|
105315
|
+
tool: async (client, args185, ctx) => {
|
|
105316
|
+
const [result, apiCall] = await webhooksUpdate(client, args185.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105125
105317
|
if (!result.ok) {
|
|
105126
105318
|
return {
|
|
105127
105319
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105138,7 +105330,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105138
105330
|
function createMCPServer(deps) {
|
|
105139
105331
|
const server = new McpServer({
|
|
105140
105332
|
name: "Moov",
|
|
105141
|
-
version: "26.
|
|
105333
|
+
version: "26.10.0-dev.0"
|
|
105142
105334
|
});
|
|
105143
105335
|
const client = new MoovCore({
|
|
105144
105336
|
security: deps.security,
|
|
@@ -105293,6 +105485,7 @@ function createMCPServer(deps) {
|
|
|
105293
105485
|
tool(tool$transfersListRefunds);
|
|
105294
105486
|
tool(tool$transfersGetRefund);
|
|
105295
105487
|
tool(tool$transfersCreateReversal);
|
|
105488
|
+
tool(tool$transfersGetRiskOutcomes);
|
|
105296
105489
|
tool(tool$underwritingGet);
|
|
105297
105490
|
tool(tool$underwritingSave);
|
|
105298
105491
|
tool(tool$underwritingUpsert);
|
|
@@ -105518,6 +105711,7 @@ var init_server2 = __esm(() => {
|
|
|
105518
105711
|
init_transfersGet2();
|
|
105519
105712
|
init_transfersGetCancellation2();
|
|
105520
105713
|
init_transfersGetRefund2();
|
|
105714
|
+
init_transfersGetRiskOutcomes2();
|
|
105521
105715
|
init_transfersInitiateRefund2();
|
|
105522
105716
|
init_transfersList2();
|
|
105523
105717
|
init_transfersListCancellations2();
|
|
@@ -106742,7 +106936,7 @@ var routes = rn({
|
|
|
106742
106936
|
var app = Ve(routes, {
|
|
106743
106937
|
name: "mcp",
|
|
106744
106938
|
versionInfo: {
|
|
106745
|
-
currentVersion: "26.
|
|
106939
|
+
currentVersion: "26.10.0-dev.0"
|
|
106746
106940
|
}
|
|
106747
106941
|
});
|
|
106748
106942
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106750,5 +106944,5 @@ export {
|
|
|
106750
106944
|
app
|
|
106751
106945
|
};
|
|
106752
106946
|
|
|
106753
|
-
//# debugId=
|
|
106947
|
+
//# debugId=8D6E2C0D5CDCE32964756E2164756E21
|
|
106754
106948
|
//# sourceMappingURL=mcp-server.js.map
|