@moovio/sdk 26.7.0 → 26.10.0-dev.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/README.md +71 -59
- package/bin/mcp-server.js +344 -150
- package/bin/mcp-server.js.map +13 -8
- 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.d.ts.map +1 -1
- 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/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/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 +4 -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/index.ts +2 -0
- 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.1",
|
|
53655
53655
|
genVersion: "2.924.0",
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 26.
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.10.0-dev.1 2.924.0 v2026.10.00 @moovio/sdk"
|
|
53657
53657
|
};
|
|
53658
53658
|
});
|
|
53659
53659
|
|
|
@@ -62187,6 +62187,19 @@ var init_completemicrodeposits = __esm(() => {
|
|
|
62187
62187
|
});
|
|
62188
62188
|
});
|
|
62189
62189
|
|
|
62190
|
+
// src/models/components/contributingrule.ts
|
|
62191
|
+
var ContributingRule$inboundSchema, ContributingRule$outboundSchema;
|
|
62192
|
+
var init_contributingrule = __esm(() => {
|
|
62193
|
+
init_v3();
|
|
62194
|
+
init_primitives2();
|
|
62195
|
+
ContributingRule$inboundSchema = objectType({
|
|
62196
|
+
name: string4()
|
|
62197
|
+
});
|
|
62198
|
+
ContributingRule$outboundSchema = objectType({
|
|
62199
|
+
name: stringType()
|
|
62200
|
+
});
|
|
62201
|
+
});
|
|
62202
|
+
|
|
62190
62203
|
// src/models/components/createaccounttype.ts
|
|
62191
62204
|
var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema;
|
|
62192
62205
|
var init_createaccounttype = __esm(() => {
|
|
@@ -67677,6 +67690,22 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
67677
67690
|
});
|
|
67678
67691
|
});
|
|
67679
67692
|
|
|
67693
|
+
// src/models/components/partnerriskoutcomesresponse.ts
|
|
67694
|
+
var PartnerRiskOutcomesResponse$inboundSchema, PartnerRiskOutcomesResponse$outboundSchema;
|
|
67695
|
+
var init_partnerriskoutcomesresponse = __esm(() => {
|
|
67696
|
+
init_v3();
|
|
67697
|
+
init_primitives2();
|
|
67698
|
+
init_contributingrule();
|
|
67699
|
+
PartnerRiskOutcomesResponse$inboundSchema = objectType({
|
|
67700
|
+
transferID: string4(),
|
|
67701
|
+
contributingRules: arrayType(ContributingRule$inboundSchema)
|
|
67702
|
+
});
|
|
67703
|
+
PartnerRiskOutcomesResponse$outboundSchema = objectType({
|
|
67704
|
+
transferID: stringType(),
|
|
67705
|
+
contributingRules: arrayType(ContributingRule$outboundSchema)
|
|
67706
|
+
});
|
|
67707
|
+
});
|
|
67708
|
+
|
|
67680
67709
|
// src/models/components/taxidupdate.ts
|
|
67681
67710
|
var TaxIDUpdateEin$inboundSchema, TaxIDUpdateEin$outboundSchema, TaxIDUpdate$inboundSchema, TaxIDUpdate$outboundSchema;
|
|
67682
67711
|
var init_taxidupdate = __esm(() => {
|
|
@@ -71997,6 +72026,7 @@ var init_components = __esm(() => {
|
|
|
71997
72026
|
init_completedmicrodeposits();
|
|
71998
72027
|
init_completemicrodeposits();
|
|
71999
72028
|
init_contact();
|
|
72029
|
+
init_contributingrule();
|
|
72000
72030
|
init_createaccount();
|
|
72001
72031
|
init_createaccountsettings();
|
|
72002
72032
|
init_createaccounttype();
|
|
@@ -72224,6 +72254,7 @@ var init_components = __esm(() => {
|
|
|
72224
72254
|
init_partialscheduleaccount();
|
|
72225
72255
|
init_partnerfees();
|
|
72226
72256
|
init_partnerpricingagreement();
|
|
72257
|
+
init_partnerriskoutcomesresponse();
|
|
72227
72258
|
init_patchaccount();
|
|
72228
72259
|
init_patchbusiness();
|
|
72229
72260
|
init_patchindividual();
|
|
@@ -79196,6 +79227,49 @@ var init_gettransferconfig = __esm(() => {
|
|
|
79196
79227
|
});
|
|
79197
79228
|
});
|
|
79198
79229
|
|
|
79230
|
+
// src/models/operations/gettransferriskoutcomes.ts
|
|
79231
|
+
var GetTransferRiskOutcomesRequest$inboundSchema, GetTransferRiskOutcomesRequest$outboundSchema, GetTransferRiskOutcomesResponse$inboundSchema, GetTransferRiskOutcomesResponse$outboundSchema;
|
|
79232
|
+
var init_gettransferriskoutcomes = __esm(() => {
|
|
79233
|
+
init_v3();
|
|
79234
|
+
init_primitives();
|
|
79235
|
+
init_primitives2();
|
|
79236
|
+
init_components();
|
|
79237
|
+
GetTransferRiskOutcomesRequest$inboundSchema = objectType({
|
|
79238
|
+
transferID: string4(),
|
|
79239
|
+
"X-Account-ID": optional3(string4())
|
|
79240
|
+
}).transform((v2) => {
|
|
79241
|
+
return remap(v2, {
|
|
79242
|
+
"X-Account-ID": "xAccountID"
|
|
79243
|
+
});
|
|
79244
|
+
});
|
|
79245
|
+
GetTransferRiskOutcomesRequest$outboundSchema = objectType({
|
|
79246
|
+
transferID: stringType(),
|
|
79247
|
+
xAccountID: stringType().optional()
|
|
79248
|
+
}).transform((v2) => {
|
|
79249
|
+
return remap(v2, {
|
|
79250
|
+
xAccountID: "X-Account-ID"
|
|
79251
|
+
});
|
|
79252
|
+
});
|
|
79253
|
+
GetTransferRiskOutcomesResponse$inboundSchema = objectType({
|
|
79254
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79255
|
+
Result: PartnerRiskOutcomesResponse$inboundSchema
|
|
79256
|
+
}).transform((v2) => {
|
|
79257
|
+
return remap(v2, {
|
|
79258
|
+
Headers: "headers",
|
|
79259
|
+
Result: "result"
|
|
79260
|
+
});
|
|
79261
|
+
});
|
|
79262
|
+
GetTransferRiskOutcomesResponse$outboundSchema = objectType({
|
|
79263
|
+
headers: recordType(arrayType(stringType())),
|
|
79264
|
+
result: PartnerRiskOutcomesResponse$outboundSchema
|
|
79265
|
+
}).transform((v2) => {
|
|
79266
|
+
return remap(v2, {
|
|
79267
|
+
headers: "Headers",
|
|
79268
|
+
result: "Result"
|
|
79269
|
+
});
|
|
79270
|
+
});
|
|
79271
|
+
});
|
|
79272
|
+
|
|
79199
79273
|
// src/models/operations/getunderwriting.ts
|
|
79200
79274
|
var GetUnderwritingRequest$inboundSchema, GetUnderwritingRequest$outboundSchema, GetUnderwritingResponse$inboundSchema, GetUnderwritingResponse$outboundSchema;
|
|
79201
79275
|
var init_getunderwriting = __esm(() => {
|
|
@@ -83207,6 +83281,7 @@ var init_operations = __esm(() => {
|
|
|
83207
83281
|
init_getticket();
|
|
83208
83282
|
init_gettransfer();
|
|
83209
83283
|
init_gettransferconfig();
|
|
83284
|
+
init_gettransferriskoutcomes();
|
|
83210
83285
|
init_getunderwriting();
|
|
83211
83286
|
init_getwallet();
|
|
83212
83287
|
init_getwallettransaction();
|
|
@@ -102934,11 +103009,128 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102934
103009
|
};
|
|
102935
103010
|
});
|
|
102936
103011
|
|
|
102937
|
-
// src/funcs/
|
|
102938
|
-
function
|
|
103012
|
+
// src/funcs/transfersGetRiskOutcomes.ts
|
|
103013
|
+
function transfersGetRiskOutcomes(client, request, options) {
|
|
102939
103014
|
return new APIPromise($do170(client, request, options));
|
|
102940
103015
|
}
|
|
102941
103016
|
async function $do170(client, request, options) {
|
|
103017
|
+
const parsed = safeParse4(request, (value) => GetTransferRiskOutcomesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103018
|
+
if (!parsed.ok) {
|
|
103019
|
+
return [parsed, { status: "invalid" }];
|
|
103020
|
+
}
|
|
103021
|
+
const payload = parsed.value;
|
|
103022
|
+
const body = null;
|
|
103023
|
+
const pathParams = {
|
|
103024
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
103025
|
+
explode: false,
|
|
103026
|
+
charEncoding: "percent"
|
|
103027
|
+
})
|
|
103028
|
+
};
|
|
103029
|
+
const path = pathToFunc("/transfers/{transferID}/risk-outcomes")(pathParams);
|
|
103030
|
+
const headers = new Headers(compactMap({
|
|
103031
|
+
Accept: "application/json",
|
|
103032
|
+
"X-Account-ID": encodeSimple("X-Account-ID", payload["X-Account-ID"], {
|
|
103033
|
+
explode: false,
|
|
103034
|
+
charEncoding: "none"
|
|
103035
|
+
})
|
|
103036
|
+
}));
|
|
103037
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
103038
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
103039
|
+
const context = {
|
|
103040
|
+
options: client._options,
|
|
103041
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
103042
|
+
operationID: "getTransferRiskOutcomes",
|
|
103043
|
+
oAuth2Scopes: null,
|
|
103044
|
+
resolvedSecurity: requestSecurity,
|
|
103045
|
+
securitySource: client._options.security,
|
|
103046
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
103047
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
103048
|
+
};
|
|
103049
|
+
const requestRes = client._createRequest(context, {
|
|
103050
|
+
security: requestSecurity,
|
|
103051
|
+
method: "GET",
|
|
103052
|
+
baseURL: options?.serverURL,
|
|
103053
|
+
path,
|
|
103054
|
+
headers,
|
|
103055
|
+
body,
|
|
103056
|
+
userAgent: client._options.userAgent,
|
|
103057
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
103058
|
+
}, options);
|
|
103059
|
+
if (!requestRes.ok) {
|
|
103060
|
+
return [requestRes, { status: "invalid" }];
|
|
103061
|
+
}
|
|
103062
|
+
const req = requestRes.value;
|
|
103063
|
+
const doResult = await client._do(req, {
|
|
103064
|
+
context,
|
|
103065
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
103066
|
+
retryConfig: context.retryConfig,
|
|
103067
|
+
retryCodes: context.retryCodes
|
|
103068
|
+
});
|
|
103069
|
+
if (!doResult.ok) {
|
|
103070
|
+
return [doResult, { status: "request-error", request: req }];
|
|
103071
|
+
}
|
|
103072
|
+
const response = doResult.value;
|
|
103073
|
+
const responseFields = {
|
|
103074
|
+
HttpMeta: { Response: response, Request: req }
|
|
103075
|
+
};
|
|
103076
|
+
const [result] = await match(json(200, GetTransferRiskOutcomesResponse$inboundSchema, {
|
|
103077
|
+
hdrs: true,
|
|
103078
|
+
key: "Result"
|
|
103079
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
103080
|
+
if (!result.ok) {
|
|
103081
|
+
return [result, { status: "complete", request: req, response }];
|
|
103082
|
+
}
|
|
103083
|
+
return [result, { status: "complete", request: req, response }];
|
|
103084
|
+
}
|
|
103085
|
+
var init_transfersGetRiskOutcomes = __esm(() => {
|
|
103086
|
+
init_encodings();
|
|
103087
|
+
init_http();
|
|
103088
|
+
init_matchers();
|
|
103089
|
+
init_primitives();
|
|
103090
|
+
init_schemas4();
|
|
103091
|
+
init_security();
|
|
103092
|
+
init_url();
|
|
103093
|
+
init_operations();
|
|
103094
|
+
init_async();
|
|
103095
|
+
});
|
|
103096
|
+
|
|
103097
|
+
// src/mcp-server/tools/transfersGetRiskOutcomes.ts
|
|
103098
|
+
var args164, tool$transfersGetRiskOutcomes;
|
|
103099
|
+
var init_transfersGetRiskOutcomes2 = __esm(() => {
|
|
103100
|
+
init_transfersGetRiskOutcomes();
|
|
103101
|
+
init_operations();
|
|
103102
|
+
init_tools();
|
|
103103
|
+
args164 = {
|
|
103104
|
+
request: GetTransferRiskOutcomesRequest$inboundSchema
|
|
103105
|
+
};
|
|
103106
|
+
tool$transfersGetRiskOutcomes = {
|
|
103107
|
+
name: "transfers-get-risk-outcomes",
|
|
103108
|
+
description: `Retrieve the risk rules that contributed to a transfer's risk decision.
|
|
103109
|
+
|
|
103110
|
+
This endpoint has limited availability and must be enabled for your account by Moov.
|
|
103111
|
+
|
|
103112
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103113
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103114
|
+
args: args164,
|
|
103115
|
+
tool: async (client, args165, ctx) => {
|
|
103116
|
+
const [result, apiCall] = await transfersGetRiskOutcomes(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103117
|
+
if (!result.ok) {
|
|
103118
|
+
return {
|
|
103119
|
+
content: [{ type: "text", text: result.error.message }],
|
|
103120
|
+
isError: true
|
|
103121
|
+
};
|
|
103122
|
+
}
|
|
103123
|
+
const value = result.value.result;
|
|
103124
|
+
return formatResult(value, apiCall);
|
|
103125
|
+
}
|
|
103126
|
+
};
|
|
103127
|
+
});
|
|
103128
|
+
|
|
103129
|
+
// src/funcs/transfersInitiateRefund.ts
|
|
103130
|
+
function transfersInitiateRefund(client, request, options) {
|
|
103131
|
+
return new APIPromise($do171(client, request, options));
|
|
103132
|
+
}
|
|
103133
|
+
async function $do171(client, request, options) {
|
|
102942
103134
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102943
103135
|
if (!parsed.ok) {
|
|
102944
103136
|
return [parsed, { status: "invalid" }];
|
|
@@ -103030,12 +103222,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
103030
103222
|
});
|
|
103031
103223
|
|
|
103032
103224
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
103033
|
-
var
|
|
103225
|
+
var args165, tool$transfersInitiateRefund;
|
|
103034
103226
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
103035
103227
|
init_transfersInitiateRefund();
|
|
103036
103228
|
init_operations();
|
|
103037
103229
|
init_tools();
|
|
103038
|
-
|
|
103230
|
+
args165 = {
|
|
103039
103231
|
request: InitiateRefundRequest$inboundSchema
|
|
103040
103232
|
};
|
|
103041
103233
|
tool$transfersInitiateRefund = {
|
|
@@ -103047,9 +103239,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
103047
103239
|
|
|
103048
103240
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103049
103241
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
103050
|
-
args:
|
|
103051
|
-
tool: async (client,
|
|
103052
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
103242
|
+
args: args165,
|
|
103243
|
+
tool: async (client, args166, ctx) => {
|
|
103244
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103053
103245
|
if (!result.ok) {
|
|
103054
103246
|
return {
|
|
103055
103247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103064,9 +103256,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103064
103256
|
|
|
103065
103257
|
// src/funcs/transfersList.ts
|
|
103066
103258
|
function transfersList(client, request, options) {
|
|
103067
|
-
return new APIPromise($
|
|
103259
|
+
return new APIPromise($do172(client, request, options));
|
|
103068
103260
|
}
|
|
103069
|
-
async function $
|
|
103261
|
+
async function $do172(client, request, options) {
|
|
103070
103262
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103071
103263
|
if (!parsed.ok) {
|
|
103072
103264
|
return [parsed, { status: "invalid" }];
|
|
@@ -103162,12 +103354,12 @@ var init_transfersList = __esm(() => {
|
|
|
103162
103354
|
});
|
|
103163
103355
|
|
|
103164
103356
|
// src/mcp-server/tools/transfersList.ts
|
|
103165
|
-
var
|
|
103357
|
+
var args166, tool$transfersList;
|
|
103166
103358
|
var init_transfersList2 = __esm(() => {
|
|
103167
103359
|
init_transfersList();
|
|
103168
103360
|
init_operations();
|
|
103169
103361
|
init_tools();
|
|
103170
|
-
|
|
103362
|
+
args166 = {
|
|
103171
103363
|
request: ListTransfersRequest$inboundSchema
|
|
103172
103364
|
};
|
|
103173
103365
|
tool$transfersList = {
|
|
@@ -103183,9 +103375,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
103183
103375
|
|
|
103184
103376
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103185
103377
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103186
|
-
args:
|
|
103187
|
-
tool: async (client,
|
|
103188
|
-
const [result, apiCall] = await transfersList(client,
|
|
103378
|
+
args: args166,
|
|
103379
|
+
tool: async (client, args167, ctx) => {
|
|
103380
|
+
const [result, apiCall] = await transfersList(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103189
103381
|
if (!result.ok) {
|
|
103190
103382
|
return {
|
|
103191
103383
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103200,9 +103392,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103200
103392
|
|
|
103201
103393
|
// src/funcs/transfersListCancellations.ts
|
|
103202
103394
|
function transfersListCancellations(client, request, options) {
|
|
103203
|
-
return new APIPromise($
|
|
103395
|
+
return new APIPromise($do173(client, request, options));
|
|
103204
103396
|
}
|
|
103205
|
-
async function $
|
|
103397
|
+
async function $do173(client, request, options) {
|
|
103206
103398
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103207
103399
|
if (!parsed.ok) {
|
|
103208
103400
|
return [parsed, { status: "invalid" }];
|
|
@@ -103284,12 +103476,12 @@ var init_transfersListCancellations = __esm(() => {
|
|
|
103284
103476
|
});
|
|
103285
103477
|
|
|
103286
103478
|
// src/mcp-server/tools/transfersListCancellations.ts
|
|
103287
|
-
var
|
|
103479
|
+
var args167, tool$transfersListCancellations;
|
|
103288
103480
|
var init_transfersListCancellations2 = __esm(() => {
|
|
103289
103481
|
init_transfersListCancellations();
|
|
103290
103482
|
init_operations();
|
|
103291
103483
|
init_tools();
|
|
103292
|
-
|
|
103484
|
+
args167 = {
|
|
103293
103485
|
request: ListCancellationsRequest$inboundSchema
|
|
103294
103486
|
};
|
|
103295
103487
|
tool$transfersListCancellations = {
|
|
@@ -103298,9 +103490,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103298
103490
|
|
|
103299
103491
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
103300
103492
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103301
|
-
args:
|
|
103302
|
-
tool: async (client,
|
|
103303
|
-
const [result, apiCall] = await transfersListCancellations(client,
|
|
103493
|
+
args: args167,
|
|
103494
|
+
tool: async (client, args168, ctx) => {
|
|
103495
|
+
const [result, apiCall] = await transfersListCancellations(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103304
103496
|
if (!result.ok) {
|
|
103305
103497
|
return {
|
|
103306
103498
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103315,9 +103507,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103315
103507
|
|
|
103316
103508
|
// src/funcs/transfersListRefunds.ts
|
|
103317
103509
|
function transfersListRefunds(client, request, options) {
|
|
103318
|
-
return new APIPromise($
|
|
103510
|
+
return new APIPromise($do174(client, request, options));
|
|
103319
103511
|
}
|
|
103320
|
-
async function $
|
|
103512
|
+
async function $do174(client, request, options) {
|
|
103321
103513
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103322
103514
|
if (!parsed.ok) {
|
|
103323
103515
|
return [parsed, { status: "invalid" }];
|
|
@@ -103399,12 +103591,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
103399
103591
|
});
|
|
103400
103592
|
|
|
103401
103593
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
103402
|
-
var
|
|
103594
|
+
var args168, tool$transfersListRefunds;
|
|
103403
103595
|
var init_transfersListRefunds2 = __esm(() => {
|
|
103404
103596
|
init_transfersListRefunds();
|
|
103405
103597
|
init_operations();
|
|
103406
103598
|
init_tools();
|
|
103407
|
-
|
|
103599
|
+
args168 = {
|
|
103408
103600
|
request: ListRefundsRequest$inboundSchema
|
|
103409
103601
|
};
|
|
103410
103602
|
tool$transfersListRefunds = {
|
|
@@ -103413,9 +103605,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
103413
103605
|
|
|
103414
103606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103415
103607
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103416
|
-
args:
|
|
103417
|
-
tool: async (client,
|
|
103418
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
103608
|
+
args: args168,
|
|
103609
|
+
tool: async (client, args169, ctx) => {
|
|
103610
|
+
const [result, apiCall] = await transfersListRefunds(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103419
103611
|
if (!result.ok) {
|
|
103420
103612
|
return {
|
|
103421
103613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103430,9 +103622,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103430
103622
|
|
|
103431
103623
|
// src/funcs/transfersUpdate.ts
|
|
103432
103624
|
function transfersUpdate(client, request, options) {
|
|
103433
|
-
return new APIPromise($
|
|
103625
|
+
return new APIPromise($do175(client, request, options));
|
|
103434
103626
|
}
|
|
103435
|
-
async function $
|
|
103627
|
+
async function $do175(client, request, options) {
|
|
103436
103628
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103437
103629
|
if (!parsed.ok) {
|
|
103438
103630
|
return [parsed, { status: "invalid" }];
|
|
@@ -103518,12 +103710,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
103518
103710
|
});
|
|
103519
103711
|
|
|
103520
103712
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
103521
|
-
var
|
|
103713
|
+
var args169, tool$transfersUpdate;
|
|
103522
103714
|
var init_transfersUpdate2 = __esm(() => {
|
|
103523
103715
|
init_transfersUpdate();
|
|
103524
103716
|
init_operations();
|
|
103525
103717
|
init_tools();
|
|
103526
|
-
|
|
103718
|
+
args169 = {
|
|
103527
103719
|
request: UpdateTransferRequest$inboundSchema
|
|
103528
103720
|
};
|
|
103529
103721
|
tool$transfersUpdate = {
|
|
@@ -103534,9 +103726,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
103534
103726
|
|
|
103535
103727
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103536
103728
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
103537
|
-
args:
|
|
103538
|
-
tool: async (client,
|
|
103539
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
103729
|
+
args: args169,
|
|
103730
|
+
tool: async (client, args170, ctx) => {
|
|
103731
|
+
const [result, apiCall] = await transfersUpdate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103540
103732
|
if (!result.ok) {
|
|
103541
103733
|
return {
|
|
103542
103734
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103551,9 +103743,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103551
103743
|
|
|
103552
103744
|
// src/funcs/underwritingGet.ts
|
|
103553
103745
|
function underwritingGet(client, request, options) {
|
|
103554
|
-
return new APIPromise($
|
|
103746
|
+
return new APIPromise($do176(client, request, options));
|
|
103555
103747
|
}
|
|
103556
|
-
async function $
|
|
103748
|
+
async function $do176(client, request, options) {
|
|
103557
103749
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103558
103750
|
if (!parsed.ok) {
|
|
103559
103751
|
return [parsed, { status: "invalid" }];
|
|
@@ -103631,12 +103823,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
103631
103823
|
});
|
|
103632
103824
|
|
|
103633
103825
|
// src/mcp-server/tools/underwritingGet.ts
|
|
103634
|
-
var
|
|
103826
|
+
var args170, tool$underwritingGet;
|
|
103635
103827
|
var init_underwritingGet2 = __esm(() => {
|
|
103636
103828
|
init_underwritingGet();
|
|
103637
103829
|
init_operations();
|
|
103638
103830
|
init_tools();
|
|
103639
|
-
|
|
103831
|
+
args170 = {
|
|
103640
103832
|
request: GetUnderwritingRequest$inboundSchema
|
|
103641
103833
|
};
|
|
103642
103834
|
tool$underwritingGet = {
|
|
@@ -103647,9 +103839,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103647
103839
|
|
|
103648
103840
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103649
103841
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
103650
|
-
args:
|
|
103651
|
-
tool: async (client,
|
|
103652
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
103842
|
+
args: args170,
|
|
103843
|
+
tool: async (client, args171, ctx) => {
|
|
103844
|
+
const [result, apiCall] = await underwritingGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103653
103845
|
if (!result.ok) {
|
|
103654
103846
|
return {
|
|
103655
103847
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103664,9 +103856,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103664
103856
|
|
|
103665
103857
|
// src/funcs/underwritingSave.ts
|
|
103666
103858
|
function underwritingSave(client, request, options) {
|
|
103667
|
-
return new APIPromise($
|
|
103859
|
+
return new APIPromise($do177(client, request, options));
|
|
103668
103860
|
}
|
|
103669
|
-
async function $
|
|
103861
|
+
async function $do177(client, request, options) {
|
|
103670
103862
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103671
103863
|
if (!parsed.ok) {
|
|
103672
103864
|
return [parsed, { status: "invalid" }];
|
|
@@ -103750,12 +103942,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
103750
103942
|
});
|
|
103751
103943
|
|
|
103752
103944
|
// src/mcp-server/tools/underwritingSave.ts
|
|
103753
|
-
var
|
|
103945
|
+
var args171, tool$underwritingSave;
|
|
103754
103946
|
var init_underwritingSave2 = __esm(() => {
|
|
103755
103947
|
init_underwritingSave();
|
|
103756
103948
|
init_operations();
|
|
103757
103949
|
init_tools();
|
|
103758
|
-
|
|
103950
|
+
args171 = {
|
|
103759
103951
|
request: SaveUnderwritingRequest$inboundSchema
|
|
103760
103952
|
};
|
|
103761
103953
|
tool$underwritingSave = {
|
|
@@ -103766,9 +103958,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103766
103958
|
|
|
103767
103959
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103768
103960
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103769
|
-
args:
|
|
103770
|
-
tool: async (client,
|
|
103771
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
103961
|
+
args: args171,
|
|
103962
|
+
tool: async (client, args172, ctx) => {
|
|
103963
|
+
const [result, apiCall] = await underwritingSave(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103772
103964
|
if (!result.ok) {
|
|
103773
103965
|
return {
|
|
103774
103966
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103783,9 +103975,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103783
103975
|
|
|
103784
103976
|
// src/funcs/underwritingUpsert.ts
|
|
103785
103977
|
function underwritingUpsert(client, request, options) {
|
|
103786
|
-
return new APIPromise($
|
|
103978
|
+
return new APIPromise($do178(client, request, options));
|
|
103787
103979
|
}
|
|
103788
|
-
async function $
|
|
103980
|
+
async function $do178(client, request, options) {
|
|
103789
103981
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103790
103982
|
if (!parsed.ok) {
|
|
103791
103983
|
return [parsed, { status: "invalid" }];
|
|
@@ -103869,12 +104061,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
103869
104061
|
});
|
|
103870
104062
|
|
|
103871
104063
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
103872
|
-
var
|
|
104064
|
+
var args172, tool$underwritingUpsert;
|
|
103873
104065
|
var init_underwritingUpsert2 = __esm(() => {
|
|
103874
104066
|
init_underwritingUpsert();
|
|
103875
104067
|
init_operations();
|
|
103876
104068
|
init_tools();
|
|
103877
|
-
|
|
104069
|
+
args172 = {
|
|
103878
104070
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
103879
104071
|
};
|
|
103880
104072
|
tool$underwritingUpsert = {
|
|
@@ -103885,9 +104077,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103885
104077
|
|
|
103886
104078
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103887
104079
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103888
|
-
args:
|
|
103889
|
-
tool: async (client,
|
|
103890
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
104080
|
+
args: args172,
|
|
104081
|
+
tool: async (client, args173, ctx) => {
|
|
104082
|
+
const [result, apiCall] = await underwritingUpsert(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103891
104083
|
if (!result.ok) {
|
|
103892
104084
|
return {
|
|
103893
104085
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103902,9 +104094,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103902
104094
|
|
|
103903
104095
|
// src/funcs/walletsCreate.ts
|
|
103904
104096
|
function walletsCreate(client, request, options) {
|
|
103905
|
-
return new APIPromise($
|
|
104097
|
+
return new APIPromise($do179(client, request, options));
|
|
103906
104098
|
}
|
|
103907
|
-
async function $
|
|
104099
|
+
async function $do179(client, request, options) {
|
|
103908
104100
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103909
104101
|
if (!parsed.ok) {
|
|
103910
104102
|
return [parsed, { status: "invalid" }];
|
|
@@ -103986,12 +104178,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
103986
104178
|
});
|
|
103987
104179
|
|
|
103988
104180
|
// src/mcp-server/tools/walletsCreate.ts
|
|
103989
|
-
var
|
|
104181
|
+
var args173, tool$walletsCreate;
|
|
103990
104182
|
var init_walletsCreate2 = __esm(() => {
|
|
103991
104183
|
init_walletsCreate();
|
|
103992
104184
|
init_operations();
|
|
103993
104185
|
init_tools();
|
|
103994
|
-
|
|
104186
|
+
args173 = {
|
|
103995
104187
|
request: CreateWalletRequest$inboundSchema
|
|
103996
104188
|
};
|
|
103997
104189
|
tool$walletsCreate = {
|
|
@@ -104002,9 +104194,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104002
104194
|
|
|
104003
104195
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104004
104196
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
104005
|
-
args:
|
|
104006
|
-
tool: async (client,
|
|
104007
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
104197
|
+
args: args173,
|
|
104198
|
+
tool: async (client, args174, ctx) => {
|
|
104199
|
+
const [result, apiCall] = await walletsCreate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104008
104200
|
if (!result.ok) {
|
|
104009
104201
|
return {
|
|
104010
104202
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104019,9 +104211,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104019
104211
|
|
|
104020
104212
|
// src/funcs/walletsGet.ts
|
|
104021
104213
|
function walletsGet(client, request, options) {
|
|
104022
|
-
return new APIPromise($
|
|
104214
|
+
return new APIPromise($do180(client, request, options));
|
|
104023
104215
|
}
|
|
104024
|
-
async function $
|
|
104216
|
+
async function $do180(client, request, options) {
|
|
104025
104217
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104026
104218
|
if (!parsed.ok) {
|
|
104027
104219
|
return [parsed, { status: "invalid" }];
|
|
@@ -104103,12 +104295,12 @@ var init_walletsGet = __esm(() => {
|
|
|
104103
104295
|
});
|
|
104104
104296
|
|
|
104105
104297
|
// src/mcp-server/tools/walletsGet.ts
|
|
104106
|
-
var
|
|
104298
|
+
var args174, tool$walletsGet;
|
|
104107
104299
|
var init_walletsGet2 = __esm(() => {
|
|
104108
104300
|
init_walletsGet();
|
|
104109
104301
|
init_operations();
|
|
104110
104302
|
init_tools();
|
|
104111
|
-
|
|
104303
|
+
args174 = {
|
|
104112
104304
|
request: GetWalletRequest$inboundSchema
|
|
104113
104305
|
};
|
|
104114
104306
|
tool$walletsGet = {
|
|
@@ -104119,9 +104311,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104119
104311
|
|
|
104120
104312
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104121
104313
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104122
|
-
args:
|
|
104123
|
-
tool: async (client,
|
|
104124
|
-
const [result, apiCall] = await walletsGet(client,
|
|
104314
|
+
args: args174,
|
|
104315
|
+
tool: async (client, args175, ctx) => {
|
|
104316
|
+
const [result, apiCall] = await walletsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104125
104317
|
if (!result.ok) {
|
|
104126
104318
|
return {
|
|
104127
104319
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104136,9 +104328,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104136
104328
|
|
|
104137
104329
|
// src/funcs/walletsList.ts
|
|
104138
104330
|
function walletsList(client, request, options) {
|
|
104139
|
-
return new APIPromise($
|
|
104331
|
+
return new APIPromise($do181(client, request, options));
|
|
104140
104332
|
}
|
|
104141
|
-
async function $
|
|
104333
|
+
async function $do181(client, request, options) {
|
|
104142
104334
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104143
104335
|
if (!parsed.ok) {
|
|
104144
104336
|
return [parsed, { status: "invalid" }];
|
|
@@ -104226,12 +104418,12 @@ var init_walletsList = __esm(() => {
|
|
|
104226
104418
|
});
|
|
104227
104419
|
|
|
104228
104420
|
// src/mcp-server/tools/walletsList.ts
|
|
104229
|
-
var
|
|
104421
|
+
var args175, tool$walletsList;
|
|
104230
104422
|
var init_walletsList2 = __esm(() => {
|
|
104231
104423
|
init_walletsList();
|
|
104232
104424
|
init_operations();
|
|
104233
104425
|
init_tools();
|
|
104234
|
-
|
|
104426
|
+
args175 = {
|
|
104235
104427
|
request: ListWalletsRequest$inboundSchema
|
|
104236
104428
|
};
|
|
104237
104429
|
tool$walletsList = {
|
|
@@ -104242,9 +104434,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104242
104434
|
|
|
104243
104435
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104244
104436
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104245
|
-
args:
|
|
104246
|
-
tool: async (client,
|
|
104247
|
-
const [result, apiCall] = await walletsList(client,
|
|
104437
|
+
args: args175,
|
|
104438
|
+
tool: async (client, args176, ctx) => {
|
|
104439
|
+
const [result, apiCall] = await walletsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104248
104440
|
if (!result.ok) {
|
|
104249
104441
|
return {
|
|
104250
104442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104259,9 +104451,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104259
104451
|
|
|
104260
104452
|
// src/funcs/walletsUpdate.ts
|
|
104261
104453
|
function walletsUpdate(client, request, options) {
|
|
104262
|
-
return new APIPromise($
|
|
104454
|
+
return new APIPromise($do182(client, request, options));
|
|
104263
104455
|
}
|
|
104264
|
-
async function $
|
|
104456
|
+
async function $do182(client, request, options) {
|
|
104265
104457
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104266
104458
|
if (!parsed.ok) {
|
|
104267
104459
|
return [parsed, { status: "invalid" }];
|
|
@@ -104347,12 +104539,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
104347
104539
|
});
|
|
104348
104540
|
|
|
104349
104541
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
104350
|
-
var
|
|
104542
|
+
var args176, tool$walletsUpdate;
|
|
104351
104543
|
var init_walletsUpdate2 = __esm(() => {
|
|
104352
104544
|
init_walletsUpdate();
|
|
104353
104545
|
init_operations();
|
|
104354
104546
|
init_tools();
|
|
104355
|
-
|
|
104547
|
+
args176 = {
|
|
104356
104548
|
request: UpdateWalletRequest$inboundSchema
|
|
104357
104549
|
};
|
|
104358
104550
|
tool$walletsUpdate = {
|
|
@@ -104363,9 +104555,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104363
104555
|
|
|
104364
104556
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104365
104557
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
104366
|
-
args:
|
|
104367
|
-
tool: async (client,
|
|
104368
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
104558
|
+
args: args176,
|
|
104559
|
+
tool: async (client, args177, ctx) => {
|
|
104560
|
+
const [result, apiCall] = await walletsUpdate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104369
104561
|
if (!result.ok) {
|
|
104370
104562
|
return {
|
|
104371
104563
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104380,9 +104572,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104380
104572
|
|
|
104381
104573
|
// src/funcs/walletTransactionsGet.ts
|
|
104382
104574
|
function walletTransactionsGet(client, request, options) {
|
|
104383
|
-
return new APIPromise($
|
|
104575
|
+
return new APIPromise($do183(client, request, options));
|
|
104384
104576
|
}
|
|
104385
|
-
async function $
|
|
104577
|
+
async function $do183(client, request, options) {
|
|
104386
104578
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104387
104579
|
if (!parsed.ok) {
|
|
104388
104580
|
return [parsed, { status: "invalid" }];
|
|
@@ -104468,12 +104660,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
104468
104660
|
});
|
|
104469
104661
|
|
|
104470
104662
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
104471
|
-
var
|
|
104663
|
+
var args177, tool$walletTransactionsGet;
|
|
104472
104664
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
104473
104665
|
init_walletTransactionsGet();
|
|
104474
104666
|
init_operations();
|
|
104475
104667
|
init_tools();
|
|
104476
|
-
|
|
104668
|
+
args177 = {
|
|
104477
104669
|
request: GetWalletTransactionRequest$inboundSchema
|
|
104478
104670
|
};
|
|
104479
104671
|
tool$walletTransactionsGet = {
|
|
@@ -104484,9 +104676,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104484
104676
|
|
|
104485
104677
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104486
104678
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104487
|
-
args:
|
|
104488
|
-
tool: async (client,
|
|
104489
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
104679
|
+
args: args177,
|
|
104680
|
+
tool: async (client, args178, ctx) => {
|
|
104681
|
+
const [result, apiCall] = await walletTransactionsGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104490
104682
|
if (!result.ok) {
|
|
104491
104683
|
return {
|
|
104492
104684
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104501,9 +104693,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104501
104693
|
|
|
104502
104694
|
// src/funcs/walletTransactionsList.ts
|
|
104503
104695
|
function walletTransactionsList(client, request, options) {
|
|
104504
|
-
return new APIPromise($
|
|
104696
|
+
return new APIPromise($do184(client, request, options));
|
|
104505
104697
|
}
|
|
104506
|
-
async function $
|
|
104698
|
+
async function $do184(client, request, options) {
|
|
104507
104699
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104508
104700
|
if (!parsed.ok) {
|
|
104509
104701
|
return [parsed, { status: "invalid" }];
|
|
@@ -104603,12 +104795,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
104603
104795
|
});
|
|
104604
104796
|
|
|
104605
104797
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
104606
|
-
var
|
|
104798
|
+
var args178, tool$walletTransactionsList;
|
|
104607
104799
|
var init_walletTransactionsList2 = __esm(() => {
|
|
104608
104800
|
init_walletTransactionsList();
|
|
104609
104801
|
init_operations();
|
|
104610
104802
|
init_tools();
|
|
104611
|
-
|
|
104803
|
+
args178 = {
|
|
104612
104804
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
104613
104805
|
};
|
|
104614
104806
|
tool$walletTransactionsList = {
|
|
@@ -104619,9 +104811,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104619
104811
|
|
|
104620
104812
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104621
104813
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104622
|
-
args:
|
|
104623
|
-
tool: async (client,
|
|
104624
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
104814
|
+
args: args178,
|
|
104815
|
+
tool: async (client, args179, ctx) => {
|
|
104816
|
+
const [result, apiCall] = await walletTransactionsList(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104625
104817
|
if (!result.ok) {
|
|
104626
104818
|
return {
|
|
104627
104819
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104636,9 +104828,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104636
104828
|
|
|
104637
104829
|
// src/funcs/webhooksCreate.ts
|
|
104638
104830
|
function webhooksCreate(client, request, options) {
|
|
104639
|
-
return new APIPromise($
|
|
104831
|
+
return new APIPromise($do185(client, request, options));
|
|
104640
104832
|
}
|
|
104641
|
-
async function $
|
|
104833
|
+
async function $do185(client, request, options) {
|
|
104642
104834
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104643
104835
|
if (!parsed.ok) {
|
|
104644
104836
|
return [parsed, { status: "invalid" }];
|
|
@@ -104715,20 +104907,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
104715
104907
|
});
|
|
104716
104908
|
|
|
104717
104909
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
104718
|
-
var
|
|
104910
|
+
var args179, tool$webhooksCreate;
|
|
104719
104911
|
var init_webhooksCreate2 = __esm(() => {
|
|
104720
104912
|
init_webhooksCreate();
|
|
104721
104913
|
init_components();
|
|
104722
104914
|
init_tools();
|
|
104723
|
-
|
|
104915
|
+
args179 = {
|
|
104724
104916
|
request: CreateWebhook$inboundSchema
|
|
104725
104917
|
};
|
|
104726
104918
|
tool$webhooksCreate = {
|
|
104727
104919
|
name: "webhooks-create",
|
|
104728
104920
|
description: `Create a new webhook for the account.`,
|
|
104729
|
-
args:
|
|
104730
|
-
tool: async (client,
|
|
104731
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
104921
|
+
args: args179,
|
|
104922
|
+
tool: async (client, args180, ctx) => {
|
|
104923
|
+
const [result, apiCall] = await webhooksCreate(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104732
104924
|
if (!result.ok) {
|
|
104733
104925
|
return {
|
|
104734
104926
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104743,9 +104935,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104743
104935
|
|
|
104744
104936
|
// src/funcs/webhooksDisable.ts
|
|
104745
104937
|
function webhooksDisable(client, request, options) {
|
|
104746
|
-
return new APIPromise($
|
|
104938
|
+
return new APIPromise($do186(client, request, options));
|
|
104747
104939
|
}
|
|
104748
|
-
async function $
|
|
104940
|
+
async function $do186(client, request, options) {
|
|
104749
104941
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104750
104942
|
if (!parsed.ok) {
|
|
104751
104943
|
return [parsed, { status: "invalid" }];
|
|
@@ -104822,20 +105014,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
104822
105014
|
});
|
|
104823
105015
|
|
|
104824
105016
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
104825
|
-
var
|
|
105017
|
+
var args180, tool$webhooksDisable;
|
|
104826
105018
|
var init_webhooksDisable2 = __esm(() => {
|
|
104827
105019
|
init_webhooksDisable();
|
|
104828
105020
|
init_operations();
|
|
104829
105021
|
init_tools();
|
|
104830
|
-
|
|
105022
|
+
args180 = {
|
|
104831
105023
|
request: DisableWebhookRequest$inboundSchema
|
|
104832
105024
|
};
|
|
104833
105025
|
tool$webhooksDisable = {
|
|
104834
105026
|
name: "webhooks-disable",
|
|
104835
105027
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
104836
|
-
args:
|
|
104837
|
-
tool: async (client,
|
|
104838
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
105028
|
+
args: args180,
|
|
105029
|
+
tool: async (client, args181, ctx) => {
|
|
105030
|
+
const [result, apiCall] = await webhooksDisable(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104839
105031
|
if (!result.ok) {
|
|
104840
105032
|
return {
|
|
104841
105033
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104849,9 +105041,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104849
105041
|
|
|
104850
105042
|
// src/funcs/webhooksGet.ts
|
|
104851
105043
|
function webhooksGet(client, request, options) {
|
|
104852
|
-
return new APIPromise($
|
|
105044
|
+
return new APIPromise($do187(client, request, options));
|
|
104853
105045
|
}
|
|
104854
|
-
async function $
|
|
105046
|
+
async function $do187(client, request, options) {
|
|
104855
105047
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104856
105048
|
if (!parsed.ok) {
|
|
104857
105049
|
return [parsed, { status: "invalid" }];
|
|
@@ -104929,20 +105121,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
104929
105121
|
});
|
|
104930
105122
|
|
|
104931
105123
|
// src/mcp-server/tools/webhooksGet.ts
|
|
104932
|
-
var
|
|
105124
|
+
var args181, tool$webhooksGet;
|
|
104933
105125
|
var init_webhooksGet2 = __esm(() => {
|
|
104934
105126
|
init_webhooksGet();
|
|
104935
105127
|
init_operations();
|
|
104936
105128
|
init_tools();
|
|
104937
|
-
|
|
105129
|
+
args181 = {
|
|
104938
105130
|
request: GetWebhookRequest$inboundSchema
|
|
104939
105131
|
};
|
|
104940
105132
|
tool$webhooksGet = {
|
|
104941
105133
|
name: "webhooks-get",
|
|
104942
105134
|
description: `Get details of a specific webhook.`,
|
|
104943
|
-
args:
|
|
104944
|
-
tool: async (client,
|
|
104945
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
105135
|
+
args: args181,
|
|
105136
|
+
tool: async (client, args182, ctx) => {
|
|
105137
|
+
const [result, apiCall] = await webhooksGet(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104946
105138
|
if (!result.ok) {
|
|
104947
105139
|
return {
|
|
104948
105140
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104957,9 +105149,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104957
105149
|
|
|
104958
105150
|
// src/funcs/webhooksGetSecret.ts
|
|
104959
105151
|
function webhooksGetSecret(client, request, options) {
|
|
104960
|
-
return new APIPromise($
|
|
105152
|
+
return new APIPromise($do188(client, request, options));
|
|
104961
105153
|
}
|
|
104962
|
-
async function $
|
|
105154
|
+
async function $do188(client, request, options) {
|
|
104963
105155
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104964
105156
|
if (!parsed.ok) {
|
|
104965
105157
|
return [parsed, { status: "invalid" }];
|
|
@@ -105037,20 +105229,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
105037
105229
|
});
|
|
105038
105230
|
|
|
105039
105231
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
105040
|
-
var
|
|
105232
|
+
var args182, tool$webhooksGetSecret;
|
|
105041
105233
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
105042
105234
|
init_webhooksGetSecret();
|
|
105043
105235
|
init_operations();
|
|
105044
105236
|
init_tools();
|
|
105045
|
-
|
|
105237
|
+
args182 = {
|
|
105046
105238
|
request: GetWebhookSecretRequest$inboundSchema
|
|
105047
105239
|
};
|
|
105048
105240
|
tool$webhooksGetSecret = {
|
|
105049
105241
|
name: "webhooks-get-secret",
|
|
105050
105242
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
105051
|
-
args:
|
|
105052
|
-
tool: async (client,
|
|
105053
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
105243
|
+
args: args182,
|
|
105244
|
+
tool: async (client, args183, ctx) => {
|
|
105245
|
+
const [result, apiCall] = await webhooksGetSecret(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105054
105246
|
if (!result.ok) {
|
|
105055
105247
|
return {
|
|
105056
105248
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105065,9 +105257,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
105065
105257
|
|
|
105066
105258
|
// src/funcs/webhooksList.ts
|
|
105067
105259
|
function webhooksList(client, options) {
|
|
105068
|
-
return new APIPromise($
|
|
105260
|
+
return new APIPromise($do189(client, options));
|
|
105069
105261
|
}
|
|
105070
|
-
async function $
|
|
105262
|
+
async function $do189(client, options) {
|
|
105071
105263
|
const path = pathToFunc("/webhooks")();
|
|
105072
105264
|
const headers = new Headers(compactMap({
|
|
105073
105265
|
Accept: "application/json"
|
|
@@ -105153,9 +105345,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
105153
105345
|
|
|
105154
105346
|
// src/funcs/webhooksListEventTypes.ts
|
|
105155
105347
|
function webhooksListEventTypes(client, options) {
|
|
105156
|
-
return new APIPromise($
|
|
105348
|
+
return new APIPromise($do190(client, options));
|
|
105157
105349
|
}
|
|
105158
|
-
async function $
|
|
105350
|
+
async function $do190(client, options) {
|
|
105159
105351
|
const path = pathToFunc("/event-types")();
|
|
105160
105352
|
const headers = new Headers(compactMap({
|
|
105161
105353
|
Accept: "application/json"
|
|
@@ -105241,9 +105433,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
105241
105433
|
|
|
105242
105434
|
// src/funcs/webhooksPing.ts
|
|
105243
105435
|
function webhooksPing(client, request, options) {
|
|
105244
|
-
return new APIPromise($
|
|
105436
|
+
return new APIPromise($do191(client, request, options));
|
|
105245
105437
|
}
|
|
105246
|
-
async function $
|
|
105438
|
+
async function $do191(client, request, options) {
|
|
105247
105439
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105248
105440
|
if (!parsed.ok) {
|
|
105249
105441
|
return [parsed, { status: "invalid" }];
|
|
@@ -105321,20 +105513,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
105321
105513
|
});
|
|
105322
105514
|
|
|
105323
105515
|
// src/mcp-server/tools/webhooksPing.ts
|
|
105324
|
-
var
|
|
105516
|
+
var args183, tool$webhooksPing;
|
|
105325
105517
|
var init_webhooksPing2 = __esm(() => {
|
|
105326
105518
|
init_webhooksPing();
|
|
105327
105519
|
init_operations();
|
|
105328
105520
|
init_tools();
|
|
105329
|
-
|
|
105521
|
+
args183 = {
|
|
105330
105522
|
request: PingWebhookRequest$inboundSchema
|
|
105331
105523
|
};
|
|
105332
105524
|
tool$webhooksPing = {
|
|
105333
105525
|
name: "webhooks-ping",
|
|
105334
105526
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
105335
|
-
args:
|
|
105336
|
-
tool: async (client,
|
|
105337
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
105527
|
+
args: args183,
|
|
105528
|
+
tool: async (client, args184, ctx) => {
|
|
105529
|
+
const [result, apiCall] = await webhooksPing(client, args184.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105338
105530
|
if (!result.ok) {
|
|
105339
105531
|
return {
|
|
105340
105532
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105349,9 +105541,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105349
105541
|
|
|
105350
105542
|
// src/funcs/webhooksUpdate.ts
|
|
105351
105543
|
function webhooksUpdate(client, request, options) {
|
|
105352
|
-
return new APIPromise($
|
|
105544
|
+
return new APIPromise($do192(client, request, options));
|
|
105353
105545
|
}
|
|
105354
|
-
async function $
|
|
105546
|
+
async function $do192(client, request, options) {
|
|
105355
105547
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105356
105548
|
if (!parsed.ok) {
|
|
105357
105549
|
return [parsed, { status: "invalid" }];
|
|
@@ -105433,20 +105625,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
105433
105625
|
});
|
|
105434
105626
|
|
|
105435
105627
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
105436
|
-
var
|
|
105628
|
+
var args184, tool$webhooksUpdate;
|
|
105437
105629
|
var init_webhooksUpdate2 = __esm(() => {
|
|
105438
105630
|
init_webhooksUpdate();
|
|
105439
105631
|
init_operations();
|
|
105440
105632
|
init_tools();
|
|
105441
|
-
|
|
105633
|
+
args184 = {
|
|
105442
105634
|
request: UpdateWebhookRequest$inboundSchema
|
|
105443
105635
|
};
|
|
105444
105636
|
tool$webhooksUpdate = {
|
|
105445
105637
|
name: "webhooks-update",
|
|
105446
105638
|
description: `Update an existing webhook.`,
|
|
105447
|
-
args:
|
|
105448
|
-
tool: async (client,
|
|
105449
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
105639
|
+
args: args184,
|
|
105640
|
+
tool: async (client, args185, ctx) => {
|
|
105641
|
+
const [result, apiCall] = await webhooksUpdate(client, args185.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105450
105642
|
if (!result.ok) {
|
|
105451
105643
|
return {
|
|
105452
105644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105463,7 +105655,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105463
105655
|
function createMCPServer(deps) {
|
|
105464
105656
|
const server = new McpServer({
|
|
105465
105657
|
name: "Moov",
|
|
105466
|
-
version: "26.
|
|
105658
|
+
version: "26.10.0-dev.1"
|
|
105467
105659
|
});
|
|
105468
105660
|
const client = new MoovCore({
|
|
105469
105661
|
security: deps.security,
|
|
@@ -105619,6 +105811,7 @@ function createMCPServer(deps) {
|
|
|
105619
105811
|
tool(tool$transfersListRefunds);
|
|
105620
105812
|
tool(tool$transfersGetRefund);
|
|
105621
105813
|
tool(tool$transfersCreateReversal);
|
|
105814
|
+
tool(tool$transfersGetRiskOutcomes);
|
|
105622
105815
|
tool(tool$underwritingGet);
|
|
105623
105816
|
tool(tool$underwritingSave);
|
|
105624
105817
|
tool(tool$underwritingUpsert);
|
|
@@ -105845,6 +106038,7 @@ var init_server2 = __esm(() => {
|
|
|
105845
106038
|
init_transfersGet2();
|
|
105846
106039
|
init_transfersGetCancellation2();
|
|
105847
106040
|
init_transfersGetRefund2();
|
|
106041
|
+
init_transfersGetRiskOutcomes2();
|
|
105848
106042
|
init_transfersInitiateRefund2();
|
|
105849
106043
|
init_transfersList2();
|
|
105850
106044
|
init_transfersListCancellations2();
|
|
@@ -107069,7 +107263,7 @@ var routes = rn({
|
|
|
107069
107263
|
var app = Ve(routes, {
|
|
107070
107264
|
name: "mcp",
|
|
107071
107265
|
versionInfo: {
|
|
107072
|
-
currentVersion: "26.
|
|
107266
|
+
currentVersion: "26.10.0-dev.1"
|
|
107073
107267
|
}
|
|
107074
107268
|
});
|
|
107075
107269
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -107077,5 +107271,5 @@ export {
|
|
|
107077
107271
|
app
|
|
107078
107272
|
};
|
|
107079
107273
|
|
|
107080
|
-
//# debugId=
|
|
107274
|
+
//# debugId=401F6AD454520D6364756E2164756E21
|
|
107081
107275
|
//# sourceMappingURL=mcp-server.js.map
|