@moovio/sdk 26.7.0-dev.5 → 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 +355 -155
- package/bin/mcp-server.js.map +19 -14
- 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 +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.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/cardbrandfees.d.ts +5 -0
- package/models/components/cardbrandfees.d.ts.map +1 -1
- package/models/components/cardbrandfees.js +2 -0
- package/models/components/cardbrandfees.js.map +1 -1
- 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 +4 -4
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- 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/cardbrandfees.ts +7 -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.
|
|
53655
|
-
genVersion: "2.
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 26.
|
|
53653
|
+
openapiDocVersion: "v2026.10.00",
|
|
53654
|
+
sdkVersion: "26.10.0-dev.0",
|
|
53655
|
+
genVersion: "2.917.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.10.0-dev.0 2.917.0 v2026.10.00 @moovio/sdk"
|
|
53657
53657
|
};
|
|
53658
53658
|
});
|
|
53659
53659
|
|
|
@@ -54075,11 +54075,11 @@ var init_encodings = __esm(() => {
|
|
|
54075
54075
|
|
|
54076
54076
|
// src/lib/http.ts
|
|
54077
54077
|
class HTTPClient {
|
|
54078
|
-
options;
|
|
54079
54078
|
fetcher;
|
|
54080
54079
|
requestHooks = [];
|
|
54081
54080
|
requestErrorHooks = [];
|
|
54082
54081
|
responseHooks = [];
|
|
54082
|
+
options;
|
|
54083
54083
|
constructor(options = {}) {
|
|
54084
54084
|
this.options = options;
|
|
54085
54085
|
this.fetcher = options.fetcher || DEFAULT_FETCHER;
|
|
@@ -55285,8 +55285,12 @@ async function extractSecurity(sec) {
|
|
|
55285
55285
|
}
|
|
55286
55286
|
return typeof sec === "function" ? sec() : sec;
|
|
55287
55287
|
}
|
|
55288
|
-
var SecurityError;
|
|
55288
|
+
var SecurityErrorCode, SecurityError;
|
|
55289
55289
|
var init_security = __esm(() => {
|
|
55290
|
+
SecurityErrorCode = {
|
|
55291
|
+
Incomplete: "incomplete",
|
|
55292
|
+
UnrecognisedSecurityType: "unrecognized_security_type"
|
|
55293
|
+
};
|
|
55290
55294
|
SecurityError = class SecurityError extends Error {
|
|
55291
55295
|
code;
|
|
55292
55296
|
constructor(code, message) {
|
|
@@ -55295,10 +55299,10 @@ var init_security = __esm(() => {
|
|
|
55295
55299
|
this.name = "SecurityError";
|
|
55296
55300
|
}
|
|
55297
55301
|
static incomplete() {
|
|
55298
|
-
return new SecurityError(
|
|
55302
|
+
return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
|
|
55299
55303
|
}
|
|
55300
55304
|
static unrecognizedType(type) {
|
|
55301
|
-
return new SecurityError(
|
|
55305
|
+
return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
|
|
55302
55306
|
}
|
|
55303
55307
|
};
|
|
55304
55308
|
});
|
|
@@ -61098,6 +61102,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
61098
61102
|
completedInternationalInPerson: optional3(BillingCountAndAmount$inboundSchema),
|
|
61099
61103
|
declines: optional3(BillingCountAndAmount$inboundSchema),
|
|
61100
61104
|
refunds: optional3(BillingCountAndAmount$inboundSchema),
|
|
61105
|
+
cardCancellations: optional3(BillingCountAndAmount$inboundSchema),
|
|
61101
61106
|
total: BillingCountAndAmount$inboundSchema
|
|
61102
61107
|
});
|
|
61103
61108
|
CardBrandFees$outboundSchema = objectType({
|
|
@@ -61110,6 +61115,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
61110
61115
|
completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
|
|
61111
61116
|
declines: BillingCountAndAmount$outboundSchema.optional(),
|
|
61112
61117
|
refunds: BillingCountAndAmount$outboundSchema.optional(),
|
|
61118
|
+
cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
|
|
61113
61119
|
total: BillingCountAndAmount$outboundSchema
|
|
61114
61120
|
});
|
|
61115
61121
|
});
|
|
@@ -62122,6 +62128,19 @@ var init_completemicrodeposits = __esm(() => {
|
|
|
62122
62128
|
});
|
|
62123
62129
|
});
|
|
62124
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
|
+
|
|
62125
62144
|
// src/models/components/createaccounttype.ts
|
|
62126
62145
|
var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema;
|
|
62127
62146
|
var init_createaccounttype = __esm(() => {
|
|
@@ -67603,6 +67622,22 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
67603
67622
|
});
|
|
67604
67623
|
});
|
|
67605
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
|
+
|
|
67606
67641
|
// src/models/components/taxidupdate.ts
|
|
67607
67642
|
var TaxIDUpdateEin$inboundSchema, TaxIDUpdateEin$outboundSchema, TaxIDUpdate$inboundSchema, TaxIDUpdate$outboundSchema;
|
|
67608
67643
|
var init_taxidupdate = __esm(() => {
|
|
@@ -71878,6 +71913,7 @@ var init_components = __esm(() => {
|
|
|
71878
71913
|
init_completedmicrodeposits();
|
|
71879
71914
|
init_completemicrodeposits();
|
|
71880
71915
|
init_contact();
|
|
71916
|
+
init_contributingrule();
|
|
71881
71917
|
init_createaccount();
|
|
71882
71918
|
init_createaccountsettings();
|
|
71883
71919
|
init_createaccounttype();
|
|
@@ -72104,6 +72140,7 @@ var init_components = __esm(() => {
|
|
|
72104
72140
|
init_partialscheduleaccount();
|
|
72105
72141
|
init_partnerfees();
|
|
72106
72142
|
init_partnerpricingagreement();
|
|
72143
|
+
init_partnerriskoutcomesresponse();
|
|
72107
72144
|
init_patchaccount();
|
|
72108
72145
|
init_patchbusiness();
|
|
72109
72146
|
init_patchindividual();
|
|
@@ -79032,6 +79069,49 @@ var init_gettransferconfig = __esm(() => {
|
|
|
79032
79069
|
});
|
|
79033
79070
|
});
|
|
79034
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
|
+
|
|
79035
79115
|
// src/models/operations/getunderwriting.ts
|
|
79036
79116
|
var GetUnderwritingRequest$inboundSchema, GetUnderwritingRequest$outboundSchema, GetUnderwritingResponse$inboundSchema, GetUnderwritingResponse$outboundSchema;
|
|
79037
79117
|
var init_getunderwriting = __esm(() => {
|
|
@@ -82967,6 +83047,7 @@ var init_operations = __esm(() => {
|
|
|
82967
83047
|
init_getticket();
|
|
82968
83048
|
init_gettransfer();
|
|
82969
83049
|
init_gettransferconfig();
|
|
83050
|
+
init_gettransferriskoutcomes();
|
|
82970
83051
|
init_getunderwriting();
|
|
82971
83052
|
init_getwallet();
|
|
82972
83053
|
init_getwallettransaction();
|
|
@@ -102603,11 +102684,128 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102603
102684
|
};
|
|
102604
102685
|
});
|
|
102605
102686
|
|
|
102606
|
-
// src/funcs/
|
|
102607
|
-
function
|
|
102687
|
+
// src/funcs/transfersGetRiskOutcomes.ts
|
|
102688
|
+
function transfersGetRiskOutcomes(client, request, options) {
|
|
102608
102689
|
return new APIPromise($do169(client, request, options));
|
|
102609
102690
|
}
|
|
102610
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) {
|
|
102611
102809
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102612
102810
|
if (!parsed.ok) {
|
|
102613
102811
|
return [parsed, { status: "invalid" }];
|
|
@@ -102699,12 +102897,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
102699
102897
|
});
|
|
102700
102898
|
|
|
102701
102899
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
102702
|
-
var
|
|
102900
|
+
var args165, tool$transfersInitiateRefund;
|
|
102703
102901
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
102704
102902
|
init_transfersInitiateRefund();
|
|
102705
102903
|
init_operations();
|
|
102706
102904
|
init_tools();
|
|
102707
|
-
|
|
102905
|
+
args165 = {
|
|
102708
102906
|
request: InitiateRefundRequest$inboundSchema
|
|
102709
102907
|
};
|
|
102710
102908
|
tool$transfersInitiateRefund = {
|
|
@@ -102716,9 +102914,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
102716
102914
|
|
|
102717
102915
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102718
102916
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
102719
|
-
args:
|
|
102720
|
-
tool: async (client,
|
|
102721
|
-
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();
|
|
102722
102920
|
if (!result.ok) {
|
|
102723
102921
|
return {
|
|
102724
102922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102733,9 +102931,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102733
102931
|
|
|
102734
102932
|
// src/funcs/transfersList.ts
|
|
102735
102933
|
function transfersList(client, request, options) {
|
|
102736
|
-
return new APIPromise($
|
|
102934
|
+
return new APIPromise($do171(client, request, options));
|
|
102737
102935
|
}
|
|
102738
|
-
async function $
|
|
102936
|
+
async function $do171(client, request, options) {
|
|
102739
102937
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102740
102938
|
if (!parsed.ok) {
|
|
102741
102939
|
return [parsed, { status: "invalid" }];
|
|
@@ -102831,12 +103029,12 @@ var init_transfersList = __esm(() => {
|
|
|
102831
103029
|
});
|
|
102832
103030
|
|
|
102833
103031
|
// src/mcp-server/tools/transfersList.ts
|
|
102834
|
-
var
|
|
103032
|
+
var args166, tool$transfersList;
|
|
102835
103033
|
var init_transfersList2 = __esm(() => {
|
|
102836
103034
|
init_transfersList();
|
|
102837
103035
|
init_operations();
|
|
102838
103036
|
init_tools();
|
|
102839
|
-
|
|
103037
|
+
args166 = {
|
|
102840
103038
|
request: ListTransfersRequest$inboundSchema
|
|
102841
103039
|
};
|
|
102842
103040
|
tool$transfersList = {
|
|
@@ -102852,9 +103050,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
102852
103050
|
|
|
102853
103051
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102854
103052
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102855
|
-
args:
|
|
102856
|
-
tool: async (client,
|
|
102857
|
-
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();
|
|
102858
103056
|
if (!result.ok) {
|
|
102859
103057
|
return {
|
|
102860
103058
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102869,9 +103067,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102869
103067
|
|
|
102870
103068
|
// src/funcs/transfersListCancellations.ts
|
|
102871
103069
|
function transfersListCancellations(client, request, options) {
|
|
102872
|
-
return new APIPromise($
|
|
103070
|
+
return new APIPromise($do172(client, request, options));
|
|
102873
103071
|
}
|
|
102874
|
-
async function $
|
|
103072
|
+
async function $do172(client, request, options) {
|
|
102875
103073
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102876
103074
|
if (!parsed.ok) {
|
|
102877
103075
|
return [parsed, { status: "invalid" }];
|
|
@@ -102953,12 +103151,12 @@ var init_transfersListCancellations = __esm(() => {
|
|
|
102953
103151
|
});
|
|
102954
103152
|
|
|
102955
103153
|
// src/mcp-server/tools/transfersListCancellations.ts
|
|
102956
|
-
var
|
|
103154
|
+
var args167, tool$transfersListCancellations;
|
|
102957
103155
|
var init_transfersListCancellations2 = __esm(() => {
|
|
102958
103156
|
init_transfersListCancellations();
|
|
102959
103157
|
init_operations();
|
|
102960
103158
|
init_tools();
|
|
102961
|
-
|
|
103159
|
+
args167 = {
|
|
102962
103160
|
request: ListCancellationsRequest$inboundSchema
|
|
102963
103161
|
};
|
|
102964
103162
|
tool$transfersListCancellations = {
|
|
@@ -102967,9 +103165,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
102967
103165
|
|
|
102968
103166
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
102969
103167
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102970
|
-
args:
|
|
102971
|
-
tool: async (client,
|
|
102972
|
-
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();
|
|
102973
103171
|
if (!result.ok) {
|
|
102974
103172
|
return {
|
|
102975
103173
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102984,9 +103182,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
102984
103182
|
|
|
102985
103183
|
// src/funcs/transfersListRefunds.ts
|
|
102986
103184
|
function transfersListRefunds(client, request, options) {
|
|
102987
|
-
return new APIPromise($
|
|
103185
|
+
return new APIPromise($do173(client, request, options));
|
|
102988
103186
|
}
|
|
102989
|
-
async function $
|
|
103187
|
+
async function $do173(client, request, options) {
|
|
102990
103188
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102991
103189
|
if (!parsed.ok) {
|
|
102992
103190
|
return [parsed, { status: "invalid" }];
|
|
@@ -103068,12 +103266,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
103068
103266
|
});
|
|
103069
103267
|
|
|
103070
103268
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
103071
|
-
var
|
|
103269
|
+
var args168, tool$transfersListRefunds;
|
|
103072
103270
|
var init_transfersListRefunds2 = __esm(() => {
|
|
103073
103271
|
init_transfersListRefunds();
|
|
103074
103272
|
init_operations();
|
|
103075
103273
|
init_tools();
|
|
103076
|
-
|
|
103274
|
+
args168 = {
|
|
103077
103275
|
request: ListRefundsRequest$inboundSchema
|
|
103078
103276
|
};
|
|
103079
103277
|
tool$transfersListRefunds = {
|
|
@@ -103082,9 +103280,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
103082
103280
|
|
|
103083
103281
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103084
103282
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103085
|
-
args:
|
|
103086
|
-
tool: async (client,
|
|
103087
|
-
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();
|
|
103088
103286
|
if (!result.ok) {
|
|
103089
103287
|
return {
|
|
103090
103288
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103099,9 +103297,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103099
103297
|
|
|
103100
103298
|
// src/funcs/transfersUpdate.ts
|
|
103101
103299
|
function transfersUpdate(client, request, options) {
|
|
103102
|
-
return new APIPromise($
|
|
103300
|
+
return new APIPromise($do174(client, request, options));
|
|
103103
103301
|
}
|
|
103104
|
-
async function $
|
|
103302
|
+
async function $do174(client, request, options) {
|
|
103105
103303
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103106
103304
|
if (!parsed.ok) {
|
|
103107
103305
|
return [parsed, { status: "invalid" }];
|
|
@@ -103187,12 +103385,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
103187
103385
|
});
|
|
103188
103386
|
|
|
103189
103387
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
103190
|
-
var
|
|
103388
|
+
var args169, tool$transfersUpdate;
|
|
103191
103389
|
var init_transfersUpdate2 = __esm(() => {
|
|
103192
103390
|
init_transfersUpdate();
|
|
103193
103391
|
init_operations();
|
|
103194
103392
|
init_tools();
|
|
103195
|
-
|
|
103393
|
+
args169 = {
|
|
103196
103394
|
request: UpdateTransferRequest$inboundSchema
|
|
103197
103395
|
};
|
|
103198
103396
|
tool$transfersUpdate = {
|
|
@@ -103203,9 +103401,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
103203
103401
|
|
|
103204
103402
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103205
103403
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
103206
|
-
args:
|
|
103207
|
-
tool: async (client,
|
|
103208
|
-
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();
|
|
103209
103407
|
if (!result.ok) {
|
|
103210
103408
|
return {
|
|
103211
103409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103220,9 +103418,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103220
103418
|
|
|
103221
103419
|
// src/funcs/underwritingGet.ts
|
|
103222
103420
|
function underwritingGet(client, request, options) {
|
|
103223
|
-
return new APIPromise($
|
|
103421
|
+
return new APIPromise($do175(client, request, options));
|
|
103224
103422
|
}
|
|
103225
|
-
async function $
|
|
103423
|
+
async function $do175(client, request, options) {
|
|
103226
103424
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103227
103425
|
if (!parsed.ok) {
|
|
103228
103426
|
return [parsed, { status: "invalid" }];
|
|
@@ -103300,12 +103498,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
103300
103498
|
});
|
|
103301
103499
|
|
|
103302
103500
|
// src/mcp-server/tools/underwritingGet.ts
|
|
103303
|
-
var
|
|
103501
|
+
var args170, tool$underwritingGet;
|
|
103304
103502
|
var init_underwritingGet2 = __esm(() => {
|
|
103305
103503
|
init_underwritingGet();
|
|
103306
103504
|
init_operations();
|
|
103307
103505
|
init_tools();
|
|
103308
|
-
|
|
103506
|
+
args170 = {
|
|
103309
103507
|
request: GetUnderwritingRequest$inboundSchema
|
|
103310
103508
|
};
|
|
103311
103509
|
tool$underwritingGet = {
|
|
@@ -103316,9 +103514,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103316
103514
|
|
|
103317
103515
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103318
103516
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
103319
|
-
args:
|
|
103320
|
-
tool: async (client,
|
|
103321
|
-
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();
|
|
103322
103520
|
if (!result.ok) {
|
|
103323
103521
|
return {
|
|
103324
103522
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103333,9 +103531,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103333
103531
|
|
|
103334
103532
|
// src/funcs/underwritingSave.ts
|
|
103335
103533
|
function underwritingSave(client, request, options) {
|
|
103336
|
-
return new APIPromise($
|
|
103534
|
+
return new APIPromise($do176(client, request, options));
|
|
103337
103535
|
}
|
|
103338
|
-
async function $
|
|
103536
|
+
async function $do176(client, request, options) {
|
|
103339
103537
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103340
103538
|
if (!parsed.ok) {
|
|
103341
103539
|
return [parsed, { status: "invalid" }];
|
|
@@ -103419,12 +103617,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
103419
103617
|
});
|
|
103420
103618
|
|
|
103421
103619
|
// src/mcp-server/tools/underwritingSave.ts
|
|
103422
|
-
var
|
|
103620
|
+
var args171, tool$underwritingSave;
|
|
103423
103621
|
var init_underwritingSave2 = __esm(() => {
|
|
103424
103622
|
init_underwritingSave();
|
|
103425
103623
|
init_operations();
|
|
103426
103624
|
init_tools();
|
|
103427
|
-
|
|
103625
|
+
args171 = {
|
|
103428
103626
|
request: SaveUnderwritingRequest$inboundSchema
|
|
103429
103627
|
};
|
|
103430
103628
|
tool$underwritingSave = {
|
|
@@ -103435,9 +103633,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103435
103633
|
|
|
103436
103634
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103437
103635
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103438
|
-
args:
|
|
103439
|
-
tool: async (client,
|
|
103440
|
-
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();
|
|
103441
103639
|
if (!result.ok) {
|
|
103442
103640
|
return {
|
|
103443
103641
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103452,9 +103650,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103452
103650
|
|
|
103453
103651
|
// src/funcs/underwritingUpsert.ts
|
|
103454
103652
|
function underwritingUpsert(client, request, options) {
|
|
103455
|
-
return new APIPromise($
|
|
103653
|
+
return new APIPromise($do177(client, request, options));
|
|
103456
103654
|
}
|
|
103457
|
-
async function $
|
|
103655
|
+
async function $do177(client, request, options) {
|
|
103458
103656
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103459
103657
|
if (!parsed.ok) {
|
|
103460
103658
|
return [parsed, { status: "invalid" }];
|
|
@@ -103538,12 +103736,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
103538
103736
|
});
|
|
103539
103737
|
|
|
103540
103738
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
103541
|
-
var
|
|
103739
|
+
var args172, tool$underwritingUpsert;
|
|
103542
103740
|
var init_underwritingUpsert2 = __esm(() => {
|
|
103543
103741
|
init_underwritingUpsert();
|
|
103544
103742
|
init_operations();
|
|
103545
103743
|
init_tools();
|
|
103546
|
-
|
|
103744
|
+
args172 = {
|
|
103547
103745
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
103548
103746
|
};
|
|
103549
103747
|
tool$underwritingUpsert = {
|
|
@@ -103554,9 +103752,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103554
103752
|
|
|
103555
103753
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103556
103754
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103557
|
-
args:
|
|
103558
|
-
tool: async (client,
|
|
103559
|
-
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();
|
|
103560
103758
|
if (!result.ok) {
|
|
103561
103759
|
return {
|
|
103562
103760
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103571,9 +103769,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103571
103769
|
|
|
103572
103770
|
// src/funcs/walletsCreate.ts
|
|
103573
103771
|
function walletsCreate(client, request, options) {
|
|
103574
|
-
return new APIPromise($
|
|
103772
|
+
return new APIPromise($do178(client, request, options));
|
|
103575
103773
|
}
|
|
103576
|
-
async function $
|
|
103774
|
+
async function $do178(client, request, options) {
|
|
103577
103775
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103578
103776
|
if (!parsed.ok) {
|
|
103579
103777
|
return [parsed, { status: "invalid" }];
|
|
@@ -103655,12 +103853,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
103655
103853
|
});
|
|
103656
103854
|
|
|
103657
103855
|
// src/mcp-server/tools/walletsCreate.ts
|
|
103658
|
-
var
|
|
103856
|
+
var args173, tool$walletsCreate;
|
|
103659
103857
|
var init_walletsCreate2 = __esm(() => {
|
|
103660
103858
|
init_walletsCreate();
|
|
103661
103859
|
init_operations();
|
|
103662
103860
|
init_tools();
|
|
103663
|
-
|
|
103861
|
+
args173 = {
|
|
103664
103862
|
request: CreateWalletRequest$inboundSchema
|
|
103665
103863
|
};
|
|
103666
103864
|
tool$walletsCreate = {
|
|
@@ -103671,9 +103869,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103671
103869
|
|
|
103672
103870
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103673
103871
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
103674
|
-
args:
|
|
103675
|
-
tool: async (client,
|
|
103676
|
-
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();
|
|
103677
103875
|
if (!result.ok) {
|
|
103678
103876
|
return {
|
|
103679
103877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103688,9 +103886,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103688
103886
|
|
|
103689
103887
|
// src/funcs/walletsGet.ts
|
|
103690
103888
|
function walletsGet(client, request, options) {
|
|
103691
|
-
return new APIPromise($
|
|
103889
|
+
return new APIPromise($do179(client, request, options));
|
|
103692
103890
|
}
|
|
103693
|
-
async function $
|
|
103891
|
+
async function $do179(client, request, options) {
|
|
103694
103892
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103695
103893
|
if (!parsed.ok) {
|
|
103696
103894
|
return [parsed, { status: "invalid" }];
|
|
@@ -103772,12 +103970,12 @@ var init_walletsGet = __esm(() => {
|
|
|
103772
103970
|
});
|
|
103773
103971
|
|
|
103774
103972
|
// src/mcp-server/tools/walletsGet.ts
|
|
103775
|
-
var
|
|
103973
|
+
var args174, tool$walletsGet;
|
|
103776
103974
|
var init_walletsGet2 = __esm(() => {
|
|
103777
103975
|
init_walletsGet();
|
|
103778
103976
|
init_operations();
|
|
103779
103977
|
init_tools();
|
|
103780
|
-
|
|
103978
|
+
args174 = {
|
|
103781
103979
|
request: GetWalletRequest$inboundSchema
|
|
103782
103980
|
};
|
|
103783
103981
|
tool$walletsGet = {
|
|
@@ -103788,9 +103986,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103788
103986
|
|
|
103789
103987
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103790
103988
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103791
|
-
args:
|
|
103792
|
-
tool: async (client,
|
|
103793
|
-
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();
|
|
103794
103992
|
if (!result.ok) {
|
|
103795
103993
|
return {
|
|
103796
103994
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103805,9 +104003,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103805
104003
|
|
|
103806
104004
|
// src/funcs/walletsList.ts
|
|
103807
104005
|
function walletsList(client, request, options) {
|
|
103808
|
-
return new APIPromise($
|
|
104006
|
+
return new APIPromise($do180(client, request, options));
|
|
103809
104007
|
}
|
|
103810
|
-
async function $
|
|
104008
|
+
async function $do180(client, request, options) {
|
|
103811
104009
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103812
104010
|
if (!parsed.ok) {
|
|
103813
104011
|
return [parsed, { status: "invalid" }];
|
|
@@ -103895,12 +104093,12 @@ var init_walletsList = __esm(() => {
|
|
|
103895
104093
|
});
|
|
103896
104094
|
|
|
103897
104095
|
// src/mcp-server/tools/walletsList.ts
|
|
103898
|
-
var
|
|
104096
|
+
var args175, tool$walletsList;
|
|
103899
104097
|
var init_walletsList2 = __esm(() => {
|
|
103900
104098
|
init_walletsList();
|
|
103901
104099
|
init_operations();
|
|
103902
104100
|
init_tools();
|
|
103903
|
-
|
|
104101
|
+
args175 = {
|
|
103904
104102
|
request: ListWalletsRequest$inboundSchema
|
|
103905
104103
|
};
|
|
103906
104104
|
tool$walletsList = {
|
|
@@ -103911,9 +104109,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103911
104109
|
|
|
103912
104110
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103913
104111
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103914
|
-
args:
|
|
103915
|
-
tool: async (client,
|
|
103916
|
-
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();
|
|
103917
104115
|
if (!result.ok) {
|
|
103918
104116
|
return {
|
|
103919
104117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103928,9 +104126,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103928
104126
|
|
|
103929
104127
|
// src/funcs/walletsUpdate.ts
|
|
103930
104128
|
function walletsUpdate(client, request, options) {
|
|
103931
|
-
return new APIPromise($
|
|
104129
|
+
return new APIPromise($do181(client, request, options));
|
|
103932
104130
|
}
|
|
103933
|
-
async function $
|
|
104131
|
+
async function $do181(client, request, options) {
|
|
103934
104132
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103935
104133
|
if (!parsed.ok) {
|
|
103936
104134
|
return [parsed, { status: "invalid" }];
|
|
@@ -104016,12 +104214,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
104016
104214
|
});
|
|
104017
104215
|
|
|
104018
104216
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
104019
|
-
var
|
|
104217
|
+
var args176, tool$walletsUpdate;
|
|
104020
104218
|
var init_walletsUpdate2 = __esm(() => {
|
|
104021
104219
|
init_walletsUpdate();
|
|
104022
104220
|
init_operations();
|
|
104023
104221
|
init_tools();
|
|
104024
|
-
|
|
104222
|
+
args176 = {
|
|
104025
104223
|
request: UpdateWalletRequest$inboundSchema
|
|
104026
104224
|
};
|
|
104027
104225
|
tool$walletsUpdate = {
|
|
@@ -104032,9 +104230,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104032
104230
|
|
|
104033
104231
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104034
104232
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
104035
|
-
args:
|
|
104036
|
-
tool: async (client,
|
|
104037
|
-
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();
|
|
104038
104236
|
if (!result.ok) {
|
|
104039
104237
|
return {
|
|
104040
104238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104049,9 +104247,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104049
104247
|
|
|
104050
104248
|
// src/funcs/walletTransactionsGet.ts
|
|
104051
104249
|
function walletTransactionsGet(client, request, options) {
|
|
104052
|
-
return new APIPromise($
|
|
104250
|
+
return new APIPromise($do182(client, request, options));
|
|
104053
104251
|
}
|
|
104054
|
-
async function $
|
|
104252
|
+
async function $do182(client, request, options) {
|
|
104055
104253
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104056
104254
|
if (!parsed.ok) {
|
|
104057
104255
|
return [parsed, { status: "invalid" }];
|
|
@@ -104137,12 +104335,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
104137
104335
|
});
|
|
104138
104336
|
|
|
104139
104337
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
104140
|
-
var
|
|
104338
|
+
var args177, tool$walletTransactionsGet;
|
|
104141
104339
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
104142
104340
|
init_walletTransactionsGet();
|
|
104143
104341
|
init_operations();
|
|
104144
104342
|
init_tools();
|
|
104145
|
-
|
|
104343
|
+
args177 = {
|
|
104146
104344
|
request: GetWalletTransactionRequest$inboundSchema
|
|
104147
104345
|
};
|
|
104148
104346
|
tool$walletTransactionsGet = {
|
|
@@ -104153,9 +104351,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104153
104351
|
|
|
104154
104352
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104155
104353
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104156
|
-
args:
|
|
104157
|
-
tool: async (client,
|
|
104158
|
-
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();
|
|
104159
104357
|
if (!result.ok) {
|
|
104160
104358
|
return {
|
|
104161
104359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104170,9 +104368,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104170
104368
|
|
|
104171
104369
|
// src/funcs/walletTransactionsList.ts
|
|
104172
104370
|
function walletTransactionsList(client, request, options) {
|
|
104173
|
-
return new APIPromise($
|
|
104371
|
+
return new APIPromise($do183(client, request, options));
|
|
104174
104372
|
}
|
|
104175
|
-
async function $
|
|
104373
|
+
async function $do183(client, request, options) {
|
|
104176
104374
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104177
104375
|
if (!parsed.ok) {
|
|
104178
104376
|
return [parsed, { status: "invalid" }];
|
|
@@ -104272,12 +104470,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
104272
104470
|
});
|
|
104273
104471
|
|
|
104274
104472
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
104275
|
-
var
|
|
104473
|
+
var args178, tool$walletTransactionsList;
|
|
104276
104474
|
var init_walletTransactionsList2 = __esm(() => {
|
|
104277
104475
|
init_walletTransactionsList();
|
|
104278
104476
|
init_operations();
|
|
104279
104477
|
init_tools();
|
|
104280
|
-
|
|
104478
|
+
args178 = {
|
|
104281
104479
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
104282
104480
|
};
|
|
104283
104481
|
tool$walletTransactionsList = {
|
|
@@ -104288,9 +104486,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104288
104486
|
|
|
104289
104487
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104290
104488
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104291
|
-
args:
|
|
104292
|
-
tool: async (client,
|
|
104293
|
-
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();
|
|
104294
104492
|
if (!result.ok) {
|
|
104295
104493
|
return {
|
|
104296
104494
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104305,9 +104503,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104305
104503
|
|
|
104306
104504
|
// src/funcs/webhooksCreate.ts
|
|
104307
104505
|
function webhooksCreate(client, request, options) {
|
|
104308
|
-
return new APIPromise($
|
|
104506
|
+
return new APIPromise($do184(client, request, options));
|
|
104309
104507
|
}
|
|
104310
|
-
async function $
|
|
104508
|
+
async function $do184(client, request, options) {
|
|
104311
104509
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104312
104510
|
if (!parsed.ok) {
|
|
104313
104511
|
return [parsed, { status: "invalid" }];
|
|
@@ -104384,20 +104582,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
104384
104582
|
});
|
|
104385
104583
|
|
|
104386
104584
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
104387
|
-
var
|
|
104585
|
+
var args179, tool$webhooksCreate;
|
|
104388
104586
|
var init_webhooksCreate2 = __esm(() => {
|
|
104389
104587
|
init_webhooksCreate();
|
|
104390
104588
|
init_components();
|
|
104391
104589
|
init_tools();
|
|
104392
|
-
|
|
104590
|
+
args179 = {
|
|
104393
104591
|
request: CreateWebhook$inboundSchema
|
|
104394
104592
|
};
|
|
104395
104593
|
tool$webhooksCreate = {
|
|
104396
104594
|
name: "webhooks-create",
|
|
104397
104595
|
description: `Create a new webhook for the account.`,
|
|
104398
|
-
args:
|
|
104399
|
-
tool: async (client,
|
|
104400
|
-
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();
|
|
104401
104599
|
if (!result.ok) {
|
|
104402
104600
|
return {
|
|
104403
104601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104412,9 +104610,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104412
104610
|
|
|
104413
104611
|
// src/funcs/webhooksDisable.ts
|
|
104414
104612
|
function webhooksDisable(client, request, options) {
|
|
104415
|
-
return new APIPromise($
|
|
104613
|
+
return new APIPromise($do185(client, request, options));
|
|
104416
104614
|
}
|
|
104417
|
-
async function $
|
|
104615
|
+
async function $do185(client, request, options) {
|
|
104418
104616
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104419
104617
|
if (!parsed.ok) {
|
|
104420
104618
|
return [parsed, { status: "invalid" }];
|
|
@@ -104491,20 +104689,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
104491
104689
|
});
|
|
104492
104690
|
|
|
104493
104691
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
104494
|
-
var
|
|
104692
|
+
var args180, tool$webhooksDisable;
|
|
104495
104693
|
var init_webhooksDisable2 = __esm(() => {
|
|
104496
104694
|
init_webhooksDisable();
|
|
104497
104695
|
init_operations();
|
|
104498
104696
|
init_tools();
|
|
104499
|
-
|
|
104697
|
+
args180 = {
|
|
104500
104698
|
request: DisableWebhookRequest$inboundSchema
|
|
104501
104699
|
};
|
|
104502
104700
|
tool$webhooksDisable = {
|
|
104503
104701
|
name: "webhooks-disable",
|
|
104504
104702
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
104505
|
-
args:
|
|
104506
|
-
tool: async (client,
|
|
104507
|
-
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();
|
|
104508
104706
|
if (!result.ok) {
|
|
104509
104707
|
return {
|
|
104510
104708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104518,9 +104716,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104518
104716
|
|
|
104519
104717
|
// src/funcs/webhooksGet.ts
|
|
104520
104718
|
function webhooksGet(client, request, options) {
|
|
104521
|
-
return new APIPromise($
|
|
104719
|
+
return new APIPromise($do186(client, request, options));
|
|
104522
104720
|
}
|
|
104523
|
-
async function $
|
|
104721
|
+
async function $do186(client, request, options) {
|
|
104524
104722
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104525
104723
|
if (!parsed.ok) {
|
|
104526
104724
|
return [parsed, { status: "invalid" }];
|
|
@@ -104598,20 +104796,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
104598
104796
|
});
|
|
104599
104797
|
|
|
104600
104798
|
// src/mcp-server/tools/webhooksGet.ts
|
|
104601
|
-
var
|
|
104799
|
+
var args181, tool$webhooksGet;
|
|
104602
104800
|
var init_webhooksGet2 = __esm(() => {
|
|
104603
104801
|
init_webhooksGet();
|
|
104604
104802
|
init_operations();
|
|
104605
104803
|
init_tools();
|
|
104606
|
-
|
|
104804
|
+
args181 = {
|
|
104607
104805
|
request: GetWebhookRequest$inboundSchema
|
|
104608
104806
|
};
|
|
104609
104807
|
tool$webhooksGet = {
|
|
104610
104808
|
name: "webhooks-get",
|
|
104611
104809
|
description: `Get details of a specific webhook.`,
|
|
104612
|
-
args:
|
|
104613
|
-
tool: async (client,
|
|
104614
|
-
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();
|
|
104615
104813
|
if (!result.ok) {
|
|
104616
104814
|
return {
|
|
104617
104815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104626,9 +104824,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104626
104824
|
|
|
104627
104825
|
// src/funcs/webhooksGetSecret.ts
|
|
104628
104826
|
function webhooksGetSecret(client, request, options) {
|
|
104629
|
-
return new APIPromise($
|
|
104827
|
+
return new APIPromise($do187(client, request, options));
|
|
104630
104828
|
}
|
|
104631
|
-
async function $
|
|
104829
|
+
async function $do187(client, request, options) {
|
|
104632
104830
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104633
104831
|
if (!parsed.ok) {
|
|
104634
104832
|
return [parsed, { status: "invalid" }];
|
|
@@ -104706,20 +104904,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
104706
104904
|
});
|
|
104707
104905
|
|
|
104708
104906
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
104709
|
-
var
|
|
104907
|
+
var args182, tool$webhooksGetSecret;
|
|
104710
104908
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
104711
104909
|
init_webhooksGetSecret();
|
|
104712
104910
|
init_operations();
|
|
104713
104911
|
init_tools();
|
|
104714
|
-
|
|
104912
|
+
args182 = {
|
|
104715
104913
|
request: GetWebhookSecretRequest$inboundSchema
|
|
104716
104914
|
};
|
|
104717
104915
|
tool$webhooksGetSecret = {
|
|
104718
104916
|
name: "webhooks-get-secret",
|
|
104719
104917
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
104720
|
-
args:
|
|
104721
|
-
tool: async (client,
|
|
104722
|
-
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();
|
|
104723
104921
|
if (!result.ok) {
|
|
104724
104922
|
return {
|
|
104725
104923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104734,9 +104932,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104734
104932
|
|
|
104735
104933
|
// src/funcs/webhooksList.ts
|
|
104736
104934
|
function webhooksList(client, options) {
|
|
104737
|
-
return new APIPromise($
|
|
104935
|
+
return new APIPromise($do188(client, options));
|
|
104738
104936
|
}
|
|
104739
|
-
async function $
|
|
104937
|
+
async function $do188(client, options) {
|
|
104740
104938
|
const path = pathToFunc("/webhooks")();
|
|
104741
104939
|
const headers = new Headers(compactMap({
|
|
104742
104940
|
Accept: "application/json"
|
|
@@ -104822,9 +105020,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
104822
105020
|
|
|
104823
105021
|
// src/funcs/webhooksListEventTypes.ts
|
|
104824
105022
|
function webhooksListEventTypes(client, options) {
|
|
104825
|
-
return new APIPromise($
|
|
105023
|
+
return new APIPromise($do189(client, options));
|
|
104826
105024
|
}
|
|
104827
|
-
async function $
|
|
105025
|
+
async function $do189(client, options) {
|
|
104828
105026
|
const path = pathToFunc("/event-types")();
|
|
104829
105027
|
const headers = new Headers(compactMap({
|
|
104830
105028
|
Accept: "application/json"
|
|
@@ -104910,9 +105108,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104910
105108
|
|
|
104911
105109
|
// src/funcs/webhooksPing.ts
|
|
104912
105110
|
function webhooksPing(client, request, options) {
|
|
104913
|
-
return new APIPromise($
|
|
105111
|
+
return new APIPromise($do190(client, request, options));
|
|
104914
105112
|
}
|
|
104915
|
-
async function $
|
|
105113
|
+
async function $do190(client, request, options) {
|
|
104916
105114
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104917
105115
|
if (!parsed.ok) {
|
|
104918
105116
|
return [parsed, { status: "invalid" }];
|
|
@@ -104990,20 +105188,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
104990
105188
|
});
|
|
104991
105189
|
|
|
104992
105190
|
// src/mcp-server/tools/webhooksPing.ts
|
|
104993
|
-
var
|
|
105191
|
+
var args183, tool$webhooksPing;
|
|
104994
105192
|
var init_webhooksPing2 = __esm(() => {
|
|
104995
105193
|
init_webhooksPing();
|
|
104996
105194
|
init_operations();
|
|
104997
105195
|
init_tools();
|
|
104998
|
-
|
|
105196
|
+
args183 = {
|
|
104999
105197
|
request: PingWebhookRequest$inboundSchema
|
|
105000
105198
|
};
|
|
105001
105199
|
tool$webhooksPing = {
|
|
105002
105200
|
name: "webhooks-ping",
|
|
105003
105201
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
105004
|
-
args:
|
|
105005
|
-
tool: async (client,
|
|
105006
|
-
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();
|
|
105007
105205
|
if (!result.ok) {
|
|
105008
105206
|
return {
|
|
105009
105207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105018,9 +105216,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105018
105216
|
|
|
105019
105217
|
// src/funcs/webhooksUpdate.ts
|
|
105020
105218
|
function webhooksUpdate(client, request, options) {
|
|
105021
|
-
return new APIPromise($
|
|
105219
|
+
return new APIPromise($do191(client, request, options));
|
|
105022
105220
|
}
|
|
105023
|
-
async function $
|
|
105221
|
+
async function $do191(client, request, options) {
|
|
105024
105222
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105025
105223
|
if (!parsed.ok) {
|
|
105026
105224
|
return [parsed, { status: "invalid" }];
|
|
@@ -105102,20 +105300,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
105102
105300
|
});
|
|
105103
105301
|
|
|
105104
105302
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
105105
|
-
var
|
|
105303
|
+
var args184, tool$webhooksUpdate;
|
|
105106
105304
|
var init_webhooksUpdate2 = __esm(() => {
|
|
105107
105305
|
init_webhooksUpdate();
|
|
105108
105306
|
init_operations();
|
|
105109
105307
|
init_tools();
|
|
105110
|
-
|
|
105308
|
+
args184 = {
|
|
105111
105309
|
request: UpdateWebhookRequest$inboundSchema
|
|
105112
105310
|
};
|
|
105113
105311
|
tool$webhooksUpdate = {
|
|
105114
105312
|
name: "webhooks-update",
|
|
105115
105313
|
description: `Update an existing webhook.`,
|
|
105116
|
-
args:
|
|
105117
|
-
tool: async (client,
|
|
105118
|
-
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();
|
|
105119
105317
|
if (!result.ok) {
|
|
105120
105318
|
return {
|
|
105121
105319
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105132,7 +105330,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105132
105330
|
function createMCPServer(deps) {
|
|
105133
105331
|
const server = new McpServer({
|
|
105134
105332
|
name: "Moov",
|
|
105135
|
-
version: "26.
|
|
105333
|
+
version: "26.10.0-dev.0"
|
|
105136
105334
|
});
|
|
105137
105335
|
const client = new MoovCore({
|
|
105138
105336
|
security: deps.security,
|
|
@@ -105287,6 +105485,7 @@ function createMCPServer(deps) {
|
|
|
105287
105485
|
tool(tool$transfersListRefunds);
|
|
105288
105486
|
tool(tool$transfersGetRefund);
|
|
105289
105487
|
tool(tool$transfersCreateReversal);
|
|
105488
|
+
tool(tool$transfersGetRiskOutcomes);
|
|
105290
105489
|
tool(tool$underwritingGet);
|
|
105291
105490
|
tool(tool$underwritingSave);
|
|
105292
105491
|
tool(tool$underwritingUpsert);
|
|
@@ -105512,6 +105711,7 @@ var init_server2 = __esm(() => {
|
|
|
105512
105711
|
init_transfersGet2();
|
|
105513
105712
|
init_transfersGetCancellation2();
|
|
105514
105713
|
init_transfersGetRefund2();
|
|
105714
|
+
init_transfersGetRiskOutcomes2();
|
|
105515
105715
|
init_transfersInitiateRefund2();
|
|
105516
105716
|
init_transfersList2();
|
|
105517
105717
|
init_transfersListCancellations2();
|
|
@@ -106736,7 +106936,7 @@ var routes = rn({
|
|
|
106736
106936
|
var app = Ve(routes, {
|
|
106737
106937
|
name: "mcp",
|
|
106738
106938
|
versionInfo: {
|
|
106739
|
-
currentVersion: "26.
|
|
106939
|
+
currentVersion: "26.10.0-dev.0"
|
|
106740
106940
|
}
|
|
106741
106941
|
});
|
|
106742
106942
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106744,5 +106944,5 @@ export {
|
|
|
106744
106944
|
app
|
|
106745
106945
|
};
|
|
106746
106946
|
|
|
106747
|
-
//# debugId=
|
|
106947
|
+
//# debugId=8D6E2C0D5CDCE32964756E2164756E21
|
|
106748
106948
|
//# sourceMappingURL=mcp-server.js.map
|