@moovio/sdk 0.0.0-dev.26 → 0.0.0-dev.27
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 +354 -154
- 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 +3 -3
- package/lib/config.js +3 -3
- 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/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 +3 -3
- 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
|
@@ -53651,9 +53651,9 @@ var init_config = __esm(() => {
|
|
|
53651
53651
|
SDK_METADATA = {
|
|
53652
53652
|
language: "typescript",
|
|
53653
53653
|
openapiDocVersion: "dev",
|
|
53654
|
-
sdkVersion: "0.0.0-dev.
|
|
53655
|
-
genVersion: "2.
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
53654
|
+
sdkVersion: "0.0.0-dev.27",
|
|
53655
|
+
genVersion: "2.917.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.27 2.917.0 dev @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(() => {
|
|
@@ -67621,6 +67640,22 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
67621
67640
|
});
|
|
67622
67641
|
});
|
|
67623
67642
|
|
|
67643
|
+
// src/models/components/partnerriskoutcomesresponse.ts
|
|
67644
|
+
var PartnerRiskOutcomesResponse$inboundSchema, PartnerRiskOutcomesResponse$outboundSchema;
|
|
67645
|
+
var init_partnerriskoutcomesresponse = __esm(() => {
|
|
67646
|
+
init_v3();
|
|
67647
|
+
init_primitives2();
|
|
67648
|
+
init_contributingrule();
|
|
67649
|
+
PartnerRiskOutcomesResponse$inboundSchema = objectType({
|
|
67650
|
+
transferID: string4(),
|
|
67651
|
+
contributingRules: arrayType(ContributingRule$inboundSchema)
|
|
67652
|
+
});
|
|
67653
|
+
PartnerRiskOutcomesResponse$outboundSchema = objectType({
|
|
67654
|
+
transferID: stringType(),
|
|
67655
|
+
contributingRules: arrayType(ContributingRule$outboundSchema)
|
|
67656
|
+
});
|
|
67657
|
+
});
|
|
67658
|
+
|
|
67624
67659
|
// src/models/components/taxidupdate.ts
|
|
67625
67660
|
var TaxIDUpdateEin$inboundSchema, TaxIDUpdateEin$outboundSchema, TaxIDUpdate$inboundSchema, TaxIDUpdate$outboundSchema;
|
|
67626
67661
|
var init_taxidupdate = __esm(() => {
|
|
@@ -71899,6 +71934,7 @@ var init_components = __esm(() => {
|
|
|
71899
71934
|
init_completedmicrodeposits();
|
|
71900
71935
|
init_completemicrodeposits();
|
|
71901
71936
|
init_contact();
|
|
71937
|
+
init_contributingrule();
|
|
71902
71938
|
init_createaccount();
|
|
71903
71939
|
init_createaccountsettings();
|
|
71904
71940
|
init_createaccounttype();
|
|
@@ -72125,6 +72161,7 @@ var init_components = __esm(() => {
|
|
|
72125
72161
|
init_partialscheduleaccount();
|
|
72126
72162
|
init_partnerfees();
|
|
72127
72163
|
init_partnerpricingagreement();
|
|
72164
|
+
init_partnerriskoutcomesresponse();
|
|
72128
72165
|
init_patchaccount();
|
|
72129
72166
|
init_patchbusiness();
|
|
72130
72167
|
init_patchindividual();
|
|
@@ -79059,6 +79096,49 @@ var init_gettransferconfig = __esm(() => {
|
|
|
79059
79096
|
});
|
|
79060
79097
|
});
|
|
79061
79098
|
|
|
79099
|
+
// src/models/operations/gettransferriskoutcomes.ts
|
|
79100
|
+
var GetTransferRiskOutcomesRequest$inboundSchema, GetTransferRiskOutcomesRequest$outboundSchema, GetTransferRiskOutcomesResponse$inboundSchema, GetTransferRiskOutcomesResponse$outboundSchema;
|
|
79101
|
+
var init_gettransferriskoutcomes = __esm(() => {
|
|
79102
|
+
init_v3();
|
|
79103
|
+
init_primitives();
|
|
79104
|
+
init_primitives2();
|
|
79105
|
+
init_components();
|
|
79106
|
+
GetTransferRiskOutcomesRequest$inboundSchema = objectType({
|
|
79107
|
+
transferID: string4(),
|
|
79108
|
+
"X-Account-ID": optional3(string4())
|
|
79109
|
+
}).transform((v2) => {
|
|
79110
|
+
return remap(v2, {
|
|
79111
|
+
"X-Account-ID": "xAccountID"
|
|
79112
|
+
});
|
|
79113
|
+
});
|
|
79114
|
+
GetTransferRiskOutcomesRequest$outboundSchema = objectType({
|
|
79115
|
+
transferID: stringType(),
|
|
79116
|
+
xAccountID: stringType().optional()
|
|
79117
|
+
}).transform((v2) => {
|
|
79118
|
+
return remap(v2, {
|
|
79119
|
+
xAccountID: "X-Account-ID"
|
|
79120
|
+
});
|
|
79121
|
+
});
|
|
79122
|
+
GetTransferRiskOutcomesResponse$inboundSchema = objectType({
|
|
79123
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79124
|
+
Result: PartnerRiskOutcomesResponse$inboundSchema
|
|
79125
|
+
}).transform((v2) => {
|
|
79126
|
+
return remap(v2, {
|
|
79127
|
+
Headers: "headers",
|
|
79128
|
+
Result: "result"
|
|
79129
|
+
});
|
|
79130
|
+
});
|
|
79131
|
+
GetTransferRiskOutcomesResponse$outboundSchema = objectType({
|
|
79132
|
+
headers: recordType(arrayType(stringType())),
|
|
79133
|
+
result: PartnerRiskOutcomesResponse$outboundSchema
|
|
79134
|
+
}).transform((v2) => {
|
|
79135
|
+
return remap(v2, {
|
|
79136
|
+
headers: "Headers",
|
|
79137
|
+
result: "Result"
|
|
79138
|
+
});
|
|
79139
|
+
});
|
|
79140
|
+
});
|
|
79141
|
+
|
|
79062
79142
|
// src/models/operations/getunderwriting.ts
|
|
79063
79143
|
var GetUnderwritingRequest$inboundSchema, GetUnderwritingRequest$outboundSchema, GetUnderwritingResponse$inboundSchema, GetUnderwritingResponse$outboundSchema;
|
|
79064
79144
|
var init_getunderwriting = __esm(() => {
|
|
@@ -82998,6 +83078,7 @@ var init_operations = __esm(() => {
|
|
|
82998
83078
|
init_getticket();
|
|
82999
83079
|
init_gettransfer();
|
|
83000
83080
|
init_gettransferconfig();
|
|
83081
|
+
init_gettransferriskoutcomes();
|
|
83001
83082
|
init_getunderwriting();
|
|
83002
83083
|
init_getwallet();
|
|
83003
83084
|
init_getwallettransaction();
|
|
@@ -102634,11 +102715,128 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102634
102715
|
};
|
|
102635
102716
|
});
|
|
102636
102717
|
|
|
102637
|
-
// src/funcs/
|
|
102638
|
-
function
|
|
102718
|
+
// src/funcs/transfersGetRiskOutcomes.ts
|
|
102719
|
+
function transfersGetRiskOutcomes(client, request, options) {
|
|
102639
102720
|
return new APIPromise($do169(client, request, options));
|
|
102640
102721
|
}
|
|
102641
102722
|
async function $do169(client, request, options) {
|
|
102723
|
+
const parsed = safeParse4(request, (value) => GetTransferRiskOutcomesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102724
|
+
if (!parsed.ok) {
|
|
102725
|
+
return [parsed, { status: "invalid" }];
|
|
102726
|
+
}
|
|
102727
|
+
const payload = parsed.value;
|
|
102728
|
+
const body = null;
|
|
102729
|
+
const pathParams = {
|
|
102730
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
102731
|
+
explode: false,
|
|
102732
|
+
charEncoding: "percent"
|
|
102733
|
+
})
|
|
102734
|
+
};
|
|
102735
|
+
const path = pathToFunc("/transfers/{transferID}/risk-outcomes")(pathParams);
|
|
102736
|
+
const headers = new Headers(compactMap({
|
|
102737
|
+
Accept: "application/json",
|
|
102738
|
+
"X-Account-ID": encodeSimple("X-Account-ID", payload["X-Account-ID"], {
|
|
102739
|
+
explode: false,
|
|
102740
|
+
charEncoding: "none"
|
|
102741
|
+
})
|
|
102742
|
+
}));
|
|
102743
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
102744
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
102745
|
+
const context = {
|
|
102746
|
+
options: client._options,
|
|
102747
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
102748
|
+
operationID: "getTransferRiskOutcomes",
|
|
102749
|
+
oAuth2Scopes: null,
|
|
102750
|
+
resolvedSecurity: requestSecurity,
|
|
102751
|
+
securitySource: client._options.security,
|
|
102752
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
102753
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
102754
|
+
};
|
|
102755
|
+
const requestRes = client._createRequest(context, {
|
|
102756
|
+
security: requestSecurity,
|
|
102757
|
+
method: "GET",
|
|
102758
|
+
baseURL: options?.serverURL,
|
|
102759
|
+
path,
|
|
102760
|
+
headers,
|
|
102761
|
+
body,
|
|
102762
|
+
userAgent: client._options.userAgent,
|
|
102763
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
102764
|
+
}, options);
|
|
102765
|
+
if (!requestRes.ok) {
|
|
102766
|
+
return [requestRes, { status: "invalid" }];
|
|
102767
|
+
}
|
|
102768
|
+
const req = requestRes.value;
|
|
102769
|
+
const doResult = await client._do(req, {
|
|
102770
|
+
context,
|
|
102771
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
102772
|
+
retryConfig: context.retryConfig,
|
|
102773
|
+
retryCodes: context.retryCodes
|
|
102774
|
+
});
|
|
102775
|
+
if (!doResult.ok) {
|
|
102776
|
+
return [doResult, { status: "request-error", request: req }];
|
|
102777
|
+
}
|
|
102778
|
+
const response = doResult.value;
|
|
102779
|
+
const responseFields = {
|
|
102780
|
+
HttpMeta: { Response: response, Request: req }
|
|
102781
|
+
};
|
|
102782
|
+
const [result] = await match(json(200, GetTransferRiskOutcomesResponse$inboundSchema, {
|
|
102783
|
+
hdrs: true,
|
|
102784
|
+
key: "Result"
|
|
102785
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
102786
|
+
if (!result.ok) {
|
|
102787
|
+
return [result, { status: "complete", request: req, response }];
|
|
102788
|
+
}
|
|
102789
|
+
return [result, { status: "complete", request: req, response }];
|
|
102790
|
+
}
|
|
102791
|
+
var init_transfersGetRiskOutcomes = __esm(() => {
|
|
102792
|
+
init_encodings();
|
|
102793
|
+
init_http();
|
|
102794
|
+
init_matchers();
|
|
102795
|
+
init_primitives();
|
|
102796
|
+
init_schemas4();
|
|
102797
|
+
init_security();
|
|
102798
|
+
init_url();
|
|
102799
|
+
init_operations();
|
|
102800
|
+
init_async();
|
|
102801
|
+
});
|
|
102802
|
+
|
|
102803
|
+
// src/mcp-server/tools/transfersGetRiskOutcomes.ts
|
|
102804
|
+
var args164, tool$transfersGetRiskOutcomes;
|
|
102805
|
+
var init_transfersGetRiskOutcomes2 = __esm(() => {
|
|
102806
|
+
init_transfersGetRiskOutcomes();
|
|
102807
|
+
init_operations();
|
|
102808
|
+
init_tools();
|
|
102809
|
+
args164 = {
|
|
102810
|
+
request: GetTransferRiskOutcomesRequest$inboundSchema
|
|
102811
|
+
};
|
|
102812
|
+
tool$transfersGetRiskOutcomes = {
|
|
102813
|
+
name: "transfers-get-risk-outcomes",
|
|
102814
|
+
description: `Retrieve the risk rules that contributed to a transfer's risk decision.
|
|
102815
|
+
|
|
102816
|
+
This endpoint has limited availability and must be enabled for your account by Moov.
|
|
102817
|
+
|
|
102818
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102819
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102820
|
+
args: args164,
|
|
102821
|
+
tool: async (client, args165, ctx) => {
|
|
102822
|
+
const [result, apiCall] = await transfersGetRiskOutcomes(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102823
|
+
if (!result.ok) {
|
|
102824
|
+
return {
|
|
102825
|
+
content: [{ type: "text", text: result.error.message }],
|
|
102826
|
+
isError: true
|
|
102827
|
+
};
|
|
102828
|
+
}
|
|
102829
|
+
const value = result.value.result;
|
|
102830
|
+
return formatResult(value, apiCall);
|
|
102831
|
+
}
|
|
102832
|
+
};
|
|
102833
|
+
});
|
|
102834
|
+
|
|
102835
|
+
// src/funcs/transfersInitiateRefund.ts
|
|
102836
|
+
function transfersInitiateRefund(client, request, options) {
|
|
102837
|
+
return new APIPromise($do170(client, request, options));
|
|
102838
|
+
}
|
|
102839
|
+
async function $do170(client, request, options) {
|
|
102642
102840
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102643
102841
|
if (!parsed.ok) {
|
|
102644
102842
|
return [parsed, { status: "invalid" }];
|
|
@@ -102730,12 +102928,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
102730
102928
|
});
|
|
102731
102929
|
|
|
102732
102930
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
102733
|
-
var
|
|
102931
|
+
var args165, tool$transfersInitiateRefund;
|
|
102734
102932
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
102735
102933
|
init_transfersInitiateRefund();
|
|
102736
102934
|
init_operations();
|
|
102737
102935
|
init_tools();
|
|
102738
|
-
|
|
102936
|
+
args165 = {
|
|
102739
102937
|
request: InitiateRefundRequest$inboundSchema
|
|
102740
102938
|
};
|
|
102741
102939
|
tool$transfersInitiateRefund = {
|
|
@@ -102747,9 +102945,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
102747
102945
|
|
|
102748
102946
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102749
102947
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
102750
|
-
args:
|
|
102751
|
-
tool: async (client,
|
|
102752
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
102948
|
+
args: args165,
|
|
102949
|
+
tool: async (client, args166, ctx) => {
|
|
102950
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102753
102951
|
if (!result.ok) {
|
|
102754
102952
|
return {
|
|
102755
102953
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102764,9 +102962,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102764
102962
|
|
|
102765
102963
|
// src/funcs/transfersList.ts
|
|
102766
102964
|
function transfersList(client, request, options) {
|
|
102767
|
-
return new APIPromise($
|
|
102965
|
+
return new APIPromise($do171(client, request, options));
|
|
102768
102966
|
}
|
|
102769
|
-
async function $
|
|
102967
|
+
async function $do171(client, request, options) {
|
|
102770
102968
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102771
102969
|
if (!parsed.ok) {
|
|
102772
102970
|
return [parsed, { status: "invalid" }];
|
|
@@ -102864,12 +103062,12 @@ var init_transfersList = __esm(() => {
|
|
|
102864
103062
|
});
|
|
102865
103063
|
|
|
102866
103064
|
// src/mcp-server/tools/transfersList.ts
|
|
102867
|
-
var
|
|
103065
|
+
var args166, tool$transfersList;
|
|
102868
103066
|
var init_transfersList2 = __esm(() => {
|
|
102869
103067
|
init_transfersList();
|
|
102870
103068
|
init_operations();
|
|
102871
103069
|
init_tools();
|
|
102872
|
-
|
|
103070
|
+
args166 = {
|
|
102873
103071
|
request: ListTransfersRequest$inboundSchema
|
|
102874
103072
|
};
|
|
102875
103073
|
tool$transfersList = {
|
|
@@ -102885,9 +103083,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
102885
103083
|
|
|
102886
103084
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102887
103085
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102888
|
-
args:
|
|
102889
|
-
tool: async (client,
|
|
102890
|
-
const [result, apiCall] = await transfersList(client,
|
|
103086
|
+
args: args166,
|
|
103087
|
+
tool: async (client, args167, ctx) => {
|
|
103088
|
+
const [result, apiCall] = await transfersList(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102891
103089
|
if (!result.ok) {
|
|
102892
103090
|
return {
|
|
102893
103091
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102902,9 +103100,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102902
103100
|
|
|
102903
103101
|
// src/funcs/transfersListCancellations.ts
|
|
102904
103102
|
function transfersListCancellations(client, request, options) {
|
|
102905
|
-
return new APIPromise($
|
|
103103
|
+
return new APIPromise($do172(client, request, options));
|
|
102906
103104
|
}
|
|
102907
|
-
async function $
|
|
103105
|
+
async function $do172(client, request, options) {
|
|
102908
103106
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102909
103107
|
if (!parsed.ok) {
|
|
102910
103108
|
return [parsed, { status: "invalid" }];
|
|
@@ -102986,12 +103184,12 @@ var init_transfersListCancellations = __esm(() => {
|
|
|
102986
103184
|
});
|
|
102987
103185
|
|
|
102988
103186
|
// src/mcp-server/tools/transfersListCancellations.ts
|
|
102989
|
-
var
|
|
103187
|
+
var args167, tool$transfersListCancellations;
|
|
102990
103188
|
var init_transfersListCancellations2 = __esm(() => {
|
|
102991
103189
|
init_transfersListCancellations();
|
|
102992
103190
|
init_operations();
|
|
102993
103191
|
init_tools();
|
|
102994
|
-
|
|
103192
|
+
args167 = {
|
|
102995
103193
|
request: ListCancellationsRequest$inboundSchema
|
|
102996
103194
|
};
|
|
102997
103195
|
tool$transfersListCancellations = {
|
|
@@ -103000,9 +103198,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103000
103198
|
|
|
103001
103199
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
103002
103200
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103003
|
-
args:
|
|
103004
|
-
tool: async (client,
|
|
103005
|
-
const [result, apiCall] = await transfersListCancellations(client,
|
|
103201
|
+
args: args167,
|
|
103202
|
+
tool: async (client, args168, ctx) => {
|
|
103203
|
+
const [result, apiCall] = await transfersListCancellations(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103006
103204
|
if (!result.ok) {
|
|
103007
103205
|
return {
|
|
103008
103206
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103017,9 +103215,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103017
103215
|
|
|
103018
103216
|
// src/funcs/transfersListRefunds.ts
|
|
103019
103217
|
function transfersListRefunds(client, request, options) {
|
|
103020
|
-
return new APIPromise($
|
|
103218
|
+
return new APIPromise($do173(client, request, options));
|
|
103021
103219
|
}
|
|
103022
|
-
async function $
|
|
103220
|
+
async function $do173(client, request, options) {
|
|
103023
103221
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103024
103222
|
if (!parsed.ok) {
|
|
103025
103223
|
return [parsed, { status: "invalid" }];
|
|
@@ -103101,12 +103299,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
103101
103299
|
});
|
|
103102
103300
|
|
|
103103
103301
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
103104
|
-
var
|
|
103302
|
+
var args168, tool$transfersListRefunds;
|
|
103105
103303
|
var init_transfersListRefunds2 = __esm(() => {
|
|
103106
103304
|
init_transfersListRefunds();
|
|
103107
103305
|
init_operations();
|
|
103108
103306
|
init_tools();
|
|
103109
|
-
|
|
103307
|
+
args168 = {
|
|
103110
103308
|
request: ListRefundsRequest$inboundSchema
|
|
103111
103309
|
};
|
|
103112
103310
|
tool$transfersListRefunds = {
|
|
@@ -103115,9 +103313,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
103115
103313
|
|
|
103116
103314
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103117
103315
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103118
|
-
args:
|
|
103119
|
-
tool: async (client,
|
|
103120
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
103316
|
+
args: args168,
|
|
103317
|
+
tool: async (client, args169, ctx) => {
|
|
103318
|
+
const [result, apiCall] = await transfersListRefunds(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103121
103319
|
if (!result.ok) {
|
|
103122
103320
|
return {
|
|
103123
103321
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103132,9 +103330,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103132
103330
|
|
|
103133
103331
|
// src/funcs/transfersUpdate.ts
|
|
103134
103332
|
function transfersUpdate(client, request, options) {
|
|
103135
|
-
return new APIPromise($
|
|
103333
|
+
return new APIPromise($do174(client, request, options));
|
|
103136
103334
|
}
|
|
103137
|
-
async function $
|
|
103335
|
+
async function $do174(client, request, options) {
|
|
103138
103336
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103139
103337
|
if (!parsed.ok) {
|
|
103140
103338
|
return [parsed, { status: "invalid" }];
|
|
@@ -103220,12 +103418,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
103220
103418
|
});
|
|
103221
103419
|
|
|
103222
103420
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
103223
|
-
var
|
|
103421
|
+
var args169, tool$transfersUpdate;
|
|
103224
103422
|
var init_transfersUpdate2 = __esm(() => {
|
|
103225
103423
|
init_transfersUpdate();
|
|
103226
103424
|
init_operations();
|
|
103227
103425
|
init_tools();
|
|
103228
|
-
|
|
103426
|
+
args169 = {
|
|
103229
103427
|
request: UpdateTransferRequest$inboundSchema
|
|
103230
103428
|
};
|
|
103231
103429
|
tool$transfersUpdate = {
|
|
@@ -103236,9 +103434,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
103236
103434
|
|
|
103237
103435
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103238
103436
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
103239
|
-
args:
|
|
103240
|
-
tool: async (client,
|
|
103241
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
103437
|
+
args: args169,
|
|
103438
|
+
tool: async (client, args170, ctx) => {
|
|
103439
|
+
const [result, apiCall] = await transfersUpdate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103242
103440
|
if (!result.ok) {
|
|
103243
103441
|
return {
|
|
103244
103442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103253,9 +103451,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103253
103451
|
|
|
103254
103452
|
// src/funcs/underwritingGet.ts
|
|
103255
103453
|
function underwritingGet(client, request, options) {
|
|
103256
|
-
return new APIPromise($
|
|
103454
|
+
return new APIPromise($do175(client, request, options));
|
|
103257
103455
|
}
|
|
103258
|
-
async function $
|
|
103456
|
+
async function $do175(client, request, options) {
|
|
103259
103457
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103260
103458
|
if (!parsed.ok) {
|
|
103261
103459
|
return [parsed, { status: "invalid" }];
|
|
@@ -103333,12 +103531,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
103333
103531
|
});
|
|
103334
103532
|
|
|
103335
103533
|
// src/mcp-server/tools/underwritingGet.ts
|
|
103336
|
-
var
|
|
103534
|
+
var args170, tool$underwritingGet;
|
|
103337
103535
|
var init_underwritingGet2 = __esm(() => {
|
|
103338
103536
|
init_underwritingGet();
|
|
103339
103537
|
init_operations();
|
|
103340
103538
|
init_tools();
|
|
103341
|
-
|
|
103539
|
+
args170 = {
|
|
103342
103540
|
request: GetUnderwritingRequest$inboundSchema
|
|
103343
103541
|
};
|
|
103344
103542
|
tool$underwritingGet = {
|
|
@@ -103349,9 +103547,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103349
103547
|
|
|
103350
103548
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103351
103549
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
103352
|
-
args:
|
|
103353
|
-
tool: async (client,
|
|
103354
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
103550
|
+
args: args170,
|
|
103551
|
+
tool: async (client, args171, ctx) => {
|
|
103552
|
+
const [result, apiCall] = await underwritingGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103355
103553
|
if (!result.ok) {
|
|
103356
103554
|
return {
|
|
103357
103555
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103366,9 +103564,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103366
103564
|
|
|
103367
103565
|
// src/funcs/underwritingSave.ts
|
|
103368
103566
|
function underwritingSave(client, request, options) {
|
|
103369
|
-
return new APIPromise($
|
|
103567
|
+
return new APIPromise($do176(client, request, options));
|
|
103370
103568
|
}
|
|
103371
|
-
async function $
|
|
103569
|
+
async function $do176(client, request, options) {
|
|
103372
103570
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103373
103571
|
if (!parsed.ok) {
|
|
103374
103572
|
return [parsed, { status: "invalid" }];
|
|
@@ -103452,12 +103650,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
103452
103650
|
});
|
|
103453
103651
|
|
|
103454
103652
|
// src/mcp-server/tools/underwritingSave.ts
|
|
103455
|
-
var
|
|
103653
|
+
var args171, tool$underwritingSave;
|
|
103456
103654
|
var init_underwritingSave2 = __esm(() => {
|
|
103457
103655
|
init_underwritingSave();
|
|
103458
103656
|
init_operations();
|
|
103459
103657
|
init_tools();
|
|
103460
|
-
|
|
103658
|
+
args171 = {
|
|
103461
103659
|
request: SaveUnderwritingRequest$inboundSchema
|
|
103462
103660
|
};
|
|
103463
103661
|
tool$underwritingSave = {
|
|
@@ -103468,9 +103666,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103468
103666
|
|
|
103469
103667
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103470
103668
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103471
|
-
args:
|
|
103472
|
-
tool: async (client,
|
|
103473
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
103669
|
+
args: args171,
|
|
103670
|
+
tool: async (client, args172, ctx) => {
|
|
103671
|
+
const [result, apiCall] = await underwritingSave(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103474
103672
|
if (!result.ok) {
|
|
103475
103673
|
return {
|
|
103476
103674
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103485,9 +103683,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103485
103683
|
|
|
103486
103684
|
// src/funcs/underwritingUpsert.ts
|
|
103487
103685
|
function underwritingUpsert(client, request, options) {
|
|
103488
|
-
return new APIPromise($
|
|
103686
|
+
return new APIPromise($do177(client, request, options));
|
|
103489
103687
|
}
|
|
103490
|
-
async function $
|
|
103688
|
+
async function $do177(client, request, options) {
|
|
103491
103689
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103492
103690
|
if (!parsed.ok) {
|
|
103493
103691
|
return [parsed, { status: "invalid" }];
|
|
@@ -103571,12 +103769,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
103571
103769
|
});
|
|
103572
103770
|
|
|
103573
103771
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
103574
|
-
var
|
|
103772
|
+
var args172, tool$underwritingUpsert;
|
|
103575
103773
|
var init_underwritingUpsert2 = __esm(() => {
|
|
103576
103774
|
init_underwritingUpsert();
|
|
103577
103775
|
init_operations();
|
|
103578
103776
|
init_tools();
|
|
103579
|
-
|
|
103777
|
+
args172 = {
|
|
103580
103778
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
103581
103779
|
};
|
|
103582
103780
|
tool$underwritingUpsert = {
|
|
@@ -103587,9 +103785,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103587
103785
|
|
|
103588
103786
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103589
103787
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103590
|
-
args:
|
|
103591
|
-
tool: async (client,
|
|
103592
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
103788
|
+
args: args172,
|
|
103789
|
+
tool: async (client, args173, ctx) => {
|
|
103790
|
+
const [result, apiCall] = await underwritingUpsert(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103593
103791
|
if (!result.ok) {
|
|
103594
103792
|
return {
|
|
103595
103793
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103604,9 +103802,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103604
103802
|
|
|
103605
103803
|
// src/funcs/walletsCreate.ts
|
|
103606
103804
|
function walletsCreate(client, request, options) {
|
|
103607
|
-
return new APIPromise($
|
|
103805
|
+
return new APIPromise($do178(client, request, options));
|
|
103608
103806
|
}
|
|
103609
|
-
async function $
|
|
103807
|
+
async function $do178(client, request, options) {
|
|
103610
103808
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103611
103809
|
if (!parsed.ok) {
|
|
103612
103810
|
return [parsed, { status: "invalid" }];
|
|
@@ -103688,12 +103886,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
103688
103886
|
});
|
|
103689
103887
|
|
|
103690
103888
|
// src/mcp-server/tools/walletsCreate.ts
|
|
103691
|
-
var
|
|
103889
|
+
var args173, tool$walletsCreate;
|
|
103692
103890
|
var init_walletsCreate2 = __esm(() => {
|
|
103693
103891
|
init_walletsCreate();
|
|
103694
103892
|
init_operations();
|
|
103695
103893
|
init_tools();
|
|
103696
|
-
|
|
103894
|
+
args173 = {
|
|
103697
103895
|
request: CreateWalletRequest$inboundSchema
|
|
103698
103896
|
};
|
|
103699
103897
|
tool$walletsCreate = {
|
|
@@ -103704,9 +103902,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103704
103902
|
|
|
103705
103903
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103706
103904
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
103707
|
-
args:
|
|
103708
|
-
tool: async (client,
|
|
103709
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
103905
|
+
args: args173,
|
|
103906
|
+
tool: async (client, args174, ctx) => {
|
|
103907
|
+
const [result, apiCall] = await walletsCreate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103710
103908
|
if (!result.ok) {
|
|
103711
103909
|
return {
|
|
103712
103910
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103721,9 +103919,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103721
103919
|
|
|
103722
103920
|
// src/funcs/walletsGet.ts
|
|
103723
103921
|
function walletsGet(client, request, options) {
|
|
103724
|
-
return new APIPromise($
|
|
103922
|
+
return new APIPromise($do179(client, request, options));
|
|
103725
103923
|
}
|
|
103726
|
-
async function $
|
|
103924
|
+
async function $do179(client, request, options) {
|
|
103727
103925
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103728
103926
|
if (!parsed.ok) {
|
|
103729
103927
|
return [parsed, { status: "invalid" }];
|
|
@@ -103805,12 +104003,12 @@ var init_walletsGet = __esm(() => {
|
|
|
103805
104003
|
});
|
|
103806
104004
|
|
|
103807
104005
|
// src/mcp-server/tools/walletsGet.ts
|
|
103808
|
-
var
|
|
104006
|
+
var args174, tool$walletsGet;
|
|
103809
104007
|
var init_walletsGet2 = __esm(() => {
|
|
103810
104008
|
init_walletsGet();
|
|
103811
104009
|
init_operations();
|
|
103812
104010
|
init_tools();
|
|
103813
|
-
|
|
104011
|
+
args174 = {
|
|
103814
104012
|
request: GetWalletRequest$inboundSchema
|
|
103815
104013
|
};
|
|
103816
104014
|
tool$walletsGet = {
|
|
@@ -103821,9 +104019,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103821
104019
|
|
|
103822
104020
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103823
104021
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103824
|
-
args:
|
|
103825
|
-
tool: async (client,
|
|
103826
|
-
const [result, apiCall] = await walletsGet(client,
|
|
104022
|
+
args: args174,
|
|
104023
|
+
tool: async (client, args175, ctx) => {
|
|
104024
|
+
const [result, apiCall] = await walletsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103827
104025
|
if (!result.ok) {
|
|
103828
104026
|
return {
|
|
103829
104027
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103838,9 +104036,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103838
104036
|
|
|
103839
104037
|
// src/funcs/walletsList.ts
|
|
103840
104038
|
function walletsList(client, request, options) {
|
|
103841
|
-
return new APIPromise($
|
|
104039
|
+
return new APIPromise($do180(client, request, options));
|
|
103842
104040
|
}
|
|
103843
|
-
async function $
|
|
104041
|
+
async function $do180(client, request, options) {
|
|
103844
104042
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103845
104043
|
if (!parsed.ok) {
|
|
103846
104044
|
return [parsed, { status: "invalid" }];
|
|
@@ -103928,12 +104126,12 @@ var init_walletsList = __esm(() => {
|
|
|
103928
104126
|
});
|
|
103929
104127
|
|
|
103930
104128
|
// src/mcp-server/tools/walletsList.ts
|
|
103931
|
-
var
|
|
104129
|
+
var args175, tool$walletsList;
|
|
103932
104130
|
var init_walletsList2 = __esm(() => {
|
|
103933
104131
|
init_walletsList();
|
|
103934
104132
|
init_operations();
|
|
103935
104133
|
init_tools();
|
|
103936
|
-
|
|
104134
|
+
args175 = {
|
|
103937
104135
|
request: ListWalletsRequest$inboundSchema
|
|
103938
104136
|
};
|
|
103939
104137
|
tool$walletsList = {
|
|
@@ -103944,9 +104142,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103944
104142
|
|
|
103945
104143
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103946
104144
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103947
|
-
args:
|
|
103948
|
-
tool: async (client,
|
|
103949
|
-
const [result, apiCall] = await walletsList(client,
|
|
104145
|
+
args: args175,
|
|
104146
|
+
tool: async (client, args176, ctx) => {
|
|
104147
|
+
const [result, apiCall] = await walletsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103950
104148
|
if (!result.ok) {
|
|
103951
104149
|
return {
|
|
103952
104150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103961,9 +104159,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103961
104159
|
|
|
103962
104160
|
// src/funcs/walletsUpdate.ts
|
|
103963
104161
|
function walletsUpdate(client, request, options) {
|
|
103964
|
-
return new APIPromise($
|
|
104162
|
+
return new APIPromise($do181(client, request, options));
|
|
103965
104163
|
}
|
|
103966
|
-
async function $
|
|
104164
|
+
async function $do181(client, request, options) {
|
|
103967
104165
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103968
104166
|
if (!parsed.ok) {
|
|
103969
104167
|
return [parsed, { status: "invalid" }];
|
|
@@ -104049,12 +104247,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
104049
104247
|
});
|
|
104050
104248
|
|
|
104051
104249
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
104052
|
-
var
|
|
104250
|
+
var args176, tool$walletsUpdate;
|
|
104053
104251
|
var init_walletsUpdate2 = __esm(() => {
|
|
104054
104252
|
init_walletsUpdate();
|
|
104055
104253
|
init_operations();
|
|
104056
104254
|
init_tools();
|
|
104057
|
-
|
|
104255
|
+
args176 = {
|
|
104058
104256
|
request: UpdateWalletRequest$inboundSchema
|
|
104059
104257
|
};
|
|
104060
104258
|
tool$walletsUpdate = {
|
|
@@ -104065,9 +104263,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104065
104263
|
|
|
104066
104264
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104067
104265
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
104068
|
-
args:
|
|
104069
|
-
tool: async (client,
|
|
104070
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
104266
|
+
args: args176,
|
|
104267
|
+
tool: async (client, args177, ctx) => {
|
|
104268
|
+
const [result, apiCall] = await walletsUpdate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104071
104269
|
if (!result.ok) {
|
|
104072
104270
|
return {
|
|
104073
104271
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104082,9 +104280,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104082
104280
|
|
|
104083
104281
|
// src/funcs/walletTransactionsGet.ts
|
|
104084
104282
|
function walletTransactionsGet(client, request, options) {
|
|
104085
|
-
return new APIPromise($
|
|
104283
|
+
return new APIPromise($do182(client, request, options));
|
|
104086
104284
|
}
|
|
104087
|
-
async function $
|
|
104285
|
+
async function $do182(client, request, options) {
|
|
104088
104286
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104089
104287
|
if (!parsed.ok) {
|
|
104090
104288
|
return [parsed, { status: "invalid" }];
|
|
@@ -104170,12 +104368,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
104170
104368
|
});
|
|
104171
104369
|
|
|
104172
104370
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
104173
|
-
var
|
|
104371
|
+
var args177, tool$walletTransactionsGet;
|
|
104174
104372
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
104175
104373
|
init_walletTransactionsGet();
|
|
104176
104374
|
init_operations();
|
|
104177
104375
|
init_tools();
|
|
104178
|
-
|
|
104376
|
+
args177 = {
|
|
104179
104377
|
request: GetWalletTransactionRequest$inboundSchema
|
|
104180
104378
|
};
|
|
104181
104379
|
tool$walletTransactionsGet = {
|
|
@@ -104186,9 +104384,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104186
104384
|
|
|
104187
104385
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104188
104386
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104189
|
-
args:
|
|
104190
|
-
tool: async (client,
|
|
104191
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
104387
|
+
args: args177,
|
|
104388
|
+
tool: async (client, args178, ctx) => {
|
|
104389
|
+
const [result, apiCall] = await walletTransactionsGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104192
104390
|
if (!result.ok) {
|
|
104193
104391
|
return {
|
|
104194
104392
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104203,9 +104401,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104203
104401
|
|
|
104204
104402
|
// src/funcs/walletTransactionsList.ts
|
|
104205
104403
|
function walletTransactionsList(client, request, options) {
|
|
104206
|
-
return new APIPromise($
|
|
104404
|
+
return new APIPromise($do183(client, request, options));
|
|
104207
104405
|
}
|
|
104208
|
-
async function $
|
|
104406
|
+
async function $do183(client, request, options) {
|
|
104209
104407
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104210
104408
|
if (!parsed.ok) {
|
|
104211
104409
|
return [parsed, { status: "invalid" }];
|
|
@@ -104305,12 +104503,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
104305
104503
|
});
|
|
104306
104504
|
|
|
104307
104505
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
104308
|
-
var
|
|
104506
|
+
var args178, tool$walletTransactionsList;
|
|
104309
104507
|
var init_walletTransactionsList2 = __esm(() => {
|
|
104310
104508
|
init_walletTransactionsList();
|
|
104311
104509
|
init_operations();
|
|
104312
104510
|
init_tools();
|
|
104313
|
-
|
|
104511
|
+
args178 = {
|
|
104314
104512
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
104315
104513
|
};
|
|
104316
104514
|
tool$walletTransactionsList = {
|
|
@@ -104321,9 +104519,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104321
104519
|
|
|
104322
104520
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104323
104521
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104324
|
-
args:
|
|
104325
|
-
tool: async (client,
|
|
104326
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
104522
|
+
args: args178,
|
|
104523
|
+
tool: async (client, args179, ctx) => {
|
|
104524
|
+
const [result, apiCall] = await walletTransactionsList(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104327
104525
|
if (!result.ok) {
|
|
104328
104526
|
return {
|
|
104329
104527
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104338,9 +104536,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104338
104536
|
|
|
104339
104537
|
// src/funcs/webhooksCreate.ts
|
|
104340
104538
|
function webhooksCreate(client, request, options) {
|
|
104341
|
-
return new APIPromise($
|
|
104539
|
+
return new APIPromise($do184(client, request, options));
|
|
104342
104540
|
}
|
|
104343
|
-
async function $
|
|
104541
|
+
async function $do184(client, request, options) {
|
|
104344
104542
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104345
104543
|
if (!parsed.ok) {
|
|
104346
104544
|
return [parsed, { status: "invalid" }];
|
|
@@ -104417,20 +104615,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
104417
104615
|
});
|
|
104418
104616
|
|
|
104419
104617
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
104420
|
-
var
|
|
104618
|
+
var args179, tool$webhooksCreate;
|
|
104421
104619
|
var init_webhooksCreate2 = __esm(() => {
|
|
104422
104620
|
init_webhooksCreate();
|
|
104423
104621
|
init_components();
|
|
104424
104622
|
init_tools();
|
|
104425
|
-
|
|
104623
|
+
args179 = {
|
|
104426
104624
|
request: CreateWebhook$inboundSchema
|
|
104427
104625
|
};
|
|
104428
104626
|
tool$webhooksCreate = {
|
|
104429
104627
|
name: "webhooks-create",
|
|
104430
104628
|
description: `Create a new webhook for the account.`,
|
|
104431
|
-
args:
|
|
104432
|
-
tool: async (client,
|
|
104433
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
104629
|
+
args: args179,
|
|
104630
|
+
tool: async (client, args180, ctx) => {
|
|
104631
|
+
const [result, apiCall] = await webhooksCreate(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104434
104632
|
if (!result.ok) {
|
|
104435
104633
|
return {
|
|
104436
104634
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104445,9 +104643,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104445
104643
|
|
|
104446
104644
|
// src/funcs/webhooksDisable.ts
|
|
104447
104645
|
function webhooksDisable(client, request, options) {
|
|
104448
|
-
return new APIPromise($
|
|
104646
|
+
return new APIPromise($do185(client, request, options));
|
|
104449
104647
|
}
|
|
104450
|
-
async function $
|
|
104648
|
+
async function $do185(client, request, options) {
|
|
104451
104649
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104452
104650
|
if (!parsed.ok) {
|
|
104453
104651
|
return [parsed, { status: "invalid" }];
|
|
@@ -104524,20 +104722,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
104524
104722
|
});
|
|
104525
104723
|
|
|
104526
104724
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
104527
|
-
var
|
|
104725
|
+
var args180, tool$webhooksDisable;
|
|
104528
104726
|
var init_webhooksDisable2 = __esm(() => {
|
|
104529
104727
|
init_webhooksDisable();
|
|
104530
104728
|
init_operations();
|
|
104531
104729
|
init_tools();
|
|
104532
|
-
|
|
104730
|
+
args180 = {
|
|
104533
104731
|
request: DisableWebhookRequest$inboundSchema
|
|
104534
104732
|
};
|
|
104535
104733
|
tool$webhooksDisable = {
|
|
104536
104734
|
name: "webhooks-disable",
|
|
104537
104735
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
104538
|
-
args:
|
|
104539
|
-
tool: async (client,
|
|
104540
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
104736
|
+
args: args180,
|
|
104737
|
+
tool: async (client, args181, ctx) => {
|
|
104738
|
+
const [result, apiCall] = await webhooksDisable(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104541
104739
|
if (!result.ok) {
|
|
104542
104740
|
return {
|
|
104543
104741
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104551,9 +104749,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104551
104749
|
|
|
104552
104750
|
// src/funcs/webhooksGet.ts
|
|
104553
104751
|
function webhooksGet(client, request, options) {
|
|
104554
|
-
return new APIPromise($
|
|
104752
|
+
return new APIPromise($do186(client, request, options));
|
|
104555
104753
|
}
|
|
104556
|
-
async function $
|
|
104754
|
+
async function $do186(client, request, options) {
|
|
104557
104755
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104558
104756
|
if (!parsed.ok) {
|
|
104559
104757
|
return [parsed, { status: "invalid" }];
|
|
@@ -104631,20 +104829,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
104631
104829
|
});
|
|
104632
104830
|
|
|
104633
104831
|
// src/mcp-server/tools/webhooksGet.ts
|
|
104634
|
-
var
|
|
104832
|
+
var args181, tool$webhooksGet;
|
|
104635
104833
|
var init_webhooksGet2 = __esm(() => {
|
|
104636
104834
|
init_webhooksGet();
|
|
104637
104835
|
init_operations();
|
|
104638
104836
|
init_tools();
|
|
104639
|
-
|
|
104837
|
+
args181 = {
|
|
104640
104838
|
request: GetWebhookRequest$inboundSchema
|
|
104641
104839
|
};
|
|
104642
104840
|
tool$webhooksGet = {
|
|
104643
104841
|
name: "webhooks-get",
|
|
104644
104842
|
description: `Get details of a specific webhook.`,
|
|
104645
|
-
args:
|
|
104646
|
-
tool: async (client,
|
|
104647
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
104843
|
+
args: args181,
|
|
104844
|
+
tool: async (client, args182, ctx) => {
|
|
104845
|
+
const [result, apiCall] = await webhooksGet(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104648
104846
|
if (!result.ok) {
|
|
104649
104847
|
return {
|
|
104650
104848
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104659,9 +104857,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104659
104857
|
|
|
104660
104858
|
// src/funcs/webhooksGetSecret.ts
|
|
104661
104859
|
function webhooksGetSecret(client, request, options) {
|
|
104662
|
-
return new APIPromise($
|
|
104860
|
+
return new APIPromise($do187(client, request, options));
|
|
104663
104861
|
}
|
|
104664
|
-
async function $
|
|
104862
|
+
async function $do187(client, request, options) {
|
|
104665
104863
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104666
104864
|
if (!parsed.ok) {
|
|
104667
104865
|
return [parsed, { status: "invalid" }];
|
|
@@ -104739,20 +104937,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
104739
104937
|
});
|
|
104740
104938
|
|
|
104741
104939
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
104742
|
-
var
|
|
104940
|
+
var args182, tool$webhooksGetSecret;
|
|
104743
104941
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
104744
104942
|
init_webhooksGetSecret();
|
|
104745
104943
|
init_operations();
|
|
104746
104944
|
init_tools();
|
|
104747
|
-
|
|
104945
|
+
args182 = {
|
|
104748
104946
|
request: GetWebhookSecretRequest$inboundSchema
|
|
104749
104947
|
};
|
|
104750
104948
|
tool$webhooksGetSecret = {
|
|
104751
104949
|
name: "webhooks-get-secret",
|
|
104752
104950
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
104753
|
-
args:
|
|
104754
|
-
tool: async (client,
|
|
104755
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
104951
|
+
args: args182,
|
|
104952
|
+
tool: async (client, args183, ctx) => {
|
|
104953
|
+
const [result, apiCall] = await webhooksGetSecret(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104756
104954
|
if (!result.ok) {
|
|
104757
104955
|
return {
|
|
104758
104956
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104767,9 +104965,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104767
104965
|
|
|
104768
104966
|
// src/funcs/webhooksList.ts
|
|
104769
104967
|
function webhooksList(client, options) {
|
|
104770
|
-
return new APIPromise($
|
|
104968
|
+
return new APIPromise($do188(client, options));
|
|
104771
104969
|
}
|
|
104772
|
-
async function $
|
|
104970
|
+
async function $do188(client, options) {
|
|
104773
104971
|
const path = pathToFunc("/webhooks")();
|
|
104774
104972
|
const headers = new Headers(compactMap({
|
|
104775
104973
|
Accept: "application/json"
|
|
@@ -104855,9 +105053,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
104855
105053
|
|
|
104856
105054
|
// src/funcs/webhooksListEventTypes.ts
|
|
104857
105055
|
function webhooksListEventTypes(client, options) {
|
|
104858
|
-
return new APIPromise($
|
|
105056
|
+
return new APIPromise($do189(client, options));
|
|
104859
105057
|
}
|
|
104860
|
-
async function $
|
|
105058
|
+
async function $do189(client, options) {
|
|
104861
105059
|
const path = pathToFunc("/event-types")();
|
|
104862
105060
|
const headers = new Headers(compactMap({
|
|
104863
105061
|
Accept: "application/json"
|
|
@@ -104943,9 +105141,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104943
105141
|
|
|
104944
105142
|
// src/funcs/webhooksPing.ts
|
|
104945
105143
|
function webhooksPing(client, request, options) {
|
|
104946
|
-
return new APIPromise($
|
|
105144
|
+
return new APIPromise($do190(client, request, options));
|
|
104947
105145
|
}
|
|
104948
|
-
async function $
|
|
105146
|
+
async function $do190(client, request, options) {
|
|
104949
105147
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104950
105148
|
if (!parsed.ok) {
|
|
104951
105149
|
return [parsed, { status: "invalid" }];
|
|
@@ -105023,20 +105221,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
105023
105221
|
});
|
|
105024
105222
|
|
|
105025
105223
|
// src/mcp-server/tools/webhooksPing.ts
|
|
105026
|
-
var
|
|
105224
|
+
var args183, tool$webhooksPing;
|
|
105027
105225
|
var init_webhooksPing2 = __esm(() => {
|
|
105028
105226
|
init_webhooksPing();
|
|
105029
105227
|
init_operations();
|
|
105030
105228
|
init_tools();
|
|
105031
|
-
|
|
105229
|
+
args183 = {
|
|
105032
105230
|
request: PingWebhookRequest$inboundSchema
|
|
105033
105231
|
};
|
|
105034
105232
|
tool$webhooksPing = {
|
|
105035
105233
|
name: "webhooks-ping",
|
|
105036
105234
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
105037
|
-
args:
|
|
105038
|
-
tool: async (client,
|
|
105039
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
105235
|
+
args: args183,
|
|
105236
|
+
tool: async (client, args184, ctx) => {
|
|
105237
|
+
const [result, apiCall] = await webhooksPing(client, args184.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105040
105238
|
if (!result.ok) {
|
|
105041
105239
|
return {
|
|
105042
105240
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105051,9 +105249,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105051
105249
|
|
|
105052
105250
|
// src/funcs/webhooksUpdate.ts
|
|
105053
105251
|
function webhooksUpdate(client, request, options) {
|
|
105054
|
-
return new APIPromise($
|
|
105252
|
+
return new APIPromise($do191(client, request, options));
|
|
105055
105253
|
}
|
|
105056
|
-
async function $
|
|
105254
|
+
async function $do191(client, request, options) {
|
|
105057
105255
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105058
105256
|
if (!parsed.ok) {
|
|
105059
105257
|
return [parsed, { status: "invalid" }];
|
|
@@ -105135,20 +105333,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
105135
105333
|
});
|
|
105136
105334
|
|
|
105137
105335
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
105138
|
-
var
|
|
105336
|
+
var args184, tool$webhooksUpdate;
|
|
105139
105337
|
var init_webhooksUpdate2 = __esm(() => {
|
|
105140
105338
|
init_webhooksUpdate();
|
|
105141
105339
|
init_operations();
|
|
105142
105340
|
init_tools();
|
|
105143
|
-
|
|
105341
|
+
args184 = {
|
|
105144
105342
|
request: UpdateWebhookRequest$inboundSchema
|
|
105145
105343
|
};
|
|
105146
105344
|
tool$webhooksUpdate = {
|
|
105147
105345
|
name: "webhooks-update",
|
|
105148
105346
|
description: `Update an existing webhook.`,
|
|
105149
|
-
args:
|
|
105150
|
-
tool: async (client,
|
|
105151
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
105347
|
+
args: args184,
|
|
105348
|
+
tool: async (client, args185, ctx) => {
|
|
105349
|
+
const [result, apiCall] = await webhooksUpdate(client, args185.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105152
105350
|
if (!result.ok) {
|
|
105153
105351
|
return {
|
|
105154
105352
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105165,7 +105363,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105165
105363
|
function createMCPServer(deps) {
|
|
105166
105364
|
const server = new McpServer({
|
|
105167
105365
|
name: "Moov",
|
|
105168
|
-
version: "0.0.0-dev.
|
|
105366
|
+
version: "0.0.0-dev.27"
|
|
105169
105367
|
});
|
|
105170
105368
|
const client = new MoovCore({
|
|
105171
105369
|
security: deps.security,
|
|
@@ -105320,6 +105518,7 @@ function createMCPServer(deps) {
|
|
|
105320
105518
|
tool(tool$transfersListRefunds);
|
|
105321
105519
|
tool(tool$transfersGetRefund);
|
|
105322
105520
|
tool(tool$transfersCreateReversal);
|
|
105521
|
+
tool(tool$transfersGetRiskOutcomes);
|
|
105323
105522
|
tool(tool$underwritingGet);
|
|
105324
105523
|
tool(tool$underwritingSave);
|
|
105325
105524
|
tool(tool$underwritingUpsert);
|
|
@@ -105545,6 +105744,7 @@ var init_server2 = __esm(() => {
|
|
|
105545
105744
|
init_transfersGet2();
|
|
105546
105745
|
init_transfersGetCancellation2();
|
|
105547
105746
|
init_transfersGetRefund2();
|
|
105747
|
+
init_transfersGetRiskOutcomes2();
|
|
105548
105748
|
init_transfersInitiateRefund2();
|
|
105549
105749
|
init_transfersList2();
|
|
105550
105750
|
init_transfersListCancellations2();
|
|
@@ -106769,7 +106969,7 @@ var routes = rn({
|
|
|
106769
106969
|
var app = Ve(routes, {
|
|
106770
106970
|
name: "mcp",
|
|
106771
106971
|
versionInfo: {
|
|
106772
|
-
currentVersion: "0.0.0-dev.
|
|
106972
|
+
currentVersion: "0.0.0-dev.27"
|
|
106773
106973
|
}
|
|
106774
106974
|
});
|
|
106775
106975
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106777,5 +106977,5 @@ export {
|
|
|
106777
106977
|
app
|
|
106778
106978
|
};
|
|
106779
106979
|
|
|
106780
|
-
//# debugId=
|
|
106980
|
+
//# debugId=F761B42B660403CC64756E2164756E21
|
|
106781
106981
|
//# sourceMappingURL=mcp-server.js.map
|