@moovio/sdk 0.21.13 → 0.21.14
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 +56 -48
- package/bin/mcp-server.js +860 -658
- package/bin/mcp-server.js.map +16 -12
- package/examples/package-lock.json +1 -1
- package/funcs/feePlansListFeeRevenue.d.ts +17 -0
- package/funcs/feePlansListFeeRevenue.d.ts.map +1 -0
- package/funcs/feePlansListFeeRevenue.js +132 -0
- package/funcs/feePlansListFeeRevenue.js.map +1 -0
- package/funcs/feePlansRetrieveFees.d.ts +1 -1
- package/funcs/feePlansRetrieveFees.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- 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/feePlansListFeeRevenue.d.ts +8 -0
- package/mcp-server/tools/feePlansListFeeRevenue.d.ts.map +1 -0
- package/mcp-server/tools/feePlansListFeeRevenue.js +65 -0
- package/mcp-server/tools/feePlansListFeeRevenue.js.map +1 -0
- package/mcp-server/tools/feePlansRetrieveFees.js +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcreditpaymentmethod.d.ts +40 -0
- package/models/components/instantbankcreditpaymentmethod.d.ts.map +1 -0
- package/models/components/instantbankcreditpaymentmethod.js +71 -0
- package/models/components/instantbankcreditpaymentmethod.js.map +1 -0
- package/models/components/paymentmethod.d.ts +5 -0
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +3 -0
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +1 -0
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +1 -0
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listfeerevenue.d.ts +81 -0
- package/models/operations/listfeerevenue.d.ts.map +1 -0
- package/models/operations/listfeerevenue.js +120 -0
- package/models/operations/listfeerevenue.js.map +1 -0
- package/package.json +1 -1
- package/sdk/feeplans.d.ts +8 -1
- package/sdk/feeplans.d.ts.map +1 -1
- package/sdk/feeplans.js +11 -1
- package/sdk/feeplans.js.map +1 -1
- package/src/funcs/feePlansListFeeRevenue.ts +187 -0
- package/src/funcs/feePlansRetrieveFees.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/feePlansListFeeRevenue.ts +39 -0
- package/src/mcp-server/tools/feePlansRetrieveFees.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/instantbankcreditpaymentmethod.ts +95 -0
- package/src/models/components/paymentmethod.ts +22 -0
- package/src/models/components/paymentmethodtype.ts +1 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listfeerevenue.ts +200 -0
- package/src/sdk/feeplans.ts +19 -1
package/bin/mcp-server.js
CHANGED
|
@@ -34030,9 +34030,9 @@ var init_config = __esm(() => {
|
|
|
34030
34030
|
SDK_METADATA = {
|
|
34031
34031
|
language: "typescript",
|
|
34032
34032
|
openapiDocVersion: "latest",
|
|
34033
|
-
sdkVersion: "0.21.
|
|
34033
|
+
sdkVersion: "0.21.14",
|
|
34034
34034
|
genVersion: "2.755.9",
|
|
34035
|
-
userAgent: "speakeasy-sdk/typescript 0.21.
|
|
34035
|
+
userAgent: "speakeasy-sdk/typescript 0.21.14 2.755.9 latest @moovio/sdk"
|
|
34036
34036
|
};
|
|
34037
34037
|
});
|
|
34038
34038
|
|
|
@@ -37499,7 +37499,8 @@ var init_paymentmethodtype = __esm(() => {
|
|
|
37499
37499
|
PushToCard: "push-to-card",
|
|
37500
37500
|
PullFromCard: "pull-from-card",
|
|
37501
37501
|
ApplePay: "apple-pay",
|
|
37502
|
-
CardPresentPayment: "card-present-payment"
|
|
37502
|
+
CardPresentPayment: "card-present-payment",
|
|
37503
|
+
InstantBankCredit: "instant-bank-credit"
|
|
37503
37504
|
};
|
|
37504
37505
|
PaymentMethodType$inboundSchema = nativeEnumType(PaymentMethodType);
|
|
37505
37506
|
PaymentMethodType$outboundSchema = PaymentMethodType$inboundSchema;
|
|
@@ -44096,6 +44097,28 @@ var init_individualnameupdate = __esm(() => {
|
|
|
44096
44097
|
});
|
|
44097
44098
|
});
|
|
44098
44099
|
|
|
44100
|
+
// src/models/components/instantbankcreditpaymentmethod.ts
|
|
44101
|
+
var InstantBankCreditPaymentMethodPaymentMethodType, InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema, InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema, InstantBankCreditPaymentMethod$inboundSchema, InstantBankCreditPaymentMethod$outboundSchema;
|
|
44102
|
+
var init_instantbankcreditpaymentmethod = __esm(() => {
|
|
44103
|
+
init_esm();
|
|
44104
|
+
init_paymentmethodsbankaccount();
|
|
44105
|
+
InstantBankCreditPaymentMethodPaymentMethodType = {
|
|
44106
|
+
InstantBankCredit: "instant-bank-credit"
|
|
44107
|
+
};
|
|
44108
|
+
InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(InstantBankCreditPaymentMethodPaymentMethodType);
|
|
44109
|
+
InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema = InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema;
|
|
44110
|
+
InstantBankCreditPaymentMethod$inboundSchema = objectType({
|
|
44111
|
+
paymentMethodID: stringType(),
|
|
44112
|
+
paymentMethodType: InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema,
|
|
44113
|
+
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
44114
|
+
});
|
|
44115
|
+
InstantBankCreditPaymentMethod$outboundSchema = objectType({
|
|
44116
|
+
paymentMethodID: stringType(),
|
|
44117
|
+
paymentMethodType: InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema,
|
|
44118
|
+
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
44119
|
+
});
|
|
44120
|
+
});
|
|
44121
|
+
|
|
44099
44122
|
// src/models/components/instantpaymentfees.ts
|
|
44100
44123
|
var InstantPaymentFees$inboundSchema, InstantPaymentFees$outboundSchema;
|
|
44101
44124
|
var init_instantpaymentfees = __esm(() => {
|
|
@@ -45757,6 +45780,7 @@ var init_paymentmethod = __esm(() => {
|
|
|
45757
45780
|
init_applepaypaymentmethod();
|
|
45758
45781
|
init_cardpaymentpaymentmethod();
|
|
45759
45782
|
init_cardpresentpaymentpaymentmethod();
|
|
45783
|
+
init_instantbankcreditpaymentmethod();
|
|
45760
45784
|
init_moovwalletpaymentmethod();
|
|
45761
45785
|
init_pullfromcardpaymentmethod();
|
|
45762
45786
|
init_pushtocardpaymentmethod();
|
|
@@ -45776,6 +45800,7 @@ var init_paymentmethod = __esm(() => {
|
|
|
45776
45800
|
ApplePayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
|
|
45777
45801
|
paymentMethodType: v2.paymentMethodType
|
|
45778
45802
|
}))),
|
|
45803
|
+
InstantBankCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
|
|
45779
45804
|
CardPresentPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
|
|
45780
45805
|
]);
|
|
45781
45806
|
PaymentMethod$outboundSchema = unionType([
|
|
@@ -45793,6 +45818,7 @@ var init_paymentmethod = __esm(() => {
|
|
|
45793
45818
|
ApplePayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
|
|
45794
45819
|
paymentMethodType: v2.paymentMethodType
|
|
45795
45820
|
}))),
|
|
45821
|
+
InstantBankCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
|
|
45796
45822
|
CardPresentPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
|
|
45797
45823
|
]);
|
|
45798
45824
|
});
|
|
@@ -48782,6 +48808,7 @@ var init_components = __esm(() => {
|
|
|
48782
48808
|
init_individualprofile();
|
|
48783
48809
|
init_industrycodes();
|
|
48784
48810
|
init_industrytaxonomy();
|
|
48811
|
+
init_instantbankcreditpaymentmethod();
|
|
48785
48812
|
init_instantpaymentfees();
|
|
48786
48813
|
init_institutionssearchresponse();
|
|
48787
48814
|
init_issuedcard();
|
|
@@ -56487,6 +56514,60 @@ var init_listfeeplans = __esm(() => {
|
|
|
56487
56514
|
});
|
|
56488
56515
|
});
|
|
56489
56516
|
|
|
56517
|
+
// src/models/operations/listfeerevenue.ts
|
|
56518
|
+
var ListFeeRevenueGlobals$inboundSchema, ListFeeRevenueGlobals$outboundSchema, ListFeeRevenueRequest$inboundSchema, ListFeeRevenueRequest$outboundSchema, ListFeeRevenueResponse$inboundSchema, ListFeeRevenueResponse$outboundSchema;
|
|
56519
|
+
var init_listfeerevenue = __esm(() => {
|
|
56520
|
+
init_esm();
|
|
56521
|
+
init_primitives();
|
|
56522
|
+
init_components();
|
|
56523
|
+
ListFeeRevenueGlobals$inboundSchema = objectType({
|
|
56524
|
+
"X-Moov-Version": stringType().optional()
|
|
56525
|
+
}).transform((v2) => {
|
|
56526
|
+
return remap(v2, {
|
|
56527
|
+
"X-Moov-Version": "xMoovVersion"
|
|
56528
|
+
});
|
|
56529
|
+
});
|
|
56530
|
+
ListFeeRevenueGlobals$outboundSchema = objectType({
|
|
56531
|
+
xMoovVersion: stringType().optional()
|
|
56532
|
+
}).transform((v2) => {
|
|
56533
|
+
return remap(v2, {
|
|
56534
|
+
xMoovVersion: "X-Moov-Version"
|
|
56535
|
+
});
|
|
56536
|
+
});
|
|
56537
|
+
ListFeeRevenueRequest$inboundSchema = objectType({
|
|
56538
|
+
skip: numberType().int().optional(),
|
|
56539
|
+
count: numberType().int().optional(),
|
|
56540
|
+
accountID: stringType(),
|
|
56541
|
+
startDateTime: stringType().optional(),
|
|
56542
|
+
endDateTime: stringType().optional()
|
|
56543
|
+
});
|
|
56544
|
+
ListFeeRevenueRequest$outboundSchema = objectType({
|
|
56545
|
+
skip: numberType().int().optional(),
|
|
56546
|
+
count: numberType().int().optional(),
|
|
56547
|
+
accountID: stringType(),
|
|
56548
|
+
startDateTime: stringType().optional(),
|
|
56549
|
+
endDateTime: stringType().optional()
|
|
56550
|
+
});
|
|
56551
|
+
ListFeeRevenueResponse$inboundSchema = objectType({
|
|
56552
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
56553
|
+
Result: arrayType(IncurredFee$inboundSchema)
|
|
56554
|
+
}).transform((v2) => {
|
|
56555
|
+
return remap(v2, {
|
|
56556
|
+
Headers: "headers",
|
|
56557
|
+
Result: "result"
|
|
56558
|
+
});
|
|
56559
|
+
});
|
|
56560
|
+
ListFeeRevenueResponse$outboundSchema = objectType({
|
|
56561
|
+
headers: recordType(arrayType(stringType())),
|
|
56562
|
+
result: arrayType(IncurredFee$outboundSchema)
|
|
56563
|
+
}).transform((v2) => {
|
|
56564
|
+
return remap(v2, {
|
|
56565
|
+
headers: "Headers",
|
|
56566
|
+
result: "Result"
|
|
56567
|
+
});
|
|
56568
|
+
});
|
|
56569
|
+
});
|
|
56570
|
+
|
|
56490
56571
|
// src/models/operations/listfeesfetch.ts
|
|
56491
56572
|
var ListFeesFetchGlobals$inboundSchema, ListFeesFetchGlobals$outboundSchema, ListFeesFetchRequest$inboundSchema2, ListFeesFetchRequest$outboundSchema2, ListFeesFetchResponse$inboundSchema, ListFeesFetchResponse$outboundSchema;
|
|
56492
56573
|
var init_listfeesfetch = __esm(() => {
|
|
@@ -59945,6 +60026,7 @@ var init_operations = __esm(() => {
|
|
|
59945
60026
|
init_listdisputes();
|
|
59946
60027
|
init_listfeeplanagreements();
|
|
59947
60028
|
init_listfeeplans();
|
|
60029
|
+
init_listfeerevenue();
|
|
59948
60030
|
init_listfeesfetch();
|
|
59949
60031
|
init_listfiles();
|
|
59950
60032
|
init_listimagemetadata();
|
|
@@ -68481,11 +68563,129 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68481
68563
|
};
|
|
68482
68564
|
});
|
|
68483
68565
|
|
|
68484
|
-
// src/funcs/
|
|
68485
|
-
function
|
|
68566
|
+
// src/funcs/feePlansListFeeRevenue.ts
|
|
68567
|
+
function feePlansListFeeRevenue(client, request, options) {
|
|
68486
68568
|
return new APIPromise($do70(client, request, options));
|
|
68487
68569
|
}
|
|
68488
68570
|
async function $do70(client, request, options) {
|
|
68571
|
+
const parsed = safeParse(request, (value) => ListFeeRevenueRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68572
|
+
if (!parsed.ok) {
|
|
68573
|
+
return [parsed, { status: "invalid" }];
|
|
68574
|
+
}
|
|
68575
|
+
const payload = parsed.value;
|
|
68576
|
+
const body = null;
|
|
68577
|
+
const pathParams = {
|
|
68578
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
68579
|
+
explode: false,
|
|
68580
|
+
charEncoding: "percent"
|
|
68581
|
+
})
|
|
68582
|
+
};
|
|
68583
|
+
const path = pathToFunc("/accounts/{accountID}/fee-revenue")(pathParams);
|
|
68584
|
+
const query = encodeFormQuery({
|
|
68585
|
+
count: payload.count,
|
|
68586
|
+
endDateTime: payload.endDateTime,
|
|
68587
|
+
skip: payload.skip,
|
|
68588
|
+
startDateTime: payload.startDateTime
|
|
68589
|
+
}, { explode: false });
|
|
68590
|
+
const headers = new Headers(compactMap({
|
|
68591
|
+
Accept: "application/json",
|
|
68592
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
68593
|
+
}));
|
|
68594
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
68595
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
68596
|
+
const context = {
|
|
68597
|
+
options: client._options,
|
|
68598
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
68599
|
+
operationID: "listFeeRevenue",
|
|
68600
|
+
oAuth2Scopes: null,
|
|
68601
|
+
resolvedSecurity: requestSecurity,
|
|
68602
|
+
securitySource: client._options.security,
|
|
68603
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
68604
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
68605
|
+
};
|
|
68606
|
+
const requestRes = client._createRequest(context, {
|
|
68607
|
+
security: requestSecurity,
|
|
68608
|
+
method: "GET",
|
|
68609
|
+
baseURL: options?.serverURL,
|
|
68610
|
+
path,
|
|
68611
|
+
headers,
|
|
68612
|
+
query,
|
|
68613
|
+
body,
|
|
68614
|
+
userAgent: client._options.userAgent,
|
|
68615
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
68616
|
+
}, options);
|
|
68617
|
+
if (!requestRes.ok) {
|
|
68618
|
+
return [requestRes, { status: "invalid" }];
|
|
68619
|
+
}
|
|
68620
|
+
const req = requestRes.value;
|
|
68621
|
+
const doResult = await client._do(req, {
|
|
68622
|
+
context,
|
|
68623
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
68624
|
+
retryConfig: context.retryConfig,
|
|
68625
|
+
retryCodes: context.retryCodes
|
|
68626
|
+
});
|
|
68627
|
+
if (!doResult.ok) {
|
|
68628
|
+
return [doResult, { status: "request-error", request: req }];
|
|
68629
|
+
}
|
|
68630
|
+
const response = doResult.value;
|
|
68631
|
+
const responseFields = {
|
|
68632
|
+
HttpMeta: { Response: response, Request: req }
|
|
68633
|
+
};
|
|
68634
|
+
const [result] = await match(json(200, ListFeeRevenueResponse$inboundSchema, {
|
|
68635
|
+
hdrs: true,
|
|
68636
|
+
key: "Result"
|
|
68637
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
68638
|
+
if (!result.ok) {
|
|
68639
|
+
return [result, { status: "complete", request: req, response }];
|
|
68640
|
+
}
|
|
68641
|
+
return [result, { status: "complete", request: req, response }];
|
|
68642
|
+
}
|
|
68643
|
+
var init_feePlansListFeeRevenue = __esm(() => {
|
|
68644
|
+
init_encodings();
|
|
68645
|
+
init_matchers();
|
|
68646
|
+
init_primitives();
|
|
68647
|
+
init_schemas();
|
|
68648
|
+
init_security();
|
|
68649
|
+
init_url();
|
|
68650
|
+
init_operations();
|
|
68651
|
+
init_async();
|
|
68652
|
+
});
|
|
68653
|
+
|
|
68654
|
+
// src/mcp-server/tools/feePlansListFeeRevenue.ts
|
|
68655
|
+
var args70, tool$feePlansListFeeRevenue;
|
|
68656
|
+
var init_feePlansListFeeRevenue2 = __esm(() => {
|
|
68657
|
+
init_feePlansListFeeRevenue();
|
|
68658
|
+
init_operations();
|
|
68659
|
+
init_tools();
|
|
68660
|
+
args70 = {
|
|
68661
|
+
request: ListFeeRevenueRequest$inboundSchema
|
|
68662
|
+
};
|
|
68663
|
+
tool$feePlansListFeeRevenue = {
|
|
68664
|
+
name: "fee-plans-list-fee-revenue",
|
|
68665
|
+
description: `Used by a partner. Retrieve revenue generated from merchant fees.
|
|
68666
|
+
|
|
68667
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68668
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68669
|
+
args: args70,
|
|
68670
|
+
tool: async (client, args71, ctx) => {
|
|
68671
|
+
const [result, apiCall] = await feePlansListFeeRevenue(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68672
|
+
if (!result.ok) {
|
|
68673
|
+
return {
|
|
68674
|
+
content: [{ type: "text", text: result.error.message }],
|
|
68675
|
+
isError: true
|
|
68676
|
+
};
|
|
68677
|
+
}
|
|
68678
|
+
const value = result.value.result;
|
|
68679
|
+
return formatResult(value, apiCall);
|
|
68680
|
+
}
|
|
68681
|
+
};
|
|
68682
|
+
});
|
|
68683
|
+
|
|
68684
|
+
// src/funcs/feePlansListFeesFetch.ts
|
|
68685
|
+
function feePlansListFeesFetch(client, request, options) {
|
|
68686
|
+
return new APIPromise($do71(client, request, options));
|
|
68687
|
+
}
|
|
68688
|
+
async function $do71(client, request, options) {
|
|
68489
68689
|
const parsed = safeParse(request, (value) => ListFeesFetchRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
68490
68690
|
if (!parsed.ok) {
|
|
68491
68691
|
return [parsed, { status: "invalid" }];
|
|
@@ -68566,12 +68766,12 @@ var init_feePlansListFeesFetch = __esm(() => {
|
|
|
68566
68766
|
});
|
|
68567
68767
|
|
|
68568
68768
|
// src/mcp-server/tools/feePlansListFeesFetch.ts
|
|
68569
|
-
var
|
|
68769
|
+
var args71, tool$feePlansListFeesFetch;
|
|
68570
68770
|
var init_feePlansListFeesFetch2 = __esm(() => {
|
|
68571
68771
|
init_feePlansListFeesFetch();
|
|
68572
68772
|
init_operations();
|
|
68573
68773
|
init_tools();
|
|
68574
|
-
|
|
68774
|
+
args71 = {
|
|
68575
68775
|
request: ListFeesFetchRequest$inboundSchema2
|
|
68576
68776
|
};
|
|
68577
68777
|
tool$feePlansListFeesFetch = {
|
|
@@ -68580,9 +68780,9 @@ var init_feePlansListFeesFetch2 = __esm(() => {
|
|
|
68580
68780
|
|
|
68581
68781
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68582
68782
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68583
|
-
args:
|
|
68584
|
-
tool: async (client,
|
|
68585
|
-
const [result, apiCall] = await feePlansListFeesFetch(client,
|
|
68783
|
+
args: args71,
|
|
68784
|
+
tool: async (client, args72, ctx) => {
|
|
68785
|
+
const [result, apiCall] = await feePlansListFeesFetch(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68586
68786
|
if (!result.ok) {
|
|
68587
68787
|
return {
|
|
68588
68788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68597,9 +68797,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68597
68797
|
|
|
68598
68798
|
// src/funcs/feePlansListPartnerPricing.ts
|
|
68599
68799
|
function feePlansListPartnerPricing(client, request, options) {
|
|
68600
|
-
return new APIPromise($
|
|
68800
|
+
return new APIPromise($do72(client, request, options));
|
|
68601
68801
|
}
|
|
68602
|
-
async function $
|
|
68802
|
+
async function $do72(client, request, options) {
|
|
68603
68803
|
const parsed = safeParse(request, (value) => ListPartnerPricingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68604
68804
|
if (!parsed.ok) {
|
|
68605
68805
|
return [parsed, { status: "invalid" }];
|
|
@@ -68681,12 +68881,12 @@ var init_feePlansListPartnerPricing = __esm(() => {
|
|
|
68681
68881
|
});
|
|
68682
68882
|
|
|
68683
68883
|
// src/mcp-server/tools/feePlansListPartnerPricing.ts
|
|
68684
|
-
var
|
|
68884
|
+
var args72, tool$feePlansListPartnerPricing;
|
|
68685
68885
|
var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
68686
68886
|
init_feePlansListPartnerPricing();
|
|
68687
68887
|
init_operations();
|
|
68688
68888
|
init_tools();
|
|
68689
|
-
|
|
68889
|
+
args72 = {
|
|
68690
68890
|
request: ListPartnerPricingRequest$inboundSchema
|
|
68691
68891
|
};
|
|
68692
68892
|
tool$feePlansListPartnerPricing = {
|
|
@@ -68695,9 +68895,9 @@ var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
|
68695
68895
|
|
|
68696
68896
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68697
68897
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68698
|
-
args:
|
|
68699
|
-
tool: async (client,
|
|
68700
|
-
const [result, apiCall] = await feePlansListPartnerPricing(client,
|
|
68898
|
+
args: args72,
|
|
68899
|
+
tool: async (client, args73, ctx) => {
|
|
68900
|
+
const [result, apiCall] = await feePlansListPartnerPricing(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68701
68901
|
if (!result.ok) {
|
|
68702
68902
|
return {
|
|
68703
68903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68712,9 +68912,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68712
68912
|
|
|
68713
68913
|
// src/funcs/feePlansListPartnerPricingAgreements.ts
|
|
68714
68914
|
function feePlansListPartnerPricingAgreements(client, request, options) {
|
|
68715
|
-
return new APIPromise($
|
|
68915
|
+
return new APIPromise($do73(client, request, options));
|
|
68716
68916
|
}
|
|
68717
|
-
async function $
|
|
68917
|
+
async function $do73(client, request, options) {
|
|
68718
68918
|
const parsed = safeParse(request, (value) => ListPartnerPricingAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68719
68919
|
if (!parsed.ok) {
|
|
68720
68920
|
return [parsed, { status: "invalid" }];
|
|
@@ -68799,12 +68999,12 @@ var init_feePlansListPartnerPricingAgreements = __esm(() => {
|
|
|
68799
68999
|
});
|
|
68800
69000
|
|
|
68801
69001
|
// src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts
|
|
68802
|
-
var
|
|
69002
|
+
var args73, tool$feePlansListPartnerPricingAgreements;
|
|
68803
69003
|
var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
68804
69004
|
init_feePlansListPartnerPricingAgreements();
|
|
68805
69005
|
init_operations();
|
|
68806
69006
|
init_tools();
|
|
68807
|
-
|
|
69007
|
+
args73 = {
|
|
68808
69008
|
request: ListPartnerPricingAgreementsRequest$inboundSchema
|
|
68809
69009
|
};
|
|
68810
69010
|
tool$feePlansListPartnerPricingAgreements = {
|
|
@@ -68813,9 +69013,9 @@ var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
|
68813
69013
|
|
|
68814
69014
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68815
69015
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68816
|
-
args:
|
|
68817
|
-
tool: async (client,
|
|
68818
|
-
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client,
|
|
69016
|
+
args: args73,
|
|
69017
|
+
tool: async (client, args74, ctx) => {
|
|
69018
|
+
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68819
69019
|
if (!result.ok) {
|
|
68820
69020
|
return {
|
|
68821
69021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68830,9 +69030,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68830
69030
|
|
|
68831
69031
|
// src/funcs/feePlansListResidualFees.ts
|
|
68832
69032
|
function feePlansListResidualFees(client, request, options) {
|
|
68833
|
-
return new APIPromise($
|
|
69033
|
+
return new APIPromise($do74(client, request, options));
|
|
68834
69034
|
}
|
|
68835
|
-
async function $
|
|
69035
|
+
async function $do74(client, request, options) {
|
|
68836
69036
|
const parsed = safeParse(request, (value) => ListResidualFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68837
69037
|
if (!parsed.ok) {
|
|
68838
69038
|
return [parsed, { status: "invalid" }];
|
|
@@ -68921,12 +69121,12 @@ var init_feePlansListResidualFees = __esm(() => {
|
|
|
68921
69121
|
});
|
|
68922
69122
|
|
|
68923
69123
|
// src/mcp-server/tools/feePlansListResidualFees.ts
|
|
68924
|
-
var
|
|
69124
|
+
var args74, tool$feePlansListResidualFees;
|
|
68925
69125
|
var init_feePlansListResidualFees2 = __esm(() => {
|
|
68926
69126
|
init_feePlansListResidualFees();
|
|
68927
69127
|
init_operations();
|
|
68928
69128
|
init_tools();
|
|
68929
|
-
|
|
69129
|
+
args74 = {
|
|
68930
69130
|
request: ListResidualFeesRequest$inboundSchema
|
|
68931
69131
|
};
|
|
68932
69132
|
tool$feePlansListResidualFees = {
|
|
@@ -68935,9 +69135,9 @@ var init_feePlansListResidualFees2 = __esm(() => {
|
|
|
68935
69135
|
|
|
68936
69136
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68937
69137
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68938
|
-
args:
|
|
68939
|
-
tool: async (client,
|
|
68940
|
-
const [result, apiCall] = await feePlansListResidualFees(client,
|
|
69138
|
+
args: args74,
|
|
69139
|
+
tool: async (client, args75, ctx) => {
|
|
69140
|
+
const [result, apiCall] = await feePlansListResidualFees(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68941
69141
|
if (!result.ok) {
|
|
68942
69142
|
return {
|
|
68943
69143
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68952,9 +69152,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68952
69152
|
|
|
68953
69153
|
// src/funcs/feePlansListResiduals.ts
|
|
68954
69154
|
function feePlansListResiduals(client, request, options) {
|
|
68955
|
-
return new APIPromise($
|
|
69155
|
+
return new APIPromise($do75(client, request, options));
|
|
68956
69156
|
}
|
|
68957
|
-
async function $
|
|
69157
|
+
async function $do75(client, request, options) {
|
|
68958
69158
|
const parsed = safeParse(request, (value) => ListResidualsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68959
69159
|
if (!parsed.ok) {
|
|
68960
69160
|
return [parsed, { status: "invalid" }];
|
|
@@ -69039,12 +69239,12 @@ var init_feePlansListResiduals = __esm(() => {
|
|
|
69039
69239
|
});
|
|
69040
69240
|
|
|
69041
69241
|
// src/mcp-server/tools/feePlansListResiduals.ts
|
|
69042
|
-
var
|
|
69242
|
+
var args75, tool$feePlansListResiduals;
|
|
69043
69243
|
var init_feePlansListResiduals2 = __esm(() => {
|
|
69044
69244
|
init_feePlansListResiduals();
|
|
69045
69245
|
init_operations();
|
|
69046
69246
|
init_tools();
|
|
69047
|
-
|
|
69247
|
+
args75 = {
|
|
69048
69248
|
request: ListResidualsRequest$inboundSchema
|
|
69049
69249
|
};
|
|
69050
69250
|
tool$feePlansListResiduals = {
|
|
@@ -69053,9 +69253,9 @@ var init_feePlansListResiduals2 = __esm(() => {
|
|
|
69053
69253
|
|
|
69054
69254
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69055
69255
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
69056
|
-
args:
|
|
69057
|
-
tool: async (client,
|
|
69058
|
-
const [result, apiCall] = await feePlansListResiduals(client,
|
|
69256
|
+
args: args75,
|
|
69257
|
+
tool: async (client, args76, ctx) => {
|
|
69258
|
+
const [result, apiCall] = await feePlansListResiduals(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69059
69259
|
if (!result.ok) {
|
|
69060
69260
|
return {
|
|
69061
69261
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69070,9 +69270,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
69070
69270
|
|
|
69071
69271
|
// src/funcs/feePlansRetrieveFees.ts
|
|
69072
69272
|
function feePlansRetrieveFees(client, request, options) {
|
|
69073
|
-
return new APIPromise($
|
|
69273
|
+
return new APIPromise($do76(client, request, options));
|
|
69074
69274
|
}
|
|
69075
|
-
async function $
|
|
69275
|
+
async function $do76(client, request, options) {
|
|
69076
69276
|
const parsed = safeParse(request, (value) => RetrieveFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69077
69277
|
if (!parsed.ok) {
|
|
69078
69278
|
return [parsed, { status: "invalid" }];
|
|
@@ -69159,23 +69359,23 @@ var init_feePlansRetrieveFees = __esm(() => {
|
|
|
69159
69359
|
});
|
|
69160
69360
|
|
|
69161
69361
|
// src/mcp-server/tools/feePlansRetrieveFees.ts
|
|
69162
|
-
var
|
|
69362
|
+
var args76, tool$feePlansRetrieveFees;
|
|
69163
69363
|
var init_feePlansRetrieveFees2 = __esm(() => {
|
|
69164
69364
|
init_feePlansRetrieveFees();
|
|
69165
69365
|
init_operations();
|
|
69166
69366
|
init_tools();
|
|
69167
|
-
|
|
69367
|
+
args76 = {
|
|
69168
69368
|
request: RetrieveFeesRequest$inboundSchema
|
|
69169
69369
|
};
|
|
69170
69370
|
tool$feePlansRetrieveFees = {
|
|
69171
69371
|
name: "fee-plans-retrieve-fees",
|
|
69172
|
-
description: `Retrieve fees
|
|
69372
|
+
description: `Retrieve fees assessed to an account.
|
|
69173
69373
|
|
|
69174
69374
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69175
69375
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69176
|
-
args:
|
|
69177
|
-
tool: async (client,
|
|
69178
|
-
const [result, apiCall] = await feePlansRetrieveFees(client,
|
|
69376
|
+
args: args76,
|
|
69377
|
+
tool: async (client, args77, ctx) => {
|
|
69378
|
+
const [result, apiCall] = await feePlansRetrieveFees(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69179
69379
|
if (!result.ok) {
|
|
69180
69380
|
return {
|
|
69181
69381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69190,9 +69390,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69190
69390
|
|
|
69191
69391
|
// src/funcs/filesGet.ts
|
|
69192
69392
|
function filesGet(client, request, options) {
|
|
69193
|
-
return new APIPromise($
|
|
69393
|
+
return new APIPromise($do77(client, request, options));
|
|
69194
69394
|
}
|
|
69195
|
-
async function $
|
|
69395
|
+
async function $do77(client, request, options) {
|
|
69196
69396
|
const parsed = safeParse(request, (value) => GetFileDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69197
69397
|
if (!parsed.ok) {
|
|
69198
69398
|
return [parsed, { status: "invalid" }];
|
|
@@ -69274,12 +69474,12 @@ var init_filesGet = __esm(() => {
|
|
|
69274
69474
|
});
|
|
69275
69475
|
|
|
69276
69476
|
// src/mcp-server/tools/filesGet.ts
|
|
69277
|
-
var
|
|
69477
|
+
var args77, tool$filesGet;
|
|
69278
69478
|
var init_filesGet2 = __esm(() => {
|
|
69279
69479
|
init_filesGet();
|
|
69280
69480
|
init_operations();
|
|
69281
69481
|
init_tools();
|
|
69282
|
-
|
|
69482
|
+
args77 = {
|
|
69283
69483
|
request: GetFileDetailsRequest$inboundSchema
|
|
69284
69484
|
};
|
|
69285
69485
|
tool$filesGet = {
|
|
@@ -69288,9 +69488,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
69288
69488
|
|
|
69289
69489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69290
69490
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
69291
|
-
args:
|
|
69292
|
-
tool: async (client,
|
|
69293
|
-
const [result, apiCall] = await filesGet(client,
|
|
69491
|
+
args: args77,
|
|
69492
|
+
tool: async (client, args78, ctx) => {
|
|
69493
|
+
const [result, apiCall] = await filesGet(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69294
69494
|
if (!result.ok) {
|
|
69295
69495
|
return {
|
|
69296
69496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69305,9 +69505,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
69305
69505
|
|
|
69306
69506
|
// src/funcs/filesList.ts
|
|
69307
69507
|
function filesList(client, request, options) {
|
|
69308
|
-
return new APIPromise($
|
|
69508
|
+
return new APIPromise($do78(client, request, options));
|
|
69309
69509
|
}
|
|
69310
|
-
async function $
|
|
69510
|
+
async function $do78(client, request, options) {
|
|
69311
69511
|
const parsed = safeParse(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69312
69512
|
if (!parsed.ok) {
|
|
69313
69513
|
return [parsed, { status: "invalid" }];
|
|
@@ -69385,12 +69585,12 @@ var init_filesList = __esm(() => {
|
|
|
69385
69585
|
});
|
|
69386
69586
|
|
|
69387
69587
|
// src/mcp-server/tools/filesList.ts
|
|
69388
|
-
var
|
|
69588
|
+
var args78, tool$filesList;
|
|
69389
69589
|
var init_filesList2 = __esm(() => {
|
|
69390
69590
|
init_filesList();
|
|
69391
69591
|
init_operations();
|
|
69392
69592
|
init_tools();
|
|
69393
|
-
|
|
69593
|
+
args78 = {
|
|
69394
69594
|
request: ListFilesRequest$inboundSchema
|
|
69395
69595
|
};
|
|
69396
69596
|
tool$filesList = {
|
|
@@ -69399,9 +69599,9 @@ var init_filesList2 = __esm(() => {
|
|
|
69399
69599
|
|
|
69400
69600
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69401
69601
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
69402
|
-
args:
|
|
69403
|
-
tool: async (client,
|
|
69404
|
-
const [result, apiCall] = await filesList(client,
|
|
69602
|
+
args: args78,
|
|
69603
|
+
tool: async (client, args79, ctx) => {
|
|
69604
|
+
const [result, apiCall] = await filesList(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69405
69605
|
if (!result.ok) {
|
|
69406
69606
|
return {
|
|
69407
69607
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69416,9 +69616,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
69416
69616
|
|
|
69417
69617
|
// src/funcs/filesUpload.ts
|
|
69418
69618
|
function filesUpload(client, request, options) {
|
|
69419
|
-
return new APIPromise($
|
|
69619
|
+
return new APIPromise($do79(client, request, options));
|
|
69420
69620
|
}
|
|
69421
|
-
async function $
|
|
69621
|
+
async function $do79(client, request, options) {
|
|
69422
69622
|
const parsed = safeParse(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69423
69623
|
if (!parsed.ok) {
|
|
69424
69624
|
return [parsed, { status: "invalid" }];
|
|
@@ -69527,12 +69727,12 @@ var init_filesUpload = __esm(() => {
|
|
|
69527
69727
|
});
|
|
69528
69728
|
|
|
69529
69729
|
// src/mcp-server/tools/filesUpload.ts
|
|
69530
|
-
var
|
|
69730
|
+
var args79, tool$filesUpload;
|
|
69531
69731
|
var init_filesUpload2 = __esm(() => {
|
|
69532
69732
|
init_filesUpload();
|
|
69533
69733
|
init_operations();
|
|
69534
69734
|
init_tools();
|
|
69535
|
-
|
|
69735
|
+
args79 = {
|
|
69536
69736
|
request: UploadFileRequest$inboundSchema
|
|
69537
69737
|
};
|
|
69538
69738
|
tool$filesUpload = {
|
|
@@ -69544,9 +69744,9 @@ and png.
|
|
|
69544
69744
|
|
|
69545
69745
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69546
69746
|
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
69547
|
-
args:
|
|
69548
|
-
tool: async (client,
|
|
69549
|
-
const [result, apiCall] = await filesUpload(client,
|
|
69747
|
+
args: args79,
|
|
69748
|
+
tool: async (client, args80, ctx) => {
|
|
69749
|
+
const [result, apiCall] = await filesUpload(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69550
69750
|
if (!result.ok) {
|
|
69551
69751
|
return {
|
|
69552
69752
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69561,9 +69761,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
69561
69761
|
|
|
69562
69762
|
// src/funcs/imagesDelete.ts
|
|
69563
69763
|
function imagesDelete(client, request, options) {
|
|
69564
|
-
return new APIPromise($
|
|
69764
|
+
return new APIPromise($do80(client, request, options));
|
|
69565
69765
|
}
|
|
69566
|
-
async function $
|
|
69766
|
+
async function $do80(client, request, options) {
|
|
69567
69767
|
const parsed = safeParse(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69568
69768
|
if (!parsed.ok) {
|
|
69569
69769
|
return [parsed, { status: "invalid" }];
|
|
@@ -69656,20 +69856,20 @@ var init_imagesDelete = __esm(() => {
|
|
|
69656
69856
|
});
|
|
69657
69857
|
|
|
69658
69858
|
// src/mcp-server/tools/imagesDelete.ts
|
|
69659
|
-
var
|
|
69859
|
+
var args80, tool$imagesDelete;
|
|
69660
69860
|
var init_imagesDelete2 = __esm(() => {
|
|
69661
69861
|
init_imagesDelete();
|
|
69662
69862
|
init_operations();
|
|
69663
69863
|
init_tools();
|
|
69664
|
-
|
|
69864
|
+
args80 = {
|
|
69665
69865
|
request: DeleteImageRequest$inboundSchema
|
|
69666
69866
|
};
|
|
69667
69867
|
tool$imagesDelete = {
|
|
69668
69868
|
name: "images-delete",
|
|
69669
69869
|
description: `Permanently delete an image by its ID.`,
|
|
69670
|
-
args:
|
|
69671
|
-
tool: async (client,
|
|
69672
|
-
const [result, apiCall] = await imagesDelete(client,
|
|
69870
|
+
args: args80,
|
|
69871
|
+
tool: async (client, args81, ctx) => {
|
|
69872
|
+
const [result, apiCall] = await imagesDelete(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69673
69873
|
if (!result.ok) {
|
|
69674
69874
|
return {
|
|
69675
69875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69683,9 +69883,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
69683
69883
|
|
|
69684
69884
|
// src/funcs/imagesGetMetadata.ts
|
|
69685
69885
|
function imagesGetMetadata(client, request, options) {
|
|
69686
|
-
return new APIPromise($
|
|
69886
|
+
return new APIPromise($do81(client, request, options));
|
|
69687
69887
|
}
|
|
69688
|
-
async function $
|
|
69888
|
+
async function $do81(client, request, options) {
|
|
69689
69889
|
const parsed = safeParse(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69690
69890
|
if (!parsed.ok) {
|
|
69691
69891
|
return [parsed, { status: "invalid" }];
|
|
@@ -69767,20 +69967,20 @@ var init_imagesGetMetadata = __esm(() => {
|
|
|
69767
69967
|
});
|
|
69768
69968
|
|
|
69769
69969
|
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
69770
|
-
var
|
|
69970
|
+
var args81, tool$imagesGetMetadata;
|
|
69771
69971
|
var init_imagesGetMetadata2 = __esm(() => {
|
|
69772
69972
|
init_imagesGetMetadata();
|
|
69773
69973
|
init_operations();
|
|
69774
69974
|
init_tools();
|
|
69775
|
-
|
|
69975
|
+
args81 = {
|
|
69776
69976
|
request: GetImageMetadataRequest$inboundSchema
|
|
69777
69977
|
};
|
|
69778
69978
|
tool$imagesGetMetadata = {
|
|
69779
69979
|
name: "images-get-metadata",
|
|
69780
69980
|
description: `Retrieve metadata for a specific image by its ID.`,
|
|
69781
|
-
args:
|
|
69782
|
-
tool: async (client,
|
|
69783
|
-
const [result, apiCall] = await imagesGetMetadata(client,
|
|
69981
|
+
args: args81,
|
|
69982
|
+
tool: async (client, args82, ctx) => {
|
|
69983
|
+
const [result, apiCall] = await imagesGetMetadata(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69784
69984
|
if (!result.ok) {
|
|
69785
69985
|
return {
|
|
69786
69986
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69795,9 +69995,9 @@ var init_imagesGetMetadata2 = __esm(() => {
|
|
|
69795
69995
|
|
|
69796
69996
|
// src/funcs/imagesGetPublic.ts
|
|
69797
69997
|
function imagesGetPublic(client, request, options) {
|
|
69798
|
-
return new APIPromise($
|
|
69998
|
+
return new APIPromise($do82(client, request, options));
|
|
69799
69999
|
}
|
|
69800
|
-
async function $
|
|
70000
|
+
async function $do82(client, request, options) {
|
|
69801
70001
|
const parsed = safeParse(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69802
70002
|
if (!parsed.ok) {
|
|
69803
70003
|
return [parsed, { status: "invalid" }];
|
|
@@ -69889,20 +70089,20 @@ var init_imagesGetPublic = __esm(() => {
|
|
|
69889
70089
|
});
|
|
69890
70090
|
|
|
69891
70091
|
// src/mcp-server/tools/imagesGetPublic.ts
|
|
69892
|
-
var
|
|
70092
|
+
var args82, tool$imagesGetPublic;
|
|
69893
70093
|
var init_imagesGetPublic2 = __esm(() => {
|
|
69894
70094
|
init_imagesGetPublic();
|
|
69895
70095
|
init_operations();
|
|
69896
70096
|
init_tools();
|
|
69897
|
-
|
|
70097
|
+
args82 = {
|
|
69898
70098
|
request: GetPublicImageRequest$inboundSchema
|
|
69899
70099
|
};
|
|
69900
70100
|
tool$imagesGetPublic = {
|
|
69901
70101
|
name: "images-get-public",
|
|
69902
70102
|
description: `Get an image by its public ID.`,
|
|
69903
|
-
args:
|
|
69904
|
-
tool: async (client,
|
|
69905
|
-
const [result, apiCall] = await imagesGetPublic(client,
|
|
70103
|
+
args: args82,
|
|
70104
|
+
tool: async (client, args83, ctx) => {
|
|
70105
|
+
const [result, apiCall] = await imagesGetPublic(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69906
70106
|
if (!result.ok) {
|
|
69907
70107
|
return {
|
|
69908
70108
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69917,9 +70117,9 @@ var init_imagesGetPublic2 = __esm(() => {
|
|
|
69917
70117
|
|
|
69918
70118
|
// src/funcs/imagesList.ts
|
|
69919
70119
|
function imagesList(client, request, options) {
|
|
69920
|
-
return new APIPromise($
|
|
70120
|
+
return new APIPromise($do83(client, request, options));
|
|
69921
70121
|
}
|
|
69922
|
-
async function $
|
|
70122
|
+
async function $do83(client, request, options) {
|
|
69923
70123
|
const parsed = safeParse(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69924
70124
|
if (!parsed.ok) {
|
|
69925
70125
|
return [parsed, { status: "invalid" }];
|
|
@@ -70002,20 +70202,20 @@ var init_imagesList = __esm(() => {
|
|
|
70002
70202
|
});
|
|
70003
70203
|
|
|
70004
70204
|
// src/mcp-server/tools/imagesList.ts
|
|
70005
|
-
var
|
|
70205
|
+
var args83, tool$imagesList;
|
|
70006
70206
|
var init_imagesList2 = __esm(() => {
|
|
70007
70207
|
init_imagesList();
|
|
70008
70208
|
init_operations();
|
|
70009
70209
|
init_tools();
|
|
70010
|
-
|
|
70210
|
+
args83 = {
|
|
70011
70211
|
request: ListImageMetadataRequest$inboundSchema
|
|
70012
70212
|
};
|
|
70013
70213
|
tool$imagesList = {
|
|
70014
70214
|
name: "images-list",
|
|
70015
70215
|
description: `List metadata for all images in the specified account.`,
|
|
70016
|
-
args:
|
|
70017
|
-
tool: async (client,
|
|
70018
|
-
const [result, apiCall] = await imagesList(client,
|
|
70216
|
+
args: args83,
|
|
70217
|
+
tool: async (client, args84, ctx) => {
|
|
70218
|
+
const [result, apiCall] = await imagesList(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70019
70219
|
if (!result.ok) {
|
|
70020
70220
|
return {
|
|
70021
70221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70030,9 +70230,9 @@ var init_imagesList2 = __esm(() => {
|
|
|
70030
70230
|
|
|
70031
70231
|
// src/funcs/imagesUpdate.ts
|
|
70032
70232
|
function imagesUpdate(client, request, options) {
|
|
70033
|
-
return new APIPromise($
|
|
70233
|
+
return new APIPromise($do84(client, request, options));
|
|
70034
70234
|
}
|
|
70035
|
-
async function $
|
|
70235
|
+
async function $do84(client, request, options) {
|
|
70036
70236
|
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70037
70237
|
if (!parsed.ok) {
|
|
70038
70238
|
return [parsed, { status: "invalid" }];
|
|
@@ -70148,12 +70348,12 @@ var init_imagesUpdate = __esm(() => {
|
|
|
70148
70348
|
});
|
|
70149
70349
|
|
|
70150
70350
|
// src/mcp-server/tools/imagesUpdate.ts
|
|
70151
|
-
var
|
|
70351
|
+
var args84, tool$imagesUpdate;
|
|
70152
70352
|
var init_imagesUpdate2 = __esm(() => {
|
|
70153
70353
|
init_imagesUpdate();
|
|
70154
70354
|
init_operations();
|
|
70155
70355
|
init_tools();
|
|
70156
|
-
|
|
70356
|
+
args84 = {
|
|
70157
70357
|
request: UpdateImageRequest$inboundSchema
|
|
70158
70358
|
};
|
|
70159
70359
|
tool$imagesUpdate = {
|
|
@@ -70163,9 +70363,9 @@ var init_imagesUpdate2 = __esm(() => {
|
|
|
70163
70363
|
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
70164
70364
|
the metadata form section to keep existing metadata, or send \`null\` to clear it.
|
|
70165
70365
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
70166
|
-
args:
|
|
70167
|
-
tool: async (client,
|
|
70168
|
-
const [result, apiCall] = await imagesUpdate(client,
|
|
70366
|
+
args: args84,
|
|
70367
|
+
tool: async (client, args85, ctx) => {
|
|
70368
|
+
const [result, apiCall] = await imagesUpdate(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70169
70369
|
if (!result.ok) {
|
|
70170
70370
|
return {
|
|
70171
70371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70180,9 +70380,9 @@ Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
|
70180
70380
|
|
|
70181
70381
|
// src/funcs/imagesUpdateMetadata.ts
|
|
70182
70382
|
function imagesUpdateMetadata(client, request, options) {
|
|
70183
|
-
return new APIPromise($
|
|
70383
|
+
return new APIPromise($do85(client, request, options));
|
|
70184
70384
|
}
|
|
70185
|
-
async function $
|
|
70385
|
+
async function $do85(client, request, options) {
|
|
70186
70386
|
const parsed = safeParse(request, (value) => UpdateImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70187
70387
|
if (!parsed.ok) {
|
|
70188
70388
|
return [parsed, { status: "invalid" }];
|
|
@@ -70282,20 +70482,20 @@ var init_imagesUpdateMetadata = __esm(() => {
|
|
|
70282
70482
|
});
|
|
70283
70483
|
|
|
70284
70484
|
// src/mcp-server/tools/imagesUpdateMetadata.ts
|
|
70285
|
-
var
|
|
70485
|
+
var args85, tool$imagesUpdateMetadata;
|
|
70286
70486
|
var init_imagesUpdateMetadata2 = __esm(() => {
|
|
70287
70487
|
init_imagesUpdateMetadata();
|
|
70288
70488
|
init_operations();
|
|
70289
70489
|
init_tools();
|
|
70290
|
-
|
|
70490
|
+
args85 = {
|
|
70291
70491
|
request: UpdateImageMetadataRequest$inboundSchema
|
|
70292
70492
|
};
|
|
70293
70493
|
tool$imagesUpdateMetadata = {
|
|
70294
70494
|
name: "images-update-metadata",
|
|
70295
70495
|
description: `Replace the metadata for an existing image.`,
|
|
70296
|
-
args:
|
|
70297
|
-
tool: async (client,
|
|
70298
|
-
const [result, apiCall] = await imagesUpdateMetadata(client,
|
|
70496
|
+
args: args85,
|
|
70497
|
+
tool: async (client, args86, ctx) => {
|
|
70498
|
+
const [result, apiCall] = await imagesUpdateMetadata(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70299
70499
|
if (!result.ok) {
|
|
70300
70500
|
return {
|
|
70301
70501
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70310,9 +70510,9 @@ var init_imagesUpdateMetadata2 = __esm(() => {
|
|
|
70310
70510
|
|
|
70311
70511
|
// src/funcs/imagesUpload.ts
|
|
70312
70512
|
function imagesUpload(client, request, options) {
|
|
70313
|
-
return new APIPromise($
|
|
70513
|
+
return new APIPromise($do86(client, request, options));
|
|
70314
70514
|
}
|
|
70315
|
-
async function $
|
|
70515
|
+
async function $do86(client, request, options) {
|
|
70316
70516
|
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70317
70517
|
if (!parsed.ok) {
|
|
70318
70518
|
return [parsed, { status: "invalid" }];
|
|
@@ -70424,21 +70624,21 @@ var init_imagesUpload = __esm(() => {
|
|
|
70424
70624
|
});
|
|
70425
70625
|
|
|
70426
70626
|
// src/mcp-server/tools/imagesUpload.ts
|
|
70427
|
-
var
|
|
70627
|
+
var args86, tool$imagesUpload;
|
|
70428
70628
|
var init_imagesUpload2 = __esm(() => {
|
|
70429
70629
|
init_imagesUpload();
|
|
70430
70630
|
init_operations();
|
|
70431
70631
|
init_tools();
|
|
70432
|
-
|
|
70632
|
+
args86 = {
|
|
70433
70633
|
request: UploadImageRequest$inboundSchema
|
|
70434
70634
|
};
|
|
70435
70635
|
tool$imagesUpload = {
|
|
70436
70636
|
name: "images-upload",
|
|
70437
70637
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
70438
70638
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
70439
|
-
args:
|
|
70440
|
-
tool: async (client,
|
|
70441
|
-
const [result, apiCall] = await imagesUpload(client,
|
|
70639
|
+
args: args86,
|
|
70640
|
+
tool: async (client, args87, ctx) => {
|
|
70641
|
+
const [result, apiCall] = await imagesUpload(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70442
70642
|
if (!result.ok) {
|
|
70443
70643
|
return {
|
|
70444
70644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70453,9 +70653,9 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
70453
70653
|
|
|
70454
70654
|
// src/funcs/industriesList.ts
|
|
70455
70655
|
function industriesList(client, _request, options) {
|
|
70456
|
-
return new APIPromise($
|
|
70656
|
+
return new APIPromise($do87(client, _request, options));
|
|
70457
70657
|
}
|
|
70458
|
-
async function $
|
|
70658
|
+
async function $do87(client, _request, options) {
|
|
70459
70659
|
const path = pathToFunc("/industries")();
|
|
70460
70660
|
const headers = new Headers(compactMap({
|
|
70461
70661
|
Accept: "application/json",
|
|
@@ -70519,12 +70719,12 @@ var init_industriesList = __esm(() => {
|
|
|
70519
70719
|
});
|
|
70520
70720
|
|
|
70521
70721
|
// src/mcp-server/tools/industriesList.ts
|
|
70522
|
-
var
|
|
70722
|
+
var args87, tool$industriesList;
|
|
70523
70723
|
var init_industriesList2 = __esm(() => {
|
|
70524
70724
|
init_industriesList();
|
|
70525
70725
|
init_operations();
|
|
70526
70726
|
init_tools();
|
|
70527
|
-
|
|
70727
|
+
args87 = {
|
|
70528
70728
|
request: ListIndustriesRequest$inboundSchema
|
|
70529
70729
|
};
|
|
70530
70730
|
tool$industriesList = {
|
|
@@ -70533,9 +70733,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
70533
70733
|
|
|
70534
70734
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
70535
70735
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
70536
|
-
args:
|
|
70537
|
-
tool: async (client,
|
|
70538
|
-
const [result, apiCall] = await industriesList(client,
|
|
70736
|
+
args: args87,
|
|
70737
|
+
tool: async (client, args88, ctx) => {
|
|
70738
|
+
const [result, apiCall] = await industriesList(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70539
70739
|
if (!result.ok) {
|
|
70540
70740
|
return {
|
|
70541
70741
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70550,9 +70750,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
70550
70750
|
|
|
70551
70751
|
// src/funcs/institutionsSearch.ts
|
|
70552
70752
|
function institutionsSearch(client, request, options) {
|
|
70553
|
-
return new APIPromise($
|
|
70753
|
+
return new APIPromise($do88(client, request, options));
|
|
70554
70754
|
}
|
|
70555
|
-
async function $
|
|
70755
|
+
async function $do88(client, request, options) {
|
|
70556
70756
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70557
70757
|
if (!parsed.ok) {
|
|
70558
70758
|
return [parsed, { status: "invalid" }];
|
|
@@ -70632,12 +70832,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
70632
70832
|
});
|
|
70633
70833
|
|
|
70634
70834
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
70635
|
-
var
|
|
70835
|
+
var args88, tool$institutionsSearch;
|
|
70636
70836
|
var init_institutionsSearch2 = __esm(() => {
|
|
70637
70837
|
init_institutionsSearch();
|
|
70638
70838
|
init_operations();
|
|
70639
70839
|
init_tools();
|
|
70640
|
-
|
|
70840
|
+
args88 = {
|
|
70641
70841
|
request: ListInstitutionsRequest$inboundSchema
|
|
70642
70842
|
};
|
|
70643
70843
|
tool$institutionsSearch = {
|
|
@@ -70646,9 +70846,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
70646
70846
|
|
|
70647
70847
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70648
70848
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
70649
|
-
args:
|
|
70650
|
-
tool: async (client,
|
|
70651
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
70849
|
+
args: args88,
|
|
70850
|
+
tool: async (client, args89, ctx) => {
|
|
70851
|
+
const [result, apiCall] = await institutionsSearch(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70652
70852
|
if (!result.ok) {
|
|
70653
70853
|
return {
|
|
70654
70854
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70663,9 +70863,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
70663
70863
|
|
|
70664
70864
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
70665
70865
|
function institutionsSearchInstitutions(client, request, options) {
|
|
70666
|
-
return new APIPromise($
|
|
70866
|
+
return new APIPromise($do89(client, request, options));
|
|
70667
70867
|
}
|
|
70668
|
-
async function $
|
|
70868
|
+
async function $do89(client, request, options) {
|
|
70669
70869
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70670
70870
|
if (!parsed.ok) {
|
|
70671
70871
|
return [parsed, { status: "invalid" }];
|
|
@@ -70743,12 +70943,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
70743
70943
|
});
|
|
70744
70944
|
|
|
70745
70945
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
70746
|
-
var
|
|
70946
|
+
var args89, tool$institutionsSearchInstitutions;
|
|
70747
70947
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
70748
70948
|
init_institutionsSearchInstitutions();
|
|
70749
70949
|
init_operations();
|
|
70750
70950
|
init_tools();
|
|
70751
|
-
|
|
70951
|
+
args89 = {
|
|
70752
70952
|
request: SearchInstitutionsRequest$inboundSchema
|
|
70753
70953
|
};
|
|
70754
70954
|
tool$institutionsSearchInstitutions = {
|
|
@@ -70761,9 +70961,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
70761
70961
|
|
|
70762
70962
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70763
70963
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
70764
|
-
args:
|
|
70765
|
-
tool: async (client,
|
|
70766
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
70964
|
+
args: args89,
|
|
70965
|
+
tool: async (client, args90, ctx) => {
|
|
70966
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70767
70967
|
if (!result.ok) {
|
|
70768
70968
|
return {
|
|
70769
70969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70778,9 +70978,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
70778
70978
|
|
|
70779
70979
|
// src/funcs/issuingTransactionsGet.ts
|
|
70780
70980
|
function issuingTransactionsGet(client, request, options) {
|
|
70781
|
-
return new APIPromise($
|
|
70981
|
+
return new APIPromise($do90(client, request, options));
|
|
70782
70982
|
}
|
|
70783
|
-
async function $
|
|
70983
|
+
async function $do90(client, request, options) {
|
|
70784
70984
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70785
70985
|
if (!parsed.ok) {
|
|
70786
70986
|
return [parsed, { status: "invalid" }];
|
|
@@ -70859,12 +71059,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
70859
71059
|
});
|
|
70860
71060
|
|
|
70861
71061
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
70862
|
-
var
|
|
71062
|
+
var args90, tool$issuingTransactionsGet;
|
|
70863
71063
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
70864
71064
|
init_issuingTransactionsGet();
|
|
70865
71065
|
init_operations();
|
|
70866
71066
|
init_tools();
|
|
70867
|
-
|
|
71067
|
+
args90 = {
|
|
70868
71068
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
70869
71069
|
};
|
|
70870
71070
|
tool$issuingTransactionsGet = {
|
|
@@ -70873,9 +71073,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
70873
71073
|
|
|
70874
71074
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70875
71075
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
70876
|
-
args:
|
|
70877
|
-
tool: async (client,
|
|
70878
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
71076
|
+
args: args90,
|
|
71077
|
+
tool: async (client, args91, ctx) => {
|
|
71078
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70879
71079
|
if (!result.ok) {
|
|
70880
71080
|
return {
|
|
70881
71081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70890,9 +71090,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
70890
71090
|
|
|
70891
71091
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
70892
71092
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
70893
|
-
return new APIPromise($
|
|
71093
|
+
return new APIPromise($do91(client, request, options));
|
|
70894
71094
|
}
|
|
70895
|
-
async function $
|
|
71095
|
+
async function $do91(client, request, options) {
|
|
70896
71096
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70897
71097
|
if (!parsed.ok) {
|
|
70898
71098
|
return [parsed, { status: "invalid" }];
|
|
@@ -70974,12 +71174,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
70974
71174
|
});
|
|
70975
71175
|
|
|
70976
71176
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
70977
|
-
var
|
|
71177
|
+
var args91, tool$issuingTransactionsGetAuthorization;
|
|
70978
71178
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
70979
71179
|
init_issuingTransactionsGetAuthorization();
|
|
70980
71180
|
init_operations();
|
|
70981
71181
|
init_tools();
|
|
70982
|
-
|
|
71182
|
+
args91 = {
|
|
70983
71183
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
70984
71184
|
};
|
|
70985
71185
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -70988,9 +71188,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
70988
71188
|
|
|
70989
71189
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70990
71190
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
70991
|
-
args:
|
|
70992
|
-
tool: async (client,
|
|
70993
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
71191
|
+
args: args91,
|
|
71192
|
+
tool: async (client, args92, ctx) => {
|
|
71193
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70994
71194
|
if (!result.ok) {
|
|
70995
71195
|
return {
|
|
70996
71196
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71005,9 +71205,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71005
71205
|
|
|
71006
71206
|
// src/funcs/issuingTransactionsList.ts
|
|
71007
71207
|
function issuingTransactionsList(client, request, options) {
|
|
71008
|
-
return new APIPromise($
|
|
71208
|
+
return new APIPromise($do92(client, request, options));
|
|
71009
71209
|
}
|
|
71010
|
-
async function $
|
|
71210
|
+
async function $do92(client, request, options) {
|
|
71011
71211
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71012
71212
|
if (!parsed.ok) {
|
|
71013
71213
|
return [parsed, { status: "invalid" }];
|
|
@@ -71093,12 +71293,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
71093
71293
|
});
|
|
71094
71294
|
|
|
71095
71295
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
71096
|
-
var
|
|
71296
|
+
var args92, tool$issuingTransactionsList;
|
|
71097
71297
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
71098
71298
|
init_issuingTransactionsList();
|
|
71099
71299
|
init_operations();
|
|
71100
71300
|
init_tools();
|
|
71101
|
-
|
|
71301
|
+
args92 = {
|
|
71102
71302
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
71103
71303
|
};
|
|
71104
71304
|
tool$issuingTransactionsList = {
|
|
@@ -71107,9 +71307,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
71107
71307
|
|
|
71108
71308
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71109
71309
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
71110
|
-
args:
|
|
71111
|
-
tool: async (client,
|
|
71112
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
71310
|
+
args: args92,
|
|
71311
|
+
tool: async (client, args93, ctx) => {
|
|
71312
|
+
const [result, apiCall] = await issuingTransactionsList(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71113
71313
|
if (!result.ok) {
|
|
71114
71314
|
return {
|
|
71115
71315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71124,9 +71324,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71124
71324
|
|
|
71125
71325
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
71126
71326
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
71127
|
-
return new APIPromise($
|
|
71327
|
+
return new APIPromise($do93(client, request, options));
|
|
71128
71328
|
}
|
|
71129
|
-
async function $
|
|
71329
|
+
async function $do93(client, request, options) {
|
|
71130
71330
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71131
71331
|
if (!parsed.ok) {
|
|
71132
71332
|
return [parsed, { status: "invalid" }];
|
|
@@ -71210,12 +71410,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
71210
71410
|
});
|
|
71211
71411
|
|
|
71212
71412
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
71213
|
-
var
|
|
71413
|
+
var args93, tool$issuingTransactionsListAuthorizationEvents;
|
|
71214
71414
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
71215
71415
|
init_issuingTransactionsListAuthorizationEvents();
|
|
71216
71416
|
init_operations();
|
|
71217
71417
|
init_tools();
|
|
71218
|
-
|
|
71418
|
+
args93 = {
|
|
71219
71419
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
71220
71420
|
};
|
|
71221
71421
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -71224,9 +71424,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
71224
71424
|
|
|
71225
71425
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71226
71426
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
71227
|
-
args:
|
|
71228
|
-
tool: async (client,
|
|
71229
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
71427
|
+
args: args93,
|
|
71428
|
+
tool: async (client, args94, ctx) => {
|
|
71429
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71230
71430
|
if (!result.ok) {
|
|
71231
71431
|
return {
|
|
71232
71432
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71241,9 +71441,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71241
71441
|
|
|
71242
71442
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
71243
71443
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
71244
|
-
return new APIPromise($
|
|
71444
|
+
return new APIPromise($do94(client, request, options));
|
|
71245
71445
|
}
|
|
71246
|
-
async function $
|
|
71446
|
+
async function $do94(client, request, options) {
|
|
71247
71447
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71248
71448
|
if (!parsed.ok) {
|
|
71249
71449
|
return [parsed, { status: "invalid" }];
|
|
@@ -71330,12 +71530,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
71330
71530
|
});
|
|
71331
71531
|
|
|
71332
71532
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
71333
|
-
var
|
|
71533
|
+
var args94, tool$issuingTransactionsListAuthorizations;
|
|
71334
71534
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
71335
71535
|
init_issuingTransactionsListAuthorizations();
|
|
71336
71536
|
init_operations();
|
|
71337
71537
|
init_tools();
|
|
71338
|
-
|
|
71538
|
+
args94 = {
|
|
71339
71539
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
71340
71540
|
};
|
|
71341
71541
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -71344,9 +71544,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
71344
71544
|
|
|
71345
71545
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71346
71546
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
71347
|
-
args:
|
|
71348
|
-
tool: async (client,
|
|
71349
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
71547
|
+
args: args94,
|
|
71548
|
+
tool: async (client, args95, ctx) => {
|
|
71549
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71350
71550
|
if (!result.ok) {
|
|
71351
71551
|
return {
|
|
71352
71552
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71361,9 +71561,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71361
71561
|
|
|
71362
71562
|
// src/funcs/onboardingCreateInvite.ts
|
|
71363
71563
|
function onboardingCreateInvite(client, request, options) {
|
|
71364
|
-
return new APIPromise($
|
|
71564
|
+
return new APIPromise($do95(client, request, options));
|
|
71365
71565
|
}
|
|
71366
|
-
async function $
|
|
71566
|
+
async function $do95(client, request, options) {
|
|
71367
71567
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71368
71568
|
if (!parsed.ok) {
|
|
71369
71569
|
return [parsed, { status: "invalid" }];
|
|
@@ -71450,12 +71650,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
71450
71650
|
});
|
|
71451
71651
|
|
|
71452
71652
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
71453
|
-
var
|
|
71653
|
+
var args95, tool$onboardingCreateInvite;
|
|
71454
71654
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
71455
71655
|
init_onboardingCreateInvite();
|
|
71456
71656
|
init_components();
|
|
71457
71657
|
init_tools();
|
|
71458
|
-
|
|
71658
|
+
args95 = {
|
|
71459
71659
|
request: OnboardingInviteRequest$inboundSchema
|
|
71460
71660
|
};
|
|
71461
71661
|
tool$onboardingCreateInvite = {
|
|
@@ -71464,9 +71664,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
71464
71664
|
|
|
71465
71665
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71466
71666
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
71467
|
-
args:
|
|
71468
|
-
tool: async (client,
|
|
71469
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
71667
|
+
args: args95,
|
|
71668
|
+
tool: async (client, args96, ctx) => {
|
|
71669
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71470
71670
|
if (!result.ok) {
|
|
71471
71671
|
return {
|
|
71472
71672
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71481,9 +71681,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
71481
71681
|
|
|
71482
71682
|
// src/funcs/onboardingGetInvite.ts
|
|
71483
71683
|
function onboardingGetInvite(client, request, options) {
|
|
71484
|
-
return new APIPromise($
|
|
71684
|
+
return new APIPromise($do96(client, request, options));
|
|
71485
71685
|
}
|
|
71486
|
-
async function $
|
|
71686
|
+
async function $do96(client, request, options) {
|
|
71487
71687
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71488
71688
|
if (!parsed.ok) {
|
|
71489
71689
|
return [parsed, { status: "invalid" }];
|
|
@@ -71561,12 +71761,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
71561
71761
|
});
|
|
71562
71762
|
|
|
71563
71763
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
71564
|
-
var
|
|
71764
|
+
var args96, tool$onboardingGetInvite;
|
|
71565
71765
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
71566
71766
|
init_onboardingGetInvite();
|
|
71567
71767
|
init_operations();
|
|
71568
71768
|
init_tools();
|
|
71569
|
-
|
|
71769
|
+
args96 = {
|
|
71570
71770
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
71571
71771
|
};
|
|
71572
71772
|
tool$onboardingGetInvite = {
|
|
@@ -71575,9 +71775,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
71575
71775
|
|
|
71576
71776
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71577
71777
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
71578
|
-
args:
|
|
71579
|
-
tool: async (client,
|
|
71580
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
71778
|
+
args: args96,
|
|
71779
|
+
tool: async (client, args97, ctx) => {
|
|
71780
|
+
const [result, apiCall] = await onboardingGetInvite(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71581
71781
|
if (!result.ok) {
|
|
71582
71782
|
return {
|
|
71583
71783
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71592,9 +71792,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
71592
71792
|
|
|
71593
71793
|
// src/funcs/onboardingListInvites.ts
|
|
71594
71794
|
function onboardingListInvites(client, _request, options) {
|
|
71595
|
-
return new APIPromise($
|
|
71795
|
+
return new APIPromise($do97(client, _request, options));
|
|
71596
71796
|
}
|
|
71597
|
-
async function $
|
|
71797
|
+
async function $do97(client, _request, options) {
|
|
71598
71798
|
const path = pathToFunc("/onboarding-invites")();
|
|
71599
71799
|
const headers = new Headers(compactMap({
|
|
71600
71800
|
Accept: "application/json",
|
|
@@ -71658,12 +71858,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
71658
71858
|
});
|
|
71659
71859
|
|
|
71660
71860
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
71661
|
-
var
|
|
71861
|
+
var args97, tool$onboardingListInvites;
|
|
71662
71862
|
var init_onboardingListInvites2 = __esm(() => {
|
|
71663
71863
|
init_onboardingListInvites();
|
|
71664
71864
|
init_operations();
|
|
71665
71865
|
init_tools();
|
|
71666
|
-
|
|
71866
|
+
args97 = {
|
|
71667
71867
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
71668
71868
|
};
|
|
71669
71869
|
tool$onboardingListInvites = {
|
|
@@ -71672,9 +71872,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
71672
71872
|
|
|
71673
71873
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71674
71874
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
71675
|
-
args:
|
|
71676
|
-
tool: async (client,
|
|
71677
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
71875
|
+
args: args97,
|
|
71876
|
+
tool: async (client, args98, ctx) => {
|
|
71877
|
+
const [result, apiCall] = await onboardingListInvites(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71678
71878
|
if (!result.ok) {
|
|
71679
71879
|
return {
|
|
71680
71880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71689,9 +71889,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
71689
71889
|
|
|
71690
71890
|
// src/funcs/onboardingRevokeInvite.ts
|
|
71691
71891
|
function onboardingRevokeInvite(client, request, options) {
|
|
71692
|
-
return new APIPromise($
|
|
71892
|
+
return new APIPromise($do98(client, request, options));
|
|
71693
71893
|
}
|
|
71694
|
-
async function $
|
|
71894
|
+
async function $do98(client, request, options) {
|
|
71695
71895
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71696
71896
|
if (!parsed.ok) {
|
|
71697
71897
|
return [parsed, { status: "invalid" }];
|
|
@@ -71766,12 +71966,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
71766
71966
|
});
|
|
71767
71967
|
|
|
71768
71968
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
71769
|
-
var
|
|
71969
|
+
var args98, tool$onboardingRevokeInvite;
|
|
71770
71970
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
71771
71971
|
init_onboardingRevokeInvite();
|
|
71772
71972
|
init_operations();
|
|
71773
71973
|
init_tools();
|
|
71774
|
-
|
|
71974
|
+
args98 = {
|
|
71775
71975
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
71776
71976
|
};
|
|
71777
71977
|
tool$onboardingRevokeInvite = {
|
|
@@ -71780,9 +71980,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
71780
71980
|
|
|
71781
71981
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71782
71982
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
71783
|
-
args:
|
|
71784
|
-
tool: async (client,
|
|
71785
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
71983
|
+
args: args98,
|
|
71984
|
+
tool: async (client, args99, ctx) => {
|
|
71985
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71786
71986
|
if (!result.ok) {
|
|
71787
71987
|
return {
|
|
71788
71988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71796,9 +71996,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
71796
71996
|
|
|
71797
71997
|
// src/funcs/paymentLinksCreate.ts
|
|
71798
71998
|
function paymentLinksCreate(client, request, options) {
|
|
71799
|
-
return new APIPromise($
|
|
71999
|
+
return new APIPromise($do99(client, request, options));
|
|
71800
72000
|
}
|
|
71801
|
-
async function $
|
|
72001
|
+
async function $do99(client, request, options) {
|
|
71802
72002
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71803
72003
|
if (!parsed.ok) {
|
|
71804
72004
|
return [parsed, { status: "invalid" }];
|
|
@@ -71890,12 +72090,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
71890
72090
|
});
|
|
71891
72091
|
|
|
71892
72092
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
71893
|
-
var
|
|
72093
|
+
var args99, tool$paymentLinksCreate;
|
|
71894
72094
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
71895
72095
|
init_paymentLinksCreate();
|
|
71896
72096
|
init_operations();
|
|
71897
72097
|
init_tools();
|
|
71898
|
-
|
|
72098
|
+
args99 = {
|
|
71899
72099
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
71900
72100
|
};
|
|
71901
72101
|
tool$paymentLinksCreate = {
|
|
@@ -71904,9 +72104,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
71904
72104
|
|
|
71905
72105
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71906
72106
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
71907
|
-
args:
|
|
71908
|
-
tool: async (client,
|
|
71909
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
72107
|
+
args: args99,
|
|
72108
|
+
tool: async (client, args100, ctx) => {
|
|
72109
|
+
const [result, apiCall] = await paymentLinksCreate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71910
72110
|
if (!result.ok) {
|
|
71911
72111
|
return {
|
|
71912
72112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71921,9 +72121,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
71921
72121
|
|
|
71922
72122
|
// src/funcs/paymentLinksDisable.ts
|
|
71923
72123
|
function paymentLinksDisable(client, request, options) {
|
|
71924
|
-
return new APIPromise($
|
|
72124
|
+
return new APIPromise($do100(client, request, options));
|
|
71925
72125
|
}
|
|
71926
|
-
async function $
|
|
72126
|
+
async function $do100(client, request, options) {
|
|
71927
72127
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71928
72128
|
if (!parsed.ok) {
|
|
71929
72129
|
return [parsed, { status: "invalid" }];
|
|
@@ -72004,12 +72204,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
72004
72204
|
});
|
|
72005
72205
|
|
|
72006
72206
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
72007
|
-
var
|
|
72207
|
+
var args100, tool$paymentLinksDisable;
|
|
72008
72208
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
72009
72209
|
init_paymentLinksDisable();
|
|
72010
72210
|
init_operations();
|
|
72011
72211
|
init_tools();
|
|
72012
|
-
|
|
72212
|
+
args100 = {
|
|
72013
72213
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
72014
72214
|
};
|
|
72015
72215
|
tool$paymentLinksDisable = {
|
|
@@ -72018,9 +72218,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
72018
72218
|
|
|
72019
72219
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72020
72220
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72021
|
-
args:
|
|
72022
|
-
tool: async (client,
|
|
72023
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
72221
|
+
args: args100,
|
|
72222
|
+
tool: async (client, args101, ctx) => {
|
|
72223
|
+
const [result, apiCall] = await paymentLinksDisable(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72024
72224
|
if (!result.ok) {
|
|
72025
72225
|
return {
|
|
72026
72226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72034,9 +72234,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72034
72234
|
|
|
72035
72235
|
// src/funcs/paymentLinksGet.ts
|
|
72036
72236
|
function paymentLinksGet(client, request, options) {
|
|
72037
|
-
return new APIPromise($
|
|
72237
|
+
return new APIPromise($do101(client, request, options));
|
|
72038
72238
|
}
|
|
72039
|
-
async function $
|
|
72239
|
+
async function $do101(client, request, options) {
|
|
72040
72240
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72041
72241
|
if (!parsed.ok) {
|
|
72042
72242
|
return [parsed, { status: "invalid" }];
|
|
@@ -72118,12 +72318,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
72118
72318
|
});
|
|
72119
72319
|
|
|
72120
72320
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
72121
|
-
var
|
|
72321
|
+
var args101, tool$paymentLinksGet;
|
|
72122
72322
|
var init_paymentLinksGet2 = __esm(() => {
|
|
72123
72323
|
init_paymentLinksGet();
|
|
72124
72324
|
init_operations();
|
|
72125
72325
|
init_tools();
|
|
72126
|
-
|
|
72326
|
+
args101 = {
|
|
72127
72327
|
request: GetPaymentLinkRequest$inboundSchema
|
|
72128
72328
|
};
|
|
72129
72329
|
tool$paymentLinksGet = {
|
|
@@ -72132,9 +72332,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
72132
72332
|
|
|
72133
72333
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72134
72334
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72135
|
-
args:
|
|
72136
|
-
tool: async (client,
|
|
72137
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
72335
|
+
args: args101,
|
|
72336
|
+
tool: async (client, args102, ctx) => {
|
|
72337
|
+
const [result, apiCall] = await paymentLinksGet(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72138
72338
|
if (!result.ok) {
|
|
72139
72339
|
return {
|
|
72140
72340
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72149,9 +72349,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72149
72349
|
|
|
72150
72350
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
72151
72351
|
function paymentLinksGetQRCode(client, request, options) {
|
|
72152
|
-
return new APIPromise($
|
|
72352
|
+
return new APIPromise($do102(client, request, options));
|
|
72153
72353
|
}
|
|
72154
|
-
async function $
|
|
72354
|
+
async function $do102(client, request, options) {
|
|
72155
72355
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72156
72356
|
if (!parsed.ok) {
|
|
72157
72357
|
return [parsed, { status: "invalid" }];
|
|
@@ -72237,12 +72437,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
72237
72437
|
});
|
|
72238
72438
|
|
|
72239
72439
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
72240
|
-
var
|
|
72440
|
+
var args102, tool$paymentLinksGetQRCode;
|
|
72241
72441
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
72242
72442
|
init_paymentLinksGetQRCode();
|
|
72243
72443
|
init_operations();
|
|
72244
72444
|
init_tools();
|
|
72245
|
-
|
|
72445
|
+
args102 = {
|
|
72246
72446
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
72247
72447
|
};
|
|
72248
72448
|
tool$paymentLinksGetQRCode = {
|
|
@@ -72253,9 +72453,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
72253
72453
|
|
|
72254
72454
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72255
72455
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72256
|
-
args:
|
|
72257
|
-
tool: async (client,
|
|
72258
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
72456
|
+
args: args102,
|
|
72457
|
+
tool: async (client, args103, ctx) => {
|
|
72458
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72259
72459
|
if (!result.ok) {
|
|
72260
72460
|
return {
|
|
72261
72461
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72270,9 +72470,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72270
72470
|
|
|
72271
72471
|
// src/funcs/paymentLinksList.ts
|
|
72272
72472
|
function paymentLinksList(client, request, options) {
|
|
72273
|
-
return new APIPromise($
|
|
72473
|
+
return new APIPromise($do103(client, request, options));
|
|
72274
72474
|
}
|
|
72275
|
-
async function $
|
|
72475
|
+
async function $do103(client, request, options) {
|
|
72276
72476
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72277
72477
|
if (!parsed.ok) {
|
|
72278
72478
|
return [parsed, { status: "invalid" }];
|
|
@@ -72357,12 +72557,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
72357
72557
|
});
|
|
72358
72558
|
|
|
72359
72559
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
72360
|
-
var
|
|
72560
|
+
var args103, tool$paymentLinksList;
|
|
72361
72561
|
var init_paymentLinksList2 = __esm(() => {
|
|
72362
72562
|
init_paymentLinksList();
|
|
72363
72563
|
init_operations();
|
|
72364
72564
|
init_tools();
|
|
72365
|
-
|
|
72565
|
+
args103 = {
|
|
72366
72566
|
request: ListPaymentLinksRequest$inboundSchema
|
|
72367
72567
|
};
|
|
72368
72568
|
tool$paymentLinksList = {
|
|
@@ -72371,9 +72571,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
72371
72571
|
|
|
72372
72572
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72373
72573
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72374
|
-
args:
|
|
72375
|
-
tool: async (client,
|
|
72376
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
72574
|
+
args: args103,
|
|
72575
|
+
tool: async (client, args104, ctx) => {
|
|
72576
|
+
const [result, apiCall] = await paymentLinksList(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72377
72577
|
if (!result.ok) {
|
|
72378
72578
|
return {
|
|
72379
72579
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72388,9 +72588,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72388
72588
|
|
|
72389
72589
|
// src/funcs/paymentLinksUpdate.ts
|
|
72390
72590
|
function paymentLinksUpdate(client, request, options) {
|
|
72391
|
-
return new APIPromise($
|
|
72591
|
+
return new APIPromise($do104(client, request, options));
|
|
72392
72592
|
}
|
|
72393
|
-
async function $
|
|
72593
|
+
async function $do104(client, request, options) {
|
|
72394
72594
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72395
72595
|
if (!parsed.ok) {
|
|
72396
72596
|
return [parsed, { status: "invalid" }];
|
|
@@ -72486,12 +72686,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
72486
72686
|
});
|
|
72487
72687
|
|
|
72488
72688
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
72489
|
-
var
|
|
72689
|
+
var args104, tool$paymentLinksUpdate;
|
|
72490
72690
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
72491
72691
|
init_paymentLinksUpdate();
|
|
72492
72692
|
init_operations();
|
|
72493
72693
|
init_tools();
|
|
72494
|
-
|
|
72694
|
+
args104 = {
|
|
72495
72695
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
72496
72696
|
};
|
|
72497
72697
|
tool$paymentLinksUpdate = {
|
|
@@ -72500,9 +72700,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
72500
72700
|
|
|
72501
72701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72502
72702
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72503
|
-
args:
|
|
72504
|
-
tool: async (client,
|
|
72505
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
72703
|
+
args: args104,
|
|
72704
|
+
tool: async (client, args105, ctx) => {
|
|
72705
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72506
72706
|
if (!result.ok) {
|
|
72507
72707
|
return {
|
|
72508
72708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72517,9 +72717,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72517
72717
|
|
|
72518
72718
|
// src/funcs/paymentMethodsGet.ts
|
|
72519
72719
|
function paymentMethodsGet(client, request, options) {
|
|
72520
|
-
return new APIPromise($
|
|
72720
|
+
return new APIPromise($do105(client, request, options));
|
|
72521
72721
|
}
|
|
72522
|
-
async function $
|
|
72722
|
+
async function $do105(client, request, options) {
|
|
72523
72723
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72524
72724
|
if (!parsed.ok) {
|
|
72525
72725
|
return [parsed, { status: "invalid" }];
|
|
@@ -72601,12 +72801,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
72601
72801
|
});
|
|
72602
72802
|
|
|
72603
72803
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
72604
|
-
var
|
|
72804
|
+
var args105, tool$paymentMethodsGet;
|
|
72605
72805
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
72606
72806
|
init_paymentMethodsGet();
|
|
72607
72807
|
init_operations();
|
|
72608
72808
|
init_tools();
|
|
72609
|
-
|
|
72809
|
+
args105 = {
|
|
72610
72810
|
request: GetPaymentMethodRequest$inboundSchema
|
|
72611
72811
|
};
|
|
72612
72812
|
tool$paymentMethodsGet = {
|
|
@@ -72615,9 +72815,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
72615
72815
|
|
|
72616
72816
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72617
72817
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
72618
|
-
args:
|
|
72619
|
-
tool: async (client,
|
|
72620
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
72818
|
+
args: args105,
|
|
72819
|
+
tool: async (client, args106, ctx) => {
|
|
72820
|
+
const [result, apiCall] = await paymentMethodsGet(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72621
72821
|
if (!result.ok) {
|
|
72622
72822
|
return {
|
|
72623
72823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72632,9 +72832,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
72632
72832
|
|
|
72633
72833
|
// src/funcs/paymentMethodsList.ts
|
|
72634
72834
|
function paymentMethodsList(client, request, options) {
|
|
72635
|
-
return new APIPromise($
|
|
72835
|
+
return new APIPromise($do106(client, request, options));
|
|
72636
72836
|
}
|
|
72637
|
-
async function $
|
|
72837
|
+
async function $do106(client, request, options) {
|
|
72638
72838
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72639
72839
|
if (!parsed.ok) {
|
|
72640
72840
|
return [parsed, { status: "invalid" }];
|
|
@@ -72717,12 +72917,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
72717
72917
|
});
|
|
72718
72918
|
|
|
72719
72919
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
72720
|
-
var
|
|
72920
|
+
var args106, tool$paymentMethodsList;
|
|
72721
72921
|
var init_paymentMethodsList2 = __esm(() => {
|
|
72722
72922
|
init_paymentMethodsList();
|
|
72723
72923
|
init_operations();
|
|
72724
72924
|
init_tools();
|
|
72725
|
-
|
|
72925
|
+
args106 = {
|
|
72726
72926
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
72727
72927
|
};
|
|
72728
72928
|
tool$paymentMethodsList = {
|
|
@@ -72732,9 +72932,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
72732
72932
|
|
|
72733
72933
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72734
72934
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
72735
|
-
args:
|
|
72736
|
-
tool: async (client,
|
|
72737
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
72935
|
+
args: args106,
|
|
72936
|
+
tool: async (client, args107, ctx) => {
|
|
72937
|
+
const [result, apiCall] = await paymentMethodsList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72738
72938
|
if (!result.ok) {
|
|
72739
72939
|
return {
|
|
72740
72940
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72749,9 +72949,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
72749
72949
|
|
|
72750
72950
|
// src/funcs/pingPing.ts
|
|
72751
72951
|
function pingPing(client, _request, options) {
|
|
72752
|
-
return new APIPromise($
|
|
72952
|
+
return new APIPromise($do107(client, _request, options));
|
|
72753
72953
|
}
|
|
72754
|
-
async function $
|
|
72954
|
+
async function $do107(client, _request, options) {
|
|
72755
72955
|
const path = pathToFunc("/ping")();
|
|
72756
72956
|
const headers = new Headers(compactMap({
|
|
72757
72957
|
Accept: "*/*",
|
|
@@ -72814,12 +73014,12 @@ var init_pingPing = __esm(() => {
|
|
|
72814
73014
|
});
|
|
72815
73015
|
|
|
72816
73016
|
// src/mcp-server/tools/pingPing.ts
|
|
72817
|
-
var
|
|
73017
|
+
var args107, tool$pingPing;
|
|
72818
73018
|
var init_pingPing2 = __esm(() => {
|
|
72819
73019
|
init_pingPing();
|
|
72820
73020
|
init_operations();
|
|
72821
73021
|
init_tools();
|
|
72822
|
-
|
|
73022
|
+
args107 = {
|
|
72823
73023
|
request: PingRequest$inboundSchema
|
|
72824
73024
|
};
|
|
72825
73025
|
tool$pingPing = {
|
|
@@ -72828,9 +73028,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
72828
73028
|
|
|
72829
73029
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72830
73030
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
72831
|
-
args:
|
|
72832
|
-
tool: async (client,
|
|
72833
|
-
const [result, apiCall] = await pingPing(client,
|
|
73031
|
+
args: args107,
|
|
73032
|
+
tool: async (client, args108, ctx) => {
|
|
73033
|
+
const [result, apiCall] = await pingPing(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72834
73034
|
if (!result.ok) {
|
|
72835
73035
|
return {
|
|
72836
73036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72844,9 +73044,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
72844
73044
|
|
|
72845
73045
|
// src/funcs/productsCreate.ts
|
|
72846
73046
|
function productsCreate(client, request, options) {
|
|
72847
|
-
return new APIPromise($
|
|
73047
|
+
return new APIPromise($do108(client, request, options));
|
|
72848
73048
|
}
|
|
72849
|
-
async function $
|
|
73049
|
+
async function $do108(client, request, options) {
|
|
72850
73050
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72851
73051
|
if (!parsed.ok) {
|
|
72852
73052
|
return [parsed, { status: "invalid" }];
|
|
@@ -72940,20 +73140,20 @@ var init_productsCreate = __esm(() => {
|
|
|
72940
73140
|
});
|
|
72941
73141
|
|
|
72942
73142
|
// src/mcp-server/tools/productsCreate.ts
|
|
72943
|
-
var
|
|
73143
|
+
var args108, tool$productsCreate;
|
|
72944
73144
|
var init_productsCreate2 = __esm(() => {
|
|
72945
73145
|
init_productsCreate();
|
|
72946
73146
|
init_operations();
|
|
72947
73147
|
init_tools();
|
|
72948
|
-
|
|
73148
|
+
args108 = {
|
|
72949
73149
|
request: CreateProductRequest$inboundSchema
|
|
72950
73150
|
};
|
|
72951
73151
|
tool$productsCreate = {
|
|
72952
73152
|
name: "products-create",
|
|
72953
73153
|
description: `Creates a new product for the specified account.`,
|
|
72954
|
-
args:
|
|
72955
|
-
tool: async (client,
|
|
72956
|
-
const [result, apiCall] = await productsCreate(client,
|
|
73154
|
+
args: args108,
|
|
73155
|
+
tool: async (client, args109, ctx) => {
|
|
73156
|
+
const [result, apiCall] = await productsCreate(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72957
73157
|
if (!result.ok) {
|
|
72958
73158
|
return {
|
|
72959
73159
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72968,9 +73168,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
72968
73168
|
|
|
72969
73169
|
// src/funcs/productsDisable.ts
|
|
72970
73170
|
function productsDisable(client, request, options) {
|
|
72971
|
-
return new APIPromise($
|
|
73171
|
+
return new APIPromise($do109(client, request, options));
|
|
72972
73172
|
}
|
|
72973
|
-
async function $
|
|
73173
|
+
async function $do109(client, request, options) {
|
|
72974
73174
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72975
73175
|
if (!parsed.ok) {
|
|
72976
73176
|
return [parsed, { status: "invalid" }];
|
|
@@ -73063,12 +73263,12 @@ var init_productsDisable = __esm(() => {
|
|
|
73063
73263
|
});
|
|
73064
73264
|
|
|
73065
73265
|
// src/mcp-server/tools/productsDisable.ts
|
|
73066
|
-
var
|
|
73266
|
+
var args109, tool$productsDisable;
|
|
73067
73267
|
var init_productsDisable2 = __esm(() => {
|
|
73068
73268
|
init_productsDisable();
|
|
73069
73269
|
init_operations();
|
|
73070
73270
|
init_tools();
|
|
73071
|
-
|
|
73271
|
+
args109 = {
|
|
73072
73272
|
request: DisableProductRequest$inboundSchema
|
|
73073
73273
|
};
|
|
73074
73274
|
tool$productsDisable = {
|
|
@@ -73076,9 +73276,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
73076
73276
|
description: `Disable a product by ID.
|
|
73077
73277
|
|
|
73078
73278
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
73079
|
-
args:
|
|
73080
|
-
tool: async (client,
|
|
73081
|
-
const [result, apiCall] = await productsDisable(client,
|
|
73279
|
+
args: args109,
|
|
73280
|
+
tool: async (client, args110, ctx) => {
|
|
73281
|
+
const [result, apiCall] = await productsDisable(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73082
73282
|
if (!result.ok) {
|
|
73083
73283
|
return {
|
|
73084
73284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73092,9 +73292,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
73092
73292
|
|
|
73093
73293
|
// src/funcs/productsGet.ts
|
|
73094
73294
|
function productsGet(client, request, options) {
|
|
73095
|
-
return new APIPromise($
|
|
73295
|
+
return new APIPromise($do110(client, request, options));
|
|
73096
73296
|
}
|
|
73097
|
-
async function $
|
|
73297
|
+
async function $do110(client, request, options) {
|
|
73098
73298
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73099
73299
|
if (!parsed.ok) {
|
|
73100
73300
|
return [parsed, { status: "invalid" }];
|
|
@@ -73176,20 +73376,20 @@ var init_productsGet = __esm(() => {
|
|
|
73176
73376
|
});
|
|
73177
73377
|
|
|
73178
73378
|
// src/mcp-server/tools/productsGet.ts
|
|
73179
|
-
var
|
|
73379
|
+
var args110, tool$productsGet;
|
|
73180
73380
|
var init_productsGet2 = __esm(() => {
|
|
73181
73381
|
init_productsGet();
|
|
73182
73382
|
init_operations();
|
|
73183
73383
|
init_tools();
|
|
73184
|
-
|
|
73384
|
+
args110 = {
|
|
73185
73385
|
request: GetProductRequest$inboundSchema
|
|
73186
73386
|
};
|
|
73187
73387
|
tool$productsGet = {
|
|
73188
73388
|
name: "products-get",
|
|
73189
73389
|
description: `Retrieve a product by ID.`,
|
|
73190
|
-
args:
|
|
73191
|
-
tool: async (client,
|
|
73192
|
-
const [result, apiCall] = await productsGet(client,
|
|
73390
|
+
args: args110,
|
|
73391
|
+
tool: async (client, args111, ctx) => {
|
|
73392
|
+
const [result, apiCall] = await productsGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73193
73393
|
if (!result.ok) {
|
|
73194
73394
|
return {
|
|
73195
73395
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73204,9 +73404,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
73204
73404
|
|
|
73205
73405
|
// src/funcs/productsList.ts
|
|
73206
73406
|
function productsList(client, request, options) {
|
|
73207
|
-
return new APIPromise($
|
|
73407
|
+
return new APIPromise($do111(client, request, options));
|
|
73208
73408
|
}
|
|
73209
|
-
async function $
|
|
73409
|
+
async function $do111(client, request, options) {
|
|
73210
73410
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73211
73411
|
if (!parsed.ok) {
|
|
73212
73412
|
return [parsed, { status: "invalid" }];
|
|
@@ -73289,20 +73489,20 @@ var init_productsList = __esm(() => {
|
|
|
73289
73489
|
});
|
|
73290
73490
|
|
|
73291
73491
|
// src/mcp-server/tools/productsList.ts
|
|
73292
|
-
var
|
|
73492
|
+
var args111, tool$productsList;
|
|
73293
73493
|
var init_productsList2 = __esm(() => {
|
|
73294
73494
|
init_productsList();
|
|
73295
73495
|
init_operations();
|
|
73296
73496
|
init_tools();
|
|
73297
|
-
|
|
73497
|
+
args111 = {
|
|
73298
73498
|
request: ListProductsRequest$inboundSchema
|
|
73299
73499
|
};
|
|
73300
73500
|
tool$productsList = {
|
|
73301
73501
|
name: "products-list",
|
|
73302
73502
|
description: `List active (non-disabled) products for an account.`,
|
|
73303
|
-
args:
|
|
73304
|
-
tool: async (client,
|
|
73305
|
-
const [result, apiCall] = await productsList(client,
|
|
73503
|
+
args: args111,
|
|
73504
|
+
tool: async (client, args112, ctx) => {
|
|
73505
|
+
const [result, apiCall] = await productsList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73306
73506
|
if (!result.ok) {
|
|
73307
73507
|
return {
|
|
73308
73508
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73317,9 +73517,9 @@ var init_productsList2 = __esm(() => {
|
|
|
73317
73517
|
|
|
73318
73518
|
// src/funcs/productsUpdate.ts
|
|
73319
73519
|
function productsUpdate(client, request, options) {
|
|
73320
|
-
return new APIPromise($
|
|
73520
|
+
return new APIPromise($do112(client, request, options));
|
|
73321
73521
|
}
|
|
73322
|
-
async function $
|
|
73522
|
+
async function $do112(client, request, options) {
|
|
73323
73523
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73324
73524
|
if (!parsed.ok) {
|
|
73325
73525
|
return [parsed, { status: "invalid" }];
|
|
@@ -73417,20 +73617,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
73417
73617
|
});
|
|
73418
73618
|
|
|
73419
73619
|
// src/mcp-server/tools/productsUpdate.ts
|
|
73420
|
-
var
|
|
73620
|
+
var args112, tool$productsUpdate;
|
|
73421
73621
|
var init_productsUpdate2 = __esm(() => {
|
|
73422
73622
|
init_productsUpdate();
|
|
73423
73623
|
init_operations();
|
|
73424
73624
|
init_tools();
|
|
73425
|
-
|
|
73625
|
+
args112 = {
|
|
73426
73626
|
request: UpdateProductRequest$inboundSchema
|
|
73427
73627
|
};
|
|
73428
73628
|
tool$productsUpdate = {
|
|
73429
73629
|
name: "products-update",
|
|
73430
73630
|
description: `Update a product and its options.`,
|
|
73431
|
-
args:
|
|
73432
|
-
tool: async (client,
|
|
73433
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
73631
|
+
args: args112,
|
|
73632
|
+
tool: async (client, args113, ctx) => {
|
|
73633
|
+
const [result, apiCall] = await productsUpdate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73434
73634
|
if (!result.ok) {
|
|
73435
73635
|
return {
|
|
73436
73636
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73445,9 +73645,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
73445
73645
|
|
|
73446
73646
|
// src/funcs/receiptsCreate.ts
|
|
73447
73647
|
function receiptsCreate(client, request, options) {
|
|
73448
|
-
return new APIPromise($
|
|
73648
|
+
return new APIPromise($do113(client, request, options));
|
|
73449
73649
|
}
|
|
73450
|
-
async function $
|
|
73650
|
+
async function $do113(client, request, options) {
|
|
73451
73651
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
73452
73652
|
if (!parsed.ok) {
|
|
73453
73653
|
return [parsed, { status: "invalid" }];
|
|
@@ -73535,13 +73735,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
73535
73735
|
});
|
|
73536
73736
|
|
|
73537
73737
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
73538
|
-
var
|
|
73738
|
+
var args113, tool$receiptsCreate;
|
|
73539
73739
|
var init_receiptsCreate2 = __esm(() => {
|
|
73540
73740
|
init_esm();
|
|
73541
73741
|
init_receiptsCreate();
|
|
73542
73742
|
init_components();
|
|
73543
73743
|
init_tools();
|
|
73544
|
-
|
|
73744
|
+
args113 = {
|
|
73545
73745
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
73546
73746
|
};
|
|
73547
73747
|
tool$receiptsCreate = {
|
|
@@ -73550,9 +73750,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
73550
73750
|
|
|
73551
73751
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73552
73752
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73553
|
-
args:
|
|
73554
|
-
tool: async (client,
|
|
73555
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
73753
|
+
args: args113,
|
|
73754
|
+
tool: async (client, args114, ctx) => {
|
|
73755
|
+
const [result, apiCall] = await receiptsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73556
73756
|
if (!result.ok) {
|
|
73557
73757
|
return {
|
|
73558
73758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73567,9 +73767,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
73567
73767
|
|
|
73568
73768
|
// src/funcs/receiptsList.ts
|
|
73569
73769
|
function receiptsList(client, request, options) {
|
|
73570
|
-
return new APIPromise($
|
|
73770
|
+
return new APIPromise($do114(client, request, options));
|
|
73571
73771
|
}
|
|
73572
|
-
async function $
|
|
73772
|
+
async function $do114(client, request, options) {
|
|
73573
73773
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73574
73774
|
if (!parsed.ok) {
|
|
73575
73775
|
return [parsed, { status: "invalid" }];
|
|
@@ -73645,12 +73845,12 @@ var init_receiptsList = __esm(() => {
|
|
|
73645
73845
|
});
|
|
73646
73846
|
|
|
73647
73847
|
// src/mcp-server/tools/receiptsList.ts
|
|
73648
|
-
var
|
|
73848
|
+
var args114, tool$receiptsList;
|
|
73649
73849
|
var init_receiptsList2 = __esm(() => {
|
|
73650
73850
|
init_receiptsList();
|
|
73651
73851
|
init_operations();
|
|
73652
73852
|
init_tools();
|
|
73653
|
-
|
|
73853
|
+
args114 = {
|
|
73654
73854
|
request: ListReceiptsRequest$inboundSchema
|
|
73655
73855
|
};
|
|
73656
73856
|
tool$receiptsList = {
|
|
@@ -73659,9 +73859,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
73659
73859
|
|
|
73660
73860
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73661
73861
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73662
|
-
args:
|
|
73663
|
-
tool: async (client,
|
|
73664
|
-
const [result, apiCall] = await receiptsList(client,
|
|
73862
|
+
args: args114,
|
|
73863
|
+
tool: async (client, args115, ctx) => {
|
|
73864
|
+
const [result, apiCall] = await receiptsList(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73665
73865
|
if (!result.ok) {
|
|
73666
73866
|
return {
|
|
73667
73867
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73676,9 +73876,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73676
73876
|
|
|
73677
73877
|
// src/funcs/representativesCreate.ts
|
|
73678
73878
|
function representativesCreate(client, request, options) {
|
|
73679
|
-
return new APIPromise($
|
|
73879
|
+
return new APIPromise($do115(client, request, options));
|
|
73680
73880
|
}
|
|
73681
|
-
async function $
|
|
73881
|
+
async function $do115(client, request, options) {
|
|
73682
73882
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73683
73883
|
if (!parsed.ok) {
|
|
73684
73884
|
return [parsed, { status: "invalid" }];
|
|
@@ -73774,12 +73974,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
73774
73974
|
});
|
|
73775
73975
|
|
|
73776
73976
|
// src/mcp-server/tools/representativesCreate.ts
|
|
73777
|
-
var
|
|
73977
|
+
var args115, tool$representativesCreate;
|
|
73778
73978
|
var init_representativesCreate2 = __esm(() => {
|
|
73779
73979
|
init_representativesCreate();
|
|
73780
73980
|
init_operations();
|
|
73781
73981
|
init_tools();
|
|
73782
|
-
|
|
73982
|
+
args115 = {
|
|
73783
73983
|
request: CreateRepresentativeRequest$inboundSchema
|
|
73784
73984
|
};
|
|
73785
73985
|
tool$representativesCreate = {
|
|
@@ -73790,9 +73990,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
73790
73990
|
|
|
73791
73991
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73792
73992
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
73793
|
-
args:
|
|
73794
|
-
tool: async (client,
|
|
73795
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
73993
|
+
args: args115,
|
|
73994
|
+
tool: async (client, args116, ctx) => {
|
|
73995
|
+
const [result, apiCall] = await representativesCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73796
73996
|
if (!result.ok) {
|
|
73797
73997
|
return {
|
|
73798
73998
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73807,9 +74007,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
73807
74007
|
|
|
73808
74008
|
// src/funcs/representativesDelete.ts
|
|
73809
74009
|
function representativesDelete(client, request, options) {
|
|
73810
|
-
return new APIPromise($
|
|
74010
|
+
return new APIPromise($do116(client, request, options));
|
|
73811
74011
|
}
|
|
73812
|
-
async function $
|
|
74012
|
+
async function $do116(client, request, options) {
|
|
73813
74013
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73814
74014
|
if (!parsed.ok) {
|
|
73815
74015
|
return [parsed, { status: "invalid" }];
|
|
@@ -73897,12 +74097,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
73897
74097
|
});
|
|
73898
74098
|
|
|
73899
74099
|
// src/mcp-server/tools/representativesDelete.ts
|
|
73900
|
-
var
|
|
74100
|
+
var args116, tool$representativesDelete;
|
|
73901
74101
|
var init_representativesDelete2 = __esm(() => {
|
|
73902
74102
|
init_representativesDelete();
|
|
73903
74103
|
init_operations();
|
|
73904
74104
|
init_tools();
|
|
73905
|
-
|
|
74105
|
+
args116 = {
|
|
73906
74106
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
73907
74107
|
};
|
|
73908
74108
|
tool$representativesDelete = {
|
|
@@ -73911,9 +74111,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
73911
74111
|
|
|
73912
74112
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73913
74113
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
73914
|
-
args:
|
|
73915
|
-
tool: async (client,
|
|
73916
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
74114
|
+
args: args116,
|
|
74115
|
+
tool: async (client, args117, ctx) => {
|
|
74116
|
+
const [result, apiCall] = await representativesDelete(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73917
74117
|
if (!result.ok) {
|
|
73918
74118
|
return {
|
|
73919
74119
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73927,9 +74127,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
73927
74127
|
|
|
73928
74128
|
// src/funcs/representativesGet.ts
|
|
73929
74129
|
function representativesGet(client, request, options) {
|
|
73930
|
-
return new APIPromise($
|
|
74130
|
+
return new APIPromise($do117(client, request, options));
|
|
73931
74131
|
}
|
|
73932
|
-
async function $
|
|
74132
|
+
async function $do117(client, request, options) {
|
|
73933
74133
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73934
74134
|
if (!parsed.ok) {
|
|
73935
74135
|
return [parsed, { status: "invalid" }];
|
|
@@ -74008,12 +74208,12 @@ var init_representativesGet = __esm(() => {
|
|
|
74008
74208
|
});
|
|
74009
74209
|
|
|
74010
74210
|
// src/mcp-server/tools/representativesGet.ts
|
|
74011
|
-
var
|
|
74211
|
+
var args117, tool$representativesGet;
|
|
74012
74212
|
var init_representativesGet2 = __esm(() => {
|
|
74013
74213
|
init_representativesGet();
|
|
74014
74214
|
init_operations();
|
|
74015
74215
|
init_tools();
|
|
74016
|
-
|
|
74216
|
+
args117 = {
|
|
74017
74217
|
request: GetRepresentativeRequest$inboundSchema
|
|
74018
74218
|
};
|
|
74019
74219
|
tool$representativesGet = {
|
|
@@ -74022,9 +74222,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
74022
74222
|
|
|
74023
74223
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74024
74224
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74025
|
-
args:
|
|
74026
|
-
tool: async (client,
|
|
74027
|
-
const [result, apiCall] = await representativesGet(client,
|
|
74225
|
+
args: args117,
|
|
74226
|
+
tool: async (client, args118, ctx) => {
|
|
74227
|
+
const [result, apiCall] = await representativesGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74028
74228
|
if (!result.ok) {
|
|
74029
74229
|
return {
|
|
74030
74230
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74039,9 +74239,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74039
74239
|
|
|
74040
74240
|
// src/funcs/representativesList.ts
|
|
74041
74241
|
function representativesList(client, request, options) {
|
|
74042
|
-
return new APIPromise($
|
|
74242
|
+
return new APIPromise($do118(client, request, options));
|
|
74043
74243
|
}
|
|
74044
|
-
async function $
|
|
74244
|
+
async function $do118(client, request, options) {
|
|
74045
74245
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74046
74246
|
if (!parsed.ok) {
|
|
74047
74247
|
return [parsed, { status: "invalid" }];
|
|
@@ -74119,12 +74319,12 @@ var init_representativesList = __esm(() => {
|
|
|
74119
74319
|
});
|
|
74120
74320
|
|
|
74121
74321
|
// src/mcp-server/tools/representativesList.ts
|
|
74122
|
-
var
|
|
74322
|
+
var args118, tool$representativesList;
|
|
74123
74323
|
var init_representativesList2 = __esm(() => {
|
|
74124
74324
|
init_representativesList();
|
|
74125
74325
|
init_operations();
|
|
74126
74326
|
init_tools();
|
|
74127
|
-
|
|
74327
|
+
args118 = {
|
|
74128
74328
|
request: ListRepresentativesRequest$inboundSchema
|
|
74129
74329
|
};
|
|
74130
74330
|
tool$representativesList = {
|
|
@@ -74136,9 +74336,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
74136
74336
|
|
|
74137
74337
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74138
74338
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74139
|
-
args:
|
|
74140
|
-
tool: async (client,
|
|
74141
|
-
const [result, apiCall] = await representativesList(client,
|
|
74339
|
+
args: args118,
|
|
74340
|
+
tool: async (client, args119, ctx) => {
|
|
74341
|
+
const [result, apiCall] = await representativesList(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74142
74342
|
if (!result.ok) {
|
|
74143
74343
|
return {
|
|
74144
74344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74153,9 +74353,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74153
74353
|
|
|
74154
74354
|
// src/funcs/representativesUpdate.ts
|
|
74155
74355
|
function representativesUpdate(client, request, options) {
|
|
74156
|
-
return new APIPromise($
|
|
74356
|
+
return new APIPromise($do119(client, request, options));
|
|
74157
74357
|
}
|
|
74158
|
-
async function $
|
|
74358
|
+
async function $do119(client, request, options) {
|
|
74159
74359
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74160
74360
|
if (!parsed.ok) {
|
|
74161
74361
|
return [parsed, { status: "invalid" }];
|
|
@@ -74249,12 +74449,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
74249
74449
|
});
|
|
74250
74450
|
|
|
74251
74451
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
74252
|
-
var
|
|
74452
|
+
var args119, tool$representativesUpdate;
|
|
74253
74453
|
var init_representativesUpdate2 = __esm(() => {
|
|
74254
74454
|
init_representativesUpdate();
|
|
74255
74455
|
init_operations();
|
|
74256
74456
|
init_tools();
|
|
74257
|
-
|
|
74457
|
+
args119 = {
|
|
74258
74458
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
74259
74459
|
};
|
|
74260
74460
|
tool$representativesUpdate = {
|
|
@@ -74276,9 +74476,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
74276
74476
|
|
|
74277
74477
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74278
74478
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74279
|
-
args:
|
|
74280
|
-
tool: async (client,
|
|
74281
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
74479
|
+
args: args119,
|
|
74480
|
+
tool: async (client, args120, ctx) => {
|
|
74481
|
+
const [result, apiCall] = await representativesUpdate(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74282
74482
|
if (!result.ok) {
|
|
74283
74483
|
return {
|
|
74284
74484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74293,9 +74493,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74293
74493
|
|
|
74294
74494
|
// src/funcs/schedulingCancel.ts
|
|
74295
74495
|
function schedulingCancel(client, request, options) {
|
|
74296
|
-
return new APIPromise($
|
|
74496
|
+
return new APIPromise($do120(client, request, options));
|
|
74297
74497
|
}
|
|
74298
|
-
async function $
|
|
74498
|
+
async function $do120(client, request, options) {
|
|
74299
74499
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74300
74500
|
if (!parsed.ok) {
|
|
74301
74501
|
return [parsed, { status: "invalid" }];
|
|
@@ -74388,12 +74588,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
74388
74588
|
});
|
|
74389
74589
|
|
|
74390
74590
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
74391
|
-
var
|
|
74591
|
+
var args120, tool$schedulingCancel;
|
|
74392
74592
|
var init_schedulingCancel2 = __esm(() => {
|
|
74393
74593
|
init_schedulingCancel();
|
|
74394
74594
|
init_operations();
|
|
74395
74595
|
init_tools();
|
|
74396
|
-
|
|
74596
|
+
args120 = {
|
|
74397
74597
|
request: CancelScheduleRequest$inboundSchema
|
|
74398
74598
|
};
|
|
74399
74599
|
tool$schedulingCancel = {
|
|
@@ -74402,9 +74602,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
74402
74602
|
|
|
74403
74603
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74404
74604
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74405
|
-
args:
|
|
74406
|
-
tool: async (client,
|
|
74407
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
74605
|
+
args: args120,
|
|
74606
|
+
tool: async (client, args121, ctx) => {
|
|
74607
|
+
const [result, apiCall] = await schedulingCancel(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74408
74608
|
if (!result.ok) {
|
|
74409
74609
|
return {
|
|
74410
74610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74418,9 +74618,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74418
74618
|
|
|
74419
74619
|
// src/funcs/schedulingCreate.ts
|
|
74420
74620
|
function schedulingCreate(client, request, options) {
|
|
74421
|
-
return new APIPromise($
|
|
74621
|
+
return new APIPromise($do121(client, request, options));
|
|
74422
74622
|
}
|
|
74423
|
-
async function $
|
|
74623
|
+
async function $do121(client, request, options) {
|
|
74424
74624
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74425
74625
|
if (!parsed.ok) {
|
|
74426
74626
|
return [parsed, { status: "invalid" }];
|
|
@@ -74514,12 +74714,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
74514
74714
|
});
|
|
74515
74715
|
|
|
74516
74716
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
74517
|
-
var
|
|
74717
|
+
var args121, tool$schedulingCreate;
|
|
74518
74718
|
var init_schedulingCreate2 = __esm(() => {
|
|
74519
74719
|
init_schedulingCreate();
|
|
74520
74720
|
init_operations();
|
|
74521
74721
|
init_tools();
|
|
74522
|
-
|
|
74722
|
+
args121 = {
|
|
74523
74723
|
request: CreateScheduleRequest$inboundSchema
|
|
74524
74724
|
};
|
|
74525
74725
|
tool$schedulingCreate = {
|
|
@@ -74528,9 +74728,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
74528
74728
|
|
|
74529
74729
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74530
74730
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74531
|
-
args:
|
|
74532
|
-
tool: async (client,
|
|
74533
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
74731
|
+
args: args121,
|
|
74732
|
+
tool: async (client, args122, ctx) => {
|
|
74733
|
+
const [result, apiCall] = await schedulingCreate(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74534
74734
|
if (!result.ok) {
|
|
74535
74735
|
return {
|
|
74536
74736
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74545,9 +74745,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74545
74745
|
|
|
74546
74746
|
// src/funcs/schedulingGet.ts
|
|
74547
74747
|
function schedulingGet(client, request, options) {
|
|
74548
|
-
return new APIPromise($
|
|
74748
|
+
return new APIPromise($do122(client, request, options));
|
|
74549
74749
|
}
|
|
74550
|
-
async function $
|
|
74750
|
+
async function $do122(client, request, options) {
|
|
74551
74751
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74552
74752
|
if (!parsed.ok) {
|
|
74553
74753
|
return [parsed, { status: "invalid" }];
|
|
@@ -74629,12 +74829,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
74629
74829
|
});
|
|
74630
74830
|
|
|
74631
74831
|
// src/mcp-server/tools/schedulingGet.ts
|
|
74632
|
-
var
|
|
74832
|
+
var args122, tool$schedulingGet;
|
|
74633
74833
|
var init_schedulingGet2 = __esm(() => {
|
|
74634
74834
|
init_schedulingGet();
|
|
74635
74835
|
init_operations();
|
|
74636
74836
|
init_tools();
|
|
74637
|
-
|
|
74837
|
+
args122 = {
|
|
74638
74838
|
request: GetSchedulesRequest$inboundSchema
|
|
74639
74839
|
};
|
|
74640
74840
|
tool$schedulingGet = {
|
|
@@ -74643,9 +74843,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
74643
74843
|
|
|
74644
74844
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74645
74845
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74646
|
-
args:
|
|
74647
|
-
tool: async (client,
|
|
74648
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
74846
|
+
args: args122,
|
|
74847
|
+
tool: async (client, args123, ctx) => {
|
|
74848
|
+
const [result, apiCall] = await schedulingGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74649
74849
|
if (!result.ok) {
|
|
74650
74850
|
return {
|
|
74651
74851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74660,9 +74860,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74660
74860
|
|
|
74661
74861
|
// src/funcs/schedulingGetOccurrance.ts
|
|
74662
74862
|
function schedulingGetOccurrance(client, request, options) {
|
|
74663
|
-
return new APIPromise($
|
|
74863
|
+
return new APIPromise($do123(client, request, options));
|
|
74664
74864
|
}
|
|
74665
|
-
async function $
|
|
74865
|
+
async function $do123(client, request, options) {
|
|
74666
74866
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74667
74867
|
if (!parsed.ok) {
|
|
74668
74868
|
return [parsed, { status: "invalid" }];
|
|
@@ -74745,12 +74945,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
74745
74945
|
});
|
|
74746
74946
|
|
|
74747
74947
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
74748
|
-
var
|
|
74948
|
+
var args123, tool$schedulingGetOccurrance;
|
|
74749
74949
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
74750
74950
|
init_schedulingGetOccurrance();
|
|
74751
74951
|
init_operations();
|
|
74752
74952
|
init_tools();
|
|
74753
|
-
|
|
74953
|
+
args123 = {
|
|
74754
74954
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
74755
74955
|
};
|
|
74756
74956
|
tool$schedulingGetOccurrance = {
|
|
@@ -74759,9 +74959,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
74759
74959
|
|
|
74760
74960
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74761
74961
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74762
|
-
args:
|
|
74763
|
-
tool: async (client,
|
|
74764
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
74962
|
+
args: args123,
|
|
74963
|
+
tool: async (client, args124, ctx) => {
|
|
74964
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74765
74965
|
if (!result.ok) {
|
|
74766
74966
|
return {
|
|
74767
74967
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74776,9 +74976,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74776
74976
|
|
|
74777
74977
|
// src/funcs/schedulingList.ts
|
|
74778
74978
|
function schedulingList(client, request, options) {
|
|
74779
|
-
return new APIPromise($
|
|
74979
|
+
return new APIPromise($do124(client, request, options));
|
|
74780
74980
|
}
|
|
74781
|
-
async function $
|
|
74981
|
+
async function $do124(client, request, options) {
|
|
74782
74982
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74783
74983
|
if (!parsed.ok) {
|
|
74784
74984
|
return [parsed, { status: "invalid" }];
|
|
@@ -74862,12 +75062,12 @@ var init_schedulingList = __esm(() => {
|
|
|
74862
75062
|
});
|
|
74863
75063
|
|
|
74864
75064
|
// src/mcp-server/tools/schedulingList.ts
|
|
74865
|
-
var
|
|
75065
|
+
var args124, tool$schedulingList;
|
|
74866
75066
|
var init_schedulingList2 = __esm(() => {
|
|
74867
75067
|
init_schedulingList();
|
|
74868
75068
|
init_operations();
|
|
74869
75069
|
init_tools();
|
|
74870
|
-
|
|
75070
|
+
args124 = {
|
|
74871
75071
|
request: ListSchedulesRequest$inboundSchema
|
|
74872
75072
|
};
|
|
74873
75073
|
tool$schedulingList = {
|
|
@@ -74876,9 +75076,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
74876
75076
|
|
|
74877
75077
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74878
75078
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74879
|
-
args:
|
|
74880
|
-
tool: async (client,
|
|
74881
|
-
const [result, apiCall] = await schedulingList(client,
|
|
75079
|
+
args: args124,
|
|
75080
|
+
tool: async (client, args125, ctx) => {
|
|
75081
|
+
const [result, apiCall] = await schedulingList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74882
75082
|
if (!result.ok) {
|
|
74883
75083
|
return {
|
|
74884
75084
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74893,9 +75093,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74893
75093
|
|
|
74894
75094
|
// src/funcs/schedulingUpdate.ts
|
|
74895
75095
|
function schedulingUpdate(client, request, options) {
|
|
74896
|
-
return new APIPromise($
|
|
75096
|
+
return new APIPromise($do125(client, request, options));
|
|
74897
75097
|
}
|
|
74898
|
-
async function $
|
|
75098
|
+
async function $do125(client, request, options) {
|
|
74899
75099
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74900
75100
|
if (!parsed.ok) {
|
|
74901
75101
|
return [parsed, { status: "invalid" }];
|
|
@@ -74993,12 +75193,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
74993
75193
|
});
|
|
74994
75194
|
|
|
74995
75195
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
74996
|
-
var
|
|
75196
|
+
var args125, tool$schedulingUpdate;
|
|
74997
75197
|
var init_schedulingUpdate2 = __esm(() => {
|
|
74998
75198
|
init_schedulingUpdate();
|
|
74999
75199
|
init_operations();
|
|
75000
75200
|
init_tools();
|
|
75001
|
-
|
|
75201
|
+
args125 = {
|
|
75002
75202
|
request: UpdateScheduleRequest$inboundSchema
|
|
75003
75203
|
};
|
|
75004
75204
|
tool$schedulingUpdate = {
|
|
@@ -75007,9 +75207,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
75007
75207
|
|
|
75008
75208
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75009
75209
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75010
|
-
args:
|
|
75011
|
-
tool: async (client,
|
|
75012
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
75210
|
+
args: args125,
|
|
75211
|
+
tool: async (client, args126, ctx) => {
|
|
75212
|
+
const [result, apiCall] = await schedulingUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75013
75213
|
if (!result.ok) {
|
|
75014
75214
|
return {
|
|
75015
75215
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75024,9 +75224,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75024
75224
|
|
|
75025
75225
|
// src/funcs/statementsGet.ts
|
|
75026
75226
|
function statementsGet(client, request, options) {
|
|
75027
|
-
return new APIPromise($
|
|
75227
|
+
return new APIPromise($do126(client, request, options));
|
|
75028
75228
|
}
|
|
75029
|
-
async function $
|
|
75229
|
+
async function $do126(client, request, options) {
|
|
75030
75230
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75031
75231
|
if (!parsed.ok) {
|
|
75032
75232
|
return [parsed, { status: "invalid" }];
|
|
@@ -75112,12 +75312,12 @@ var init_statementsGet = __esm(() => {
|
|
|
75112
75312
|
});
|
|
75113
75313
|
|
|
75114
75314
|
// src/mcp-server/tools/statementsGet.ts
|
|
75115
|
-
var
|
|
75315
|
+
var args126, tool$statementsGet;
|
|
75116
75316
|
var init_statementsGet2 = __esm(() => {
|
|
75117
75317
|
init_statementsGet();
|
|
75118
75318
|
init_operations();
|
|
75119
75319
|
init_tools();
|
|
75120
|
-
|
|
75320
|
+
args126 = {
|
|
75121
75321
|
request: GetStatementRequest$inboundSchema
|
|
75122
75322
|
};
|
|
75123
75323
|
tool$statementsGet = {
|
|
@@ -75128,9 +75328,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75128
75328
|
|
|
75129
75329
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75130
75330
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75131
|
-
args:
|
|
75132
|
-
tool: async (client,
|
|
75133
|
-
const [result, apiCall] = await statementsGet(client,
|
|
75331
|
+
args: args126,
|
|
75332
|
+
tool: async (client, args127, ctx) => {
|
|
75333
|
+
const [result, apiCall] = await statementsGet(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75134
75334
|
if (!result.ok) {
|
|
75135
75335
|
return {
|
|
75136
75336
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75145,9 +75345,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75145
75345
|
|
|
75146
75346
|
// src/funcs/statementsList.ts
|
|
75147
75347
|
function statementsList(client, request, options) {
|
|
75148
|
-
return new APIPromise($
|
|
75348
|
+
return new APIPromise($do127(client, request, options));
|
|
75149
75349
|
}
|
|
75150
|
-
async function $
|
|
75350
|
+
async function $do127(client, request, options) {
|
|
75151
75351
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75152
75352
|
if (!parsed.ok) {
|
|
75153
75353
|
return [parsed, { status: "invalid" }];
|
|
@@ -75233,12 +75433,12 @@ var init_statementsList = __esm(() => {
|
|
|
75233
75433
|
});
|
|
75234
75434
|
|
|
75235
75435
|
// src/mcp-server/tools/statementsList.ts
|
|
75236
|
-
var
|
|
75436
|
+
var args127, tool$statementsList;
|
|
75237
75437
|
var init_statementsList2 = __esm(() => {
|
|
75238
75438
|
init_statementsList();
|
|
75239
75439
|
init_operations();
|
|
75240
75440
|
init_tools();
|
|
75241
|
-
|
|
75441
|
+
args127 = {
|
|
75242
75442
|
request: ListStatementsRequest$inboundSchema
|
|
75243
75443
|
};
|
|
75244
75444
|
tool$statementsList = {
|
|
@@ -75247,9 +75447,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
75247
75447
|
|
|
75248
75448
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75249
75449
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75250
|
-
args:
|
|
75251
|
-
tool: async (client,
|
|
75252
|
-
const [result, apiCall] = await statementsList(client,
|
|
75450
|
+
args: args127,
|
|
75451
|
+
tool: async (client, args128, ctx) => {
|
|
75452
|
+
const [result, apiCall] = await statementsList(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75253
75453
|
if (!result.ok) {
|
|
75254
75454
|
return {
|
|
75255
75455
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75264,9 +75464,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75264
75464
|
|
|
75265
75465
|
// src/funcs/supportCreateTicket.ts
|
|
75266
75466
|
function supportCreateTicket(client, request, options) {
|
|
75267
|
-
return new APIPromise($
|
|
75467
|
+
return new APIPromise($do128(client, request, options));
|
|
75268
75468
|
}
|
|
75269
|
-
async function $
|
|
75469
|
+
async function $do128(client, request, options) {
|
|
75270
75470
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75271
75471
|
if (!parsed.ok) {
|
|
75272
75472
|
return [parsed, { status: "invalid" }];
|
|
@@ -75358,12 +75558,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
75358
75558
|
});
|
|
75359
75559
|
|
|
75360
75560
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
75361
|
-
var
|
|
75561
|
+
var args128, tool$supportCreateTicket;
|
|
75362
75562
|
var init_supportCreateTicket2 = __esm(() => {
|
|
75363
75563
|
init_supportCreateTicket();
|
|
75364
75564
|
init_operations();
|
|
75365
75565
|
init_tools();
|
|
75366
|
-
|
|
75566
|
+
args128 = {
|
|
75367
75567
|
request: CreateTicketRequest$inboundSchema
|
|
75368
75568
|
};
|
|
75369
75569
|
tool$supportCreateTicket = {
|
|
@@ -75375,9 +75575,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
75375
75575
|
|
|
75376
75576
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
75377
75577
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75378
|
-
args:
|
|
75379
|
-
tool: async (client,
|
|
75380
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
75578
|
+
args: args128,
|
|
75579
|
+
tool: async (client, args129, ctx) => {
|
|
75580
|
+
const [result, apiCall] = await supportCreateTicket(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75381
75581
|
if (!result.ok) {
|
|
75382
75582
|
return {
|
|
75383
75583
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75392,9 +75592,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
75392
75592
|
|
|
75393
75593
|
// src/funcs/supportGetTicket.ts
|
|
75394
75594
|
function supportGetTicket(client, request, options) {
|
|
75395
|
-
return new APIPromise($
|
|
75595
|
+
return new APIPromise($do129(client, request, options));
|
|
75396
75596
|
}
|
|
75397
|
-
async function $
|
|
75597
|
+
async function $do129(client, request, options) {
|
|
75398
75598
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75399
75599
|
if (!parsed.ok) {
|
|
75400
75600
|
return [parsed, { status: "invalid" }];
|
|
@@ -75476,12 +75676,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
75476
75676
|
});
|
|
75477
75677
|
|
|
75478
75678
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
75479
|
-
var
|
|
75679
|
+
var args129, tool$supportGetTicket;
|
|
75480
75680
|
var init_supportGetTicket2 = __esm(() => {
|
|
75481
75681
|
init_supportGetTicket();
|
|
75482
75682
|
init_operations();
|
|
75483
75683
|
init_tools();
|
|
75484
|
-
|
|
75684
|
+
args129 = {
|
|
75485
75685
|
request: GetTicketRequest$inboundSchema
|
|
75486
75686
|
};
|
|
75487
75687
|
tool$supportGetTicket = {
|
|
@@ -75493,9 +75693,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
75493
75693
|
|
|
75494
75694
|
If you're retrieving another account's ticket, then you'll need to
|
|
75495
75695
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75496
|
-
args:
|
|
75497
|
-
tool: async (client,
|
|
75498
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
75696
|
+
args: args129,
|
|
75697
|
+
tool: async (client, args130, ctx) => {
|
|
75698
|
+
const [result, apiCall] = await supportGetTicket(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75499
75699
|
if (!result.ok) {
|
|
75500
75700
|
return {
|
|
75501
75701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75510,9 +75710,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
75510
75710
|
|
|
75511
75711
|
// src/funcs/supportListTicketMessages.ts
|
|
75512
75712
|
function supportListTicketMessages(client, request, options) {
|
|
75513
|
-
return new APIPromise($
|
|
75713
|
+
return new APIPromise($do130(client, request, options));
|
|
75514
75714
|
}
|
|
75515
|
-
async function $
|
|
75715
|
+
async function $do130(client, request, options) {
|
|
75516
75716
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75517
75717
|
if (!parsed.ok) {
|
|
75518
75718
|
return [parsed, { status: "invalid" }];
|
|
@@ -75594,12 +75794,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
75594
75794
|
});
|
|
75595
75795
|
|
|
75596
75796
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
75597
|
-
var
|
|
75797
|
+
var args130, tool$supportListTicketMessages;
|
|
75598
75798
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
75599
75799
|
init_supportListTicketMessages();
|
|
75600
75800
|
init_operations();
|
|
75601
75801
|
init_tools();
|
|
75602
|
-
|
|
75802
|
+
args130 = {
|
|
75603
75803
|
request: ListTicketMessagesRequest$inboundSchema
|
|
75604
75804
|
};
|
|
75605
75805
|
tool$supportListTicketMessages = {
|
|
@@ -75611,9 +75811,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
75611
75811
|
|
|
75612
75812
|
If you're listing another account's messages, then you'll need to
|
|
75613
75813
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75614
|
-
args:
|
|
75615
|
-
tool: async (client,
|
|
75616
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
75814
|
+
args: args130,
|
|
75815
|
+
tool: async (client, args131, ctx) => {
|
|
75816
|
+
const [result, apiCall] = await supportListTicketMessages(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75617
75817
|
if (!result.ok) {
|
|
75618
75818
|
return {
|
|
75619
75819
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75628,9 +75828,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
75628
75828
|
|
|
75629
75829
|
// src/funcs/supportListTickets.ts
|
|
75630
75830
|
function supportListTickets(client, request, options) {
|
|
75631
|
-
return new APIPromise($
|
|
75831
|
+
return new APIPromise($do131(client, request, options));
|
|
75632
75832
|
}
|
|
75633
|
-
async function $
|
|
75833
|
+
async function $do131(client, request, options) {
|
|
75634
75834
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75635
75835
|
if (!parsed.ok) {
|
|
75636
75836
|
return [parsed, { status: "invalid" }];
|
|
@@ -75715,12 +75915,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
75715
75915
|
});
|
|
75716
75916
|
|
|
75717
75917
|
// src/mcp-server/tools/supportListTickets.ts
|
|
75718
|
-
var
|
|
75918
|
+
var args131, tool$supportListTickets;
|
|
75719
75919
|
var init_supportListTickets2 = __esm(() => {
|
|
75720
75920
|
init_supportListTickets();
|
|
75721
75921
|
init_operations();
|
|
75722
75922
|
init_tools();
|
|
75723
|
-
|
|
75923
|
+
args131 = {
|
|
75724
75924
|
request: ListTicketsRequest$inboundSchema
|
|
75725
75925
|
};
|
|
75726
75926
|
tool$supportListTickets = {
|
|
@@ -75732,9 +75932,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
75732
75932
|
|
|
75733
75933
|
If you're listing another account's tickets, then you'll need to
|
|
75734
75934
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75735
|
-
args:
|
|
75736
|
-
tool: async (client,
|
|
75737
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
75935
|
+
args: args131,
|
|
75936
|
+
tool: async (client, args132, ctx) => {
|
|
75937
|
+
const [result, apiCall] = await supportListTickets(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75738
75938
|
if (!result.ok) {
|
|
75739
75939
|
return {
|
|
75740
75940
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75749,9 +75949,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
75749
75949
|
|
|
75750
75950
|
// src/funcs/supportUpdateTicket.ts
|
|
75751
75951
|
function supportUpdateTicket(client, request, options) {
|
|
75752
|
-
return new APIPromise($
|
|
75952
|
+
return new APIPromise($do132(client, request, options));
|
|
75753
75953
|
}
|
|
75754
|
-
async function $
|
|
75954
|
+
async function $do132(client, request, options) {
|
|
75755
75955
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75756
75956
|
if (!parsed.ok) {
|
|
75757
75957
|
return [parsed, { status: "invalid" }];
|
|
@@ -75847,12 +76047,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
75847
76047
|
});
|
|
75848
76048
|
|
|
75849
76049
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
75850
|
-
var
|
|
76050
|
+
var args132, tool$supportUpdateTicket;
|
|
75851
76051
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
75852
76052
|
init_supportUpdateTicket();
|
|
75853
76053
|
init_operations();
|
|
75854
76054
|
init_tools();
|
|
75855
|
-
|
|
76055
|
+
args132 = {
|
|
75856
76056
|
request: UpdateTicketRequest$inboundSchema
|
|
75857
76057
|
};
|
|
75858
76058
|
tool$supportUpdateTicket = {
|
|
@@ -75864,9 +76064,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
75864
76064
|
|
|
75865
76065
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
75866
76066
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75867
|
-
args:
|
|
75868
|
-
tool: async (client,
|
|
75869
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
76067
|
+
args: args132,
|
|
76068
|
+
tool: async (client, args133, ctx) => {
|
|
76069
|
+
const [result, apiCall] = await supportUpdateTicket(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75870
76070
|
if (!result.ok) {
|
|
75871
76071
|
return {
|
|
75872
76072
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75881,9 +76081,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
75881
76081
|
|
|
75882
76082
|
// src/funcs/sweepsCreateConfig.ts
|
|
75883
76083
|
function sweepsCreateConfig(client, request, options) {
|
|
75884
|
-
return new APIPromise($
|
|
76084
|
+
return new APIPromise($do133(client, request, options));
|
|
75885
76085
|
}
|
|
75886
|
-
async function $
|
|
76086
|
+
async function $do133(client, request, options) {
|
|
75887
76087
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75888
76088
|
if (!parsed.ok) {
|
|
75889
76089
|
return [parsed, { status: "invalid" }];
|
|
@@ -75975,12 +76175,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
75975
76175
|
});
|
|
75976
76176
|
|
|
75977
76177
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
75978
|
-
var
|
|
76178
|
+
var args133, tool$sweepsCreateConfig;
|
|
75979
76179
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
75980
76180
|
init_sweepsCreateConfig();
|
|
75981
76181
|
init_operations();
|
|
75982
76182
|
init_tools();
|
|
75983
|
-
|
|
76183
|
+
args133 = {
|
|
75984
76184
|
request: CreateSweepConfigRequest$inboundSchema
|
|
75985
76185
|
};
|
|
75986
76186
|
tool$sweepsCreateConfig = {
|
|
@@ -75989,9 +76189,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
75989
76189
|
|
|
75990
76190
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75991
76191
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
75992
|
-
args:
|
|
75993
|
-
tool: async (client,
|
|
75994
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
76192
|
+
args: args133,
|
|
76193
|
+
tool: async (client, args134, ctx) => {
|
|
76194
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75995
76195
|
if (!result.ok) {
|
|
75996
76196
|
return {
|
|
75997
76197
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76006,9 +76206,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
76006
76206
|
|
|
76007
76207
|
// src/funcs/sweepsGet.ts
|
|
76008
76208
|
function sweepsGet(client, request, options) {
|
|
76009
|
-
return new APIPromise($
|
|
76209
|
+
return new APIPromise($do134(client, request, options));
|
|
76010
76210
|
}
|
|
76011
|
-
async function $
|
|
76211
|
+
async function $do134(client, request, options) {
|
|
76012
76212
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76013
76213
|
if (!parsed.ok) {
|
|
76014
76214
|
return [parsed, { status: "invalid" }];
|
|
@@ -76094,12 +76294,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
76094
76294
|
});
|
|
76095
76295
|
|
|
76096
76296
|
// src/mcp-server/tools/sweepsGet.ts
|
|
76097
|
-
var
|
|
76297
|
+
var args134, tool$sweepsGet;
|
|
76098
76298
|
var init_sweepsGet2 = __esm(() => {
|
|
76099
76299
|
init_sweepsGet();
|
|
76100
76300
|
init_operations();
|
|
76101
76301
|
init_tools();
|
|
76102
|
-
|
|
76302
|
+
args134 = {
|
|
76103
76303
|
request: GetSweepRequest$inboundSchema
|
|
76104
76304
|
};
|
|
76105
76305
|
tool$sweepsGet = {
|
|
@@ -76108,9 +76308,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
76108
76308
|
|
|
76109
76309
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76110
76310
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76111
|
-
args:
|
|
76112
|
-
tool: async (client,
|
|
76113
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
76311
|
+
args: args134,
|
|
76312
|
+
tool: async (client, args135, ctx) => {
|
|
76313
|
+
const [result, apiCall] = await sweepsGet(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76114
76314
|
if (!result.ok) {
|
|
76115
76315
|
return {
|
|
76116
76316
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76125,9 +76325,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76125
76325
|
|
|
76126
76326
|
// src/funcs/sweepsGetConfig.ts
|
|
76127
76327
|
function sweepsGetConfig(client, request, options) {
|
|
76128
|
-
return new APIPromise($
|
|
76328
|
+
return new APIPromise($do135(client, request, options));
|
|
76129
76329
|
}
|
|
76130
|
-
async function $
|
|
76330
|
+
async function $do135(client, request, options) {
|
|
76131
76331
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76132
76332
|
if (!parsed.ok) {
|
|
76133
76333
|
return [parsed, { status: "invalid" }];
|
|
@@ -76209,12 +76409,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
76209
76409
|
});
|
|
76210
76410
|
|
|
76211
76411
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
76212
|
-
var
|
|
76412
|
+
var args135, tool$sweepsGetConfig;
|
|
76213
76413
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
76214
76414
|
init_sweepsGetConfig();
|
|
76215
76415
|
init_operations();
|
|
76216
76416
|
init_tools();
|
|
76217
|
-
|
|
76417
|
+
args135 = {
|
|
76218
76418
|
request: GetSweepConfigRequest$inboundSchema
|
|
76219
76419
|
};
|
|
76220
76420
|
tool$sweepsGetConfig = {
|
|
@@ -76223,9 +76423,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
76223
76423
|
|
|
76224
76424
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76225
76425
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76226
|
-
args:
|
|
76227
|
-
tool: async (client,
|
|
76228
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
76426
|
+
args: args135,
|
|
76427
|
+
tool: async (client, args136, ctx) => {
|
|
76428
|
+
const [result, apiCall] = await sweepsGetConfig(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76229
76429
|
if (!result.ok) {
|
|
76230
76430
|
return {
|
|
76231
76431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76240,9 +76440,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76240
76440
|
|
|
76241
76441
|
// src/funcs/sweepsList.ts
|
|
76242
76442
|
function sweepsList(client, request, options) {
|
|
76243
|
-
return new APIPromise($
|
|
76443
|
+
return new APIPromise($do136(client, request, options));
|
|
76244
76444
|
}
|
|
76245
|
-
async function $
|
|
76445
|
+
async function $do136(client, request, options) {
|
|
76246
76446
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76247
76447
|
if (!parsed.ok) {
|
|
76248
76448
|
return [parsed, { status: "invalid" }];
|
|
@@ -76331,12 +76531,12 @@ var init_sweepsList = __esm(() => {
|
|
|
76331
76531
|
});
|
|
76332
76532
|
|
|
76333
76533
|
// src/mcp-server/tools/sweepsList.ts
|
|
76334
|
-
var
|
|
76534
|
+
var args136, tool$sweepsList;
|
|
76335
76535
|
var init_sweepsList2 = __esm(() => {
|
|
76336
76536
|
init_sweepsList();
|
|
76337
76537
|
init_operations();
|
|
76338
76538
|
init_tools();
|
|
76339
|
-
|
|
76539
|
+
args136 = {
|
|
76340
76540
|
request: ListSweepsRequest$inboundSchema
|
|
76341
76541
|
};
|
|
76342
76542
|
tool$sweepsList = {
|
|
@@ -76345,9 +76545,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
76345
76545
|
|
|
76346
76546
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76347
76547
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76348
|
-
args:
|
|
76349
|
-
tool: async (client,
|
|
76350
|
-
const [result, apiCall] = await sweepsList(client,
|
|
76548
|
+
args: args136,
|
|
76549
|
+
tool: async (client, args137, ctx) => {
|
|
76550
|
+
const [result, apiCall] = await sweepsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76351
76551
|
if (!result.ok) {
|
|
76352
76552
|
return {
|
|
76353
76553
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76362,9 +76562,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76362
76562
|
|
|
76363
76563
|
// src/funcs/sweepsListConfigs.ts
|
|
76364
76564
|
function sweepsListConfigs(client, request, options) {
|
|
76365
|
-
return new APIPromise($
|
|
76565
|
+
return new APIPromise($do137(client, request, options));
|
|
76366
76566
|
}
|
|
76367
|
-
async function $
|
|
76567
|
+
async function $do137(client, request, options) {
|
|
76368
76568
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76369
76569
|
if (!parsed.ok) {
|
|
76370
76570
|
return [parsed, { status: "invalid" }];
|
|
@@ -76442,12 +76642,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
76442
76642
|
});
|
|
76443
76643
|
|
|
76444
76644
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
76445
|
-
var
|
|
76645
|
+
var args137, tool$sweepsListConfigs;
|
|
76446
76646
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
76447
76647
|
init_sweepsListConfigs();
|
|
76448
76648
|
init_operations();
|
|
76449
76649
|
init_tools();
|
|
76450
|
-
|
|
76650
|
+
args137 = {
|
|
76451
76651
|
request: ListSweepConfigsRequest$inboundSchema
|
|
76452
76652
|
};
|
|
76453
76653
|
tool$sweepsListConfigs = {
|
|
@@ -76456,9 +76656,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
76456
76656
|
|
|
76457
76657
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76458
76658
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76459
|
-
args:
|
|
76460
|
-
tool: async (client,
|
|
76461
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
76659
|
+
args: args137,
|
|
76660
|
+
tool: async (client, args138, ctx) => {
|
|
76661
|
+
const [result, apiCall] = await sweepsListConfigs(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76462
76662
|
if (!result.ok) {
|
|
76463
76663
|
return {
|
|
76464
76664
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76473,9 +76673,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76473
76673
|
|
|
76474
76674
|
// src/funcs/sweepsUpdateConfig.ts
|
|
76475
76675
|
function sweepsUpdateConfig(client, request, options) {
|
|
76476
|
-
return new APIPromise($
|
|
76676
|
+
return new APIPromise($do138(client, request, options));
|
|
76477
76677
|
}
|
|
76478
|
-
async function $
|
|
76678
|
+
async function $do138(client, request, options) {
|
|
76479
76679
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76480
76680
|
if (!parsed.ok) {
|
|
76481
76681
|
return [parsed, { status: "invalid" }];
|
|
@@ -76571,12 +76771,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
76571
76771
|
});
|
|
76572
76772
|
|
|
76573
76773
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
76574
|
-
var
|
|
76774
|
+
var args138, tool$sweepsUpdateConfig;
|
|
76575
76775
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
76576
76776
|
init_sweepsUpdateConfig();
|
|
76577
76777
|
init_operations();
|
|
76578
76778
|
init_tools();
|
|
76579
|
-
|
|
76779
|
+
args138 = {
|
|
76580
76780
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
76581
76781
|
};
|
|
76582
76782
|
tool$sweepsUpdateConfig = {
|
|
@@ -76585,9 +76785,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
76585
76785
|
|
|
76586
76786
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76587
76787
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
76588
|
-
args:
|
|
76589
|
-
tool: async (client,
|
|
76590
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
76788
|
+
args: args138,
|
|
76789
|
+
tool: async (client, args139, ctx) => {
|
|
76790
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76591
76791
|
if (!result.ok) {
|
|
76592
76792
|
return {
|
|
76593
76793
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76602,9 +76802,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
76602
76802
|
|
|
76603
76803
|
// src/funcs/terminalApplicationsCreate.ts
|
|
76604
76804
|
function terminalApplicationsCreate(client, request, options) {
|
|
76605
|
-
return new APIPromise($
|
|
76805
|
+
return new APIPromise($do139(client, request, options));
|
|
76606
76806
|
}
|
|
76607
|
-
async function $
|
|
76807
|
+
async function $do139(client, request, options) {
|
|
76608
76808
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
76609
76809
|
if (!parsed.ok) {
|
|
76610
76810
|
return [parsed, { status: "invalid" }];
|
|
@@ -76693,12 +76893,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
76693
76893
|
});
|
|
76694
76894
|
|
|
76695
76895
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
76696
|
-
var
|
|
76896
|
+
var args139, tool$terminalApplicationsCreate;
|
|
76697
76897
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
76698
76898
|
init_terminalApplicationsCreate();
|
|
76699
76899
|
init_components();
|
|
76700
76900
|
init_tools();
|
|
76701
|
-
|
|
76901
|
+
args139 = {
|
|
76702
76902
|
request: CreateTerminalApplication$inboundSchema
|
|
76703
76903
|
};
|
|
76704
76904
|
tool$terminalApplicationsCreate = {
|
|
@@ -76707,9 +76907,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
76707
76907
|
|
|
76708
76908
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76709
76909
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
76710
|
-
args:
|
|
76711
|
-
tool: async (client,
|
|
76712
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
76910
|
+
args: args139,
|
|
76911
|
+
tool: async (client, args140, ctx) => {
|
|
76912
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76713
76913
|
if (!result.ok) {
|
|
76714
76914
|
return {
|
|
76715
76915
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76724,9 +76924,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
76724
76924
|
|
|
76725
76925
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
76726
76926
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
76727
|
-
return new APIPromise($
|
|
76927
|
+
return new APIPromise($do140(client, request, options));
|
|
76728
76928
|
}
|
|
76729
|
-
async function $
|
|
76929
|
+
async function $do140(client, request, options) {
|
|
76730
76930
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76731
76931
|
if (!parsed.ok) {
|
|
76732
76932
|
return [parsed, { status: "invalid" }];
|
|
@@ -76816,12 +77016,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
76816
77016
|
});
|
|
76817
77017
|
|
|
76818
77018
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
76819
|
-
var
|
|
77019
|
+
var args140, tool$terminalApplicationsCreateVersion;
|
|
76820
77020
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
76821
77021
|
init_terminalApplicationsCreateVersion();
|
|
76822
77022
|
init_operations();
|
|
76823
77023
|
init_tools();
|
|
76824
|
-
|
|
77024
|
+
args140 = {
|
|
76825
77025
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
76826
77026
|
};
|
|
76827
77027
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -76830,9 +77030,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
76830
77030
|
|
|
76831
77031
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76832
77032
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
76833
|
-
args:
|
|
76834
|
-
tool: async (client,
|
|
76835
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
77033
|
+
args: args140,
|
|
77034
|
+
tool: async (client, args141, ctx) => {
|
|
77035
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76836
77036
|
if (!result.ok) {
|
|
76837
77037
|
return {
|
|
76838
77038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76847,9 +77047,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
76847
77047
|
|
|
76848
77048
|
// src/funcs/terminalApplicationsDelete.ts
|
|
76849
77049
|
function terminalApplicationsDelete(client, request, options) {
|
|
76850
|
-
return new APIPromise($
|
|
77050
|
+
return new APIPromise($do141(client, request, options));
|
|
76851
77051
|
}
|
|
76852
|
-
async function $
|
|
77052
|
+
async function $do141(client, request, options) {
|
|
76853
77053
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76854
77054
|
if (!parsed.ok) {
|
|
76855
77055
|
return [parsed, { status: "invalid" }];
|
|
@@ -76933,12 +77133,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
76933
77133
|
});
|
|
76934
77134
|
|
|
76935
77135
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
76936
|
-
var
|
|
77136
|
+
var args141, tool$terminalApplicationsDelete;
|
|
76937
77137
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
76938
77138
|
init_terminalApplicationsDelete();
|
|
76939
77139
|
init_operations();
|
|
76940
77140
|
init_tools();
|
|
76941
|
-
|
|
77141
|
+
args141 = {
|
|
76942
77142
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
76943
77143
|
};
|
|
76944
77144
|
tool$terminalApplicationsDelete = {
|
|
@@ -76947,9 +77147,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
76947
77147
|
|
|
76948
77148
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76949
77149
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
76950
|
-
args:
|
|
76951
|
-
tool: async (client,
|
|
76952
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
77150
|
+
args: args141,
|
|
77151
|
+
tool: async (client, args142, ctx) => {
|
|
77152
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76953
77153
|
if (!result.ok) {
|
|
76954
77154
|
return {
|
|
76955
77155
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76963,9 +77163,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
76963
77163
|
|
|
76964
77164
|
// src/funcs/terminalApplicationsGet.ts
|
|
76965
77165
|
function terminalApplicationsGet(client, request, options) {
|
|
76966
|
-
return new APIPromise($
|
|
77166
|
+
return new APIPromise($do142(client, request, options));
|
|
76967
77167
|
}
|
|
76968
|
-
async function $
|
|
77168
|
+
async function $do142(client, request, options) {
|
|
76969
77169
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76970
77170
|
if (!parsed.ok) {
|
|
76971
77171
|
return [parsed, { status: "invalid" }];
|
|
@@ -77040,12 +77240,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
77040
77240
|
});
|
|
77041
77241
|
|
|
77042
77242
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
77043
|
-
var
|
|
77243
|
+
var args142, tool$terminalApplicationsGet;
|
|
77044
77244
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
77045
77245
|
init_terminalApplicationsGet();
|
|
77046
77246
|
init_operations();
|
|
77047
77247
|
init_tools();
|
|
77048
|
-
|
|
77248
|
+
args142 = {
|
|
77049
77249
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
77050
77250
|
};
|
|
77051
77251
|
tool$terminalApplicationsGet = {
|
|
@@ -77054,9 +77254,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
77054
77254
|
|
|
77055
77255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77056
77256
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77057
|
-
args:
|
|
77058
|
-
tool: async (client,
|
|
77059
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
77257
|
+
args: args142,
|
|
77258
|
+
tool: async (client, args143, ctx) => {
|
|
77259
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77060
77260
|
if (!result.ok) {
|
|
77061
77261
|
return {
|
|
77062
77262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77071,9 +77271,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77071
77271
|
|
|
77072
77272
|
// src/funcs/terminalApplicationsList.ts
|
|
77073
77273
|
function terminalApplicationsList(client, _request, options) {
|
|
77074
|
-
return new APIPromise($
|
|
77274
|
+
return new APIPromise($do143(client, _request, options));
|
|
77075
77275
|
}
|
|
77076
|
-
async function $
|
|
77276
|
+
async function $do143(client, _request, options) {
|
|
77077
77277
|
const path = pathToFunc("/terminal-applications")();
|
|
77078
77278
|
const headers = new Headers(compactMap({
|
|
77079
77279
|
Accept: "application/json",
|
|
@@ -77137,12 +77337,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
77137
77337
|
});
|
|
77138
77338
|
|
|
77139
77339
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
77140
|
-
var
|
|
77340
|
+
var args143, tool$terminalApplicationsList;
|
|
77141
77341
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
77142
77342
|
init_terminalApplicationsList();
|
|
77143
77343
|
init_operations();
|
|
77144
77344
|
init_tools();
|
|
77145
|
-
|
|
77345
|
+
args143 = {
|
|
77146
77346
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
77147
77347
|
};
|
|
77148
77348
|
tool$terminalApplicationsList = {
|
|
@@ -77151,9 +77351,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
77151
77351
|
|
|
77152
77352
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77153
77353
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77154
|
-
args:
|
|
77155
|
-
tool: async (client,
|
|
77156
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
77354
|
+
args: args143,
|
|
77355
|
+
tool: async (client, args144, ctx) => {
|
|
77356
|
+
const [result, apiCall] = await terminalApplicationsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77157
77357
|
if (!result.ok) {
|
|
77158
77358
|
return {
|
|
77159
77359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77168,9 +77368,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77168
77368
|
|
|
77169
77369
|
// src/funcs/transfersCreate.ts
|
|
77170
77370
|
function transfersCreate(client, request, options) {
|
|
77171
|
-
return new APIPromise($
|
|
77371
|
+
return new APIPromise($do144(client, request, options));
|
|
77172
77372
|
}
|
|
77173
|
-
async function $
|
|
77373
|
+
async function $do144(client, request, options) {
|
|
77174
77374
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77175
77375
|
if (!parsed.ok) {
|
|
77176
77376
|
return [parsed, { status: "invalid" }];
|
|
@@ -77263,12 +77463,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
77263
77463
|
});
|
|
77264
77464
|
|
|
77265
77465
|
// src/mcp-server/tools/transfersCreate.ts
|
|
77266
|
-
var
|
|
77466
|
+
var args144, tool$transfersCreate;
|
|
77267
77467
|
var init_transfersCreate2 = __esm(() => {
|
|
77268
77468
|
init_transfersCreate();
|
|
77269
77469
|
init_operations();
|
|
77270
77470
|
init_tools();
|
|
77271
|
-
|
|
77471
|
+
args144 = {
|
|
77272
77472
|
request: CreateTransferRequest$inboundSchema
|
|
77273
77473
|
};
|
|
77274
77474
|
tool$transfersCreate = {
|
|
@@ -77279,9 +77479,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
77279
77479
|
|
|
77280
77480
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77281
77481
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77282
|
-
args:
|
|
77283
|
-
tool: async (client,
|
|
77284
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
77482
|
+
args: args144,
|
|
77483
|
+
tool: async (client, args145, ctx) => {
|
|
77484
|
+
const [result, apiCall] = await transfersCreate(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77285
77485
|
if (!result.ok) {
|
|
77286
77486
|
return {
|
|
77287
77487
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77296,9 +77496,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77296
77496
|
|
|
77297
77497
|
// src/funcs/transfersCreateCancellation.ts
|
|
77298
77498
|
function transfersCreateCancellation(client, request, options) {
|
|
77299
|
-
return new APIPromise($
|
|
77499
|
+
return new APIPromise($do145(client, request, options));
|
|
77300
77500
|
}
|
|
77301
|
-
async function $
|
|
77501
|
+
async function $do145(client, request, options) {
|
|
77302
77502
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77303
77503
|
if (!parsed.ok) {
|
|
77304
77504
|
return [parsed, { status: "invalid" }];
|
|
@@ -77381,12 +77581,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
77381
77581
|
});
|
|
77382
77582
|
|
|
77383
77583
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
77384
|
-
var
|
|
77584
|
+
var args145, tool$transfersCreateCancellation;
|
|
77385
77585
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
77386
77586
|
init_transfersCreateCancellation();
|
|
77387
77587
|
init_operations();
|
|
77388
77588
|
init_tools();
|
|
77389
|
-
|
|
77589
|
+
args145 = {
|
|
77390
77590
|
request: CreateCancellationRequest$inboundSchema
|
|
77391
77591
|
};
|
|
77392
77592
|
tool$transfersCreateCancellation = {
|
|
@@ -77395,9 +77595,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77395
77595
|
|
|
77396
77596
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77397
77597
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77398
|
-
args:
|
|
77399
|
-
tool: async (client,
|
|
77400
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
77598
|
+
args: args145,
|
|
77599
|
+
tool: async (client, args146, ctx) => {
|
|
77600
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77401
77601
|
if (!result.ok) {
|
|
77402
77602
|
return {
|
|
77403
77603
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77412,9 +77612,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77412
77612
|
|
|
77413
77613
|
// src/funcs/transfersCreateReversal.ts
|
|
77414
77614
|
function transfersCreateReversal(client, request, options) {
|
|
77415
|
-
return new APIPromise($
|
|
77615
|
+
return new APIPromise($do146(client, request, options));
|
|
77416
77616
|
}
|
|
77417
|
-
async function $
|
|
77617
|
+
async function $do146(client, request, options) {
|
|
77418
77618
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77419
77619
|
if (!parsed.ok) {
|
|
77420
77620
|
return [parsed, { status: "invalid" }];
|
|
@@ -77513,12 +77713,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
77513
77713
|
});
|
|
77514
77714
|
|
|
77515
77715
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
77516
|
-
var
|
|
77716
|
+
var args146, tool$transfersCreateReversal;
|
|
77517
77717
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
77518
77718
|
init_transfersCreateReversal();
|
|
77519
77719
|
init_operations();
|
|
77520
77720
|
init_tools();
|
|
77521
|
-
|
|
77721
|
+
args146 = {
|
|
77522
77722
|
request: CreateReversalRequest$inboundSchema
|
|
77523
77723
|
};
|
|
77524
77724
|
tool$transfersCreateReversal = {
|
|
@@ -77529,9 +77729,9 @@ to learn more.
|
|
|
77529
77729
|
|
|
77530
77730
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77531
77731
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77532
|
-
args:
|
|
77533
|
-
tool: async (client,
|
|
77534
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
77732
|
+
args: args146,
|
|
77733
|
+
tool: async (client, args147, ctx) => {
|
|
77734
|
+
const [result, apiCall] = await transfersCreateReversal(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77535
77735
|
if (!result.ok) {
|
|
77536
77736
|
return {
|
|
77537
77737
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77546,9 +77746,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77546
77746
|
|
|
77547
77747
|
// src/funcs/transfersGenerateOptions.ts
|
|
77548
77748
|
function transfersGenerateOptions(client, request, options) {
|
|
77549
|
-
return new APIPromise($
|
|
77749
|
+
return new APIPromise($do147(client, request, options));
|
|
77550
77750
|
}
|
|
77551
|
-
async function $
|
|
77751
|
+
async function $do147(client, request, options) {
|
|
77552
77752
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77553
77753
|
if (!parsed.ok) {
|
|
77554
77754
|
return [parsed, { status: "invalid" }];
|
|
@@ -77632,12 +77832,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
77632
77832
|
});
|
|
77633
77833
|
|
|
77634
77834
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
77635
|
-
var
|
|
77835
|
+
var args147, tool$transfersGenerateOptions;
|
|
77636
77836
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
77637
77837
|
init_transfersGenerateOptions();
|
|
77638
77838
|
init_operations();
|
|
77639
77839
|
init_tools();
|
|
77640
|
-
|
|
77840
|
+
args147 = {
|
|
77641
77841
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
77642
77842
|
};
|
|
77643
77843
|
tool$transfersGenerateOptions = {
|
|
@@ -77651,9 +77851,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
77651
77851
|
|
|
77652
77852
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77653
77853
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77654
|
-
args:
|
|
77655
|
-
tool: async (client,
|
|
77656
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
77854
|
+
args: args147,
|
|
77855
|
+
tool: async (client, args148, ctx) => {
|
|
77856
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77657
77857
|
if (!result.ok) {
|
|
77658
77858
|
return {
|
|
77659
77859
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77668,9 +77868,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77668
77868
|
|
|
77669
77869
|
// src/funcs/transfersGet.ts
|
|
77670
77870
|
function transfersGet(client, request, options) {
|
|
77671
|
-
return new APIPromise($
|
|
77871
|
+
return new APIPromise($do148(client, request, options));
|
|
77672
77872
|
}
|
|
77673
|
-
async function $
|
|
77873
|
+
async function $do148(client, request, options) {
|
|
77674
77874
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77675
77875
|
if (!parsed.ok) {
|
|
77676
77876
|
return [parsed, { status: "invalid" }];
|
|
@@ -77752,12 +77952,12 @@ var init_transfersGet = __esm(() => {
|
|
|
77752
77952
|
});
|
|
77753
77953
|
|
|
77754
77954
|
// src/mcp-server/tools/transfersGet.ts
|
|
77755
|
-
var
|
|
77955
|
+
var args148, tool$transfersGet;
|
|
77756
77956
|
var init_transfersGet2 = __esm(() => {
|
|
77757
77957
|
init_transfersGet();
|
|
77758
77958
|
init_operations();
|
|
77759
77959
|
init_tools();
|
|
77760
|
-
|
|
77960
|
+
args148 = {
|
|
77761
77961
|
request: GetTransferRequest$inboundSchema
|
|
77762
77962
|
};
|
|
77763
77963
|
tool$transfersGet = {
|
|
@@ -77769,9 +77969,9 @@ to learn more.
|
|
|
77769
77969
|
|
|
77770
77970
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77771
77971
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77772
|
-
args:
|
|
77773
|
-
tool: async (client,
|
|
77774
|
-
const [result, apiCall] = await transfersGet(client,
|
|
77972
|
+
args: args148,
|
|
77973
|
+
tool: async (client, args149, ctx) => {
|
|
77974
|
+
const [result, apiCall] = await transfersGet(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77775
77975
|
if (!result.ok) {
|
|
77776
77976
|
return {
|
|
77777
77977
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77786,9 +77986,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77786
77986
|
|
|
77787
77987
|
// src/funcs/transfersGetCancellation.ts
|
|
77788
77988
|
function transfersGetCancellation(client, request, options) {
|
|
77789
|
-
return new APIPromise($
|
|
77989
|
+
return new APIPromise($do149(client, request, options));
|
|
77790
77990
|
}
|
|
77791
|
-
async function $
|
|
77991
|
+
async function $do149(client, request, options) {
|
|
77792
77992
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77793
77993
|
if (!parsed.ok) {
|
|
77794
77994
|
return [parsed, { status: "invalid" }];
|
|
@@ -77874,12 +78074,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
77874
78074
|
});
|
|
77875
78075
|
|
|
77876
78076
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
77877
|
-
var
|
|
78077
|
+
var args149, tool$transfersGetCancellation;
|
|
77878
78078
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
77879
78079
|
init_transfersGetCancellation();
|
|
77880
78080
|
init_operations();
|
|
77881
78081
|
init_tools();
|
|
77882
|
-
|
|
78082
|
+
args149 = {
|
|
77883
78083
|
request: GetCancellationRequest$inboundSchema
|
|
77884
78084
|
};
|
|
77885
78085
|
tool$transfersGetCancellation = {
|
|
@@ -77888,9 +78088,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
77888
78088
|
|
|
77889
78089
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77890
78090
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77891
|
-
args:
|
|
77892
|
-
tool: async (client,
|
|
77893
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
78091
|
+
args: args149,
|
|
78092
|
+
tool: async (client, args150, ctx) => {
|
|
78093
|
+
const [result, apiCall] = await transfersGetCancellation(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77894
78094
|
if (!result.ok) {
|
|
77895
78095
|
return {
|
|
77896
78096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77905,9 +78105,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
77905
78105
|
|
|
77906
78106
|
// src/funcs/transfersGetRefund.ts
|
|
77907
78107
|
function transfersGetRefund(client, request, options) {
|
|
77908
|
-
return new APIPromise($
|
|
78108
|
+
return new APIPromise($do150(client, request, options));
|
|
77909
78109
|
}
|
|
77910
|
-
async function $
|
|
78110
|
+
async function $do150(client, request, options) {
|
|
77911
78111
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77912
78112
|
if (!parsed.ok) {
|
|
77913
78113
|
return [parsed, { status: "invalid" }];
|
|
@@ -77993,12 +78193,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
77993
78193
|
});
|
|
77994
78194
|
|
|
77995
78195
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
77996
|
-
var
|
|
78196
|
+
var args150, tool$transfersGetRefund;
|
|
77997
78197
|
var init_transfersGetRefund2 = __esm(() => {
|
|
77998
78198
|
init_transfersGetRefund();
|
|
77999
78199
|
init_operations();
|
|
78000
78200
|
init_tools();
|
|
78001
|
-
|
|
78201
|
+
args150 = {
|
|
78002
78202
|
request: GetRefundRequest$inboundSchema
|
|
78003
78203
|
};
|
|
78004
78204
|
tool$transfersGetRefund = {
|
|
@@ -78007,9 +78207,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
78007
78207
|
|
|
78008
78208
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78009
78209
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78010
|
-
args:
|
|
78011
|
-
tool: async (client,
|
|
78012
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
78210
|
+
args: args150,
|
|
78211
|
+
tool: async (client, args151, ctx) => {
|
|
78212
|
+
const [result, apiCall] = await transfersGetRefund(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78013
78213
|
if (!result.ok) {
|
|
78014
78214
|
return {
|
|
78015
78215
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78024,9 +78224,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78024
78224
|
|
|
78025
78225
|
// src/funcs/transfersInitiateRefund.ts
|
|
78026
78226
|
function transfersInitiateRefund(client, request, options) {
|
|
78027
|
-
return new APIPromise($
|
|
78227
|
+
return new APIPromise($do151(client, request, options));
|
|
78028
78228
|
}
|
|
78029
|
-
async function $
|
|
78229
|
+
async function $do151(client, request, options) {
|
|
78030
78230
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78031
78231
|
if (!parsed.ok) {
|
|
78032
78232
|
return [parsed, { status: "invalid" }];
|
|
@@ -78118,12 +78318,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
78118
78318
|
});
|
|
78119
78319
|
|
|
78120
78320
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
78121
|
-
var
|
|
78321
|
+
var args151, tool$transfersInitiateRefund;
|
|
78122
78322
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
78123
78323
|
init_transfersInitiateRefund();
|
|
78124
78324
|
init_operations();
|
|
78125
78325
|
init_tools();
|
|
78126
|
-
|
|
78326
|
+
args151 = {
|
|
78127
78327
|
request: InitiateRefundRequest$inboundSchema
|
|
78128
78328
|
};
|
|
78129
78329
|
tool$transfersInitiateRefund = {
|
|
@@ -78135,9 +78335,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
78135
78335
|
|
|
78136
78336
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78137
78337
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78138
|
-
args:
|
|
78139
|
-
tool: async (client,
|
|
78140
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
78338
|
+
args: args151,
|
|
78339
|
+
tool: async (client, args152, ctx) => {
|
|
78340
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78141
78341
|
if (!result.ok) {
|
|
78142
78342
|
return {
|
|
78143
78343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78152,9 +78352,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78152
78352
|
|
|
78153
78353
|
// src/funcs/transfersList.ts
|
|
78154
78354
|
function transfersList(client, request, options) {
|
|
78155
|
-
return new APIPromise($
|
|
78355
|
+
return new APIPromise($do152(client, request, options));
|
|
78156
78356
|
}
|
|
78157
|
-
async function $
|
|
78357
|
+
async function $do152(client, request, options) {
|
|
78158
78358
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78159
78359
|
if (!parsed.ok) {
|
|
78160
78360
|
return [parsed, { status: "invalid" }];
|
|
@@ -78250,12 +78450,12 @@ var init_transfersList = __esm(() => {
|
|
|
78250
78450
|
});
|
|
78251
78451
|
|
|
78252
78452
|
// src/mcp-server/tools/transfersList.ts
|
|
78253
|
-
var
|
|
78453
|
+
var args152, tool$transfersList;
|
|
78254
78454
|
var init_transfersList2 = __esm(() => {
|
|
78255
78455
|
init_transfersList();
|
|
78256
78456
|
init_operations();
|
|
78257
78457
|
init_tools();
|
|
78258
|
-
|
|
78458
|
+
args152 = {
|
|
78259
78459
|
request: ListTransfersRequest$inboundSchema
|
|
78260
78460
|
};
|
|
78261
78461
|
tool$transfersList = {
|
|
@@ -78271,9 +78471,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
78271
78471
|
|
|
78272
78472
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78273
78473
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78274
|
-
args:
|
|
78275
|
-
tool: async (client,
|
|
78276
|
-
const [result, apiCall] = await transfersList(client,
|
|
78474
|
+
args: args152,
|
|
78475
|
+
tool: async (client, args153, ctx) => {
|
|
78476
|
+
const [result, apiCall] = await transfersList(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78277
78477
|
if (!result.ok) {
|
|
78278
78478
|
return {
|
|
78279
78479
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78288,9 +78488,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78288
78488
|
|
|
78289
78489
|
// src/funcs/transfersListRefunds.ts
|
|
78290
78490
|
function transfersListRefunds(client, request, options) {
|
|
78291
|
-
return new APIPromise($
|
|
78491
|
+
return new APIPromise($do153(client, request, options));
|
|
78292
78492
|
}
|
|
78293
|
-
async function $
|
|
78493
|
+
async function $do153(client, request, options) {
|
|
78294
78494
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78295
78495
|
if (!parsed.ok) {
|
|
78296
78496
|
return [parsed, { status: "invalid" }];
|
|
@@ -78372,12 +78572,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
78372
78572
|
});
|
|
78373
78573
|
|
|
78374
78574
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
78375
|
-
var
|
|
78575
|
+
var args153, tool$transfersListRefunds;
|
|
78376
78576
|
var init_transfersListRefunds2 = __esm(() => {
|
|
78377
78577
|
init_transfersListRefunds();
|
|
78378
78578
|
init_operations();
|
|
78379
78579
|
init_tools();
|
|
78380
|
-
|
|
78580
|
+
args153 = {
|
|
78381
78581
|
request: ListRefundsRequest$inboundSchema
|
|
78382
78582
|
};
|
|
78383
78583
|
tool$transfersListRefunds = {
|
|
@@ -78386,9 +78586,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
78386
78586
|
|
|
78387
78587
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78388
78588
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78389
|
-
args:
|
|
78390
|
-
tool: async (client,
|
|
78391
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
78589
|
+
args: args153,
|
|
78590
|
+
tool: async (client, args154, ctx) => {
|
|
78591
|
+
const [result, apiCall] = await transfersListRefunds(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78392
78592
|
if (!result.ok) {
|
|
78393
78593
|
return {
|
|
78394
78594
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78403,9 +78603,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78403
78603
|
|
|
78404
78604
|
// src/funcs/transfersUpdate.ts
|
|
78405
78605
|
function transfersUpdate(client, request, options) {
|
|
78406
|
-
return new APIPromise($
|
|
78606
|
+
return new APIPromise($do154(client, request, options));
|
|
78407
78607
|
}
|
|
78408
|
-
async function $
|
|
78608
|
+
async function $do154(client, request, options) {
|
|
78409
78609
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78410
78610
|
if (!parsed.ok) {
|
|
78411
78611
|
return [parsed, { status: "invalid" }];
|
|
@@ -78491,12 +78691,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
78491
78691
|
});
|
|
78492
78692
|
|
|
78493
78693
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
78494
|
-
var
|
|
78694
|
+
var args154, tool$transfersUpdate;
|
|
78495
78695
|
var init_transfersUpdate2 = __esm(() => {
|
|
78496
78696
|
init_transfersUpdate();
|
|
78497
78697
|
init_operations();
|
|
78498
78698
|
init_tools();
|
|
78499
|
-
|
|
78699
|
+
args154 = {
|
|
78500
78700
|
request: UpdateTransferRequest$inboundSchema
|
|
78501
78701
|
};
|
|
78502
78702
|
tool$transfersUpdate = {
|
|
@@ -78507,9 +78707,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
78507
78707
|
|
|
78508
78708
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78509
78709
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78510
|
-
args:
|
|
78511
|
-
tool: async (client,
|
|
78512
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
78710
|
+
args: args154,
|
|
78711
|
+
tool: async (client, args155, ctx) => {
|
|
78712
|
+
const [result, apiCall] = await transfersUpdate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78513
78713
|
if (!result.ok) {
|
|
78514
78714
|
return {
|
|
78515
78715
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78524,9 +78724,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78524
78724
|
|
|
78525
78725
|
// src/funcs/underwritingGet.ts
|
|
78526
78726
|
function underwritingGet(client, request, options) {
|
|
78527
|
-
return new APIPromise($
|
|
78727
|
+
return new APIPromise($do155(client, request, options));
|
|
78528
78728
|
}
|
|
78529
|
-
async function $
|
|
78729
|
+
async function $do155(client, request, options) {
|
|
78530
78730
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78531
78731
|
if (!parsed.ok) {
|
|
78532
78732
|
return [parsed, { status: "invalid" }];
|
|
@@ -78604,12 +78804,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
78604
78804
|
});
|
|
78605
78805
|
|
|
78606
78806
|
// src/mcp-server/tools/underwritingGet.ts
|
|
78607
|
-
var
|
|
78807
|
+
var args155, tool$underwritingGet;
|
|
78608
78808
|
var init_underwritingGet2 = __esm(() => {
|
|
78609
78809
|
init_underwritingGet();
|
|
78610
78810
|
init_operations();
|
|
78611
78811
|
init_tools();
|
|
78612
|
-
|
|
78812
|
+
args155 = {
|
|
78613
78813
|
request: GetUnderwritingRequest$inboundSchema
|
|
78614
78814
|
};
|
|
78615
78815
|
tool$underwritingGet = {
|
|
@@ -78620,9 +78820,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
78620
78820
|
|
|
78621
78821
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78622
78822
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78623
|
-
args:
|
|
78624
|
-
tool: async (client,
|
|
78625
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
78823
|
+
args: args155,
|
|
78824
|
+
tool: async (client, args156, ctx) => {
|
|
78825
|
+
const [result, apiCall] = await underwritingGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78626
78826
|
if (!result.ok) {
|
|
78627
78827
|
return {
|
|
78628
78828
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78637,9 +78837,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78637
78837
|
|
|
78638
78838
|
// src/funcs/underwritingSave.ts
|
|
78639
78839
|
function underwritingSave(client, request, options) {
|
|
78640
|
-
return new APIPromise($
|
|
78840
|
+
return new APIPromise($do156(client, request, options));
|
|
78641
78841
|
}
|
|
78642
|
-
async function $
|
|
78842
|
+
async function $do156(client, request, options) {
|
|
78643
78843
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78644
78844
|
if (!parsed.ok) {
|
|
78645
78845
|
return [parsed, { status: "invalid" }];
|
|
@@ -78735,12 +78935,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
78735
78935
|
});
|
|
78736
78936
|
|
|
78737
78937
|
// src/mcp-server/tools/underwritingSave.ts
|
|
78738
|
-
var
|
|
78938
|
+
var args156, tool$underwritingSave;
|
|
78739
78939
|
var init_underwritingSave2 = __esm(() => {
|
|
78740
78940
|
init_underwritingSave();
|
|
78741
78941
|
init_operations();
|
|
78742
78942
|
init_tools();
|
|
78743
|
-
|
|
78943
|
+
args156 = {
|
|
78744
78944
|
request: SaveUnderwritingRequest$inboundSchema
|
|
78745
78945
|
};
|
|
78746
78946
|
tool$underwritingSave = {
|
|
@@ -78751,9 +78951,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
78751
78951
|
|
|
78752
78952
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78753
78953
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
78754
|
-
args:
|
|
78755
|
-
tool: async (client,
|
|
78756
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
78954
|
+
args: args156,
|
|
78955
|
+
tool: async (client, args157, ctx) => {
|
|
78956
|
+
const [result, apiCall] = await underwritingSave(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78757
78957
|
if (!result.ok) {
|
|
78758
78958
|
return {
|
|
78759
78959
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78768,9 +78968,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
78768
78968
|
|
|
78769
78969
|
// src/funcs/underwritingUpsert.ts
|
|
78770
78970
|
function underwritingUpsert(client, request, options) {
|
|
78771
|
-
return new APIPromise($
|
|
78971
|
+
return new APIPromise($do157(client, request, options));
|
|
78772
78972
|
}
|
|
78773
|
-
async function $
|
|
78973
|
+
async function $do157(client, request, options) {
|
|
78774
78974
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78775
78975
|
if (!parsed.ok) {
|
|
78776
78976
|
return [parsed, { status: "invalid" }];
|
|
@@ -78866,12 +79066,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
78866
79066
|
});
|
|
78867
79067
|
|
|
78868
79068
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
78869
|
-
var
|
|
79069
|
+
var args157, tool$underwritingUpsert;
|
|
78870
79070
|
var init_underwritingUpsert2 = __esm(() => {
|
|
78871
79071
|
init_underwritingUpsert();
|
|
78872
79072
|
init_operations();
|
|
78873
79073
|
init_tools();
|
|
78874
|
-
|
|
79074
|
+
args157 = {
|
|
78875
79075
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
78876
79076
|
};
|
|
78877
79077
|
tool$underwritingUpsert = {
|
|
@@ -78882,9 +79082,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
78882
79082
|
|
|
78883
79083
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78884
79084
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
78885
|
-
args:
|
|
78886
|
-
tool: async (client,
|
|
78887
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
79085
|
+
args: args157,
|
|
79086
|
+
tool: async (client, args158, ctx) => {
|
|
79087
|
+
const [result, apiCall] = await underwritingUpsert(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78888
79088
|
if (!result.ok) {
|
|
78889
79089
|
return {
|
|
78890
79090
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78899,9 +79099,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
78899
79099
|
|
|
78900
79100
|
// src/funcs/walletsCreate.ts
|
|
78901
79101
|
function walletsCreate(client, request, options) {
|
|
78902
|
-
return new APIPromise($
|
|
79102
|
+
return new APIPromise($do158(client, request, options));
|
|
78903
79103
|
}
|
|
78904
|
-
async function $
|
|
79104
|
+
async function $do158(client, request, options) {
|
|
78905
79105
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78906
79106
|
if (!parsed.ok) {
|
|
78907
79107
|
return [parsed, { status: "invalid" }];
|
|
@@ -78995,12 +79195,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
78995
79195
|
});
|
|
78996
79196
|
|
|
78997
79197
|
// src/mcp-server/tools/walletsCreate.ts
|
|
78998
|
-
var
|
|
79198
|
+
var args158, tool$walletsCreate;
|
|
78999
79199
|
var init_walletsCreate2 = __esm(() => {
|
|
79000
79200
|
init_walletsCreate();
|
|
79001
79201
|
init_operations();
|
|
79002
79202
|
init_tools();
|
|
79003
|
-
|
|
79203
|
+
args158 = {
|
|
79004
79204
|
request: CreateWalletRequest$inboundSchema
|
|
79005
79205
|
};
|
|
79006
79206
|
tool$walletsCreate = {
|
|
@@ -79011,9 +79211,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79011
79211
|
|
|
79012
79212
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79013
79213
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79014
|
-
args:
|
|
79015
|
-
tool: async (client,
|
|
79016
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
79214
|
+
args: args158,
|
|
79215
|
+
tool: async (client, args159, ctx) => {
|
|
79216
|
+
const [result, apiCall] = await walletsCreate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79017
79217
|
if (!result.ok) {
|
|
79018
79218
|
return {
|
|
79019
79219
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79028,9 +79228,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79028
79228
|
|
|
79029
79229
|
// src/funcs/walletsGet.ts
|
|
79030
79230
|
function walletsGet(client, request, options) {
|
|
79031
|
-
return new APIPromise($
|
|
79231
|
+
return new APIPromise($do159(client, request, options));
|
|
79032
79232
|
}
|
|
79033
|
-
async function $
|
|
79233
|
+
async function $do159(client, request, options) {
|
|
79034
79234
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79035
79235
|
if (!parsed.ok) {
|
|
79036
79236
|
return [parsed, { status: "invalid" }];
|
|
@@ -79112,12 +79312,12 @@ var init_walletsGet = __esm(() => {
|
|
|
79112
79312
|
});
|
|
79113
79313
|
|
|
79114
79314
|
// src/mcp-server/tools/walletsGet.ts
|
|
79115
|
-
var
|
|
79315
|
+
var args159, tool$walletsGet;
|
|
79116
79316
|
var init_walletsGet2 = __esm(() => {
|
|
79117
79317
|
init_walletsGet();
|
|
79118
79318
|
init_operations();
|
|
79119
79319
|
init_tools();
|
|
79120
|
-
|
|
79320
|
+
args159 = {
|
|
79121
79321
|
request: GetWalletRequest$inboundSchema
|
|
79122
79322
|
};
|
|
79123
79323
|
tool$walletsGet = {
|
|
@@ -79128,9 +79328,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79128
79328
|
|
|
79129
79329
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79130
79330
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79131
|
-
args:
|
|
79132
|
-
tool: async (client,
|
|
79133
|
-
const [result, apiCall] = await walletsGet(client,
|
|
79331
|
+
args: args159,
|
|
79332
|
+
tool: async (client, args160, ctx) => {
|
|
79333
|
+
const [result, apiCall] = await walletsGet(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79134
79334
|
if (!result.ok) {
|
|
79135
79335
|
return {
|
|
79136
79336
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79145,9 +79345,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79145
79345
|
|
|
79146
79346
|
// src/funcs/walletsList.ts
|
|
79147
79347
|
function walletsList(client, request, options) {
|
|
79148
|
-
return new APIPromise($
|
|
79348
|
+
return new APIPromise($do160(client, request, options));
|
|
79149
79349
|
}
|
|
79150
|
-
async function $
|
|
79350
|
+
async function $do160(client, request, options) {
|
|
79151
79351
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79152
79352
|
if (!parsed.ok) {
|
|
79153
79353
|
return [parsed, { status: "invalid" }];
|
|
@@ -79235,12 +79435,12 @@ var init_walletsList = __esm(() => {
|
|
|
79235
79435
|
});
|
|
79236
79436
|
|
|
79237
79437
|
// src/mcp-server/tools/walletsList.ts
|
|
79238
|
-
var
|
|
79438
|
+
var args160, tool$walletsList;
|
|
79239
79439
|
var init_walletsList2 = __esm(() => {
|
|
79240
79440
|
init_walletsList();
|
|
79241
79441
|
init_operations();
|
|
79242
79442
|
init_tools();
|
|
79243
|
-
|
|
79443
|
+
args160 = {
|
|
79244
79444
|
request: ListWalletsRequest$inboundSchema
|
|
79245
79445
|
};
|
|
79246
79446
|
tool$walletsList = {
|
|
@@ -79251,9 +79451,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79251
79451
|
|
|
79252
79452
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79253
79453
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79254
|
-
args:
|
|
79255
|
-
tool: async (client,
|
|
79256
|
-
const [result, apiCall] = await walletsList(client,
|
|
79454
|
+
args: args160,
|
|
79455
|
+
tool: async (client, args161, ctx) => {
|
|
79456
|
+
const [result, apiCall] = await walletsList(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79257
79457
|
if (!result.ok) {
|
|
79258
79458
|
return {
|
|
79259
79459
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79268,9 +79468,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79268
79468
|
|
|
79269
79469
|
// src/funcs/walletsUpdate.ts
|
|
79270
79470
|
function walletsUpdate(client, request, options) {
|
|
79271
|
-
return new APIPromise($
|
|
79471
|
+
return new APIPromise($do161(client, request, options));
|
|
79272
79472
|
}
|
|
79273
|
-
async function $
|
|
79473
|
+
async function $do161(client, request, options) {
|
|
79274
79474
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79275
79475
|
if (!parsed.ok) {
|
|
79276
79476
|
return [parsed, { status: "invalid" }];
|
|
@@ -79368,12 +79568,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
79368
79568
|
});
|
|
79369
79569
|
|
|
79370
79570
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
79371
|
-
var
|
|
79571
|
+
var args161, tool$walletsUpdate;
|
|
79372
79572
|
var init_walletsUpdate2 = __esm(() => {
|
|
79373
79573
|
init_walletsUpdate();
|
|
79374
79574
|
init_operations();
|
|
79375
79575
|
init_tools();
|
|
79376
|
-
|
|
79576
|
+
args161 = {
|
|
79377
79577
|
request: UpdateWalletRequest$inboundSchema
|
|
79378
79578
|
};
|
|
79379
79579
|
tool$walletsUpdate = {
|
|
@@ -79384,9 +79584,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79384
79584
|
|
|
79385
79585
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79386
79586
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79387
|
-
args:
|
|
79388
|
-
tool: async (client,
|
|
79389
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
79587
|
+
args: args161,
|
|
79588
|
+
tool: async (client, args162, ctx) => {
|
|
79589
|
+
const [result, apiCall] = await walletsUpdate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79390
79590
|
if (!result.ok) {
|
|
79391
79591
|
return {
|
|
79392
79592
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79401,9 +79601,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79401
79601
|
|
|
79402
79602
|
// src/funcs/walletTransactionsGet.ts
|
|
79403
79603
|
function walletTransactionsGet(client, request, options) {
|
|
79404
|
-
return new APIPromise($
|
|
79604
|
+
return new APIPromise($do162(client, request, options));
|
|
79405
79605
|
}
|
|
79406
|
-
async function $
|
|
79606
|
+
async function $do162(client, request, options) {
|
|
79407
79607
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79408
79608
|
if (!parsed.ok) {
|
|
79409
79609
|
return [parsed, { status: "invalid" }];
|
|
@@ -79489,12 +79689,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
79489
79689
|
});
|
|
79490
79690
|
|
|
79491
79691
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
79492
|
-
var
|
|
79692
|
+
var args162, tool$walletTransactionsGet;
|
|
79493
79693
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
79494
79694
|
init_walletTransactionsGet();
|
|
79495
79695
|
init_operations();
|
|
79496
79696
|
init_tools();
|
|
79497
|
-
|
|
79697
|
+
args162 = {
|
|
79498
79698
|
request: GetWalletTransactionRequest$inboundSchema
|
|
79499
79699
|
};
|
|
79500
79700
|
tool$walletTransactionsGet = {
|
|
@@ -79505,9 +79705,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
79505
79705
|
|
|
79506
79706
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79507
79707
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79508
|
-
args:
|
|
79509
|
-
tool: async (client,
|
|
79510
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
79708
|
+
args: args162,
|
|
79709
|
+
tool: async (client, args163, ctx) => {
|
|
79710
|
+
const [result, apiCall] = await walletTransactionsGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79511
79711
|
if (!result.ok) {
|
|
79512
79712
|
return {
|
|
79513
79713
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79522,9 +79722,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79522
79722
|
|
|
79523
79723
|
// src/funcs/walletTransactionsList.ts
|
|
79524
79724
|
function walletTransactionsList(client, request, options) {
|
|
79525
|
-
return new APIPromise($
|
|
79725
|
+
return new APIPromise($do163(client, request, options));
|
|
79526
79726
|
}
|
|
79527
|
-
async function $
|
|
79727
|
+
async function $do163(client, request, options) {
|
|
79528
79728
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79529
79729
|
if (!parsed.ok) {
|
|
79530
79730
|
return [parsed, { status: "invalid" }];
|
|
@@ -79624,12 +79824,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
79624
79824
|
});
|
|
79625
79825
|
|
|
79626
79826
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
79627
|
-
var
|
|
79827
|
+
var args163, tool$walletTransactionsList;
|
|
79628
79828
|
var init_walletTransactionsList2 = __esm(() => {
|
|
79629
79829
|
init_walletTransactionsList();
|
|
79630
79830
|
init_operations();
|
|
79631
79831
|
init_tools();
|
|
79632
|
-
|
|
79832
|
+
args163 = {
|
|
79633
79833
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
79634
79834
|
};
|
|
79635
79835
|
tool$walletTransactionsList = {
|
|
@@ -79640,9 +79840,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
79640
79840
|
|
|
79641
79841
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79642
79842
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79643
|
-
args:
|
|
79644
|
-
tool: async (client,
|
|
79645
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
79843
|
+
args: args163,
|
|
79844
|
+
tool: async (client, args164, ctx) => {
|
|
79845
|
+
const [result, apiCall] = await walletTransactionsList(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79646
79846
|
if (!result.ok) {
|
|
79647
79847
|
return {
|
|
79648
79848
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79659,7 +79859,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79659
79859
|
function createMCPServer(deps) {
|
|
79660
79860
|
const server = new McpServer({
|
|
79661
79861
|
name: "Moov",
|
|
79662
|
-
version: "0.21.
|
|
79862
|
+
version: "0.21.14"
|
|
79663
79863
|
});
|
|
79664
79864
|
const client = new MoovCore({
|
|
79665
79865
|
security: deps.security,
|
|
@@ -79726,6 +79926,7 @@ function createMCPServer(deps) {
|
|
|
79726
79926
|
tool(tool$feePlansListFeePlanAgreements);
|
|
79727
79927
|
tool(tool$feePlansCreateFeePlanAgreements);
|
|
79728
79928
|
tool(tool$feePlansListFeePlans);
|
|
79929
|
+
tool(tool$feePlansListFeeRevenue);
|
|
79729
79930
|
tool(tool$feePlansRetrieveFees);
|
|
79730
79931
|
tool(tool$feePlansListFeesFetch);
|
|
79731
79932
|
tool(tool$feePlansListPartnerPricing);
|
|
@@ -79912,6 +80113,7 @@ var init_server2 = __esm(() => {
|
|
|
79912
80113
|
init_feePlansGetResidual2();
|
|
79913
80114
|
init_feePlansListFeePlanAgreements2();
|
|
79914
80115
|
init_feePlansListFeePlans2();
|
|
80116
|
+
init_feePlansListFeeRevenue2();
|
|
79915
80117
|
init_feePlansListFeesFetch2();
|
|
79916
80118
|
init_feePlansListPartnerPricing2();
|
|
79917
80119
|
init_feePlansListPartnerPricingAgreements2();
|
|
@@ -81207,7 +81409,7 @@ var routes = rn({
|
|
|
81207
81409
|
var app = Ve(routes, {
|
|
81208
81410
|
name: "mcp",
|
|
81209
81411
|
versionInfo: {
|
|
81210
|
-
currentVersion: "0.21.
|
|
81412
|
+
currentVersion: "0.21.14"
|
|
81211
81413
|
}
|
|
81212
81414
|
});
|
|
81213
81415
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -81215,5 +81417,5 @@ export {
|
|
|
81215
81417
|
app
|
|
81216
81418
|
};
|
|
81217
81419
|
|
|
81218
|
-
//# debugId=
|
|
81420
|
+
//# debugId=0FAAFFB6B2EDF80264756E2164756E21
|
|
81219
81421
|
//# sourceMappingURL=mcp-server.js.map
|